From 046858ba8e1f5346e68b6319a586d480332f1800 Mon Sep 17 00:00:00 2001 From: weikai <123456> Date: Thu, 22 Oct 2020 18:12:01 +0800 Subject: [PATCH 1/5] =?UTF-8?q?=E3=80=90=E5=AE=89=E5=AE=81pc=E7=AB=AF=20?= =?UTF-8?q?=E5=85=9A=E5=91=98=E7=AE=A1=E7=90=86=20=E3=80=91-=E3=80=90?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=85=9A=E5=91=98=E8=BA=AB=E4=BB=BD=E6=A0=87?= =?UTF-8?q?=E7=AD=BE=E9=A1=B5=E9=9D=A2=E3=80=91=E9=AD=8F=E5=87=AF=202020-1?= =?UTF-8?q?0-22?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/user/identityTag.vue | 381 +++++++++++++++++++++++++ 1 file changed, 381 insertions(+) create mode 100644 src/views/modules/user/identityTag.vue diff --git a/src/views/modules/user/identityTag.vue b/src/views/modules/user/identityTag.vue new file mode 100644 index 0000000..46a124e --- /dev/null +++ b/src/views/modules/user/identityTag.vue @@ -0,0 +1,381 @@ + + + \ No newline at end of file From eb20671ae33078f1bf9f7cba40bb82081ad8be27 Mon Sep 17 00:00:00 2001 From: weikai <123456> Date: Thu, 22 Oct 2020 18:42:24 +0800 Subject: [PATCH 2/5] =?UTF-8?q?=E3=80=90=E5=AE=89=E5=AE=81pc=E7=AB=AF=20?= =?UTF-8?q?=E5=B0=8F=E7=A8=8B=E5=BA=8F=E7=A0=81=E7=AE=A1=E7=90=86=20?= =?UTF-8?q?=E3=80=91-=E3=80=90=E7=A8=8B=E5=BA=8F=E7=A0=81=E5=88=86?= =?UTF-8?q?=E7=B1=BB=E4=BF=AE=E6=94=B9=E3=80=91=E9=AD=8F=E5=87=AF=202020-1?= =?UTF-8?q?0-22?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/user/identityTag.vue | 46 +++++++++++++++++--------- 1 file changed, 30 insertions(+), 16 deletions(-) diff --git a/src/views/modules/user/identityTag.vue b/src/views/modules/user/identityTag.vue index 46a124e..108b01c 100644 --- a/src/views/modules/user/identityTag.vue +++ b/src/views/modules/user/identityTag.vue @@ -58,7 +58,8 @@ {{ $t('export') }} + @click="exportHandle()">{{ $t('export') }} +
@@ -70,7 +71,7 @@ style="width: 100%;"> - + + + + + + + width="150" + align="center"> + + import mixinViewModule from '@/mixins/view-module' + export default { mixins: [mixinViewModule], data () { @@ -192,8 +203,7 @@ export default { deptIdList: [] } }, - components: { - }, + components: {}, watch: { 'deptIdList': function (val) { if (val.length === 0) { @@ -227,7 +237,8 @@ export default { } this.options = res.data.options }) - .catch(() => { }) + .catch(() => { + }) this.initTime() // this.getStreetList() this.getRegistOptions() @@ -271,15 +282,15 @@ export default { // }).catch(() => { }) // }, btKeyUpRealName (e) { - e.target.value = e.target.value.replace(/[`~!#$%^&*()_\+=<>?:"{}|~!#¥%……&*()={}|《》?:“”【】\\[\]、;‘’,。、\s+]/g, '') + e.target.value = e.target.value.replace(/[`~!#$%^&*()_\+=<>?:"{}|~!#¥%……&*()={}|《》?:“”【】\\[\]、;‘’,。、\s+]/g, '') this.dataForm.realName = 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 }, btKeyUpIdentityNo (e) { - e.target.value = e.target.value.replace(/[`~!#$%^&*()_\+=<>?:"{}|~!#¥%……&*()={}|《》?:“”【】\\[\]、;‘’,。、\s+]/g, '') + e.target.value = e.target.value.replace(/[`~!#$%^&*()_\+=<>?:"{}|~!#¥%……&*()={}|《》?:“”【】\\[\]、;‘’,。、\s+]/g, '') this.dataForm.identityNo = e.target.value }, getCommunityList () { @@ -297,7 +308,8 @@ export default { return this.$message.error(res.msg) } this.communityOptions = res.data - }).catch(() => { }) + }).catch(() => { + }) }, getGridList () { if (this.dataForm.communityId === '') { @@ -311,7 +323,8 @@ export default { return this.$message.error(res.msg) } this.gridOptions = res.data - }).catch(() => { }) + }).catch(() => { + }) }, getRegistOptions () { this.$http.get(`/sys/dict/sublist/1168769645576179713`).then(({ data: res }) => { @@ -319,7 +332,8 @@ export default { return this.$message.error(res.msg) } this.registOptions = res.data - }).catch(() => { }) + }).catch(() => { + }) }, // getPostOptions () { // this.$http.get(`/sys/dict/sublist/1168770417290366977`).then(({ data: res }) => { From 3182e4fe9e83d6a167d057654b7329d940a1b7bd Mon Sep 17 00:00:00 2001 From: weikai <123456> Date: Fri, 23 Oct 2020 11:01:54 +0800 Subject: [PATCH 3/5] =?UTF-8?q?=E3=80=90=E5=AE=89=E5=AE=81pc=E7=AB=AF=20?= =?UTF-8?q?=E5=B0=8F=E7=A8=8B=E5=BA=8F=E7=A0=81=E7=AE=A1=E7=90=86=20?= =?UTF-8?q?=E3=80=91-=E3=80=90=E7=A8=8B=E5=BA=8F=E7=A0=81=E5=88=86?= =?UTF-8?q?=E7=B1=BB=E4=BF=AE=E6=94=B9=E3=80=91=E9=AD=8F=E5=87=AF=202020-1?= =?UTF-8?q?0-22?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/user/identityTag.vue | 36 ++++++-------------------- 1 file changed, 8 insertions(+), 28 deletions(-) diff --git a/src/views/modules/user/identityTag.vue b/src/views/modules/user/identityTag.vue index 108b01c..bc4f04d 100644 --- a/src/views/modules/user/identityTag.vue +++ b/src/views/modules/user/identityTag.vue @@ -55,13 +55,13 @@ {{ $t('query') }} - - {{ $t('export') }} - - -
+ + + + + + + - - - - - - - { }) }, - // getPostOptions () { - // this.$http.get(`/sys/dict/sublist/1168770417290366977`).then(({ data: res }) => { - // if (res.code !== 0) { - // return this.$message.error(res.msg) - // } - // this.postOptions = res.data - // }).catch(() => { }) - // }, formatCadre: function (row, column) { return row.cadreFlag === '1' ? '是' : row.cadreFlag === '0' ? '否' : '未知' }, From 013dc63ff2d8aacd313abb5b9cee4d8620540a2f Mon Sep 17 00:00:00 2001 From: weikai <123456> Date: Sat, 24 Oct 2020 13:30:57 +0800 Subject: [PATCH 4/5] =?UTF-8?q?=E3=80=90=E5=AE=89=E5=AE=81pc=E7=AB=AF=20?= =?UTF-8?q?=E5=B7=B2=E8=AE=A4=E8=AF=81=E5=85=9A=E5=91=98=20=E3=80=91-?= =?UTF-8?q?=E3=80=90=E5=9B=A0=E6=AD=A4=E6=B3=A8=E5=86=8C=E7=8A=B6=E6=80=81?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=E3=80=91=E9=AD=8F=E5=87=AF=202020-10-24?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/user/identityTag.vue | 375 ------------------------- 1 file changed, 375 deletions(-) delete mode 100644 src/views/modules/user/identityTag.vue diff --git a/src/views/modules/user/identityTag.vue b/src/views/modules/user/identityTag.vue deleted file mode 100644 index bc4f04d..0000000 --- a/src/views/modules/user/identityTag.vue +++ /dev/null @@ -1,375 +0,0 @@ - - - \ No newline at end of file From 5d7884bd659aa4706e63d59317e0973739e737a5 Mon Sep 17 00:00:00 2001 From: weikai <123456> Date: Sat, 24 Oct 2020 16:42:04 +0800 Subject: [PATCH 5/5] =?UTF-8?q?=E3=80=90=E5=AE=89=E5=AE=81pc=E7=AB=AF=20?= =?UTF-8?q?=E5=B7=B2=E8=AE=A4=E8=AF=81=E5=85=9A=E5=91=98=20=E3=80=91-?= =?UTF-8?q?=E3=80=90=E5=9B=A0=E6=AD=A4=E6=B3=A8=E5=86=8C=E7=8A=B6=E6=80=81?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=E3=80=91=E9=AD=8F=E5=87=AF=202020-10-24?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/user/party-review.vue | 34 ++++++++++++++++++++----- 1 file changed, 28 insertions(+), 6 deletions(-) diff --git a/src/views/modules/user/party-review.vue b/src/views/modules/user/party-review.vue index 10f7afd..a405a71 100644 --- a/src/views/modules/user/party-review.vue +++ b/src/views/modules/user/party-review.vue @@ -55,6 +55,15 @@ 选“否”该用户会认证为居民,并加入已认证居民列表

+ + + + + + @@ -115,19 +124,23 @@ export default { partyFlag: '', cadreFlag: '', state: '', - tagIds: [], + tagIds: '', remark: '', totalSubmitNum: '', totalPassSubmitNum: '', totalFailNum: '', realName: '', mobile: '', - identityNo: '' + identityNo: '', + partyTagIds: [] + }, authenticateHistoryVisible: false, cadreOptions: [{ cadreFlag: '1', cadreTitle: '是' }, { cadreFlag: '0', cadreTitle: '否' }], - tagOptions: [], - userGridList: [] + tagOptions: [ + + ], + userGridList: [], } }, computed: { @@ -160,11 +173,18 @@ export default { this.getTagOptions() }, getTagOptions () { - this.$http.get(`/app-user/usertag/list`).then(({ data: res }) => { + this.$http.get(`/app-user/usertag/partyTag`).then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } this.tagOptions = res.data + // this.tagOptions =[ + // {id:"11125",tagName:"党员"}, + // {id:"11124",tagName:"入党积极分子"}, + // {id:"11123",tagName:"双认证党员"}, + // {id:"11122",tagName:"基层干部"}, + // {id:"11121",tagName:"书记"} + // ] }).catch(() => { }) }, // 获取信息 @@ -178,7 +198,8 @@ export default { ...res.data } this.dataForm.partyFlag = '' - this.dataForm.tagIds = [] + this.dataForm.tagIds = '' + this.dataForm.partyTagIds = [] }).catch(() => { }) this.$http.get(`/app-user/usergrid/listUserGrid/${this.dataForm.id}`).then(({ data: res }) => { if (res.code !== 0) { @@ -203,6 +224,7 @@ export default { remark: this.dataForm.remark, realName: this.dataForm.realName, mobile: this.dataForm.mobile, + partyTagIds: this.dataForm.partyTagIds, identityNo: this.dataForm.identityNo } this.$http[!this.dataForm.id ? 'post' : 'post']('/app-user/user/partyReview/', postData).then(({ data: res }) => {