From cfc61695af573f6dfbf9177aabacd21e24fadd29 Mon Sep 17 00:00:00 2001 From: weikai <123456> Date: Thu, 24 Sep 2020 15:56:32 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E3=80=90=E5=AE=89=E5=AE=81pc=E7=AB=AF=20?= =?UTF-8?q?=E3=80=91-=E3=80=90grid=E6=8D=A2dept=E3=80=91=E9=AD=8F=E5=87=AF?= =?UTF-8?q?=202020-09-24?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/sys/deptmacode-optimize.vue | 20 ++++++++-------- src/views/modules/sys/deptmacode.vue | 24 +++++++++---------- 2 files changed, 22 insertions(+), 22 deletions(-) diff --git a/src/views/modules/sys/deptmacode-optimize.vue b/src/views/modules/sys/deptmacode-optimize.vue index 4162af4..6f43ffa 100644 --- a/src/views/modules/sys/deptmacode-optimize.vue +++ b/src/views/modules/sys/deptmacode-optimize.vue @@ -98,7 +98,7 @@ 生成 + @click="createDeptMaCodeHandle(scope.row.deptId)">生成 @@ -134,7 +134,7 @@ export default { dataForm: { streetId: null, communityId: null, - gridId: null, + deptId: null, leaderFlag: '0' }, epidemicSentryPostVisible: false, @@ -143,7 +143,7 @@ export default { options: [], streetList: [], communityList: [], - gridList: [], + deptList: [], maCodeCategorys: [ { id: '0', name: '群众注册码' }, { id: '1', name: '网格长注册码' }, @@ -171,22 +171,22 @@ export default { if (val.length === 0) { this.dataForm.streetId = '' this.dataForm.communityId = '' - this.dataForm.gridId = '' + this.dataForm.deptId = '' } if (val.length === 1) { this.dataForm.streetId = this.deptIdList[0] this.dataForm.communityId = '' - this.dataForm.gridId = '' + this.dataForm.deptId = '' } if (val.length === 2) { this.dataForm.streetId = this.deptIdList[0] this.dataForm.communityId = this.deptIdList[1] - this.dataForm.gridId = '' + this.dataForm.deptId = '' } if (val.length === 3) { this.dataForm.streetId = this.deptIdList[0] this.dataForm.communityId = this.deptIdList[1] - this.dataForm.gridId = this.deptIdList[2] + this.dataForm.deptId = this.deptIdList[2] } } }, @@ -285,8 +285,8 @@ export default { .catch(() => { }) }, clearDataForm () { - this.dataForm.streetId = this.dataForm.communityId = this.dataForm.gridId = null - this.communityList = this.gridList = [] + this.dataForm.streetId = this.dataForm.communityId = this.dataForm.deptId = null + this.communityList = this.deptList = [] }, downloadHandle (codeUrl) { window.location.href = `${window.SITE_CONFIG['apiURL']}/oss/file/download?fileUrl=${codeUrl}` @@ -295,7 +295,7 @@ export default { sentryManage (id) { this.epidemicSentryPostVisible = true this.$nextTick(() => { - this.$refs.epidemicSentryPost.dataForm.gridId = id + this.$refs.epidemicSentryPost.dataForm.deptId = id this.$refs.epidemicSentryPost.init() }) }, diff --git a/src/views/modules/sys/deptmacode.vue b/src/views/modules/sys/deptmacode.vue index 5787541..6442e77 100644 --- a/src/views/modules/sys/deptmacode.vue +++ b/src/views/modules/sys/deptmacode.vue @@ -74,7 +74,7 @@ label="社区" header-align="center" align="center"> - @@ -119,13 +119,13 @@ 哨卡管理 + @click="sentryManage(scope.row.deptId)">哨卡管理 生成 + @click="createDeptMaCodeHandle(scope.row.deptId)">生成 @@ -161,7 +161,7 @@ export default { dataForm: { streetId: null, communityId: null, - gridId: null, + deptId: null, leaderFlag: '0' }, epidemicSentryPostVisible: false, @@ -170,7 +170,7 @@ export default { options: [], streetList: [], communityList: [], - gridList: [], + deptList: [], maCodeCategorys: [ { id: '0', name: '群众注册码' }, { id: '1', name: '网格长注册码' } @@ -197,22 +197,22 @@ export default { if (val.length === 0) { this.dataForm.streetId = '' this.dataForm.communityId = '' - this.dataForm.gridId = '' + this.dataForm.deptId = '' } if (val.length === 1) { this.dataForm.streetId = this.deptIdList[0] this.dataForm.communityId = '' - this.dataForm.gridId = '' + this.dataForm.deptId = '' } if (val.length === 2) { this.dataForm.streetId = this.deptIdList[0] this.dataForm.communityId = this.deptIdList[1] - this.dataForm.gridId = '' + this.dataForm.deptId = '' } if (val.length === 3) { this.dataForm.streetId = this.deptIdList[0] this.dataForm.communityId = this.deptIdList[1] - this.dataForm.gridId = this.deptIdList[2] + this.dataForm.deptId = this.deptIdList[2] } } }, @@ -311,8 +311,8 @@ export default { .catch(() => { }) }, clearDataForm () { - this.dataForm.streetId = this.dataForm.communityId = this.dataForm.gridId = null - this.communityList = this.gridList = [] + this.dataForm.streetId = this.dataForm.communityId = this.dataForm.deptId = null + this.communityList = this.deptList = [] }, downloadHandle (codeUrl) { window.location.href = `${window.SITE_CONFIG['apiURL']}/oss/file/download?fileUrl=${codeUrl}` @@ -321,7 +321,7 @@ export default { sentryManage (id) { this.epidemicSentryPostVisible = true this.$nextTick(() => { - this.$refs.epidemicSentryPost.dataForm.gridId = id + this.$refs.epidemicSentryPost.dataForm.deptId = id this.$refs.epidemicSentryPost.init() }) }, From 303d1c8e757d36c69de63045e877a1d9bddb1ec6 Mon Sep 17 00:00:00 2001 From: weikai <123456> Date: Thu, 24 Sep 2020 16:05:37 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E3=80=90=E5=AE=89=E5=AE=81pc=E7=AB=AF=20cu?= =?UTF-8?q?stom=20=E6=A8=A1=E5=9D=97=20=E3=80=91-=E3=80=90grid=E6=8D=A2dep?= =?UTF-8?q?t=E3=80=91=E9=AD=8F=E5=87=AF=202020-09-24?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/custom/enterpriseinfo.vue | 8 ++++---- src/views/modules/custom/epidemic.vue | 14 +++++++------- .../custom/epidemicsentrypost-add-or-update.vue | 2 +- src/views/modules/custom/epidemicsentrypost.vue | 12 ++++++------ src/views/modules/custom/gridoperatorinfo.vue | 10 +++++----- 5 files changed, 23 insertions(+), 23 deletions(-) diff --git a/src/views/modules/custom/enterpriseinfo.vue b/src/views/modules/custom/enterpriseinfo.vue index 499fd38..796937a 100644 --- a/src/views/modules/custom/enterpriseinfo.vue +++ b/src/views/modules/custom/enterpriseinfo.vue @@ -113,22 +113,22 @@ if (val.length === 0) { this.dataForm.streetId = '' this.dataForm.communityId = '' - this.dataForm.gridId = '' + this.dataForm.deptId = '' } if (val.length === 1) { this.dataForm.streetId = this.ids[0] this.dataForm.communityId = '' - this.dataForm.gridId = '' + this.dataForm.deptId = '' } if (val.length === 2) { this.dataForm.streetId = this.ids[0] this.dataForm.communityId = this.ids[1] - this.dataForm.gridId = '' + this.dataForm.deptId = '' } if (val.length === 3) { this.dataForm.streetId = this.ids[0] this.dataForm.communityId = this.ids[1] - this.dataForm.gridId = this.ids[2] + this.dataForm.deptId = this.ids[2] } } }, diff --git a/src/views/modules/custom/epidemic.vue b/src/views/modules/custom/epidemic.vue index 91b81a9..59e6cb0 100644 --- a/src/views/modules/custom/epidemic.vue +++ b/src/views/modules/custom/epidemic.vue @@ -90,7 +90,7 @@ export default { endTime: '', streetId: '', communityId: '', - gridId: '', + deptId: '', reporter: '', mobile: '' }, @@ -125,22 +125,22 @@ export default { if (val.length === 0) { this.dataForm.streetId = '' this.dataForm.communityId = '' - this.dataForm.gridId = '' + this.dataForm.deptId = '' } if (val.length === 1) { this.dataForm.streetId = this.ids[0] this.dataForm.communityId = '' - this.dataForm.gridId = '' + this.dataForm.deptId = '' } if (val.length === 2) { this.dataForm.streetId = this.ids[0] this.dataForm.communityId = this.ids[1] - this.dataForm.gridId = '' + this.dataForm.deptId = '' } if (val.length === 3) { this.dataForm.streetId = this.ids[0] this.dataForm.communityId = this.ids[1] - this.dataForm.gridId = this.ids[2] + this.dataForm.deptId = this.ids[2] } } }, @@ -154,11 +154,11 @@ export default { }).catch(() => {}) }, btKeyUpReporter(e){ - e.target.value = e.target.value.replace(/[`~!#$%^&*()_\+=<>?:"{}|~!#¥%……&*()={}|《》?:“”【】\\[\]、;‘’,。、\s+]/g, '') + e.target.value = e.target.value.replace(/[`~!#$%^&*()_\+=<>?:"{}|~!#¥%……&*()={}|《》?:“”【】\\[\]、;‘’,。、\s+]/g, '') this.dataForm.reporter= e.target.value }, btKeyUpMobile(e){ - e.target.value = e.target.value.replace(/[`~!#$%^&*()_\+=<>?:"{}|~!#¥%……&*()={}|《》?:“”【】\\[\]、;‘’,。、\s+]/g, '') + e.target.value = e.target.value.replace(/[`~!#$%^&*()_\+=<>?:"{}|~!#¥%……&*()={}|《》?:“”【】\\[\]、;‘’,。、\s+]/g, '') this.dataForm.mobile= e.target.value }, } diff --git a/src/views/modules/custom/epidemicsentrypost-add-or-update.vue b/src/views/modules/custom/epidemicsentrypost-add-or-update.vue index d9db5e6..adcb53a 100644 --- a/src/views/modules/custom/epidemicsentrypost-add-or-update.vue +++ b/src/views/modules/custom/epidemicsentrypost-add-or-update.vue @@ -43,7 +43,7 @@ export default { dataForm: { id: '', sentryPostCode: '', - gridId: '' + deptId: '' }, verifyOptions: [] } diff --git a/src/views/modules/custom/epidemicsentrypost.vue b/src/views/modules/custom/epidemicsentrypost.vue index 10c52c0..afd03be 100644 --- a/src/views/modules/custom/epidemicsentrypost.vue +++ b/src/views/modules/custom/epidemicsentrypost.vue @@ -88,7 +88,7 @@ export default { visible: false, dataForm: { id: '', - gridId: '', + deptId: '', sentryPostCode: '' } } @@ -97,13 +97,13 @@ export default { init () { this.visible = true this.dataForm.sentryPostCode = '' - this.getDataList(this.dataForm.gridId) + this.getDataList(this.dataForm.deptId) }, // 新增 修改 addOrUpdateHandle () { this.addOrUpdateVisible = true this.$nextTick(() => { - this.$refs.addOrUpdate.dataForm.gridId = this.dataForm.gridId + this.$refs.addOrUpdate.dataForm.deptId = this.dataForm.deptId this.$refs.addOrUpdate.init() }) }, @@ -114,14 +114,14 @@ export default { // 批量生成功能 initDeptMaCodeHandle () { this.$http - .post(`custom/epidemicSentryPost/createCodes`, { gridId: this.dataForm.gridId }) + .post(`custom/epidemicSentryPost/createCodes`, { deptId: this.dataForm.deptId }) .then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } }) .catch(() => {}) - this.getDataList(this.dataForm.gridId) + this.getDataList(this.dataForm.deptId) }, // 单独生成哨卡码 singleMaCodeHandle (id) { @@ -133,7 +133,7 @@ export default { } }) .catch(() => {}) - this.getDataList(this.dataForm.gridId) + this.getDataList(this.dataForm.deptId) } }, components: { diff --git a/src/views/modules/custom/gridoperatorinfo.vue b/src/views/modules/custom/gridoperatorinfo.vue index 8368c97..a4aee7c 100644 --- a/src/views/modules/custom/gridoperatorinfo.vue +++ b/src/views/modules/custom/gridoperatorinfo.vue @@ -62,7 +62,7 @@ label="所属网格" header-align="center" align="center" min-width="200" show-overflow-tooltip - + > Date: Thu, 24 Sep 2020 16:11:19 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E3=80=90=E5=AE=89=E5=AE=81pc=E7=AB=AF=20gr?= =?UTF-8?q?oup=20=E6=A8=A1=E5=9D=97=20=E3=80=91-=E3=80=90grid=E6=8D=A2dept?= =?UTF-8?q?=E3=80=91=E9=AD=8F=E5=87=AF=202020-09-24?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/group/gridpartymembergroup.vue | 14 +++++++------- src/views/modules/group/group.vue | 6 +++--- src/views/modules/group/leaderboard.vue | 12 ++++++------ src/views/modules/group/topic-list.vue | 14 +++++++------- 4 files changed, 23 insertions(+), 23 deletions(-) diff --git a/src/views/modules/group/gridpartymembergroup.vue b/src/views/modules/group/gridpartymembergroup.vue index 678f2f6..1bb4879 100644 --- a/src/views/modules/group/gridpartymembergroup.vue +++ b/src/views/modules/group/gridpartymembergroup.vue @@ -3,7 +3,7 @@
- + {{ $t('query') }} @@ -15,7 +15,7 @@ - +