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 @@