From 3aa9fc61e66bba16df9dc27481662053bf6d8a83 Mon Sep 17 00:00:00 2001 From: Shan Ao <178391389@qq.com> Date: Mon, 26 May 2025 10:00:49 +0800 Subject: [PATCH] =?UTF-8?q?app=E9=9A=90=E6=82=A3=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E4=BF=AE=E6=94=B9-=E7=9B=B8=E5=85=B3=E6=96=B9=E6=95=B4?= =?UTF-8?q?=E6=94=B9=E4=B8=8D=E9=9C=80=E8=A6=81=E6=8F=90=E4=BA=A4=E9=AA=8C?= =?UTF-8?q?=E6=94=B6=E4=BA=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/hidden_rectification/index.vue | 5 +- pages/hidden_rectification/rectification.vue | 74 +------------------- 2 files changed, 5 insertions(+), 74 deletions(-) diff --git a/pages/hidden_rectification/index.vue b/pages/hidden_rectification/index.vue index 9c71dcb..f53fbbf 100644 --- a/pages/hidden_rectification/index.vue +++ b/pages/hidden_rectification/index.vue @@ -72,14 +72,15 @@ export default { async getData() { let resData = await getHiddenList({ DISPOSESTATE: 2, - isIndex: 2, + isIndex: 0, USERDEPT: this.$store.getters.getUserInfo.DEPARTMENT_ID, SELFUSERID: this.$store.getters.getUserInfo.USER_ID, currentPage: this.currentPage, showCount: this.pageSize, totalResult: 0, postMethod: 'application/json', - CORPINFO_ID:'' + XGF_CORPINFO_ID: this.$store.getters.getUserInfo.CORPINFO_ID, + CORPINFO_ID: '' }); this.list = [...this.list, ...resData.varList]; this.totalPage = resData.page.totalPage; diff --git a/pages/hidden_rectification/rectification.vue b/pages/hidden_rectification/rectification.vue index 6661eb8..ce746b1 100644 --- a/pages/hidden_rectification/rectification.vue +++ b/pages/hidden_rectification/rectification.vue @@ -73,51 +73,6 @@ label="整改后照片" prop="afterRectificationFile" /> - - - - - - - - - - - @@ -277,8 +232,6 @@ export default { AppHiddenView, AppTime, AppUpload, - AppDepartment, - AppPersonnel, }, data() { return { @@ -399,46 +352,23 @@ export default { message: "请上传方案照片", trigger: ["blur", "change"], }, - }, - acceptanceList: [] + } } }, onLoad(query) { this.hiddenId = query.HIDDEN_ID - this.fnAddAcceptanceList() }, methods: { - fnAddAcceptanceList() { - this.acceptanceList.push({ - DEPARTMENT_NAME: "", - DEPARTMENT_ID: "", - USER_NAME: "", - USER_ID: "", - id: uni.$u.guid(), - }); - }, async fnSubmit() { const isValidate = await this.$refs.formRef.validate() if (!isValidate) return; if (this.form.IS_NORMAL === 1 || this.form.IS_NORMAL === "1") { - for (let i = 0; i < this.acceptanceList.length; i++) { - if ( - !this.acceptanceList[i].DEPARTMENT_NAME || - !this.acceptanceList[i].USER_NAME - ) { - uni.showToast({ - icon: "none", - title: "请选择部门人员", - }); - return; - } - } await setHiddenRectificationSubmit({ HIDDEN_ID: this.hiddenId, ...this.form, SCREENINGDATE: this.info.CREATTIME, LISTNAME: this.info.LIST_NAME, - OTHER: JSON.stringify(this.acceptanceList), + IS_XGF: "1", }); for (let i = 0; i < this.form.afterRectificationFile.length; i++) { await this.fnUploadFile(