diff --git a/epmet-oper-web/src/views/modules/customer/customize/CategoryEdit.vue b/epmet-oper-web/src/views/modules/customer/customize/CategoryEdit.vue index 22e819d..b76cf9e 100644 --- a/epmet-oper-web/src/views/modules/customer/customize/CategoryEdit.vue +++ b/epmet-oper-web/src/views/modules/customer/customize/CategoryEdit.vue @@ -29,7 +29,6 @@ prop="sort"> @@ -101,11 +100,11 @@ export default { this.dataForm.sort = sort if (this.dataForm.level === 'l1') { - // this.url="/gov/issue/issueprojectcategorydict/savefirstcategory" - this.url = "https://nei.netease.com/api/apimock-v2/e3b1d0eb88e905f6c7ee559b2d6bb7ad/gov/issue/issueprojectcategorydict/savefirstcategory" + this.url = "/gov/issue/issueprojectcategorydict/savefirstcategory" + // this.url = "https://nei.netease.com/api/apimock-v2/e3b1d0eb88e905f6c7ee559b2d6bb7ad/gov/issue/issueprojectcategorydict/savefirstcategory" } else { - // this.url="/gov/issue/issueprojectcategorydict/savesecondcategory" - this.url = "https://nei.netease.com/api/apimock-v2/e3b1d0eb88e905f6c7ee559b2d6bb7ad/gov/issue/issueprojectcategorydict/savesecondcategory" + this.url = "/gov/issue/issueprojectcategorydict/savesecondcategory" + // this.url = "https://nei.netease.com/api/apimock-v2/e3b1d0eb88e905f6c7ee559b2d6bb7ad/gov/issue/issueprojectcategorydict/savesecondcategory" } }, @@ -120,11 +119,11 @@ export default { this.dataForm = dataForm if (this.dataForm.level === 'l1') { - // this.url="/gov/issue/issueprojectcategorydict/savefirstcategory" - this.url = "https://nei.netease.com/api/apimock-v2/e3b1d0eb88e905f6c7ee559b2d6bb7ad/gov/issue/issueprojectcategorydict/savefirstcategory" + this.url = "/gov/issue/issueprojectcategorydict/savefirstcategory" + // this.url = "https://nei.netease.com/api/apimock-v2/e3b1d0eb88e905f6c7ee559b2d6bb7ad/gov/issue/issueprojectcategorydict/savefirstcategory" } else { - // this.url="/gov/issue/issueprojectcategorydict/savesecondcategory" - this.url = "https://nei.netease.com/api/apimock-v2/e3b1d0eb88e905f6c7ee559b2d6bb7ad/gov/issue/issueprojectcategorydict/savesecondcategory" + this.url = "/gov/issue/issueprojectcategorydict/savesecondcategory" + // this.url = "https://nei.netease.com/api/apimock-v2/e3b1d0eb88e905f6c7ee559b2d6bb7ad/gov/issue/issueprojectcategorydict/savesecondcategory" } }, @@ -168,6 +167,7 @@ export default { this.$emit('editDiaOK') } else { + this.$message.error(msg + ":" + internalMsg) } }, diff --git a/epmet-oper-web/src/views/modules/customer/customize/CategoryList.vue b/epmet-oper-web/src/views/modules/customer/customize/CategoryList.vue index c50c417..9776273 100644 --- a/epmet-oper-web/src/views/modules/customer/customize/CategoryList.vue +++ b/epmet-oper-web/src/views/modules/customer/customize/CategoryList.vue @@ -44,7 +44,7 @@ 删除 - {{ "新增二级分类"}} @@ -113,8 +113,8 @@ export default { //加载列表数据 async loadData () { this.dataListLoading = true - const url = 'https://nei.netease.com/api/apimock-v2/e3b1d0eb88e905f6c7ee559b2d6bb7ad/gov/issue/issueprojectcategorydict/customercategorylist' - // const url = '/gov/issue/issueprojectcategorydict/customercategorylist' + // const url = 'https://nei.netease.com/api/apimock-v2/e3b1d0eb88e905f6c7ee559b2d6bb7ad/gov/issue/issueprojectcategorydict/customercategorylist' + const url = '/gov/issue/issueprojectcategorydict/customercategorylist' this.tableParams.customerId = this.customerId @@ -151,8 +151,8 @@ export default { cancelButtonText: '取消', type: 'warning' }).then(() => { - // const url = '/gov/issue/issueprojectcategorydict/isdisablecategory' - const url = 'https://nei.netease.com/api/apimock-v2/e3b1d0eb88e905f6c7ee559b2d6bb7ad/gov/issue/issueprojectcategorydict/isdisablecategory' + const url = '/gov/issue/issueprojectcategorydict/isdisablecategory' + // const url = 'https://nei.netease.com/api/apimock-v2/e3b1d0eb88e905f6c7ee559b2d6bb7ad/gov/issue/issueprojectcategorydict/isdisablecategory' const param = { customerId: this.customerId, categoryId: row.categoryId, @@ -178,8 +178,8 @@ export default { cancelButtonText: '取消', type: 'warning' }).then(() => { - // const url = '/gov/issue/issueprojectcategorydict/delcategory' - const url = 'https://nei.netease.com/api/apimock-v2/e3b1d0eb88e905f6c7ee559b2d6bb7ad/gov/issue/issueprojectcategorydict/delcategory' + const url = '/gov/issue/issueprojectcategorydict/delcategory' + // const url = 'https://nei.netease.com/api/apimock-v2/e3b1d0eb88e905f6c7ee559b2d6bb7ad/gov/issue/issueprojectcategorydict/delcategory' const param = { customerId: this.customerId, categoryId: row.categoryId,