|
@@ -193,8 +193,9 @@
|
|
|
size="small"
|
|
size="small"
|
|
|
style="color: white; background: rgb(0, 87, 186); border-radius: 6px"
|
|
style="color: white; background: rgb(0, 87, 186); border-radius: 6px"
|
|
|
@click="sendCode(item, index)"
|
|
@click="sendCode(item, index)"
|
|
|
- :disabled="time != null"
|
|
|
|
|
- >发送验证码<span v-if="time">({{ timeNum }})</span>
|
|
|
|
|
|
|
+ :disabled="time != null">
|
|
|
|
|
+ <span v-if="time">已发送({{ timeNum }})</span>
|
|
|
|
|
+ <span v-else>发送验证码</span>
|
|
|
</van-button>
|
|
</van-button>
|
|
|
</template>
|
|
</template>
|
|
|
</van-field>
|
|
</van-field>
|
|
@@ -580,8 +581,9 @@
|
|
|
size="small"
|
|
size="small"
|
|
|
style="color: white; background: rgb(0, 87, 186); border-radius: 6px"
|
|
style="color: white; background: rgb(0, 87, 186); border-radius: 6px"
|
|
|
@click="sendCode(childitem, index)"
|
|
@click="sendCode(childitem, index)"
|
|
|
- :disabled="time != null"
|
|
|
|
|
- >发送验证码<span v-if="time">({{ timeNum }})</span>
|
|
|
|
|
|
|
+ :disabled="time != null">
|
|
|
|
|
+ <span v-if="time">已发送({{ timeNum }})</span>
|
|
|
|
|
+ <span v-else>发送验证码</span>
|
|
|
</van-button>
|
|
</van-button>
|
|
|
</template>
|
|
</template>
|
|
|
</van-field>
|
|
</van-field>
|
|
@@ -2992,9 +2994,10 @@ export default {
|
|
|
inspectionType: '',
|
|
inspectionType: '',
|
|
|
competitortableData: [],
|
|
competitortableData: [],
|
|
|
time: null, //计时
|
|
time: null, //计时
|
|
|
- timeNum: 30,
|
|
|
|
|
|
|
+ timeNum: 60,
|
|
|
datetimeShowPicker: false,
|
|
datetimeShowPicker: false,
|
|
|
activatNyrItem: '',
|
|
activatNyrItem: '',
|
|
|
|
|
+ verificationPassedPhoneNum: '',
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
beforeRouteLeave(to, from, next) {
|
|
beforeRouteLeave(to, from, next) {
|
|
@@ -3034,7 +3037,7 @@ export default {
|
|
|
this.stillDistribute = false;
|
|
this.stillDistribute = false;
|
|
|
clearInterval(this.time);
|
|
clearInterval(this.time);
|
|
|
this.time = null; //计时
|
|
this.time = null; //计时
|
|
|
- this.timeNum = 30;
|
|
|
|
|
|
|
+ this.timeNum = 60;
|
|
|
},
|
|
},
|
|
|
watch: {
|
|
watch: {
|
|
|
$route(to, from) {
|
|
$route(to, from) {
|
|
@@ -3545,6 +3548,10 @@ export default {
|
|
|
this.processKey = false;
|
|
this.processKey = false;
|
|
|
}
|
|
}
|
|
|
this.infoShow = res.data.isMust;
|
|
this.infoShow = res.data.isMust;
|
|
|
|
|
+ // 主经营者电话验证是否通过
|
|
|
|
|
+ // if( false ){
|
|
|
|
|
+ // this.verificationPassed =
|
|
|
|
|
+ // }
|
|
|
if (this.$route.query.taskType == 1 || this.$route.query.taskType == 4) {
|
|
if (this.$route.query.taskType == 1 || this.$route.query.taskType == 4) {
|
|
|
for (var q = 0; q < collectionItemLists.length; q++) {
|
|
for (var q = 0; q < collectionItemLists.length; q++) {
|
|
|
if (
|
|
if (
|
|
@@ -3638,6 +3645,9 @@ export default {
|
|
|
if (listchild[qq1].collectionOptionList[0].answerValue != null) {
|
|
if (listchild[qq1].collectionOptionList[0].answerValue != null) {
|
|
|
listchild[qq1].answerValue =
|
|
listchild[qq1].answerValue =
|
|
|
listchild[qq1].collectionOptionList[0].answerValue;
|
|
listchild[qq1].collectionOptionList[0].answerValue;
|
|
|
|
|
+ this.verificationPassedPhoneNum =
|
|
|
|
|
+ listchild[qq1].collectionOptionList[0].answerValue;
|
|
|
|
|
+ console.log(this.verificationPassedPhoneNum);
|
|
|
} else {
|
|
} else {
|
|
|
listchild[qq1].answerValue = '';
|
|
listchild[qq1].answerValue = '';
|
|
|
}
|
|
}
|
|
@@ -5059,7 +5069,7 @@ export default {
|
|
|
}
|
|
}
|
|
|
if (this.time) return;
|
|
if (this.time) return;
|
|
|
clearInterval(this.time);
|
|
clearInterval(this.time);
|
|
|
- this.timeNum = 30;
|
|
|
|
|
|
|
+ this.timeNum = 60;
|
|
|
this.sendCodeFun(
|
|
this.sendCodeFun(
|
|
|
{
|
|
{
|
|
|
type: '1', //String 调用类型:1:发送验证码 2:校验验证码
|
|
type: '1', //String 调用类型:1:发送验证码 2:校验验证码
|