diff --git a/src/api/instrument.js b/src/api/instrument.js index 4df3ce4..14879e1 100644 --- a/src/api/instrument.js +++ b/src/api/instrument.js @@ -30,7 +30,7 @@ export function del(params) { export function getDepartmentStatistical() { return api({ - url: '/instrument/getDepartmentStatistical', + url: '/instrument/statistic/getDepartmentStatistical', method: 'get' }) } diff --git a/src/views/bjd/dj_input.vue b/src/views/bjd/dj_input.vue index 635621e..1627a98 100644 --- a/src/views/bjd/dj_input.vue +++ b/src/views/bjd/dj_input.vue @@ -2297,15 +2297,15 @@ export default { } this.bjd.jianyanleibie = 'DJ' this.bjd.totalNum = this.tableData.length - let url = '' + let type = '' if (this.formState === 'create' || this.formState === 'newBuild') { - url = 'bjd/saveBjd' + type = 'post' } else { - url = 'bjd/updateBjd' + type = 'put' } this.apibjd({ - url: url, - method: 'post', + url: '/bjd', + method: type, data: { bjd: this.bjd, paramList: this.tableData, diff --git a/src/views/bjd/dj_list.vue b/src/views/bjd/dj_list.vue index cf022da..acd40ce 100644 --- a/src/views/bjd/dj_list.vue +++ b/src/views/bjd/dj_list.vue @@ -355,7 +355,7 @@ export default { type: 'warning' }).then(() => { this.apibjd({ - url: '/bjd/delBjd', + url: '/bjd', method: 'delete', params: { bjdIds: this.ids.join(',') } }).then(data => { diff --git a/src/views/bjd/dt_list.vue b/src/views/bjd/dt_list.vue index 88bd23f..5efb8da 100644 --- a/src/views/bjd/dt_list.vue +++ b/src/views/bjd/dt_list.vue @@ -318,7 +318,7 @@ export default { type: 'warning' }).then(() => { this.apibjd({ - url: '/bjd/delBjd', + url: '/bjd', method: 'delete', params: { bjdIds: this.multipleSelection.map(rw => { diff --git a/src/views/bjd/jj_input.vue b/src/views/bjd/jj_input.vue index 589dda8..5d92f45 100644 --- a/src/views/bjd/jj_input.vue +++ b/src/views/bjd/jj_input.vue @@ -1502,15 +1502,15 @@ export default { if (this.bjd.ziliaozhonglei === '' || this.bjd.ziliaozhonglei === undefined || this.bjd.ziliaozhonglei === null) { this.bjd.ziliaozhonglei = '3' } - let url = '' + let type = '' if (this.formState === 'create' || this.formState === 'newBuild') { - url = 'bjd/saveBjd' + type = 'post' } else { - url = 'bjd/updateBjd' + type = 'put' } this.apibjd({ - url: url, - method: 'post', + url: '/bjd', + method: type, data: { bjd: this.bjd, paramList: this.tableData, diff --git a/src/views/bjd/jj_list.vue b/src/views/bjd/jj_list.vue index 4b2e303..778b116 100644 --- a/src/views/bjd/jj_list.vue +++ b/src/views/bjd/jj_list.vue @@ -369,7 +369,7 @@ export default { type: 'warning' }).then(() => { this.apibjd({ - url: '/bjd/delBjd', + url: '/bjd', method: 'delete', params: { bjdIds: this.multipleSelection.map(rw => { diff --git a/src/views/bjd/zf_list.vue b/src/views/bjd/zf_list.vue index afd45e9..fcb5c84 100644 --- a/src/views/bjd/zf_list.vue +++ b/src/views/bjd/zf_list.vue @@ -184,7 +184,7 @@ export default { type: 'warning' }).then(() => { this.apibjd({ - url: '/bjd/delBjd', + url: '/bjd', method: 'delete', params: { bjdIds: this.ids } }).then(data => { diff --git a/src/views/bjd/zj_input.vue b/src/views/bjd/zj_input.vue index c551271..b5cab2f 100644 --- a/src/views/bjd/zj_input.vue +++ b/src/views/bjd/zj_input.vue @@ -924,15 +924,15 @@ export default { } } this.bjd.totalNum = this.tableData.length - let url = '' + let type = '' if (this.formState === 'newBuild') { - url = 'bjd/saveBjd' + type = 'post' } else { - url = 'bjd/updateBjd' + type = 'put' } this.apibjd({ - url: url, - method: 'post', + url: '/bjd', + method: type, data: { bjd: this.bjd, paramList: this.tableData, diff --git a/src/views/dic/category.vue b/src/views/dic/category.vue index 5abca87..84bffee 100644 --- a/src/views/dic/category.vue +++ b/src/views/dic/category.vue @@ -6,15 +6,39 @@
- - - + + + 查询 - + 添加 - + 删除 @@ -31,23 +55,57 @@ @selection-change="handleSelectionChange" > - - - - + + + + - + +
+ 字典详情 +
- - - - + + + + +
点击左侧字典查看详情
- - + + @@ -108,10 +204,12 @@