Commit 90a93ba6 by 张晓玮

Merge branch 'Saas+v4.14.0_1223' into 'v3.3.0'

Saas+v4.14.0 1223

See merge request !18
2 parents 776a8b52 4aff5013
...@@ -162,6 +162,7 @@ export default { ...@@ -162,6 +162,7 @@ export default {
applyIdsList: [] applyIdsList: []
} }
], ],
editStatus: false,
configEditFormData: [ configEditFormData: [
{ {
label: '证书串', label: '证书串',
...@@ -203,6 +204,14 @@ export default { ...@@ -203,6 +204,14 @@ export default {
this.jumpH5Path = `${window.location.origin}/scrm-wx-merchant-activity/#/testPayMerchant/index` this.jumpH5Path = `${window.location.origin}/scrm-wx-merchant-activity/#/testPayMerchant/index`
} }
}, },
watch: {
editForm: {
handler(val) {
this.editStatus = true
},
deep: true
}
},
methods: { methods: {
remoteMethod(query) { remoteMethod(query) {
this.queryMerchantName = query this.queryMerchantName = query
...@@ -322,6 +331,26 @@ export default { ...@@ -322,6 +331,26 @@ export default {
} }
}) })
}, },
cancelJump() {
this.$router.push({
path: '/seckillActivity/index'
})
},
handleCancel() {
if (this.editStatus) {
this.$confirm('当前有内容信息未保存,是否继续返回?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
})
.then(() => {
this.goback()
})
.catch(() => {})
} else {
this.goback()
}
},
handleTestConfirm() { handleTestConfirm() {
this.isShowTestDialog = !this.isShowTestDialog this.isShowTestDialog = !this.isShowTestDialog
}, },
...@@ -428,6 +457,7 @@ export default { ...@@ -428,6 +457,7 @@ export default {
name: file.name, name: file.name,
url: res.data url: res.data
}) })
this.$refs.configEditFormRef.$refs[this.editChildRef].validateField("certificateFile")
} }
if (num == 2) { if (num == 2) {
if (this.fileCertList.length > 1) this.fileCertList = [] if (this.fileCertList.length > 1) this.fileCertList = []
...@@ -435,7 +465,8 @@ export default { ...@@ -435,7 +465,8 @@ export default {
name: file.name, name: file.name,
url: res.data url: res.data
}) })
} this.$refs.configEditFormRef.$refs[this.editChildRef].validateField("certificateFile")
}
} else { } else {
this.$message.error(res.message) this.$message.error(res.message)
} }
......
...@@ -161,7 +161,7 @@ export default { ...@@ -161,7 +161,7 @@ export default {
prop: 'merchantId' prop: 'merchantId'
}, },
{ {
label: '账号所属', label: '所属商户类型',
prop: 'mchBelong', prop: 'mchBelong',
formatter: cellValue => { formatter: cellValue => {
return this.mchBelongList.find(item => item.confId == cellValue.mchBelong)?.confName return this.mchBelongList.find(item => item.confId == cellValue.mchBelong)?.confName
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!