Merge branch 'dev' of http://git.sinoecare.com/sinoecare/digital_village_v2/dvcp_v2_wechat_app into dev
This commit is contained in:
@@ -6,8 +6,8 @@
|
|||||||
:active-item-style="{color: '#222222'}" :is-scroll="true" :current="currIndex" @change="(i) => (currIndex = i)"> </u-tabs>
|
:active-item-style="{color: '#222222'}" :is-scroll="true" :current="currIndex" @change="(i) => (currIndex = i)"> </u-tabs>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<OnlineClass ref="OnlineClass" :height="height" @toDetail="toDetail" v-show="currIndex == 0"></OnlineClass>
|
<OnlineClass ref="OnlineClass" :height="height" @to-detail="toDetail" v-show="currIndex == 0"></OnlineClass>
|
||||||
<GeneralLawExam ref="GeneralLawExam" :height="height" @toTest="toTest" v-show="currIndex == 1"></GeneralLawExam>
|
<GeneralLawExam ref="GeneralLawExam" :height="height" @to-test="toTest" v-show="currIndex == 1"></GeneralLawExam>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -81,6 +81,7 @@ export default {
|
|||||||
flag: false,
|
flag: false,
|
||||||
current: 1,
|
current: 1,
|
||||||
testList: [],
|
testList: [],
|
||||||
|
testId: '',
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
@@ -110,6 +111,7 @@ export default {
|
|||||||
handleToTest(id) {
|
handleToTest(id) {
|
||||||
if(!this.user.areaId) {
|
if(!this.user.areaId) {
|
||||||
this.showAuth = true;
|
this.showAuth = true;
|
||||||
|
this.testId = id;
|
||||||
} else {
|
} else {
|
||||||
this.$emit('toTest',id)
|
this.$emit('toTest',id)
|
||||||
}
|
}
|
||||||
@@ -136,10 +138,10 @@ export default {
|
|||||||
this.$instance.post(`/app/appwechatuserqujing/idNumberAttestation`, this.form).then(res=> {
|
this.$instance.post(`/app/appwechatuserqujing/idNumberAttestation`, this.form).then(res=> {
|
||||||
if(res?.code == 0) {
|
if(res?.code == 0) {
|
||||||
this.flag = false
|
this.flag = false
|
||||||
this.$u.toast("提交成功");
|
|
||||||
setTimeout(()=> {
|
|
||||||
this.showAuth = false
|
this.showAuth = false
|
||||||
this.$emit('toTest',id)
|
this.$u.toast("认证成功");
|
||||||
|
setTimeout(()=> {
|
||||||
|
this.$emit('toTest',this.testId)
|
||||||
}, 500)
|
}, 500)
|
||||||
} else {
|
} else {
|
||||||
this.flag = false
|
this.flag = false
|
||||||
|
|||||||
Reference in New Issue
Block a user