From d96b98e731328527be00f4ac17cf717e21928d85 Mon Sep 17 00:00:00 2001 From: zichen1019 <1510748736@qq.com> Date: Sun, 25 Jul 2021 17:54:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E9=83=A8=E5=88=86=E4=B8=9A?= =?UTF-8?q?=E5=8A=A1=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/common.js | 4 +- src/api/template.js | 10 +- src/components/drawerDialog/index.vue | 344 +++++++++++++++++--------- src/store/modules/user.js | 8 +- src/views/bjd/dj_list.vue | 33 ++- src/views/flow/template.vue | 54 ++-- src/views/monitor/log_info.vue | 14 +- src/views/preview/hzd.vue | 11 + src/views/user/permission.vue | 13 +- src/views/user/role.vue | 2 +- src/views/user/user.vue | 2 +- 11 files changed, 315 insertions(+), 180 deletions(-) create mode 100644 src/views/preview/hzd.vue diff --git a/src/api/common.js b/src/api/common.js index ba92a53..320e2b7 100644 --- a/src/api/common.js +++ b/src/api/common.js @@ -115,7 +115,7 @@ export function cancelRenwuFn(params) { } export function initData(params) { return api({ - url: '/role/listRole', + url: '/role/list', method: 'get', params: params, paramsSerializer: function(data) { @@ -129,4 +129,4 @@ export function getDepartmentTreeList(params) { method: 'get', params }) -} +} diff --git a/src/api/template.js b/src/api/template.js index abd9b0a..9314a13 100644 --- a/src/api/template.js +++ b/src/api/template.js @@ -13,7 +13,10 @@ export default { return api({ url: '/templateSetting', method: 'delete', - params: qs.stringify(params) + params, + paramsSerializer: function(params) { + return qs.stringify(params, { indices: false }) + } }) }, deleteSettingFn: (params) => { @@ -21,7 +24,10 @@ export default { return api({ url: '/templateSetting', method: 'delete', - params: qs.stringify(params) + params, + paramsSerializer: function(params) { + return qs.stringify(params, { indices: false }) + } }) } } diff --git a/src/components/drawerDialog/index.vue b/src/components/drawerDialog/index.vue index 2833bc2..c52d780 100644 --- a/src/components/drawerDialog/index.vue +++ b/src/components/drawerDialog/index.vue @@ -4,7 +4,7 @@ title="编辑模板" :visible.sync="drawer" size="90%" - show- + :before-close="(done) => { $emit('closeTemplateDrawer') }" @open="open" >
模板详情
+ 模板详情模板详情
+ 模板详情