页面修改

This commit is contained in:
zmj 2023-11-13 17:59:22 +08:00
parent 4408ac20dd
commit c4f9c1f7d8
2 changed files with 710 additions and 699 deletions

View File

@ -23,7 +23,9 @@
</view> </view>
</view> </view>
<view class="need_contract" v-else> <view class="need_contract" v-else>
<button v-if="shareholder.check_status==0" class="btns" style="width: 694rpx;height: 90rpx; margin: 0 auto;border-radius: 54rpx;overflow: hidden;background-color: #0122c7;color: #fff;" @click="clickContract(1)"> <button v-if="shareholder.check_status==0" class="btns"
style="width: 694rpx;height: 90rpx; margin: 0 auto;border-radius: 54rpx;overflow: hidden;background-color: #0122c7;color: #fff;"
@click="clickContract(1)">
<u-icon name="../../static/img/company/HT.png" size="20" style="margin-right: 10rpx;"></u-icon> <u-icon name="../../static/img/company/HT.png" size="20" style="margin-right: 10rpx;"></u-icon>
发起合同 发起合同
</button> </button>
@ -108,14 +110,19 @@
</view> --> </view> -->
<view class="button"> <view class="button">
<view class="retreat" @click="retreat">退股</view> <view class="retreat" @click="retreat">退股</view>
<view class="hand" :class="{'disable': !shareholder.is_done_task || !shareholder.is_contract }" @click="hand">上交</view> <view class="hand" :class="{'disable': !shareholder.is_done_task || !shareholder.is_contract }"
@click="hand">上交</view>
</view> </view>
<u-modal :show="modelShow" title="提醒" :content="modelType==1?'确定要生成合同吗':'请确认合同无误后再发送'" closeOnClickOverlay showCancelButton cancel-text="取消" confirm-text="确认" close="modelShow=false" @cancel="modelShow=false" @confirm="modelType==1?createContract():addContract();modelShow=false"></u-modal> <u-modal :show="modelShow" title="提醒" :content="modelType==1?'确定要生成合同吗':'请确认合同无误后再发送'" closeOnClickOverlay
showCancelButton cancel-text="取消" confirm-text="确认" close="modelShow=false" @cancel="modelShow=false"
@confirm="modelType==1?createContract():addContract();modelShow=false"></u-modal>
</view> </view>
</template> </template>
<script> <script>
import { Toast } from '../../libs/uniApi'; import {
Toast
} from '../../libs/uniApi';
import { import {
download_file download_file
} from "@/api/junziqian.js" } from "@/api/junziqian.js"
@ -245,7 +252,10 @@
async handShare() { async handShare() {
await companyPayShareCapital(); await companyPayShareCapital();
Toast('上交成功!'); Toast('上交成功!');
setTimeout(() => {
uni.navigateBack(); uni.navigateBack();
}, 1000)
}, },
clickContract(e) { clickContract(e) {
this.modelType = e; this.modelType = e;
@ -636,6 +646,7 @@
color: #eee; color: #eee;
} }
} }
.btns { .btns {
color: white; color: white;
background-color: $theme-oa-color; background-color: $theme-oa-color;