From 07e27d1bfb7fd5fe2c23026c0294f807f627921b Mon Sep 17 00:00:00 2001 From: liujun Date: Sat, 13 Apr 2024 10:01:11 +0800 Subject: [PATCH 01/23] =?UTF-8?q?=E4=BA=BA=E5=91=98=E5=AE=9A=E4=BD=8D?= =?UTF-8?q?=E6=96=B0=E6=A8=A1=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/OneCompany/text.txt | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 src/views/OneCompany/text.txt diff --git a/src/views/OneCompany/text.txt b/src/views/OneCompany/text.txt new file mode 100644 index 0000000..e69de29 From 0d4a5a36bfd24adf90d10ba355b469973a375e48 Mon Sep 17 00:00:00 2001 From: liujun Date: Sat, 13 Apr 2024 10:09:00 +0800 Subject: [PATCH 02/23] =?UTF-8?q?=E4=BA=BA=E5=91=98=E5=AE=9A=E4=BD=8D?= =?UTF-8?q?=E6=96=B0=E6=A8=A1=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/{OneCompany => oneCompany}/text.txt | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename src/views/{OneCompany => oneCompany}/text.txt (100%) diff --git a/src/views/OneCompany/text.txt b/src/views/oneCompany/text.txt similarity index 100% rename from src/views/OneCompany/text.txt rename to src/views/oneCompany/text.txt From ac31e38b1a130ae0d272d92b613657613354da10 Mon Sep 17 00:00:00 2001 From: liujun Date: Sat, 13 Apr 2024 10:27:29 +0800 Subject: [PATCH 03/23] =?UTF-8?q?=E4=BA=BA=E5=91=98=E5=AE=9A=E4=BD=8D?= =?UTF-8?q?=E6=96=B0=E6=A8=A1=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../reflection/components/QRCode.vue | 36 ++ .../reflection/components/apply.vue | 320 +++++++++++ .../reflection/components/flowInfo.vue | 94 ++++ .../reflection/components/flowInfoList.vue | 87 +++ .../reflection/components/flowStep.vue | 107 ++++ .../oneCompany/reflection/components/list.vue | 253 +++++++++ .../reflection/components/picture.vue | 36 ++ .../reflection/components/record.vue | 198 +++++++ .../reflection/components/sendUtil.vue | 341 ++++++++++++ .../oneCompany/reflection/components/user.vue | 250 +++++++++ .../reflection/components/users.vue | 513 ++++++++++++++++++ src/views/oneCompany/reflection/index.vue | 23 + 12 files changed, 2258 insertions(+) create mode 100644 src/views/oneCompany/reflection/components/QRCode.vue create mode 100644 src/views/oneCompany/reflection/components/apply.vue create mode 100644 src/views/oneCompany/reflection/components/flowInfo.vue create mode 100644 src/views/oneCompany/reflection/components/flowInfoList.vue create mode 100644 src/views/oneCompany/reflection/components/flowStep.vue create mode 100644 src/views/oneCompany/reflection/components/list.vue create mode 100644 src/views/oneCompany/reflection/components/picture.vue create mode 100644 src/views/oneCompany/reflection/components/record.vue create mode 100644 src/views/oneCompany/reflection/components/sendUtil.vue create mode 100644 src/views/oneCompany/reflection/components/user.vue create mode 100644 src/views/oneCompany/reflection/components/users.vue create mode 100644 src/views/oneCompany/reflection/index.vue diff --git a/src/views/oneCompany/reflection/components/QRCode.vue b/src/views/oneCompany/reflection/components/QRCode.vue new file mode 100644 index 0000000..297e138 --- /dev/null +++ b/src/views/oneCompany/reflection/components/QRCode.vue @@ -0,0 +1,36 @@ + + + + + diff --git a/src/views/oneCompany/reflection/components/apply.vue b/src/views/oneCompany/reflection/components/apply.vue new file mode 100644 index 0000000..199811d --- /dev/null +++ b/src/views/oneCompany/reflection/components/apply.vue @@ -0,0 +1,320 @@ + + + diff --git a/src/views/oneCompany/reflection/components/flowInfo.vue b/src/views/oneCompany/reflection/components/flowInfo.vue new file mode 100644 index 0000000..9f79cb9 --- /dev/null +++ b/src/views/oneCompany/reflection/components/flowInfo.vue @@ -0,0 +1,94 @@ + + + diff --git a/src/views/oneCompany/reflection/components/flowInfoList.vue b/src/views/oneCompany/reflection/components/flowInfoList.vue new file mode 100644 index 0000000..3b55422 --- /dev/null +++ b/src/views/oneCompany/reflection/components/flowInfoList.vue @@ -0,0 +1,87 @@ + + + diff --git a/src/views/oneCompany/reflection/components/flowStep.vue b/src/views/oneCompany/reflection/components/flowStep.vue new file mode 100644 index 0000000..1af3130 --- /dev/null +++ b/src/views/oneCompany/reflection/components/flowStep.vue @@ -0,0 +1,107 @@ + + + diff --git a/src/views/oneCompany/reflection/components/list.vue b/src/views/oneCompany/reflection/components/list.vue new file mode 100644 index 0000000..ebb3f19 --- /dev/null +++ b/src/views/oneCompany/reflection/components/list.vue @@ -0,0 +1,253 @@ + + + + diff --git a/src/views/oneCompany/reflection/components/picture.vue b/src/views/oneCompany/reflection/components/picture.vue new file mode 100644 index 0000000..57e7255 --- /dev/null +++ b/src/views/oneCompany/reflection/components/picture.vue @@ -0,0 +1,36 @@ + + + + + diff --git a/src/views/oneCompany/reflection/components/record.vue b/src/views/oneCompany/reflection/components/record.vue new file mode 100644 index 0000000..e82258d --- /dev/null +++ b/src/views/oneCompany/reflection/components/record.vue @@ -0,0 +1,198 @@ + + + + diff --git a/src/views/oneCompany/reflection/components/sendUtil.vue b/src/views/oneCompany/reflection/components/sendUtil.vue new file mode 100644 index 0000000..b211ab5 --- /dev/null +++ b/src/views/oneCompany/reflection/components/sendUtil.vue @@ -0,0 +1,341 @@ + + + + + diff --git a/src/views/oneCompany/reflection/components/user.vue b/src/views/oneCompany/reflection/components/user.vue new file mode 100644 index 0000000..889dc08 --- /dev/null +++ b/src/views/oneCompany/reflection/components/user.vue @@ -0,0 +1,250 @@ + + + + + diff --git a/src/views/oneCompany/reflection/components/users.vue b/src/views/oneCompany/reflection/components/users.vue new file mode 100644 index 0000000..2d11653 --- /dev/null +++ b/src/views/oneCompany/reflection/components/users.vue @@ -0,0 +1,513 @@ + + + diff --git a/src/views/oneCompany/reflection/index.vue b/src/views/oneCompany/reflection/index.vue new file mode 100644 index 0000000..70cda6e --- /dev/null +++ b/src/views/oneCompany/reflection/index.vue @@ -0,0 +1,23 @@ + + + + + From df67a534da04335c7f4230f9493092b05997085c Mon Sep 17 00:00:00 2001 From: liujun Date: Sat, 13 Apr 2024 10:45:56 +0800 Subject: [PATCH 04/23] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=97=A0=E7=94=A8?= =?UTF-8?q?=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../reflection/components/QRCode.vue | 36 -- .../reflection/components/apply.vue | 320 ----------- .../reflection/components/flowInfo.vue | 94 ---- .../reflection/components/flowInfoList.vue | 87 --- .../reflection/components/flowStep.vue | 107 ---- .../oneCompany/reflection/components/list.vue | 13 +- .../reflection/components/picture.vue | 36 -- .../reflection/components/record.vue | 198 ------- .../reflection/components/sendUtil.vue | 341 ------------ .../oneCompany/reflection/components/user.vue | 250 --------- .../reflection/components/users.vue | 513 ------------------ src/views/oneCompany/reflection/index.vue | 4 +- 12 files changed, 2 insertions(+), 1997 deletions(-) delete mode 100644 src/views/oneCompany/reflection/components/QRCode.vue delete mode 100644 src/views/oneCompany/reflection/components/apply.vue delete mode 100644 src/views/oneCompany/reflection/components/flowInfo.vue delete mode 100644 src/views/oneCompany/reflection/components/flowInfoList.vue delete mode 100644 src/views/oneCompany/reflection/components/flowStep.vue delete mode 100644 src/views/oneCompany/reflection/components/picture.vue delete mode 100644 src/views/oneCompany/reflection/components/record.vue delete mode 100644 src/views/oneCompany/reflection/components/sendUtil.vue delete mode 100644 src/views/oneCompany/reflection/components/user.vue delete mode 100644 src/views/oneCompany/reflection/components/users.vue diff --git a/src/views/oneCompany/reflection/components/QRCode.vue b/src/views/oneCompany/reflection/components/QRCode.vue deleted file mode 100644 index 297e138..0000000 --- a/src/views/oneCompany/reflection/components/QRCode.vue +++ /dev/null @@ -1,36 +0,0 @@ - - - - - diff --git a/src/views/oneCompany/reflection/components/apply.vue b/src/views/oneCompany/reflection/components/apply.vue deleted file mode 100644 index 199811d..0000000 --- a/src/views/oneCompany/reflection/components/apply.vue +++ /dev/null @@ -1,320 +0,0 @@ - - - diff --git a/src/views/oneCompany/reflection/components/flowInfo.vue b/src/views/oneCompany/reflection/components/flowInfo.vue deleted file mode 100644 index 9f79cb9..0000000 --- a/src/views/oneCompany/reflection/components/flowInfo.vue +++ /dev/null @@ -1,94 +0,0 @@ - - - diff --git a/src/views/oneCompany/reflection/components/flowInfoList.vue b/src/views/oneCompany/reflection/components/flowInfoList.vue deleted file mode 100644 index 3b55422..0000000 --- a/src/views/oneCompany/reflection/components/flowInfoList.vue +++ /dev/null @@ -1,87 +0,0 @@ - - - diff --git a/src/views/oneCompany/reflection/components/flowStep.vue b/src/views/oneCompany/reflection/components/flowStep.vue deleted file mode 100644 index 1af3130..0000000 --- a/src/views/oneCompany/reflection/components/flowStep.vue +++ /dev/null @@ -1,107 +0,0 @@ - - - diff --git a/src/views/oneCompany/reflection/components/list.vue b/src/views/oneCompany/reflection/components/list.vue index ebb3f19..41db9f2 100644 --- a/src/views/oneCompany/reflection/components/list.vue +++ b/src/views/oneCompany/reflection/components/list.vue @@ -55,11 +55,6 @@ - - - - - @@ -68,15 +63,9 @@ import Pagination from '@/components/Pagination' // 通过 el-pagination二次 import { requestFN } from '@/utils/request' import waves from '@/directive/waves' // waves directive import vueQr from 'vue-qr' -import apply from './apply' -import user from './user.vue' -import SendUtil from './sendUtil.vue' -import UserInfo from '../../flowApply/components/userInfo.vue' -import FlowInfoList from './flowInfoList.vue' -import FlowStep from './flowStep.vue' export default { - components: { FlowStep, FlowInfoList, UserInfo, SendUtil, Pagination, apply, vueQr, user }, + components: { Pagination, vueQr }, directives: { waves }, data() { return { diff --git a/src/views/oneCompany/reflection/components/picture.vue b/src/views/oneCompany/reflection/components/picture.vue deleted file mode 100644 index 57e7255..0000000 --- a/src/views/oneCompany/reflection/components/picture.vue +++ /dev/null @@ -1,36 +0,0 @@ - - - - - diff --git a/src/views/oneCompany/reflection/components/record.vue b/src/views/oneCompany/reflection/components/record.vue deleted file mode 100644 index e82258d..0000000 --- a/src/views/oneCompany/reflection/components/record.vue +++ /dev/null @@ -1,198 +0,0 @@ - - - - diff --git a/src/views/oneCompany/reflection/components/sendUtil.vue b/src/views/oneCompany/reflection/components/sendUtil.vue deleted file mode 100644 index b211ab5..0000000 --- a/src/views/oneCompany/reflection/components/sendUtil.vue +++ /dev/null @@ -1,341 +0,0 @@ - - - - - diff --git a/src/views/oneCompany/reflection/components/user.vue b/src/views/oneCompany/reflection/components/user.vue deleted file mode 100644 index 889dc08..0000000 --- a/src/views/oneCompany/reflection/components/user.vue +++ /dev/null @@ -1,250 +0,0 @@ - - - - - diff --git a/src/views/oneCompany/reflection/components/users.vue b/src/views/oneCompany/reflection/components/users.vue deleted file mode 100644 index 2d11653..0000000 --- a/src/views/oneCompany/reflection/components/users.vue +++ /dev/null @@ -1,513 +0,0 @@ - - - diff --git a/src/views/oneCompany/reflection/index.vue b/src/views/oneCompany/reflection/index.vue index 70cda6e..45be1d5 100644 --- a/src/views/oneCompany/reflection/index.vue +++ b/src/views/oneCompany/reflection/index.vue @@ -4,11 +4,9 @@ diff --git a/src/views/oneCompany/alarmList/index.vue b/src/views/oneCompany/alarmList/index.vue new file mode 100644 index 0000000..479ef45 --- /dev/null +++ b/src/views/oneCompany/alarmList/index.vue @@ -0,0 +1,29 @@ + + + + + From 419c30bc45b2adf168defe705f526f48d6525275 Mon Sep 17 00:00:00 2001 From: liujun Date: Sat, 13 Apr 2024 12:33:30 +0800 Subject: [PATCH 07/23] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=88=86=E9=A1=B5?= =?UTF-8?q?=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/oneCompany/reflection/components/list.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/oneCompany/reflection/components/list.vue b/src/views/oneCompany/reflection/components/list.vue index 2859cff..dfee90d 100644 --- a/src/views/oneCompany/reflection/components/list.vue +++ b/src/views/oneCompany/reflection/components/list.vue @@ -85,7 +85,7 @@ export default { }, created() { this.getDict() - this.getList() + // this.getList() this.hasButton() }, methods: { @@ -116,7 +116,7 @@ export default { getList() { this.listLoading = true requestFN( - '/dw/getMapList?showCount=' + this.listQuery.limit + '¤tPage=' + this.listQuery.page, + '/dingWei/getMapList?showCount=' + this.listQuery.limit + '¤tPage=' + this.listQuery.page, { KEYWORDS: this.KEYWORDS, STATUS: '1', @@ -182,7 +182,7 @@ export default { }) }, getDict: function() { - requestFN('dw/getDictionary').then((data) => { + requestFN('dingWei/getDictionary').then((data) => { this.wenhuachengduList = data.list }).catch((e) => { this.listLoading = false From 03a1881fa64770ecbebf69d4e189508bcceef10c Mon Sep 17 00:00:00 2001 From: liujun Date: Sat, 13 Apr 2024 12:40:04 +0800 Subject: [PATCH 08/23] =?UTF-8?q?=E8=BF=94=E5=9B=9E=E6=AD=A3=E7=A1=AE?= =?UTF-8?q?=E7=8A=B6=E6=80=81=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../oneCompany/reflection/components/list.vue | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/src/views/oneCompany/reflection/components/list.vue b/src/views/oneCompany/reflection/components/list.vue index dfee90d..a70c8cc 100644 --- a/src/views/oneCompany/reflection/components/list.vue +++ b/src/views/oneCompany/reflection/components/list.vue @@ -78,6 +78,9 @@ export default { limit: 10, total: 0 }, + listLoading: false, + KEYWORDS: '', + varList: [], add: false, // 新增按钮 del: false, // 删除按钮 edit: false // 修改按钮 @@ -109,28 +112,20 @@ export default { this.getList() }, goKeyReset() { - this.KEYWORDS = '' this.STATUS = '' this.getQuery() }, getList() { this.listLoading = true requestFN( - '/dingWei/getMapList?showCount=' + this.listQuery.limit + '¤tPage=' + this.listQuery.page, - { - KEYWORDS: this.KEYWORDS, - STATUS: '1', - EMPLOY_FLAG: '1', - CHECK_STATUS: '1' - } + '/dingWei/getMapList?showCount=' + this.listQuery.limit + '¤tPage=' + this.listQuery.page, {} ).then((data) => { this.listLoading = false this.varList = data.list - this.total = data.page.totalResult + this.total = data.page.total + }).catch((e) => { + this.listLoading = false }) - .catch((e) => { - this.listLoading = false - }) }, handleAdd() { const _selectData = this.$refs.multipleTable.selection From 5b145195c834823154c22e72e06668dae8e94449 Mon Sep 17 00:00:00 2001 From: liujun Date: Sat, 13 Apr 2024 14:44:16 +0800 Subject: [PATCH 09/23] =?UTF-8?q?=E6=9C=AA=E5=88=86=E9=A1=B5bug=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../oneCompany/reflection/components/info.vue | 316 ++++++++++++++++++ .../oneCompany/reflection/components/list.vue | 37 +- 2 files changed, 321 insertions(+), 32 deletions(-) create mode 100644 src/views/oneCompany/reflection/components/info.vue diff --git a/src/views/oneCompany/reflection/components/info.vue b/src/views/oneCompany/reflection/components/info.vue new file mode 100644 index 0000000..3426505 --- /dev/null +++ b/src/views/oneCompany/reflection/components/info.vue @@ -0,0 +1,316 @@ + + + + + diff --git a/src/views/oneCompany/reflection/components/list.vue b/src/views/oneCompany/reflection/components/list.vue index a70c8cc..8d173f7 100644 --- a/src/views/oneCompany/reflection/components/list.vue +++ b/src/views/oneCompany/reflection/components/list.vue @@ -58,6 +58,7 @@ + @@ -65,10 +66,11 @@ import Pagination from '@/components/Pagination' // 通过 el-pagination二次打包 import { requestFN } from '@/utils/request' import waves from '@/directive/waves' // waves directive +import info from './info.vue' import vueQr from 'vue-qr' export default { - components: { Pagination, vueQr }, + components: { Pagination, vueQr, info }, directives: { waves }, data() { return { @@ -93,13 +95,7 @@ export default { }, methods: { handleSelectWithDifferentStatus(row, rowIndex) { - if (row.STATUS === 0) { - // 不禁用 - return true - } else { - // 禁用 - return false - } + return true }, getQuery() { if (this.$refs.multipleTable) { @@ -128,30 +124,7 @@ export default { }) }, handleAdd() { - const _selectData = this.$refs.multipleTable.selection - if (_selectData == null || _selectData.length == 0) { - this.$message({ - message: '未勾选培训人员...', - type: 'error' - }) - return false - } - - var users = [] - _selectData.map(item => { - if (item.STATUS === 0) { - users.push(item.USER_ID) - } - }) - - if (users == null || users.length == 0) { - this.$message({ - message: '勾选人员暂无法提交申请...', - type: 'error' - }) - return false - } - this.$refs.apply.init(users) + this.$refs.info.init() }, hasButton() { var keys = 'trainingbatch:add,trainingbatch:del,trainingbatch:edit,fhSms,email,fromExcel,toExcel' From 83714b2115ad36677add7a83878e8206e822f8fb Mon Sep 17 00:00:00 2001 From: liujun Date: Sat, 13 Apr 2024 15:16:58 +0800 Subject: [PATCH 10/23] =?UTF-8?q?=E6=98=A0=E5=B0=84=E4=BF=9D=E5=AD=98?= =?UTF-8?q?=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../oneCompany/reflection/components/info.vue | 62 +++++++++++++------ .../oneCompany/reflection/components/list.vue | 6 +- 2 files changed, 45 insertions(+), 23 deletions(-) diff --git a/src/views/oneCompany/reflection/components/info.vue b/src/views/oneCompany/reflection/components/info.vue index 3426505..1cd789a 100644 --- a/src/views/oneCompany/reflection/components/info.vue +++ b/src/views/oneCompany/reflection/components/info.vue @@ -12,16 +12,21 @@ - + + + + + + - + - - + + + + + + + + + + + + + + - + - + - + - - - - - - - - - + + @@ -120,7 +130,9 @@ export default { deviceName: '', id: '', idRemark: '', - remark: '' + remark: '', + userCardId: '', + userPhone: '' }, form: { required: { @@ -133,9 +145,11 @@ export default { deviceId: '', deviceName: '', id: '', - idRemark: '' + userCardId: '', + userPhone: '' }, - remark: '' + remark: '', + idRemark: '' }, normalizer(node) { return { @@ -166,6 +180,12 @@ export default { ], idRemark: [ { required: true, message: '请填写其他系统编号备注', trigger: 'change' } + ], + userPhone: [ + { required: true, message: '请填写负责人手机号', trigger: 'change' } + ], + userCardId: [ + { required: true, message: '请填写负责人身份证', trigger: 'change' } ] }, heirloom: {}, @@ -217,7 +237,9 @@ export default { this.form.required.deviceId = this.material.deviceId this.form.required.deviceName = this.material.deviceName this.form.required.id = this.material.id - this.form.required.idRemark = this.material.idRemark + this.form.required.userCardId = this.material.userCardId + this.form.required.userPhone = this.material.userPhone + this.form.idRemark = this.material.idRemark this.form.remark = this.material.remark requestFN( diff --git a/src/views/oneCompany/reflection/components/list.vue b/src/views/oneCompany/reflection/components/list.vue index 8d173f7..cf26c0b 100644 --- a/src/views/oneCompany/reflection/components/list.vue +++ b/src/views/oneCompany/reflection/components/list.vue @@ -36,15 +36,15 @@ highlight-current-row> - - + + - +