From 2b6af35238aa3daba815449f808a22c29d77e0e2 Mon Sep 17 00:00:00 2001 From: liujun Date: Mon, 18 Dec 2023 18:54:49 +0800 Subject: [PATCH 01/20] =?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/20] =?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/20] =?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 bb8fdbd9b7c005f3613dc82728b382b78f2ac28e Mon Sep 17 00:00:00 2001 From: limingyu Date: Tue, 19 Dec 2023 17:56:52 +0800 Subject: [PATCH 04/20] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8A=A8=E7=81=AB?= =?UTF-8?q?=E4=BD=9C=E4=B8=9A=E6=95=B0=E6=8D=AE=E5=BB=B6=E6=97=B6=E7=9B=91?= =?UTF-8?q?=E7=81=AB=E5=AE=A1=E6=A0=B8=E4=BA=BA=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/hotwork/hotwork/components/list.vue | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/views/hotwork/hotwork/components/list.vue b/src/views/hotwork/hotwork/components/list.vue index e25b397..c8f5d5e 100644 --- a/src/views/hotwork/hotwork/components/list.vue +++ b/src/views/hotwork/hotwork/components/list.vue @@ -84,7 +84,11 @@ {{ translate(row.STATE.toString(), statusList) }}
- + + +