From 7d20c7ecd082581a9ead52561cc21857c4b638a0 Mon Sep 17 00:00:00 2001
From: liuchuang <123456>
Date: Mon, 8 Nov 2021 16:04:18 +0800
Subject: [PATCH] =?UTF-8?q?=E9=80=89=E6=B0=91=E7=99=BB=E8=AE=B0=E7=AE=A1?=
=?UTF-8?q?=E7=90=86=E5=8A=9F=E8=83=BD=20init?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../custom/screencompany-add-or-update.vue | 4 +-
src/views/modules/custom/screencompany.vue | 16 +-
.../voterregistration-add-or-update.vue | 100 ++++++++++
.../modules/custom/voterregistration.vue | 183 ++++++++++++++++++
.../voterregistrationconfig-add-or-update.vue | 159 +++++++++++++++
.../custom/voterregistrationconfig.vue | 98 ++++++++++
.../modules/heart/actinfo-add-or-update.vue | 2 +-
.../modules/heart/actuserrelation-detail.vue | 51 +++--
8 files changed, 576 insertions(+), 37 deletions(-)
create mode 100644 src/views/modules/custom/voterregistration-add-or-update.vue
create mode 100644 src/views/modules/custom/voterregistration.vue
create mode 100644 src/views/modules/custom/voterregistrationconfig-add-or-update.vue
create mode 100644 src/views/modules/custom/voterregistrationconfig.vue
diff --git a/src/views/modules/custom/screencompany-add-or-update.vue b/src/views/modules/custom/screencompany-add-or-update.vue
index e9fb942..cd192e7 100644
--- a/src/views/modules/custom/screencompany-add-or-update.vue
+++ b/src/views/modules/custom/screencompany-add-or-update.vue
@@ -113,7 +113,7 @@ export default {
{ required: true, message: this.$t('validate.required'), trigger: 'blur' }
],
houseType: [
- {required: true, message: this.$t('validate.required'), trigger: 'blur'}
+ { required: true, message: this.$t('validate.required'), trigger: 'blur' }
],
longitude: [
{ required: true, message: this.$t('validate.required'), trigger: 'blur' }
@@ -137,7 +137,7 @@ export default {
})
this.getHouseTypeDicList()
},
- //获取房屋类型数据
+ // 获取房屋类型数据
getHouseTypeDicList () {
this.$http.get(`/sys/dict/listSimple/houseType`).then(({ data: res }) => {
if (res.code !== 0) {
diff --git a/src/views/modules/custom/screencompany.vue b/src/views/modules/custom/screencompany.vue
index a154d31..2d9d2a5 100644
--- a/src/views/modules/custom/screencompany.vue
+++ b/src/views/modules/custom/screencompany.vue
@@ -81,10 +81,10 @@ export default {
components: {
AddOrUpdate
},
- created() {
- this.getHouseTypeDicList()
+ created () {
+ this.getHouseTypeDicList()
},
- methods :{
+ methods: {
getHouseTypeDicList () {
this.$http.get(`/sys/dict/listSimple/houseType`).then(({ data: res }) => {
if (res.code !== 0) {
@@ -93,14 +93,14 @@ export default {
this.houseTypeDictList = res.data
}).catch(() => { })
},
- showHouseType(row,column){
- if(row.houseType === 'company'){
+ showHouseType (row, column) {
+ if (row.houseType === 'company') {
return '企业'
- }else if(row.houseType === 'shops'){
+ } else if (row.houseType === 'shops') {
return '商铺'
- }else if (row.houseType === 'villageLive'){
+ } else if (row.houseType === 'villageLive') {
return '村居'
- }else {
+ } else {
return ''
}
}
diff --git a/src/views/modules/custom/voterregistration-add-or-update.vue b/src/views/modules/custom/voterregistration-add-or-update.vue
new file mode 100644
index 0000000..606d0f9
--- /dev/null
+++ b/src/views/modules/custom/voterregistration-add-or-update.vue
@@ -0,0 +1,100 @@
+
+
+
+
+ {{ dataForm.name }}
+
+
+ {{ dataForm.idNumber }}
+
+
+ {{ dataForm.sex }}
+
+
+ {{ dataForm.birthday }}
+
+
+ {{ dataForm.mobile }}
+
+
+ {{ dataForm.nationName }}
+
+
+ {{ dataForm.domicile }}
+
+
+ {{ dataForm.constituencyName }}
+
+
+ {{ dataForm.groupName }}
+
+
+ {{ dataForm.participationPrincipleName }}
+
+
+ {{ dataForm.remark }}
+
+
+ {{ dataForm.updatedTime }}
+
+
+
+ {{ $t('cancel') }}
+ {{ $t('confirm') }}
+
+
+
+
+
diff --git a/src/views/modules/custom/voterregistration.vue b/src/views/modules/custom/voterregistration.vue
new file mode 100644
index 0000000..f3a1d8d
--- /dev/null
+++ b/src/views/modules/custom/voterregistration.vue
@@ -0,0 +1,183 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ $t('query') }}
+
+
+ {{ $t('export') }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ $t('look') }}
+ {{ $t('delete') }}
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/modules/custom/voterregistrationconfig-add-or-update.vue b/src/views/modules/custom/voterregistrationconfig-add-or-update.vue
new file mode 100644
index 0000000..64fc605
--- /dev/null
+++ b/src/views/modules/custom/voterregistrationconfig-add-or-update.vue
@@ -0,0 +1,159 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ $t('cancel') }}
+ {{ $t('confirm') }}
+
+
+
+
+
diff --git a/src/views/modules/custom/voterregistrationconfig.vue b/src/views/modules/custom/voterregistrationconfig.vue
new file mode 100644
index 0000000..7b729fc
--- /dev/null
+++ b/src/views/modules/custom/voterregistrationconfig.vue
@@ -0,0 +1,98 @@
+
+
+
+
+
+
+
+
+
+
+
+ {{ $t('query') }}
+
+
+ {{ $t('add') }}
+
+
+
+
+
+
+
+
+
+
+ {{ $t('update') }}
+ {{ $t('delete') }}
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/modules/heart/actinfo-add-or-update.vue b/src/views/modules/heart/actinfo-add-or-update.vue
index 66d4b6f..8b47fb6 100644
--- a/src/views/modules/heart/actinfo-add-or-update.vue
+++ b/src/views/modules/heart/actinfo-add-or-update.vue
@@ -609,7 +609,7 @@ export default {
// 汇总各个时间段的 活动名额
checkActQuota += this.dataForm.periods[i].actPeriodQuota
}
- if (1 === this.dataForm.actQuotaCategory && checkActQuota > this.dataForm.actQuota) {
+ if (this.dataForm.actQuotaCategory === 1 && checkActQuota > this.dataForm.actQuota) {
// 如果是 固定名额,则判断...
return this.$message.error('所有时间段名额总和 不能超过 活动总名额')
}
diff --git a/src/views/modules/heart/actuserrelation-detail.vue b/src/views/modules/heart/actuserrelation-detail.vue
index 88de777..a27901d 100644
--- a/src/views/modules/heart/actuserrelation-detail.vue
+++ b/src/views/modules/heart/actuserrelation-detail.vue
@@ -47,7 +47,6 @@