入司代码优化

This commit is contained in:
mengxiaolong
2020-10-29 10:47:06 +08:00
parent f72879644d
commit 054ce508e5
13 changed files with 43 additions and 304 deletions

View File

@@ -65,9 +65,6 @@
</div>
<div v-if="!isInvalid" class="flex justify-content-a mb60 mt20">
<van-button v-if="!isWeixin" @click="share" v-no-more-click="1000" type="danger" size="normal" style="width:30%">分享</van-button>
<!-- <van-button v-if="!isWeixin" @click="share" v-no-more-click="1000" :disabled="isguranteeSubmit" type="danger" size="normal" style="width:30%"
>分享</van-button
> -->
<van-button @click="faceAuth('1')" v-no-more-click="1000" :disabled="isguranteeSubmit" type="danger" size="normal" style="width:30%">开始</van-button>
</div>
<div v-else class="ml15">操作时间已失效请联系销售人员</div>
@@ -156,9 +153,7 @@ export default {
//获取签署协议人信息
agreementQuery() {
let data = {
// userModel: { mobile: 13000000000 } //线上去掉
}
let data = {}
this.$toast.loading({
duration: 0, // 持续展示 toast
forbidClick: true, // 禁用背景点击
@@ -191,7 +186,6 @@ export default {
})
})
},
//担保人分享到微信空签
share() {
// eslint-disable-next-line no-undef
@@ -207,14 +201,10 @@ export default {
},
getSignInvalid() {
// let that = this
this.$toast.loading({
duration: 0, // 持续展示 toast
forbidClick: true, // 禁用背景点击
loadingType: 'spinner',
message: '加载中……'
})
let data = {}
@@ -254,7 +244,7 @@ export default {
let data = {
sign: signInvalid
}
return new Promise((resolve, reject) => {
return new Promise(resolve => {
checkSignInvalid(data).then(res => {
if (res.result == '0') {
that.$toast.clear()
@@ -317,9 +307,7 @@ export default {
})
},
clickSubmit() {
let that = this
let data = {
// userModel: { mobile: 13000000000 }, //线上去掉
submitFlag: '1'
}
this.$toast.loading({