-
-
+
+
-
- {{ $t('query') }}
+
+
+
+
+
+
+
+
+
+
+
- {{ $t('add') }}
+ {{ $t('query') }}
- {{ $t('deleteBatch') }}
+ {{ $t('add') }}
-
-
+
+
+ {{scope.$index+1}}
+
+
-
+
+
+
+
+
-
-
-
-
-
- {{ $t('update') }}
- {{ $t('delete') }}
+ {{ $t('update') }}
+ {{ $t('delete') }}
@@ -58,18 +83,76 @@ export default {
data () {
return {
mixinViewModuleOptions: {
- getDataListURL: '/news/tagproperty/page',
+ getDataListURL: '/app-user/property/page',
getDataListIsPage: true,
- deleteURL: '/news/tagproperty',
+ deleteURL: '/app-user/property',
deleteIsBatch: true
},
dataForm: {
- id: ''
- }
+ id: '',
+ propertyName:'',
+ propertyValue:'',
+ startTime:"",
+ endTime:""
+ },
+ pickerBeginDateBefore: {
+ disabledDate: (time) => {
+ let beginDateVal = this.dataForm.endTime
+ if (beginDateVal) {
+ return time.getTime() > new Date(beginDateVal + ' 00:00:00').getTime()
+ }
+ }
+ },
+ pickerBeginDateAfter: {
+ disabledDate: (time) => {
+ let EndDateVal = this.dataForm.startTime
+ if (EndDateVal) {
+ return time.getTime() < new Date(EndDateVal + ' 00:00:00').getTime()
+ }
+ }
+ },
}
},
components: {
AddOrUpdate
+ },
+ created () {
+ this.getDataList();
+ this.initTime()
+ },
+ methods:{
+ addOrUpdateHandle (id, disabled) {
+ this.$parent.selectComponent = 'UserTagPropertyDetail'
+ this.$router.push({ path: '/user-tagpropertyRoute', query: { id: id, disabled: disabled } })
+ },
+ initTime () {
+ const end = new Date()
+ const start = new Date()
+ start.setTime(start.getTime() - 3600 * 1000 * 24 * 30)
+ this.time = [start, end]
+ let year = start.getFullYear()
+ let month = start.getMonth() + 1
+ if (month < 10) {
+ month = '0' + month
+ }
+ let date = start.getDate()
+ if (date < 10) {
+ date = '0' + date
+ }
+ let startDate = year + '-' + month + '-' + date
+ let yearend = end.getFullYear()
+ let monthend = end.getMonth() + 1
+ if (monthend < 10) {
+ monthend = '0' + monthend
+ }
+ let dateend = end.getDate()
+ if (dateend < 10) {
+ dateend = '0' + dateend
+ }
+ let endDate = yearend + '-' + monthend + '-' + dateend
+ this.dataForm.startTime = startDate
+ this.dataForm.endTime = endDate
+ },
}
}
diff --git a/src/views/modules/user/tagpropertyDetail.vue b/src/views/modules/user/tagpropertyDetail.vue
new file mode 100644
index 0000000..73c3010
--- /dev/null
+++ b/src/views/modules/user/tagpropertyDetail.vue
@@ -0,0 +1,251 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{"返回"}}
+ {{ $t('confirm') }}
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/modules/user/tagpropertyRoute.vue b/src/views/modules/user/tagpropertyRoute.vue
new file mode 100644
index 0000000..a8f24c5
--- /dev/null
+++ b/src/views/modules/user/tagpropertyRoute.vue
@@ -0,0 +1,32 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
From 45493a16aaacc73ec3a5f3a42d67d57717a73253 Mon Sep 17 00:00:00 2001
From: weikai <123456>
Date: Thu, 3 Dec 2020 14:43:11 +0800
Subject: [PATCH 09/17] =?UTF-8?q?=E3=80=90=E5=AE=89=E5=AE=81pc=E7=AB=AF=20?=
=?UTF-8?q?=E6=A0=87=E7=AD=BE=E7=AE=A1=E7=90=86=E3=80=91-=E3=80=90?=
=?UTF-8?q?=E7=94=A8=E6=88=B7=E6=A0=87=E7=AD=BE=20-=20=E4=BF=AE=E6=94=B9?=
=?UTF-8?q?=E8=BA=AB=E4=BB=BD=E6=A0=87=E7=AD=BE=E3=80=91=E9=AD=8F=E5=87=AF?=
=?UTF-8?q?=202020-12-03?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../modules/user/hasAuthenticationpartymembers.vue | 1 -
src/views/modules/user/party-user-tag.vue | 12 ++++--------
src/views/modules/user/user-tag1.vue | 7 +++++--
3 files changed, 9 insertions(+), 11 deletions(-)
diff --git a/src/views/modules/user/hasAuthenticationpartymembers.vue b/src/views/modules/user/hasAuthenticationpartymembers.vue
index 4ad3185..bc5420d 100644
--- a/src/views/modules/user/hasAuthenticationpartymembers.vue
+++ b/src/views/modules/user/hasAuthenticationpartymembers.vue
@@ -402,7 +402,6 @@ export default {
}
},
partyReview (userId) {
- debugger
this.partyReviewVisible = true
this.$nextTick(() => {
this.$refs.partyReview.dataForm.id = userId
diff --git a/src/views/modules/user/party-user-tag.vue b/src/views/modules/user/party-user-tag.vue
index eb87d90..05b777d 100644
--- a/src/views/modules/user/party-user-tag.vue
+++ b/src/views/modules/user/party-user-tag.vue
@@ -120,13 +120,6 @@ export default {
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(() => { })
},
// 获取信息
@@ -157,8 +150,11 @@ export default {
return false
}
this.isAble = true
+ let userIds =[
+ this.dataForm.id
+ ]
let postData = {
- userId: this.dataForm.id,
+ userId: userIds,
tagIds: this.dataForm.partyTagIds
}
this.$http[!this.dataForm.id ? 'post' : 'post']('/app-user/usertagrelation/addTag/', postData).then(({ data: res }) => {
diff --git a/src/views/modules/user/user-tag1.vue b/src/views/modules/user/user-tag1.vue
index 59c50d1..7cc801f 100644
--- a/src/views/modules/user/user-tag1.vue
+++ b/src/views/modules/user/user-tag1.vue
@@ -75,7 +75,7 @@ export default {
partyFlagOptions: [{ id: '0', name: '不是' }, { id: '1', name: '是' }],
cadreOptions: [{ cadreFlag: '1', cadreTitle: '是' }, { cadreFlag: '0', cadreTitle: '否' }],
tagOptions: [],
- userGridList: []
+ userGridList: [],
}
},
computed: {
@@ -141,8 +141,11 @@ export default {
return false
}
this.isAble = true
+ let userIds =[
+ this.dataForm.id
+ ]
let postData = {
- userId: this.dataForm.id,
+ userId: userIds,
tagIds: this.dataForm.partyTagIds
}
this.$http[!this.dataForm.id ? 'post' : 'post']('/app-user/usertagrelation/addTag/', postData).then(({ data: res }) => {
From 71a9aba4141b051397c55ba88dfa1868e74cf4f9 Mon Sep 17 00:00:00 2001
From: wanggongfeng <1305282856@qq.com>
Date: Thu, 3 Dec 2020 15:26:25 +0800
Subject: [PATCH 10/17] =?UTF-8?q?=E3=80=90=E6=A0=87=E7=AD=BE=E7=AE=A1?=
=?UTF-8?q?=E7=90=86=E3=80=91=E5=B7=B2=E8=AE=A4=E8=AF=81=E5=B1=85=E6=B0=91?=
=?UTF-8?q?=E3=80=81=E5=85=9A=E5=91=98-=E7=8E=8B=E5=85=AC=E5=B3=B0-2020-12?=
=?UTF-8?q?-03?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../user/hasAuthenticationpartymembers.vue | 36 +++++-
.../user/pass-authentication-dialog.vue | 110 ++++++++++++++++++
.../modules/user/pass-authentication.vue | 36 +++++-
src/views/modules/user/tag-property.vue | 1 -
src/views/modules/user/user-tag1.vue | 2 +-
5 files changed, 179 insertions(+), 6 deletions(-)
create mode 100644 src/views/modules/user/pass-authentication-dialog.vue
diff --git a/src/views/modules/user/hasAuthenticationpartymembers.vue b/src/views/modules/user/hasAuthenticationpartymembers.vue
index 4ad3185..2ea6291 100644
--- a/src/views/modules/user/hasAuthenticationpartymembers.vue
+++ b/src/views/modules/user/hasAuthenticationpartymembers.vue
@@ -60,14 +60,19 @@
type="success"
@click="exportHandle()">{{ $t('export') }}
+
+ 批量打身份标签
+
+
{{scope.$index+1}}
@@ -152,12 +157,16 @@
@firstDialogCallBack="firstDialogCallBack"
ref="partyReview"
@refreshDataList="getDataList">
+
+
+
+
diff --git a/src/views/modules/user/pass-authentication.vue b/src/views/modules/user/pass-authentication.vue
index d9357e0..4bde1d0 100644
--- a/src/views/modules/user/pass-authentication.vue
+++ b/src/views/modules/user/pass-authentication.vue
@@ -86,13 +86,18 @@
type="success"
@click="exportHandle()">{{ $t('export') }}
+
+ 批量打身份标签
+