From 6474d8d4a15170d752a77821ce52585654f3f87a Mon Sep 17 00:00:00 2001 From: liuye Date: Thu, 2 Nov 2023 14:55:23 +0800 Subject: [PATCH 01/12] =?UTF-8?q?=E5=B7=A1=E6=9F=A5=E4=B8=8A=E6=8A=A5?= =?UTF-8?q?=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AppPatrolReportSet/AppPatrolReportSet.vue | 231 ++++++++++++++++++ 1 file changed, 231 insertions(+) create mode 100644 packages/conv/AppPatrolReportSet/AppPatrolReportSet.vue diff --git a/packages/conv/AppPatrolReportSet/AppPatrolReportSet.vue b/packages/conv/AppPatrolReportSet/AppPatrolReportSet.vue new file mode 100644 index 00000000..4d8febd4 --- /dev/null +++ b/packages/conv/AppPatrolReportSet/AppPatrolReportSet.vue @@ -0,0 +1,231 @@ + + + + + From 86171587a09ca68f2d8970ffe70cbc4f488c9b8f Mon Sep 17 00:00:00 2001 From: liuye Date: Fri, 3 Nov 2023 10:30:32 +0800 Subject: [PATCH 02/12] =?UTF-8?q?=E7=BD=91=E6=A0=BC=E5=8C=BA=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/grid/AppGridBlock/components/add.vue | 4 +++- packages/grid/AppGridBlock/components/list.vue | 18 ++++++++++++++---- 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/packages/grid/AppGridBlock/components/add.vue b/packages/grid/AppGridBlock/components/add.vue index df0d1511..f186a2a0 100644 --- a/packages/grid/AppGridBlock/components/add.vue +++ b/packages/grid/AppGridBlock/components/add.vue @@ -161,7 +161,9 @@ export default { this.instance.post(`/app/appgirdinfo/addOrUpdate`, { ...this.forms, girdMemberManageList: girdMemberManageList?.map(v => ({wxUserId: v.id})) || [], - girdMemberList: girdMemberList?.map(v => ({wxUserId: v.id})) || [] + girdMemberList: girdMemberList?.map(v => ({wxUserId: v.id})) || [], + isCoordination: this.forms.currIndex, + coordinationId: this.forms.currIndex == 1 ? this.forms.parentGirdId : null }).then((res) => { if (res.code == 0) { this.cancel(true) diff --git a/packages/grid/AppGridBlock/components/list.vue b/packages/grid/AppGridBlock/components/list.vue index 3d5417f0..d5d52358 100644 --- a/packages/grid/AppGridBlock/components/list.vue +++ b/packages/grid/AppGridBlock/components/list.vue @@ -85,6 +85,9 @@ 初始化 + + + v === '1' ? '网格员' : '网格长'} - ] + ], + currIndex: 0, + tabs: [{label: '子网格'}, {label: '协同部门'}], }; }, created() { @@ -202,12 +207,16 @@ export default { } }, methods: { + tabChange() { + this.page.current = 1 + this.getList() + }, handleNodeClick(val) { this.info = this.$copy(val); this.getList(); }, getTreeList() { - this.instance.post(`/app/appgirdinfo/listAll3`).then((res) => { + this.instance.post(`/app/appgirdinfo/listAll4`).then((res) => { if (res?.data) { this.treeObj.treeList = res.data.filter(e => !e.parentGirdId) @@ -274,7 +283,8 @@ export default { }).catch(() => 0); }, getList() { - this.instance.post("/app/appgirdinfo/list", null, { + var url = this.currIndex == 1 ? `/app/appgirdinfo/listCoordination` : `/app/appgirdinfo/list?isCoordination=0` + this.instance.post(url, null, { params: { ...this.searchObj, ...this.page, @@ -301,7 +311,7 @@ export default { toAdd() { let {id: parentGirdId, girdName: parentGirdName} = this.info this.$router.push({ - hash: "#add", query: {parentGirdId, parentGirdName} + hash: "#add", query: {parentGirdId, parentGirdName, currIndex: this.currIndex} }) }, goBack() { From 91701965e95fb6a01443143777c98571de8161f6 Mon Sep 17 00:00:00 2001 From: liuye Date: Fri, 3 Nov 2023 15:59:19 +0800 Subject: [PATCH 03/12] =?UTF-8?q?=E5=B7=A1=E6=9F=A5=E4=B8=8A=E6=8A=A5?= =?UTF-8?q?=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AppPatrolReportSet/AppPatrolReportSet.vue | 373 +++++++++++++----- 1 file changed, 266 insertions(+), 107 deletions(-) diff --git a/packages/conv/AppPatrolReportSet/AppPatrolReportSet.vue b/packages/conv/AppPatrolReportSet/AppPatrolReportSet.vue index 4d8febd4..c57664f4 100644 --- a/packages/conv/AppPatrolReportSet/AppPatrolReportSet.vue +++ b/packages/conv/AppPatrolReportSet/AppPatrolReportSet.vue @@ -1,124 +1,140 @@ + + diff --git a/packages/conv/AppEventReporting/components/Detail.vue b/packages/conv/AppEventReporting/components/Detail.vue new file mode 100644 index 00000000..f29a7320 --- /dev/null +++ b/packages/conv/AppEventReporting/components/Detail.vue @@ -0,0 +1,592 @@ + + + + + diff --git a/packages/conv/AppEventReporting/components/List.vue b/packages/conv/AppEventReporting/components/List.vue new file mode 100644 index 00000000..a5bc9f41 --- /dev/null +++ b/packages/conv/AppEventReporting/components/List.vue @@ -0,0 +1,249 @@ + + + + + diff --git a/packages/conv/AppEventReporting/components/Setting.vue b/packages/conv/AppEventReporting/components/Setting.vue new file mode 100644 index 00000000..b00ec1db --- /dev/null +++ b/packages/conv/AppEventReporting/components/Setting.vue @@ -0,0 +1,178 @@ + + + + + From 3473d09885e0375c783ffad67f4daef787df77e8 Mon Sep 17 00:00:00 2001 From: liuye Date: Wed, 8 Nov 2023 09:31:03 +0800 Subject: [PATCH 08/12] =?UTF-8?q?=E5=B7=A1=E6=9F=A5=E4=B8=8A=E6=8A=A5?= =?UTF-8?q?=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/conv/AppPatrolReportSet/AppPatrolReportSet.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/conv/AppPatrolReportSet/AppPatrolReportSet.vue b/packages/conv/AppPatrolReportSet/AppPatrolReportSet.vue index 03bd65e3..127e3e81 100644 --- a/packages/conv/AppPatrolReportSet/AppPatrolReportSet.vue +++ b/packages/conv/AppPatrolReportSet/AppPatrolReportSet.vue @@ -102,7 +102,7 @@ 当前选中网格层级生效 - 仅协同部门 + 仅协同部门 添加 @@ -117,7 +117,7 @@ 当前选中网格层级生效 - 仅协同部门 + 仅协同部门 添加 @@ -175,7 +175,7 @@ functionTransmit2: '1', roleAdmin2: '1', roleMember2: '1', - onlyCoordination: false + onlyCoordination: '1' }, list: [], nodeTypeDictList: [{dictName: '首节点', dictValue: '0'}], @@ -221,7 +221,7 @@ functionTransmit2: '1', roleAdmin2: '1', roleMember2: '1', - onlyCoordination: false + onlyCoordination: '1' } if(this.list.length > 0) { this.getGird(this.list.length-1) From 63d85b5c5b8b25b8d21316addebfabed86c208a6 Mon Sep 17 00:00:00 2001 From: liuye Date: Wed, 8 Nov 2023 10:45:48 +0800 Subject: [PATCH 09/12] =?UTF-8?q?=E4=B8=89=E4=BC=9A=E4=B8=80=E8=AF=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/party/AppMeetingChinaunion/components/add.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/party/AppMeetingChinaunion/components/add.vue b/packages/party/AppMeetingChinaunion/components/add.vue index 03afaedf..e6b0ed88 100644 --- a/packages/party/AppMeetingChinaunion/components/add.vue +++ b/packages/party/AppMeetingChinaunion/components/add.vue @@ -317,11 +317,11 @@ export default { } const startTimePass = (rule, value, callback) => { if (value) { - if (moment(value).unix() - moment(new Date()).unix() > 0) { - callback() - } else { - callback(new Error('开始时间要大于当前时间')); - } + // if (moment(value).unix() - moment(new Date()).unix() > 0) { + // callback() + // } else { + // callback(new Error('开始时间要大于当前时间')); + // } } else { callback(new Error('请填写开始时间')); } From 0c3dab491f1f37f0273e14f891723ca1d229c9ce Mon Sep 17 00:00:00 2001 From: liuye Date: Wed, 8 Nov 2023 11:20:40 +0800 Subject: [PATCH 10/12] =?UTF-8?q?=E5=B7=A1=E6=9F=A5=E4=B8=8A=E6=8A=A5?= =?UTF-8?q?=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/conv/AppPatrolReportSet/AppPatrolReportSet.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/conv/AppPatrolReportSet/AppPatrolReportSet.vue b/packages/conv/AppPatrolReportSet/AppPatrolReportSet.vue index 127e3e81..e3f93547 100644 --- a/packages/conv/AppPatrolReportSet/AppPatrolReportSet.vue +++ b/packages/conv/AppPatrolReportSet/AppPatrolReportSet.vue @@ -110,8 +110,8 @@ 转交 - 网格员 - 网格长 + 网格员 + 网格长
@@ -125,8 +125,8 @@ 转交 - 网格员 - 网格长 + 网格员 + 网格长
From 0aaa71aa29b7389be95d0596c77f42d73a7b6c85 Mon Sep 17 00:00:00 2001 From: liuye Date: Wed, 8 Nov 2023 11:33:28 +0800 Subject: [PATCH 11/12] =?UTF-8?q?=E5=B7=A1=E6=9F=A5=E4=B8=8A=E6=8A=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AppPatrolReportSet/AppPatrolReportSet.vue | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/packages/conv/AppPatrolReportSet/AppPatrolReportSet.vue b/packages/conv/AppPatrolReportSet/AppPatrolReportSet.vue index e3f93547..7b2726d7 100644 --- a/packages/conv/AppPatrolReportSet/AppPatrolReportSet.vue +++ b/packages/conv/AppPatrolReportSet/AppPatrolReportSet.vue @@ -31,8 +31,8 @@
生效身份
- 网格员 - 网格长 + 网格员 + 网格长
@@ -46,16 +46,16 @@
生效功能
- 添加 - 办理 - 转交 + 添加 + 办理 + 转交
生效身份
- 网格员 - 网格长 + 网格员 + 网格长