From 2b6af35238aa3daba815449f808a22c29d77e0e2 Mon Sep 17 00:00:00 2001 From: liujun Date: Mon, 18 Dec 2023 18:54:49 +0800 Subject: [PATCH 01/19] =?UTF-8?q?=E7=9B=B8=E5=85=B3=E6=96=B9=E9=9C=80?= =?UTF-8?q?=E6=B1=82=E5=8F=98=E9=9D=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../xgf/toolMan/components/corpInfoEdit.vue | 1342 ++++++++++++++++ src/views/xgf/toolMan/components/edit.vue | 1375 +++++++++++++++++ src/views/xgf/toolMan/components/list.vue | 188 +++ src/views/xgf/toolMan/index.vue | 36 + 4 files changed, 2941 insertions(+) create mode 100644 src/views/xgf/toolMan/components/corpInfoEdit.vue create mode 100644 src/views/xgf/toolMan/components/edit.vue create mode 100644 src/views/xgf/toolMan/components/list.vue create mode 100644 src/views/xgf/toolMan/index.vue diff --git a/src/views/xgf/toolMan/components/corpInfoEdit.vue b/src/views/xgf/toolMan/components/corpInfoEdit.vue new file mode 100644 index 0000000..3c68210 --- /dev/null +++ b/src/views/xgf/toolMan/components/corpInfoEdit.vue @@ -0,0 +1,1342 @@ + + + + + + + + diff --git a/src/views/xgf/toolMan/components/edit.vue b/src/views/xgf/toolMan/components/edit.vue new file mode 100644 index 0000000..2e0317c --- /dev/null +++ b/src/views/xgf/toolMan/components/edit.vue @@ -0,0 +1,1375 @@ + + + + + + + + diff --git a/src/views/xgf/toolMan/components/list.vue b/src/views/xgf/toolMan/components/list.vue new file mode 100644 index 0000000..268489c --- /dev/null +++ b/src/views/xgf/toolMan/components/list.vue @@ -0,0 +1,188 @@ + + diff --git a/src/views/xgf/toolMan/index.vue b/src/views/xgf/toolMan/index.vue new file mode 100644 index 0000000..c3ab99b --- /dev/null +++ b/src/views/xgf/toolMan/index.vue @@ -0,0 +1,36 @@ + + + + + From b3fae3e234435d4e358868a1d426a309760bb6b7 Mon Sep 17 00:00:00 2001 From: liujun Date: Mon, 18 Dec 2023 20:24:01 +0800 Subject: [PATCH 02/19] =?UTF-8?q?=E7=9B=B8=E5=85=B3=E6=96=B9=E9=9C=80?= =?UTF-8?q?=E6=B1=82=E5=8F=98=E9=9D=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/xgf/flow/components/QRCode.vue | 36 ++ src/views/xgf/flow/components/apply.vue | 320 +++++++++++++ src/views/xgf/flow/components/list.vue | 261 +++++++++++ src/views/xgf/flow/components/picture.vue | 36 ++ src/views/xgf/flow/components/record.vue | 198 ++++++++ src/views/xgf/flow/components/sendUtil.vue | 130 ++++++ src/views/xgf/flow/components/user.vue | 250 ++++++++++ src/views/xgf/flow/components/userInfo.vue | 327 +++++++++++++ src/views/xgf/flow/components/users.vue | 513 +++++++++++++++++++++ src/views/xgf/flow/index.vue | 23 + 10 files changed, 2094 insertions(+) create mode 100644 src/views/xgf/flow/components/QRCode.vue create mode 100644 src/views/xgf/flow/components/apply.vue create mode 100644 src/views/xgf/flow/components/list.vue create mode 100644 src/views/xgf/flow/components/picture.vue create mode 100644 src/views/xgf/flow/components/record.vue create mode 100644 src/views/xgf/flow/components/sendUtil.vue create mode 100644 src/views/xgf/flow/components/user.vue create mode 100644 src/views/xgf/flow/components/userInfo.vue create mode 100644 src/views/xgf/flow/components/users.vue create mode 100644 src/views/xgf/flow/index.vue diff --git a/src/views/xgf/flow/components/QRCode.vue b/src/views/xgf/flow/components/QRCode.vue new file mode 100644 index 0000000..297e138 --- /dev/null +++ b/src/views/xgf/flow/components/QRCode.vue @@ -0,0 +1,36 @@ + + + + + diff --git a/src/views/xgf/flow/components/apply.vue b/src/views/xgf/flow/components/apply.vue new file mode 100644 index 0000000..199811d --- /dev/null +++ b/src/views/xgf/flow/components/apply.vue @@ -0,0 +1,320 @@ + + + diff --git a/src/views/xgf/flow/components/list.vue b/src/views/xgf/flow/components/list.vue new file mode 100644 index 0000000..0219ab9 --- /dev/null +++ b/src/views/xgf/flow/components/list.vue @@ -0,0 +1,261 @@ + + + + diff --git a/src/views/xgf/flow/components/picture.vue b/src/views/xgf/flow/components/picture.vue new file mode 100644 index 0000000..57e7255 --- /dev/null +++ b/src/views/xgf/flow/components/picture.vue @@ -0,0 +1,36 @@ + + + + + diff --git a/src/views/xgf/flow/components/record.vue b/src/views/xgf/flow/components/record.vue new file mode 100644 index 0000000..e82258d --- /dev/null +++ b/src/views/xgf/flow/components/record.vue @@ -0,0 +1,198 @@ + + + + diff --git a/src/views/xgf/flow/components/sendUtil.vue b/src/views/xgf/flow/components/sendUtil.vue new file mode 100644 index 0000000..3b46ac8 --- /dev/null +++ b/src/views/xgf/flow/components/sendUtil.vue @@ -0,0 +1,130 @@ + + + + + diff --git a/src/views/xgf/flow/components/user.vue b/src/views/xgf/flow/components/user.vue new file mode 100644 index 0000000..889dc08 --- /dev/null +++ b/src/views/xgf/flow/components/user.vue @@ -0,0 +1,250 @@ + + + + + diff --git a/src/views/xgf/flow/components/userInfo.vue b/src/views/xgf/flow/components/userInfo.vue new file mode 100644 index 0000000..6a38268 --- /dev/null +++ b/src/views/xgf/flow/components/userInfo.vue @@ -0,0 +1,327 @@ + + + + + diff --git a/src/views/xgf/flow/components/users.vue b/src/views/xgf/flow/components/users.vue new file mode 100644 index 0000000..2d11653 --- /dev/null +++ b/src/views/xgf/flow/components/users.vue @@ -0,0 +1,513 @@ + + + diff --git a/src/views/xgf/flow/index.vue b/src/views/xgf/flow/index.vue new file mode 100644 index 0000000..70cda6e --- /dev/null +++ b/src/views/xgf/flow/index.vue @@ -0,0 +1,23 @@ + + + + + From 731986f7da2b55bdaaaf39282b5c3c8f5b1efda8 Mon Sep 17 00:00:00 2001 From: liujun Date: Tue, 19 Dec 2023 15:01:43 +0800 Subject: [PATCH 03/19] =?UTF-8?q?bug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/xgf/flow/components/list.vue | 37 +++------- src/views/xgf/flow/components/sendUtil.vue | 81 +++------------------- 2 files changed, 17 insertions(+), 101 deletions(-) diff --git a/src/views/xgf/flow/components/list.vue b/src/views/xgf/flow/components/list.vue index 0219ab9..8bbe506 100644 --- a/src/views/xgf/flow/components/list.vue +++ b/src/views/xgf/flow/components/list.vue @@ -38,20 +38,18 @@ - - +
- 批量推送 + 批量同意
@@ -69,10 +67,10 @@ import vueQr from 'vue-qr' import apply from './apply' import user from './user.vue' import SendUtil from './sendUtil.vue' -import UserInfo from "./userInfo.vue"; +import UserInfo from './userInfo.vue' export default { - components: {UserInfo, SendUtil, Pagination, apply, vueQr, user }, + components: { UserInfo, SendUtil, Pagination, apply, vueQr, user }, directives: { waves }, data() { return { @@ -163,27 +161,8 @@ export default { handleShow(row) { this.$refs.userInfos.init(row) }, - sendMessage(row) { - this.$confirm('确定要提交人员撤回申请吗?', '提示', { - confirmButtonText: '确定', - cancelButtonText: '取消', - type: 'warning' - }).then(() => { - requestFN( - '/trainingbatch/submitApplication', { xgf_user_ids: row.map(item => item.USER_ID).join(',') } - ).then((data) => { - this.getList() - }) - this.$message({ - type: 'success', - message: '申请提交成功!' - }) - }).catch(() => { - this.$message({ - type: 'info', - message: '申请提交取消' - }) - }) + approve(row) { + this.$refs.sendUtil.init(row) }, getUserInfo(row) { this.$refs.userInfo.init(row) diff --git a/src/views/xgf/flow/components/sendUtil.vue b/src/views/xgf/flow/components/sendUtil.vue index 3b46ac8..a7fdb5b 100644 --- a/src/views/xgf/flow/components/sendUtil.vue +++ b/src/views/xgf/flow/components/sendUtil.vue @@ -2,22 +2,16 @@
- - + + + + +
@@ -39,81 +33,24 @@ export default { data() { return { visible: false, - jituanDanwei: '', loading: false, - jituanDanweiTreeData: [], - normalizer(node) { - return { - id: node.id, - label: node.name, - children: node.nodes - } - }, - corp_id: null, - corp_name: '', + value: null, heirloom: {} } }, methods: { init(e) { this.visible = true - this.getCorpinfo() this.heirloom = JSON.stringify(e) }, - getCorpinfo() { - requestFN( - '/corpinfo/getDataForEditByCorpInfoId', - { - CORPINFO_ID: JSON.parse(sessionStorage.getItem('user')).CORPINFO_ID, - tm: new Date().getTime() - } - ).then((data) => { - this.corpinfo = data.pd - // 河港机械 jtdw002 1e6dbbe16004402f8d2c0e52afd9a676 - // 河港港工 jtdw003 3a854eefa7894e06aaa1a2611bca80f6 - // 河港检测 jtdw004 020578a4c1f04bc692ee25145c2efbe5 - // 方宇物业 jtdw005 90966974de3c4b83aca6f8fd6432d5c2 - - if (data.pd.CORP_TYPE == 'jtdw002') { - this.jituanDanwei = '1e6dbbe16004402f8d2c0e52afd9a676' - } - if (data.pd.CORP_TYPE == 'jtdw003') { - this.jituanDanwei = '3a854eefa7894e06aaa1a2611bca80f6' - } - if (data.pd.CORP_TYPE == 'jtdw004') { - this.jituanDanwei = '020578a4c1f04bc692ee25145c2efbe5' - } - if (data.pd.CORP_TYPE == 'jtdw005') { - this.jituanDanwei = '90966974de3c4b83aca6f8fd6432d5c2' - } - this.getTreeData() - }) - }, - getTreeData() { - if (this.jituanDanwei) { - requestFN( - '/companyApi/department/listTree', - { CORPINFO_ID: this.jituanDanwei } - ).then((data) => { - this.jituanDanweiTreeData = JSON.parse(data.zTreeNodes) - }).catch((e) => { - }) - } - }, - getInfo(e) { - console.log(e) - this.corp_name = e.name - }, beforeClose() { - this.corp_id = null }, sendMessage(row) { requestFN( - '/trainingbatch/sendMessage', + '/xgf/user/approve', { list: this.heirloom, - corp_id: this.corp_id, - corp_name: this.corp_name, + STATUS: this.value, tm: new Date().getTime() } ).then((data) => { From d016a52372bafacb366c2f6ba60f07bb35906042 Mon Sep 17 00:00:00 2001 From: liujun Date: Tue, 19 Dec 2023 20:03:23 +0800 Subject: [PATCH 04/19] =?UTF-8?q?bug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/xgf/flow/components/list.vue | 2 +- src/views/xgf/flowApply/components/QRCode.vue | 36 ++ src/views/xgf/flowApply/components/apply.vue | 287 ++++++++++ src/views/xgf/flowApply/components/list.vue | 228 ++++++++ .../xgf/flowApply/components/picture.vue | 36 ++ src/views/xgf/flowApply/components/record.vue | 198 +++++++ .../xgf/flowApply/components/sendUtil.vue | 67 +++ src/views/xgf/flowApply/components/user.vue | 250 +++++++++ .../xgf/flowApply/components/userInfo.vue | 327 +++++++++++ src/views/xgf/flowApply/components/users.vue | 513 ++++++++++++++++++ src/views/xgf/flowApply/index.vue | 23 + 11 files changed, 1966 insertions(+), 1 deletion(-) create mode 100644 src/views/xgf/flowApply/components/QRCode.vue create mode 100644 src/views/xgf/flowApply/components/apply.vue create mode 100644 src/views/xgf/flowApply/components/list.vue create mode 100644 src/views/xgf/flowApply/components/picture.vue create mode 100644 src/views/xgf/flowApply/components/record.vue create mode 100644 src/views/xgf/flowApply/components/sendUtil.vue create mode 100644 src/views/xgf/flowApply/components/user.vue create mode 100644 src/views/xgf/flowApply/components/userInfo.vue create mode 100644 src/views/xgf/flowApply/components/users.vue create mode 100644 src/views/xgf/flowApply/index.vue diff --git a/src/views/xgf/flow/components/list.vue b/src/views/xgf/flow/components/list.vue index 8bbe506..636a33f 100644 --- a/src/views/xgf/flow/components/list.vue +++ b/src/views/xgf/flow/components/list.vue @@ -146,7 +146,7 @@ export default { '/trainingbatch/userList?showCount=' + this.listQuery.limit + '¤tPage=' + this.listQuery.page, { KEYWORDS: this.KEYWORDS, - STATUS: this.STATUS, + STATUS: '1', EMPLOY_FLAG: '1' } ).then((data) => { diff --git a/src/views/xgf/flowApply/components/QRCode.vue b/src/views/xgf/flowApply/components/QRCode.vue new file mode 100644 index 0000000..297e138 --- /dev/null +++ b/src/views/xgf/flowApply/components/QRCode.vue @@ -0,0 +1,36 @@ + + + + + diff --git a/src/views/xgf/flowApply/components/apply.vue b/src/views/xgf/flowApply/components/apply.vue new file mode 100644 index 0000000..6775299 --- /dev/null +++ b/src/views/xgf/flowApply/components/apply.vue @@ -0,0 +1,287 @@ + + + diff --git a/src/views/xgf/flowApply/components/list.vue b/src/views/xgf/flowApply/components/list.vue new file mode 100644 index 0000000..db3d5cb --- /dev/null +++ b/src/views/xgf/flowApply/components/list.vue @@ -0,0 +1,228 @@ + + + + diff --git a/src/views/xgf/flowApply/components/picture.vue b/src/views/xgf/flowApply/components/picture.vue new file mode 100644 index 0000000..57e7255 --- /dev/null +++ b/src/views/xgf/flowApply/components/picture.vue @@ -0,0 +1,36 @@ + + + + + diff --git a/src/views/xgf/flowApply/components/record.vue b/src/views/xgf/flowApply/components/record.vue new file mode 100644 index 0000000..e82258d --- /dev/null +++ b/src/views/xgf/flowApply/components/record.vue @@ -0,0 +1,198 @@ + + + + diff --git a/src/views/xgf/flowApply/components/sendUtil.vue b/src/views/xgf/flowApply/components/sendUtil.vue new file mode 100644 index 0000000..a7fdb5b --- /dev/null +++ b/src/views/xgf/flowApply/components/sendUtil.vue @@ -0,0 +1,67 @@ + + + + + diff --git a/src/views/xgf/flowApply/components/user.vue b/src/views/xgf/flowApply/components/user.vue new file mode 100644 index 0000000..889dc08 --- /dev/null +++ b/src/views/xgf/flowApply/components/user.vue @@ -0,0 +1,250 @@ + + + + + diff --git a/src/views/xgf/flowApply/components/userInfo.vue b/src/views/xgf/flowApply/components/userInfo.vue new file mode 100644 index 0000000..6a38268 --- /dev/null +++ b/src/views/xgf/flowApply/components/userInfo.vue @@ -0,0 +1,327 @@ + + + + + diff --git a/src/views/xgf/flowApply/components/users.vue b/src/views/xgf/flowApply/components/users.vue new file mode 100644 index 0000000..2d11653 --- /dev/null +++ b/src/views/xgf/flowApply/components/users.vue @@ -0,0 +1,513 @@ + + + diff --git a/src/views/xgf/flowApply/index.vue b/src/views/xgf/flowApply/index.vue new file mode 100644 index 0000000..70cda6e --- /dev/null +++ b/src/views/xgf/flowApply/index.vue @@ -0,0 +1,23 @@ + + + + + From 0e7c6e0c72f35081eb1ada4f30145002d57be184 Mon Sep 17 00:00:00 2001 From: liujun Date: Wed, 20 Dec 2023 14:49:01 +0800 Subject: [PATCH 05/19] =?UTF-8?q?bug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/xgf/flowApply/components/apply.vue | 7 +- src/views/xgf/flow_audit/index.vue | 20 +- src/views/xgf/flow_audit/users.vue | 309 ++++--------------- 3 files changed, 77 insertions(+), 259 deletions(-) diff --git a/src/views/xgf/flowApply/components/apply.vue b/src/views/xgf/flowApply/components/apply.vue index 6775299..b9835f9 100644 --- a/src/views/xgf/flowApply/components/apply.vue +++ b/src/views/xgf/flowApply/components/apply.vue @@ -247,7 +247,6 @@ export default { }).catch((e) => { }) }, - save() { this.$refs.form.validate(valid => { if (valid) { @@ -255,11 +254,14 @@ export default { this.form.USER_COUNT = this.users.length this.form.AUDIT_STATUS = 0 this.form.TYPE = 2 + const userIds = this.users.map((item) => { return item.XGF_USER_ID }) requestFN( '/trainingbatch/add', { ...this.form, - users: this.users.join(',') + users: userIds.join(','), + BELONG_TO_CORP: this.users[0].BELONG_TO_CORP, + BELONG_TO_CORP_NAME: this.users[0].BELONG_TO_CORP_NAME } ).then((data) => { this.loading = false @@ -278,6 +280,7 @@ export default { }, handleClose() { this.visible = false + this.$emit('refresh', '') }, closeWindow() { this.visible = false diff --git a/src/views/xgf/flow_audit/index.vue b/src/views/xgf/flow_audit/index.vue index 2cc1e97..bf75d0d 100644 --- a/src/views/xgf/flow_audit/index.vue +++ b/src/views/xgf/flow_audit/index.vue @@ -1,4 +1,4 @@ -