From 937396645fb21a1bc702c8e97a0b38564a52ea4a Mon Sep 17 00:00:00 2001 From: liulixin Date: Wed, 31 Jan 2024 13:40:51 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BD=86=E9=83=A8=E9=97=A8check?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../keyprojects/outsourced/components/edit.vue | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/views/keyprojects/outsourced/components/edit.vue b/src/views/keyprojects/outsourced/components/edit.vue index 713264b..61e0ce7 100644 --- a/src/views/keyprojects/outsourced/components/edit.vue +++ b/src/views/keyprojects/outsourced/components/edit.vue @@ -797,6 +797,21 @@ export default { // 保存 confirm() { for (let i = 0; i < this.inspectorList.length; i++) { + requestFN( + '/outsourced/checkDepartment', + { + departmentId: this.form.JURISDICTION_UNIT + } + ).then((data) => { + if (data.data.errInfo === 'fail') { + this.$message({ + message: '勿选其他公司部门!', + type: 'error' + }) + } + resolve(true) + }).catch((e) => { + }); if (this.inspectorList[i].INSPECTION_USER_ID == '') { this.$message.warning('第' + (i + 1) + '行必须添加处罚人') return From d1c6f1244c37a4f1bbcde87e0fd0c19db7989501 Mon Sep 17 00:00:00 2001 From: liulixin Date: Wed, 31 Jan 2024 17:19:33 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E8=B4=A3=E4=BB=BB=E4=BA=BA=E5=AD=97?= =?UTF-8?q?=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/risk/corpinfo/components/point.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/risk/corpinfo/components/point.vue b/src/views/risk/corpinfo/components/point.vue index 148fe39..79554ae 100644 --- a/src/views/risk/corpinfo/components/point.vue +++ b/src/views/risk/corpinfo/components/point.vue @@ -67,7 +67,7 @@ - +