|
@ -44,7 +44,7 @@ |
|
|
<el-button type="text" |
|
|
<el-button type="text" |
|
|
size="small" |
|
|
size="small" |
|
|
@click="deleteCategory(scope.row)">删除</el-button> |
|
|
@click="deleteCategory(scope.row)">删除</el-button> |
|
|
<el-button v-if="(scope.row.children && scope.row.children.length>0)" |
|
|
<el-button v-if="(scope.row.children )" |
|
|
type="text" |
|
|
type="text" |
|
|
size="small" |
|
|
size="small" |
|
|
@click="showAddLevel2(scope.row)">{{ "新增二级分类"}}</el-button> |
|
|
@click="showAddLevel2(scope.row)">{{ "新增二级分类"}}</el-button> |
|
@ -113,8 +113,8 @@ export default { |
|
|
//加载列表数据 |
|
|
//加载列表数据 |
|
|
async loadData () { |
|
|
async loadData () { |
|
|
this.dataListLoading = true |
|
|
this.dataListLoading = true |
|
|
const url = 'https://nei.netease.com/api/apimock-v2/e3b1d0eb88e905f6c7ee559b2d6bb7ad/gov/issue/issueprojectcategorydict/customercategorylist' |
|
|
// const url = 'https://nei.netease.com/api/apimock-v2/e3b1d0eb88e905f6c7ee559b2d6bb7ad/gov/issue/issueprojectcategorydict/customercategorylist' |
|
|
// const url = '/gov/issue/issueprojectcategorydict/customercategorylist' |
|
|
const url = '/gov/issue/issueprojectcategorydict/customercategorylist' |
|
|
|
|
|
|
|
|
this.tableParams.customerId = this.customerId |
|
|
this.tableParams.customerId = this.customerId |
|
|
|
|
|
|
|
@ -151,8 +151,8 @@ export default { |
|
|
cancelButtonText: '取消', |
|
|
cancelButtonText: '取消', |
|
|
type: 'warning' |
|
|
type: 'warning' |
|
|
}).then(() => { |
|
|
}).then(() => { |
|
|
// const url = '/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 url = 'https://nei.netease.com/api/apimock-v2/e3b1d0eb88e905f6c7ee559b2d6bb7ad/gov/issue/issueprojectcategorydict/isdisablecategory' |
|
|
const param = { |
|
|
const param = { |
|
|
customerId: this.customerId, |
|
|
customerId: this.customerId, |
|
|
categoryId: row.categoryId, |
|
|
categoryId: row.categoryId, |
|
@ -178,8 +178,8 @@ export default { |
|
|
cancelButtonText: '取消', |
|
|
cancelButtonText: '取消', |
|
|
type: 'warning' |
|
|
type: 'warning' |
|
|
}).then(() => { |
|
|
}).then(() => { |
|
|
// const url = '/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 url = 'https://nei.netease.com/api/apimock-v2/e3b1d0eb88e905f6c7ee559b2d6bb7ad/gov/issue/issueprojectcategorydict/delcategory' |
|
|
const param = { |
|
|
const param = { |
|
|
customerId: this.customerId, |
|
|
customerId: this.customerId, |
|
|
categoryId: row.categoryId, |
|
|
categoryId: row.categoryId, |
|
|