![]()
-
-
{{ item.name }}
-
@@ -564,17 +430,19 @@
限时免费
- 限时免费
+ 限时免费
¥{{ serviceType == '测试服务(按次计)' ? buyTool.priceTime : buyTool.price }}
+ 1
{{ buyTool.deliverType }}
@@ -681,8 +549,8 @@ export default {
qianbaoShow: false,
jypassword: '',
id: '',
- amount: '', //购买数量
- buyAmount: '', //弹窗购买数量
+ amount: 1, //购买数量
+ buyAmount: 1, //弹窗购买数量
goodsactive: '1',
// swipcelist:[{id:0,imgurl:'/assets/tool/swipc.png'},{id:1,imgurl:'/assets/tool/swipc.png'},{id:2,imgurl:'/assets/tool/swipc.png'}],
tool: {}, //工具详情
@@ -788,9 +656,7 @@ export default {
components: {
qrcode: VueQrcode,
},
- filters: {
-
- },
+ filters: {},
computed: {
...mapGetters(['paytype', 'tooltypelist', 'token', 'userinform']),
addPriceAll() {
@@ -877,7 +743,7 @@ export default {
goSetPassword() {
this.$router.push({
path: '/console/account',
- query: {code: '3'}
+ query: { code: '3' },
})
},
findByvalue,
@@ -1053,7 +919,7 @@ export default {
param.userId = this.userinform.userId
param.password = encrypt(this.jypassword)
param.priceType = this.serviceType == '使用时长(按月计)' ? 'month' : 'times'
- param.recordName = '购买工具:' + this.buyTool.name
+ param.recordName = '购买工具:' + this.buyTool.name
orderPay(param).then((res) => {
if (res.retcode == 'SUCCESS') {
this.qianbaoShow = false
diff --git a/src/page/personalpage/home/userUpgrade.vue b/src/page/personalpage/home/userUpgrade.vue
index 48567a3..aa201c4 100644
--- a/src/page/personalpage/home/userUpgrade.vue
+++ b/src/page/personalpage/home/userUpgrade.vue
@@ -51,7 +51,7 @@
>
注:
{{ testerdata.auditOpinion ? testerdata.auditOpinion : '无' }},{{ testerdata.auditOpinion ? testerdata.auditOpinion +',' : '' }}
审核未能通过,请完善后再提交
@@ -99,7 +99,7 @@
>
注:
{{
- testerdata.auditOpinion ? testerdata.auditOpinion : ''
+ testerdata.auditOpinion ? testerdata.auditOpinion+',' : ''
}}
审核未能通过,请完善后再提交
@@ -360,7 +360,7 @@ export default {
contactName: res.data.companyContactName,
}
this.$emit('setTip', {dec: res.data.companyDesc,applyId: res.data.companyApplyId})
- if (res.data.companyStatus == 1 && userinform.companyStatus !=2) {
+ if (res.data.companyStatus == 1 && this.userinform.companyStatus != 2) {
getInfo().then((res) => {
const user = res.user
this.$store.commit('SET_USERINFORM', user)
@@ -389,8 +389,8 @@ export default {
}
if (this.testerdata) {
if (this.testerdata.status == 0) {
- this.testerStatus = 1
- this.istest = true
+ this.testerStatus = 3
+ // this.istest = true
} else if (this.testerdata.status == 1) {
this.testerStatus = 2
this.istest = true
@@ -404,44 +404,44 @@ export default {
})
},
x2ctChild() {
- gettesterId(this.userinform.userId).then((res) => {
- this.testerdata = res.data
- if (this.testerdata) {
- let { applyId, name, idNumber, city, certificateUrl, testSkills, workExperience, userId } =
- this.testerdata
- // let setidNumber=idNumber.slice(0,2)+'************'+idNumber.slice(14)
- let imglist = []
- if (certificateUrl) {
- imglist.push(certificateUrl)
- }
- this.certifform = {
- applyId,
- name,
- idNumber,
- city,
- certificateUrl: imglist,
- testSkills,
- workExperience,
- userId,
- }
- this.certification = true
- if (this.testerdata) {
- if (this.testerdata.status == 0) {
- this.testerStatus = 1
- this.istest = true
- } else if (this.testerdata.status == 1) {
- this.testerStatus = 2
- this.istest = true
- } else if (this.testerdata.status == 2) {
- this.testerStatus = 3
- } else {
- this.testerStatus = 0
- }
- }
- } else {
- this.certification = true
- }
- })
+ this.certification = true
+ // gettesterId(this.userinform.userId).then((res) => {
+ // this.testerdata = res.data
+ // if (this.testerdata) {
+ // let { applyId, name, idNumber, city, certificateUrl, testSkills, workExperience, userId } =
+ // this.testerdata
+ // let imglist = []
+ // if (certificateUrl) {
+ // imglist.push(certificateUrl)
+ // }
+ // this.certifform = {
+ // applyId,
+ // name,
+ // idNumber,
+ // city,
+ // certificateUrl: imglist,
+ // testSkills,
+ // workExperience,
+ // userId,
+ // }
+ // this.certification = true
+ // if (this.testerdata) {
+ // if (this.testerdata.status == 0) {
+ // this.testerStatus = 1
+ // this.istest = true
+ // } else if (this.testerdata.status == 1) {
+ // this.testerStatus = 2
+ // this.istest = true
+ // } else if (this.testerdata.status == 2) {
+ // this.testerStatus = 3
+ // } else {
+ // this.testerStatus = 0
+ // }
+ // }
+ // } else {
+ // this.certification = true
+ // }
+ // })
},
// 取消按钮
certCancel() {
@@ -477,10 +477,12 @@ export default {
this.getcertinfor()
this.certification = false
} else {
+ this.certification = false
}
})
.catch((error) => {
this.getcertinfor()
+ this.certification = false
})
} else {
addtesterApply(data)
@@ -491,10 +493,12 @@ export default {
this.getcertinfor()
this.certification = false
} else {
+ this.certification = false
}
})
.catch((error) => {
this.getcertinfor()
+ this.certification = false
})
}
}