diff --git a/epmet-oper-web/.env.development b/epmet-oper-web/.env.development index bc8d0ec..1dcd7c9 100644 --- a/epmet-oper-web/.env.development +++ b/epmet-oper-web/.env.development @@ -1,7 +1,7 @@ NODE_ENV=development # VUE_APP_API_SERVER = http://118.190.150.119:41080/api -# VUE_APP_API_SERVER = http://localhost:8080/api -VUE_APP_API_SERVER = http://192.168.1.144/api +VUE_APP_API_SERVER = http://localhost:8080/api +# VUE_APP_API_SERVER = http://192.168.1.144/api # VUE_APP_API_SERVER = https://epmet-dev.elinkservice.cn/api VUE_APP_NODE_ENV=dev diff --git a/epmet-oper-web/src/views/modules/customer/manage/customer-add-or-update.vue b/epmet-oper-web/src/views/modules/customer/manage/customer-add-or-update.vue index fa7ff93..ea0d523 100644 --- a/epmet-oper-web/src/views/modules/customer/manage/customer-add-or-update.vue +++ b/epmet-oper-web/src/views/modules/customer/manage/customer-add-or-update.vue @@ -122,7 +122,13 @@ + + + @@ -149,6 +155,7 @@ export default { dataForm: { id: "", houseQrcodePre: "", + unitQrcodeFormat: "", paAgency: { logo: "", agencyName: "", @@ -278,6 +285,13 @@ export default { message: '二维码uri前缀必填', trigger: 'blur' } + ], + "unitQrcodeFormat": [ + { + required: true, + message: '单元门牌二维码uri模板必填', + trigger: 'blur' + } ] } }; @@ -290,7 +304,7 @@ export default { // this.queryFunctionList(); }, computed: { - + }, methods: { // 上传logo成功 @@ -334,7 +348,6 @@ export default { return false; } - console.log(this.dataForm); this.$http["post"]("/oper/crm/customer/initLocally", this.dataForm) .then(({ data: res }) => { if (res.code !== 0) {