diff --git a/epmet-oper-web/src/views/modules/customer/customize/ConfigEdit.vue b/epmet-oper-web/src/views/modules/customer/customize/ConfigEdit.vue index 5239bf7..07d8796 100644 --- a/epmet-oper-web/src/views/modules/customer/customize/ConfigEdit.vue +++ b/epmet-oper-web/src/views/modules/customer/customize/ConfigEdit.vue @@ -52,10 +52,14 @@
- + +
@@ -152,7 +156,8 @@ export default { defaultSmallImg: '', // 默认小图标 iconSmallImg: '',// 自定义小图标 domainName: '',//业务域名 - targetLink: ''//外链地址 + targetLink: '',//外链地址 + isDomainName: ''//业务域名是否可改 }, uploadUlr: window.SITE_CONFIG['apiURL'] + '/oss/file/function/upload' diff --git a/epmet-oper-web/src/views/modules/productConfig/customizeFunction/CustomFun.vue b/epmet-oper-web/src/views/modules/productConfig/customizeFunction/CustomFun.vue index 456de81..792e824 100644 --- a/epmet-oper-web/src/views/modules/productConfig/customizeFunction/CustomFun.vue +++ b/epmet-oper-web/src/views/modules/productConfig/customizeFunction/CustomFun.vue @@ -187,7 +187,7 @@ export default { } window.app.ajax.post(url, param, (data, rspMsg) => { - this.$message.success('删除成功' + rspMsg) + this.$message.success('删除成功') this.refresh() }, (rspMsg, data) => { diff --git a/epmet-oper-web/src/views/modules/productConfig/customizeFunction/Edit.vue b/epmet-oper-web/src/views/modules/productConfig/customizeFunction/Edit.vue index 599f3dd..304230a 100644 --- a/epmet-oper-web/src/views/modules/productConfig/customizeFunction/Edit.vue +++ b/epmet-oper-web/src/views/modules/productConfig/customizeFunction/Edit.vue @@ -10,7 +10,7 @@ :model="dataForm" :rules="dataRule" ref="dataForm" - :label-width="'120px'"> + :label-width="'140px'"> - -
-
- + label="是否需要业务域名"> - - - -
-
-
-
- {{domainNameList[index]}} - -
-
+ +
+ + + {{dataForm.domainName}} { this.dataForm = data - // this.dataForm.domainNameList = this.dataForm.domainName.split(';') - this.domainNameList = this.dataForm.domainName.split(';') + this.isDomainNameCheck = data.isDomainName === '1' + this.isApply = data.isApply }, (rspMsg, data) => { @@ -321,16 +295,7 @@ export default { app.util.validateRule(messageObj) } else { - // eslint-disable-next-line - // debugger - let domainName = '' - for (let i = 0; i < this.domainNameList.length; i++) { - if (this.domainNameList[i] !== '') { - domainName = domainName + this.domainNameList[i] + ';' - } - } - domainName = domainName.substring(0, domainName.length - 1) - this.dataForm.domainName = domainName + this.dataForm.isDomainName = this.isDomainNameCheck ? '1' : '0' let url = '' if (this.type === 'U') { diff --git a/epmet-oper-web/src/views/modules/productConfig/customizeFunction/EditDomainNameList.vue b/epmet-oper-web/src/views/modules/productConfig/customizeFunction/EditDomainNameList.vue new file mode 100644 index 0000000..e9037f4 --- /dev/null +++ b/epmet-oper-web/src/views/modules/productConfig/customizeFunction/EditDomainNameList.vue @@ -0,0 +1,412 @@ + + + + +