-
+
-
-
+ placeholder="请输入身份证号或证件号">
+
-
+
-
@@ -85,7 +85,7 @@
size="small"
@click="handleAdd">新增
- 下载模板
@@ -154,7 +154,7 @@
{
-
+
// }, 1000)
},
handleSearch () {
@@ -453,7 +453,7 @@ export default {
if (code === 0) {
const nodes = data.map(item => ({
- value: item.areaCode, //
+ value: item.areaCode, //
label: item.areaName,
code: item.areaCode,
level: item.level,
@@ -496,7 +496,7 @@ export default {
this.tableLoading = false
},
handleAreaChange(val) {
-
+
if (val.length > 0) {
const len = val.length - 1
this.formData.sourceAddressCode = val[len]
@@ -574,7 +574,7 @@ export default {
});
},
-
+
async handleDeletes (row) {
if (this.selectionAll.length === 0) {
this.$message.info('请选择要取消关注的名单')
diff --git a/src/views/modules/base/epidemic/vaccin.vue b/src/views/modules/base/epidemic/vaccin.vue
index fbb451b8b..93d9fba7b 100644
--- a/src/views/modules/base/epidemic/vaccin.vue
+++ b/src/views/modules/base/epidemic/vaccin.vue
@@ -68,13 +68,13 @@
placeholder="请输入手机号">
-
+ placeholder="请输入身份证号或证件号">
@@ -149,7 +149,7 @@
-
@@ -211,10 +211,10 @@ export default {
vaccineId: '',
formData: {
vaccineId: '',
- agencyId: '',//当前网格所属组织Id
- userId: '',//居民端小程序的用户id、数字社区的icResiUserId、其他情况无值
- userType: 'icresi',//居民端小程序的人:resi;数字社区的居民:icresi;导入的:import;同步的:synchro
- isResiUser: "0",//是否客户下居民(0:否 1:是)
+ agencyId: '',//当前网格所属组织Id
+ userId: '',//居民端小程序的用户id、数字社区的icResiUserId、其他情况无值
+ userType: 'icresi',//居民端小程序的人:resi;数字社区的居民:icresi;导入的:import;同步的:synchro
+ isResiUser: "0",//是否客户下居民(0:否 1:是)
name: '',
idCard: '',
mobile: '',
@@ -389,12 +389,12 @@ export default {
})
return false;
}
- const regCard = /(^\d{15}$)|(^\d{17}(\d|X)$)/; //身份证号码为15位或者18位,15位时全为数字,18位前17位为数字,最后一位是校验位,可能为数字或字符X
+ const regCard = /(^\d{15}$)|(^\d{17}(\d|X)$)|(^[a-zA-Z]{2}\d{7}$|^[a-zA-Z]{1}\d{8}$)/; //身份证号码为15位或者18位,15位时全为数字,18位前17位为数字,最后一位是校验位,可能为数字或字符X
if (regCard.test(this.formData.idCard) === false) {
this.btnDisable = false
this.$message({
type: 'warning',
- message: '请输入正确的身份证号码'
+ message: '请输入正确的证件号码'
})
return false;
}
@@ -465,10 +465,10 @@ export default {
this.formData = {
vaccineId: '',
- agencyId: '',//当前网格所属组织Id
- userId: '',//居民端小程序的用户id、数字社区的icResiUserId、其他情况无值
- userType: 'icresi',//居民端小程序的人:resi;数字社区的居民:icresi;导入的:import;同步的:synchro
- isResiUser: "0",//是否客户下居民(0:否 1:是)
+ agencyId: '',//当前网格所属组织Id
+ userId: '',//居民端小程序的用户id、数字社区的icResiUserId、其他情况无值
+ userType: 'icresi',//居民端小程序的人:resi;数字社区的居民:icresi;导入的:import;同步的:synchro
+ isResiUser: "0",//是否客户下居民(0:否 1:是)
name: '',
idCard: '',
mobile: '',
@@ -507,7 +507,7 @@ export default {
{ required: true, message: '姓名不能为空', trigger: 'change' }
],
idCard: [
- { required: true, message: '身份证号不能为空', trigger: 'change' }
+ { required: true, message: '证件号不能为空', trigger: 'change' }
],
mobile: [
{ required: true, message: '手机号不能为空', trigger: 'change' },
diff --git a/src/views/modules/base/epidemic/vaccinForm.vue b/src/views/modules/base/epidemic/vaccinForm.vue
index efd9d76ce..be2a74dc5 100644
--- a/src/views/modules/base/epidemic/vaccinForm.vue
+++ b/src/views/modules/base/epidemic/vaccinForm.vue
@@ -33,12 +33,12 @@
v-model="formData.mobile">
-
@@ -126,9 +126,9 @@ export default {
icNatId: '',
formData: {
- agencyId: '',//当前网格所属组织Id
- userId: '',//居民端小程序的用户id、数字社区的icResiUserId、其他情况无值
- userType: 'icresi',//居民端小程序的人:resi;数字社区的居民:icresi;导入的:import;同步的:synchro
+ agencyId: '',//当前网格所属组织Id
+ userId: '',//居民端小程序的用户id、数字社区的icResiUserId、其他情况无值
+ userType: 'icresi',//居民端小程序的人:resi;数字社区的居民:icresi;导入的:import;同步的:synchro
name: '',
idCard: '',
mobile: '',
@@ -313,12 +313,12 @@ export default {
})
return false;
}
- const regCard = /(^\d{15}$)|(^\d{17}(\d|X)$)/; //身份证号码为15位或者18位,15位时全为数字,18位前17位为数字,最后一位是校验位,可能为数字或字符X
+ const regCard = /(^\d{15}$)|(^\d{17}(\d|X)$)|(^[a-zA-Z]{2}\d{7}$|^[a-zA-Z]{1}\d{8}$))/; //身份证号码为15位或者18位,15位时全为数字,18位前17位为数字,最后一位是校验位,可能为数字或字符X
if (regCard.test(this.formData.idCard) === false) {
this.btnDisable = false
this.$message({
type: 'warning',
- message: '请输入正确的身份证号码'
+ message: '请输入正确的证件号码'
})
return false;
}
@@ -445,9 +445,9 @@ export default {
this.formData = {
icNatId: '',
- agencyId: '',//当前网格所属组织Id
- userId: '',//居民端小程序的用户id、数字社区的icResiUserId、其他情况无值
- userType: 'icresi',//居民端小程序的人:resi;数字社区的居民:icresi;导入的:import;同步的:synchro
+ agencyId: '',//当前网格所属组织Id
+ userId: '',//居民端小程序的用户id、数字社区的icResiUserId、其他情况无值
+ userType: 'icresi',//居民端小程序的人:resi;数字社区的居民:icresi;导入的:import;同步的:synchro
name: '',
idCard: '',
mobile: '',
@@ -458,9 +458,9 @@ export default {
channel: [],
content: '',
- fileName: '',//附件名
- attachmentType: '',//附件类型((图片 - image、 视频 - video、 语音 - voice、 文档 - doc))
- attachmentUrl: '',//附件地址
+ fileName: '',//附件名
+ attachmentType: '',//附件类型((图片 - image、 视频 - video、 语音 - voice、 文档 - doc))
+ attachmentUrl: '',//附件地址
}
},
@@ -487,7 +487,7 @@ export default {
{ required: true, message: '姓名不能为空', trigger: 'blur' }
],
idCard: [
- { required: true, message: '身份证号不能为空', trigger: 'blur' }
+ { required: true, message: '证件号不能为空', trigger: 'blur' }
],
mobile: [
{ required: true, message: '手机号不能为空', trigger: 'blur' },
diff --git a/src/views/modules/base/epidemic/veroFocus/veroFocusAdd.vue b/src/views/modules/base/epidemic/veroFocus/veroFocusAdd.vue
index 49d16f319..68522dcf4 100644
--- a/src/views/modules/base/epidemic/veroFocus/veroFocusAdd.vue
+++ b/src/views/modules/base/epidemic/veroFocus/veroFocusAdd.vue
@@ -36,12 +36,12 @@
v-model="formData1.mobile">
-
@@ -207,7 +207,7 @@
-->
-
@@ -279,7 +279,7 @@ export default {
{ required: true, message: '姓名不能为空', trigger: 'blur' }
],
idCard: [
- { required: true, message: '身份证号不能为空', trigger: 'blur' }
+ { required: true, message: '证件号不能为空', trigger: 'blur' }
],
mobile: [
{ required: true, message: '手机号不能为空', trigger: 'blur' },
diff --git a/src/views/modules/base/epidemic/veroFocus/veroFocusList.vue b/src/views/modules/base/epidemic/veroFocus/veroFocusList.vue
index 603f42a0b..4ef3ba180 100644
--- a/src/views/modules/base/epidemic/veroFocus/veroFocusList.vue
+++ b/src/views/modules/base/epidemic/veroFocus/veroFocusList.vue
@@ -25,13 +25,13 @@
-
+ placeholder="请输入身份证号或证件号">
@@ -206,7 +206,7 @@