From ea416a68fce4625c5dcf2e547a8298188c214825 Mon Sep 17 00:00:00 2001 From: liyuchen <791867849@qq.com> Date: Fri, 14 Apr 2023 18:31:30 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=89=8D=E7=AB=AF?= =?UTF-8?q?=E5=88=86=E9=A1=B5i18n=E9=85=8D=E7=BD=AE=E4=BB=A5=E5=8F=8A?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0chief=E7=AE=A1=E7=90=86=E5=91=98=E7=9A=84?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8A=9F=E8=83=BD-liyuchen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/response/administrator.js | 17 +++ .../otherData/component/upload.vue | 4 - src/views/dataService/otherData/index.vue | 2 +- .../pictureInfo/component/editPicture.vue | 2 +- src/views/dataService/pictureInfo/index.vue | 4 +- .../visualData/component/editHotspotForm.vue | 6 +- .../component/editWordCloudForm.vue | 6 +- .../visualData/component/hotspotForm.vue | 4 - .../visualData/component/wordCloudForm.vue | 4 - src/views/dataService/visualData/index.vue | 8 +- .../dataUpload/component/audit.vue | 4 - .../responseManagement/dataUpload/index.vue | 3 + .../administrator/component/audit.vue | 4 - .../systemManagement/administrator/index.vue | 3 + .../component/addAdministrator.vue | 5 +- .../component/editAdministrator.vue | 144 ++++++++++++++++++ .../chiefAdministrator/index.vue | 29 ++-- 17 files changed, 191 insertions(+), 58 deletions(-) create mode 100644 src/views/systemManagement/chiefAdministrator/component/editAdministrator.vue diff --git a/src/api/response/administrator.js b/src/api/response/administrator.js index 7233002..7e030cf 100644 --- a/src/api/response/administrator.js +++ b/src/api/response/administrator.js @@ -32,7 +32,24 @@ export const addAdmin = (data) => { }); }; +/** + * 更新chief管理员用户 + * @param data + * @returns {Promise>} + */ +export const updateAdmin = (data) => { + return request({ + url: '/api/' + moduleName + '/ui/administrator/update', + method: 'put', + data: data + }); +}; +/** + * 删除chief管理员用户 + * @param ids + * @returns {Promise>} + */ export const remove = (ids) => { return request({ url: '/api/' + moduleName + '/ui/administrator/delete', diff --git a/src/views/dataService/otherData/component/upload.vue b/src/views/dataService/otherData/component/upload.vue index 34dc48c..82f6447 100644 --- a/src/views/dataService/otherData/component/upload.vue +++ b/src/views/dataService/otherData/component/upload.vue @@ -73,10 +73,6 @@ const state = reactive({ isShowDialog: false, isLoading:false, ruleForm: { - name: '', //标样名称 - code: '',//标样编号 - states: '',//标样状态 - tableData: [], }, tableData: [], //字典值 diff --git a/src/views/dataService/otherData/index.vue b/src/views/dataService/otherData/index.vue index 669d01c..bf09d79 100644 --- a/src/views/dataService/otherData/index.vue +++ b/src/views/dataService/otherData/index.vue @@ -93,7 +93,7 @@ label="Operate" show-overflow-tooltip> diff --git a/src/views/dataService/pictureInfo/component/editPicture.vue b/src/views/dataService/pictureInfo/component/editPicture.vue index 1143d3f..082d0c9 100644 --- a/src/views/dataService/pictureInfo/component/editPicture.vue +++ b/src/views/dataService/pictureInfo/component/editPicture.vue @@ -1,5 +1,5 @@