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(