yahyahy 3 jaren geleden
bovenliggende
commit
acf4f6ad0e

BIN
dist.zip


+ 23 - 5
src/api/system/claim.js

@@ -1,9 +1,19 @@
 import request from '@/utils/request'
 
+// /boman-web-core/core/ryrl/list
 // 查询疫苗信息列表
 export function listInfo(query) {
   return request({
-    url: '/boman-web-core/core/ryrl/list',
+    url: '/boman-web-core/core/ryrl/listHj',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询常住疫苗信息列表
+export function listInfoch(query) {
+  return request({
+    url: '/boman-web-core/core/ryrl/listCz',
     method: 'get',
     params: query
   })
@@ -21,7 +31,7 @@ export function delInfohy(query) {
 // 查询疫苗信息详细
 export function getInfo(id) {
   return request({
-    url: '/boman-web-core/core/ryrl/getById/' + id,
+    url: '/boman-web-core/core/czrk/getById/' + id,
     method: 'get'
   })
 }
@@ -55,6 +65,13 @@ export function addInfo(data) {
 }
 
 // 修改疫苗信息
+// export function updateInfo(data) {
+//   return request({
+//     url: '/boman-web-core/core/ryrl/editRlry',
+//     method: 'post',
+//     data: data
+//   })
+// }
 export function updateInfo(data) {
   return request({
     url: '/boman-web-core/core/ryrl/editRlry',
@@ -63,12 +80,13 @@ export function updateInfo(data) {
   })
 }
 
+// boman-web-core/core/czrk/deleteCzrk
 // 删除疫苗信息
 export function delInfo(query) {
   return request({
-    url: '/boman-web-core/core/czrk/deleteCzrk' ,
-    method: 'get',
-    params: query
+    url: '/boman-web-core/core/czrk/changeCzrk' ,
+    method: 'post',
+    data: query
   })
 }
 

+ 252 - 0
src/api/system/coming.js

@@ -0,0 +1,252 @@
+import request from '@/utils/request'
+
+// 查询户籍疫苗信息列表
+
+export function listInfo(query) {
+  return request({
+    url: '/boman-web-core/core/account/toQianshan',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询居住地址疫苗信息列表
+// export function listInfos(query) {
+//   return request({
+//     url: '/boman-web-core/core/jzdz/list',
+//     method: 'get',
+//     params: query
+//   })
+// }
+export function listInfos(query) {
+  return request({
+    url: '/boman-web-core/core/czrk/unusualList',
+    method: 'get',
+    data: query
+  })
+}
+
+export function listInfotj(query) {
+  return request({
+    url: '/boman-web-core/core/czrk/stsByCzrk ',
+    method: 'get',
+    params: query
+  })
+}
+
+
+// 新增人员列表
+export function listInfotjxz(query) {
+  return request({
+    url: '/boman-web-core/core/czrk/listByXz',
+    method: 'get',
+    params: query
+  })
+}
+
+// 减少人员列表
+export function listInfotjjs(query) {
+  return request({
+    url: '/boman-web-core/core/czrk/listByJs',
+    method: 'get',
+    params: query
+  })
+}
+
+// boman-web-core/core/czrk/family
+// 家庭成员信息
+export function listInfotjjsfaml(query) {
+  return request({
+    url: '/boman-web-core/core/czrk/family/' + query,
+    method: 'get'
+    // params: query
+  })
+}
+
+
+// 一键确认
+// export function listInfotjjssbule(query) {
+//   console.log(query)
+//   return request({
+//     url: '/boman-web-core/core/ryrl/confirmInfo/' + query ,
+//     method: 'get'
+//     // params: query
+//   })
+// }
+export function listInfotjjssbule(query) {
+  console.log(query)
+  return request({
+    url: '/boman-web-core/core/czrk/synchronization/' + query ,
+    method: 'get'
+    // params: query
+  })
+}
+
+
+
+
+
+// 查询疫苗信息详细
+export function getInfo(id) {
+  return request({
+    url: '/boman-web-core/core/ryrl/getById/' + id,
+    method: 'get'
+  })
+}
+// export function getInfo(id) {
+//   return request({
+//     url: '/boman-web-core/core/czrk/getById/' + id,
+//     method: 'get'
+//   })
+// }
+
+// 户籍地址 新增修改
+export function listRoleer(data) {
+  return request({
+    url: '/boman-web-core/administrativeInfo/treeSelect',
+    method: 'get',
+    // data
+  })
+}
+
+// 户籍地址 新增修改
+export function listRoleergth(data) {
+  return request({
+    url: '/boman-system/chinaArea/treeSelect',
+    method: 'post',
+    data: data
+  })
+}
+
+
+// 网格
+export function listRoleergthwg(data) {
+  return request({
+    url: '/boman-web-core/gridInfo/treeSelect',
+    method: 'post',
+    data: data
+  })
+}
+
+
+// 户籍地址搜索
+export function listRoleerseavh(data) {
+  return request({
+    url: '/boman-web-core/administrativeInfo/treeSelectVillage',
+    method: 'get',
+    // data
+  })
+}
+
+
+// /boman-web-core/core/ryrl/addRlry
+// 新增人员信息
+export function addInfo(data) {
+  return request({
+    url: '/boman-web-core/core/czrk/addCzrk',
+    method: 'post',
+    data: data
+  })
+}
+
+// boman-web-core/core/ryrl/editRlry
+// 修改疫苗信息
+export function updateInfo(data) {
+  return request({
+    url: '/boman-web-core/core/czrk/editCzrk',
+    method: 'post',
+    data: data
+  })
+}
+
+// boman-web-core/core/czrk/deleteCzrk
+// 删除疫苗信息
+export function delInfo(query) {
+  return request({
+    url: '/boman-web-core/core/czrk/changeCzrk' ,
+    method: 'post',
+    data: query
+
+  })
+}
+
+// 导出疫苗信息
+export function exportInfo(query) {
+  return request({
+    url: '/boman-web-core/core/info/export',
+    method: 'post',
+    data: query
+  })
+}
+
+// 查询身份证信息
+// export function idces(query) {
+//   return request({
+//     url: '/boman-web-core/core/info/findHjInfo',
+//     method: 'post',
+//     data: query
+//   })
+// }
+// 一键同步信息
+
+export function listInfotjjssquer(query) {
+ return request({
+    url: '/boman-web-core/core/czrk/synchronization/' +  query,
+    method: 'get'
+    // params: query
+  })
+}
+
+// 查询身份证信息
+export function idces(query) {
+  return request({
+    url: '/boman-web-core/core/czrk/findHjInfo',
+    method: 'post',
+    data: query
+  })
+}
+
+
+// 导出参数
+export function exportConfig(query) {
+  return request({
+    url: '/boman-file/common/file/async/export',
+    method: 'post',
+    data: query
+  })
+}
+
+// 导出参数
+export function exportConfigtyr(query) {
+  return request({
+    url: '/boman-file/common/file/before/download ',
+    method: 'get',
+    params: query
+  })
+}
+
+// 删除疫苗名称信息
+export function delInfort(id) {
+  return request({
+    url: '/boman-web-core/core/info/vaccineInfoUser/' + id,
+    method: 'get'
+  })
+}
+
+// 列表查看疫苗信息
+export function yiaoe(query) {
+  return request({
+    url: '/boman-web-core/core/info/findInfoUser',
+    method: 'post',
+	data: query
+  })
+}
+
+// 导出错误日志
+export function importLog(query){
+  return request({
+    url: '/boman-web-core/ymjzImportError/list',
+    method: 'get',
+    data: query
+  })
+}

+ 9 - 0
src/api/system/dept.js

@@ -8,6 +8,15 @@ export function listDept(query) {
     params: query
   })
 }
+// 行政区域
+export function listRoleergth(data) {
+  return request({
+    url: '/boman-system/chinaArea/treeSelect',
+    method: 'post',
+    data: data
+  })
+}
+
 
 
 // 查询部门列表

+ 251 - 0
src/api/system/dxxf.js

@@ -0,0 +1,251 @@
+import request from '@/utils/request'
+
+// 查询户籍疫苗信息列表
+export function listInfo(query) {
+  return request({
+    url: '/boman-web-core/core/czrk/unusualList',
+    method: 'post',
+    data: query
+  })
+} 
+
+// 查询居住地址疫苗信息列表
+// export function listInfos(query) {
+//   return request({
+//     url: '/boman-web-core/core/jzdz/list',
+//     method: 'get',
+//     params: query
+//   })
+// }
+export function listInfos(query) {
+  return request({
+    url: '/boman-web-core/core/czrk/unusualList',
+    method: 'get',
+    data: query
+  })
+}
+
+export function listInfotj(query) {
+  return request({
+    url: '/boman-web-core/core/czrk/stsByCzrk ',
+    method: 'get',
+    params: query
+  })
+}
+
+
+// 新增人员列表
+export function listInfotjxz(query) {
+  return request({
+    url: '/boman-web-core/core/czrk/listByXz',
+    method: 'get',
+    params: query
+  })
+}
+
+// 减少人员列表
+export function listInfotjjs(query) {
+  return request({
+    url: '/boman-web-core/core/czrk/listByJs',
+    method: 'get',
+    params: query
+  })
+}
+
+// boman-web-core/core/czrk/family
+// 家庭成员信息
+export function listInfotjjsfaml(query) {
+  return request({
+    url: '/boman-web-core/core/czrk/family/' + query,
+    method: 'get'
+    // params: query
+  })
+}
+
+
+// 一键确认
+// export function listInfotjjssbule(query) {
+//   console.log(query)
+//   return request({
+//     url: '/boman-web-core/core/ryrl/confirmInfo/' + query ,
+//     method: 'get'
+//     // params: query
+//   })
+// }
+export function listInfotjjssbule(query) {
+  console.log(query)
+  return request({
+    url: '/boman-web-core/core/czrk/synchronization/' + query ,
+    method: 'get'
+    // params: query
+  })
+}
+
+
+
+
+
+// 查询疫苗信息详细
+export function getInfo(id) {
+  return request({
+    url: '/boman-web-core/core/ryrl/getById/' + id,
+    method: 'get'
+  })
+}
+// export function getInfo(id) {
+//   return request({
+//     url: '/boman-web-core/core/czrk/getById/' + id,
+//     method: 'get'
+//   })
+// }
+
+// 户籍地址 新增修改
+export function listRoleer(data) {
+  return request({
+    url: '/boman-web-core/administrativeInfo/treeSelect',
+    method: 'get',
+    // data
+  })
+}
+
+// 户籍地址 新增修改
+export function listRoleergth(data) {
+  return request({
+    url: '/boman-system/chinaArea/treeSelect',
+    method: 'post',
+    data: data
+  })
+}
+
+
+// 网格
+export function listRoleergthwg(data) {
+  return request({
+    url: '/boman-web-core/gridInfo/treeSelect',
+    method: 'post',
+    data: data
+  })
+}
+
+
+// 户籍地址搜索
+export function listRoleerseavh(data) {
+  return request({
+    url: '/boman-web-core/administrativeInfo/treeSelectVillage',
+    method: 'get',
+    // data
+  })
+}
+
+
+// /boman-web-core/core/ryrl/addRlry
+// 新增人员信息
+export function addInfo(data) {
+  return request({
+    url: '/boman-web-core/core/czrk/addCzrk',
+    method: 'post',
+    data: data
+  })
+}
+
+// boman-web-core/core/ryrl/editRlry
+// 修改疫苗信息
+export function updateInfo(data) {
+  return request({
+    url: '/boman-web-core/core/czrk/editCzrk',
+    method: 'post',
+    data: data
+  })
+}
+
+// boman-web-core/core/czrk/deleteCzrk
+// 删除疫苗信息
+export function delInfo(query) {
+  return request({
+    url: '/boman-web-core/core/czrk/changeCzrk' ,
+    method: 'post',
+    data: query
+
+  })
+}
+
+// 导出疫苗信息
+export function exportInfo(query) {
+  return request({
+    url: '/boman-web-core/core/info/export',
+    method: 'post',
+    data: query
+  })
+}
+
+// 查询身份证信息
+// export function idces(query) {
+//   return request({
+//     url: '/boman-web-core/core/info/findHjInfo',
+//     method: 'post',
+//     data: query
+//   })
+// }
+// 一键同步信息
+
+export function listInfotjjssquer(query) {
+ return request({
+    url: '/boman-web-core/core/czrk/synchronization/' +  query,
+    method: 'get'
+    // params: query
+  })
+}
+
+// 查询身份证信息
+export function idces(query) {
+  return request({
+    url: '/boman-web-core/core/czrk/findHjInfo',
+    method: 'post',
+    data: query
+  })
+}
+
+
+// 导出参数
+export function exportConfig(query) {
+  return request({
+    url: '/boman-file/common/file/async/export',
+    method: 'post',
+    data: query
+  })
+}
+
+// 导出参数
+export function exportConfigtyr(query) {
+  return request({
+    url: '/boman-file/common/file/before/download ',
+    method: 'get',
+    params: query
+  })
+}
+
+// 删除疫苗名称信息
+export function delInfort(id) {
+  return request({
+    url: '/boman-web-core/core/info/vaccineInfoUser/' + id,
+    method: 'get'
+  })
+}
+
+// 列表查看疫苗信息
+export function yiaoe(query) {
+  return request({
+    url: '/boman-web-core/core/info/findInfoUser',
+    method: 'post',
+	data: query
+  })
+}
+
+// 导出错误日志
+export function importLog(query){
+  return request({
+    url: '/boman-web-core/ymjzImportError/list',
+    method: 'get',
+    data: query
+  })
+}

+ 272 - 0
src/api/system/party.js

@@ -0,0 +1,272 @@
+import request from '@/utils/request'
+
+// 查询户籍疫苗信息列表
+export function listInfo(query) {
+  return request({
+    url: '/boman-web-core/core/czrk/listDie',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询居住地址疫苗信息列表
+export function listInfos(query) {
+  return request({
+    url: '/boman-web-core/core/jzdz/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查看历史变更信息
+export function listInfosls(query) {
+  return request({
+    url: '/boman-web-core/core/czrk/changeCzrkHistory',
+    method: 'post',
+    data: query
+  })
+}
+
+
+export function listInfotj(query) {
+  return request({
+    url: '/boman-web-core/core/czrk/stsByCzrk ',
+    method: 'get',
+    params: query
+  })
+}
+
+
+// 新增人员列表
+export function listInfotjxz(query) {
+  return request({
+    url: '/boman-web-core/core/czrk/listByXz',
+    method: 'get',
+    params: query
+  })
+}
+
+// 减少人员列表
+export function listInfotjjs(query) {
+  return request({
+    url: '/boman-web-core/core/czrk/listByJs',
+    method: 'get',
+    params: query
+  })
+}
+
+// boman-web-core/core/czrk/family
+// 家庭成员信息
+export function listInfotjjsfaml(query) {
+  return request({
+    url: '/boman-web-core/core/czrk/family/' + query,
+    method: 'get'
+    // params: query
+  })
+}
+
+
+// 一键确认
+export function listInfotjjssbule(query) {
+  console.log(query)
+  return request({
+    url: '/boman-web-core/core/ryrl/confirmInfo/' + query ,
+    method: 'get'
+    // params: query
+  })
+}
+// export function listInfotjjssbule(query) {
+//   console.log(query)
+//   return request({
+//     url: '/boman-web-core/core/czrk/synchronization/' + query ,
+//     method: 'get'
+//     // params: query
+//   })
+// }
+
+
+
+
+
+// 查询疫苗信息详细
+// export function getInfo(id) {
+//   return request({
+//     url: '/boman-web-core/core/ryrl/getById/' + id,
+//     method: 'get'
+//   })
+// }
+export function getInfo(id) {
+  return request({
+    url: '/boman-web-core/core/czrk/getById/' + id,
+    method: 'get'
+  })
+}
+
+// 户籍地址 新增修改
+export function listRoleer(data) {
+  return request({
+    url: '/boman-web-core/administrativeInfo/treeSelect',
+    method: 'get',
+    // data
+  })
+}
+
+// 户籍地址 新增修改
+export function listRoleergth(data) {
+  return request({
+    url: '/boman-system/chinaArea/treeSelect',
+    method: 'post',
+    data: data
+  })
+}
+
+
+// 网格
+export function listRoleergthwg(data) {
+  return request({
+    url: '/boman-web-core/gridInfo/treeSelect',
+    method: 'post',
+    data: data
+  })
+}
+
+
+// 户籍地址搜索
+export function listRoleerseavh(data) {
+  return request({
+    url: '/boman-web-core/administrativeInfo/treeSelectVillage',
+    method: 'get',
+    // data
+  })
+}
+
+
+// /boman-web-core/core/ryrl/addRlry
+// 新增人员信息
+export function addInfo(data) {
+  return request({
+    url: '/boman-web-core/core/czrk/addCzrk',
+    method: 'post',
+    data: data
+  })
+}
+
+// boman-web-core/core/ryrl/editRlry
+// 修改疫苗信息
+export function updateInfo(data) {
+  return request({
+    url: '/boman-web-core/core/czrk/editCzrk',
+    method: 'post',
+    data: data
+  })
+}
+
+// boman-web-core/core/czrk/deleteCzrk
+// 删除疫苗信息
+export function delInfo(query) {
+  return request({
+    url: '/boman-web-core/core/czrk/changeCzrk' ,
+    method: 'post',
+    data: query
+
+  })
+}
+
+// 导出疫苗信息
+export function exportInfo(query) {
+  return request({
+    url: '/boman-web-core/core/info/export',
+    method: 'post',
+    data: query
+  })
+}
+
+// 查询身份证信息
+// export function idces(query) {
+//   return request({
+//     url: '/boman-web-core/core/info/findHjInfo',
+//     method: 'post',
+//     data: query
+//   })
+// }
+
+
+// 一键同步信息
+// export function listInfotjjssquer(query) {
+//  return request({
+//     url: '/boman-web-core/core/czrk/synchronization/' +  query,
+//     method: 'get'
+//     // params: query
+//   })
+// }
+
+export function listInfotjjssquer(query) {
+ return request({
+    url: '/boman-web-core/core/czrk/synchronization/' +  query,
+    method: 'get'
+    // params: query
+  })
+}
+
+// 查询身份证信息
+export function idces(query) {
+  return request({
+    url: '/boman-web-core/core/czrk/findHjInfo',
+    method: 'post',
+    data: query
+  })
+}
+
+
+// 导出参数
+export function exportConfig(query) {
+  return request({
+    url: '/boman-web-core/core/czrk/export',
+    method: 'get',
+    params: query
+  })
+}
+
+// 导出参数
+export function exportConfigtyr(query) {
+  return request({
+    url: '/boman-file/common/file/before/download ',
+    method: 'get',
+    params: query
+  })
+}
+
+// 删除疫苗名称信息
+export function delInfort(id) {
+  return request({
+    url: '/boman-web-core/core/info/vaccineInfoUser/' + id,
+    method: 'get'
+  })
+}
+
+// 列表查看疫苗信息
+export function yiaoe(query) {
+  return request({
+    url: '/boman-web-core/core/info/findInfoUser',
+    method: 'post',
+	data: query
+  })
+}
+
+// 导出错误日志
+export function importLog(query){
+  return request({
+    url: '/boman-web-core/ymjzImportError/list',
+    method: 'get',
+    data: query
+  })
+}
+
+//省市区
+export function treeselectdeptst(query){
+  return request({
+    url: '/boman-system/chinaArea/treeSelect',
+    method: 'get',
+    data: query
+  })
+}

+ 251 - 0
src/api/system/personnel.js

@@ -0,0 +1,251 @@
+import request from '@/utils/request'
+
+// 查询户籍疫苗信息列表
+export function listInfo(query) {
+  return request({
+    url: '/boman-web-core/core/czrk/unusualList',
+    method: 'post',
+    data: query
+  })
+} 
+
+// 查询居住地址疫苗信息列表
+// export function listInfos(query) {
+//   return request({
+//     url: '/boman-web-core/core/jzdz/list',
+//     method: 'get',
+//     params: query
+//   })
+// }
+export function listInfos(query) {
+  return request({
+    url: '/boman-web-core/core/czrk/unusualList',
+    method: 'get',
+    data: query
+  })
+}
+
+export function listInfotj(query) {
+  return request({
+    url: '/boman-web-core/core/czrk/stsByCzrk ',
+    method: 'get',
+    params: query
+  })
+}
+
+
+// 新增人员列表
+export function listInfotjxz(query) {
+  return request({
+    url: '/boman-web-core/core/czrk/listByXz',
+    method: 'get',
+    params: query
+  })
+}
+
+// 减少人员列表
+export function listInfotjjs(query) {
+  return request({
+    url: '/boman-web-core/core/czrk/listByJs',
+    method: 'get',
+    params: query
+  })
+}
+
+// boman-web-core/core/czrk/family
+// 家庭成员信息
+export function listInfotjjsfaml(query) {
+  return request({
+    url: '/boman-web-core/core/czrk/family/' + query,
+    method: 'get'
+    // params: query
+  })
+}
+
+
+// 一键确认
+// export function listInfotjjssbule(query) {
+//   console.log(query)
+//   return request({
+//     url: '/boman-web-core/core/ryrl/confirmInfo/' + query ,
+//     method: 'get'
+//     // params: query
+//   })
+// }
+export function listInfotjjssbule(query) {
+  console.log(query)
+  return request({
+    url: '/boman-web-core/core/czrk/synchronization/' + query ,
+    method: 'get'
+    // params: query
+  })
+}
+
+
+
+
+
+// 查询疫苗信息详细
+export function getInfo(id) {
+  return request({
+    url: '/boman-web-core/core/ryrl/getById/' + id,
+    method: 'get'
+  })
+}
+// export function getInfo(id) {
+//   return request({
+//     url: '/boman-web-core/core/czrk/getById/' + id,
+//     method: 'get'
+//   })
+// }
+
+// 户籍地址 新增修改
+export function listRoleer(data) {
+  return request({
+    url: '/boman-web-core/administrativeInfo/treeSelect',
+    method: 'get',
+    // data
+  })
+}
+
+// 户籍地址 新增修改
+export function listRoleergth(data) {
+  return request({
+    url: '/boman-system/chinaArea/treeSelect',
+    method: 'post',
+    data: data
+  })
+}
+
+
+// 网格
+export function listRoleergthwg(data) {
+  return request({
+    url: '/boman-web-core/gridInfo/treeSelect',
+    method: 'post',
+    data: data
+  })
+}
+
+
+// 户籍地址搜索
+export function listRoleerseavh(data) {
+  return request({
+    url: '/boman-web-core/administrativeInfo/treeSelectVillage',
+    method: 'get',
+    // data
+  })
+}
+
+
+// /boman-web-core/core/ryrl/addRlry
+// 新增人员信息
+export function addInfo(data) {
+  return request({
+    url: '/boman-web-core/core/czrk/addCzrk',
+    method: 'post',
+    data: data
+  })
+}
+
+// boman-web-core/core/ryrl/editRlry
+// 修改疫苗信息
+export function updateInfo(data) {
+  return request({
+    url: '/boman-web-core/core/czrk/editCzrk',
+    method: 'post',
+    data: data
+  })
+}
+
+// boman-web-core/core/czrk/deleteCzrk
+// 删除疫苗信息
+export function delInfo(query) {
+  return request({
+    url: '/boman-web-core/core/czrk/changeCzrk' ,
+    method: 'post',
+    data: query
+
+  })
+}
+
+// 导出疫苗信息
+export function exportInfo(query) {
+  return request({
+    url: '/boman-web-core/core/info/export',
+    method: 'post',
+    data: query
+  })
+}
+
+// 查询身份证信息
+// export function idces(query) {
+//   return request({
+//     url: '/boman-web-core/core/info/findHjInfo',
+//     method: 'post',
+//     data: query
+//   })
+// }
+// 一键同步信息
+
+export function listInfotjjssquer(query) {
+ return request({
+    url: '/boman-web-core/core/czrk/synchronization/' +  query,
+    method: 'get'
+    // params: query
+  })
+}
+
+// 查询身份证信息
+export function idces(query) {
+  return request({
+    url: '/boman-web-core/core/czrk/findHjInfo',
+    method: 'post',
+    data: query
+  })
+}
+
+
+// 导出参数
+export function exportConfig(query) {
+  return request({
+    url: '/boman-file/common/file/async/export',
+    method: 'post',
+    data: query
+  })
+}
+
+// 导出参数
+export function exportConfigtyr(query) {
+  return request({
+    url: '/boman-file/common/file/before/download ',
+    method: 'get',
+    params: query
+  })
+}
+
+// 删除疫苗名称信息
+export function delInfort(id) {
+  return request({
+    url: '/boman-web-core/core/info/vaccineInfoUser/' + id,
+    method: 'get'
+  })
+}
+
+// 列表查看疫苗信息
+export function yiaoe(query) {
+  return request({
+    url: '/boman-web-core/core/info/findInfoUser',
+    method: 'post',
+	data: query
+  })
+}
+
+// 导出错误日志
+export function importLog(query){
+  return request({
+    url: '/boman-web-core/ymjzImportError/list',
+    method: 'get',
+    data: query
+  })
+}

+ 62 - 0
src/api/system/postsr.js

@@ -0,0 +1,62 @@
+import request from '@/utils/request'
+
+// 查询岗位列表
+export function listPost(query) {
+  return request({
+    url: '/boman-web-core/ipTimes/list',
+    method: 'get',
+    params: query
+  })
+}
+
+export function listlie(query) {
+  return request({
+    url: '/boman-web-core/ipTimes/' + query,
+    method: 'get'
+    // params: query
+  })
+}
+
+// 查询岗位详细
+export function getPost(id) {
+  return request({
+    url: '/boman-web-core/ipTimes/get/' + id,
+    method: 'get'
+  })
+}
+
+// 新增岗位
+export function addPost(data) {
+  return request({
+    url: '/boman-web-core/ipTimes/saveOrUpdate',
+    method: 'post',
+    data: data
+  })
+}
+
+// 新增岗位
+export function appIdhu(data) {
+  return request({
+    url: '/boman-web-core/ipTimes/getKey',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改岗位
+export function updatePost(data) {
+  return request({
+    url: '/boman-web-core/ipTimes/saveOrUpdate',
+    method: 'post',
+    data: data
+  })
+}
+
+// 删除岗位
+export function delPost(data) {
+  return request({
+    url: '/boman-web-core/ipTimes/delete',
+    method: 'post',
+    data: data
+  })
+}

+ 3 - 3
src/api/system/resident.js

@@ -3,7 +3,7 @@ import request from '@/utils/request'
 // 查询疫苗信息列表
 export function listInfo(query) {
   return request({
-    url: '/boman-web-core/core/ryrl/list',
+    url: '/boman-web-core/core/hsjl/pcList',
     method: 'get',
     params: query
   })
@@ -50,7 +50,7 @@ export function listInfotjjsfaml(query) {
 // 查询疫苗信息详细
 export function getInfo(id) {
   return request({
-    url: '/boman-web-core/core/ryrl/getById/' + id,
+    url: '/boman-web-core/core/hsjl/getById/' + id,
     method: 'get'
   })
 }
@@ -67,7 +67,7 @@ export function listRoleer(data) {
 // 户籍地址 新增修改
 export function listRoleergth(data) {
   return request({
-    url: '/boman-web-core/core/fxry/getSysRegion',
+    url: '/boman-system/chinaArea/treeSelect',
     method: 'post',
     data: data
   })

+ 87 - 13
src/api/system/residentss.js

@@ -1,14 +1,33 @@
 import request from '@/utils/request'
 
-// 查询疫苗信息列表
+// 查询户籍疫苗信息列表
 export function listInfo(query) {
   return request({
-    url: '/boman-web-core/core/ryrl/list',
+    url: '/boman-web-core/core/czrk/list',
     method: 'get',
     params: query
   })
 }
 
+// 查询居住地址疫苗信息列表
+export function listInfos(query) {
+  return request({
+    url: '/boman-web-core/core/jzdz/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查看历史变更信息
+export function listInfosls(query) {
+  return request({
+    url: '/boman-web-core/core/czrk/changeCzrkHistory',
+    method: 'post',
+    data: query
+  })
+}
+
+
 export function listInfotj(query) {
   return request({
     url: '/boman-web-core/core/czrk/stsByCzrk ',
@@ -36,7 +55,7 @@ export function listInfotjjs(query) {
   })
 }
 
-
+// boman-web-core/core/czrk/family
 // 家庭成员信息
 export function listInfotjjsfaml(query) {
   return request({
@@ -47,13 +66,38 @@ export function listInfotjjsfaml(query) {
 }
 
 
+// 一键确认
+export function listInfotjjssbule(query) {
+  console.log(query)
+  return request({
+    url: '/boman-web-core/core/ryrl/confirmInfo/' + query ,
+    method: 'get'
+    // params: query
+  })
+}
+// export function listInfotjjssbule(query) {
+//   console.log(query)
+//   return request({
+//     url: '/boman-web-core/core/czrk/synchronization/' + query ,
+//     method: 'get'
+//     // params: query
+//   })
+// }
+
+
 
 
 
 // 查询疫苗信息详细
+// export function getInfo(id) {
+//   return request({
+//     url: '/boman-web-core/core/ryrl/getById/' + id,
+//     method: 'get'
+//   })
+// }
 export function getInfo(id) {
   return request({
-    url: '/boman-web-core/core/ryrl/getById/' + id,
+    url: '/boman-web-core/core/czrk/getById/' + id,
     method: 'get'
   })
 }
@@ -70,7 +114,7 @@ export function listRoleer(data) {
 // 户籍地址 新增修改
 export function listRoleergth(data) {
   return request({
-    url: '/boman-web-core/core/fxry/getSysRegion',
+    url: '/boman-system/chinaArea/treeSelect',
     method: 'post',
     data: data
   })
@@ -97,30 +141,33 @@ export function listRoleerseavh(data) {
 }
 
 
+// /boman-web-core/core/ryrl/addRlry
 // 新增人员信息
 export function addInfo(data) {
   return request({
-    url: '/boman-web-core/core/ryrl/addRlry',
+    url: '/boman-web-core/core/czrk/addCzrk',
     method: 'post',
     data: data
   })
 }
 
+// boman-web-core/core/ryrl/editRlry
 // 修改疫苗信息
 export function updateInfo(data) {
   return request({
-    url: '/boman-web-core/core/ryrl/editRlry',
+    url: '/boman-web-core/core/czrk/editCzrk',
     method: 'post',
     data: data
   })
 }
 
+// boman-web-core/core/czrk/deleteCzrk
 // 删除疫苗信息
 export function delInfo(query) {
   return request({
-    url: '/boman-web-core/core/czrk/deleteCzrk' ,
-    method: 'get',
-    params: query
+    url: '/boman-web-core/core/czrk/changeCzrk' ,
+    method: 'post',
+    data: query
 
   })
 }
@@ -143,6 +190,24 @@ export function exportInfo(query) {
 //   })
 // }
 
+
+// 一键同步信息
+// export function listInfotjjssquer(query) {
+//  return request({
+//     url: '/boman-web-core/core/czrk/synchronization/' +  query,
+//     method: 'get'
+//     // params: query
+//   })
+// }
+
+export function listInfotjjssquer(query) {
+ return request({
+    url: '/boman-web-core/core/czrk/synchronization/' +  query,
+    method: 'get'
+    // params: query
+  })
+}
+
 // 查询身份证信息
 export function idces(query) {
   return request({
@@ -156,9 +221,9 @@ export function idces(query) {
 // 导出参数
 export function exportConfig(query) {
   return request({
-    url: '/boman-file/common/file/async/export',
-    method: 'post',
-    data: query
+    url: '/boman-web-core/core/czrk/export',
+    method: 'get',
+    params: query
   })
 }
 
@@ -196,3 +261,12 @@ export function importLog(query){
     data: query
   })
 }
+
+//省市区
+export function treeselectdeptst(query){
+  return request({
+    url: '/boman-system/chinaArea/treeSelect',
+    method: 'get',
+    data: query
+  })
+}

+ 251 - 0
src/api/system/ucleic.js

@@ -0,0 +1,251 @@
+import request from '@/utils/request'
+
+// 查询户籍疫苗信息列表
+export function listInfo(query) {
+  return request({
+    url: '/boman-web-core/core/account/nucleicAcid/hj',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询居住地址疫苗信息列表
+// export function listInfos(query) {
+//   return request({
+//     url: '/boman-web-core/core/jzdz/list',
+//     method: 'get',
+//     params: query
+//   })
+// }
+export function listInfos(query) {
+  return request({
+    url: '/boman-web-core/core/account/nucleicAcid/jzdz',
+    method: 'get',
+    params: query
+  })
+}
+
+export function listInfotj(query) {
+  return request({
+    url: '/boman-web-core/core/czrk/vaccineStatistics',
+    method: 'get',
+    params: query
+  })
+}
+
+
+// 新增人员列表
+export function listInfotjxz(query) {
+  return request({
+    url: '/boman-web-core/core/czrk/listByXz',
+    method: 'get',
+    params: query
+  })
+}
+
+// 减少人员列表
+export function listInfotjjs(query) {
+  return request({
+    url: '/boman-web-core/core/czrk/listByJs',
+    method: 'get',
+    params: query
+  })
+}
+
+// boman-web-core/core/czrk/family
+// 家庭成员信息
+export function listInfotjjsfaml(query) {
+  return request({
+    url: '/boman-web-core/core/czrk/family/' + query,
+    method: 'get'
+    // params: query
+  })
+}
+
+
+// 一键确认
+// export function listInfotjjssbule(query) {
+//   console.log(query)
+//   return request({
+//     url: '/boman-web-core/core/ryrl/confirmInfo/' + query ,
+//     method: 'get'
+//     // params: query
+//   })
+// }
+export function listInfotjjssbule(query) {
+  console.log(query)
+  return request({
+    url: '/boman-web-core/core/czrk/synchronization/' + query ,
+    method: 'get'
+    // params: query
+  })
+}
+
+
+
+
+
+// 查询疫苗信息详细
+export function getInfo(id) {
+  return request({
+    url: '/boman-web-core/core/ryrl/getById/' + id,
+    method: 'get'
+  })
+}
+// export function getInfo(id) {
+//   return request({
+//     url: '/boman-web-core/core/czrk/getById/' + id,
+//     method: 'get'
+//   })
+// }
+
+// 户籍地址 新增修改
+export function listRoleer(data) {
+  return request({
+    url: '/boman-web-core/administrativeInfo/treeSelect',
+    method: 'get',
+    // data
+  })
+}
+
+// 户籍地址 新增修改
+export function listRoleergth(data) {
+  return request({
+    url: '/boman-system/chinaArea/treeSelect',
+    method: 'post',
+    data: data
+  })
+}
+
+
+// 网格
+export function listRoleergthwg(data) {
+  return request({
+    url: '/boman-web-core/gridInfo/treeSelect',
+    method: 'post',
+    data: data
+  })
+}
+
+
+// 户籍地址搜索
+export function listRoleerseavh(data) {
+  return request({
+    url: '/boman-web-core/administrativeInfo/treeSelectVillage',
+    method: 'get',
+    // data
+  })
+}
+
+
+// /boman-web-core/core/ryrl/addRlry
+// 新增人员信息
+export function addInfo(data) {
+  return request({
+    url: '/boman-web-core/core/czrk/addCzrk',
+    method: 'post',
+    data: data
+  })
+}
+
+// boman-web-core/core/ryrl/editRlry
+// 修改疫苗信息
+export function updateInfo(data) {
+  return request({
+    url: '/boman-web-core/core/czrk/editCzrk',
+    method: 'post',
+    data: data
+  })
+}
+
+// boman-web-core/core/czrk/deleteCzrk
+// 删除疫苗信息
+export function delInfo(query) {
+  return request({
+    url: '/boman-web-core/core/czrk/changeCzrk' ,
+    method: 'post',
+    data: query
+
+  })
+}
+
+// 导出疫苗信息
+export function exportInfo(query) {
+  return request({
+    url: '/boman-web-core/core/info/export',
+    method: 'post',
+    data: query
+  })
+}
+
+// 查询身份证信息
+// export function idces(query) {
+//   return request({
+//     url: '/boman-web-core/core/info/findHjInfo',
+//     method: 'post',
+//     data: query
+//   })
+// }
+// 一键同步信息
+
+export function listInfotjjssquer(query) {
+ return request({
+    url: '/boman-web-core/core/czrk/synchronization/' +  query,
+    method: 'get'
+    // params: query
+  })
+}
+
+// 查询身份证信息
+export function idces(query) {
+  return request({
+    url: '/boman-web-core/core/czrk/findHjInfo',
+    method: 'post',
+    data: query
+  })
+}
+
+
+// 导出参数
+export function exportConfig(query) {
+  return request({
+    url: '/boman-file/common/file/async/export',
+    method: 'post',
+    data: query
+  })
+}
+
+// 导出参数
+export function exportConfigtyr(query) {
+  return request({
+    url: '/boman-file/common/file/before/download ',
+    method: 'get',
+    params: query
+  })
+}
+
+// 删除疫苗名称信息
+export function delInfort(id) {
+  return request({
+    url: '/boman-web-core/core/info/vaccineInfoUser/' + id,
+    method: 'get'
+  })
+}
+
+// 列表查看疫苗信息
+export function yiaoe(query) {
+  return request({
+    url: '/boman-web-core/core/info/findInfoUser',
+    method: 'post',
+	data: query
+  })
+}
+
+// 导出错误日志
+export function importLog(query){
+  return request({
+    url: '/boman-web-core/ymjzImportError/list',
+    method: 'get',
+    data: query
+  })
+}

+ 12 - 0
src/api/system/user.js

@@ -10,6 +10,18 @@ export function listUser(query) {
   })
 }
 
+export function listRoleergth(data) {
+  return request({
+    url: '/boman-web-core/core/fxry/getSysRegion',
+    method: 'post',
+    data: data
+  })
+}
+
+
+
+
+
 // 网格
 export function listRoleergthwg(data) {
   return request({

+ 236 - 0
src/api/system/uzhu.js

@@ -0,0 +1,236 @@
+import request from '@/utils/request'
+
+// 查询户籍疫苗信息列表
+export function listInfo(query) {
+  return request({
+    url: '/boman-web-core/core/czrk/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询居住地址疫苗信息列表
+export function listInfos(query) {
+  return request({
+    url: '/boman-web-core/core/jzdz/list',
+    method: 'get',
+    params: query
+  })
+}
+
+export function listInfotj(query) {
+  return request({
+    url: '/boman-web-core/core/czrk/stsByCzrk ',
+    method: 'get',
+    params: query
+  })
+}
+
+
+// 新增人员列表
+export function listInfotjxz(query) {
+  return request({
+    url: '/boman-web-core/core/czrk/listByXz',
+    method: 'get',
+    params: query
+  })
+}
+
+// 减少人员列表
+export function listInfotjjs(query) {
+  return request({
+    url: '/boman-web-core/core/czrk/listByJs',
+    method: 'get',
+    params: query
+  })
+}
+
+// boman-web-core/core/czrk/family
+// 家庭成员信息
+export function listInfotjjsfaml(query) {
+  return request({
+    url: '/boman-web-core/core/czrk/family/' + query,
+    method: 'get'
+    // params: query
+  })
+}
+
+
+// 一键确认
+export function listInfotjjssbule(query) {
+  console.log(query)
+  return request({
+    url: '/boman-web-core/core/ryrl/confirmInfo/' + query ,
+    method: 'get'
+    // params: query
+  })
+}
+
+
+
+
+
+// 查询疫苗信息详细
+export function getInfo(id) {
+  return request({
+    url: '/boman-web-core/core/ryrl/getById/' + id,
+    method: 'get'
+  })
+}
+// export function getInfo(id) {
+//   return request({
+//     url: '/boman-web-core/core/czrk/getById/' + id,
+//     method: 'get'
+//   })
+// }
+
+// 户籍地址 新增修改
+export function listRoleer(data) {
+  return request({
+    url: '/boman-web-core/administrativeInfo/treeSelect',
+    method: 'get',
+    // data
+  })
+}
+
+// 户籍地址 新增修改
+export function listRoleergth(data) {
+  return request({
+    url: '/boman-web-core/core/fxry/getSysRegion',
+    method: 'post',
+    data: data
+  })
+}
+
+
+// 网格
+export function listRoleergthwg(data) {
+  return request({
+    url: '/boman-web-core/gridInfo/treeSelect',
+    method: 'post',
+    data: data
+  })
+}
+
+
+// 户籍地址搜索
+export function listRoleerseavh(data) {
+  return request({
+    url: '/boman-web-core/administrativeInfo/treeSelectVillage',
+    method: 'get',
+    // data
+  })
+}
+
+
+// /boman-web-core/core/ryrl/addRlry
+// 新增人员信息
+export function addInfo(data) {
+  return request({
+    url: '/boman-web-core/core/czrk/addCzrk',
+    method: 'post',
+    data: data
+  })
+}
+
+// boman-web-core/core/ryrl/editRlry
+// 修改疫苗信息
+export function updateInfo(data) {
+  return request({
+    url: '/boman-web-core/core/czrk/editCzrk',
+    method: 'post',
+    data: data
+  })
+}
+
+// boman-web-core/core/czrk/deleteCzrk
+// 删除疫苗信息
+export function delInfo(query) {
+  return request({
+    url: '/boman-web-core/core/czrk/changeCzrk' ,
+    method: 'post',
+    data: query
+
+  })
+}
+
+// 导出疫苗信息
+export function exportInfo(query) {
+  return request({
+    url: '/boman-web-core/core/info/export',
+    method: 'post',
+    data: query
+  })
+}
+
+// 查询身份证信息
+// export function idces(query) {
+//   return request({
+//     url: '/boman-web-core/core/info/findHjInfo',
+//     method: 'post',
+//     data: query
+//   })
+// }
+// 一键同步信息
+
+export function listInfotjjssquer(query) {
+ return request({
+    url: '/boman-web-core/core/czrk/synchronization/' +  query,
+    method: 'get'
+    // params: query
+  })
+}
+
+// 查询身份证信息
+export function idces(query) {
+  return request({
+    url: '/boman-web-core/core/czrk/findHjInfo',
+    method: 'post',
+    data: query
+  })
+}
+
+
+// 导出参数
+export function exportConfig(query) {
+  return request({
+    url: '/boman-file/common/file/async/export',
+    method: 'post',
+    data: query
+  })
+}
+
+// 导出参数
+export function exportConfigtyr(query) {
+  return request({
+    url: '/boman-file/common/file/before/download ',
+    method: 'get',
+    params: query
+  })
+}
+
+// 删除疫苗名称信息
+export function delInfort(id) {
+  return request({
+    url: '/boman-web-core/core/info/vaccineInfoUser/' + id,
+    method: 'get'
+  })
+}
+
+// 列表查看疫苗信息
+export function yiaoe(query) {
+  return request({
+    url: '/boman-web-core/core/info/findInfoUser',
+    method: 'post',
+	data: query
+  })
+}
+
+// 导出错误日志
+export function importLog(query){
+  return request({
+    url: '/boman-web-core/ymjzImportError/list',
+    method: 'get',
+    data: query
+  })
+}

+ 171 - 0
src/api/system/xsr.js

@@ -0,0 +1,171 @@
+import request from '@/utils/request'
+
+// /boman-web-core/core/ryrl/list
+// 查询疫苗信息列表
+export function listInfo(query) {
+  return request({
+    url: '/boman-web-core/birthRecords/listDie',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询常住疫苗信息列表
+export function listInfoch(query) {
+  return request({
+    url: '/boman-web-core/core/ryrl/listCz',
+    method: 'get',
+    params: query
+  })
+}
+
+
+export function delInfohy(query) {
+  return request({
+    url: '/boman-web-core/core/czrk/reduction/' + query,
+    method: 'get'
+  })
+}
+
+
+// 查询疫苗信息详细
+export function getInfo(id) {
+  return request({
+    url: '/boman-web-core/core/czrk/findXsInfo',
+    method: 'get',
+    params: id
+  })
+}
+
+// 户籍地址 新增修改
+export function listRoleer(data) {
+  return request({
+    url: '/boman-web-core/administrativeInfo/treeSelect',
+    method: 'get',
+    // data
+  })
+}
+
+// 户籍地址搜索
+export function listRoleerseavh(data) {
+  return request({
+    url: '/boman-web-core/administrativeInfo/treeSelectVillage',
+    method: 'get',
+    // data
+  })
+}
+
+
+// 新增人员信息
+export function addInfo(data) {
+  return request({
+    url: '/boman-web-core/core/czrk/addBabyCzrk',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改疫苗信息
+// export function updateInfo(data) {
+//   return request({
+//     url: '/boman-web-core/core/ryrl/editRlry',
+//     method: 'post',
+//     data: data
+//   })
+// }
+export function updateInfo(data) {
+  return request({
+    url: '/boman-web-core/core/ryrl/editRlry',
+    method: 'post',
+    data: data
+  })
+}
+
+// boman-web-core/core/czrk/deleteCzrk
+// 删除疫苗信息
+export function delInfo(query) {
+  return request({
+    url: '/boman-web-core/core/czrk/changeCzrk' ,
+    method: 'post',
+    data: query
+  })
+}
+
+// 导出疫苗信息
+export function exportInfo(query) {
+  return request({
+    url: '/boman-web-core/core/info/export',
+    method: 'post',
+    data: query
+  })
+}
+
+// // 查询身份证信息
+// export function idces(query) {
+//   return request({
+//     url: '/boman-web-core/core/info/findHjInfo',
+//     method: 'post',
+//     data: query
+//   })
+// }
+
+
+// 网格
+export function listRoleergthwg(data) {
+  return request({
+    url: '/boman-web-core/gridInfo/treeSelect',
+    method: 'post',
+    data: data
+  })
+}
+// 查询身份证信息
+export function idces(query) {
+  return request({
+    url: '/boman-web-core/core/czrk/findHjInfo',
+    method: 'post',
+    data: query
+  })
+}
+// 导出参数
+export function exportConfig(query) {
+  return request({
+    url: '/boman-file/common/file/async/export',
+    method: 'post',
+    data: query
+  })
+}
+
+// 导出参数
+export function exportConfigtyr(query) {
+  return request({
+    url: '/boman-file/common/file/before/download ',
+    method: 'get',
+    params: query
+  })
+}
+
+// 删除疫苗名称信息
+export function delInfort(id) {
+  return request({
+    url: '/boman-web-core/core/info/vaccineInfoUser/' + id,
+    method: 'get'
+  })
+}
+
+// 列表查看疫苗信息
+export function yiaoe(query) {
+  return request({
+    url: '/boman-web-core/core/info/findInfoUser',
+    method: 'post',
+	data: query
+  })
+}
+
+// 导出错误日志
+export function importLog(query){
+  return request({
+    url: '/boman-web-core/ymjzImportError/list',
+    method: 'get',
+    data: query
+  })
+}

+ 3 - 0
src/layout/components/Navbar.vue

@@ -43,6 +43,9 @@
           <router-link to="/user/profile">
             <el-dropdown-item>个人中心</el-dropdown-item>
           </router-link>
+		  <!-- <router-link to="/system/ucleic/index">
+		    <el-dropdown-item>在线人数:<span style="color: #00a8ec;">2568</span></el-dropdown-item>
+		  </router-link> -->
           <el-dropdown-item @click.native="setting = true">
             <span>布局设置</span>
           </el-dropdown-item>

+ 2 - 1
src/main.js

@@ -31,7 +31,7 @@ import './assets/icons' // icon
 import './permission' // permission control
 import { getDicts } from "@/api/system/dict/data";
 import { getConfigKey } from "@/api/system/config";
-import { parseTime, resetForm, addDateRange, selectDictLabel, selectDictLabels, handleTree } from "@/utils/ruoyi";
+import { parseTime, resetForm, addDateRange, selectDictLabel, selectDictLabels, selectDictLabelss, handleTree } from "@/utils/ruoyi";
 import Pagination from "@/components/Pagination";
 // 自定义表格工具扩展
 import RightToolbar from "@/components/RightToolbar"
@@ -53,6 +53,7 @@ Vue.prototype.resetForm = resetForm
 Vue.prototype.addDateRange = addDateRange
 Vue.prototype.selectDictLabel = selectDictLabel
 Vue.prototype.selectDictLabels = selectDictLabels
+Vue.prototype.selectDictLabelss = selectDictLabelss
 Vue.prototype.download = download
 Vue.prototype.getDyn = getDyn
 Vue.prototype.handleTree = handleTree

+ 1 - 1
src/router/index.js

@@ -131,7 +131,7 @@ export const constantRoutes = [
         component: (resolve) => require(['@/views/system/user/profile/index'], resolve),
         name: 'Profile',
         meta: { title: '个人中心', icon: 'user' }
-      }
+      }  
     ]
   },
   {

+ 2 - 2
src/settings.js

@@ -1,8 +1,8 @@
 module.exports = {
   title: '潜山市防疫数据平台',
-  // urls: `http://118.178.139.79:7090`,
-  urls: `http://192.168.101.110:8090`,
+  // urls: `http://192.168.101.110:8090`,
   // urls: `http://192.168.101.11:8090`,
+  urls: `http://192.168.101.168:8090`,
    // urls: `https://qsfy.qs163.cn`,
 
   /**

+ 63 - 20
src/utils/request.js

@@ -8,13 +8,16 @@ import { tansParams } from "@/utils/ruoyi";
 axios.defaults.headers['Content-Type'] = 'application/json;charset=utf-8'
 //
 
+
+
+
 axios.defaults.headers['accountName'] = 'guest'
 // 创建axios实例
 const service = axios.create({
   // axios中请求配置有baseURL选项,表示请求URL公共部分
   baseURL: process.env.VUE_APP_BASE_API,
   // 超时
-  timeout: 10000
+  timeout: 50000
 })
 
 // request拦截器
@@ -46,7 +49,8 @@ service.interceptors.request.use(config => {
     config.params = {};
     config.url = url;
   }
-  return config
+  // console.log(config,456)
+  return  config
 }, error => {
     console.log(error)
     Promise.reject(error)
@@ -70,16 +74,31 @@ service.interceptors.response.use(res => {
         })
       })
     } else if (code === 500) {
+      // Message({
+      //   message: msg,
+      //   type: 'error'
+      // })
+      if(res.data.msg == '当前填写的户籍地址和居住地址均不属于对应辖区'){
+        return res.data
+      }else{
+       Message({
+         message: msg,
+         type: 'error'
+       })
+        return Promise.reject(new Error(msg))
+      }
+    } else if (code !== 200) {
+      if(res.data.msg == '当前填写的户籍地址和居住地址均不属于对应辖区'){
+       return res.data
+      }else{
+         // return res.data
       Message({
         message: msg,
         type: 'error'
       })
-      return Promise.reject(new Error(msg))
-    } else if (code !== 200) {
-      Notification.error({
-        title: msg
-      })
-      return Promise.reject('error')
+       return Promise.reject('error')
+      }
+    // return res.data
     } else {
       return res.data
     }
@@ -96,6 +115,9 @@ service.interceptors.response.use(res => {
     else if (message.includes("Request failed with status code")) {
       message = "系统接口" + message.substr(message.length - 3) + "异常";
     }
+    else{
+      error  = message
+    }
     Message({
       message: message,
       type: 'error',
@@ -117,20 +139,41 @@ export function download(url, params, filename) {
     },
     responseType: 'blob'
   }).then((data) => {
+    let reader = new FileReader()
     const content = data
     const blob = new Blob([content])
-    if ('download' in document.createElement('a')) {
-      const elink = document.createElement('a')
-      elink.download = filename
-      elink.style.display = 'none'
-      elink.href = URL.createObjectURL(blob)
-      document.body.appendChild(elink)
-      elink.click()
-      URL.revokeObjectURL(elink.href)
-      document.body.removeChild(elink)
-    } else {
-      navigator.msSaveBlob(blob, filename)
-    }
+    reader.addEventListener("loadend", () => {
+        // 将会打印json格式
+        if(data.type=='application/json'){
+          var res=JSON.parse(reader.result)
+          if(res.code===500){
+            Message({
+              message: res.msg,
+              type: 'error'
+            })
+          }
+        }else{
+
+          if ('download' in document.createElement('a')) {
+            const elink = document.createElement('a')
+            elink.download = filename
+            elink.style.display = 'none'
+            elink.href = URL.createObjectURL(blob)
+            document.body.appendChild(elink)
+            elink.click()
+            URL.revokeObjectURL(elink.href)
+            document.body.removeChild(elink)
+          } else {
+            navigator.msSaveBlob(blob, filename)
+          }
+        }
+    })
+     reader.readAsText(data, "utf-8")
+
+
+
+
+
   }).catch((r) => {
     console.error(r)
   })

+ 21 - 0
src/utils/ruoyi.js

@@ -80,6 +80,26 @@ export function selectDictLabel(datas, value) {
 	})
 	return actions.join('');
 }
+// 回显数据字典s
+export function selectDictLabelss(datas, value) {
+	var actions = [];
+  var njue  = []
+  njue = value.split(',')
+
+	Object.keys(datas).some((key) => {
+ // console.log(njue,34)
+    njue.filter(rou =>{
+      // console.log(rou,283)
+      // console.log(datas[key].value,28)
+      if (datas[key].value == rou) {
+      	actions.push(datas[key].label);
+      	return true;
+      }
+    })
+
+	})
+	return actions.join(',');
+}
 
 // 回显数据字典(字符串数组)
 export function selectDictLabels(datas, value, separator) {
@@ -96,6 +116,7 @@ export function selectDictLabels(datas, value, separator) {
 	return actions.join('').substring(0, actions.join('').length - 1);
 }
 
+
 // 通用下载方法
 export function download(fileName) {
 	window.location.href = baseURL + "/common/download?fileName=" + encodeURI(fileName) + "&delete=" + true;

+ 22 - 17
src/views/index.vue

@@ -37,13 +37,13 @@
             <panel-groupfour :chart-data="panelChartDatas" />
 
             <div class="nav_raetone"  style="width: 50%;">
-              <div class="nav_raetones">
-                <p >新增</p>
-                <p style=" color: #46D871; ">{{panelChartDatas.czxz}}</p>
+              <div class="nav_raetones" style="width: 60%;">
+                <p style="text-align: center;">新增</p>
+                <p style=" color: #46D871; text-align: center;">{{panelChartDatas.czxz}}</p>
               </div>
-              <div class="nav_raetoness">
-                <p>减少</p>
-                <p style=" color: #F52F2F;">{{panelChartDatas.czjs}}</p>
+              <div class="nav_raetoness" style="width: 40%;">
+                <p style="text-align: center;">减少</p>
+                <p style=" color: #F52F2F; text-align: center;">{{panelChartDatas.czjs}}</p>
               </div>
             </div>
             <p class="p"></p>
@@ -56,13 +56,13 @@
             </div>
             <panel-groupther :chart-data="panelChartDatas"  />
             <div class="nav_raetone"  style="width: 50%;">
-              <div class="nav_raetones">
-                <p>新增</p>
-                <p style=" color: #46D871; ">{{panelChartDatas.hjxz}}</p>
+              <div class="nav_raetones" style="width: 60%;">
+                <p style="text-align: center;">新增</p>
+                <p style=" color: #46D871; text-align: center; ">{{panelChartDatas.hjxz}}</p>
               </div>
-              <div class="nav_raetoness">
-                <p>减少</p>
-                <p style=" color: #F52F2F;">{{panelChartDatas.hjjs}}</p>
+              <div class="nav_raetoness" style="width: 40%;">
+                <p style="text-align: center;">减少</p>
+                <p style=" color: #F52F2F; text-align: center;">{{panelChartDatas.hjjs}}</p>
               </div>
             </div>
 
@@ -185,8 +185,13 @@ export default {
   mounted(){
    // this.yuanhaun(1)
    // this.tableList()
+
+
+
    // 折线
    this.zhexianList()
+
+
    // 雷达
    // this.leidaList()
    // 底部圆环
@@ -247,7 +252,7 @@ export default {
      listDevice().then(response => {
        this.tableData = response.data;
        // this.panelChartDatas = this.deviceIpOptions
-       
+
      });
    },
    // 户籍列表
@@ -383,7 +388,7 @@ p {
       color: #343434;
     }
     p:nth-child(2) {
-      font-size: 25px;
+      font-size: 20px;
       font-family: PingFang SC;
       font-weight: bold;
       color: #00a8ec;
@@ -408,7 +413,7 @@ p {
       color: #343434;
     }
     p:nth-child(2) {
-      font-size: 25px;
+      font-size: 20px;
       font-family: PingFang SC;
       font-weight: bold;
       color: #546fc6;
@@ -425,7 +430,7 @@ p {
     color: #343434;
   }
   p:nth-child(2) {
-    font-size: 25px;
+    font-size: 20px;
     font-family: PingFang SC;
     font-weight: bold;
     color: #50bd04;
@@ -494,7 +499,7 @@ p {
     color: #343434;
   }
   p:nth-child(2) {
-    font-size: 25px;
+    font-size: 20px;
     font-family: PingFang SC;
     font-weight: bold;
     color: #50bd04;

+ 11 - 4
src/views/login.vue

@@ -2,7 +2,7 @@
   <div class="login">
     <el-form ref="loginForm" :model="loginForm" :rules="loginRules" class="login-form">
       <img src="../assets/images/icon_dl_ewm@2x.png" v-if="stageType==1" @click="dhiwyrei" alt="" class="icon_rw">
-      <img src="../assets/images/icon_dl_madl@2x.png" v-if="stageType==2" alt="" @click="stageType=1" class="icon_mim">
+      <img src="../assets/images/icon_dl_madl@2x.png" v-if="stageType==2" alt="" @click="bkue" class="icon_mim">
       <h3 class="title"> 潜山市数据平台</h3>
       <!-- <div v-if="statusFlag==2">
         <div class="erw_img">
@@ -14,14 +14,16 @@
         </div>
       </div> -->
 	  <!-- 2 -->
+
 	  <div v-show="stageType==2" class="login-erw">
-      <h2 class="logerw_tit">
-        二维码快速登录
+      <h2 v-if="stageType==2" class="logerw_tit">
+        请使用<span style="color: red;">小程序中扫码登录功能</span>,扫码快速登录
       </h2>
       <p>请扫描下方的二维码</p>
       <p>安全登录,防止盗号</p>
       <div class="logerw_img" ref="qrCodeUrl">
       </div>
+
       <div class="ts_p" v-if="isInvalid">
         二维码已过期,请点击<span @click="getQecode">刷新</span>重试
       </div>
@@ -334,7 +336,12 @@
             });
           }
         });
-      }
+      },
+	  bkue(){
+		  this.stageType =1
+      clearInterval(this.setInStatus)
+	  }
+
     }
   };
 </script>

+ 4 - 4
src/views/system/bin/index.vue

@@ -6,22 +6,22 @@
 					<el-row>
 						<el-col :span="6">
 							<el-form-item label="身份证号" prop="idCard">
-								<el-input v-model="queryParams.idCard" placeholder="请输入身份证号码" style="width:200px;" clearable @keyup.enter.native="handleQuery" />
+								<el-input v-model="queryParams.idCard" placeholder="请输入身份证号码" style="width:185px;" clearable @keyup.enter.native="handleQuery" />
 							</el-form-item>
 						</el-col>
             <el-col :span="6">
             	<el-form-item label="姓名" prop="userName">
-            		<el-input v-model="queryParams.userName" placeholder="请输入姓名" style="width:200px;" clearable @keyup.enter.native="handleQuery" />
+            		<el-input v-model="queryParams.userName" placeholder="请输入姓名" style="width:185px;" clearable @keyup.enter.native="handleQuery" />
             	</el-form-item>
             </el-col>
 						<el-col :span="6">
 							<el-form-item label="联系号码" prop="phoneNum">
-								<el-input v-model="queryParams.phoneNum" placeholder="请输入联系号码" style="width:190px;"clearable @keyup.enter.native="handleQuery" />
+								<el-input v-model="queryParams.phoneNum" placeholder="请输入联系号码" style="width:185px;"clearable @keyup.enter.native="handleQuery" />
 							</el-form-item>
 						</el-col>
             <el-col :span="6">
             	<el-form-item label="年龄阶段" >
-            		<el-select v-model="queryParams.params.age" placeholder="年龄阶段" style="width:190px;" clearable>
+            		<el-select v-model="queryParams.params.age" placeholder="年龄阶段" style="width:178px;" clearable>
             			<el-option v-for="dict in angesList" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
             		</el-select>
             	</el-form-item>

File diff suppressed because it is too large
+ 438 - 299
src/views/system/claim/index.vue


+ 2949 - 0
src/views/system/coming/index.vue

@@ -0,0 +1,2949 @@
+<template>
+	<div class="app-container">
+
+		<el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch" label-width="70px">
+			<el-row>
+        <el-col :span="24">
+        	<el-row>
+        		<el-col :span="14" class="jehak">
+              <el-col :span="12">
+              	<el-form-item label="身份证号" prop="sfzhm">
+              		<el-input v-model="queryParams.sfzhm" placeholder="请输入身份证号码" style="width:220px;" clearable @keyup.enter.native="handleQuery" />
+              	</el-form-item>
+              </el-col>
+
+               <el-col :span="12">
+                 <el-form-item label="姓名" prop="name">
+                 	<el-input v-model="queryParams.name" placeholder="请输入姓名" style="width:220px;" clearable @keyup.enter.native="handleQuery" />
+                 </el-form-item>
+
+               </el-col>
+
+        		</el-col>
+            <el-col :span="10" >
+              <el-form-item label="区域查询" prop="villagerGroup">
+                <el-cascader
+                	placeholder="点击选择区域"
+                	:options="optionsList"
+                	filterable
+                	@change="chahetwos"
+                	:props="optionPropsssd"
+                	style="width: 168%;"
+                	@keyup.enter.native="handleQuery"
+                  ref = "cdd"
+                  v-model="listd"
+                  @active-item-change="handleItemChangefr"
+                ></el-cascader>
+                <!-- optionPropsssd  optionPropsss-->
+              </el-form-item>
+            </el-col>
+
+        	</el-row>
+        </el-col>
+				<el-col :span="24">
+					<el-row>
+
+            <el-col :span="7">
+            	<el-form-item label="开始时间" prop="djsjqs">
+            		<el-date-picker
+            			clearable
+            			v-model="queryParams.djsjqs"
+            			type="datetime"
+            			value-format="yyyy-MM-dd HH:mm:ss"
+            			format="yyyy-MM-dd HH:mm:ss"
+            			placeholder="选择开始时间"
+            			style="width: 220px;"
+            		></el-date-picker>
+            	</el-form-item>
+            </el-col>
+            <el-col :span="7">
+            	<el-form-item label="结束时间" prop="djsjjs">
+            	<el-date-picker
+            		clearable
+            		v-model="queryParams.djsjjs"
+            		type="datetime"
+            		value-format="yyyy-MM-dd HH:mm:ss"
+            		format="yyyy-MM-dd HH:mm:ss"
+            		placeholder="选择结束时间"
+            		style="width: 220px;"
+            	></el-date-picker>
+            	</el-form-item>
+            </el-col>
+
+           <el-col :span="4" >
+           	<el-form-item>
+           		<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
+           		<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
+           	</el-form-item>
+           </el-col>
+					</el-row>
+				</el-col>
+				<el-col :span="24">
+					<el-row>
+
+
+					</el-row>
+				</el-col>
+			</el-row>
+		</el-form>
+
+		<el-row :gutter="10" class="mb8">
+			<!-- <el-col :span="1.5"><el-button type="primary" plain icon="el-icon-plus" size="mini" @click="handleAdd(0)" >新增户主</el-button></el-col> -->
+			<el-col :span="1.5">
+				<!-- <el-button type="success" plain icon="el-icon-edit" size="mini" :disabled="single" @click="handleUpdate" >修改</el-button> -->
+			</el-col>
+			<el-col :span="1.5">
+			<!-- 	<el-button type="danger" plain icon="el-icon-edit" size="mini" :disabled="multiple" @click="handleDelete" >变更</el-button> -->
+			</el-col>
+      <el-col :span="1.5">
+      	<!-- <el-button type="success" plain icon="el-icon-download" size="mini"  @click="handleDeleteda" >下载模板</el-button> -->
+      </el-col>
+      <el-col :span="1.5" v-if="queryParams.status == 4">
+        <el-button
+          type="info"
+          plain
+          icon="el-icon-upload2"
+          size="mini"
+          @click="handleImport"
+          v-hasPermi="['system:czrk:importData']"
+        >导入</el-button>
+      </el-col>
+      <el-col :span="1.5" v-for="(ietm,index) in jbuttomfs" :key="index">
+                  	<el-button type="primary" :plain="nhslke == ietm.dictValue ? false :true" icon="el-icon-view" size="mini"  @click="chajnd(ietm.dictValue)" >{{'查看' + ietm.dictLabel + '人口信息'}}</el-button>
+            </el-col>
+      <!-- <el-col :span="1.5">
+      	<el-button type="primary" :plain="nhykis" icon="el-icon-view" size="mini"  @click="chajnd" >查看常住人口信息</el-button>
+      </el-col>
+      <el-col :span="1.5">
+      	<el-button type="primary" :plain="nhyki" icon="el-icon-view" size="mini"  @click="chajnds" >查看户籍人口信息</el-button>
+      </el-col> -->
+
+			<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
+		</el-row>
+
+		<el-table  v-if="nbdgywkajs == true"   v-loading="loading" :data="infoList" @selection-change="handleSelectionChange" stripe style="width: 100%" :height="tableMaxHeight">
+			<el-table-column label="姓名" align="center" fixed prop="hi_name"   width="110"/>
+      <el-table-column label="性别" align="center" prop="sex"   width="80"/>
+			<el-table-column label="联系方式" align="center" prop="hi_phone" width="110" />
+			<el-table-column label="身份证号码" align="center" prop="SFZ_ID" width="180" />
+      <el-table-column label="风险等级" align="center" prop="risk_lv" width="102">
+        <template slot-scope="scope">
+                 <div :class="[scope.row.risk_lv == '低风险' ? 'njs' : scope.row.risk_lv == '中风险' ? 'nmk' : 'nmj']" >   {{scope.row.risk_lv == null? '暂无数据' : scope.row.risk_lv }}            </div>
+        </template>
+      </el-table-column>
+      <el-table-column label="登记时间" align="center" prop="hi_date" width="102" />
+      <el-table-column label="目的地" align="center" prop="address" width="102" />
+      <el-table-column label="目的地—-区县" align="center" prop="hi_destination_area" width="120" />
+      <el-table-column label="目的地—街道" align="center" prop="hi_destination_street" width="102" />
+      <el-table-column label="目的地—居委会" align="center" prop="hi_destination_rc" width="120" />
+       <el-table-column label="详细地址" align="center" prop="hi_adress" width="140" />
+      <el-table-column label="来源地 省份" align="center" prop="SHENG" width="102" />
+       <el-table-column label="来源地 城市" align="center" prop="SHI" width="102" />
+        <el-table-column label="来源地 区县" align="center" prop="QU" width="102" />
+         <el-table-column label="来源地-风险等级" align="center" prop="FXDJ_LY" width="120" >
+           <template slot-scope="scope">
+                    <div :class="[scope.row.FXDJ_LY == '低风险地区来宜' ? 'njs' : scope.row.FXDJ_LY == '中风险地区来宜' ? 'nmk' : 'nmj']" >   {{scope.row.FXDJ_LY == null? '暂无数据' : scope.row.FXDJ_LY }}            </div>
+           </template>
+           </el-table-column>
+
+
+		</el-table>
+
+
+<!-- v-loading="loading" -->
+		<!-- 添加或修改疫苗信息对话框 -->
+
+		<el-dialog   :title="title" :visible.sync="opens" width="1240px" append-to-body>
+			<el-form ref="form" :model="form" :rules="rules" label-width="100px">
+				<el-row>
+					<el-col :span="8">
+						<el-form-item label="身份证号" prop="idCard"><el-input v-model="form.idCard" placeholder="请输入身份证号码" @blur="idcde" /></el-form-item>
+					</el-col>
+					<el-col :span="8">
+						<el-form-item label="姓名" prop="userName"><el-input v-model="form.userName" placeholder="请输入姓名" /></el-form-item>
+					</el-col>
+					<el-col :span="8">
+						<el-form-item label="性别" prop="gender">
+
+							<!-- <el-input v-model="form.gender" placeholder="请输入性别" /> -->
+
+							<el-select v-model="form.gender" placeholder="性别" clearable style="width: 100%;">
+								<el-option v-for="dict in statusOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
+							</el-select>
+						</el-form-item>
+					</el-col>
+					<el-col :span="24">
+						<el-row>
+							<el-col :span="8">
+								<el-form-item label="联系号码" prop="phoneNum"><el-input v-model="form.phoneNum" placeholder="请输入联系号码" /></el-form-item>
+							</el-col>
+							<el-col :span="8">
+								<el-form-item label="人员分类" prop="keyIndustries">
+									<el-select v-model="form.keyIndustries" placeholder="人员分类" clearable style="width: 100%;">
+										<el-option v-for="dict in typeOptionsname" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
+									</el-select>
+								</el-form-item>
+							</el-col>
+							<el-col :span="8">
+								<el-form-item label="年龄" prop="age"><el-input type="number" v-model="form.age" placeholder="请输入年龄" /></el-form-item>
+							</el-col>
+						</el-row>
+					</el-col>
+
+          <el-col :span="24">
+          	<el-row>
+          		<el-col  :span="12" style="position: relative;">
+               <span style="position: absolute;top:5px; color: red;left:25px;">*</span>
+          			<el-form-item label="户籍地址" >
+
+                  <!-- prop="provinceId" -->
+          				<!-- <el-input v-model="form.villageTowns" type="textarea" placeholder="请输入内容" /> -->
+          				<!-- <treeselect v-model="form.parentId" :options="deptOptionstwo" :normalizer="normalizer" :flat="true" :maxHeight="150" @select="djieskle"  @close = "nhyu" :placeholder="nhdyesfgh" /> -->
+          				<el-cascader
+                  v-if="nhyesfx"
+          					:placeholder="nhdyesfgh"
+          					:options="optionsLists"
+          					separator="/"
+                    v-model="nhyeswdga.nhus"
+          					@change="chahe"
+          					:props="optionPropsss"
+          					style="width: 100%;"
+          					ref="myCascader"
+
+                    @active-item-change="handleItemChanges"
+                    :class="[nhdyesfgh == '点击选择户籍地址' ? '' : 'placf']"
+          				></el-cascader>
+                  <!-- @click.native="clicks" -->
+                  <!-- :popper-class="'cascader' + id" -->
+
+
+<!-- @active-item-change="handleItemChanges" -->
+
+
+                  <!-- <el-cascader
+                  	:placeholder="nhdyesfgh"
+                  	:options="optionsList"
+                  	:filterable="true"
+                  	separator="/"
+                  	@change="chahe(index)"
+                  	v-model="selected"
+                  	:props="optionPropsss"
+                  	style="width: 100%;"
+                  	ref="myCascader"
+                    @active-item-change="handleItemChange"
+                    :class="[nhdyesfgh == '点击选择居住地址' ? '' : 'placf']"
+                  ></el-cascader> -->
+          			</el-form-item>
+
+          		</el-col>
+
+          		<el-col :span="12">
+          			<el-form-item label="详细地址" prop="nowIn"><el-input v-model="form.nowIn" type="input" placeholder="请输入户籍详细地址" /></el-form-item>
+          		</el-col>
+          	</el-row>
+          </el-col>
+
+					<el-col :span="24" v-for="(item, index) in form.czrkJzdzList" :key="index"  v-show="senlsduea == false || index !== 0" >
+            <!-- v-show="senlsduea == false || index !== 0" -->
+            <el-col :span="12" >
+            	<el-form-item label="居住地址" prop="province">
+
+                <!-- item.optiodne -->
+                <el-cascader
+                	:placeholder="item.plaed"
+                	:options="item.optiodne"
+                	:filterable="true"
+                	separator="/"
+                	@change="onSelected(index)"
+                	:props="optionPropsss"
+                	style="width: 100%;"
+                	:ref="'myCascaderf' + '' + index "
+                  v-model="item.seleted"
+                  :key="cascaderKey"
+                  @expand-change="idjeus"
+                  :class="[item.plaed == '请选择居住地址' ? '' : 'placf']"
+                  @active-item-change="handleItemChange"
+                ></el-cascader>
+                <!-- @click.native="click(index)"
+                :popper-class="'cascader' + idsf" -->
+                <!-- @active-item-change="handleItemChange" -->
+
+                <!-- v-if="jdourdjoaj == false && index == 0" -->
+
+                <!-- <treeselect v-model="item.seleted" :options="item.optiodne" :show-count="true" placeholder="请选择归属部门" :load-options="loadOptions" :normalizer="normalizer" /> -->
+                </el-form-item>
+                 <!-- @active-item-change="handleItemChange" -->
+            	</el-form-item>
+              <!-- :key="cascaderKey"  seleted -->
+
+            </el-col>
+            <el-col :span="11">
+            	<el-form-item label="详细地址" prop="nowIn"><el-input v-model="item.nowIn" type="input" placeholder="请输入内容" /></el-form-item>
+            </el-col>
+            <el-col :span="1">
+              <div class="hyeoa" style="margin-top: 10px;">
+              	 <el-tooltip class="item" effect="dark" content="新增居住地址信息,请慎重操作" placement="top-start">
+              	      <img src="../../../assets/images/icon_tc_add.png" alt="" class="hueyde" @click="tijea(index)" />
+              	    </el-tooltip>
+              		<el-tooltip class="item" effect="dark" content="删除无法恢复,请慎重操作" placement="top-start">
+              		     <img src="../../../assets/images/delei.png" alt="" class="hueydele" @click="naeyrfakjf(index, item)" />
+              		   </el-tooltip>
+              </div>
+            </el-col>
+          </el-col>
+
+					<el-col :span="24">
+						<el-col :span="12">
+							<el-form-item label="是否户主" prop="houseType">
+								<el-select v-model="form.houseType" placeholder="是否户主" clearable style="width: 100%;"  @change="changese">
+									<el-option v-for="dict in typeOptionshuuj" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
+								</el-select>
+							</el-form-item>
+						</el-col>
+						<el-col :span="12">
+              <el-tooltip class="item" effect="dark" content="如果不知道户编号,请用户主身份证号(已默认是户主身份证号)" placement="top-start">
+							<el-form-item label="户编号" prop="code">
+							<el-input      v-model="form.code" placeholder="请输入户主编号"/>
+              <!-- :disabled="nhe" -->
+							</el-form-item>
+              </el-tooltip>
+						</el-col>
+					</el-col>
+
+
+          <el-col :span="24" v-if="shifouh == false">
+          	<el-col :span="12">
+          		<el-form-item label="户主名称" >
+          			<el-input      v-model="form.hzName" placeholder="请输入户主名称"/>
+          		</el-form-item>
+          	</el-col>
+          	<el-col :span="12">
+
+          		<el-form-item label="户主身份证" prop="hzIdCard">
+          		<el-input      v-model="form.hzIdCard" placeholder="请输入户主身份证"/>
+              <!-- :disabled="nhe" -->
+          		</el-form-item>
+
+          	</el-col>
+          </el-col>
+
+
+          <el-col :span="24">
+            <el-col :span="12">
+                <el-form-item label="与户主关系" prop="yhzgx">
+                	<el-select filterable v-model="form.yhzgx" placeholder="与户主关系" clearable style="width: 100%;">
+                		<el-option v-for="dict in typeOptionstyzandeh" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictLabel" />
+                	</el-select>
+                </el-form-item>
+            </el-col>
+            <el-col :span="12">
+            	<el-form-item label="网格" prop="houseTyper">
+            		<el-cascader
+            			:placeholder="ndhesdweaf"
+            			:options="optionsListwg"
+            			filterable
+            			@change="chahetwoswge"
+            			:props="optionPropsssdwg"
+            			style="width: 100%;"
+            		  ref = "cddfr"
+                  :key="nhduesw"
+            		  @active-item-change="handleItemChangefrwg"
+                  :class="[ndhesdweaf == '点击选择网格' ? '' : 'placf']"
+            		></el-cascader>
+            	</el-form-item>
+            </el-col>
+          </el-col>
+
+          <el-col :span="24">
+            <el-col :span="12">
+              <el-form-item label="备注" prop="remark">
+              	<el-input v-model="form.remark" type="input" placeholder="请输入备注" />
+              </el-form-item>
+            </el-col>
+            <el-col :span="12">
+                <el-form-item label="人员状态" prop="remark">
+                	<el-select v-model="formgt.houseType" placeholder="请选择人员状态" clearable style="width: 100%;">
+                		<el-option v-for="dict in typeOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
+                	</el-select>
+                </el-form-item>
+            </el-col>
+
+          </el-col>
+
+				</el-row>
+
+			</el-form>
+			<div slot="footer" class="dialog-footer">
+        <el-button type="success" @click="xinxihe" v-if="nhtrew">修改并确认</el-button>
+				<el-button type="primary" @click="submitForm">确 定</el-button>
+				<el-button @click="cancel">取 消</el-button>
+			</div>
+		</el-dialog>
+
+
+
+
+
+
+    <!-- 导入对话框 -->
+    <el-dialog :close-on-click-modal="false" :title="upload.title" :visible.sync="upload.open" width="400px" append-to-body>
+      <el-upload
+        ref="upload"
+        :limit="1"
+        accept=".xlsx, .xls"
+        :headers="upload.headers"
+        :action="upload.url + '?source=' + upload.source"
+        :disabled="upload.isUploading"
+        :on-progress="handleFileUploadProgress"
+        :on-success="handleFileSuccess"
+        :auto-upload="false"
+        drag
+      >
+        <i class="el-icon-upload"></i>
+        <div class="el-upload__text">
+          将文件拖到此处,或
+          <em>点击上传</em>
+        </div>
+        <div class="el-upload__tip" slot="tip">
+          <div class="nhkhv">
+            <span><i>*</i>数据来源:</span>
+            <el-select v-model="upload.source" placeholder="请选择数据来源"    style="width: 100%;">
+            	<el-option v-for="dict in typeOptionstimesgt" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
+            </el-select>
+          </div>
+          <el-link type="info" style="font-size:12px" @click="importTemplate">下载模板</el-link>
+        </div>
+        <div class="el-upload__tip" style="color:red" slot="tip">提示:仅允许导入“xls”或“xlsx”格式文件!</div>
+      </el-upload>
+      <div slot="footer" class="dialog-footer">
+        <el-button type="primary" @click="submitFileForm">确 定</el-button>
+        <el-button @click="nske">取 消</el-button>
+      </div>
+    </el-dialog>
+	</div>
+</template>
+
+<script>
+import { listInfo, listInfos, getInfo, delInfo, addInfo, updateInfo, exportInfo, listRoleer, idces, delInfort,yiaoe,exportConfig,exportConfigtyr,importLog,listInfotj,listRoleergth,listInfotjxz,listInfotjjs,listInfotjjsfaml,listRoleergthwg,listInfotjjssbule,listInfotjjssquer } from '@/api/system/coming';
+import {listInfosls} from '@/api/system/residentss';
+// import { treeselect } from '@/api/system/dept';
+import { treeselect,treeselectdepts } from "@/api/system/dept";
+import Treeselect from '@riophae/vue-treeselect';
+import { getToken } from '@/utils/auth';
+import '@riophae/vue-treeselect/dist/vue-treeselect.css';
+import "@riophae/vue-treeselect/dist/vue-treeselect.css";
+export default {
+	name: 'Info',
+	components: { Treeselect },
+	data() {
+		return {
+			// 遮罩层
+			loading: true,
+			// 选中数组
+			ids: [],
+			// 非单个禁用
+			single: true,
+			// 非多个禁用
+			multiple: true,
+			// 显示搜索条件
+			showSearch: true,
+			// 总条数
+			total: 0,
+      id:'fg',
+      idsf:'gh',
+      ruleshy:{},
+			// 疫苗信息表格数据
+			infoList: [],
+			dialogImageUrl: '',
+      // 用户导入参数
+      upload: {
+        // 是否显示弹出层(用户导入)
+        open: false,
+        // 弹出层标题(用户导入)
+        title: "",
+        // 是否禁用上传
+        isUploading: false,
+        // 是否更新已经存在的用户数据
+        source: null,
+        // 设置上传的请求头部
+        headers: { Authorization: "Bearer " + getToken() },
+        // 上传的地址
+        url: process.env.VUE_APP_BASE_API + "/boman-web-core/core/czrk/importData"
+      },
+			// 弹出层标题
+			title: '',
+      totalfr:0,
+			// 是否显示弹出层
+			opens: false,
+			process: process.env.VUE_APP_BASE_API,
+			// 查询参数
+			queryParams: {
+				name:null,
+        rc:null,
+        djsjqs:null,
+        djsjjs:null,
+        sfzhm:null
+			},
+			config: [],
+      nhyeswdga:{nhus:[]},
+			comfietg:[],
+			configther:[],
+			configfor:[],
+      optionsListwg:[],
+      nhduesw:0,
+      nhslke:'3',
+			// 表单参数
+			form: {
+				nowIn: '',
+				age:'',
+				code:'',
+				czrkJzdzList: [
+					{
+						provinceId: '',
+						province: '',
+						deptId: '',
+						cityId: '',
+						city: '',
+						regionId:'',
+            region: '',
+            townId: '',
+            town: '',
+            villageId: '',
+            village: '',
+            nowIn:'',
+            seleted:[],
+            plaed:'请选择居住地址',
+            optiodne:[],
+						disableg:false
+					},
+          {
+          	provinceId: '',
+          	province: '',
+          	deptId: '',
+          	cityId: '',
+          	city: '',
+          	regionId:'',
+            region: '',
+            townId: '',
+            town: '',
+            villageId: '',
+            village: '',
+            nowIn:'',
+            seleted:[],
+            plaed:'请选择居住地址',
+            optiodne:[],
+          	disableg:false
+          }
+				]
+			},
+      nhykis:true,
+      nhyki:false,
+			// 表单校验
+			rules: {
+				idCard: [{ required: true, message: '身份证号码不能为空', trigger: 'blur' }],
+				userName: [{ required: true, message: '姓名不能为空', trigger: 'blur' }],
+				provinceId:[{ required: true, message: '户籍地址不能为空或不能只选潜山市', trigger: 'blur' }],
+        houseType:[{ required: true, message: '请选择户主', trigger: 'blur' }],
+        code:[{ required: true, message: '请输入户编号信息', trigger: 'blur' }],
+        yhzgx:[{ required: true, message: '请选择与户主关系', trigger: 'blur' }],
+      },
+      // yhzgx:[{ required: true, message: '请选择与户主关系', trigger: 'blur' }],
+			selected: [],
+			selectedtwo: [],
+			statusOptions: [
+				{
+					dictValue: '女',
+					dictLabel: '女'
+				},
+				{
+					dictValue: '男',
+					dictLabel: '男'
+				}
+			],
+			statusOptionstue: [
+				{
+					dictValue: '已完成',
+					dictLabel: '已完成'
+				},
+				{
+					dictValue: '未完成',
+					dictLabel: '未完成'
+				}
+			],
+			typeOptionshuuj: [
+				{
+					dictValue: '是',
+					dictLabel: '是'
+				},
+				{
+					dictValue: '否',
+					dictLabel: '否'
+				}
+			],
+      typeOptionshuujs: [
+      	{
+      		dictValue: 'Y',
+      		dictLabel: '是'
+      	},
+      	{
+      		dictValue: 'N',
+      		dictLabel: '否'
+      	}
+      ],
+			deptOptionstwo: [],
+			options: [],
+      optionss:[],
+      optionsList: [],
+			optionProps: {
+				value: 'areaId',
+				label: 'name',
+				checkStrictly: true,
+			},
+      optionPropsssd:{
+        value: 'areaId',
+        label: 'name',
+        checkStrictly: true,
+        lazy: true,
+        lazyLoad: this.lazyLoads,
+        leaf: "leaf"
+      },
+      optionPropsss: {
+      	value: 'areaId',
+      	label: 'name',
+      	checkStrictly: true,
+      },
+      // optionPropsss: {
+      // 	value: 'id',
+      // 	label: 'label',
+      // 	checkStrictly: true,
+      // },
+      optionPropsssdwg:{
+        value: 'id',
+        label: 'areaName',
+        checkStrictly: true,
+      },
+			optionPropstwo: {
+				value: 'id',
+				label: 'label',
+				children: 'children',
+				checkStrictly: true
+			},
+			heuiq: [],
+			typeOptions: [],
+			typeOptionsty: [
+				{
+					dictValue: '是',
+					dictLabel: '是'
+				},
+				{
+					dictValue: '否',
+					dictLabel: '否'
+				}
+			],
+			typeOptionstyzandeh:[],
+			angesList: [
+
+			],
+			typeOptionsname: [],
+			typeOptionstimes: [],
+			typeOptionsvaccinatio: [],
+			typeOptionscont: [],
+			typeOptionscontty: [],
+			typeOptionscontqit:[],
+			// 剂次
+			typeOptionstimesgt: [
+
+			],
+			imashow: false,
+			naneme: false,
+			shouwes: false,
+			shouwestwo:false,
+			villageTownshy: undefined,
+			naiseurya: '',
+			hsuej: '',
+			jdourdjoaj: false,
+      senlsduea:false,
+			jiezhong: false,
+			jiezheList: [],
+			fireLise:{config:[]},
+			nameutaiL:0,
+			jue:false,
+			nhue:true,
+      exportflag:true,
+      errorlog:false,
+      errorList:[],
+      idfer:0,
+      formgt:{},
+      list: [],
+      listd:[],
+      lser:[],
+      ndhesdweaf :'点击选择网格',
+      dneyhsd:{},
+      nhdyesfgh:'点击选择户籍地址',
+      nhe:false,
+      nhyesoder:0,
+      ndhuwosdjh:{
+        pageNum: 1,
+        pageSize: 10,
+      },
+      tableMaxHeight:300,
+      cascaderKey:0,
+      optionsLists:[],
+      nhyeojd:false,
+      ndhyuewkg:[],
+      nhdyesku:false,
+      nbdgywkajs:false,
+      shifouh:true,
+      bhdes:{},
+      nhtrew:false,
+      bgtes:[],
+      ndheysfs:false,
+      nhyesaw:1,
+      nhyesfx:false,
+      jbuttomfs:[],
+      biangneg:false,
+      bgls:[],
+      pighomeList:[]
+		};
+	},
+	created() {
+    this.queryParams.djsjjs = this.ShowDate('-1')
+    this.queryParams.djsjqs = this.ShowDate('0')
+		this.getList();
+		// this.getTreeselectjue();
+    this.mnyesfjer(0)
+    // this.mnyesfjers(0)
+    // this.mnyesfjerop(0)
+
+    this.mnyesfjeropwg(0)
+
+    // this.getTreeselectjuetj()
+    // this.getTreeselect()
+		// 变更原因
+		// this.getDicts('person_type').then(response => {
+		// 	this.typeOptions = response.data;
+  //     // this.jbuttomfs = response.data
+		// });
+    // this.getDicts('people_status').then(response => {
+    // 	// this.typeOptions = response.data;
+    //   this.jbuttomfs = response.data
+    // });
+		// 疫苗名称
+		// this.getDicts('renyuanfenlei').then(response => {
+		// 	this.typeOptionsname = response.data;
+		// });
+
+    // 与户主关系
+    // this.getDicts('yuhuzhuguanxi').then(response => {
+    // 	this.typeOptionstyzandeh = response.data;
+    // });
+
+		// 年龄阶段
+		// this.getDicts('age_interval').then(response => {
+		// 	this.angesList = response.data;
+		// });
+
+		// this.form.province = this.selected[0];
+		// this.form.city = this.selected[1];
+		// this.form.region = this.selected[2];
+		console.log(this.selected,456)
+    console.log(this.cascaderKey,347)
+		// this.queryParams.province = this.selectedtwo[0];
+		// this.queryParams.city = this.selectedtwo[1];
+		// this.queryParams.region = this.selectedtwo[2];
+		// this.naiseurya = this.form.province + this.form.city + this.form.region;
+    window.onresize = () => {
+                    this.changeTableMaxHeight()
+                  }
+                  this.changeTableMaxHeight()
+
+
+	},
+	mounted() {
+		console.log(136)
+    window.onresize = () => {
+                    this.changeTableMaxHeight()
+                  }
+                  this.changeTableMaxHeight()
+	},
+
+	methods: {
+    //  获取猪舍
+    homeNameFormat(row, column) {
+      return this.selectDictLabel(this.typeOptions,row.status);
+      },
+    // 筛选节点
+    filterNode(value, data) {
+      if (!value) return true;
+      return data.name.indexOf(value) !== -1;
+    },
+    nhyeosdsef(){
+     console.log(234)
+    },
+    /** 转换菜单数据结构 */
+    normalizer(node) {
+      if (node.children && !node.children.length) {
+        delete node.children;
+      }
+      return {
+        id: node.id,
+        label: node.label,
+        children: node.children
+      };
+    },
+    /** 初始化下拉框数据 **/
+        getRootModels() {
+           //初始化数据 只加载根节点
+           listRoleergth('0').then(response => {
+             // for(let index of response.data){
+             //   let modeInfo = {} ;
+             //   modeInfo.id = index.id
+             //   modeInfo.label = index.name;
+             //   modeInfo.children = null;
+             //   this.rootOptions.push(modeInfo);
+             // }
+             for(var i = 0 ; i < this.form.czrkJzdzList.length ; i++){
+               // this.nameutaiL = i
+               // this.mnyesfjerty(0)
+               this.form.czrkJzdzList[i].optiodne.push(response.data)
+             }
+           });
+         },
+    /** 加载子节点数据 **/
+         loadOptions({ action, parentNode, callback }){
+           console.log(action,125)
+           if (action === "LOAD_CHILDREN_OPTIONS") {
+           	  //加载点击节点的 子节点
+              var ndhes = {}
+              ndhes.pid = parentNode.areaId
+              listRoleergth(ndhes).then(response => {
+                let arr = [];
+                arr = response.data
+                // for(let index of response.data){
+                //   let chiledModeInfo = {} ;
+                //   chiledModeInfo.id = index.id
+                //   chiledModeInfo.label = index.name;
+                //   chiledModeInfo.children = null;
+                //   arr.push(chiledModeInfo);
+                // }
+                parentNode.children = arr;
+              });
+              callback();
+            }
+         },
+
+		onSelected(data,val) {
+			console.log(data, 125);
+      if(this.opens == false){
+        return  false
+      }
+      this.nameutaiL = data
+      // console.log(this.nameutaiL,76543)
+      // console.log(this.form.czrkJzdzList[data].seleted)
+      // console.log(this.$refs['myCascaderf' + '' + data],123)
+      // console.log(this.$refs['myCascaderf' + '' + data][0].$refs.panel.checkedValue,data)
+      // console.log(this.$refs['myCascaderf' + '' + data][0].getCheckedNodes()[0].pathLabels)
+
+      // if(data !== 0){
+      //   if(this.nhyeojd = true){
+      //     this.$refs['myCascaderf' + '' + this.nameutaiL][0].$refs.panel.clearCheckedNodes()
+      //   }
+      // }
+      // var nhedse = []
+      // nhedse = this.$refs['myCascaderf']
+      // if(nhedse.length > 1){
+      //   this.$refs['myCascaderf'] = this.$refs['myCascaderf'][0];
+      //   console.log(this.$refs['myCascaderf'],133)
+      //   // for(var i = 0 ; i < nhedse.length; i++){
+      //   //   if(i == 0){
+      //   //     this.$refs['myCascaderf'][0].$refs.panel.clearCheckedNodes()
+      //   //   }
+      //   // }
+      // }
+   //    this.$refs['myCascaderf'][0].$refs.panel.checkedValue =  this.form.czrkJzdzList[data].seleted
+   //    console.log(this.$refs['myCascaderf'][0].$refs.panel.checkedValue,data)
+   //    console.log(this.$refs['myCascaderf'][0].getCheckedNodes()[0].pathLabels)
+      this.nhyeojd = false
+      // this.nhdyesku = false
+			// province
+      let nhdye = []
+      nhdye = this.$refs['myCascaderf' + '' + data][0].getCheckedNodes()[0].pathLabels
+      let nhyhe = []
+      nhyhe = this.form.czrkJzdzList[data].seleted
+      if(nhdye.length == 1){
+        this.form.czrkJzdzList[data].provinceId = nhyhe[ nhyhe.length - 1];
+        this.form.czrkJzdzList[data].province = nhdye[ nhdye.length - 1];
+        this.form.czrkJzdzList[data].cityId = null
+        this.form.czrkJzdzList[data].city = null
+        this.form.czrkJzdzList[data].regionId = null
+        this.form.czrkJzdzList[data].region = null
+        this.form.czrkJzdzList[data].townId = null
+        this.form.czrkJzdzList[data].town = null
+        this.form.czrkJzdzList[data].villageId = null
+        this.form.czrkJzdzList[data].village = null
+      }else if(nhdye.length == 2){
+        this.form.czrkJzdzList[data].cityId = nhyhe[ nhyhe.length - 1];
+        this.form.czrkJzdzList[data].city = nhdye[ nhdye.length - 1];
+        this.form.czrkJzdzList[data].regionId = null
+        this.form.czrkJzdzList[data].region = null
+        this.form.czrkJzdzList[data].townId = null
+        this.form.czrkJzdzList[data].town = null
+        this.form.czrkJzdzList[data].villageId = null
+        this.form.czrkJzdzList[data].village = null
+      }else if(nhdye.length == 3){
+        this.form.czrkJzdzList[data].regionId = nhyhe[ nhyhe.length - 1];
+        this.form.czrkJzdzList[data].region = nhdye[ nhdye.length - 1];
+        this.form.czrkJzdzList[data].townId = null
+        this.form.czrkJzdzList[data].town = null
+        this.form.czrkJzdzList[data].villageId = null
+        this.form.czrkJzdzList[data].village = null
+      }else if(nhdye.length == 4){
+        this.form.czrkJzdzList[data].townId = nhyhe[ nhyhe.length - 1];
+        this.form.czrkJzdzList[data].town = nhdye[ nhdye.length - 1];
+        this.form.czrkJzdzList[data].villageId = null
+        this.form.czrkJzdzList[data].village = null
+      }else if(nhdye.length == 5){
+        this.form.czrkJzdzList[data].villageId = nhyhe[ nhyhe.length - 1];
+        this.form.czrkJzdzList[data].village = nhdye[ nhdye.length - 1];
+      }
+     this.form.czrkJzdzList[data].deptId =  nhyhe[ nhyhe.length - 1]
+      // id
+			// this.form.province = data[0];
+			// this.form.city = data[1];
+			// this.form.region = data[2];
+      // 名称
+			// this.naiseurya = this.form.province + this.form.city + this.form.region;
+			// if (this.jdourdjoaj == false) {
+			// 	// 修改
+			// 	this.form.nowIn = '';
+			// }
+			// this.form.nowIn = undefined
+			// this.form.villageTowns = data[3]
+      console.log(this.form)
+		},
+		dakousr() {
+			console.log(2345);
+		},
+    mnyesfjer(index,val){
+      this.loading = true;
+      let pids = {}
+      pids.pid = index
+      listRoleergth(pids).then(response => {
+        // this.cascaderKey = this.cascaderKey + 1
+        if(response.data.length == 0){
+          return
+        }
+        if(val !== undefined){
+          this.nameutaiL = val
+        }
+         console.log(this.nameutaiL,87)
+      	this.form.czrkJzdzList[this.nameutaiL].optiodne = this.handleData(response.data);
+        this.optionsLists = this.handleData(response.data);
+        this.optionsList = this.handleData(response.data);
+        // this.form.czrkJzdzList[0].optiodne
+      	this.loading = false;
+        console.log(this.cascaderKey,8765)
+      });
+    },
+    mnyesfjerty(index,val){
+      this.loading = true;
+      let pids = {}
+      pids.pid = index
+      listRoleergth(pids).then(response => {
+        // this.cascaderKey = this.cascaderKey + 1
+        if(response.data.length == 0){
+          return false
+        }
+        for(var i = 0 ; i < this.form.czrkJzdzList.length ; i++){
+          // this.nameutaiL = i
+          // this.mnyesfjerty(0)
+          console.log(i,7528)
+          this.form.czrkJzdzList[i].optiodne = this.handleData(response.data);
+        }
+
+        // this.form.czrkJzdzList[0].optiodne
+      	this.loading = false;
+        console.log(this.cascaderKey,8765)
+      });
+    },
+
+    mnyesfjerop(index){
+      this.loading = true;
+      let pids = {}
+      pids.pid = index
+      listRoleergth(pids).then(response => {
+      	this.optionsList = this.handleData(response.data);
+      	this.loading = false;
+      });
+    },
+
+    mnyesfjeropwg(index){
+      this.loading = true;
+      let pids = {}
+      pids.pid= index
+      listRoleergthwg(pids).then(response => {
+      	this.optionsListwg = this.handleDatawg(response.data);
+      	this.loading = false;
+      });
+    },
+    mnyesfjers(index){
+      this.loading = true;
+      let pids = {}
+      pids.pid = index
+      listRoleergth(pids).then(response => {
+        // this.cascaderKey = this.cascaderKey + 1
+        if(response.data.length == 0){
+          return
+        }
+      	this.optionsLists = this.handleData(response.data);
+      	this.loading = false;
+        console.log(this.cascaderKey,8765)
+      });
+    },
+   idjeus(data){
+    console.log(data,2347)
+    // this.cascaderKey = this.cascaderKey + 1
+   },
+     format() {
+          let res =  this.getfristChild(); // 拿一级数据
+          this.list.forEach((item) => {
+            // 遍历回显的id 二维数组
+            if (item.length > 1) {
+              item.forEach(async (sitem, index) => {
+                if (index == item.length - 1) {
+                  return; // 如果是一级节点就不用查找了
+                }
+                let arr =  this.getOther(sitem); // 不是一级,获取子级
+                this.findItem(res, arr, sitem); //  判断当前拿到的子级数据属于哪个一级数据下的子级,并且加到当前一级的children属性下
+              });
+            }
+          });
+           },
+     // 递归判断
+           findItem(res, arr, id) {
+            for (let i = 0; i < res.length; i++) {
+              if (res[i].value === id) {
+                res[i].children = arr; // 有chidlren 也要判断是不是这个children下的子级
+                return res;
+              }
+              if (res[i].children) {
+                this.findItem(res[i].children, arr, id);
+              }
+            }
+             return res;
+          },
+
+
+   // getAddress() {
+   // 	        this.mnyesfjer(0).then(res => {
+   // 	          this.optionsList =  this.handleData(res.data);
+   // 	        }).catch(err => {
+   // 	        })
+   // 	    },
+   	     handleItemChange(val) {
+           console.log(val,235)
+   	        let code = val ? val[val.length - 1] : '';  //需请求数据的上级地址的code值
+   	        let level = val.length + 1;  //需请求第几级地址
+            console.log(this.nameutaiL,2345)
+            console.log(this.form.czrkJzdzList,12365)
+            this.$set(this.form.czrkJzdzList[this.nameutaiL],'optiodne',this.handleData(this.form.czrkJzdzList[this.nameutaiL].optiodne, code, level))
+          },
+
+
+          handleItemChangefr(val) {
+            console.log(val,235)
+             let code = val ? val[val.length - 1] : '';  //需请求数据的上级地址的code值
+             let level = val.length + 1;  //需请求第几级地址
+             this.optionsList = this.handleData(this.optionsList, code, level);
+          	},
+
+          handleItemChanges(val) {
+            console.log(val,235)
+             let code = val ? val[val.length - 1] : '';  //需请求数据的上级地址的code值
+             let level = val.length + 1;  //需请求第几级地址
+             this.optionsLists = this.handleData(this.optionsLists, code, level);
+             this.cascaderKey = this.cascaderKey + 1
+          	},
+
+         	handleData(data, val, level) {
+            console.log(data,val,level,7536)
+   	        for (let i = 0; i < data.length; i++) {
+   	          if(!data[i].children) {
+   	            this.$set(data[i], 'children', []);
+   	          }
+   	          if(data[i].areaId === val){
+                let vfer = {}
+                vfer.pid = val
+   	            listRoleergth(vfer).then(res => {
+                  // this.cascaderKey = this.cascaderKey + 1
+   	              if(res.data.length) {
+                    console.log(data[i].children,4567)
+   	                // data[i].children = res.data;
+                    this.$set(data[i], 'children', res.data)
+                    console.log(data[i].children,45678)
+                     // this.nhdyesku = true
+   	                data[i].children.forEach(ele => {
+   	                  this.$set(ele, 'children', [])
+   	                });
+   	              }else {
+   	                data[i].children = undefined;
+   	              }
+   	            }).catch(err => {
+   	            });
+   	          }else {
+   	            if(data[i].children.length){
+   	              this.handleData(data[i].children,val,level)
+   	            }
+   	          }
+   	        }
+
+             return data;
+         },
+
+         handleItemChangefrwg(val) {
+           console.log(val,235)
+            let code = val ? val[val.length - 1] : '';  //需请求数据的上级地址的code值
+            let level = val.length + 1;  //需请求第几级地址
+            this.optionsListwg = this.handleDatawg(this.optionsListwg, code, level);
+         	},
+         handleDatawg(data, val, level) {
+            console.log(data,val,level,7536)
+            for (let i = 0; i < data.length; i++) {
+              if(!data[i].children) {
+                this.$set(data[i], 'children', []);
+              }
+              if(data[i].id === val){
+                let vfer = {}
+                vfer.pid = val
+                listRoleergthwg(vfer).then(res => {
+                  // this.cascaderKey = this.cascaderKey + 1
+                  if(res.data.length) {
+                    console.log(data[i].children,4567)
+                    // data[i].children = res.data;
+                    this.$set(data[i], 'children', res.data)
+                    console.log(data[i].children,45678)
+                     this.nhdyesku = true
+                    data[i].children.forEach(ele => {
+                      this.$set(ele, 'children', [])
+                    });
+                  }else {
+                    data[i].children = undefined;
+                  }
+                }).catch(err => {
+                });
+              }else {
+                if(data[i].children.length){
+                  this.handleDatawg(data[i].children,val,level)
+                }
+              }
+            }
+
+             return data;
+         },
+
+		onSelectedtwo(data) {
+			console.log(data);
+			// province
+			this.queryParams.province = data[0];
+			this.queryParams.city = data[1];
+			this.queryParams.region = data[2];
+			// this.queryParams.villageTowns = data[3]
+		},
+		/** 查询户籍疫苗信息列表 */
+		getList() {
+			this.loading = true;
+      this.nbdgywkajs = true
+      console.log(this.queryParams)
+			listInfo(this.queryParams).then(response => {
+       console.log(this.queryParams,29)
+				this.infoList = response.data;
+        this.nbdgywkajs = true
+				this.total = response.total;
+				this.loading = false;
+			});
+		},
+    /** 查询居住疫苗信息列表 */
+    getListjuzhu() {
+    	this.loading = true;
+      this.nbdgywkajs = true
+    	listInfos(this.queryParams).then(response => {
+    		this.infoList = response.rows;
+        this.nbdgywkajs = true
+    		this.total = response.total;
+    		this.loading = false;
+    	});
+    },
+    // 变更历史
+    getListls(row) {
+    	this.loading = true;
+      // this.nbdgywkajs = true
+      this.biangneg = true
+    	listInfosls(row).then(response => {
+    		this.bgls = response.data;
+        // this.nbdgywkajs = true
+    		this.total = response.total;
+    		this.loading = false;
+    	});
+    },
+
+		getToken() {
+			return getToken();
+		},
+		getTreeselectjue() {
+			this.loading = true;
+      let pids = {}
+      pids.pid = 0
+			listRoleer().then(response => {
+				this.options = response.data;
+				this.loading = false;
+			});
+		},
+    // 统计数据
+    getTreeselectjuetj() {
+    	this.loading = true;
+      this.dneyhsd = []
+      listInfotj().then(response => {
+        if(response.data !== undefined){
+          this.dneyhsd =  response.data
+        }else{
+          this.dneyhsd.push({dqdw:null,zhen:null,cun:null,zu:null,czzrs:null,czxz:null,czjs:null,hjzrs:null,hjxz:null,dneyhsd:null})
+        }
+
+        this.loading = false;
+      });
+    },
+
+		// 点击组/角色
+		djieskle(node, instanceId) {
+			// this.personnel(node.id);
+			console.log(node, instanceId);
+		},
+    nhyu(value, instanceId){
+      console.log(value, instanceId);
+    },
+		// 身份证
+		idcde(event) {
+			console.log(event);
+			// 身份证号码为15位或者18位,15位时全为数字,18位前17位为数字,最后一位是校验位,可能为数字或字符X
+			let reg = /^([1-6][1-9]|50)\d{4}(18|19|20)\d{2}((0[1-9])|10|11|12)(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/;
+      let _IDre15 =  /^([1-6][1-9]|50)\d{4}\d{2}((0[1-9])|10|11|12)(([0-2][1-9])|10|20|30|31)\d{3}$/;
+      // 护照
+       // let ncjsle = /^1[45][0-9]{7}$|(^[P|p|S|s]\d{7}$)|(^[S|s|G|g|E|e]\d{8}$)|(^[Gg|Tt|Ss|Ll|Qq|Dd|Aa|Ff]\d{8}$)|(^[H|h|M|m]\d{8,10}$)/;
+       let ncjsle = /^[a-zA-Z0-9]{5,17}$/
+       let nhyeli = /^[a-zA-Z]{5,17}$/
+      // 港澳
+      let gnse = /^([A-Z]\d{6,10}(\(\w{1}\))?)$/;
+      // 台湾
+      // let tw = /^\d{8}|^[a-zA-Z0-9]{10}|^\d{18}$/
+      var tw =  /^[0-9]{8}$/;
+       var twe = /^[0-9]{10}$/;
+      // 校验身份证:
+      console.log(reg.test(this.form.idCard),23741)
+			if ( reg.test(this.form.idCard)|| _IDre15.test(this.form.idCard)) {
+				this.idea();
+				// this.go(this.form.idCard.length);
+				// callback()
+			} else {
+        if(ncjsle.test(this.form.idCard) || nhyeli.test(this.form.idCard)){
+           console.log(3)
+        }else{
+          if(gnse.test(this.form.idCard)  ){
+              console.log(4)
+          }else{
+            if(tw.test(this.form.idCard) || twe.test(this.form.idCard)){
+              console.log(5)
+            }else{
+              this.msgInfo('证件格式不正确');
+            }
+
+            // return false
+          }
+
+        }
+				// callback(new Error('身份证号码不正确'))
+			}
+		},
+		// 实现自动生成生日,性别,年龄
+		go(val) {
+			let iden = this.form.idCard;
+			let sex = null;
+			let birth = null;
+			let birthr = '';
+			let myDate = new Date();
+			let month = myDate.getMonth() + 1;
+			let day = myDate.getDate();
+			let age = 0;
+
+			if (val === 18) {
+				age = myDate.getFullYear() - iden.substring(6, 10) - 1;
+				sex = iden.substring(16, 17);
+				birth = iden.substring(6, 10) + '-' + iden.substring(10, 12) + '-' + iden.substring(12, 14);
+				if (iden.substring(10, 12) < month || (iden.substring(10, 12) == month && iden.substring(12, 14) <= day)) age++;
+			}
+			if (val === 15) {
+				age = myDate.getFullYear() - iden.substring(6, 8) - 1901;
+				sex = iden.substring(13, 14);
+				birth = '19' + iden.substring(6, 8) + '-' + iden.substring(8, 10) + '-' + iden.substring(10, 12);
+				if (iden.substring(8, 10) < month || (iden.substring(8, 10) == month && iden.substring(10, 12) <= day)) age++;
+			}
+
+			if (sex % 2 === 0) sex = '女';
+			else sex = '男';
+			this.form.gender = sex;
+			// this.baseInfo.age = age;
+			birthr = birth + '';
+			console.log(birthr);
+			// this.form.birthday = birthr;
+			// this.$set(this.form.birthday, birthr)
+			// this.baseInfo.birthplace = this.area[iden.substring(0,2)];
+		},
+
+
+		// 请求身份证数据
+		idea() {
+			idces({ idCard: this.form.idCard }).then(response => {
+				console.log(response);
+				this.form.gender = response.data.gender;
+				// this.form.birthday = response.data.birthday;
+				this.form.age = response.data.age
+        if(response.data.code !== null){
+          this.$set(this.form, 'code', response.data.code)
+          // this.form.code = response.data.code
+        }
+				if (response.data.userName == null) {
+					// this.form.userName = undefined;
+          this.$set(this.form, 'userName', null)
+				} else {
+     //      this.form
+					// this.form.userName = response.data.userName;
+          this.$set(this.form, 'userName', response.data.userName)
+				}
+
+        this.form.phoneNum   = response.data.phoneNum
+        if(response.data.houseType !==null){
+          this.form.houseType   = response.data.houseType
+        }
+        this.form.nowIn   = response.data.nowIn
+        this.form.remark   = response.data.remark
+			});
+		},
+
+
+		// 取消按钮
+		cancel() {
+			this.opens = false;
+			this.jiezhong = false;
+			this.imashow = false;
+      this.errorlog=false;
+      this.nhyesfx = false
+      this.form.czrkJzdzList = this.form.czrkJzdzList.splice(1)
+			// this.reset();
+		},
+		gywoa() {
+			console.log(this.form.isVaccination);
+			if (this.form.isVaccination !== null) {
+				if (this.form.isVaccination == '是') {
+					// 接种疫苗
+					this.naneme = false,
+					this.shouwes = true;
+				}else {
+					this.naneme = true,
+					this.shouwes = false,
+					this.form.czrkJzdzList = [{
+						provinceId: '',
+						province: '',
+						deptId: '',
+						cityId: '',
+						city: '',
+						regionId:'',
+						region: '',
+						townId: '',
+						town: '',
+						villageId: '',
+						village: '',
+						nowIn:'',
+            seleted:[],
+            optiodne:[],
+            plaed:'请选择居住地址',
+					}
+				]
+				}
+			}
+		},
+		gywoatwo() {
+			console.log(this.queryParams.isVaccination);
+			if (this.queryParams.isVaccination !== null) {
+				if (this.queryParams.isVaccination == '是') {
+					// 接种疫苗
+					// (this.naneme = false), (this.shouwes = true);
+					this.shouwestwo = false
+				} else {
+					// (this.naneme = true), (this.shouwes = false);
+					this.shouwestwo = true
+				}
+			}
+		},
+
+		// 表单重置
+		reset() {
+			this.form = {
+				id: undefined,
+				age:'',
+				code:'',
+				houseType: '是',
+				domicile: undefined,
+				province: undefined,
+				city: undefined,
+				region: undefined,
+				userName: undefined,
+				gender: undefined,
+				idCard: undefined,
+				phoneNum: undefined,
+				keyIndustries: undefined,
+				isVaccination: undefined,
+				vaccinationPlace: undefined,
+				contraindication: undefined,
+				nowIn: '',
+        isConfirm:undefined,
+        gridId:undefined,
+				remark: undefined,
+        villageTowns:undefined,
+        village:undefined,
+        czrkJzdzList: [
+        	{
+        		provinceId: '',
+        		province: '',
+        		deptId: '',
+        		cityId: '',
+        		city: '',
+        		regionId:'',
+        		region: '',
+        		townId: '',
+        		town: '',
+        		villageId: '',
+        		village: '',
+        		nowIn:'',
+        		disableg:false,
+            optiodne:[],
+            seleted:[],
+            plaed:'请选择居住地址',
+        	}
+
+        ]
+			};
+			this.resetForm('form');
+		},
+		/** 搜索按钮操作 */
+		handleQuery() {
+			// this.queryParams.pageNum = 1;
+			console.log(this.queryParams)
+			this.getList();
+		},
+		/** 重置按钮操作 */
+		resetQuery() {
+			this.nhue = false
+			this.selectedtwo = []
+			setTimeout( ()=>{
+				this.nhue = true
+			},100)
+			this.queryParams.name = undefined;
			this.queryParams.rc = undefined;
			this.queryParams.djsjqs = undefined;
+      this.queryParams.djsjjs = undefined
+      this.queryParams.sfzhm = undefined
+      this.listd = []
+      this.lser = []
+			this.resetForm('queryForm');
+			this.handleQuery();
+		},
+		// 多选框选中数据
+		handleSelectionChange(selection) {
+			this.ids = selection.map(item => item.id);
+			this.single = selection.length !== 1;
+			this.multiple = !selection.length;
+		},
+		/** 新增按钮操作 */
+		handleAdd(data) {
+      this.form = {}
+      // this.nhyeswdga = []
+      if(this.typeOptionsname.length == 0){
+        this.getDicts('renyuanfenlei').then(response => {
+        	this.typeOptionsname = response.data;
+        });
+      }
+      if(this.typeOptionstyzandeh.length == 0){
+        // 与户主关系
+        this.getDicts('yuhuzhuguanxi').then(response => {
+        	this.typeOptionstyzandeh = response.data;
+        });
+      }
+      this.$set(this.nhyeswdga, 'nhus', [])
+      this.$nextTick(() =>{
+        this.$refs.myCascader.$refs.panel.clearCheckedNodes()
+        this.$refs.myCascader.$refs.panel.activePath = []
+      })
+      this.nhyesfx = true
+      console.log(this.nhyeswdga)			// this.reset();
+
+      // this.form.czrkJzdzList = [
+      //   	{
+      //   		provinceId: '',
+      //   		province: '',
+      //   		deptId: '',
+      //   		cityId: '',
+      //   		city: '',
+      //   		regionId:'',
+      //   		region: '',
+      //   		townId: '',
+      //   		town: '',
+      //   		villageId: '',
+      //   		village: '',
+      //   		nowIn:'',
+      //   		disableg:false,
+      //       optiodne:[],
+      //       seleted:[],
+      //       plaed:'请选择居住地址',
+      //   	}
+
+      //   ]
+        this.$set(this.form, 'czrkJzdzList', [
+        	{
+        		provinceId: '',
+        		province: '',
+        		deptId: '',
+        		cityId: '',
+        		city: '',
+        		regionId:'',
+        		region: '',
+        		townId: '',
+        		town: '',
+        		villageId: '',
+        		village: '',
+        		nowIn:'',
+        		disableg:false,
+            optiodne:[],
+            seleted:[],
+            plaed:'请选择居住地址',
+        	}
+
+        ])
+        this.form.id = null
+        // this.form.age=''
+        this.$set(this.form, 'age', null)
+        // this.form.code=''
+        this.$set(this.form, 'code', null)
+        this.$set(this.form, 'houseType', '否')
+        // this.form.houseType= '是'
+      //   this.form.domicile= null
+      this.$set(this.form, 'domicile', null)
+      //   this.form.province= null
+      this.$set(this.form, 'province', null)
+      //   this.form.city= null
+      this.$set(this.form, 'city', null)
+      //   this.form.region= null
+      this.$set(this.form, 'region', null)
+      //   this.form.userName= null
+      this.$set(this.form, 'userName', null)
+      //   this.form.gender= null
+      this.$set(this.form, 'gender', null)
+      //   this.form.idCard= null
+      this.$set(this.form, 'idCard', null)
+        this.$set(this.form, 'phoneNum', null)
+        // this.form.phoneNum= null
+      //   this.form.keyIndustries= null
+      this.$set(this.form, 'keyIndustries', null)
+      //   this.form.isVaccination= null
+      this.$set(this.form, 'isVaccination', null)
+      //   this.form.vaccinationPlace= null
+      this.$set(this.form, 'vaccinationPlace', null)
+      //   this.form.contraindication= null
+      this.$set(this.form, 'contraindication', null)
+        // this.form.nowIn= ''
+        this.$set(this.form, 'nowIn', '')
+      //   this.form.isConfirm=null
+      this.$set(this.form, 'isConfirm', null)
+      //   this.form.gridId=null
+      this.$set(this.form, 'gridId', null)
+      //   this.form.remark= null
+      this.$set(this.form, 'remark', null)
+      //   this.form.villageTowns=null
+      this.$set(this.form, 'villageTowns', null)
+      //   this.form.village=null
+      this.$set(this.form, 'village', null)
+      this.loading = false
+      console.log(data)
+			this.opens = true;
+			(this.naneme = false),
+			(this.shouwes = false);
+			// this.form.province = this.selected[0];
+			this.villageTownshy = '';
+			this.naiseurya = '';
+			this.hsuej = '';
+			// this.form.city = this.selected[1];
+			// this.form.region = this.selected[2];
+			this.title = '添加信息';
+			this.jdourdjoaj = true;
+      this.senlsduea = false
+      this.jiezhong = false
+			this.jue = true
+      this.nhdyesfgh = '点击选择户籍地址'
+       this.ndhesdweaf = '点击选择网格'
+       this.nameutaiL = 0
+       // this.nhduesw = this.nhduesw + 1
+       this.nhtrew = false
+      this.mnyesfjer(0)
+      // this.form.province = '安徽省';
+      // this.form.city = '安庆市';
+      // this.form.region = '潜山市';
+      // this.form.villageTowns = '梅城镇';
+      // this.form.village = '龙井社区';
+      // this.nhdyesfgh = this.form.province + '/' + this.form.city + '/' + this.form.region + '/' + this.form.villageTowns + '/' + this.form.village;
+      if(data !== 0){
+        this.form.code = data.code
+        // this.form.houseType = '否'
+        this.$set(this.form, 'houseType', '否')
+      }else{
+        // this.form.houseType = '是'
+        this.$set(this.form, 'houseType', '是')
+      }
+			console.log(this.form)
+		},
+
+		/** 修改按钮操作 */
+		handleUpdate(row) {
+      this.opens = true;
+      this.form = {}
+if(this.typeOptionsname.length == 0){
+    this.getDicts('renyuanfenlei').then(response => {
+    	this.typeOptionsname = response.data;
+    });
+  }
+  if(this.typeOptionstyzandeh.length == 0){
+    // 与户主关系
+    this.getDicts('yuhuzhuguanxi').then(response => {
+    	this.typeOptionstyzandeh = response.data;
+    });
+  }
+      this.$set(this.form, 'czrkJzdzList', [
+        	{
+        		provinceId: '',
+        		province: '',
+        		deptId: '',
+        		cityId: '',
+        		city: '',
+        		regionId:'',
+        		region: '',
+        		townId: '',
+        		town: '',
+        		villageId: '',
+        		village: '',
+        		nowIn:'',
+        		disableg:false,
+            optiodne:[],
+            seleted:[],
+            plaed:'请选择居住地址',
+        	}
+
+        ])
+        this.form.id = null
+        // this.form.age=''
+        this.$set(this.form, 'age', null)
+        // this.form.code=''
+        this.$set(this.form, 'code', null)
+        this.$set(this.form, 'houseType', '否')
+        // this.form.houseType= '是'
+      //   this.form.domicile= null
+      this.$set(this.form, 'domicile', null)
+      //   this.form.province= null
+      this.$set(this.form, 'province', null)
+      //   this.form.city= null
+      this.$set(this.form, 'city', null)
+      //   this.form.region= null
+      this.$set(this.form, 'region', null)
+      //   this.form.userName= null
+      this.$set(this.form, 'userName', null)
+      //   this.form.gender= null
+      this.$set(this.form, 'gender', null)
+      //   this.form.idCard= null
+      this.$set(this.form, 'idCard', null)
+        this.$set(this.form, 'phoneNum', null)
+        // this.form.phoneNum= null
+      //   this.form.keyIndustries= null
+      this.$set(this.form, 'keyIndustries', null)
+      //   this.form.isVaccination= null
+      this.$set(this.form, 'isVaccination', null)
+      //   this.form.vaccinationPlace= null
+      this.$set(this.form, 'vaccinationPlace', null)
+      //   this.form.contraindication= null
+      this.$set(this.form, 'contraindication', null)
+        // this.form.nowIn= ''
+        this.$set(this.form, 'nowIn', '')
+      //   this.form.isConfirm=null
+      this.$set(this.form, 'isConfirm', null)
+      //   this.form.gridId=null
+      this.$set(this.form, 'gridId', null)
+      //   this.form.remark= null
+      this.$set(this.form, 'remark', null)
+      //   this.form.villageTowns=null
+      this.$set(this.form, 'villageTowns', null)
+      //   this.form.village=null
+      this.$set(this.form, 'village', null)
+      console.log(this.form,34567)
+      this.nhyesaw = 1
+			// this.reset();
+			const id = row.id || this.ids;
+			getInfo(id).then(response => {
+        this.loading = false
+				this.form = response.data;
+				this.jue = false
+        this.jiezhong = false
+        this.nhdyesku = true
+        this.nhtrew = true
+        this.nhyeswdga.nhus = []
+        if(this.form.houseType == '是'){
+          //是户主
+          this.shifouh = true
+        }else{
+          this.shifouh = false
+        }
+				if(response.data.province !== null && response.data.province !== ""){
+					this.nhdyesfgh = response.data.province;
+          if(response.data.city !== null && response.data.city !== ""){
+            this.nhdyesfgh = response.data.province + '/' + response.data.city;
+            if(response.data.region !== null && response.data.region !== ""){
+            	this.nhdyesfgh = response.data.province + '/' + response.data.city + '/' + response.data.region;
+              if(this.form.villageTowns !==null && this.form.villageTowns !=='' && this.form.villageTowns !== undefined){
+                this.nhdyesfgh = response.data.province + '/' + response.data.city + '/' + response.data.region + '/' + this.form.villageTowns;
+                if(this.form.village !==null && this.form.village !=='' && this.form.village !== undefined){
+                  this.nhdyesfgh = response.data.province + '/' + response.data.city + '/' + response.data.region + '/' + this.form.villageTowns + '/' + this.form.village;
+                }
+              }
+            }else{
+            	// this.nhdyesfgh ='点击选择居住地址'
+            }
+          }else{
+          	// this.nhdyesfgh ='点击选择居住地址'
+          }
+				}else{
+					this.nhdyesfgh ='点击选择户籍地址'
+				}
+  this.nhyesfx = true
+				if(response.data.czrkJzdzList.length !== 0 && response.data.czrkJzdzList !== null){
+					// this.selected[0] = response.data.province;
+          // for(var i = 0 ; i < response.data.czrkJzdzList.length ; i++){
+            // this.nameutaiL = i
+            response.data.czrkJzdzList.unshift(response.data.czrkJzdzList[0])
+            // this.form = response.data;
+            this.mnyesfjerty(0)
+          // }
+          response.data.czrkJzdzList.filter(route =>{
+            route.seleted = []
+            if(route.province !== ""){
+              route.plaed =  route.province
+              if(route.city !== ""){
+                route.plaed =  route.plaed + '/' + route.city
+                if(route.city !== ""){
+                  // route.plaed =  route.plaed + '/' + route.city
+                  if(route.region !== ""){
+                    route.plaed =  route.plaed + '/' + route.region
+                    if(route.town !== ""){
+                      route.plaed =  route.plaed + '/' + route.town
+                      if(route.village !== ""){
+                        route.plaed =  route.plaed + '/' + route.village
+                      }
+                    }
+                  }
+                }
+              }
+            }else{
+              route.plaed = '请选择居住地址'
+            }
+
+          })
+				}else{
+            console.log(this.form.czrkJzdzList,58)
+        }
+
+
+        if(response.data.gridName !==null){
+          this.ndhesdweaf = response.data.gridName
+        }else{
+          this.ndhesdweaf = '点击选择网格'
+        }
+
+				// this.onSelected(this.selected)
+				setTimeout( ()=>{
+					this.jue = true
+				},100)
+				// this.jue = true
+				console.log(this.selected,98767)
+				// if(this.form){
+				if (this.form.isVaccination !== null) {
+					if (this.form.isVaccination == '是') {
+						// 接种疫苗
+						(this.naneme = false), (this.shouwes = true);
+					} else {
+						(this.naneme = true), (this.shouwes = false);
+					}
+				} else {
+					this.naneme = false;
+					this.shouwes = false;
+				}
+
+				if (this.form.dictValue !== null && this.form.dictValue !== undefined) {
+					this.jicheru(this.form.dictValue);
+				}
+				if (this.form.villageTowns !== null) {
+					this.villageTownshy = this.form.villageTowns;
+					if (this.form.village !== null) {
+						this.villageTownshy = this.form.village;
+						if (this.form.villagerGroup !== null) {
+							this.villageTownshy = this.form.villagerGroup;
+						}
+					}
+				}else{
+					this.villageTownshy = '';
+				}
+        console.log(this.villageTownshy,3455)
+
+				// if (this.form.vaccineInfoUserList !== null) {
+				// 	if (this.form.vaccineInfoUserList.length == 0) {
+
+				// 	}else {
+				// 		this.form.isVaccination = '是'
+				// 		this.form.vaccineInfoUserList.filter(router =>{
+				// 			if(router.url == undefined){
+				// 				router.url = null
+				// 			}else if(router.url == []){
+				// 				router.url = null
+				// 			}
+				// 			router.disableg = true
+				// 		})
+				// 	}
+				// }
+				// villageTownshy
+				// }
+				// this.heuiq.push()
+				this.naiseurya = '';
+				this.hsuej = '';
+        console.log(this.form.czrkJzdzList,588)
+				this.jdourdjoaj = false;
+        this.senlsduea = true
+				this.title = '查看编辑人口信息';
+			});
+		},
+		chahe(data) {
+
+     let nhdye = []
+     nhdye = this.$refs['myCascader'].getCheckedNodes()[0].pathLabels
+     console.log(nhdye)
+      if(data.length == 1){
+        this.form.provinceId = data[ data.length - 1];
+        this.form.province = nhdye[ data.length - 1];
+        this.$set(this.form, 'city', null)
+        this.$set(this.form, 'cityId', null)
+        this.$set(this.form, 'region', null)
+        this.$set(this.form, 'regionId', null)
+        this.$set(this.form, 'villageTowns', null)
+        this.$set(this.form, 'villageTownsId', null)
+        this.$set(this.form, 'villageId', null)
+         this.$set(this.form, 'village', null)
+      }else if(data.length == 2){
+        this.form.cityId = data[ data.length - 1];
+        this.form.city = nhdye[ data.length - 1];
+        this.$set(this.form, 'region', null)
+        this.$set(this.form, 'regionId', null)
+        this.$set(this.form, 'villageTowns', null)
+        this.$set(this.form, 'villageTownsId', null)
+        this.$set(this.form, 'villageId', null)
+         this.$set(this.form, 'village', null)
+      }else if(data.length == 3){
+        this.form.regionId = data[ data.length - 1];
+        this.form.region = nhdye[ data.length - 1];
+        this.$set(this.form, 'villageTowns', null)
+        this.$set(this.form, 'villageTownsId', null)
+        this.$set(this.form, 'villageId', null)
+         this.$set(this.form, 'village', null)
+      }else if(data.length == 4){
+        this.form.villageTownsId = data[ data.length - 1];
+        this.form.villageTowns = nhdye[ data.length - 1];
+        this.$set(this.form, 'villageId', null)
+         this.$set(this.form, 'village', null)
+      }else if(data.length == 5){
+        this.form.villageId = data[ data.length - 1];
+        this.form.village = nhdye[ data.length - 1];
+      }else{
+        // this.nhdyesfgh = '点击选择户籍地址'
+      }
+      this.form.deptId = data[ data.length - 1];
+
+			// if (this.form.villageTowns !== undefined) {
+			// 	this.hsuej = this.form.villageTowns;
+			// 	if (this.form.village !== undefined) {
+			// 		this.hsuej = this.form.villageTowns + this.form.village;
+			// 		if (this.form.villagerGroup !== undefined) {
+			// 			this.hsuej = this.form.villageTowns + this.form.village + this.form.villagerGroup;
+			// 		}
+			// 	}
+			// }
+			this.form.domicile = '';
+      console.log(this.form)
+
+      // if(this.jdourdjoaj == true){
+      //   //新增
+      //   this.form.nowIn =  this.hsuej
+
+      // }else{
+      //    this.form.nowIn !=  this.hsuej
+      // }
+		},
+		chahetwo(data) {
+			console.log(data)
+      if(data.length == 1){
+        this.queryParams.provinceId = data[ data.length - 1];
+        this.queryParams.villageId = undefined
+        this.queryParams.cityId = undefined
+        this.queryParams.regionId = undefined
+        this.queryParams.villageTownsId = undefined
+      }else if(data.length == 2){
+        this.queryParams.provinceId = undefined
+        this.queryParams.regionId = undefined
+        this.queryParams.villageTownsId = undefined
+        this.queryParams.villageId = undefined
+        this.queryParams.cityId = data[ data.length - 1];
+      }else if(data.length == 3){
+        this.queryParams.cityId = undefined
+        this.queryParams.provinceId = undefined
+        this.queryParams.villageTownsId = undefined
+        this.queryParams.villageId = undefined
+        this.queryParams.regionId = data[ data.length - 1];
+      }else if(data.length == 4){
+        this.queryParams.provinceId = undefined
+        this.queryParams.cityId = undefined
+        this.queryParams.regionId = undefined
+        this.queryParams.villageId = undefined
+        this.queryParams.villageTownsId = data[ data.length - 1];
+      }else if(data.length == 5){
+        this.queryParams.provinceId = undefined
+        this.queryParams.cityId = undefined
+        this.queryParams.regionId = undefined
+        this.queryParams.villageTownsId = undefined
+        this.queryParams.villageId = data[ data.length - 1];
+      }
+		},
+    // 居住地址搜索条件
+    chahetwos(data) {
+    	console.log(data)
+      let nhdye = []
+      nhdye = this.$refs['cdd'].getCheckedNodes()[0].pathLabels
+      console.log(nhdye,36)
+      if(data.length == 1){
+        this.queryParams.rc = nhdye[ nhdye.length - 1];
+      }else if(data.length == 2){
+        this.queryParams.rc = nhdye[0] + ',' + nhdye[ nhdye.length - 1];
+      }else if(data.length == 3){
+         this.queryParams.rc = nhdye[0] + ',' + nhdye[1] + ',' +nhdye[ nhdye.length - 1];
+      }else if(data.length == 4){
+        this.queryParams.rc = nhdye[0] + ',' + nhdye[1]  + ',' + nhdye[2]  + ',' +   nhdye[3]  + ',' +nhdye[ nhdye.length - 1];
+      }else if(data.length == 5){
+        this.queryParams.rc = nhdye[0] + ',' + nhdye[1]  + ',' + nhdye[2]  + ',' +   nhdye[3]  + ',' +nhdye[ nhdye.length - 1];
+      }
+    },
+    chahetwoswge(data){
+      console.log(data)
+      if(this.opens == false){
+        return  false
+      }
+      this.form.gridId = data[data.length - 1]
+      console.log(this.form.gridId)
+    },
+		/** 提交按钮 */
+		submitForm(data) {
+			this.$refs['form'].validate(valid => {
+				console.log(this.selected);
+				if (valid) {
+          let reg = /^([1-6][1-9]|50)\d{4}(18|19|20)\d{2}((0[1-9])|10|11|12)(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/;
+          let _IDre15 =  /^([1-6][1-9]|50)\d{4}\d{2}((0[1-9])|10|11|12)(([0-2][1-9])|10|20|30|31)\d{3}$/;
+          // 护照
+           // let ncjsle = /^1[45][0-9]{7}$|(^[P|p|S|s]\d{7}$)|(^[S|s|G|g|E|e]\d{8}$)|(^[Gg|Tt|Ss|Ll|Qq|Dd|Aa|Ff]\d{8}$)|(^[H|h|M|m]\d{8,10}$)/;
+           let ncjsle = /^[a-zA-Z0-9]{5,17}$/
+           let nhyeli = /^[a-zA-Z]{5,17}$/
+          // 港澳
+          let gnse = /^([A-Z]\d{6,10}(\(\w{1}\))?)$/;
+          // 台湾
+          // let tw = /^\d{8}|^[a-zA-Z0-9]{10}|^\d{18}$/
+          var tw =  /^[0-9]{8}$/;
+           var twe = /^[0-9]{10}$/;
+          // 校验身份证:
+          console.log(reg.test(this.form.idCard),23741)
+          if ( reg.test(this.form.idCard)|| _IDre15.test(this.form.idCard)) {
+          	// this.idea();
+          	// this.go(this.form.idCard.length);
+          	// callback()
+          } else {
+            if(ncjsle.test(this.form.idCard) || nhyeli.test(this.form.idCard)){
+               console.log(3)
+            }else{
+              if(gnse.test(this.form.idCard)  ){
+                  console.log(4)
+              }else{
+                if(tw.test(this.form.idCard) || twe.test(this.form.idCard)){
+                  console.log(5)
+                }else{
+                  this.msgInfo('证件格式不正确');
+                  return false
+                }
+
+                // return false
+              }
+
+            }
+          	// callback(new Error('身份证号码不正确'))
+          }
+          // let reg = /(^\d{15}$)|(^\d{18}$)|(^\d{17}(\d|X|x)$)/;
+          // if (reg.test(this.form.idCard)) {
+          // 	// this.idea();
+          // 	// this.go(this.form.idCard.length);
+          // 	// callback()
+          // } else {
+          // 	// callback(new Error('身份证号码不正确'))
+          // 	this.msgInfo('身份证号码不正确');
+          //   return false
+          // }
+          let redw = /^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$/;
+          console.log(this.form)
+          console.log(redw.test(this.form.phoneNum))
+          if (this.form.phoneNum == null) {
+          	// this.idea();
+          	// this.go(this.form.idCard.length);
+          	// callback()
+          } else{
+            if(this.form.phoneNum !== ''){
+              if(redw.test(this.form.phoneNum)){
+
+              }else{
+                this.msgInfo('手机号码不正确');
+                return false
+              }
+            }
+          	// callback(new Error('身份证号码不正确'))
+          }
+          this.form.isConfirm = 'N'
+					if (this.form.id != null) {
+						// this.form.nowIn = this.naiseurya + this.form.nowIn;
+						// this.form.domicile = this.hsuej + this.form.domicile;
+            console.log(this.ndheysfs)
+            // this.nhyesaw = data
+            console.log(this.nhyesaw)
+            console.log(this.form.czrkJzdzList)
+            if(this.nhyesaw == 1){
+              this.form.czrkJzdzList = this.form.czrkJzdzList.splice(1)
+            }else if(this.nhyesaw == 2){
+              console.log(this.form.czrkJzdzList[0])
+              // this.form.czrkJzdzList.unshift(this.form.czrkJzdzList[0])
+            }
+            console.log(this.form.czrkJzdzList)
+            data = data +1
+            this.nhyesaw = this.nhyesaw + 1
+            this.senlsduea = false
+            console.log(this.form.czrkJzdzList)
+						updateInfo(this.form).then(response => {
+              console.log(response)
+              if(response.code == 200){
+                 this.msgSuccess('修改成功');
+                 this.nhyesaw = 1
+                 this.opens = false;
+                 this.nhyesfx = false
+                 this.getList();
+                 this.getTreeselectjuetj()
+                 return false
+              }else{
+                // this.senlsduea = true
+                // this.form.czrkJzdzList.unshift(this.form.czrkJzdzList[0])
+                this.nhyesaw = 1
+                this.$message.error(response.msg + '请重新填写');
+                // this.mnyesfjerty(0)
+            //     if(this.nhyesaw == 1){
+            //     this.form.czrkJzdzList = this.form.czrkJzdzList.splice(1)
+            // }
+                this.opens = false
+              }
+
+              // if(response.data.code == 200){
+              //   this.msgSuccess('修改成功');
+              //   this.ndheysfs = false
+              // }else{
+              //   this.ndheysfs = true
+              // }
+
+              // if(this.nhyesoder == 3){
+              //   this.jiezhong = true
+              //   this.handleDeletefamide(this.bhdes)
+              // }
+              // this.nhyesoder = 4
+						});
+					} else {
+						// this.form.nowIn = this.naiseurya + this.form.nowIn;
+						// this.form.domicile = this.hsuej + this.form.domicile;
+						// if (this.form.nowIn == 'undefined') {
+						// 	this.form.nowIn = null;
+						// }
+
+            if(this.form.province == null){
+              this.msgInfo('请填写户籍地址');
+              return false
+            }
+
+            if(this.form.province == ''){
+              this.msgInfo('请填写户籍地址');
+              return false
+            }
+
+
+            if(this.form.czrkJzdzList[0].province == ''){
+              this.msgInfo('请填写居住地址');
+              return false
+            }
+            if(this.form.czrkJzdzList[0].province == null){
+              this.msgInfo('请填写居住地址');
+              return false
+            }
+						console.log(this.form)
+            this.form.czrkJzdzList.filter(route =>{
+              route.seleted = []
+              route.optiodne = []
+            })
+						// return
+						addInfo(this.form).then(response => {
+              if(response.code == 200){
+                this.msgSuccess('新增成功');
+                this.opens = false;
+                this.nhyesfx = false
+                this.getList();
+                this.getTreeselectjuetj()
+                if(this.nhyesoder == 3){
+                  this.jiezhong = true
+                  this.handleDeletefamide(this.bhdes)
+                }
+                this.nhyesoder = 4
+              }else{
+                this.$message.error(response.msg + '请重新填写');
+                if(this.nhyesoder == 3){
+                  this.jiezhong = true
+                  this.handleDeletefamide(this.bhdes)
+                }
+                this.nhyesoder = 4
+                this.opens = false
+              }
+						});
+					}
+				}
+			});
+		},
+		/** 删除按钮操作 */
+		handleDelete(row) {
+			const ids = row.id || this.ids[0];
+      this.idfer = ids
+      this.imashow = true;
+      this.formgt = {}
+			// this.$confirm('是否确认删除疫苗信息编号为"' + ids + '"的数据项?', '警告', {
+			// 	confirmButtonText: '确定',
+			// 	cancelButtonText: '取消',
+			// 	type: 'warning'
+			// })
+			// 	.then(function() {
+			// 		return delInfo(ids);
+			// 	})
+			// 	.then(() => {
+			// 		this.getList();
+			// 		this.msgSuccess('删除成功');
+			// 	});
+		},
+    submitFormfr(){
+      // formgt
+      if(this.formgt.houseType == null || this.formgt.houseType == undefined){
+        this.$message.error('请选择变更原因');
+        return  false
+      }
+      let nhue = {}
+      nhue.status = this.formgt.houseType
+      nhue.id = this.idfer
+      delInfo(nhue).then(response => {
+      	this.msgSuccess('变更成功');
+      	this.imashow = false;
+      	this.getList();
+        this.getTreeselectjuetj()
+      });
+    },
+    // 点击新增
+    tijea(index) {
+    	console.log(index+ 1)
+    	this.nameutaiL = index+ 1
+       this.cascaderKey = index + 1
+    	this.form.czrkJzdzList.push({
+    		provinceId: '',
+    		province: '',
+    		deptId: '',
+    		cityId: '',
+    		city: '',
+    		regionId:'',
+    		region: '',
+    		townId: '',
+    		town: '',
+    		villageId: '',
+    		village: '',
+    		nowIn:'',
+    		disableg:false,
+        seleted:[],
+        optiodne:[],
+        plaed:'请选择居住地址',
+    	});
+      this.nhyeojd = true
+      this.mnyesfjer(0)
+      // this.form.czrkJzdzList[this.nameutaiL].optiodne
+      // console.log(this.cascaderKey,123465)
+      // // console.log()
+      // console.log( this.$refs.myCascaderf[this.$refs.myCascaderf.length - 1] ,258)
+      // // console.log(this.$refs['myCascaderf'][0].$refs.panel.clearCheckedNodes(),258)
+      // this.$refs['myCascaderf'][this.$refs.myCascaderf.length - 1].$refs.panel.clearCheckedNodes()
+      // console.log(this.$refs['myCascaderf'][0].$refs.panel.checkedValue,34567)
+      // this.mnyesfjer(0)
+    },
+    // 点击删除
+    naeyrfakjf(index, item) {
+      console.log(this.form.czrkJzdzList.length,347)
+      // if(this.form.czrkJzdzList.length == 2){
+      //   this.$message.error('居住地为必填不可全删除');
+      //   return  false
+      // }
+      // this.$message.error(response.msg + '请重新填写');
+    	var that = this
+    	this.$confirm('是否确认删除信息?', '警告', {
+    		confirmButtonText: '确定',
+    		cancelButtonText: '取消',
+    		type: 'warning'
+    	})
+    		.then(function() {
+    			return that.delseeug(index,item)
+    		})
+    		.then(() => {
+    			// this.getList();
+    			// this.msgSuccess('删除成功');
+    		});
+
+    },
+    delseeug(index,item){
+    	console.log(234)
+    	if (this.form.czrkJzdzList.length == 1) {
+    		// if (this.jdourdjoaj == true) {
+    		// 	// 新增
+    		// 	this.form.vaccineInfoUserList = [{
+    		// 		vaccineName: '',
+    		// 		vaccinationTime: '',
+    		// 		vaccinationPlace: '',
+    		// 		jici: '',
+    		// 		progress: '',
+    		// 		url:null,
+    		// 		disableg:false
+    		// 	}]
+    		// } else {
+    		// 	// 修改
+    		// 	let ide = this.form.vaccineInfoUserList[index].id;
+    		// 	console.log(this.form.vaccineInfoUserList[index]);
+    		// 	// ()
+    		// 	console.log(ide);
+    		// 	if (ide !== undefined) {
+    		// 		console.log(234);
+    		// 		delInfort(ide).then(response => {
+    		// 			this.msgSuccess('操作成功');
+    		// 		});
+    		// 	}
+    		// 	this.form.vaccineInfoUserList = [{
+    		// 		vaccineName: '',
+    		// 		vaccinationTime: '',
+    		// 		vaccinationPlace: '',
+    		// 		jici: '',
+    		// 		progress: '',
+    		// 		url:null,
+    		// 		disableg:false
+    		// 	}]
+    		// }
+
+        this.msgSuccess('只剩一条数据,无法删除');
+    		return false;
+    	}
+    	if (this.jdourdjoaj == true) {
+    		// 新增
+    		this.form.czrkJzdzList.splice(index, 1);
+    	} else {
+    		// 修改
+    		// ()
+    		this.form.czrkJzdzList.splice(index, 1);
+    	}
+      this.msgSuccess('删除成功');
+    },
+		/** 导出按钮操作 */
+		handleExport() {
+			var heuia = {
+                tableName: "vaccine_info",
+                empty: false,
+                condition: {}
+            }
+            var that=this;
+            heuia.condition = this.queryParams
+			const queryParams = this.queryParams
+			this.$confirm('是否确认导出?', "警告", {
+			    confirmButtonText: "确定",
+			    cancelButtonText: "取消",
+			    type: "warning"
+			  }).then(function() {
+			    return exportConfig(heuia);
+			  }).then(response => {
+				  const jues= response.data
+          that.exportflag=false;
+          that.$alert('数据导入中,系统将自动处理数据,请稍后查看结果', "导出结果", { dangerouslyUseHTMLString: true });
+          // that.msgSuccess('数据导入中,系统将自动处理数据,请稍后查看结果');
+				// exportConfigtyr().then(responsr => {
+				// 			console.log(responsr)
+				// 			if(responsr.data == true){
+				// 				// this.download(jues);
+				// 				// window.location.href = jues
+				// 				window.open(jues)
+				// 			}else{
+				// 				this.msgSuccess('数据暂未加载完成,请稍后点击导出进度按钮查看');
+				// 			}
+				// 		});
+
+			  })
+
+
+			// this.download('/boman-web-core/core/info/export',
+			// 	{
+			// 		...this.queryParams
+			// 	},
+			// 	`post_${new Date().getTime()}.xlsx`
+			// );
+
+		},
+    // 文件上传中处理
+    handleFileUploadProgress(event, file, fileList) {
+      this.upload.isUploading = true;
+    },
+    // 文件上传成功处理
+    handleFileSuccess(response, file, fileList) {
+      this.upload.open = false;
+      this.upload.isUploading = false;
+      this.$refs.upload.clearFiles();
+      this.$alert(response.msg, "导入结果", { dangerouslyUseHTMLString: true });
+      this.getList();
+    },
+   // 提交上传文件
+   submitFileForm() {
+     console.log(this.upload.source)
+     if(this.upload.source == null){
+       this.msgInfo('请选择数据来源');
+       return  false
+     }
+     this.$refs.upload.submit();
+   },
+   nske(){
+     console.log(345)
+           this.upload.open = false;
+   },
+   /** 下载模板操作 */
+   importTemplate() {
+
+   },
+   // 下载模板
+   handleDeleteda(){
+     window.open("https://qsfy.qs163.cn/statics/template/死亡人员导入模板.xlsx")
+   },
+		// 点击查看
+		chakei(row) {
+			console.log(row);
+      let nhyes= {pageNum: 1,
+      pageSize: 10,}
+      this.nhyesoder = row
+      if(row == 0){
+        // 新增
+       listInfotjxz(this.ndhuwosdjh).then(response => {
+				// this.msgSuccess('操作成功');
+					this.jiezheList = response.rows
+          this.totalfr = response.total
+				})
+      } else if(row == 1){
+        // 减少
+        listInfotjjs(this.ndhuwosdjh).then(response => {
+        				// this.msgSuccess('操作成功');
+        					this.jiezheList = response.rows
+                  this.totalfr = response.total
+
+      }	)
+          }// yiaoe({idCard:row.idCard}).then(response => {
+			// 	// this.msgSuccess('操作成功');
+			// 	if(response.code == 200){
+			// 		this.jiezheList = response.data
+			// 	}
+			// });
+
+			this.jiezhong = true;
+		},
+    // 查看家庭成员信息
+    handleDeletefamide(row){
+      this.bhdes= row
+      this.nhyesoder = 3
+      this.bgtes= []
+	  if(row.code == null){
+	  		  this.msgSuccess('无户编号信息,无法查看家庭成员信息');
+	  		  return  false
+	  }
+    if(row.code == ''){
+      this.msgSuccess('无户编号信息,无法查看家庭成员信息');
+      return  false
+    }
+	  this.jiezhong = true;
+    listInfotjjsfaml(row.code).then(response => {
+        				// this.msgSuccess('操作成功');
+        					this.jiezheList = response.data
+                  this.jiezheList.filter(rout =>{
+                    this.bgtes.push(rout.id)
+                  })
+           console.log(this.bgtes,456)
+                  this.totalfr = 0
+
+      }	)
+    },
+    /** 导入按钮操作 */
+    handleImport() {
+      this.getDicts('data_sources').then(response => {
+      	this.typeOptionstimesgt = response.data;
+        this.upload.title = "数据导入";
+        this.upload.open = true;
+      });
+
+    },
+    // 获取屏幕高度
+              showFilterForm () {
+                    this.filterActive = !this.filterActive
+                    this.changeTableMaxHeight()
+                  },
+
+                  changeTableMaxHeight () {
+                    let height = document.body.offsetHeight // 网页可视区域高度
+                    // if (this.filterActive) {
+                    //   this.tableMaxHeight = height - 320
+                    // } else {
+                      this.tableMaxHeight = height - 250
+                    // }
+                    console.log(height)
+                  },
+
+  // 判断是否选择户主
+  changese(){
+    console.log(this.form.houseType)
+    if(this.form.houseType == '是'){
+      this.form.code = this.form.idCard
+      this.nhe = false
+    }else{
+      this.form.code != this.form.idCard
+      this.nhe = true
+    }
+  },
+  // 常住人口
+  chajnd(data){
+   this.queryParams.queryType = 'cz'
+   this.queryParams.pageNum = 1
+   this.queryParams.status = data
+   this.nhykis = false
+   this.nhyki = true
+   this.nhslke = data
+    this.getList();
+  },
+  // 户籍人口
+  chajnds(){
+    this.nhykis = true
+    this.nhyki = false
+    this.queryParams.pageNum = 1
+   this.queryParams.queryType = 'hj'
+   this.getList();
+  },
+  // 变更历史
+  chajndsls(row){
+   let nhduw = {}
+   nhduw.id = row.id
+   // biangneg
+   this.getListls(nhduw);
+  },
+  // 确认死亡
+  siw(row){
+   this.$confirm('此操作将永久删除该文件, 是否继续?', '提示', {
+             confirmButtonText: '确定',
+             cancelButtonText: '取消',
+             type: 'warning'
+           }).then(() => {
+             this.$message({
+               type: 'success',
+               message: '删除成功!'
+             });
+           }).catch(() => {
+             this.$message({
+               type: 'info',
+               message: '已取消删除'
+             });
+           });
+  },
+
+  // 一键确认
+  xinxiheu(){
+    let nchesr = []
+    nchesr = this.bgtes
+    console.log(nchesr)
+    listInfotjjssbule(nchesr).then(response => {
+      if(response.code == 200){
+        this.msgSuccess('操作成功')
+        this.jiezhong = false
+          this.getList();
+        this.getTreeselectjuetj()
+      }
+      				// this.msgSuccess('操作成功');
+    })
+  },
+  xinxihe(){
+   this.$refs['form'].validate(valid => {
+   	console.log(this.selected);
+   	if (valid) {
+let reg = /^([1-6][1-9]|50)\d{4}(18|19|20)\d{2}((0[1-9])|10|11|12)(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/;
+      let _IDre15 =  /^([1-6][1-9]|50)\d{4}\d{2}((0[1-9])|10|11|12)(([0-2][1-9])|10|20|30|31)\d{3}$/;
+      // 护照
+       // let ncjsle = /^1[45][0-9]{7}$|(^[P|p|S|s]\d{7}$)|(^[S|s|G|g|E|e]\d{8}$)|(^[Gg|Tt|Ss|Ll|Qq|Dd|Aa|Ff]\d{8}$)|(^[H|h|M|m]\d{8,10}$)/;
+       let ncjsle = /^[a-zA-Z0-9]{5,17}$/
+       let nhyeli = /^[a-zA-Z]{5,17}$/
+      // 港澳
+      let gnse = /^([A-Z]\d{6,10}(\(\w{1}\))?)$/;
+      // 台湾
+      // let tw = /^\d{8}|^[a-zA-Z0-9]{10}|^\d{18}$/
+      var tw =  /^[0-9]{8}$/;
+       var twe = /^[0-9]{10}$/;
+      // 校验身份证:
+      console.log(reg.test(this.form.idCard),23741)
+			if ( reg.test(this.form.idCard)|| _IDre15.test(this.form.idCard)) {
+				// this.idea();
+				// this.go(this.form.idCard.length);
+				// callback()
+			} else {
+        if(ncjsle.test(this.form.idCard) || nhyeli.test(this.form.idCard)){
+           console.log(3)
+        }else{
+          if(gnse.test(this.form.idCard)  ){
+              console.log(4)
+          }else{
+            if(tw.test(this.form.idCard) || twe.test(this.form.idCard)){
+              console.log(5)
+            }else{
+              this.msgInfo('证件格式不正确');
+              return false
+            }
+
+            // return false
+          }
+
+        }
+				// callback(new Error('身份证号码不正确'))
+			}
+       let redw = /^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$/;
+       console.log(this.form)
+       console.log(redw.test(this.form.phoneNum))
+       if (this.form.phoneNum == null) {
+       	// this.idea();
+       	// this.go(this.form.idCard.length);
+       	// callback()
+       } else{
+         if(this.form.phoneNum !== ''){
+           if(redw.test(this.form.phoneNum)){
+
+           }else{
+             this.msgInfo('手机号码不正确');
+             return false
+           }
+         }
+        }
+   		if (this.form.id != null) {
+   			// this.form.nowIn = this.naiseurya + this.form.nowIn;
+   			// this.form.domicile = this.hsuej + this.form.domicile;
+          console.log(this.form.czrkJzdzList)
+          if(this.nhyesaw == 1){
+            this.form.czrkJzdzList = this.form.czrkJzdzList.splice(1)
+          }else if(this.nhyesaw == 2){
+            console.log(this.form.czrkJzdzList[0])
+            // this.form.czrkJzdzList.unshift(this.form.czrkJzdzList[0])
+          }
+          console.log(this.form.czrkJzdzList)
+          // data = data +1
+          this.nhyesaw = this.nhyesaw + 1
+          this.senlsduea = false
+          this.form.isConfirm = 'Y'
+          console.log(this.form.czrkJzdzList)
+          updateInfo(this.form).then(response => {
+            console.log(response)
+            if(response.code == 200){
+               this.msgSuccess('操作成功');
+               this.nhyesaw = 1
+               this.opens = false;
+               this.nhyesfx = false
+               this.getList();
+               this.getTreeselectjuetj()
+               return false
+            }else{
+              // this.senlsduea = true
+              // this.form.czrkJzdzList.unshift(this.form.czrkJzdzList[0])
+              this.nhyesaw = 1
+              this.$message.error(response.msg + '请重新填写');
+              // this.mnyesfjerty(0)
+          //     if(this.nhyesaw == 1){
+          //     this.form.czrkJzdzList = this.form.czrkJzdzList.splice(1)
+          // }
+              this.opens = false
+            }
+
+            // if(response.data.code == 200){
+            //   this.msgSuccess('修改成功');
+            //   this.ndheysfs = false
+            // }else{
+            //   this.ndheysfs = true
+            // }
+
+            // if(this.nhyesoder == 3){
+            //   this.jiezhong = true
+            //   this.handleDeletefamide(this.bhdes)
+            // }
+            // this.nhyesoder = 4
+          });
+   		} else {
+   			// this.form.nowIn = this.naiseurya + this.form.nowIn;
+   			// this.form.domicile = this.hsuej + this.form.domicile;
+   			// if (this.form.nowIn == 'undefined') {
+   			// 	this.form.nowIn = null;
+   			// }
+
+      //    if(this.nhyeswdga.length == 0){
+      //      this.msgInfo('请填写户籍地址');
+      //      return false
+      //    }
+
+      //    if(this.form.czrkJzdzList[0].province == ''){
+      //      this.msgInfo('请填写居住地址');
+      //      return false
+      //    }
+      //    if(this.form.czrkJzdzList[0].province == null){
+      //      this.msgInfo('请填写居住地址');
+      //      return false
+      //    }
+
+   			// console.log(this.form)
+      //    this.form.czrkJzdzList.filter(route =>{
+      //      route.seleted = []
+      //      route.optiodne = []
+      //    })
+   			// return
+   			// addInfo(this.form).then(response => {
+   			// 	this.msgSuccess('新增成功');
+   			// 	this.opens = false;
+   			// 	this.getList();
+      //      if(this.nhyesoder == 3){
+      //        this.jiezhong = true
+      //        this.handleDeletefamide(this.bhdes)
+      //      }
+      //      this.nhyesoder = 4
+   			// });
+   		}
+   	}
+   });
+  },
+  // 信息同步
+  xinxtb(){
+   listInfotjjssquer(this.bhdes.code).then(response => {
+     if(response.code == 200){
+       this.msgSuccess(response.msg)
+       // this.jiezhong = false
+       listInfotjjsfaml(this.bhdes.code).then(response => {
+           				// this.msgSuccess('操作成功');
+                  this.bgtes = []
+           				this.jiezheList = response.data
+                  this.jiezheList.filter(rout =>{
+                       this.bgtes.push(rout.id)
+                     })
+              console.log(this.bgtes,456)
+                     this.totalfr = 0
+
+         })
+       // this.getTreeselectjuetj()
+     }
+     				// this.msgSuccess('操作成功');
+   })
+  },
+  // click(){
+    click(event) {
+      console.log(event)
+          this.$nextTick(() => {
+            let d = document.getElementsByClassName("cascader"+ this.ids)
+            this.nameutaiL +'s'
+            // console.log("cascader"+ '' +this.nameutaiL);
+            // console.log(48);
+            // console.log(d);
+            // console.log(d[0]);
+            // console.log( !d[0].onclick);
+            if( d[event] && !d[event].onclick ){
+              d[event].onclick = function(e) {
+                console.log(e);
+                if( e.target.className == "el-cascader-node__label" ){
+                  e.target.previousElementSibling.click();
+                }
+              }
+            }
+          });
+        },
+        clicks(event) {
+              this.$nextTick(() => {
+                let d = document.getElementsByClassName("cascader"+'' +this.id);
+                // console.log("cascader"+ '' +this.nameutaiL);
+                // console.log(48);
+                // console.log(d);
+                // console.log(d[0]);
+                // console.log( !d[0].onclick);
+                if( d[0] && !d[0].onclick ){
+                  d[0].onclick = function(e) {
+                    console.log(e);
+                    if( e.target.className == "el-cascader-node__label" ){
+                      e.target.previousElementSibling.click();
+                    }
+                  }
+                }
+              });
+            },
+            // 当前时间的前一周
+            ShowDate(date){
+                        var num = date
+                        let n = num;
+                        let d = new Date();
+                        let year = d.getFullYear();
+                        let mon = d.getMonth() + 1;
+                        let day = d.getDate();
+                        if(day <= n) {
+                            if(mon > 1) {
+                                mon = mon - 1;
+                            } else {
+                                year = year - 1;
+                                mon = 12;
+                            }
+                        }
+                        d.setDate(d.getDate() - n);
+                        year = d.getFullYear();
+                        mon = d.getMonth() + 1;
+                        day = d.getDate();
+                         let h = d.getHours();
+                         h = h < 10 ? ('0' + h) : h;
+                         let m = d.getMinutes();
+                         m = m < 10 ? ('0' + m) : m;
+                         let s = d.getSeconds();
+                          s = s < 10 ? ('0' + s) : s;
+
+                        let ss = year + "-" + (mon < 10 ? ('0' + mon) : mon) + "-" + (day < 10 ? ('0' + day) : day) +' '    + h +':' + m + ':' + s;
+                        return ss;
+                    }
+  // }
+	}
+};
+</script>
+<style lang="scss">
+  .nhkhv{
+    display: flex;
+    align-items: center;
+    span{
+      width: 30%;
+      font-size: 14px;
+      i{
+        color: red;
+        font-size: 14px;
+        margin-right: 5px;
+      }
+    }
+  }
+  .placf {
+    .el-input {
+      .el-input__inner::placeholder{
+        color: #333;
+      }
+      /* 谷歌 */
+          .el-input__inner::-webkit-input-placeholder {
+             color: #333;
+          }
+           /* 火狐 */
+         .el-input__inner:-moz-placeholder {
+              color: #333;
+          }
+           /*ie*/
+         .el-input__inner:-ms-input-placeholder {
+              color: #333;
+          }
+    }
+
+  }
+	.jdueuh{
+		.el-form-item__label {
+			width: 0px !important;
+		}
+		.el-form-item__content {
+			margin-left: 10px !important;
+			// width: 70%;
+		}
+	}
+	.ijeuhdy{
+		.el-form-item__label {
+			width: 80px !important;
+		}
+		.el-form-item__content {
+			margin-left: 80px !important;
+			// width: 70%;
+		}
+	}
+	.znshu{
+		.el-form-item__label {
+			width: 80px !important;
+			// padding-left: 30px;
+		}
+		.el-form-item__content {
+			margin-left: 80px !important;
+
+			// width: 70%;
+		}
+		.el-input__inner{
+			padding-left: 0 !important;
+		}
+	}
+	.heioangd{
+		.el-form-item__label {
+			width: 70px !important;
+		}
+		.el-form-item__content {
+			margin-left: 70px !important;
+			// width: 70%;
+		}
+	}
+.hues {
+	.area-select {
+		margin-left: 0 !important;
+		margin-right: 10px;
+	}
+}
+.jehak {
+	.el-form-item {
+		width: 100%;
+	}
+	.el-form-item__content {
+		width: 60%;
+	}
+}
+.oiuyty {
+	.el-form-item__label {
+		width: 80px !important;
+	}
+	.el-form-item__content {
+		margin-left: 80px !important;
+		// width: 70%;
+	}
+	input {
+		padding-right: 0 !important;
+	}
+}
+.el-dialog__body {
+	padding-top: 0;
+	padding-bottom: 0;
+}
+.jhy {
+	// width: 100%;
+	// .el-form-item__content {
+	// 	width: 100%;
+	// 	margin-left: 0 !important;
+	// }
+	.el-form-item__content {
+		margin-left: 55px !important;
+		// width: 70%;
+	}
+	.el-form-item__label {
+		width: 55px !important;
+	}
+}
+.ehiqya {
+	.el-form-item__content {
+		display: flex;
+		.jdidur {
+			flex: 1;
+			margin-left: 10px;
+			// text-align: left;
+			display: flex;
+		}
+	}
+	.upload-demo {
+		display: flex;
+	}
+}
+.jdoier{
+	display: flex;
+	align-items: center;
+	.upload-demo {
+		display: flex;
+	}
+}
+.hueyde {
+	width: 18px;
+	height: 18px;
+	margin: 0 5px;
+	margin-right: 10px;
+}
+.hueydele {
+	width: 15px;
+	height: 18px;
+}
+.hyeoa {
+	height: 100%;
+	display: flex;
+	align-items: center;
+}
+.hjdoecdre {
+	// margin-top: 50%;
+	transform: translateY(50%);
+}
+.ojhgy {
+	.el-dialog {
+		padding-bottom: 40px;
+		padding-top: 10px;
+	}
+	.el-dialog__header {
+		padding-bottom: 20px;
+	}
+	.el-table .cell {
+		line-height: 50px;
+	}
+}
+.hueya{
+	margin-left: 0 !important;
+}
+.iejghiadh{
+	.el-input__inner{
+		padding-right: 0 !important;
+		padding-left: 5px !important;
+	}
+}
+.nhoesf{
+  span:hover{
+    cursor:pointer
+  }
+}
+.njs{
+  color: green;
+}
+.nmk{
+  color: gold;
+}
+.nmj{
+  color: red;
+}
+</style>

+ 208 - 8
src/views/system/dept/index.vue

@@ -95,6 +95,46 @@
               <treeselect v-model="form.parentId" :options="deptOptions" :normalizer="normalizer" placeholder="选择上级部门" />
             </el-form-item>
           </el-col>
+          <!-- v-if="c !== 0" -->
+          <el-col :span="24" >
+            <!-- <el-cascader
+             v-if="nhyesfx"
+            	:placeholder="nhdyesfgh"
+            	:options="optionsLists"
+            	separator="/"
+              v-model="nhyeswdga.nhus"
+            	@change="chahe"
+            	:props="optionPropsss"
+            	style="width: 100%;"
+            	ref="myCascader"
+              @click.native="clicks"
+              :popper-class="'cascader' + id"
+              :class="[nhdyesfgh == '点击选择户籍地址' ? '' : 'placf']"
+              @active-item-change="handleItemChanges"
+            ></el-cascader> -->
+            <el-form-item label="行政区域" prop="areaId">
+              <!-- <treeselect v-model="form.areaId" :options="" :normalizer="normalizer" placeholder="选择行政区域" /> -->
+              <el-input
+                v-model="form.areaName"
+                placeholder="部门名称"
+                clearable
+                size="small"
+                disabled
+                style="margin-bottom: 20px"
+              />
+              <el-tree
+                :data="deptOptionsxz"
+                :props="defaultProps"
+                :expand-on-click-node="false"
+                :filter-node-method="filterNode"
+                node-key="areaId"
+                ref="tree"
+                :load="loadNode"
+                lazy
+                @node-click="handleNodeClick"
+                />
+            </el-form-item>
+          </el-col>
           <el-col :span="12">
             <el-form-item label="部门名称" prop="deptName">
               <el-input v-model="form.deptName" placeholder="请输入部门名称" />
@@ -142,7 +182,7 @@
 </template>
 
 <script>
-import { listDept, getDept, delDept, addDept, updateDept, listDeptExcludeChild, listDeptri,listDeptrity } from "@/api/system/dept";
+import { listDept, getDept, delDept, addDept, updateDept, listDeptExcludeChild, listDeptri,listDeptrity,listDeptxz,listRoleergth } from "@/api/system/dept";
 import Treeselect from "@riophae/vue-treeselect";
 import "@riophae/vue-treeselect/dist/vue-treeselect.css";
 
@@ -159,6 +199,12 @@ export default {
       deptList: [],
       // 部门树选项
       deptOptions: [],
+      defaultProps: {
+        children: "children",
+        label: "name"
+      },
+      // 行政区域
+      deptOptionsxz:undefined,
       // 弹出层标题
       title: "",
       // 是否显示弹出层
@@ -183,6 +229,9 @@ export default {
         orderNum: [
           { required: true, message: "菜单顺序不能为空", trigger: "blur" }
         ],
+        areaId:[
+          { required: true, message: "行政区域不能为空", trigger: "blur" }
+        ],
         email: [
           {
             type: "email",
@@ -197,7 +246,10 @@ export default {
             trigger: "blur"
           }
         ]
-      }
+      },
+      nhyesfx:false,
+      nhdyesfgh:'点击选择行政区域',
+      optionsLists:[],
     };
   },
   created() {
@@ -208,6 +260,7 @@ export default {
 	listDeptrity().then(response => {
 	      this.deptOptions = this.handleTree(response.data, "id");
 	});
+  this.getListxz()
   },
   methods: {
     /** 查询部门列表 */
@@ -218,6 +271,11 @@ export default {
         this.loading = false;
       });
     },
+    // 查询行政区域
+    getListxz(){
+
+    },
+
 	// 列表懒加载
 	load(row, treeNode, resolve){
 		console.log(row, treeNode, resolve)
@@ -228,9 +286,9 @@ export default {
 		  resolve(response.data)
 		  this.loading = false;
 		});
-		 
+
 	},
-		
+
     /** 转换部门数据结构 */
     normalizer(node) {
       if (node.children && !node.children.length) {
@@ -261,7 +319,9 @@ export default {
         leader: undefined,
         phone: undefined,
         email: undefined,
-        status: "0"
+        status: "0",
+        areaId:null,
+        areaName:null
       };
       this.resetForm("form");
     },
@@ -273,7 +333,7 @@ export default {
     /** 重置按钮操作 */
     resetQuery() {
       this.resetForm("queryForm");
-	  
+
       this.handleQuery();
     },
     /** 新增按钮操作 */
@@ -282,9 +342,10 @@ export default {
       if (row != undefined) {
         this.form.parentId = row.id;
       }
+      this.nhdyesfgh = '点击选择行政区域'
       this.open = true;
       this.title = "添加部门";
-      
+
     },
     /** 修改按钮操作 */
     handleUpdate(row) {
@@ -335,7 +396,146 @@ export default {
           this.getList();
           this.msgSuccess("删除成功");
         })
-    }
+    },
+    // 行政区域
+    mnyesfjers(index){
+      this.loading = true;
+      let pids = {}
+      pids.pid = index
+      listRoleergth(pids).then(response => {
+        // this.cascaderKey = this.cascaderKey + 1
+        if(response.data.length == 0){
+          return
+        }
+      	this.optionsLists = this.handleData(response.data);
+      	this.loading = false;
+        // console.log(this.cascaderKey,8765)
+      });
+    },
+    handleItemChanges(val) {
+      console.log(val,235)
+       let code = val ? val[val.length - 1] : '';  //需请求数据的上级地址的code值
+       let level = val.length + 1;  //需请求第几级地址
+       this.optionsLists = this.handleData(this.optionsLists, code, level);
+       // this.cascaderKey = this.cascaderKey + 1
+    	},
+    handleData(data, val, level) {
+       console.log(data,val,level,7536)
+       for (let i = 0; i < data.length; i++) {
+         if(!data[i].children) {
+           this.$set(data[i], 'children', []);
+         }
+         if(data[i].areaId === val){
+           let vfer = {}
+           vfer.pid = val
+           listRoleergth(vfer).then(res => {
+             // this.cascaderKey = this.cascaderKey + 1
+             if(res.data.length) {
+               console.log(data[i].children,4567)
+               // data[i].children = res.data;
+               this.$set(data[i], 'children', res.data)
+               console.log(data[i].children,45678)
+                // this.nhdyesku = true
+               data[i].children.forEach(ele => {
+                 this.$set(ele, 'children', [])
+               });
+             }else {
+               data[i].children = undefined;
+             }
+           }).catch(err => {
+           });
+         }else {
+           if(data[i].children.length){
+             this.handleData(data[i].children,val,level)
+           }
+         }
+       }
+
+        return data;
+    },
+    // 筛选节点
+    filterNode(value, data) {
+      if (!value) return true;
+      return data.label.indexOf(value) !== -1;
+    },
+    // 懒加载事件
+    loadNode(node, resolve){
+    	console.log(node)
+    	 if (node.level === 0) {
+         let heyt = {}
+         heyt.pid = 0
+         let pids = {}
+         pids.pid = 0
+    		 listRoleergth(pids).then(response => {
+    		   // this.deptOptions = response.data;
+    		   return resolve(
+    		    // this.handleDatawgs()
+            response.data
+    		   );
+    		   // resolve();
+    		 });
+
+    	}
+    	if (node.level >= 1) { // 点击之后触发
+      console.log(node.key)
+      let pids = {}
+      pids.pid = 0
+    	listRoleergth({pid:node.key}).then(response => {
+    	  // this.deptOptions = response.data;
+    	  return resolve(response.data);
+    	  // resolve(response.data);
+    	});
+
+
+      // for (let i = 0; i < data.length; i++) {
+      //   if(!data[i].children) {
+      //     this.$set(data[i], 'children', []);
+      //   }
+      //   if(data[i].id === val){
+      //     let vfer = {}
+      //     vfer.pid = val
+      //     listRoleergthwg(vfer).then(res => {
+      //       // this.cascaderKey = this.cascaderKey + 1
+      //       if(res.data.length) {
+      //         console.log(data[i].children,4567)
+      //         // data[i].children = res.data;
+      //         this.$set(data[i], 'children', res.data)
+      //         console.log(data[i].children,45678)
+      //          this.nhdyesku = true
+      //         data[i].children.forEach(ele => {
+      //           this.$set(ele, 'children', [])
+      //         });
+      //       }else {
+      //         data[i].children = undefined;
+      //       }
+      //     }).catch(err => {
+      //     });
+      //   }else {
+      //     if(data[i].children.length){
+      //       this.handleDatawgs(data[i].children,val,level)
+      //     }
+      //   }
+      // }
+
+    	                }
+    	  //       if (node.level > 1) return resolve([]);
+    			// if(node.level == 1){
+
+    			// }
+    	// treeselect(node.id).then(response => {
+    	//   // this.deptOptions = response.data;
+    	//   resolve(response.data);
+    	// });
+
+    },
+    // 节点单击事件
+    handleNodeClick(data) {
+      this.form.areaId = data.areaId
+      this.form.areaName = data.name
+      console.log(data)
+      // this.queryParams.deptId = data.id;
+      // this.getList();
+    },
   }
 };
 </script>

+ 3183 - 0
src/views/system/dxxf/index.vue

@@ -0,0 +1,3183 @@
+<template>
+	<div class="app-container">
+
+		<el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch" label-width="70px">
+			<el-row>
+        <el-col :span="24">
+        	<el-row>
+        		<el-col :span="12" class="jehak">
+        			<el-form-item label="居住地址" prop="villagerGroup">
+                <el-cascader
+                	placeholder="点击选择居住地址"
+                	:options="optionsList"
+                	filterable
+                	@change="chahetwos"
+                	:props="optionPropsssd"
+                	style="width: 141%;"
+                	@keyup.enter.native="handleQuery"
+                  ref = "cdd"
+                  v-model="listd"
+                  @active-item-change="handleItemChangefr"
+                ></el-cascader>
+                <!-- optionPropsssd  optionPropsss-->
+        			</el-form-item>
+        		</el-col>
+            <el-col :span="12" class="jehak">
+            	<el-form-item label="户籍地址" prop="villagerGroup">
+                <el-cascader
+                	placeholder="点击选择户籍地址"
+                	:options="optionsList"
+                	:filterable="true"
+                	separator="/"
+                	@change="chahetwo"
+                	:props="optionPropsss"
+                	style="width: 132%;"
+                	ref="myCascaderqty"
+                  v-model="lser"
+                  @active-item-change="handleItemChangefr"
+                  @keyup.enter.native="handleQuery"
+                ></el-cascader>
+            	</el-form-item>
+            </el-col>
+
+        	</el-row>
+        </el-col>
+				<el-col :span="24">
+					<el-row>
+						<el-col :span="7">
+							<el-form-item label="身份证号" prop="idCard">
+								<el-input v-model="queryParams.idCard" placeholder="请输入身份证号码" style="width:240px;" clearable @keyup.enter.native="handleQuery" />
+							</el-form-item>
+						</el-col>
+            <el-col :span="5">
+            	<el-form-item label="姓名" prop="userName">
+            		<el-input v-model="queryParams.userName" placeholder="请输入姓名" style="width:9.375rem;" clearable @keyup.enter.native="handleQuery" />
+            	</el-form-item>
+            </el-col>
+						<el-col :span="6">
+							<el-form-item label="联系号码" prop="phoneNum">
+								<el-input v-model="queryParams.phoneNum" placeholder="请输入联系号码" style="width:180px;"clearable @keyup.enter.native="handleQuery" />
+							</el-form-item>
+						</el-col>
+            <el-col :span="6">
+            	<el-form-item label="年龄阶段" >
+            		<el-select v-model="queryParams.params.age" placeholder="年龄阶段" style="width:160px;" clearable>
+            			<el-option v-for="dict in angesList" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
+            		</el-select>
+            	</el-form-item>
+            </el-col>
+					</el-row>
+				</el-col>
+				<el-col :span="24">
+					<el-row>
+            <el-col :span="7">
+            	<el-form-item label="是否户主" prop="houseType">
+            		<el-select v-model="queryParams.houseType" placeholder="是否户主" clearable style="width:240px;"  @keyup.enter.native="handleQuery"
+                   >
+            			<el-option v-for="dict in typeOptionshuuj" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
+            		</el-select>
+            	</el-form-item>
+            </el-col>
+            <el-col :span="4" >
+            	<el-form-item>
+            		<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
+            		<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
+            	</el-form-item>
+            </el-col>
+					</el-row>
+				</el-col>
+			</el-row>
+		</el-form>
+
+		<el-row :gutter="10" class="mb8">
+			<!-- <el-col :span="1.5"><el-button type="primary" plain icon="el-icon-plus" size="mini" @click="handleAdd(0)" >新增户主</el-button></el-col> -->
+			<el-col :span="1.5">
+				<!-- <el-button type="success" plain icon="el-icon-edit" size="mini" :disabled="single" @click="handleUpdate" >修改</el-button> -->
+			</el-col>
+			<el-col :span="1.5">
+				<el-button type="danger" plain icon="el-icon-edit" size="mini" :disabled="multiple" @click="handleDelete" >变更</el-button>
+			</el-col>
+      <el-col :span="1.5">
+      	<el-button type="success" plain icon="el-icon-download" size="mini"  @click="handleDeleteda" >下载模板</el-button>
+      </el-col>
+      <el-col :span="1.5" v-if="queryParams.status == 4">
+        <el-button
+          type="info"
+          plain
+          icon="el-icon-upload2"
+          size="mini"
+          @click="handleImport"
+          v-hasPermi="['system:czrk:importData']"
+        >导入</el-button>
+      </el-col>
+      <el-col :span="1.5" v-for="(ietm,index) in jbuttomfs" :key="index">
+                  	<el-button type="primary" :plain="nhslke == ietm.dictValue ? false :true" icon="el-icon-view" size="mini"  @click="chajnd(ietm.dictValue)" >{{'查看' + ietm.dictLabel + '人口信息'}}</el-button>
+            </el-col>
+      <!-- <el-col :span="1.5">
+      	<el-button type="primary" :plain="nhykis" icon="el-icon-view" size="mini"  @click="chajnd" >查看常住人口信息</el-button>
+      </el-col>
+      <el-col :span="1.5">
+      	<el-button type="primary" :plain="nhyki" icon="el-icon-view" size="mini"  @click="chajnds" >查看户籍人口信息</el-button>
+      </el-col> -->
+
+			<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
+		</el-row>
+
+		<el-table  v-if="nbdgywkajs == true"   v-loading="loading" :data="infoList" @selection-change="handleSelectionChange" stripe style="width: 100%" :height="tableMaxHeight">
+			<el-table-column type="selection" width="55" align="left" />
+			<el-table-column label="姓名" align="center" prop="userName"   width="110"/>
+			<el-table-column label="联系方式" align="center" prop="phoneNum" width="110" />
+			<el-table-column label="身份证号码" align="center" prop="idCard" width="180" />
+      <el-table-column label="历史状态" align="center" prop="status" width="90" :formatter="homeNameFormat"/>
+			<el-table-column  label="户籍地址" width="360" align="center"  >
+        <!-- prop="domicileSelect" -->
+        <!-- style="text-align: left;" -->
+
+        <template slot-scope="scope">
+                 <div v-if="scope.row.nowIn !==null"  v-html="scope.row.domicileSelect  + '<br>' + scope.row.nowIn">
+                 </div>
+                 <div v-else  v-html="scope.row.domicileSelect  + '<br>' + ''">
+                 </div>
+        </template>
+        </el-table-column>
+        <el-table-column label="是否户主" align="center" prop="houseType" width="90" />
+      <el-table-column label="变更人" align="center"  width="120" >
+         <template slot-scope="scope">
+                <el-tooltip class="item" effect="dark" :content="scope.row.changNikeUser" placement="top-start">
+                  <span>{{ scope.row.changUser == null? scope.row.changNikeUser :  scope.row.changUser}}</span>
+                </el-tooltip>
+         </template>
+      </el-table-column>
+      <el-table-column label="变更时间" align="center" prop="changUserTime" width="102" />
+			<el-table-column label="操作" align="left" class-name="small-padding fixed-width" fixed="right"  width="160">
+				<template slot-scope="scope">
+					<!-- <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" >查看修改</el-button> -->
+					<el-button size="mini" type="text" icon="el-icon-edit" @click="handleDelete(scope.row)" class="hueya" >变更</el-button>
+          <el-button size="mini" type="text" icon="el-icon-edit" @click="chajndsls(scope.row)" class="hueya" >变更历史</el-button>
+          <!-- <el-button v-if="scope.row.status == 4" size="mini" type="text" icon="el-icon-edit" @click="siw(scope.row)" class="hueya" >确认死亡</el-button> -->
+          <!-- <el-button v-if="scope.row.houseType == '是'" size="mini" type="text" icon="el-icon-edit" @click="handleDeletefamide(scope.row)" class="hueya" >查看家庭成员</el-button>
+          <el-button v-if="scope.row.houseType == '是'" size="mini" type="text" icon="el-icon-plus"   @click="handleAdd(scope.row)" class="hueya" >添加家庭成员</el-button> -->
+				</template>
+			</el-table-column>
+		</el-table>
+
+		<pagination v-if="nbdgywkajs == true" v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize" @pagination="getList" />
+
+<!-- v-loading="loading" -->
+		<!-- 添加或修改疫苗信息对话框 -->
+
+		<el-dialog   :title="title" :visible.sync="opens" width="1240px" append-to-body>
+			<el-form ref="form" :model="form" :rules="rules" label-width="100px">
+				<el-row>
+					<el-col :span="8">
+						<el-form-item label="身份证号" prop="idCard"><el-input v-model="form.idCard" placeholder="请输入身份证号码" @blur="idcde" /></el-form-item>
+					</el-col>
+					<el-col :span="8">
+						<el-form-item label="姓名" prop="userName"><el-input v-model="form.userName" placeholder="请输入姓名" /></el-form-item>
+					</el-col>
+					<el-col :span="8">
+						<el-form-item label="性别" prop="gender">
+
+							<!-- <el-input v-model="form.gender" placeholder="请输入性别" /> -->
+
+							<el-select v-model="form.gender" placeholder="性别" clearable style="width: 100%;">
+								<el-option v-for="dict in statusOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
+							</el-select>
+						</el-form-item>
+					</el-col>
+					<el-col :span="24">
+						<el-row>
+							<el-col :span="8">
+								<el-form-item label="联系号码" prop="phoneNum"><el-input v-model="form.phoneNum" placeholder="请输入联系号码" /></el-form-item>
+							</el-col>
+							<el-col :span="8">
+								<el-form-item label="人员分类" prop="keyIndustries">
+									<el-select v-model="form.keyIndustries" placeholder="人员分类" clearable style="width: 100%;">
+										<el-option v-for="dict in typeOptionsname" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
+									</el-select>
+								</el-form-item>
+							</el-col>
+							<el-col :span="8">
+								<el-form-item label="年龄" prop="age"><el-input type="number" v-model="form.age" placeholder="请输入年龄" /></el-form-item>
+							</el-col>
+						</el-row>
+					</el-col>
+
+          <el-col :span="24">
+          	<el-row>
+          		<el-col  :span="12" style="position: relative;">
+               <span style="position: absolute;top:5px; color: red;left:25px;">*</span>
+          			<el-form-item label="户籍地址" >
+
+                  <!-- prop="provinceId" -->
+          				<!-- <el-input v-model="form.villageTowns" type="textarea" placeholder="请输入内容" /> -->
+          				<!-- <treeselect v-model="form.parentId" :options="deptOptionstwo" :normalizer="normalizer" :flat="true" :maxHeight="150" @select="djieskle"  @close = "nhyu" :placeholder="nhdyesfgh" /> -->
+          				<el-cascader
+                  v-if="nhyesfx"
+          					:placeholder="nhdyesfgh"
+          					:options="optionsLists"
+          					separator="/"
+                    v-model="nhyeswdga.nhus"
+          					@change="chahe"
+          					:props="optionPropsss"
+          					style="width: 100%;"
+          					ref="myCascader"
+
+                    @active-item-change="handleItemChanges"
+                    :class="[nhdyesfgh == '点击选择户籍地址' ? '' : 'placf']"
+          				></el-cascader>
+                  <!-- @click.native="clicks" -->
+                  <!-- :popper-class="'cascader' + id" -->
+
+
+<!-- @active-item-change="handleItemChanges" -->
+
+
+                  <!-- <el-cascader
+                  	:placeholder="nhdyesfgh"
+                  	:options="optionsList"
+                  	:filterable="true"
+                  	separator="/"
+                  	@change="chahe(index)"
+                  	v-model="selected"
+                  	:props="optionPropsss"
+                  	style="width: 100%;"
+                  	ref="myCascader"
+                    @active-item-change="handleItemChange"
+                    :class="[nhdyesfgh == '点击选择居住地址' ? '' : 'placf']"
+                  ></el-cascader> -->
+          			</el-form-item>
+
+          		</el-col>
+
+          		<el-col :span="12">
+          			<el-form-item label="详细地址" prop="nowIn"><el-input v-model="form.nowIn" type="input" placeholder="请输入户籍详细地址" /></el-form-item>
+          		</el-col>
+          	</el-row>
+          </el-col>
+
+					<el-col :span="24" v-for="(item, index) in form.czrkJzdzList" :key="index"  v-show="senlsduea == false || index !== 0" >
+            <!-- v-show="senlsduea == false || index !== 0" -->
+            <el-col :span="12" >
+            	<el-form-item label="居住地址" prop="province">
+
+                <!-- item.optiodne -->
+                <el-cascader
+                	:placeholder="item.plaed"
+                	:options="item.optiodne"
+                	:filterable="true"
+                	separator="/"
+                	@change="onSelected(index)"
+                	:props="optionPropsss"
+                	style="width: 100%;"
+                	:ref="'myCascaderf' + '' + index "
+                  v-model="item.seleted"
+                  :key="cascaderKey"
+                  @expand-change="idjeus"
+                  :class="[item.plaed == '请选择居住地址' ? '' : 'placf']"
+                  @active-item-change="handleItemChange"
+                ></el-cascader>
+                <!-- @click.native="click(index)"
+                :popper-class="'cascader' + idsf" -->
+                <!-- @active-item-change="handleItemChange" -->
+
+                <!-- v-if="jdourdjoaj == false && index == 0" -->
+
+                <!-- <treeselect v-model="item.seleted" :options="item.optiodne" :show-count="true" placeholder="请选择归属部门" :load-options="loadOptions" :normalizer="normalizer" /> -->
+                </el-form-item>
+                 <!-- @active-item-change="handleItemChange" -->
+            	</el-form-item>
+              <!-- :key="cascaderKey"  seleted -->
+
+            </el-col>
+            <el-col :span="11">
+            	<el-form-item label="详细地址" prop="nowIn"><el-input v-model="item.nowIn" type="input" placeholder="请输入内容" /></el-form-item>
+            </el-col>
+            <el-col :span="1">
+              <div class="hyeoa" style="margin-top: 10px;">
+              	 <el-tooltip class="item" effect="dark" content="新增居住地址信息,请慎重操作" placement="top-start">
+              	      <img src="../../../assets/images/icon_tc_add.png" alt="" class="hueyde" @click="tijea(index)" />
+              	    </el-tooltip>
+              		<el-tooltip class="item" effect="dark" content="删除无法恢复,请慎重操作" placement="top-start">
+              		     <img src="../../../assets/images/delei.png" alt="" class="hueydele" @click="naeyrfakjf(index, item)" />
+              		   </el-tooltip>
+              </div>
+            </el-col>
+          </el-col>
+
+					<el-col :span="24">
+						<el-col :span="12">
+							<el-form-item label="是否户主" prop="houseType">
+								<el-select v-model="form.houseType" placeholder="是否户主" clearable style="width: 100%;"  @change="changese">
+									<el-option v-for="dict in typeOptionshuuj" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
+								</el-select>
+							</el-form-item>
+						</el-col>
+						<el-col :span="12">
+              <el-tooltip class="item" effect="dark" content="如果不知道户编号,请用户主身份证号(已默认是户主身份证号)" placement="top-start">
+							<el-form-item label="户编号" prop="code">
+							<el-input      v-model="form.code" placeholder="请输入户主编号"/>
+              <!-- :disabled="nhe" -->
+							</el-form-item>
+              </el-tooltip>
+						</el-col>
+					</el-col>
+
+
+          <el-col :span="24" v-if="shifouh == false">
+          	<el-col :span="12">
+          		<el-form-item label="户主名称" >
+          			<el-input      v-model="form.hzName" placeholder="请输入户主名称"/>
+          		</el-form-item>
+          	</el-col>
+          	<el-col :span="12">
+
+          		<el-form-item label="户主身份证" prop="hzIdCard">
+          		<el-input      v-model="form.hzIdCard" placeholder="请输入户主身份证"/>
+              <!-- :disabled="nhe" -->
+          		</el-form-item>
+
+          	</el-col>
+          </el-col>
+
+
+          <el-col :span="24">
+            <el-col :span="12">
+                <el-form-item label="与户主关系" prop="yhzgx">
+                	<el-select filterable v-model="form.yhzgx" placeholder="与户主关系" clearable style="width: 100%;">
+                		<el-option v-for="dict in typeOptionstyzandeh" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictLabel" />
+                	</el-select>
+                </el-form-item>
+            </el-col>
+            <el-col :span="12">
+            	<el-form-item label="网格" prop="houseTyper">
+            		<el-cascader
+            			:placeholder="ndhesdweaf"
+            			:options="optionsListwg"
+            			filterable
+            			@change="chahetwoswge"
+            			:props="optionPropsssdwg"
+            			style="width: 100%;"
+            		  ref = "cddfr"
+                  :key="nhduesw"
+            		  @active-item-change="handleItemChangefrwg"
+                  :class="[ndhesdweaf == '点击选择网格' ? '' : 'placf']"
+            		></el-cascader>
+            	</el-form-item>
+            </el-col>
+          </el-col>
+
+          <el-col :span="24">
+            <el-col :span="12">
+              <el-form-item label="备注" prop="remark">
+              	<el-input v-model="form.remark" type="input" placeholder="请输入备注" />
+              </el-form-item>
+            </el-col>
+            <el-col :span="12">
+                <el-form-item label="人员状态" prop="remark">
+                	<el-select v-model="formgt.houseType" placeholder="请选择人员状态" clearable style="width: 100%;">
+                		<el-option v-for="dict in typeOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
+                	</el-select>
+                </el-form-item>
+            </el-col>
+
+          </el-col>
+
+				</el-row>
+
+			</el-form>
+			<div slot="footer" class="dialog-footer">
+        <el-button type="success" @click="xinxihe" v-if="nhtrew">修改并确认</el-button>
+				<el-button type="primary" @click="submitForm">确 定</el-button>
+				<el-button @click="cancel">取 消</el-button>
+			</div>
+		</el-dialog>
+
+		<!-- 图片预览 -->
+		<el-dialog :close-on-click-modal="false" title="变更原因" :visible.sync="imashow" width="800px" append-to-body >
+      <el-form ref="formgt" :model="formgt" :rules="ruleshy" label-width="100px" style="padding-bottom: 30px;">
+      <el-form-item label="变更原因:" prop="houseType">
+      	<el-select v-model="formgt.houseType" placeholder="请选择变更原因" clearable style="width: 100%;">
+      		<el-option v-for="dict in typeOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
+      	</el-select>
+      </el-form-item>
+      </el-form>
+      <div slot="footer" class="dialog-footer">
+      	<el-button type="primary" @click="submitFormfr">确 定</el-button>
+      	<el-button @click="cancel">取 消</el-button>
+      </div>
+		</el-dialog>
+
+
+    <el-dialog :close-on-click-modal="false" title="查看信息" :visible.sync="jiezhong" width="97%" append-to-body class="ojhgy">
+      <el-row :gutter="10" class="mb8" v-if="nhyesoder == 3">
+      	<el-col :span="1.5"><el-button type="primary" plain icon="el-icon-plus" size="mini" @click="handleAdd(bhdes)" >新增</el-button></el-col>
+        <el-col :span="1.5"><el-button type="primary" plain  size="mini" @click="xinxtb" >与户主户籍同步</el-button></el-col>
+        <el-button type="success" size="mini" plain @click="xinxiheu" >一键确认信息无误</el-button>
+      </el-row>
+
+    	<el-table :data="jiezheList" stripe style="width: 100%">
+    			<el-table-column label="姓名" align="center" prop="userName" fixed  width="100"/>
+          <el-table-column label="与户主关系" align="center" prop="yhzgx" fixed  width="100"/>
+    			<el-table-column label="联系方式" align="center" prop="phoneNum" width="110" />
+    			<el-table-column label="身份证号码" align="center" prop="idCard" width="180" />
+    			<!-- <el-table-column label="户籍地址" align="center" prop="domicileSelect"  /> -->
+          <el-table-column  label="户籍地址"  align="center"  >
+            <template slot-scope="scope">
+                     <div v-if="scope.row.nowIn !==null"  v-html="scope.row.domicileSelect  + '<br>' + scope.row.nowIn">
+
+                     </div>
+                     <div v-else  v-html="scope.row.domicileSelect  + '<br>' + ''">
+                     </div>
+            </template>
+          </el-table-column>
+    		  <!-- nowInSelect -->
+    			<!-- <el-table-column label="居住地址" align="center" prop="nowInSelect" width="280"/> -->
+          <el-table-column  label="居住地址" align="center" width="280" >
+            <template slot-scope="scope">
+                     <div v-if="scope.row.domicile !==null"  v-html="scope.row.nowInSelect + '<br>' + scope.row.domicile"></div>
+                     <div v-else  v-html="scope.row.nowInSelect + '<br>' + scope.row.domicile">    </div>
+            </template>
+            </el-table-column>
+    		  <!-- <el-table-column label="是否户主" align="center" prop="houseType" width="90" /> -->
+          <el-table-column v-if="nhyesoder !== 3" label="操作人" align="center" prop="updateBy" width="100" />
+          <el-table-column v-if="nhyesoder !== 3" label="创建时间" align="center" prop="createTime"  width="150" />
+
+         <el-table-column label="操作" align="left" class-name="small-padding fixed-width" fixed="right"  width="90" v-if="nhyesoder == 3">
+         	<template slot-scope="scope">
+         		<el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" >查看修改</el-button>
+         	</template>
+         </el-table-column>
+    		</el-table>
+    	</el-table>
+      <pagination v-show="totalfr > 0" :total="totalfr" :page.sync="ndhuwosdjh.pageNum" :limit.sync="ndhuwosdjh.pageSize" @pagination="chakei"  />
+    </el-dialog>
+    <!-- 变更历史 -->
+    <el-dialog :close-on-click-modal="false" title="查看信息" :visible.sync="biangneg" width="97%" append-to-body class="ojhgy">
+    	<el-table :data="bgls" stripe style="width: 100%">
+    			<el-table-column label="姓名" align="center" prop="userName" fixed  width="100"/>
+          <!-- <el-table-column label="与户主关系" align="center" prop="yhzgx" fixed  width="100"/> -->
+    			<el-table-column label="联系方式" align="center" prop="phoneNum" width="110" />
+    			<el-table-column label="身份证号码" align="center" prop="idCard" width="180" />
+          <el-table-column label="历史状态" align="center" prop="status" width="90" :formatter="homeNameFormat"/>
+
+    			<!-- <el-table-column label="户籍地址" align="center" prop="domicileSelect"  /> -->
+
+          <el-table-column  label="户籍地址"  align="center"  >
+            <template slot-scope="scope">
+                     <div v-if="scope.row.nowIn !==null"  v-html="scope.row.domicileSelect  + '<br>' + scope.row.nowIn">
+
+                     </div>
+                     <div  v-html="scope.row.domicileSelect  + '<br>' + ''">
+                     </div>
+            </template>
+          </el-table-column>
+          <el-table-column label="变更人" align="center"  width="110" >
+             <template slot-scope="scope">
+                    <el-tooltip class="item" effect="dark" :content="scope.row.changNikeUser" placement="top-start">
+                      <span>{{ scope.row.changUser == null? scope.row.changNikeUser :  scope.row.changUser}}</span>
+                    </el-tooltip>
+             </template>
+          </el-table-column>
+          <el-table-column label="变更时间" align="center" prop="changUserTime" width="100" />
+         <!-- <el-table-column label="操作" align="left" class-name="small-padding fixed-width" fixed="right"  width="90" v-if="nhyesoder == 3">
+         	<template slot-scope="scope">
+         		<el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" >查看修改</el-button>
+         	</template>
+         </el-table-column> -->
+    		</el-table>
+    	</el-table>
+    </el-dialog>
+    <!-- 导入对话框 -->
+    <el-dialog :close-on-click-modal="false" :title="upload.title" :visible.sync="upload.open" width="400px" append-to-body>
+      <el-upload
+        ref="upload"
+        :limit="1"
+        accept=".xlsx, .xls"
+        :headers="upload.headers"
+        :action="upload.url + '?source=' + upload.source"
+        :disabled="upload.isUploading"
+        :on-progress="handleFileUploadProgress"
+        :on-success="handleFileSuccess"
+        :auto-upload="false"
+        drag
+      >
+        <i class="el-icon-upload"></i>
+        <div class="el-upload__text">
+          将文件拖到此处,或
+          <em>点击上传</em>
+        </div>
+        <div class="el-upload__tip" slot="tip">
+          <div class="nhkhv">
+            <span><i>*</i>数据来源:</span>
+            <el-select v-model="upload.source" placeholder="请选择数据来源"    style="width: 100%;">
+            	<el-option v-for="dict in typeOptionstimesgt" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
+            </el-select>
+          </div>
+          <el-link type="info" style="font-size:12px" @click="importTemplate">下载模板</el-link>
+        </div>
+        <div class="el-upload__tip" style="color:red" slot="tip">提示:仅允许导入“xls”或“xlsx”格式文件!</div>
+      </el-upload>
+      <div slot="footer" class="dialog-footer">
+        <el-button type="primary" @click="submitFileForm">确 定</el-button>
+        <el-button @click="nske">取 消</el-button>
+      </div>
+    </el-dialog>
+	</div>
+</template>
+
+<script>
+import { listInfo, listInfos, getInfo, delInfo, addInfo, updateInfo, exportInfo, listRoleer, idces, delInfort,yiaoe,exportConfig,exportConfigtyr,importLog,listInfotj,listRoleergth,listInfotjxz,listInfotjjs,listInfotjjsfaml,listRoleergthwg,listInfotjjssbule,listInfotjjssquer } from '@/api/system/dxxf';
+import {listInfosls} from '@/api/system/residentss';
+// import { treeselect } from '@/api/system/dept';
+import { treeselect,treeselectdepts } from "@/api/system/dept";
+import Treeselect from '@riophae/vue-treeselect';
+import { getToken } from '@/utils/auth';
+import '@riophae/vue-treeselect/dist/vue-treeselect.css';
+import "@riophae/vue-treeselect/dist/vue-treeselect.css";
+export default {
+	name: 'Info',
+	components: { Treeselect },
+	data() {
+		return {
+			// 遮罩层
+			loading: true,
+			// 选中数组
+			ids: [],
+			// 非单个禁用
+			single: true,
+			// 非多个禁用
+			multiple: true,
+			// 显示搜索条件
+			showSearch: true,
+			// 总条数
+			total: 0,
+      id:'fg',
+      idsf:'gh',
+      ruleshy:{},
+			// 疫苗信息表格数据
+			infoList: [],
+			dialogImageUrl: '',
+      // 用户导入参数
+      upload: {
+        // 是否显示弹出层(用户导入)
+        open: false,
+        // 弹出层标题(用户导入)
+        title: "",
+        // 是否禁用上传
+        isUploading: false,
+        // 是否更新已经存在的用户数据
+        source: null,
+        // 设置上传的请求头部
+        headers: { Authorization: "Bearer " + getToken() },
+        // 上传的地址
+        url: process.env.VUE_APP_BASE_API + "/boman-web-core/core/czrk/importData"
+      },
+			// 弹出层标题
+			title: '',
+      totalfr:0,
+			// 是否显示弹出层
+			opens: false,
+			process: process.env.VUE_APP_BASE_API,
+			// 查询参数
+			queryParams: {
+				pageNum: 1,
+				pageSize: 10,
+				villageTowns: null,
+				village: null,
+				villagerGroup: null,
+				houseType: null,
+				province: null,
+				city: null,
+				userName: null,
+        queryType:'hj',
+				gender: null,
+				idCard: null,
+				phoneNum: null,
+				keyIndustries: null,
+				isVaccination: null,
+				vaccineName: null,
+				vaccinationTime: null,
+				vaccinationPlace: null,
+				contraindication: null,
+        status:'3',
+				params:{
+					age:''
+				}
+			},
+			config: [],
+      nhyeswdga:{nhus:[]},
+			comfietg:[],
+			configther:[],
+			configfor:[],
+      optionsListwg:[],
+      nhduesw:0,
+      nhslke:'3',
+			// 表单参数
+			form: {
+				nowIn: '',
+				age:'',
+				code:'',
+				czrkJzdzList: [
+					{
+						provinceId: '',
+						province: '',
+						deptId: '',
+						cityId: '',
+						city: '',
+						regionId:'',
+            region: '',
+            townId: '',
+            town: '',
+            villageId: '',
+            village: '',
+            nowIn:'',
+            seleted:[],
+            plaed:'请选择居住地址',
+            optiodne:[],
+						disableg:false
+					},
+          {
+          	provinceId: '',
+          	province: '',
+          	deptId: '',
+          	cityId: '',
+          	city: '',
+          	regionId:'',
+            region: '',
+            townId: '',
+            town: '',
+            villageId: '',
+            village: '',
+            nowIn:'',
+            seleted:[],
+            plaed:'请选择居住地址',
+            optiodne:[],
+          	disableg:false
+          }
+				]
+			},
+      nhykis:true,
+      nhyki:false,
+			// 表单校验
+			rules: {
+				idCard: [{ required: true, message: '身份证号码不能为空', trigger: 'blur' }],
+				userName: [{ required: true, message: '姓名不能为空', trigger: 'blur' }],
+				provinceId:[{ required: true, message: '户籍地址不能为空或不能只选潜山市', trigger: 'blur' }],
+        houseType:[{ required: true, message: '请选择户主', trigger: 'blur' }],
+        code:[{ required: true, message: '请输入户编号信息', trigger: 'blur' }],
+        yhzgx:[{ required: true, message: '请选择与户主关系', trigger: 'blur' }],
+      },
+      // yhzgx:[{ required: true, message: '请选择与户主关系', trigger: 'blur' }],
+			selected: [],
+			selectedtwo: [],
+			statusOptions: [
+				{
+					dictValue: '女',
+					dictLabel: '女'
+				},
+				{
+					dictValue: '男',
+					dictLabel: '男'
+				}
+			],
+			statusOptionstue: [
+				{
+					dictValue: '已完成',
+					dictLabel: '已完成'
+				},
+				{
+					dictValue: '未完成',
+					dictLabel: '未完成'
+				}
+			],
+			typeOptionshuuj: [
+				{
+					dictValue: '是',
+					dictLabel: '是'
+				},
+				{
+					dictValue: '否',
+					dictLabel: '否'
+				}
+			],
+      typeOptionshuujs: [
+      	{
+      		dictValue: 'Y',
+      		dictLabel: '是'
+      	},
+      	{
+      		dictValue: 'N',
+      		dictLabel: '否'
+      	}
+      ],
+			deptOptionstwo: [],
+			options: [],
+      optionss:[],
+      optionsList: [],
+			optionProps: {
+				value: 'areaId',
+				label: 'name',
+				checkStrictly: true,
+			},
+      optionPropsssd:{
+        value: 'areaId',
+        label: 'name',
+        checkStrictly: true,
+        lazy: true,
+        lazyLoad: this.lazyLoads,
+        leaf: "leaf"
+      },
+      optionPropsss: {
+      	value: 'areaId',
+      	label: 'name',
+      	checkStrictly: true,
+      },
+      // optionPropsss: {
+      // 	value: 'id',
+      // 	label: 'label',
+      // 	checkStrictly: true,
+      // },
+      optionPropsssdwg:{
+        value: 'id',
+        label: 'areaName',
+        checkStrictly: true,
+      },
+			optionPropstwo: {
+				value: 'id',
+				label: 'label',
+				children: 'children',
+				checkStrictly: true
+			},
+			heuiq: [],
+			typeOptions: [],
+			typeOptionsty: [
+				{
+					dictValue: '是',
+					dictLabel: '是'
+				},
+				{
+					dictValue: '否',
+					dictLabel: '否'
+				}
+			],
+			typeOptionstyzandeh:[],
+			angesList: [
+
+			],
+			typeOptionsname: [],
+			typeOptionstimes: [],
+			typeOptionsvaccinatio: [],
+			typeOptionscont: [],
+			typeOptionscontty: [],
+			typeOptionscontqit:[],
+			// 剂次
+			typeOptionstimesgt: [
+
+			],
+			imashow: false,
+			naneme: false,
+			shouwes: false,
+			shouwestwo:false,
+			villageTownshy: undefined,
+			naiseurya: '',
+			hsuej: '',
+			jdourdjoaj: false,
+      senlsduea:false,
+			jiezhong: false,
+			jiezheList: [],
+			fireLise:{config:[]},
+			nameutaiL:0,
+			jue:false,
+			nhue:true,
+      exportflag:true,
+      errorlog:false,
+      errorList:[],
+      idfer:0,
+      formgt:{},
+      list: [],
+      listd:[],
+      lser:[],
+      ndhesdweaf :'点击选择网格',
+      dneyhsd:{},
+      nhdyesfgh:'点击选择户籍地址',
+      nhe:false,
+      nhyesoder:0,
+      ndhuwosdjh:{
+        pageNum: 1,
+        pageSize: 10,
+      },
+      tableMaxHeight:300,
+      cascaderKey:0,
+      optionsLists:[],
+      nhyeojd:false,
+      ndhyuewkg:[],
+      nhdyesku:false,
+      nbdgywkajs:false,
+      shifouh:true,
+      bhdes:{},
+      nhtrew:false,
+      bgtes:[],
+      ndheysfs:false,
+      nhyesaw:1,
+      nhyesfx:false,
+      jbuttomfs:[],
+      biangneg:false,
+      bgls:[],
+      pighomeList:[]
+		};
+	},
+	created() {
+		this.getList();
+		// this.getTreeselectjue();
+    this.mnyesfjer(0)
+    // this.mnyesfjers(0)
+    // this.mnyesfjerop(0)
+    this.mnyesfjeropwg(0)
+    this.getTreeselectjuetj()
+    // this.getTreeselect()
+		// 变更原因
+		this.getDicts('person_type').then(response => {
+			this.typeOptions = response.data;
+      // this.jbuttomfs = response.data
+		});
+    this.getDicts('people_status').then(response => {
+    	// this.typeOptions = response.data;
+      this.jbuttomfs = response.data
+    });
+		// 疫苗名称
+		// this.getDicts('renyuanfenlei').then(response => {
+		// 	this.typeOptionsname = response.data;
+		// });
+
+    // 与户主关系
+    // this.getDicts('yuhuzhuguanxi').then(response => {
+    // 	this.typeOptionstyzandeh = response.data;
+    // });
+
+		// 年龄阶段
+		this.getDicts('age_interval').then(response => {
+			this.angesList = response.data;
+		});
+
+		// this.form.province = this.selected[0];
+		// this.form.city = this.selected[1];
+		// this.form.region = this.selected[2];
+		console.log(this.selected,456)
+    console.log(this.cascaderKey,347)
+		// this.queryParams.province = this.selectedtwo[0];
+		// this.queryParams.city = this.selectedtwo[1];
+		// this.queryParams.region = this.selectedtwo[2];
+		// this.naiseurya = this.form.province + this.form.city + this.form.region;
+    window.onresize = () => {
+                    this.changeTableMaxHeight()
+                  }
+                  this.changeTableMaxHeight()
+
+
+	},
+	mounted() {
+		console.log(136)
+    window.onresize = () => {
+                    this.changeTableMaxHeight()
+                  }
+                  this.changeTableMaxHeight()
+	},
+
+	methods: {
+    //  获取猪舍
+    homeNameFormat(row, column) {
+      return this.selectDictLabel(this.typeOptions,row.status);
+      },
+    // 筛选节点
+    filterNode(value, data) {
+      if (!value) return true;
+      return data.name.indexOf(value) !== -1;
+    },
+    nhyeosdsef(){
+     console.log(234)
+    },
+    /** 转换菜单数据结构 */
+    normalizer(node) {
+      if (node.children && !node.children.length) {
+        delete node.children;
+      }
+      return {
+        id: node.id,
+        label: node.label,
+        children: node.children
+      };
+    },
+    /** 初始化下拉框数据 **/
+        getRootModels() {
+           //初始化数据 只加载根节点
+           listRoleergth('0').then(response => {
+             // for(let index of response.data){
+             //   let modeInfo = {} ;
+             //   modeInfo.id = index.id
+             //   modeInfo.label = index.name;
+             //   modeInfo.children = null;
+             //   this.rootOptions.push(modeInfo);
+             // }
+             for(var i = 0 ; i < this.form.czrkJzdzList.length ; i++){
+               // this.nameutaiL = i
+               // this.mnyesfjerty(0)
+               this.form.czrkJzdzList[i].optiodne.push(response.data)
+             }
+           });
+         },
+    /** 加载子节点数据 **/
+         loadOptions({ action, parentNode, callback }){
+           console.log(action,125)
+           if (action === "LOAD_CHILDREN_OPTIONS") {
+           	  //加载点击节点的 子节点
+              var ndhes = {}
+              ndhes.pid = parentNode.areaId
+              listRoleergth(ndhes).then(response => {
+                let arr = [];
+                arr = response.data
+                // for(let index of response.data){
+                //   let chiledModeInfo = {} ;
+                //   chiledModeInfo.id = index.id
+                //   chiledModeInfo.label = index.name;
+                //   chiledModeInfo.children = null;
+                //   arr.push(chiledModeInfo);
+                // }
+                parentNode.children = arr;
+              });
+              callback();
+            }
+         },
+
+		onSelected(data,val) {
+			console.log(data, 125);
+      if(this.opens == false){
+        return  false
+      }
+      this.nameutaiL = data
+      // console.log(this.nameutaiL,76543)
+      // console.log(this.form.czrkJzdzList[data].seleted)
+      // console.log(this.$refs['myCascaderf' + '' + data],123)
+      // console.log(this.$refs['myCascaderf' + '' + data][0].$refs.panel.checkedValue,data)
+      // console.log(this.$refs['myCascaderf' + '' + data][0].getCheckedNodes()[0].pathLabels)
+
+      // if(data !== 0){
+      //   if(this.nhyeojd = true){
+      //     this.$refs['myCascaderf' + '' + this.nameutaiL][0].$refs.panel.clearCheckedNodes()
+      //   }
+      // }
+      // var nhedse = []
+      // nhedse = this.$refs['myCascaderf']
+      // if(nhedse.length > 1){
+      //   this.$refs['myCascaderf'] = this.$refs['myCascaderf'][0];
+      //   console.log(this.$refs['myCascaderf'],133)
+      //   // for(var i = 0 ; i < nhedse.length; i++){
+      //   //   if(i == 0){
+      //   //     this.$refs['myCascaderf'][0].$refs.panel.clearCheckedNodes()
+      //   //   }
+      //   // }
+      // }
+   //    this.$refs['myCascaderf'][0].$refs.panel.checkedValue =  this.form.czrkJzdzList[data].seleted
+   //    console.log(this.$refs['myCascaderf'][0].$refs.panel.checkedValue,data)
+   //    console.log(this.$refs['myCascaderf'][0].getCheckedNodes()[0].pathLabels)
+      this.nhyeojd = false
+      // this.nhdyesku = false
+			// province
+      let nhdye = []
+      nhdye = this.$refs['myCascaderf' + '' + data][0].getCheckedNodes()[0].pathLabels
+      let nhyhe = []
+      nhyhe = this.form.czrkJzdzList[data].seleted
+      if(nhdye.length == 1){
+        this.form.czrkJzdzList[data].provinceId = nhyhe[ nhyhe.length - 1];
+        this.form.czrkJzdzList[data].province = nhdye[ nhdye.length - 1];
+        this.form.czrkJzdzList[data].cityId = null
+        this.form.czrkJzdzList[data].city = null
+        this.form.czrkJzdzList[data].regionId = null
+        this.form.czrkJzdzList[data].region = null
+        this.form.czrkJzdzList[data].townId = null
+        this.form.czrkJzdzList[data].town = null
+        this.form.czrkJzdzList[data].villageId = null
+        this.form.czrkJzdzList[data].village = null
+      }else if(nhdye.length == 2){
+        this.form.czrkJzdzList[data].cityId = nhyhe[ nhyhe.length - 1];
+        this.form.czrkJzdzList[data].city = nhdye[ nhdye.length - 1];
+        this.form.czrkJzdzList[data].regionId = null
+        this.form.czrkJzdzList[data].region = null
+        this.form.czrkJzdzList[data].townId = null
+        this.form.czrkJzdzList[data].town = null
+        this.form.czrkJzdzList[data].villageId = null
+        this.form.czrkJzdzList[data].village = null
+      }else if(nhdye.length == 3){
+        this.form.czrkJzdzList[data].regionId = nhyhe[ nhyhe.length - 1];
+        this.form.czrkJzdzList[data].region = nhdye[ nhdye.length - 1];
+        this.form.czrkJzdzList[data].townId = null
+        this.form.czrkJzdzList[data].town = null
+        this.form.czrkJzdzList[data].villageId = null
+        this.form.czrkJzdzList[data].village = null
+      }else if(nhdye.length == 4){
+        this.form.czrkJzdzList[data].townId = nhyhe[ nhyhe.length - 1];
+        this.form.czrkJzdzList[data].town = nhdye[ nhdye.length - 1];
+        this.form.czrkJzdzList[data].villageId = null
+        this.form.czrkJzdzList[data].village = null
+      }else if(nhdye.length == 5){
+        this.form.czrkJzdzList[data].villageId = nhyhe[ nhyhe.length - 1];
+        this.form.czrkJzdzList[data].village = nhdye[ nhdye.length - 1];
+      }
+     this.form.czrkJzdzList[data].deptId =  nhyhe[ nhyhe.length - 1]
+      // id
+			// this.form.province = data[0];
+			// this.form.city = data[1];
+			// this.form.region = data[2];
+      // 名称
+			// this.naiseurya = this.form.province + this.form.city + this.form.region;
+			// if (this.jdourdjoaj == false) {
+			// 	// 修改
+			// 	this.form.nowIn = '';
+			// }
+			// this.form.nowIn = undefined
+			// this.form.villageTowns = data[3]
+      console.log(this.form)
+		},
+		dakousr() {
+			console.log(2345);
+		},
+    mnyesfjer(index,val){
+      this.loading = true;
+      let pids = {}
+      pids.pid = index
+      listRoleergth(pids).then(response => {
+        // this.cascaderKey = this.cascaderKey + 1
+        if(response.data.length == 0){
+          return
+        }
+        if(val !== undefined){
+          this.nameutaiL = val
+        }
+         console.log(this.nameutaiL,87)
+      	this.form.czrkJzdzList[this.nameutaiL].optiodne = this.handleData(response.data);
+        this.optionsLists = this.handleData(response.data);
+        this.optionsList = this.handleData(response.data);
+        // this.form.czrkJzdzList[0].optiodne
+      	this.loading = false;
+        console.log(this.cascaderKey,8765)
+      });
+    },
+    mnyesfjerty(index,val){
+      this.loading = true;
+      let pids = {}
+      pids.pid = index
+      listRoleergth(pids).then(response => {
+        // this.cascaderKey = this.cascaderKey + 1
+        if(response.data.length == 0){
+          return false
+        }
+        for(var i = 0 ; i < this.form.czrkJzdzList.length ; i++){
+          // this.nameutaiL = i
+          // this.mnyesfjerty(0)
+          console.log(i,7528)
+          this.form.czrkJzdzList[i].optiodne = this.handleData(response.data);
+        }
+
+        // this.form.czrkJzdzList[0].optiodne
+      	this.loading = false;
+        console.log(this.cascaderKey,8765)
+      });
+    },
+
+    mnyesfjerop(index){
+      this.loading = true;
+      let pids = {}
+      pids.pid = index
+      listRoleergth(pids).then(response => {
+      	this.optionsList = this.handleData(response.data);
+      	this.loading = false;
+      });
+    },
+
+    mnyesfjeropwg(index){
+      this.loading = true;
+      let pids = {}
+      pids.pid= index
+      listRoleergthwg(pids).then(response => {
+      	this.optionsListwg = this.handleDatawg(response.data);
+      	this.loading = false;
+      });
+    },
+    mnyesfjers(index){
+      this.loading = true;
+      let pids = {}
+      pids.pid = index
+      listRoleergth(pids).then(response => {
+        // this.cascaderKey = this.cascaderKey + 1
+        if(response.data.length == 0){
+          return
+        }
+      	this.optionsLists = this.handleData(response.data);
+      	this.loading = false;
+        console.log(this.cascaderKey,8765)
+      });
+    },
+   idjeus(data){
+    console.log(data,2347)
+    // this.cascaderKey = this.cascaderKey + 1
+   },
+     format() {
+          let res =  this.getfristChild(); // 拿一级数据
+          this.list.forEach((item) => {
+            // 遍历回显的id 二维数组
+            if (item.length > 1) {
+              item.forEach(async (sitem, index) => {
+                if (index == item.length - 1) {
+                  return; // 如果是一级节点就不用查找了
+                }
+                let arr =  this.getOther(sitem); // 不是一级,获取子级
+                this.findItem(res, arr, sitem); //  判断当前拿到的子级数据属于哪个一级数据下的子级,并且加到当前一级的children属性下
+              });
+            }
+          });
+           },
+     // 递归判断
+           findItem(res, arr, id) {
+            for (let i = 0; i < res.length; i++) {
+              if (res[i].value === id) {
+                res[i].children = arr; // 有chidlren 也要判断是不是这个children下的子级
+                return res;
+              }
+              if (res[i].children) {
+                this.findItem(res[i].children, arr, id);
+              }
+            }
+             return res;
+          },
+
+
+   // getAddress() {
+   // 	        this.mnyesfjer(0).then(res => {
+   // 	          this.optionsList =  this.handleData(res.data);
+   // 	        }).catch(err => {
+   // 	        })
+   // 	    },
+   	     handleItemChange(val) {
+           console.log(val,235)
+   	        let code = val ? val[val.length - 1] : '';  //需请求数据的上级地址的code值
+   	        let level = val.length + 1;  //需请求第几级地址
+            console.log(this.nameutaiL,2345)
+            console.log(this.form.czrkJzdzList,12365)
+            this.$set(this.form.czrkJzdzList[this.nameutaiL],'optiodne',this.handleData(this.form.czrkJzdzList[this.nameutaiL].optiodne, code, level))
+          },
+
+
+          handleItemChangefr(val) {
+            console.log(val,235)
+             let code = val ? val[val.length - 1] : '';  //需请求数据的上级地址的code值
+             let level = val.length + 1;  //需请求第几级地址
+             this.optionsList = this.handleData(this.optionsList, code, level);
+          	},
+
+          handleItemChanges(val) {
+            console.log(val,235)
+             let code = val ? val[val.length - 1] : '';  //需请求数据的上级地址的code值
+             let level = val.length + 1;  //需请求第几级地址
+             this.optionsLists = this.handleData(this.optionsLists, code, level);
+             this.cascaderKey = this.cascaderKey + 1
+          	},
+
+         	handleData(data, val, level) {
+            console.log(data,val,level,7536)
+   	        for (let i = 0; i < data.length; i++) {
+   	          if(!data[i].children) {
+   	            this.$set(data[i], 'children', []);
+   	          }
+   	          if(data[i].areaId === val){
+                let vfer = {}
+                vfer.pid = val
+   	            listRoleergth(vfer).then(res => {
+                  // this.cascaderKey = this.cascaderKey + 1
+   	              if(res.data.length) {
+                    console.log(data[i].children,4567)
+   	                // data[i].children = res.data;
+                    this.$set(data[i], 'children', res.data)
+                    console.log(data[i].children,45678)
+                     // this.nhdyesku = true
+   	                data[i].children.forEach(ele => {
+   	                  this.$set(ele, 'children', [])
+   	                });
+   	              }else {
+   	                data[i].children = undefined;
+   	              }
+   	            }).catch(err => {
+   	            });
+   	          }else {
+   	            if(data[i].children.length){
+   	              this.handleData(data[i].children,val,level)
+   	            }
+   	          }
+   	        }
+
+             return data;
+         },
+
+         handleItemChangefrwg(val) {
+           console.log(val,235)
+            let code = val ? val[val.length - 1] : '';  //需请求数据的上级地址的code值
+            let level = val.length + 1;  //需请求第几级地址
+            this.optionsListwg = this.handleDatawg(this.optionsListwg, code, level);
+         	},
+         handleDatawg(data, val, level) {
+            console.log(data,val,level,7536)
+            for (let i = 0; i < data.length; i++) {
+              if(!data[i].children) {
+                this.$set(data[i], 'children', []);
+              }
+              if(data[i].id === val){
+                let vfer = {}
+                vfer.pid = val
+                listRoleergthwg(vfer).then(res => {
+                  // this.cascaderKey = this.cascaderKey + 1
+                  if(res.data.length) {
+                    console.log(data[i].children,4567)
+                    // data[i].children = res.data;
+                    this.$set(data[i], 'children', res.data)
+                    console.log(data[i].children,45678)
+                     this.nhdyesku = true
+                    data[i].children.forEach(ele => {
+                      this.$set(ele, 'children', [])
+                    });
+                  }else {
+                    data[i].children = undefined;
+                  }
+                }).catch(err => {
+                });
+              }else {
+                if(data[i].children.length){
+                  this.handleDatawg(data[i].children,val,level)
+                }
+              }
+            }
+
+             return data;
+         },
+
+		onSelectedtwo(data) {
+			console.log(data);
+			// province
+			this.queryParams.province = data[0];
+			this.queryParams.city = data[1];
+			this.queryParams.region = data[2];
+			// this.queryParams.villageTowns = data[3]
+		},
+		/** 查询户籍疫苗信息列表 */
+		getList() {
+			this.loading = true;
+      this.nbdgywkajs = true
+			listInfo(this.queryParams).then(response => {
+				this.infoList = response.rows;
+        this.nbdgywkajs = true
+				this.total = response.total;
+				this.loading = false;
+			});
+		},
+    /** 查询居住疫苗信息列表 */
+    getListjuzhu() {
+    	this.loading = true;
+      this.nbdgywkajs = true
+    	listInfos(this.queryParams).then(response => {
+    		this.infoList = response.rows;
+        this.nbdgywkajs = true
+    		this.total = response.total;
+    		this.loading = false;
+    	});
+    },
+    // 变更历史
+    getListls(row) {
+    	this.loading = true;
+      // this.nbdgywkajs = true
+      this.biangneg = true
+    	listInfosls(row).then(response => {
+    		this.bgls = response.data;
+        // this.nbdgywkajs = true
+    		this.total = response.total;
+    		this.loading = false;
+    	});
+    },
+
+		getToken() {
+			return getToken();
+		},
+		getTreeselectjue() {
+			this.loading = true;
+      let pids = {}
+      pids.pid = 0
+			listRoleer().then(response => {
+				this.options = response.data;
+				this.loading = false;
+			});
+		},
+    // 统计数据
+    getTreeselectjuetj() {
+    	this.loading = true;
+      this.dneyhsd = []
+      listInfotj().then(response => {
+        if(response.data !== undefined){
+          this.dneyhsd =  response.data
+        }else{
+          this.dneyhsd.push({dqdw:null,zhen:null,cun:null,zu:null,czzrs:null,czxz:null,czjs:null,hjzrs:null,hjxz:null,dneyhsd:null})
+        }
+
+        this.loading = false;
+      });
+    },
+
+		// 点击组/角色
+		djieskle(node, instanceId) {
+			// this.personnel(node.id);
+			console.log(node, instanceId);
+		},
+    nhyu(value, instanceId){
+      console.log(value, instanceId);
+    },
+		// 身份证
+		idcde(event) {
+			console.log(event);
+			// 身份证号码为15位或者18位,15位时全为数字,18位前17位为数字,最后一位是校验位,可能为数字或字符X
+			let reg = /^([1-6][1-9]|50)\d{4}(18|19|20)\d{2}((0[1-9])|10|11|12)(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/;
+      let _IDre15 =  /^([1-6][1-9]|50)\d{4}\d{2}((0[1-9])|10|11|12)(([0-2][1-9])|10|20|30|31)\d{3}$/;
+      // 护照
+       // let ncjsle = /^1[45][0-9]{7}$|(^[P|p|S|s]\d{7}$)|(^[S|s|G|g|E|e]\d{8}$)|(^[Gg|Tt|Ss|Ll|Qq|Dd|Aa|Ff]\d{8}$)|(^[H|h|M|m]\d{8,10}$)/;
+       let ncjsle = /^[a-zA-Z0-9]{5,17}$/
+       let nhyeli = /^[a-zA-Z]{5,17}$/
+      // 港澳
+      let gnse = /^([A-Z]\d{6,10}(\(\w{1}\))?)$/;
+      // 台湾
+      // let tw = /^\d{8}|^[a-zA-Z0-9]{10}|^\d{18}$/
+      var tw =  /^[0-9]{8}$/;
+       var twe = /^[0-9]{10}$/;
+      // 校验身份证:
+      console.log(reg.test(this.form.idCard),23741)
+			if ( reg.test(this.form.idCard)|| _IDre15.test(this.form.idCard)) {
+				this.idea();
+				// this.go(this.form.idCard.length);
+				// callback()
+			} else {
+        if(ncjsle.test(this.form.idCard) || nhyeli.test(this.form.idCard)){
+           console.log(3)
+        }else{
+          if(gnse.test(this.form.idCard)  ){
+              console.log(4)
+          }else{
+            if(tw.test(this.form.idCard) || twe.test(this.form.idCard)){
+              console.log(5)
+            }else{
+              this.msgInfo('证件格式不正确');
+            }
+
+            // return false
+          }
+
+        }
+				// callback(new Error('身份证号码不正确'))
+			}
+		},
+		// 实现自动生成生日,性别,年龄
+		go(val) {
+			let iden = this.form.idCard;
+			let sex = null;
+			let birth = null;
+			let birthr = '';
+			let myDate = new Date();
+			let month = myDate.getMonth() + 1;
+			let day = myDate.getDate();
+			let age = 0;
+
+			if (val === 18) {
+				age = myDate.getFullYear() - iden.substring(6, 10) - 1;
+				sex = iden.substring(16, 17);
+				birth = iden.substring(6, 10) + '-' + iden.substring(10, 12) + '-' + iden.substring(12, 14);
+				if (iden.substring(10, 12) < month || (iden.substring(10, 12) == month && iden.substring(12, 14) <= day)) age++;
+			}
+			if (val === 15) {
+				age = myDate.getFullYear() - iden.substring(6, 8) - 1901;
+				sex = iden.substring(13, 14);
+				birth = '19' + iden.substring(6, 8) + '-' + iden.substring(8, 10) + '-' + iden.substring(10, 12);
+				if (iden.substring(8, 10) < month || (iden.substring(8, 10) == month && iden.substring(10, 12) <= day)) age++;
+			}
+
+			if (sex % 2 === 0) sex = '女';
+			else sex = '男';
+			this.form.gender = sex;
+			// this.baseInfo.age = age;
+			birthr = birth + '';
+			console.log(birthr);
+			// this.form.birthday = birthr;
+			// this.$set(this.form.birthday, birthr)
+			// this.baseInfo.birthplace = this.area[iden.substring(0,2)];
+		},
+
+
+		// 请求身份证数据
+		idea() {
+			idces({ idCard: this.form.idCard }).then(response => {
+				console.log(response);
+				this.form.gender = response.data.gender;
+				// this.form.birthday = response.data.birthday;
+				this.form.age = response.data.age
+        if(response.data.code !== null){
+          this.$set(this.form, 'code', response.data.code)
+          // this.form.code = response.data.code
+        }
+				if (response.data.userName == null) {
+					// this.form.userName = undefined;
+          this.$set(this.form, 'userName', null)
+				} else {
+     //      this.form
+					// this.form.userName = response.data.userName;
+          this.$set(this.form, 'userName', response.data.userName)
+				}
+        // if(response.data.code == null){
+        //   // this.form.code =  this.form.idCard
+        // }else{
+        //   this.form.code = response.data.code;
+        // }
+        // if(response.data.province == null){
+        //   // this.form.province = null;
+        //   // this.form.provinceId = null;
+        //   this.$set(this.form, 'province', null)
+        //   this.$set(this.form, 'provinceId', null)
+        // }else{
+        //   this.form.province = response.data.province;
+        //   this.form.provinceId = response.data.provinceId;
+        //   this.$set(this.form, 'province', response.data.province)
+        //   this.$set(this.form, 'provinceId', response.data.provinceId)
+        // }
+        // if(response.data.city == null){
+        //   // this.form.city = null;
+        //   // this.form.cityId = null;
+        //   this.$set(this.form, 'city', null)
+        //   this.$set(this.form, 'cityId', null)
+        // }else{
+        //   // this.form.city = response.data.city;
+        //   // this.form.cityId = response.data.cityId;
+        //   this.$set(this.form, 'city', response.data.city)
+        //   this.$set(this.form, 'cityId', response.data.cityId)
+        // }
+        // if(response.data.region == null){
+        //   // this.form.region = null;
+        //   // this.form.regionId = null;
+        //   this.$set(this.form, 'region', null)
+        //   this.$set(this.form, 'regionId', null)
+        // }else{
+        //   // this.form.region = response.data.region;
+        //   // this.form.regionId = response.data.regionId;
+        //   this.$set(this.form, 'region', response.data.region)
+        //   this.$set(this.form, 'regionId', response.data.regionId)
+        // }
+
+        // if(response.data.villageTowns == null){
+        //   // this.form.villageTowns = null;
+        //   // this.form.villageTownsId = null;
+        //   this.$set(this.form, 'villageTowns', null)
+        //   this.$set(this.form, 'villageTownsId', null)
+        // }else{
+        //   // this.form.villageTowns = response.data.villageTowns;
+        //   // this.form.villageTownsId = response.data.villageTownsId;
+        //   this.$set(this.form, 'villageTowns', response.data.villageTowns)
+        //   this.$set(this.form, 'villageTownsId', response.data.villageTownsId)
+        // }
+
+        // if(response.data.village == null){
+        //   // this.form.village = null;
+        //   // this.form.villageId = null;
+        //   this.$set(this.form, 'village', null)
+        //   this.$set(this.form, 'villageId', null)
+
+        // }else{
+        //   // this.form.village = response.data.village;
+        //   // this.form.villageId = response.data.villageId;
+        //   this.$set(this.form, 'village', response.data.village)
+        //   this.$set(this.form, 'villageId', response.data.villageId)
+        // }
+
+        // if(response.data.villagerGroupId == null){
+        //   // this.form.villagerGroup = null;
+        //   // this.form.villagerGroupId = null;
+        //   this.$set(this.form, 'villagerGroup', null)
+        //   this.$set(this.form, 'villagerGroupId', null)
+        // }else{
+        //   // this.form.villagerGroup = response.data.villagerGroup;
+        //   // this.form.villagerGroupId = response.data.villagerGroupId;
+        //   this.$set(this.form, 'villagerGroup', response.data.villagerGroup)
+        //   this.$set(this.form, 'villagerGroupId', response.data.villagerGroupId)
+        // }
+
+        // if(response.data.province !== null && response.data.province !== ""){
+        //   console.log(3456)
+        // 	this.nhdyesfgh = response.data.province;
+        //   if(response.data.city !== null && response.data.city !== ""){
+        //     this.nhdyesfgh = response.data.province + '/' + response.data.city;
+        //     if(response.data.region !== null && response.data.region !== ""){
+        //     	this.nhdyesfgh = response.data.province + '/' + response.data.city + '/' + response.data.region;
+        //       if(this.form.villageTowns !==null && this.form.villageTowns !=='' && this.form.villageTowns !== undefined){
+        //         this.nhdyesfgh = response.data.province + '/' + response.data.city + '/' + response.data.region + '/' + this.form.villageTowns;
+        //         if(this.form.village !==null && this.form.village !=='' && this.form.village !== undefined){
+        //           this.nhdyesfgh = response.data.province + '/' + response.data.city + '/' + response.data.region + '/' + this.form.villageTowns + '/' + this.form.village;
+        //         }
+        //       }
+        //     }else{
+        //     	// this.nhdyesfgh ='点击选择居住地址'
+        //     }
+        //   }else{
+        //   	// this.nhdyesfgh ='点击选择居住地址'
+        //   }
+        // }else{
+        //   console.log(34566)
+        // 	this.nhdyesfgh ='点击选择户籍地址'
+        //   this.nhyeswdga = []
+        // }
+
+        // if( response.data.czrkJzdzList !== null && response.data.czrkJzdzList.length !== 0  ){
+        // 	// this.selected[0] = response.data.province;
+        //   // for(var i = 0 ; i < response.data.czrkJzdzList.length ; i++){
+        //     // this.nameutaiL = i
+        //     this.mnyesfjerty(0)
+        //   // }
+        //   response.data.czrkJzdzList.filter(route =>{
+        //     route.seleted = []
+        //     if(route.province !== ""){
+        //       route.plaed =  route.province
+        //       if(route.city !== ""){
+        //         route.plaed =  route.plaed + '/' + route.city
+        //         if(route.city !== ""){
+        //           // route.plaed =  route.plaed + '/' + route.city
+        //           if(route.region !== ""){
+        //             route.plaed =  route.plaed + '/' + route.region
+        //             if(route.town !== ""){
+        //               route.plaed =  route.plaed + '/' + route.town
+        //               if(route.village !== ""){
+        //                 route.plaed =  route.plaed + '/' + route.village
+        //               }
+        //             }
+        //           }
+        //         }
+        //       }
+        //     }else{
+        //       route.plaed = '请选择居住地址'
+        //     }
+        //   })
+
+        //   this.form.czrkJzdzList   = response.data.czrkJzdzList
+        // }
+        this.form.phoneNum   = response.data.phoneNum
+        if(response.data.houseType !==null){
+          this.form.houseType   = response.data.houseType
+        }
+        this.form.nowIn   = response.data.nowIn
+        this.form.remark   = response.data.remark
+			});
+		},
+
+
+		// 取消按钮
+		cancel() {
+			this.opens = false;
+			this.jiezhong = false;
+			this.imashow = false;
+      this.errorlog=false;
+      this.nhyesfx = false
+      this.form.czrkJzdzList = this.form.czrkJzdzList.splice(1)
+			// this.reset();
+		},
+		gywoa() {
+			console.log(this.form.isVaccination);
+			if (this.form.isVaccination !== null) {
+				if (this.form.isVaccination == '是') {
+					// 接种疫苗
+					this.naneme = false,
+					this.shouwes = true;
+				}else {
+					this.naneme = true,
+					this.shouwes = false,
+					this.form.czrkJzdzList = [{
+						provinceId: '',
+						province: '',
+						deptId: '',
+						cityId: '',
+						city: '',
+						regionId:'',
+						region: '',
+						townId: '',
+						town: '',
+						villageId: '',
+						village: '',
+						nowIn:'',
+            seleted:[],
+            optiodne:[],
+            plaed:'请选择居住地址',
+					}
+				]
+				}
+			}
+		},
+		gywoatwo() {
+			console.log(this.queryParams.isVaccination);
+			if (this.queryParams.isVaccination !== null) {
+				if (this.queryParams.isVaccination == '是') {
+					// 接种疫苗
+					// (this.naneme = false), (this.shouwes = true);
+					this.shouwestwo = false
+				} else {
+					// (this.naneme = true), (this.shouwes = false);
+					this.shouwestwo = true
+				}
+			}
+		},
+
+		// 表单重置
+		reset() {
+			this.form = {
+				id: undefined,
+				age:'',
+				code:'',
+				houseType: '是',
+				domicile: undefined,
+				province: undefined,
+				city: undefined,
+				region: undefined,
+				userName: undefined,
+				gender: undefined,
+				idCard: undefined,
+				phoneNum: undefined,
+				keyIndustries: undefined,
+				isVaccination: undefined,
+				vaccinationPlace: undefined,
+				contraindication: undefined,
+				nowIn: '',
+        isConfirm:undefined,
+        gridId:undefined,
+				remark: undefined,
+        villageTowns:undefined,
+        village:undefined,
+        czrkJzdzList: [
+        	{
+        		provinceId: '',
+        		province: '',
+        		deptId: '',
+        		cityId: '',
+        		city: '',
+        		regionId:'',
+        		region: '',
+        		townId: '',
+        		town: '',
+        		villageId: '',
+        		village: '',
+        		nowIn:'',
+        		disableg:false,
+            optiodne:[],
+            seleted:[],
+            plaed:'请选择居住地址',
+        	}
+
+        ]
+			};
+			this.resetForm('form');
+		},
+		/** 搜索按钮操作 */
+		handleQuery() {
+			this.queryParams.pageNum = 1;
+			console.log(this.queryParams)
+			this.getList();
+		},
+		/** 重置按钮操作 */
+		resetQuery() {
+			this.nhue = false
+			this.selectedtwo = []
+			setTimeout( ()=>{
+				this.nhue = true
+			},100)
+			this.queryParams.province = undefined;
			this.queryParams.city = undefined;
			this.queryParams.region = undefined;
+      this.queryParams.deptId = undefined
+      this.queryParams.provinceIdXjd = undefined
+      this.queryParams.cityIdXjd = undefined
+      this.queryParams.regionIdXjd = undefined
+      this.queryParams.villageTownsIdXjd = undefined
+      this.queryParams.villageIdXjd = undefined;
+      this.queryParams.provinceId = undefined
+      this.queryParams.cityId = undefined
+      this.queryParams.regionId = undefined
+      this.queryParams.villageTownsId = undefined
+      this.queryParams.villageId = undefined
+      this.listd = []
+      this.lser = []
+			this.resetForm('queryForm');
+			this.handleQuery();
+		},
+		// 多选框选中数据
+		handleSelectionChange(selection) {
+			this.ids = selection.map(item => item.id);
+			this.single = selection.length !== 1;
+			this.multiple = !selection.length;
+		},
+		/** 新增按钮操作 */
+		handleAdd(data) {
+      this.form = {}
+      // this.nhyeswdga = []
+      if(this.typeOptionsname.length == 0){
+        this.getDicts('renyuanfenlei').then(response => {
+        	this.typeOptionsname = response.data;
+        });
+      }
+      if(this.typeOptionstyzandeh.length == 0){
+        // 与户主关系
+        this.getDicts('yuhuzhuguanxi').then(response => {
+        	this.typeOptionstyzandeh = response.data;
+        });
+      }
+      this.$set(this.nhyeswdga, 'nhus', [])
+      this.$nextTick(() =>{
+        this.$refs.myCascader.$refs.panel.clearCheckedNodes()
+        this.$refs.myCascader.$refs.panel.activePath = []
+      })
+      this.nhyesfx = true
+      console.log(this.nhyeswdga)			// this.reset();
+
+      // this.form.czrkJzdzList = [
+      //   	{
+      //   		provinceId: '',
+      //   		province: '',
+      //   		deptId: '',
+      //   		cityId: '',
+      //   		city: '',
+      //   		regionId:'',
+      //   		region: '',
+      //   		townId: '',
+      //   		town: '',
+      //   		villageId: '',
+      //   		village: '',
+      //   		nowIn:'',
+      //   		disableg:false,
+      //       optiodne:[],
+      //       seleted:[],
+      //       plaed:'请选择居住地址',
+      //   	}
+
+      //   ]
+        this.$set(this.form, 'czrkJzdzList', [
+        	{
+        		provinceId: '',
+        		province: '',
+        		deptId: '',
+        		cityId: '',
+        		city: '',
+        		regionId:'',
+        		region: '',
+        		townId: '',
+        		town: '',
+        		villageId: '',
+        		village: '',
+        		nowIn:'',
+        		disableg:false,
+            optiodne:[],
+            seleted:[],
+            plaed:'请选择居住地址',
+        	}
+
+        ])
+        this.form.id = null
+        // this.form.age=''
+        this.$set(this.form, 'age', null)
+        // this.form.code=''
+        this.$set(this.form, 'code', null)
+        this.$set(this.form, 'houseType', '否')
+        // this.form.houseType= '是'
+      //   this.form.domicile= null
+      this.$set(this.form, 'domicile', null)
+      //   this.form.province= null
+      this.$set(this.form, 'province', null)
+      //   this.form.city= null
+      this.$set(this.form, 'city', null)
+      //   this.form.region= null
+      this.$set(this.form, 'region', null)
+      //   this.form.userName= null
+      this.$set(this.form, 'userName', null)
+      //   this.form.gender= null
+      this.$set(this.form, 'gender', null)
+      //   this.form.idCard= null
+      this.$set(this.form, 'idCard', null)
+        this.$set(this.form, 'phoneNum', null)
+        // this.form.phoneNum= null
+      //   this.form.keyIndustries= null
+      this.$set(this.form, 'keyIndustries', null)
+      //   this.form.isVaccination= null
+      this.$set(this.form, 'isVaccination', null)
+      //   this.form.vaccinationPlace= null
+      this.$set(this.form, 'vaccinationPlace', null)
+      //   this.form.contraindication= null
+      this.$set(this.form, 'contraindication', null)
+        // this.form.nowIn= ''
+        this.$set(this.form, 'nowIn', '')
+      //   this.form.isConfirm=null
+      this.$set(this.form, 'isConfirm', null)
+      //   this.form.gridId=null
+      this.$set(this.form, 'gridId', null)
+      //   this.form.remark= null
+      this.$set(this.form, 'remark', null)
+      //   this.form.villageTowns=null
+      this.$set(this.form, 'villageTowns', null)
+      //   this.form.village=null
+      this.$set(this.form, 'village', null)
+      this.loading = false
+      console.log(data)
+			this.opens = true;
+			(this.naneme = false),
+			(this.shouwes = false);
+			// this.form.province = this.selected[0];
+			this.villageTownshy = '';
+			this.naiseurya = '';
+			this.hsuej = '';
+			// this.form.city = this.selected[1];
+			// this.form.region = this.selected[2];
+			this.title = '添加信息';
+			this.jdourdjoaj = true;
+      this.senlsduea = false
+      this.jiezhong = false
+			this.jue = true
+      this.nhdyesfgh = '点击选择户籍地址'
+       this.ndhesdweaf = '点击选择网格'
+       this.nameutaiL = 0
+       // this.nhduesw = this.nhduesw + 1
+       this.nhtrew = false
+      this.mnyesfjer(0)
+      // this.form.province = '安徽省';
+      // this.form.city = '安庆市';
+      // this.form.region = '潜山市';
+      // this.form.villageTowns = '梅城镇';
+      // this.form.village = '龙井社区';
+      // this.nhdyesfgh = this.form.province + '/' + this.form.city + '/' + this.form.region + '/' + this.form.villageTowns + '/' + this.form.village;
+      if(data !== 0){
+        this.form.code = data.code
+        // this.form.houseType = '否'
+        this.$set(this.form, 'houseType', '否')
+      }else{
+        // this.form.houseType = '是'
+        this.$set(this.form, 'houseType', '是')
+      }
+			console.log(this.form)
+		},
+
+		/** 修改按钮操作 */
+		handleUpdate(row) {
+      this.opens = true;
+      this.form = {}
+if(this.typeOptionsname.length == 0){
+    this.getDicts('renyuanfenlei').then(response => {
+    	this.typeOptionsname = response.data;
+    });
+  }
+  if(this.typeOptionstyzandeh.length == 0){
+    // 与户主关系
+    this.getDicts('yuhuzhuguanxi').then(response => {
+    	this.typeOptionstyzandeh = response.data;
+    });
+  }
+      this.$set(this.form, 'czrkJzdzList', [
+        	{
+        		provinceId: '',
+        		province: '',
+        		deptId: '',
+        		cityId: '',
+        		city: '',
+        		regionId:'',
+        		region: '',
+        		townId: '',
+        		town: '',
+        		villageId: '',
+        		village: '',
+        		nowIn:'',
+        		disableg:false,
+            optiodne:[],
+            seleted:[],
+            plaed:'请选择居住地址',
+        	}
+
+        ])
+        this.form.id = null
+        // this.form.age=''
+        this.$set(this.form, 'age', null)
+        // this.form.code=''
+        this.$set(this.form, 'code', null)
+        this.$set(this.form, 'houseType', '否')
+        // this.form.houseType= '是'
+      //   this.form.domicile= null
+      this.$set(this.form, 'domicile', null)
+      //   this.form.province= null
+      this.$set(this.form, 'province', null)
+      //   this.form.city= null
+      this.$set(this.form, 'city', null)
+      //   this.form.region= null
+      this.$set(this.form, 'region', null)
+      //   this.form.userName= null
+      this.$set(this.form, 'userName', null)
+      //   this.form.gender= null
+      this.$set(this.form, 'gender', null)
+      //   this.form.idCard= null
+      this.$set(this.form, 'idCard', null)
+        this.$set(this.form, 'phoneNum', null)
+        // this.form.phoneNum= null
+      //   this.form.keyIndustries= null
+      this.$set(this.form, 'keyIndustries', null)
+      //   this.form.isVaccination= null
+      this.$set(this.form, 'isVaccination', null)
+      //   this.form.vaccinationPlace= null
+      this.$set(this.form, 'vaccinationPlace', null)
+      //   this.form.contraindication= null
+      this.$set(this.form, 'contraindication', null)
+        // this.form.nowIn= ''
+        this.$set(this.form, 'nowIn', '')
+      //   this.form.isConfirm=null
+      this.$set(this.form, 'isConfirm', null)
+      //   this.form.gridId=null
+      this.$set(this.form, 'gridId', null)
+      //   this.form.remark= null
+      this.$set(this.form, 'remark', null)
+      //   this.form.villageTowns=null
+      this.$set(this.form, 'villageTowns', null)
+      //   this.form.village=null
+      this.$set(this.form, 'village', null)
+      console.log(this.form,34567)
+      this.nhyesaw = 1
+			// this.reset();
+			const id = row.id || this.ids;
+			getInfo(id).then(response => {
+        this.loading = false
+				this.form = response.data;
+				this.jue = false
+        this.jiezhong = false
+        this.nhdyesku = true
+        this.nhtrew = true
+        this.nhyeswdga.nhus = []
+        if(this.form.houseType == '是'){
+          //是户主
+          this.shifouh = true
+        }else{
+          this.shifouh = false
+        }
+				if(response.data.province !== null && response.data.province !== ""){
+					this.nhdyesfgh = response.data.province;
+          if(response.data.city !== null && response.data.city !== ""){
+            this.nhdyesfgh = response.data.province + '/' + response.data.city;
+            if(response.data.region !== null && response.data.region !== ""){
+            	this.nhdyesfgh = response.data.province + '/' + response.data.city + '/' + response.data.region;
+              if(this.form.villageTowns !==null && this.form.villageTowns !=='' && this.form.villageTowns !== undefined){
+                this.nhdyesfgh = response.data.province + '/' + response.data.city + '/' + response.data.region + '/' + this.form.villageTowns;
+                if(this.form.village !==null && this.form.village !=='' && this.form.village !== undefined){
+                  this.nhdyesfgh = response.data.province + '/' + response.data.city + '/' + response.data.region + '/' + this.form.villageTowns + '/' + this.form.village;
+                }
+              }
+            }else{
+            	// this.nhdyesfgh ='点击选择居住地址'
+            }
+          }else{
+          	// this.nhdyesfgh ='点击选择居住地址'
+          }
+				}else{
+					this.nhdyesfgh ='点击选择户籍地址'
+				}
+  this.nhyesfx = true
+				if(response.data.czrkJzdzList.length !== 0 && response.data.czrkJzdzList !== null){
+					// this.selected[0] = response.data.province;
+          // for(var i = 0 ; i < response.data.czrkJzdzList.length ; i++){
+            // this.nameutaiL = i
+            response.data.czrkJzdzList.unshift(response.data.czrkJzdzList[0])
+            // this.form = response.data;
+            this.mnyesfjerty(0)
+          // }
+          response.data.czrkJzdzList.filter(route =>{
+            route.seleted = []
+            if(route.province !== ""){
+              route.plaed =  route.province
+              if(route.city !== ""){
+                route.plaed =  route.plaed + '/' + route.city
+                if(route.city !== ""){
+                  // route.plaed =  route.plaed + '/' + route.city
+                  if(route.region !== ""){
+                    route.plaed =  route.plaed + '/' + route.region
+                    if(route.town !== ""){
+                      route.plaed =  route.plaed + '/' + route.town
+                      if(route.village !== ""){
+                        route.plaed =  route.plaed + '/' + route.village
+                      }
+                    }
+                  }
+                }
+              }
+            }else{
+              route.plaed = '请选择居住地址'
+            }
+
+          })
+				}else{
+            console.log(this.form.czrkJzdzList,58)
+        }
+
+
+        if(response.data.gridName !==null){
+          this.ndhesdweaf = response.data.gridName
+        }else{
+          this.ndhesdweaf = '点击选择网格'
+        }
+
+				// this.onSelected(this.selected)
+				setTimeout( ()=>{
+					this.jue = true
+				},100)
+				// this.jue = true
+				console.log(this.selected,98767)
+				// if(this.form){
+				if (this.form.isVaccination !== null) {
+					if (this.form.isVaccination == '是') {
+						// 接种疫苗
+						(this.naneme = false), (this.shouwes = true);
+					} else {
+						(this.naneme = true), (this.shouwes = false);
+					}
+				} else {
+					this.naneme = false;
+					this.shouwes = false;
+				}
+
+				if (this.form.dictValue !== null && this.form.dictValue !== undefined) {
+					this.jicheru(this.form.dictValue);
+				}
+				if (this.form.villageTowns !== null) {
+					this.villageTownshy = this.form.villageTowns;
+					if (this.form.village !== null) {
+						this.villageTownshy = this.form.village;
+						if (this.form.villagerGroup !== null) {
+							this.villageTownshy = this.form.villagerGroup;
+						}
+					}
+				}else{
+					this.villageTownshy = '';
+				}
+        console.log(this.villageTownshy,3455)
+
+				// if (this.form.vaccineInfoUserList !== null) {
+				// 	if (this.form.vaccineInfoUserList.length == 0) {
+
+				// 	}else {
+				// 		this.form.isVaccination = '是'
+				// 		this.form.vaccineInfoUserList.filter(router =>{
+				// 			if(router.url == undefined){
+				// 				router.url = null
+				// 			}else if(router.url == []){
+				// 				router.url = null
+				// 			}
+				// 			router.disableg = true
+				// 		})
+				// 	}
+				// }
+				// villageTownshy
+				// }
+				// this.heuiq.push()
+				this.naiseurya = '';
+				this.hsuej = '';
+        console.log(this.form.czrkJzdzList,588)
+				this.jdourdjoaj = false;
+        this.senlsduea = true
+				this.title = '查看编辑人口信息';
+			});
+		},
+		chahe(data) {
+
+     let nhdye = []
+     nhdye = this.$refs['myCascader'].getCheckedNodes()[0].pathLabels
+     console.log(nhdye)
+      if(data.length == 1){
+        this.form.provinceId = data[ data.length - 1];
+        this.form.province = nhdye[ data.length - 1];
+        this.$set(this.form, 'city', null)
+        this.$set(this.form, 'cityId', null)
+        this.$set(this.form, 'region', null)
+        this.$set(this.form, 'regionId', null)
+        this.$set(this.form, 'villageTowns', null)
+        this.$set(this.form, 'villageTownsId', null)
+        this.$set(this.form, 'villageId', null)
+         this.$set(this.form, 'village', null)
+      }else if(data.length == 2){
+        this.form.cityId = data[ data.length - 1];
+        this.form.city = nhdye[ data.length - 1];
+        this.$set(this.form, 'region', null)
+        this.$set(this.form, 'regionId', null)
+        this.$set(this.form, 'villageTowns', null)
+        this.$set(this.form, 'villageTownsId', null)
+        this.$set(this.form, 'villageId', null)
+         this.$set(this.form, 'village', null)
+      }else if(data.length == 3){
+        this.form.regionId = data[ data.length - 1];
+        this.form.region = nhdye[ data.length - 1];
+        this.$set(this.form, 'villageTowns', null)
+        this.$set(this.form, 'villageTownsId', null)
+        this.$set(this.form, 'villageId', null)
+         this.$set(this.form, 'village', null)
+      }else if(data.length == 4){
+        this.form.villageTownsId = data[ data.length - 1];
+        this.form.villageTowns = nhdye[ data.length - 1];
+        this.$set(this.form, 'villageId', null)
+         this.$set(this.form, 'village', null)
+      }else if(data.length == 5){
+        this.form.villageId = data[ data.length - 1];
+        this.form.village = nhdye[ data.length - 1];
+      }else{
+        // this.nhdyesfgh = '点击选择户籍地址'
+      }
+      this.form.deptId = data[ data.length - 1];
+
+			// if (this.form.villageTowns !== undefined) {
+			// 	this.hsuej = this.form.villageTowns;
+			// 	if (this.form.village !== undefined) {
+			// 		this.hsuej = this.form.villageTowns + this.form.village;
+			// 		if (this.form.villagerGroup !== undefined) {
+			// 			this.hsuej = this.form.villageTowns + this.form.village + this.form.villagerGroup;
+			// 		}
+			// 	}
+			// }
+			this.form.domicile = '';
+      console.log(this.form)
+
+      // if(this.jdourdjoaj == true){
+      //   //新增
+      //   this.form.nowIn =  this.hsuej
+
+      // }else{
+      //    this.form.nowIn !=  this.hsuej
+      // }
+		},
+		chahetwo(data) {
+			console.log(data)
+      if(data.length == 1){
+        this.queryParams.provinceId = data[ data.length - 1];
+        this.queryParams.villageId = undefined
+        this.queryParams.cityId = undefined
+        this.queryParams.regionId = undefined
+        this.queryParams.villageTownsId = undefined
+      }else if(data.length == 2){
+        this.queryParams.provinceId = undefined
+        this.queryParams.regionId = undefined
+        this.queryParams.villageTownsId = undefined
+        this.queryParams.villageId = undefined
+        this.queryParams.cityId = data[ data.length - 1];
+      }else if(data.length == 3){
+        this.queryParams.cityId = undefined
+        this.queryParams.provinceId = undefined
+        this.queryParams.villageTownsId = undefined
+        this.queryParams.villageId = undefined
+        this.queryParams.regionId = data[ data.length - 1];
+      }else if(data.length == 4){
+        this.queryParams.provinceId = undefined
+        this.queryParams.cityId = undefined
+        this.queryParams.regionId = undefined
+        this.queryParams.villageId = undefined
+        this.queryParams.villageTownsId = data[ data.length - 1];
+      }else if(data.length == 5){
+        this.queryParams.provinceId = undefined
+        this.queryParams.cityId = undefined
+        this.queryParams.regionId = undefined
+        this.queryParams.villageTownsId = undefined
+        this.queryParams.villageId = data[ data.length - 1];
+      }
+		},
+    // 居住地址搜索条件
+    chahetwos(data) {
+    	console.log(data)
+      if(data.length == 1){
+        this.queryParams.provinceIdXjd = data[ data.length - 1];
+        this.queryParams.cityIdXjd = undefined
+        this.queryParams.regionIdXjd = undefined
+        this.queryParams.villageTownsIdXjd = undefined
+        this.queryParams.villageIdXjd = undefined
+      }else if(data.length == 2){
+        this.queryParams.provinceIdXjd = undefined
+        this.queryParams.cityIdXjd = data[ data.length - 1];
+        this.queryParams.regionIdXjd = undefined
+        this.queryParams.villageTownsIdXjd = undefined
+        this.queryParams.villageIdXjd = undefined
+      }else if(data.length == 3){
+        this.queryParams.provinceIdXjd = undefined
+        this.queryParams.cityIdXjd = undefined
+        this.queryParams.regionIdXjd = data[ data.length - 1];
+        this.queryParams.villageTownsIdXjd = undefined
+        this.queryParams.villageIdXjd = undefined
+      }else if(data.length == 4){
+        this.queryParams.provinceIdXjd = undefined
+        this.queryParams.cityIdXjd = undefined
+        this.queryParams.regionIdXjd = undefined
+        this.queryParams.villageTownsIdXjd = data[ data.length - 1];
+        this.queryParams.villageIdXjd = undefined
+      }else if(data.length == 5){
+        this.queryParams.provinceIdXjd = undefined
+        this.queryParams.cityIdXjd = undefined
+        this.queryParams.regionIdXjd = undefined
+        this.queryParams.villageTownsIdXjd = undefined
+        this.queryParams.villageIdXjd = data[ data.length - 1];
+      }
+    },
+    chahetwoswge(data){
+      console.log(data)
+      if(this.opens == false){
+        return  false
+      }
+      this.form.gridId = data[data.length - 1]
+      console.log(this.form.gridId)
+    },
+		/** 提交按钮 */
+		submitForm(data) {
+			this.$refs['form'].validate(valid => {
+				console.log(this.selected);
+				if (valid) {
+          let reg = /^([1-6][1-9]|50)\d{4}(18|19|20)\d{2}((0[1-9])|10|11|12)(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/;
+          let _IDre15 =  /^([1-6][1-9]|50)\d{4}\d{2}((0[1-9])|10|11|12)(([0-2][1-9])|10|20|30|31)\d{3}$/;
+          // 护照
+           // let ncjsle = /^1[45][0-9]{7}$|(^[P|p|S|s]\d{7}$)|(^[S|s|G|g|E|e]\d{8}$)|(^[Gg|Tt|Ss|Ll|Qq|Dd|Aa|Ff]\d{8}$)|(^[H|h|M|m]\d{8,10}$)/;
+           let ncjsle = /^[a-zA-Z0-9]{5,17}$/
+           let nhyeli = /^[a-zA-Z]{5,17}$/
+          // 港澳
+          let gnse = /^([A-Z]\d{6,10}(\(\w{1}\))?)$/;
+          // 台湾
+          // let tw = /^\d{8}|^[a-zA-Z0-9]{10}|^\d{18}$/
+          var tw =  /^[0-9]{8}$/;
+           var twe = /^[0-9]{10}$/;
+          // 校验身份证:
+          console.log(reg.test(this.form.idCard),23741)
+          if ( reg.test(this.form.idCard)|| _IDre15.test(this.form.idCard)) {
+          	// this.idea();
+          	// this.go(this.form.idCard.length);
+          	// callback()
+          } else {
+            if(ncjsle.test(this.form.idCard) || nhyeli.test(this.form.idCard)){
+               console.log(3)
+            }else{
+              if(gnse.test(this.form.idCard)  ){
+                  console.log(4)
+              }else{
+                if(tw.test(this.form.idCard) || twe.test(this.form.idCard)){
+                  console.log(5)
+                }else{
+                  this.msgInfo('证件格式不正确');
+                  return false
+                }
+
+                // return false
+              }
+
+            }
+          	// callback(new Error('身份证号码不正确'))
+          }
+          // let reg = /(^\d{15}$)|(^\d{18}$)|(^\d{17}(\d|X|x)$)/;
+          // if (reg.test(this.form.idCard)) {
+          // 	// this.idea();
+          // 	// this.go(this.form.idCard.length);
+          // 	// callback()
+          // } else {
+          // 	// callback(new Error('身份证号码不正确'))
+          // 	this.msgInfo('身份证号码不正确');
+          //   return false
+          // }
+          let redw = /^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$/;
+          console.log(this.form)
+          console.log(redw.test(this.form.phoneNum))
+          if (this.form.phoneNum == null) {
+          	// this.idea();
+          	// this.go(this.form.idCard.length);
+          	// callback()
+          } else{
+            if(this.form.phoneNum !== ''){
+              if(redw.test(this.form.phoneNum)){
+
+              }else{
+                this.msgInfo('手机号码不正确');
+                return false
+              }
+            }
+          	// callback(new Error('身份证号码不正确'))
+          }
+          this.form.isConfirm = 'N'
+					if (this.form.id != null) {
+						// this.form.nowIn = this.naiseurya + this.form.nowIn;
+						// this.form.domicile = this.hsuej + this.form.domicile;
+            console.log(this.ndheysfs)
+            // this.nhyesaw = data
+            console.log(this.nhyesaw)
+            console.log(this.form.czrkJzdzList)
+            if(this.nhyesaw == 1){
+              this.form.czrkJzdzList = this.form.czrkJzdzList.splice(1)
+            }else if(this.nhyesaw == 2){
+              console.log(this.form.czrkJzdzList[0])
+              // this.form.czrkJzdzList.unshift(this.form.czrkJzdzList[0])
+            }
+            console.log(this.form.czrkJzdzList)
+            data = data +1
+            this.nhyesaw = this.nhyesaw + 1
+            this.senlsduea = false
+            console.log(this.form.czrkJzdzList)
+						updateInfo(this.form).then(response => {
+              console.log(response)
+              if(response.code == 200){
+                 this.msgSuccess('修改成功');
+                 this.nhyesaw = 1
+                 this.opens = false;
+                 this.nhyesfx = false
+                 this.getList();
+                 this.getTreeselectjuetj()
+                 return false
+              }else{
+                // this.senlsduea = true
+                // this.form.czrkJzdzList.unshift(this.form.czrkJzdzList[0])
+                this.nhyesaw = 1
+                this.$message.error(response.msg + '请重新填写');
+                // this.mnyesfjerty(0)
+            //     if(this.nhyesaw == 1){
+            //     this.form.czrkJzdzList = this.form.czrkJzdzList.splice(1)
+            // }
+                this.opens = false
+              }
+
+              // if(response.data.code == 200){
+              //   this.msgSuccess('修改成功');
+              //   this.ndheysfs = false
+              // }else{
+              //   this.ndheysfs = true
+              // }
+
+              // if(this.nhyesoder == 3){
+              //   this.jiezhong = true
+              //   this.handleDeletefamide(this.bhdes)
+              // }
+              // this.nhyesoder = 4
+						});
+					} else {
+						// this.form.nowIn = this.naiseurya + this.form.nowIn;
+						// this.form.domicile = this.hsuej + this.form.domicile;
+						// if (this.form.nowIn == 'undefined') {
+						// 	this.form.nowIn = null;
+						// }
+
+            if(this.form.province == null){
+              this.msgInfo('请填写户籍地址');
+              return false
+            }
+
+            if(this.form.province == ''){
+              this.msgInfo('请填写户籍地址');
+              return false
+            }
+
+
+            if(this.form.czrkJzdzList[0].province == ''){
+              this.msgInfo('请填写居住地址');
+              return false
+            }
+            if(this.form.czrkJzdzList[0].province == null){
+              this.msgInfo('请填写居住地址');
+              return false
+            }
+						console.log(this.form)
+            this.form.czrkJzdzList.filter(route =>{
+              route.seleted = []
+              route.optiodne = []
+            })
+						// return
+						addInfo(this.form).then(response => {
+              if(response.code == 200){
+                this.msgSuccess('新增成功');
+                this.opens = false;
+                this.nhyesfx = false
+                this.getList();
+                this.getTreeselectjuetj()
+                if(this.nhyesoder == 3){
+                  this.jiezhong = true
+                  this.handleDeletefamide(this.bhdes)
+                }
+                this.nhyesoder = 4
+              }else{
+                this.$message.error(response.msg + '请重新填写');
+                if(this.nhyesoder == 3){
+                  this.jiezhong = true
+                  this.handleDeletefamide(this.bhdes)
+                }
+                this.nhyesoder = 4
+                this.opens = false
+              }
+						});
+					}
+				}
+			});
+		},
+		/** 删除按钮操作 */
+		handleDelete(row) {
+			const ids = row.id || this.ids[0];
+      this.idfer = ids
+      this.imashow = true;
+      this.formgt = {}
+			// this.$confirm('是否确认删除疫苗信息编号为"' + ids + '"的数据项?', '警告', {
+			// 	confirmButtonText: '确定',
+			// 	cancelButtonText: '取消',
+			// 	type: 'warning'
+			// })
+			// 	.then(function() {
+			// 		return delInfo(ids);
+			// 	})
+			// 	.then(() => {
+			// 		this.getList();
+			// 		this.msgSuccess('删除成功');
+			// 	});
+		},
+    submitFormfr(){
+      // formgt
+      if(this.formgt.houseType == null || this.formgt.houseType == undefined){
+        this.$message.error('请选择变更原因');
+        return  false
+      }
+      let nhue = {}
+      nhue.status = this.formgt.houseType
+      nhue.id = this.idfer
+      delInfo(nhue).then(response => {
+      	this.msgSuccess('变更成功');
+      	this.imashow = false;
+      	this.getList();
+        this.getTreeselectjuetj()
+      });
+    },
+    // 点击新增
+    tijea(index) {
+    	console.log(index+ 1)
+    	this.nameutaiL = index+ 1
+       this.cascaderKey = index + 1
+    	this.form.czrkJzdzList.push({
+    		provinceId: '',
+    		province: '',
+    		deptId: '',
+    		cityId: '',
+    		city: '',
+    		regionId:'',
+    		region: '',
+    		townId: '',
+    		town: '',
+    		villageId: '',
+    		village: '',
+    		nowIn:'',
+    		disableg:false,
+        seleted:[],
+        optiodne:[],
+        plaed:'请选择居住地址',
+    	});
+      this.nhyeojd = true
+      this.mnyesfjer(0)
+      // this.form.czrkJzdzList[this.nameutaiL].optiodne
+      // console.log(this.cascaderKey,123465)
+      // // console.log()
+      // console.log( this.$refs.myCascaderf[this.$refs.myCascaderf.length - 1] ,258)
+      // // console.log(this.$refs['myCascaderf'][0].$refs.panel.clearCheckedNodes(),258)
+      // this.$refs['myCascaderf'][this.$refs.myCascaderf.length - 1].$refs.panel.clearCheckedNodes()
+      // console.log(this.$refs['myCascaderf'][0].$refs.panel.checkedValue,34567)
+      // this.mnyesfjer(0)
+    },
+    // 点击删除
+    naeyrfakjf(index, item) {
+      console.log(this.form.czrkJzdzList.length,347)
+      // if(this.form.czrkJzdzList.length == 2){
+      //   this.$message.error('居住地为必填不可全删除');
+      //   return  false
+      // }
+      // this.$message.error(response.msg + '请重新填写');
+    	var that = this
+    	this.$confirm('是否确认删除信息?', '警告', {
+    		confirmButtonText: '确定',
+    		cancelButtonText: '取消',
+    		type: 'warning'
+    	})
+    		.then(function() {
+    			return that.delseeug(index,item)
+    		})
+    		.then(() => {
+    			// this.getList();
+    			// this.msgSuccess('删除成功');
+    		});
+
+    },
+    delseeug(index,item){
+    	console.log(234)
+    	if (this.form.czrkJzdzList.length == 1) {
+    		// if (this.jdourdjoaj == true) {
+    		// 	// 新增
+    		// 	this.form.vaccineInfoUserList = [{
+    		// 		vaccineName: '',
+    		// 		vaccinationTime: '',
+    		// 		vaccinationPlace: '',
+    		// 		jici: '',
+    		// 		progress: '',
+    		// 		url:null,
+    		// 		disableg:false
+    		// 	}]
+    		// } else {
+    		// 	// 修改
+    		// 	let ide = this.form.vaccineInfoUserList[index].id;
+    		// 	console.log(this.form.vaccineInfoUserList[index]);
+    		// 	// ()
+    		// 	console.log(ide);
+    		// 	if (ide !== undefined) {
+    		// 		console.log(234);
+    		// 		delInfort(ide).then(response => {
+    		// 			this.msgSuccess('操作成功');
+    		// 		});
+    		// 	}
+    		// 	this.form.vaccineInfoUserList = [{
+    		// 		vaccineName: '',
+    		// 		vaccinationTime: '',
+    		// 		vaccinationPlace: '',
+    		// 		jici: '',
+    		// 		progress: '',
+    		// 		url:null,
+    		// 		disableg:false
+    		// 	}]
+    		// }
+
+        this.msgSuccess('只剩一条数据,无法删除');
+    		return false;
+    	}
+    	if (this.jdourdjoaj == true) {
+    		// 新增
+    		this.form.czrkJzdzList.splice(index, 1);
+    	} else {
+    		// 修改
+    		// ()
+    		this.form.czrkJzdzList.splice(index, 1);
+    	}
+      this.msgSuccess('删除成功');
+    },
+		/** 导出按钮操作 */
+		handleExport() {
+			var heuia = {
+                tableName: "vaccine_info",
+                empty: false,
+                condition: {}
+            }
+            var that=this;
+            heuia.condition = this.queryParams
+			const queryParams = this.queryParams
+			this.$confirm('是否确认导出?', "警告", {
+			    confirmButtonText: "确定",
+			    cancelButtonText: "取消",
+			    type: "warning"
+			  }).then(function() {
+			    return exportConfig(heuia);
+			  }).then(response => {
+				  const jues= response.data
+          that.exportflag=false;
+          that.$alert('数据导入中,系统将自动处理数据,请稍后查看结果', "导出结果", { dangerouslyUseHTMLString: true });
+          // that.msgSuccess('数据导入中,系统将自动处理数据,请稍后查看结果');
+				// exportConfigtyr().then(responsr => {
+				// 			console.log(responsr)
+				// 			if(responsr.data == true){
+				// 				// this.download(jues);
+				// 				// window.location.href = jues
+				// 				window.open(jues)
+				// 			}else{
+				// 				this.msgSuccess('数据暂未加载完成,请稍后点击导出进度按钮查看');
+				// 			}
+				// 		});
+
+			  })
+
+
+			// this.download('/boman-web-core/core/info/export',
+			// 	{
+			// 		...this.queryParams
+			// 	},
+			// 	`post_${new Date().getTime()}.xlsx`
+			// );
+
+		},
+    // 文件上传中处理
+    handleFileUploadProgress(event, file, fileList) {
+      this.upload.isUploading = true;
+    },
+    // 文件上传成功处理
+    handleFileSuccess(response, file, fileList) {
+      this.upload.open = false;
+      this.upload.isUploading = false;
+      this.$refs.upload.clearFiles();
+      this.$alert(response.msg, "导入结果", { dangerouslyUseHTMLString: true });
+      this.getList();
+    },
+   // 提交上传文件
+   submitFileForm() {
+     console.log(this.upload.source)
+     if(this.upload.source == null){
+       this.msgInfo('请选择数据来源');
+       return  false
+     }
+     this.$refs.upload.submit();
+   },
+   nske(){
+     console.log(345)
+           this.upload.open = false;
+   },
+   /** 下载模板操作 */
+   importTemplate() {
+
+   },
+   // 下载模板
+   handleDeleteda(){
+     window.open("https://qsfy.qs163.cn/statics/template/死亡人员导入模板.xlsx")
+   },
+		// 点击查看
+		chakei(row) {
+			console.log(row);
+      let nhyes= {pageNum: 1,
+      pageSize: 10,}
+      this.nhyesoder = row
+      if(row == 0){
+        // 新增
+       listInfotjxz(this.ndhuwosdjh).then(response => {
+				// this.msgSuccess('操作成功');
+					this.jiezheList = response.rows
+          this.totalfr = response.total
+				})
+      } else if(row == 1){
+        // 减少
+        listInfotjjs(this.ndhuwosdjh).then(response => {
+        				// this.msgSuccess('操作成功');
+        					this.jiezheList = response.rows
+                  this.totalfr = response.total
+
+      }	)
+          }// yiaoe({idCard:row.idCard}).then(response => {
+			// 	// this.msgSuccess('操作成功');
+			// 	if(response.code == 200){
+			// 		this.jiezheList = response.data
+			// 	}
+			// });
+
+			this.jiezhong = true;
+		},
+    // 查看家庭成员信息
+    handleDeletefamide(row){
+      this.bhdes= row
+      this.nhyesoder = 3
+      this.bgtes= []
+	  if(row.code == null){
+	  		  this.msgSuccess('无户编号信息,无法查看家庭成员信息');
+	  		  return  false
+	  }
+    if(row.code == ''){
+      this.msgSuccess('无户编号信息,无法查看家庭成员信息');
+      return  false
+    }
+	  this.jiezhong = true;
+    listInfotjjsfaml(row.code).then(response => {
+        				// this.msgSuccess('操作成功');
+        					this.jiezheList = response.data
+                  this.jiezheList.filter(rout =>{
+                    this.bgtes.push(rout.id)
+                  })
+           console.log(this.bgtes,456)
+                  this.totalfr = 0
+
+      }	)
+    },
+    /** 导入按钮操作 */
+    handleImport() {
+      this.getDicts('data_sources').then(response => {
+      	this.typeOptionstimesgt = response.data;
+        this.upload.title = "数据导入";
+        this.upload.open = true;
+      });
+
+    },
+    // 获取屏幕高度
+              showFilterForm () {
+                    this.filterActive = !this.filterActive
+                    this.changeTableMaxHeight()
+                  },
+
+                  changeTableMaxHeight () {
+                    let height = document.body.offsetHeight // 网页可视区域高度
+                    // if (this.filterActive) {
+                    //   this.tableMaxHeight = height - 320
+                    // } else {
+                      this.tableMaxHeight = height - 250
+                    // }
+                    console.log(height)
+                  },
+
+  // 判断是否选择户主
+  changese(){
+    console.log(this.form.houseType)
+    if(this.form.houseType == '是'){
+      this.form.code = this.form.idCard
+      this.nhe = false
+    }else{
+      this.form.code != this.form.idCard
+      this.nhe = true
+    }
+  },
+  // 常住人口
+  chajnd(data){
+   this.queryParams.queryType = 'cz'
+   this.queryParams.pageNum = 1
+   this.queryParams.status = data
+   this.nhykis = false
+   this.nhyki = true
+   this.nhslke = data
+    this.getList();
+  },
+  // 户籍人口
+  chajnds(){
+    this.nhykis = true
+    this.nhyki = false
+    this.queryParams.pageNum = 1
+   this.queryParams.queryType = 'hj'
+   this.getList();
+  },
+  // 变更历史
+  chajndsls(row){
+   let nhduw = {}
+   nhduw.id = row.id
+   // biangneg
+   this.getListls(nhduw);
+  },
+  // 确认死亡
+  siw(row){
+   this.$confirm('此操作将永久删除该文件, 是否继续?', '提示', {
+             confirmButtonText: '确定',
+             cancelButtonText: '取消',
+             type: 'warning'
+           }).then(() => {
+             this.$message({
+               type: 'success',
+               message: '删除成功!'
+             });
+           }).catch(() => {
+             this.$message({
+               type: 'info',
+               message: '已取消删除'
+             });
+           });
+  },
+
+  // 一键确认
+  xinxiheu(){
+    let nchesr = []
+    nchesr = this.bgtes
+    console.log(nchesr)
+    listInfotjjssbule(nchesr).then(response => {
+      if(response.code == 200){
+        this.msgSuccess('操作成功')
+        this.jiezhong = false
+          this.getList();
+        this.getTreeselectjuetj()
+      }
+      				// this.msgSuccess('操作成功');
+    })
+  },
+  xinxihe(){
+   this.$refs['form'].validate(valid => {
+   	console.log(this.selected);
+   	if (valid) {
+let reg = /^([1-6][1-9]|50)\d{4}(18|19|20)\d{2}((0[1-9])|10|11|12)(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/;
+      let _IDre15 =  /^([1-6][1-9]|50)\d{4}\d{2}((0[1-9])|10|11|12)(([0-2][1-9])|10|20|30|31)\d{3}$/;
+      // 护照
+       // let ncjsle = /^1[45][0-9]{7}$|(^[P|p|S|s]\d{7}$)|(^[S|s|G|g|E|e]\d{8}$)|(^[Gg|Tt|Ss|Ll|Qq|Dd|Aa|Ff]\d{8}$)|(^[H|h|M|m]\d{8,10}$)/;
+       let ncjsle = /^[a-zA-Z0-9]{5,17}$/
+       let nhyeli = /^[a-zA-Z]{5,17}$/
+      // 港澳
+      let gnse = /^([A-Z]\d{6,10}(\(\w{1}\))?)$/;
+      // 台湾
+      // let tw = /^\d{8}|^[a-zA-Z0-9]{10}|^\d{18}$/
+      var tw =  /^[0-9]{8}$/;
+       var twe = /^[0-9]{10}$/;
+      // 校验身份证:
+      console.log(reg.test(this.form.idCard),23741)
+			if ( reg.test(this.form.idCard)|| _IDre15.test(this.form.idCard)) {
+				// this.idea();
+				// this.go(this.form.idCard.length);
+				// callback()
+			} else {
+        if(ncjsle.test(this.form.idCard) || nhyeli.test(this.form.idCard)){
+           console.log(3)
+        }else{
+          if(gnse.test(this.form.idCard)  ){
+              console.log(4)
+          }else{
+            if(tw.test(this.form.idCard) || twe.test(this.form.idCard)){
+              console.log(5)
+            }else{
+              this.msgInfo('证件格式不正确');
+              return false
+            }
+
+            // return false
+          }
+
+        }
+				// callback(new Error('身份证号码不正确'))
+			}
+       let redw = /^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$/;
+       console.log(this.form)
+       console.log(redw.test(this.form.phoneNum))
+       if (this.form.phoneNum == null) {
+       	// this.idea();
+       	// this.go(this.form.idCard.length);
+       	// callback()
+       } else{
+         if(this.form.phoneNum !== ''){
+           if(redw.test(this.form.phoneNum)){
+
+           }else{
+             this.msgInfo('手机号码不正确');
+             return false
+           }
+         }
+        }
+   		if (this.form.id != null) {
+   			// this.form.nowIn = this.naiseurya + this.form.nowIn;
+   			// this.form.domicile = this.hsuej + this.form.domicile;
+          console.log(this.form.czrkJzdzList)
+          if(this.nhyesaw == 1){
+            this.form.czrkJzdzList = this.form.czrkJzdzList.splice(1)
+          }else if(this.nhyesaw == 2){
+            console.log(this.form.czrkJzdzList[0])
+            // this.form.czrkJzdzList.unshift(this.form.czrkJzdzList[0])
+          }
+          console.log(this.form.czrkJzdzList)
+          // data = data +1
+          this.nhyesaw = this.nhyesaw + 1
+          this.senlsduea = false
+          this.form.isConfirm = 'Y'
+          console.log(this.form.czrkJzdzList)
+          updateInfo(this.form).then(response => {
+            console.log(response)
+            if(response.code == 200){
+               this.msgSuccess('操作成功');
+               this.nhyesaw = 1
+               this.opens = false;
+               this.nhyesfx = false
+               this.getList();
+               this.getTreeselectjuetj()
+               return false
+            }else{
+              // this.senlsduea = true
+              // this.form.czrkJzdzList.unshift(this.form.czrkJzdzList[0])
+              this.nhyesaw = 1
+              this.$message.error(response.msg + '请重新填写');
+              // this.mnyesfjerty(0)
+          //     if(this.nhyesaw == 1){
+          //     this.form.czrkJzdzList = this.form.czrkJzdzList.splice(1)
+          // }
+              this.opens = false
+            }
+
+            // if(response.data.code == 200){
+            //   this.msgSuccess('修改成功');
+            //   this.ndheysfs = false
+            // }else{
+            //   this.ndheysfs = true
+            // }
+
+            // if(this.nhyesoder == 3){
+            //   this.jiezhong = true
+            //   this.handleDeletefamide(this.bhdes)
+            // }
+            // this.nhyesoder = 4
+          });
+   		} else {
+   			// this.form.nowIn = this.naiseurya + this.form.nowIn;
+   			// this.form.domicile = this.hsuej + this.form.domicile;
+   			// if (this.form.nowIn == 'undefined') {
+   			// 	this.form.nowIn = null;
+   			// }
+
+      //    if(this.nhyeswdga.length == 0){
+      //      this.msgInfo('请填写户籍地址');
+      //      return false
+      //    }
+
+      //    if(this.form.czrkJzdzList[0].province == ''){
+      //      this.msgInfo('请填写居住地址');
+      //      return false
+      //    }
+      //    if(this.form.czrkJzdzList[0].province == null){
+      //      this.msgInfo('请填写居住地址');
+      //      return false
+      //    }
+
+   			// console.log(this.form)
+      //    this.form.czrkJzdzList.filter(route =>{
+      //      route.seleted = []
+      //      route.optiodne = []
+      //    })
+   			// return
+   			// addInfo(this.form).then(response => {
+   			// 	this.msgSuccess('新增成功');
+   			// 	this.opens = false;
+   			// 	this.getList();
+      //      if(this.nhyesoder == 3){
+      //        this.jiezhong = true
+      //        this.handleDeletefamide(this.bhdes)
+      //      }
+      //      this.nhyesoder = 4
+   			// });
+   		}
+   	}
+   });
+  },
+  // 信息同步
+  xinxtb(){
+   listInfotjjssquer(this.bhdes.code).then(response => {
+     if(response.code == 200){
+       this.msgSuccess(response.msg)
+       // this.jiezhong = false
+       listInfotjjsfaml(this.bhdes.code).then(response => {
+           				// this.msgSuccess('操作成功');
+                  this.bgtes = []
+           				this.jiezheList = response.data
+                  this.jiezheList.filter(rout =>{
+                       this.bgtes.push(rout.id)
+                     })
+              console.log(this.bgtes,456)
+                     this.totalfr = 0
+
+         })
+       // this.getTreeselectjuetj()
+     }
+     				// this.msgSuccess('操作成功');
+   })
+  },
+  // click(){
+    click(event) {
+      console.log(event)
+          this.$nextTick(() => {
+            let d = document.getElementsByClassName("cascader"+ this.ids)
+            this.nameutaiL +'s'
+            // console.log("cascader"+ '' +this.nameutaiL);
+            // console.log(48);
+            // console.log(d);
+            // console.log(d[0]);
+            // console.log( !d[0].onclick);
+            if( d[event] && !d[event].onclick ){
+              d[event].onclick = function(e) {
+                console.log(e);
+                if( e.target.className == "el-cascader-node__label" ){
+                  e.target.previousElementSibling.click();
+                }
+              }
+            }
+          });
+        },
+        clicks(event) {
+              this.$nextTick(() => {
+                let d = document.getElementsByClassName("cascader"+'' +this.id);
+                // console.log("cascader"+ '' +this.nameutaiL);
+                // console.log(48);
+                // console.log(d);
+                // console.log(d[0]);
+                // console.log( !d[0].onclick);
+                if( d[0] && !d[0].onclick ){
+                  d[0].onclick = function(e) {
+                    console.log(e);
+                    if( e.target.className == "el-cascader-node__label" ){
+                      e.target.previousElementSibling.click();
+                    }
+                  }
+                }
+              });
+            }
+  // }
+	}
+};
+</script>
+<style lang="scss">
+  .nhkhv{
+    display: flex;
+    align-items: center;
+    span{
+      width: 30%;
+      font-size: 14px;
+      i{
+        color: red;
+        font-size: 14px;
+        margin-right: 5px;
+      }
+    }
+  }
+  .placf {
+    .el-input {
+      .el-input__inner::placeholder{
+        color: #333;
+      }
+      /* 谷歌 */
+          .el-input__inner::-webkit-input-placeholder {
+             color: #333;
+          }
+           /* 火狐 */
+         .el-input__inner:-moz-placeholder {
+              color: #333;
+          }
+           /*ie*/
+         .el-input__inner:-ms-input-placeholder {
+              color: #333;
+          }
+    }
+
+  }
+	.jdueuh{
+		.el-form-item__label {
+			width: 0px !important;
+		}
+		.el-form-item__content {
+			margin-left: 10px !important;
+			// width: 70%;
+		}
+	}
+	.ijeuhdy{
+		.el-form-item__label {
+			width: 80px !important;
+		}
+		.el-form-item__content {
+			margin-left: 80px !important;
+			// width: 70%;
+		}
+	}
+	.znshu{
+		.el-form-item__label {
+			width: 80px !important;
+			// padding-left: 30px;
+		}
+		.el-form-item__content {
+			margin-left: 80px !important;
+
+			// width: 70%;
+		}
+		.el-input__inner{
+			padding-left: 0 !important;
+		}
+	}
+	.heioangd{
+		.el-form-item__label {
+			width: 70px !important;
+		}
+		.el-form-item__content {
+			margin-left: 70px !important;
+			// width: 70%;
+		}
+	}
+.hues {
+	.area-select {
+		margin-left: 0 !important;
+		margin-right: 10px;
+	}
+}
+.jehak {
+	.el-form-item {
+		width: 100%;
+	}
+	.el-form-item__content {
+		width: 60%;
+	}
+}
+.oiuyty {
+	.el-form-item__label {
+		width: 80px !important;
+	}
+	.el-form-item__content {
+		margin-left: 80px !important;
+		// width: 70%;
+	}
+	input {
+		padding-right: 0 !important;
+	}
+}
+.el-dialog__body {
+	padding-top: 0;
+	padding-bottom: 0;
+}
+.jhy {
+	// width: 100%;
+	// .el-form-item__content {
+	// 	width: 100%;
+	// 	margin-left: 0 !important;
+	// }
+	.el-form-item__content {
+		margin-left: 55px !important;
+		// width: 70%;
+	}
+	.el-form-item__label {
+		width: 55px !important;
+	}
+}
+.ehiqya {
+	.el-form-item__content {
+		display: flex;
+		.jdidur {
+			flex: 1;
+			margin-left: 10px;
+			// text-align: left;
+			display: flex;
+		}
+	}
+	.upload-demo {
+		display: flex;
+	}
+}
+.jdoier{
+	display: flex;
+	align-items: center;
+	.upload-demo {
+		display: flex;
+	}
+}
+.hueyde {
+	width: 18px;
+	height: 18px;
+	margin: 0 5px;
+	margin-right: 10px;
+}
+.hueydele {
+	width: 15px;
+	height: 18px;
+}
+.hyeoa {
+	height: 100%;
+	display: flex;
+	align-items: center;
+}
+.hjdoecdre {
+	// margin-top: 50%;
+	transform: translateY(50%);
+}
+.ojhgy {
+	.el-dialog {
+		padding-bottom: 40px;
+		padding-top: 10px;
+	}
+	.el-dialog__header {
+		padding-bottom: 20px;
+	}
+	.el-table .cell {
+		line-height: 50px;
+	}
+}
+.hueya{
+	margin-left: 0 !important;
+}
+.iejghiadh{
+	.el-input__inner{
+		padding-right: 0 !important;
+		padding-left: 5px !important;
+	}
+}
+.nhoesf{
+  span:hover{
+    cursor:pointer
+  }
+}
+</style>

+ 3040 - 0
src/views/system/party/index.vue

@@ -0,0 +1,3040 @@
+<template>
+	<div class="app-container">
+		<el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch" label-width="70px">
+			<el-row>
+        <el-col :span="24">
+        	<el-row>
+        	</el-row>
+        </el-col>
+				<el-col :span="24">
+					<el-row>
+						<el-col :span="8">
+							<el-form-item label="身份证号" prop="idCard">
+								<el-input v-model="queryParams.idCard" placeholder="请输入身份证号码" style="width:240px;" clearable @keyup.enter.native="handleQuery" />
+							</el-form-item>
+						</el-col>
+            <el-col :span="6">
+            	<el-form-item label="姓名" prop="userName">
+            		<el-input v-model="queryParams.userName" placeholder="请输入姓名" style="width:150px;" clearable @keyup.enter.native="handleQuery" />
+            	</el-form-item>
+            </el-col>
+						<el-col :span="6">
+							<el-form-item label="联系号码" prop="phoneNum">
+								<el-input v-model="queryParams.phoneNum" placeholder="请输入联系号码" style="width:180px;"clearable @keyup.enter.native="handleQuery" />
+							</el-form-item>
+						</el-col>
+            <el-col :span="4" >
+            	<el-form-item>
+            		<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
+            		<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
+            	</el-form-item>
+            </el-col>
+					</el-row>
+				</el-col>
+				<el-col :span="24">
+					<el-row>
+
+					</el-row>
+				</el-col>
+			</el-row>
+		</el-form>
+
+		<el-table  v-if="nbdgywkajs == true"   v-loading="loading" :data="infoList" @selection-change="handleSelectionChange" stripe style="width: 100%" :height="tableMaxHeight">
+			<el-table-column label="姓名" align="center" prop="userName"   width="110" fixed/>
+      <el-table-column label="身份证号码" align="center" prop="idCard" width="180"  fixed/>
+			<el-table-column label="联系方式" align="center" prop="homePhone" width="115" />
+
+			<el-table-column label="年龄" align="center" prop="age" width="70" />
+      <el-table-column label="性别" align="center" prop="gender" width="70" />
+
+      <el-table-column  label="乡镇" width="110" align="center"  >
+        <!-- prop="domicileSelect" -->
+        <!-- style="text-align: left;" -->
+
+        <template slot-scope="scope">
+                 <div   v-html="scope.row.township">
+                 </div>
+
+        </template>
+        </el-table-column>
+        <el-table-column  label="村/组" width="120" align="center"  >
+          <!-- prop="domicileSelect" -->
+          <!-- style="text-align: left;" -->
+
+          <template slot-scope="scope">
+                   <div   v-html="scope.row.villageGroup">
+                   </div>
+
+          </template>
+          </el-table-column>
+          <el-table-column label="是否在库" align="center" prop="isLocal" width="110" />
+
+          <el-table-column label="火化时间" align="center" prop="cremationTime" width="102" />
+          <el-table-column label="是否寄存" align="center" prop="isDeposit" width="80" />
+          <el-table-column label="是否冷藏" align="center" prop="isColdStorage" width="110" />
+          <el-table-column label="死因" align="center" prop="causeOfDeath" width="110" />
+          <el-table-column label="是否享受惠民殡葬" align="center" prop="isHmbz" width="80" />
+          <el-table-column label="上交棺木" align="center" prop="sjgm" width="110" />
+          <el-table-column label="救助对象" align="center" prop="jzdx" width="110" />
+          <el-table-column label="备注" align="center" prop="remarks" width="110" />
+          <el-table-column label="是否本地户口" align="center" prop="isLocalAccount" width="110" />
+          <el-table-column label="导入时间" align="center" prop="createTime" width="102" />
+          <el-table-column label="数据来源" align="center" prop="source" width="120" :formatter="homeNameFormats"/> />
+
+
+			<!-- <el-table-column label="操作" align="left" class-name="small-padding fixed-width" fixed="right"  width="120">
+				<template slot-scope="scope">
+					<el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" >查看修改</el-button>
+					<el-button size="mini" type="text" icon="el-icon-edit" @click="handleDelete(scope.row)" class="hueya" v-if="queryParams.queryType == 'hj'" >变更</el-button>
+          <el-button size="mini" type="text" icon="el-icon-edit" @click="chajndsls(scope.row)" class="hueya"  v-if="queryParams.queryType == 'hj'">变更历史</el-button>
+          <el-button v-if="scope.row.houseType == '是'" size="mini" type="text" icon="el-icon-edit" @click="handleDeletefamide(scope.row)" class="hueya" >查看家庭成员</el-button>
+          <el-button v-if="scope.row.houseType == '是'" size="mini" type="text" icon="el-icon-plus"   @click="handleAdd(scope.row)" class="hueya" >添加家庭成员</el-button>
+				</template>
+			</el-table-column> -->
+		</el-table>
+
+		<pagination v-if="nbdgywkajs == true" v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize" @pagination="getList" />
+
+<!-- v-loading="loading" -->
+		<!-- 添加或修改疫苗信息对话框 -->
+
+		<el-dialog   :title="title" :visible.sync="opens" width="1240px" append-to-body>
+			<el-form ref="form" :model="form" :rules="rules" label-width="100px">
+				<el-row>
+					<el-col :span="8">
+						<el-form-item label="身份证号" prop="idCard"><el-input v-model="form.idCard" placeholder="请输入身份证号码" @blur="idcde" /></el-form-item>
+					</el-col>
+					<el-col :span="8">
+						<el-form-item label="姓名" prop="userName"><el-input v-model="form.userName" placeholder="请输入姓名" /></el-form-item>
+					</el-col>
+					<el-col :span="8">
+						<el-form-item label="性别" prop="gender">
+
+							<!-- <el-input v-model="form.gender" placeholder="请输入性别" /> -->
+
+							<el-select v-model="form.gender" placeholder="性别" clearable style="width: 100%;">
+								<el-option v-for="dict in statusOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
+							</el-select>
+						</el-form-item>
+					</el-col>
+					<el-col :span="24">
+						<el-row>
+							<el-col :span="8">
+								<el-form-item label="联系号码" prop="phoneNum"><el-input v-model="form.phoneNum" placeholder="请输入联系号码" /></el-form-item>
+							</el-col>
+							<el-col :span="8">
+								<el-form-item label="人员分类" prop="keyIndustries">
+									<el-select v-model="form.keyIndustries" placeholder="人员分类" clearable style="width: 100%;">
+										<el-option v-for="dict in typeOptionsname" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
+									</el-select>
+								</el-form-item>
+							</el-col>
+							<el-col :span="8">
+								<el-form-item label="年龄" prop="age"><el-input type="number" v-model="form.age" placeholder="请输入年龄" /></el-form-item>
+							</el-col>
+						</el-row>
+					</el-col>
+
+          <el-col :span="24">
+          	<el-row>
+          		<el-col  :span="12" style="position: relative;">
+               <span style="position: absolute;top:5px; color: red;left:25px;">*</span>
+          			<el-form-item label="户籍地址" style="margin-bottom: 5px;">
+
+                  <!-- prop="provinceId" -->
+          				<!-- <el-input v-model="form.villageTowns" type="textarea" placeholder="请输入内容" /> -->
+          				<!-- <treeselect v-model="form.parentId" :options="deptOptionstwo" :normalizer="normalizer" :flat="true" :maxHeight="150" @select="djieskle"  @close = "nhyu" :placeholder="nhdyesfgh" /> -->
+          				<el-cascader
+                  v-if="nhyesfx"
+          					:placeholder="nhdyesfgh"
+          					:options="optionsLists"
+          					separator="/"
+                    v-model="nhyeswdga.nhus"
+          					@change="chahe"
+          					:props="optionPropsss"
+          					 style="width: 100%;"
+          					 ref="myCascader"
+
+                    :class="[nhdyesfgh == '点击选择户籍地址' ? '' : 'placf']"
+                    @active-item-change="handleItemChanges"
+          				></el-cascader>
+                  <!-- :popper-class="'cascader' + id"
+                  @click.native="clicks" -->
+<!-- @click.native="clicks"
+                    :popper-class="'cascader' + id" -->
+<!--  -->
+
+                  <!-- <el-cascader
+                  	:placeholder="nhdyesfgh"
+                  	:options="optionsList"
+                  	:filterable="true"
+                  	separator="/"
+                  	@change="chahe(index)"
+                  	v-model="selected"
+                  	:props="optionPropsss"
+                  	style="width: 100%;"
+                  	ref="myCascader"
+                    @active-item-change="handleItemChange"
+                    :class="[nhdyesfgh == '点击选择居住地址' ? '' : 'placf']"
+                  ></el-cascader> -->
+                   <p style="line-height: 20px; font-size: 12px;color: red;">点击小圆圈一级一级选择</p>
+          			</el-form-item>
+
+          		</el-col>
+
+          		<el-col :span="12">
+          			<el-form-item label="详细地址" prop="nowIn"><el-input v-model="form.nowIn" type="input" placeholder="请输入户籍详细地址" /></el-form-item>
+          		</el-col>
+          	</el-row>
+          </el-col>
+
+					<el-col :span="24" v-for="(item, index) in form.czrkJzdzList" :key="index"  v-show="senlsduea == false || index !== 0" >
+            <!-- v-show="senlsduea == false || index !== 0" -->
+            <el-col :span="12" >
+            	<el-form-item label="居住地址" prop="province" style="margin-bottom: 5px;">
+                <!-- item.optiodne -->
+                <el-cascader
+                	:placeholder="item.plaed"
+                	:options="item.optiodne"
+                	:filterable="true"
+                	separator="/"
+                	@change="onSelected(index)"
+                	:props="optionPropsss"
+                	style="width: 100%;"
+                	:ref="'myCascaderf' + '' + index "
+                  v-model="item.seleted"
+                  :key="cascaderKey"
+                  @expand-change="idjeus"
+                  :class="[item.plaed == '请选择居住地址' ? '' : 'placf']"
+                  @active-item-change="handleItemChange"
+                ></el-cascader>
+                <!-- :popper-class="'cascader' + idsg"
+                @click.native="click(index)" -->
+                <!-- :popper-class="'cascader' + idsg"
+                @click.native="click(index)" -->
+                  <!-- :popper-class="'cascader' + idsg" -->
+                  <!-- @click.native="click(index)" -->
+                <!--  -->
+
+                <!-- v-if="jdourdjoaj == false && index == 0" -->
+
+                <!-- <treeselect v-model="item.seleted" :options="item.optiodne" :show-count="true" placeholder="请选择归属部门" :load-options="loadOptions" :normalizer="normalizer" /> -->
+                <!-- </el-form-item> -->
+                 <!-- @active-item-change="handleItemChange" -->
+
+                 <p style="line-height: 20px; font-size: 12px;color: red;">点击小圆圈一级一级选择</p>
+            	</el-form-item>
+              <!-- :key="cascaderKey"  seleted -->
+
+            </el-col>
+            <el-col :span="11">
+            	<el-form-item label="详细地址" prop="nowIn"><el-input v-model="item.nowIn" type="input" placeholder="请输入内容" /></el-form-item>
+            </el-col>
+            <el-col :span="1">
+              <div class="hyeoa" style="margin-top: 10px;">
+              	 <el-tooltip class="item" effect="dark" content="新增居住地址信息,请慎重操作" placement="top-start">
+              	      <img src="../../../assets/images/icon_tc_add.png" alt="" class="hueyde" @click="tijea(index)" />
+              	    </el-tooltip>
+              		<el-tooltip class="item" effect="dark" content="删除无法恢复,请慎重操作" placement="top-start">
+              		     <img src="../../../assets/images/delei.png" alt="" class="hueydele" @click="naeyrfakjf(index, item)" />
+              		   </el-tooltip>
+              </div>
+            </el-col>
+          </el-col>
+
+					<el-col :span="24">
+						<el-col :span="12">
+							<el-form-item label="是否户主" prop="houseType">
+								<el-select v-model="form.houseType" placeholder="是否户主" clearable style="width: 100%;"  @change="changese">
+									<el-option v-for="dict in typeOptionshuuj" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
+								</el-select>
+							</el-form-item>
+						</el-col>
+						<el-col :span="12">
+              <el-tooltip class="item" effect="dark" content="如果不知道户编号,请用户主身份证号(已默认是户主身份证号)" placement="top-start">
+							<el-form-item label="户编号" prop="code">
+							<el-input      v-model="form.code" placeholder="请输入户主编号"/>
+              <!-- :disabled="nhe" -->
+							</el-form-item>
+              </el-tooltip>
+						</el-col>
+					</el-col>
+
+
+          <el-col :span="24" v-if="shifouh == false">
+          	<el-col :span="12">
+          		<el-form-item label="户主名称" >
+          			<el-input      v-model="form.hzName" placeholder="请输入户主名称"/>
+          		</el-form-item>
+          	</el-col>
+          	<el-col :span="12">
+
+          		<el-form-item label="户主身份证" prop="hzIdCard">
+          		<el-input      v-model="form.hzIdCard" placeholder="请输入户主身份证"/>
+              <!-- :disabled="nhe" -->
+          		</el-form-item>
+
+          	</el-col>
+          </el-col>
+
+
+          <el-col :span="24">
+            <el-col :span="12">
+                <el-form-item label="与户主关系" prop="yhzgx">
+                	<el-select filterable v-model="form.yhzgx" placeholder="与户主关系" clearable style="width: 100%;">
+                		<el-option v-for="dict in typeOptionstyzandeh" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictLabel" />
+                	</el-select>
+                </el-form-item>
+            </el-col>
+            <el-col :span="12">
+            	<el-form-item label="网格" prop="houseTyper">
+            		<el-cascader
+            			:placeholder="ndhesdweaf"
+            			:options="optionsListwg"
+            			filterable
+            			@change="chahetwoswge"
+            			:props="optionPropsssdwg"
+            			style="width: 100%;"
+            		  ref = "cddfr"
+                  :key="nhduesw"
+            		  @active-item-change="handleItemChangefrwg"
+                  :class="[ndhesdweaf == '点击选择网格' ? '' : 'placf']"
+            		></el-cascader>
+            	</el-form-item>
+            </el-col>
+          </el-col>
+
+          <el-col :span="24">
+              <el-form-item label="备注" prop="remark">
+              	<el-input v-model="form.remark" type="input" placeholder="请输入备注" />
+              </el-form-item>
+          </el-col>
+				</el-row>
+
+			</el-form>
+			<div slot="footer" class="dialog-footer">
+        <el-button type="success" @click="xinxihe" v-if="nhtrew">修改并确认</el-button>
+				<el-button type="primary" @click="submitForm">确 定</el-button>
+				<el-button @click="cancel">取 消</el-button>
+			</div>
+		</el-dialog>
+
+		<!-- 图片预览 -->
+		<el-dialog :close-on-click-modal="false" title="变更原因" :visible.sync="imashow" width="800px" append-to-body >
+      <el-form ref="formgt" :model="formgt" :rules="ruleshy" label-width="100px" style="padding-bottom: 30px;">
+      <el-form-item label="变更原因:" prop="houseType">
+      	<el-select v-model="formgt.houseType" placeholder="请选择变更原因" clearable style="width: 100%;">
+      		<el-option v-for="dict in typeOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" v-if="dict.dictValue !== '1'"/>
+      	</el-select>
+      </el-form-item>
+      </el-form>
+      <div slot="footer" class="dialog-footer">
+      	<el-button type="primary" @click="submitFormfr">确 定</el-button>
+      	<el-button @click="cancel">取 消</el-button>
+      </div>
+		</el-dialog>
+
+    <el-dialog :close-on-click-modal="false" title="查看信息" :visible.sync="jiezhong" :width="nhyesoder == 3 ? '97%' : '87%'" append-to-body class="ojhgy">
+      <el-row :gutter="10" class="mb8" v-if="nhyesoder == 3">
+      	<el-col :span="1.5"><el-button type="primary" plain icon="el-icon-plus" size="mini" @click="handleAdd(bhdes)" >新增</el-button></el-col>
+        <el-col :span="1.5"><el-button type="primary" plain  size="mini" @click="xinxtb" >与户主户籍同步</el-button></el-col>
+        <el-button type="success" size="mini" plain @click="xinxiheu" >一键确认信息无误</el-button>
+      </el-row>
+    	<el-table :data="jiezheList" stripe style="width: 100%">
+    			<el-table-column label="姓名" align="center" prop="userName" fixed  width="100"/>
+          <el-table-column label="与户主关系" align="center" prop="yhzgx" fixed  width="100"/>
+    			<el-table-column label="联系方式" align="center" prop="phoneNum" width="110" />
+    			<el-table-column label="身份证号码" align="center" prop="idCard" width="180" />
+    			<!-- <el-table-column label="户籍地址" align="center" prop="domicileSelect"  /> -->
+          <el-table-column v-if="ndhuwosdjh.queryType == 'hj' || nhyesoder == 3"  label="户籍地址"  align="center">
+            <template slot-scope="scope">
+                     <div v-if="scope.row.nowIn !==null"  v-html="scope.row.domicileSelect  + '<br>' + scope.row.nowIn">
+
+                     </div>
+                     <div v-else  v-html="scope.row.domicileSelect  + '<br>' + ''">
+                     </div>
+            </template>
+          </el-table-column>
+          <el-table-column v-if="ndhuwosdjh.queryType == 'cz' || nhyesoder == 3"  label="居住地址" align="center"  >
+            <template slot-scope="scope">
+                     <div v-if="scope.row.domicile !==null"  v-html="scope.row.nowInSelect + '<br>' + scope.row.domicile"></div>
+                     <div v-else  v-html="scope.row.nowInSelect + '<br>' + scope.row.domicile">    </div>
+            </template>
+            </el-table-column>
+          <el-table-column v-if="nhyesoder !== 3" label="操作人" align="center" prop="updateBy" width="100" />
+          <el-table-column v-if="nhyesoder !== 3" label="创建时间" align="center" prop="createTime"  width="150" />
+
+         <el-table-column label="操作" align="left" class-name="small-padding fixed-width" fixed="right"  width="90" v-if="nhyesoder == 3">
+         	<template slot-scope="scope">
+         		<el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" >查看修改</el-button>
+         	</template>
+         </el-table-column>
+    		</el-table>
+    	</el-table>
+      <pagination v-show="totalfr > 0" :total="totalfr" :page.sync="ndhuwosdjh.pageNum" :limit.sync="ndhuwosdjh.pageSize" @pagination="chakei({type:ndhuwosdjh.queryType,row:nhyesoder})"/>
+    </el-dialog>
+    <!-- 变更历史 -->
+    <el-dialog :close-on-click-modal="false" title="查看信息" :visible.sync="biangneg" width="97%" append-to-body class="ojhgy">
+    	<el-table :data="bgls" stripe style="width: 100%">
+    			<el-table-column label="姓名" align="center" prop="userName" fixed  width="100"/>
+          <!-- <el-table-column label="与户主关系" align="center" prop="yhzgx" fixed  width="100"/> -->
+    			<el-table-column label="联系方式" align="center" prop="phoneNum" width="110" />
+    			<el-table-column label="身份证号码" align="center" prop="idCard" width="180" />
+          <el-table-column label="历史状态" align="center" prop="status" width="90" :formatter="homeNameFormat"/>
+
+    			<!-- <el-table-column label="户籍地址" align="center" prop="domicileSelect"  /> -->
+          <el-table-column  label="户籍地址"  align="center"  >
+            <template slot-scope="scope">
+                     <div v-if="scope.row.nowIn !==null"  v-html="scope.row.domicileSelect  + '<br>' + scope.row.nowIn">
+
+                     </div>
+                     <div v-else  v-html="scope.row.domicileSelect  + '<br>' + ''">
+                     </div>
+            </template>
+          </el-table-column>
+          <el-table-column label="变更人" align="center"  width="110" >
+             <template slot-scope="scope">
+                    <el-tooltip class="item" effect="dark" :content="scope.row.changNikeUser" placement="top-start">
+                      <span>{{ scope.row.changUser == null? scope.row.changNikeUser :  scope.row.changUser}}</span>
+                    </el-tooltip>
+             </template>
+          </el-table-column>
+          <el-table-column label="变更时间" align="center" prop="changUserTime" width="100" />
+         <!-- <el-table-column label="操作" align="left" class-name="small-padding fixed-width" fixed="right"  width="90" v-if="nhyesoder == 3">
+         	<template slot-scope="scope">
+         		<el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" >查看修改</el-button>
+         	</template>
+         </el-table-column> -->
+    		</el-table>
+    	</el-table>
+    </el-dialog>
+
+
+
+	</div>
+</template>
+
+<script>
+import { listInfo, listInfos, listInfosls, getInfo, delInfo, addInfo, updateInfo, exportInfo, listRoleer, idces, delInfort,yiaoe,exportConfig,exportConfigtyr,importLog,listInfotj,listRoleergth,listInfotjxz,listInfotjjs,listInfotjjsfaml,listRoleergthwg,listInfotjjssbule,listInfotjjssquer,treeselectdeptst } from '@/api/system/party';
+// import { treeselect } from '@/api/system/dept';
+import { treeselect } from "@/api/system/dept";
+import Treeselect from '@riophae/vue-treeselect';
+import { getToken } from '@/utils/auth';
+import '@riophae/vue-treeselect/dist/vue-treeselect.css';
+import "@riophae/vue-treeselect/dist/vue-treeselect.css";
+export default {
+	name: 'Info',
+	components: { Treeselect },
+	data() {
+		return {
+			// 遮罩层
+			loading: true,
+			// 选中数组
+			ids: [],
+			// 非单个禁用
+			single: true,
+			// 非多个禁用
+			multiple: true,
+			// 显示搜索条件
+			showSearch: true,
+			// 总条数
+			total: 0,
+      id:'fg',
+      idsg:'gh',
+      ruleshy:{},
+			// 疫苗信息表格数据
+			infoList: [],
+			dialogImageUrl: '',
+			// 弹出层标题
+			title: '',
+      totalfr:0,
+			// 是否显示弹出层
+			opens: false,
+			process: process.env.VUE_APP_BASE_API,
+			// 查询参数
+			queryParams: {
+				pageNum: 1,
+				pageSize: 10,
+				userName: null,
+				gender: null,
+				idCard: null,
+				phoneNum: null,
+
+			},
+			config: [],
+      nhyeswdga:{nhus:[]},
+			comfietg:[],
+			configther:[],
+			configfor:[],
+      optionsListwg:[],
+      nhduesw:0,
+			// 表单参数
+			form: {
+				nowIn: '',
+				age:'',
+				code:'',
+				czrkJzdzList: [
+					{
+						provinceId: '',
+						province: '',
+						deptId: '',
+						cityId: '',
+						city: '',
+						regionId:'',
+            region: '',
+            townId: '',
+            town: '',
+            villageId: '',
+            village: '',
+            nowIn:'',
+            seleted:[],
+            plaed:'请选择居住地址',
+            optiodne:[],
+						disableg:false
+					},
+          {
+          	provinceId: '',
+          	province: '',
+          	deptId: '',
+          	cityId: '',
+          	city: '',
+          	regionId:'',
+            region: '',
+            townId: '',
+            town: '',
+            villageId: '',
+            village: '',
+            nowIn:'',
+            seleted:[],
+            plaed:'请选择居住地址',
+            optiodne:[],
+          	disableg:false
+          }
+				]
+			},
+      nhykis:true,
+      nhyki:false,
+      nhykils:true,
+      // 用户导入参数
+      upload: {
+        // 是否显示弹出层(用户导入)
+        opens: false,
+        // 弹出层标题(用户导入)
+        title: "",
+        // 是否禁用上传
+        isUploading: false,
+        // 是否更新已经存在的用户数据
+        updateSupport: 0,
+        // 设置上传的请求头部
+        headers: { Authorization: "Bearer " + getToken() },
+        // 上传的地址
+        url: process.env.VUE_APP_BASE_API + "/boman-web-core//file/common/importYmjz"
+      },
+			// 表单校验
+			rules: {
+				idCard: [{ required: true, message: '身份证号码不能为空', trigger: 'blur' }],
+				userName: [{ required: true, message: '姓名不能为空', trigger: 'blur' }],
+				provinceId:[{ required: true, message: '户籍地址不能为空或不能只选潜山市', trigger: 'blur' }],
+        houseType:[{ required: true, message: '请选择户主', trigger: 'blur' }],
+        code:[{ required: true, message: '请输入户编号信息', trigger: 'blur' }],
+        yhzgx:[{ required: true, message: '请选择与户主关系', trigger: 'blur' }],
+      },
+      // yhzgx:[{ required: true, message: '请选择与户主关系', trigger: 'blur' }],
+			selected: [],
+			selectedtwo: [],
+			statusOptions: [
+				{
+					dictValue: '女',
+					dictLabel: '女'
+				},
+				{
+					dictValue: '男',
+					dictLabel: '男'
+				}
+			],
+			statusOptionstue: [
+				{
+					dictValue: '已完成',
+					dictLabel: '已完成'
+				},
+				{
+					dictValue: '未完成',
+					dictLabel: '未完成'
+				}
+			],
+			typeOptionshuuj: [
+				{
+					dictValue: '是',
+					dictLabel: '是'
+				},
+				{
+					dictValue: '否',
+					dictLabel: '否'
+				}
+			],
+      typeOptionshuujs: [
+      	{
+      		dictValue: 'Y',
+      		dictLabel: '是'
+      	},
+      	{
+      		dictValue: 'N',
+      		dictLabel: '否'
+      	}
+      ],
+			deptOptionstwo: [],
+			options: [],
+      optionss:[],
+      optionsList: [],
+			optionProps: {
+				value: 'areaId',
+				label: 'name',
+				checkStrictly: true,
+			},
+      optionPropsssd:{
+        value: 'areaId',
+        label: 'name',
+        checkStrictly: true,
+        lazy: true,
+        lazyLoad: this.lazyLoads,
+        leaf: "leaf"
+      },
+      optionPropsss: {
+      	value: 'areaId',
+      	label: 'name',
+      	checkStrictly: true,
+      },
+      // optionPropsss: {
+      // 	value: 'id',
+      // 	label: 'label',
+      // 	checkStrictly: true,
+      // },
+      optionPropsssdwg:{
+        value: 'id',
+        label: 'areaName',
+        checkStrictly: true,
+      },
+			optionPropstwo: {
+				value: 'id',
+				label: 'label',
+				children: 'children',
+				checkStrictly: true
+			},
+			heuiq: [],
+			typeOptions: [],
+			typeOptionsty: [
+				{
+					dictValue: '是',
+					dictLabel: '是'
+				},
+				{
+					dictValue: '否',
+					dictLabel: '否'
+				}
+			],
+			typeOptionstyzandeh:[],
+			angesList: [
+
+			],
+			typeOptionsname: [],
+			typeOptionstimes: [],
+			typeOptionsvaccinatio: [],
+			typeOptionscont: [],
+			typeOptionscontty: [],
+			typeOptionscontqit:[],
+			// 剂次
+			typeOptionstimesgt: [
+			],
+			imashow: false,
+			naneme: false,
+			shouwes: false,
+			shouwestwo:false,
+			villageTownshy: undefined,
+			naiseurya: '',
+			hsuej: '',
+			jdourdjoaj: false,
+      senlsduea:false,
+			jiezhong: false,
+      biangneg:false,
+			jiezheList: [],
+			fireLise:{config:[]},
+			nameutaiL:0,
+			jue:false,
+			nhue:true,
+      exportflag:true,
+      errorlog:false,
+      errorList:[],
+      idfer:0,
+      formgt:{},
+      list: [],
+      listd:[],
+      lser:[],
+      ndhesdweaf :'点击选择网格',
+      dneyhsd:{},
+      nhdyesfgh:'点击选择户籍地址',
+      nhe:false,
+      nhyesoder:0,
+      ndhuwosdjh:{
+        pageNum: 1,
+        pageSize: 10,
+        queryType:''
+      },
+      tableMaxHeight:300,
+      cascaderKey:0,
+      optionsLists:[],
+      nhyeojd:false,
+      ndhyuewkg:[],
+      nhdyesku:false,
+      nbdgywkajs:false,
+      shifouh:true,
+      bhdes:{},
+      nhtrew:false,
+      bgtes:[],
+      ndheysfs:false,
+      nhyesaw:1,
+      nhyesfx:false,
+      bgls:[]
+		};
+	},
+	created() {
+		this.getList();
+    // this.getTreeselect()
+		// 年龄阶段
+		// this.getDicts('age_interval').then(response => {
+		// 	this.angesList = response.data;
+		// });
+   // 变更原因
+   // if(this.typeOptions.length == 0){
+     // this.getDicts('person_type').then(response => {
+     // 	this.typeOptions = response.data;
+     // });
+   // }
+
+   this.getDicts('data_sources').then(response => {
+   	this.typeOptionstimesgt = response.data;
+   });
+
+		// this.form.province = this.selected[0];
+		// this.form.city = this.selected[1];
+		// this.form.region = this.selected[2];
+		console.log(this.selected,456)
+    console.log(this.cascaderKey,347)
+		// this.queryParams.province = this.selectedtwo[0];
+		// this.queryParams.city = this.selectedtwo[1];
+		// this.queryParams.region = this.selectedtwo[2];
+		// this.naiseurya = this.form.province + this.form.city + this.form.region;
+    window.onresize = () => {
+                    this.changeTableMaxHeight()
+                  }
+                  this.changeTableMaxHeight()
+
+
+	},
+	mounted() {
+		console.log(136)
+    window.onresize = () => {
+                    this.changeTableMaxHeight()
+                  }
+                  this.changeTableMaxHeight()
+	},
+	methods: {
+    //  获取猪舍
+    homeNameFormat(row, column) {
+      return this.selectDictLabel(this.typeOptions,row.status);
+      },
+      homeNameFormats(row, column) {
+        return this.selectDictLabel(this.typeOptionstimesgt,row.source);
+        },
+
+
+    /** 初始化下拉框数据 **/
+        getRootModels() {
+           //初始化数据 只加载根节点
+           listRoleergth('0').then(response => {
+             // for(let index of response.data){
+             //   let modeInfo = {} ;
+             //   modeInfo.id = index.id
+             //   modeInfo.label = index.name;
+             //   modeInfo.children = null;
+             //   this.rootOptions.push(modeInfo);
+             // }
+             for(var i = 0 ; i < this.form.czrkJzdzList.length ; i++){
+               // this.nameutaiL = i
+               // this.mnyesfjerty(0)
+               this.form.czrkJzdzList[i].optiodne.push(response.data)
+             }
+           });
+         },
+    /** 加载子节点数据 **/
+         loadOptions({ action, parentNode, callback }){
+           console.log(action,125)
+           if (action === "LOAD_CHILDREN_OPTIONS") {
+           	  //加载点击节点的 子节点
+              var ndhes = {}
+              ndhes.pid = parentNode.areaId
+              listRoleergth(ndhes).then(response => {
+                let arr = [];
+                arr = response.data
+                // for(let index of response.data){
+                //   let chiledModeInfo = {} ;
+                //   chiledModeInfo.id = index.id
+                //   chiledModeInfo.label = index.name;
+                //   chiledModeInfo.children = null;
+                //   arr.push(chiledModeInfo);
+                // }
+                parentNode.children = arr;
+              });
+              callback();
+            }
+         },
+
+		onSelected(data,val) {
+			console.log(data, 125);
+      if(this.opens == false){
+        return  false
+      }
+      this.nameutaiL = data
+      // console.log(this.nameutaiL,76543)
+      // console.log(this.form.czrkJzdzList[data].seleted)
+      // console.log(this.$refs['myCascaderf' + '' + data],123)
+      // console.log(this.$refs['myCascaderf' + '' + data][0].$refs.panel.checkedValue,data)
+      // console.log(this.$refs['myCascaderf' + '' + data][0].getCheckedNodes()[0].pathLabels)
+
+      // if(data !== 0){
+      //   if(this.nhyeojd = true){
+      //     this.$refs['myCascaderf' + '' + this.nameutaiL][0].$refs.panel.clearCheckedNodes()
+      //   }
+      // }
+      // var nhedse = []
+      // nhedse = this.$refs['myCascaderf']
+      // if(nhedse.length > 1){
+      //   this.$refs['myCascaderf'] = this.$refs['myCascaderf'][0];
+      //   console.log(this.$refs['myCascaderf'],133)
+      //   // for(var i = 0 ; i < nhedse.length; i++){
+      //   //   if(i == 0){
+      //   //     this.$refs['myCascaderf'][0].$refs.panel.clearCheckedNodes()
+      //   //   }
+      //   // }
+      // }
+   //    this.$refs['myCascaderf'][0].$refs.panel.checkedValue =  this.form.czrkJzdzList[data].seleted
+   //    console.log(this.$refs['myCascaderf'][0].$refs.panel.checkedValue,data)
+   //    console.log(this.$refs['myCascaderf'][0].getCheckedNodes()[0].pathLabels)
+      this.nhyeojd = false
+      // this.nhdyesku = false
+			// province
+      let nhdye = []
+      nhdye = this.$refs['myCascaderf' + '' + data][0].getCheckedNodes()[0].pathLabels
+      let nhyhe = []
+      nhyhe = this.form.czrkJzdzList[data].seleted
+      if(nhdye.length == 1){
+        this.form.czrkJzdzList[data].provinceId = nhyhe[ nhyhe.length - 1];
+        this.form.czrkJzdzList[data].province = nhdye[ nhdye.length - 1];
+        this.form.czrkJzdzList[data].cityId = null
+        this.form.czrkJzdzList[data].city = null
+        this.form.czrkJzdzList[data].regionId = null
+        this.form.czrkJzdzList[data].region = null
+        this.form.czrkJzdzList[data].townId = null
+        this.form.czrkJzdzList[data].town = null
+        this.form.czrkJzdzList[data].villageId = null
+        this.form.czrkJzdzList[data].village = null
+      }else if(nhdye.length == 2){
+        this.form.czrkJzdzList[data].cityId = nhyhe[ nhyhe.length - 1];
+        this.form.czrkJzdzList[data].city = nhdye[ nhdye.length - 1];
+        this.form.czrkJzdzList[data].regionId = null
+        this.form.czrkJzdzList[data].region = null
+        this.form.czrkJzdzList[data].townId = null
+        this.form.czrkJzdzList[data].town = null
+        this.form.czrkJzdzList[data].villageId = null
+        this.form.czrkJzdzList[data].village = null
+      }else if(nhdye.length == 3){
+        this.form.czrkJzdzList[data].regionId = nhyhe[ nhyhe.length - 1];
+        this.form.czrkJzdzList[data].region = nhdye[ nhdye.length - 1];
+        this.form.czrkJzdzList[data].townId = null
+        this.form.czrkJzdzList[data].town = null
+        this.form.czrkJzdzList[data].villageId = null
+        this.form.czrkJzdzList[data].village = null
+      }else if(nhdye.length == 4){
+        this.form.czrkJzdzList[data].townId = nhyhe[ nhyhe.length - 1];
+        this.form.czrkJzdzList[data].town = nhdye[ nhdye.length - 1];
+        this.form.czrkJzdzList[data].villageId = null
+        this.form.czrkJzdzList[data].village = null
+      }else if(nhdye.length == 5){
+        this.form.czrkJzdzList[data].villageId = nhyhe[ nhyhe.length - 1];
+        this.form.czrkJzdzList[data].village = nhdye[ nhdye.length - 1];
+      }
+     this.form.czrkJzdzList[data].deptId =  nhyhe[ nhyhe.length - 1]
+      // id
+			// this.form.province = data[0];
+			// this.form.city = data[1];
+			// this.form.region = data[2];
+      // 名称
+			// this.naiseurya = this.form.province + this.form.city + this.form.region;
+			// if (this.jdourdjoaj == false) {
+			// 	// 修改
+			// 	this.form.nowIn = '';
+			// }
+			// this.form.nowIn = undefined
+			// this.form.villageTowns = data[3]
+      console.log(this.form)
+		},
+		dakousr() {
+			console.log(2345);
+		},
+    mnyesfjer(index,val){
+      this.loading = true;
+      let pids = {}
+      pids.pid = index
+      listRoleergth(pids).then(response => {
+        // this.cascaderKey = this.cascaderKey + 1
+        if(response.data.length == 0){
+          return
+        }
+        if(val !== undefined){
+          this.nameutaiL = val
+        }
+         console.log(this.nameutaiL,87)
+      	this.form.czrkJzdzList[this.nameutaiL].optiodne = this.handleData(response.data);
+        // this.optionsLists = this.handleData(response.data);
+        this.optionsList = this.handleData(response.data);
+        // this.optionsListwg = this.handleDatawg(response.data);
+        // this.form.czrkJzdzList[0].optiodne
+      	this.loading = false;
+        console.log(this.cascaderKey,8765)
+      });
+    },
+    mnyesfjerty(index,val){
+      this.loading = true;
+      let pids = {}
+      pids.pid = index
+      listRoleergth(pids).then(response => {
+        // this.cascaderKey = this.cascaderKey + 1
+        if(response.data.length == 0){
+          return false
+        }
+        for(var i = 0 ; i < this.form.czrkJzdzList.length ; i++){
+          // this.nameutaiL = i
+          // this.mnyesfjerty(0)
+          console.log(i,7528)
+          this.form.czrkJzdzList[i].optiodne = this.handleData(response.data);
+        }
+
+        // this.form.czrkJzdzList[0].optiodne
+      	this.loading = false;
+        console.log(this.cascaderKey,8765)
+      });
+    },
+
+    mnyesfjerop(index){
+      this.loading = true;
+      let pids = {}
+      pids.pid = index
+      listRoleergth(pids).then(response => {
+        this.optionsLists = this.handleData(response.data)
+      	this.loading = false;
+      });
+    },
+
+    mnyesfjeropwg(index){
+      this.loading = true;
+      let pids = {}
+      pids.pid= index
+      listRoleergthwg(pids).then(response => {
+      	this.optionsListwg = this.handleDatawg(response.data);
+      	this.loading = false;
+      });
+    },
+    mnyesfjers(index){
+      this.loading = true;
+      let pids = {}
+      pids.pid = index
+      listRoleergth(pids).then(response => {
+        // this.cascaderKey = this.cascaderKey + 1
+        if(response.data.length == 0){
+          return
+        }
+
+      	this.loading = false;
+        console.log(this.cascaderKey,8765)
+      });
+    },
+   idjeus(data){
+    console.log(data,2347)
+    // this.cascaderKey = this.cascaderKey + 1
+   },
+     format() {
+          let res =  this.getfristChild(); // 拿一级数据
+          this.list.forEach((item) => {
+            // 遍历回显的id 二维数组
+            if (item.length > 1) {
+              item.forEach(async (sitem, index) => {
+                if (index == item.length - 1) {
+                  return; // 如果是一级节点就不用查找了
+                }
+                let arr =  this.getOther(sitem); // 不是一级,获取子级
+                this.findItem(res, arr, sitem); //  判断当前拿到的子级数据属于哪个一级数据下的子级,并且加到当前一级的children属性下
+              });
+            }
+          });
+           },
+     // 递归判断
+           findItem(res, arr, id) {
+            for (let i = 0; i < res.length; i++) {
+              if (res[i].value === id) {
+                res[i].children = arr; // 有chidlren 也要判断是不是这个children下的子级
+                return res;
+              }
+              if (res[i].children) {
+                this.findItem(res[i].children, arr, id);
+              }
+            }
+             return res;
+          },
+
+
+   // getAddress() {
+   // 	        this.mnyesfjer(0).then(res => {
+   // 	          this.optionsList =  this.handleData(res.data);
+   // 	        }).catch(err => {
+   // 	        })
+   // 	    },
+   	     handleItemChange(val) {
+           console.log(val,235)
+   	        let code = val ? val[val.length - 1] : '';  //需请求数据的上级地址的code值
+   	        let level = val.length + 1;  //需请求第几级地址
+            console.log(this.nameutaiL,2345)
+            console.log(this.form.czrkJzdzList,12365)
+            this.nameutaiL = this.nameutaiL - 0
+            this.$set(this.form.czrkJzdzList[this.nameutaiL],'optiodne',this.handleData(this.form.czrkJzdzList[this.nameutaiL].optiodne, code, level))
+          },
+
+
+          handleItemChangefr(val) {
+            console.log(val,235)
+             let code = val ? val[val.length - 1] : '';  //需请求数据的上级地址的code值
+             let level = val.length + 1;  //需请求第几级地址
+             this.optionsList = this.handleData(this.optionsList, code, level);
+          	},
+
+          handleItemChanges(val) {
+            console.log(val,235)
+             let code = val ? val[val.length - 1] : '';  //需请求数据的上级地址的code值
+             let level = val.length + 1;  //需请求第几级地址
+             this.optionsLists = this.handleData(this.optionsLists, code, level);
+             this.cascaderKey = this.cascaderKey + 1
+          	},
+
+         	handleData(data, val, level) {
+            console.log(data,val,level,7536)
+   	        for (let i = 0; i < data.length; i++) {
+   	          if(!data[i].children) {
+   	            this.$set(data[i], 'children', []);
+   	          }
+   	          if(data[i].areaId === val){
+                let vfer = {}
+                vfer.pid = val
+   	            listRoleergth(vfer).then(res => {
+                  // this.cascaderKey = this.cascaderKey + 1
+   	              if(res.data.length) {
+                    console.log(data[i].children,4567)
+   	                // data[i].children = res.data;
+                    this.$set(data[i], 'children', res.data)
+                    console.log(data[i].children,45678)
+                     // this.nhdyesku = true
+   	                data[i].children.forEach(ele => {
+   	                  this.$set(ele, 'children', [])
+   	                });
+   	              }else {
+   	                data[i].children = undefined;
+   	              }
+   	            }).catch(err => {
+   	            });
+   	          }else {
+   	            if(data[i].children.length){
+   	              this.handleData(data[i].children,val,level)
+   	            }
+   	          }
+   	        }
+
+             return data;
+         },
+
+         handleItemChangefrwg(val) {
+           console.log(val,235)
+            let code = val ? val[val.length - 1] : '';  //需请求数据的上级地址的code值
+            let level = val.length + 1;  //需请求第几级地址
+            this.optionsListwg = this.handleDatawg(this.optionsListwg, code, level);
+         	},
+         handleDatawg(data, val, level) {
+            console.log(data,val,level,7536)
+            for (let i = 0; i < data.length; i++) {
+              if(!data[i].children) {
+                this.$set(data[i], 'children', []);
+              }
+              if(data[i].id === val){
+                let vfer = {}
+                vfer.pid = val
+                listRoleergthwg(vfer).then(res => {
+                  // this.cascaderKey = this.cascaderKey + 1
+                  if(res.data.length) {
+                    console.log(data[i].children,4567)
+                    // data[i].children = res.data;
+                    this.$set(data[i], 'children', res.data)
+                    console.log(data[i].children,45678)
+                     this.nhdyesku = true
+                    data[i].children.forEach(ele => {
+                      this.$set(ele, 'children', [])
+                    });
+                  }else {
+                    data[i].children = undefined;
+                  }
+                }).catch(err => {
+                });
+              }else {
+                if(data[i].children.length){
+                  this.handleDatawg(data[i].children,val,level)
+                }
+              }
+            }
+
+             return data;
+         },
+
+		onSelectedtwo(data) {
+			console.log(data);
+			// province
+			this.queryParams.province = data[0];
+			this.queryParams.city = data[1];
+			this.queryParams.region = data[2];
+			// this.queryParams.villageTowns = data[3]
+		},
+		/** 查询户籍疫苗信息列表 */
+		getList() {
+			this.loading = true;
+      this.nbdgywkajs = true
+			listInfo(this.queryParams).then(response => {
+				this.infoList = response.rows;
+        this.nbdgywkajs = true
+				this.total = response.total;
+				this.loading = false;
+			});
+		},
+    /** 查询居住疫苗信息列表 */
+    getListjuzhu() {
+    	this.loading = true;
+      this.nbdgywkajs = true
+    	listInfos(this.queryParams).then(response => {
+    		this.infoList = response.rows;
+        this.nbdgywkajs = true
+    		this.total = response.total;
+    		this.loading = false;
+    	});
+    },
+    // 查询历史变更
+    getListls(row) {
+    	this.loading = true;
+      // this.nbdgywkajs = true
+      this.biangneg = true
+    	listInfosls(row).then(response => {
+    		this.bgls = response.data;
+        // this.nbdgywkajs = true
+    		// this.total = response.total;
+    		this.loading = false;
+    	});
+    },
+
+		getToken() {
+			return getToken();
+		},
+		getTreeselectjue() {
+			this.loading = true;
+      let pids = {}
+      pids.pid = 0
+			listRoleer().then(response => {
+				this.options = response.data;
+				this.loading = false;
+			});
+		},
+    // 统计数据
+    getTreeselectjuetj() {
+    	this.loading = true;
+      this.dneyhsd = []
+      listInfotj().then(response => {
+        if(response.data !== undefined){
+          this.dneyhsd =  response.data
+        }else{
+          this.dneyhsd.push({dqdw:null,zhen:null,cun:null,zu:null,czzrs:null,czxz:null,czjs:null,hjzrs:null,hjxz:null,dneyhsd:null})
+        }
+
+        this.loading = false;
+      });
+    },
+
+		// 点击组/角色
+		djieskle(node, instanceId) {
+			// this.personnel(node.id);
+			console.log(node, instanceId);
+		},
+    nhyu(value, instanceId){
+      console.log(value, instanceId);
+    },
+		// 身份证
+		idcde(event) {
+			console.log(event);
+			// 身份证号码为15位或者18位,15位时全为数字,18位前17位为数字,最后一位是校验位,可能为数字或字符X
+			let reg = /^([1-6][1-9]|50)\d{4}(18|19|20)\d{2}((0[1-9])|10|11|12)(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/;
+      let _IDre15 =  /^([1-6][1-9]|50)\d{4}\d{2}((0[1-9])|10|11|12)(([0-2][1-9])|10|20|30|31)\d{3}$/;
+      // 护照
+       // let ncjsle = /^1[45][0-9]{7}$|(^[P|p|S|s]\d{7}$)|(^[S|s|G|g|E|e]\d{8}$)|(^[Gg|Tt|Ss|Ll|Qq|Dd|Aa|Ff]\d{8}$)|(^[H|h|M|m]\d{8,10}$)/;
+       let ncjsle = /^[a-zA-Z0-9]{5,17}$/
+       let nhyeli = /^[a-zA-Z]{5,17}$/
+      // 港澳
+      let gnse = /^([A-Z]\d{6,10}(\(\w{1}\))?)$/;
+      // 台湾
+      // let tw = /^\d{8}|^[a-zA-Z0-9]{10}|^\d{18}$/
+      var tw =  /^[0-9]{8}$/;
+       var twe = /^[0-9]{10}$/;
+      // 校验身份证:
+      console.log(reg.test(this.form.idCard),23741)
+			if ( reg.test(this.form.idCard)|| _IDre15.test(this.form.idCard)) {
+				this.idea();
+				// this.go(this.form.idCard.length);
+				// callback()
+			} else {
+        if(ncjsle.test(this.form.idCard) || nhyeli.test(this.form.idCard)){
+           console.log(3)
+        }else{
+          if(gnse.test(this.form.idCard)  ){
+              console.log(4)
+          }else{
+            if(tw.test(this.form.idCard) || twe.test(this.form.idCard)){
+              console.log(5)
+            }else{
+              this.msgInfo('证件格式不正确');
+            }
+
+            // return false
+          }
+
+        }
+				// callback(new Error('身份证号码不正确'))
+			}
+		},
+		// 实现自动生成生日,性别,年龄
+		go(val) {
+			let iden = this.form.idCard;
+			let sex = null;
+			let birth = null;
+			let birthr = '';
+			let myDate = new Date();
+			let month = myDate.getMonth() + 1;
+			let day = myDate.getDate();
+			let age = 0;
+
+			if (val === 18) {
+				age = myDate.getFullYear() - iden.substring(6, 10) - 1;
+				sex = iden.substring(16, 17);
+				birth = iden.substring(6, 10) + '-' + iden.substring(10, 12) + '-' + iden.substring(12, 14);
+				if (iden.substring(10, 12) < month || (iden.substring(10, 12) == month && iden.substring(12, 14) <= day)) age++;
+			}
+			if (val === 15) {
+				age = myDate.getFullYear() - iden.substring(6, 8) - 1901;
+				sex = iden.substring(13, 14);
+				birth = '19' + iden.substring(6, 8) + '-' + iden.substring(8, 10) + '-' + iden.substring(10, 12);
+				if (iden.substring(8, 10) < month || (iden.substring(8, 10) == month && iden.substring(10, 12) <= day)) age++;
+			}
+
+			if (sex % 2 === 0) sex = '女';
+			else sex = '男';
+			this.form.gender = sex;
+			// this.baseInfo.age = age;
+			birthr = birth + '';
+			console.log(birthr);
+			// this.form.birthday = birthr;
+			// this.$set(this.form.birthday, birthr)
+			// this.baseInfo.birthplace = this.area[iden.substring(0,2)];
+		},
+
+
+		// 请求身份证数据
+		idea() {
+			idces({ idCard: this.form.idCard }).then(response => {
+				console.log(response);
+				this.form.gender = response.data.gender;
+				// this.form.birthday = response.data.birthday;
+				this.form.age = response.data.age
+        if(response.data.code !== null){
+          this.$set(this.form, 'code', response.data.code)
+          // this.form.code = response.data.code
+        }
+
+				if (response.data.userName == null) {
+					// this.form.userName = undefined;
+          // this.$set(this.form, 'userName', null)
+				} else {
+     //      this.form
+					// this.form.userName = response.data.userName;
+          this.$set(this.form, 'userName', response.data.userName)
+				}
+        // if(response.data.code == null){
+        //   // this.form.code =  this.form.idCard
+        // }else{
+        //   this.form.code = response.data.code;
+        // }
+        // if(response.data.province == null){
+        //   // this.form.province = null;
+        //   // this.form.provinceId = null;
+        //   this.$set(this.form, 'province', null)
+        //   this.$set(this.form, 'provinceId', null)
+        // }else{
+        //   this.form.province = response.data.province;
+        //   this.form.provinceId = response.data.provinceId;
+        //   this.$set(this.form, 'province', response.data.province)
+        //   this.$set(this.form, 'provinceId', response.data.provinceId)
+        // }
+        // if(response.data.city == null){
+        //   // this.form.city = null;
+        //   // this.form.cityId = null;
+        //   this.$set(this.form, 'city', null)
+        //   this.$set(this.form, 'cityId', null)
+        // }else{
+        //   // this.form.city = response.data.city;
+        //   // this.form.cityId = response.data.cityId;
+        //   this.$set(this.form, 'city', response.data.city)
+        //   this.$set(this.form, 'cityId', response.data.cityId)
+        // }
+        // if(response.data.region == null){
+        //   // this.form.region = null;
+        //   // this.form.regionId = null;
+        //   this.$set(this.form, 'region', null)
+        //   this.$set(this.form, 'regionId', null)
+        // }else{
+        //   // this.form.region = response.data.region;
+        //   // this.form.regionId = response.data.regionId;
+        //   this.$set(this.form, 'region', response.data.region)
+        //   this.$set(this.form, 'regionId', response.data.regionId)
+        // }
+
+        // if(response.data.villageTowns == null){
+        //   // this.form.villageTowns = null;
+        //   // this.form.villageTownsId = null;
+        //   this.$set(this.form, 'villageTowns', null)
+        //   this.$set(this.form, 'villageTownsId', null)
+        // }else{
+        //   // this.form.villageTowns = response.data.villageTowns;
+        //   // this.form.villageTownsId = response.data.villageTownsId;
+        //   this.$set(this.form, 'villageTowns', response.data.villageTowns)
+        //   this.$set(this.form, 'villageTownsId', response.data.villageTownsId)
+        // }
+
+        // if(response.data.village == null){
+        //   // this.form.village = null;
+        //   // this.form.villageId = null;
+        //   this.$set(this.form, 'village', null)
+        //   this.$set(this.form, 'villageId', null)
+
+        // }else{
+        //   // this.form.village = response.data.village;
+        //   // this.form.villageId = response.data.villageId;
+        //   this.$set(this.form, 'village', response.data.village)
+        //   this.$set(this.form, 'villageId', response.data.villageId)
+        // }
+
+        // if(response.data.villagerGroupId == null){
+        //   // this.form.villagerGroup = null;
+        //   // this.form.villagerGroupId = null;
+        //   this.$set(this.form, 'villagerGroup', null)
+        //   this.$set(this.form, 'villagerGroupId', null)
+        // }else{
+        //   // this.form.villagerGroup = response.data.villagerGroup;
+        //   // this.form.villagerGroupId = response.data.villagerGroupId;
+        //   this.$set(this.form, 'villagerGroup', response.data.villagerGroup)
+        //   this.$set(this.form, 'villagerGroupId', response.data.villagerGroupId)
+        // }
+
+        // if(response.data.province !== null && response.data.province !== ""){
+        //   console.log(3456)
+        // 	this.nhdyesfgh = response.data.province;
+        //   if(response.data.city !== null && response.data.city !== ""){
+        //     this.nhdyesfgh = response.data.province + '/' + response.data.city;
+        //     if(response.data.region !== null && response.data.region !== ""){
+        //     	this.nhdyesfgh = response.data.province + '/' + response.data.city + '/' + response.data.region;
+        //       if(this.form.villageTowns !==null && this.form.villageTowns !=='' && this.form.villageTowns !== undefined){
+        //         this.nhdyesfgh = response.data.province + '/' + response.data.city + '/' + response.data.region + '/' + this.form.villageTowns;
+        //         if(this.form.village !==null && this.form.village !=='' && this.form.village !== undefined){
+        //           this.nhdyesfgh = response.data.province + '/' + response.data.city + '/' + response.data.region + '/' + this.form.villageTowns + '/' + this.form.village;
+        //         }
+        //       }
+        //     }else{
+        //     	// this.nhdyesfgh ='点击选择居住地址'
+        //     }
+        //   }else{
+        //   	// this.nhdyesfgh ='点击选择居住地址'
+        //   }
+        // }else{
+        //   console.log(34566)
+        // 	this.nhdyesfgh ='点击选择户籍地址'
+        //   this.nhyeswdga = []
+        // }
+
+        // if( response.data.czrkJzdzList !== null && response.data.czrkJzdzList.length !== 0  ){
+        // 	// this.selected[0] = response.data.province;
+        //   // for(var i = 0 ; i < response.data.czrkJzdzList.length ; i++){
+        //     // this.nameutaiL = i
+        //     this.mnyesfjerty(0)
+        //   // }
+        //   response.data.czrkJzdzList.filter(route =>{
+        //     route.seleted = []
+        //     if(route.province !== ""){
+        //       route.plaed =  route.province
+        //       if(route.city !== ""){
+        //         route.plaed =  route.plaed + '/' + route.city
+        //         if(route.city !== ""){
+        //           // route.plaed =  route.plaed + '/' + route.city
+        //           if(route.region !== ""){
+        //             route.plaed =  route.plaed + '/' + route.region
+        //             if(route.town !== ""){
+        //               route.plaed =  route.plaed + '/' + route.town
+        //               if(route.village !== ""){
+        //                 route.plaed =  route.plaed + '/' + route.village
+        //               }
+        //             }
+        //           }
+        //         }
+        //       }
+        //     }else{
+        //       route.plaed = '请选择居住地址'
+        //     }
+        //   })
+
+        //   this.form.czrkJzdzList   = response.data.czrkJzdzList
+        // }
+        if(this.form.phoneNum == null){
+           this.form.phoneNum   = response.data.phoneNum
+        }
+        if(this.form.phoneNum == ''){
+           this.form.phoneNum   = response.data.phoneNum
+        }
+
+        if(response.data.houseType !==null){
+          this.form.houseType   = response.data.houseType
+        }
+        if(response.data.nowIn !== nuill){
+          this.form.nowIn   = response.data.nowIn
+        }
+        if(response.data.remark !== nuill){
+          this.form.remark   = response.data.remark
+        }
+			});
+		},
+
+
+		// 取消按钮
+		cancel() {
+			this.opens = false;
+			this.jiezhong = false;
+      this.biangneg =  false;
+			this.imashow = false;
+      this.errorlog=false;
+      this.nhyesfx = false
+      this.form.czrkJzdzList = this.form.czrkJzdzList.splice(1)
+			// this.reset();
+		},
+		gywoa() {
+			console.log(this.form.isVaccination);
+			if (this.form.isVaccination !== null) {
+				if (this.form.isVaccination == '是') {
+					// 接种疫苗
+					this.naneme = false,
+					this.shouwes = true;
+				}else {
+					this.naneme = true,
+					this.shouwes = false,
+					this.form.czrkJzdzList = [{
+						provinceId: '',
+						province: '',
+						deptId: '',
+						cityId: '',
+						city: '',
+						regionId:'',
+						region: '',
+						townId: '',
+						town: '',
+						villageId: '',
+						village: '',
+						nowIn:'',
+            seleted:[],
+            optiodne:[],
+            plaed:'请选择居住地址',
+					}
+				]
+				}
+			}
+		},
+		gywoatwo() {
+			console.log(this.queryParams.isVaccination);
+			if (this.queryParams.isVaccination !== null) {
+				if (this.queryParams.isVaccination == '是') {
+					// 接种疫苗
+					// (this.naneme = false), (this.shouwes = true);
+					this.shouwestwo = false
+				} else {
+					// (this.naneme = true), (this.shouwes = false);
+					this.shouwestwo = true
+				}
+			}
+		},
+
+		// 表单重置
+		reset() {
+			this.form = {
+				id: undefined,
+				age:'',
+				code:'',
+				houseType: '是',
+				domicile: undefined,
+				province: undefined,
+				city: undefined,
+				region: undefined,
+				userName: undefined,
+				gender: undefined,
+				idCard: undefined,
+				phoneNum: undefined,
+				keyIndustries: undefined,
+				isVaccination: undefined,
+				vaccinationPlace: undefined,
+				contraindication: undefined,
+				nowIn: '',
+        isConfirm:undefined,
+        gridId:undefined,
+				remark: undefined,
+        villageTowns:undefined,
+        village:undefined,
+        czrkJzdzList: [
+        	{
+        		provinceId: '',
+        		province: '',
+        		deptId: '',
+        		cityId: '',
+        		city: '',
+        		regionId:'',
+        		region: '',
+        		townId: '',
+        		town: '',
+        		villageId: '',
+        		village: '',
+        		nowIn:'',
+        		disableg:false,
+            optiodne:[],
+            seleted:[],
+            plaed:'请选择居住地址',
+        	}
+
+        ]
+			};
+			this.resetForm('form');
+		},
+		/** 搜索按钮操作 */
+		handleQuery() {
+			this.queryParams.pageNum = 1;
+			console.log(this.queryParams)
+      // if(this.queryParams.queryType == 'hj'){
+        this.getList();
+      // }else if(this.queryParams.queryType == 'cz'){
+      //   this.getListjuzhu();
+      // }
+			// this.getList();
+		},
+		/** 重置按钮操作 */
+		resetQuery() {
+			this.nhue = false
+			this.selectedtwo = []
+			setTimeout( ()=>{
+				this.nhue = true
+			},100)
+			this.queryParams.province = undefined;
			this.queryParams.city = undefined;
			this.queryParams.region = undefined;
+      this.queryParams.deptId = undefined
+      this.queryParams.provinceIdXjd = undefined
+      this.queryParams.cityIdXjd = undefined
+      this.queryParams.regionIdXjd = undefined
+      this.queryParams.villageTownsIdXjd = undefined
+      this.queryParams.villageIdXjd = undefined;
+      this.queryParams.provinceId = undefined
+      this.queryParams.cityId = undefined
+      this.queryParams.regionId = undefined
+      this.queryParams.villageTownsId = undefined
+      this.queryParams.villageId = undefined
+      this.listd = []
+      this.lser = []
+			this.resetForm('queryForm');
+			this.handleQuery();
+		},
+		// 多选框选中数据
+		handleSelectionChange(selection) {
+			this.ids = selection.map(item => item.id);
+			this.single = selection.length !== 1;
+			this.multiple = !selection.length;
+		},
+		/** 新增按钮操作 */
+		handleAdd(data) {
+      this.form = {}
+      // this.nhyeswdga = []
+      if(this.typeOptionsname.length == 0){
+        this.getDicts('renyuanfenlei').then(response => {
+        	this.typeOptionsname = response.data;
+        });
+      }
+      if(this.typeOptionstyzandeh.length == 0){
+        // 与户主关系
+        this.getDicts('yuhuzhuguanxi').then(response => {
+        	this.typeOptionstyzandeh = response.data;
+        });
+      }
+      this.mnyesfjer(0)
+      this.$set(this.nhyeswdga, 'nhus', [])
+      this.$nextTick(() =>{
+        this.$refs.myCascader.$refs.panel.clearCheckedNodes()
+        this.$refs.myCascader.$refs.panel.activePath = []
+      })
+      this.nhyesfx = true
+      this.shifouh = true
+      console.log(this.nhyeswdga)
+          // this.reset();
+
+      // this.form.czrkJzdzList = [
+      //   	{
+      //   		provinceId: '',
+      //   		province: '',
+      //   		deptId: '',
+      //   		cityId: '',
+      //   		city: '',
+      //   		regionId:'',
+      //   		region: '',
+      //   		townId: '',
+      //   		town: '',
+      //   		villageId: '',
+      //   		village: '',
+      //   		nowIn:'',
+      //   		disableg:false,
+      //       optiodne:[],
+      //       seleted:[],
+      //       plaed:'请选择居住地址',
+      //   	}
+
+      //   ]
+        this.$set(this.form, 'czrkJzdzList', [
+        	{
+        		provinceId: '',
+        		province: '',
+        		deptId: '',
+        		cityId: '',
+        		city: '',
+        		regionId:'',
+        		region: '',
+        		townId: '',
+        		town: '',
+        		villageId: '',
+        		village: '',
+        		nowIn:'',
+        		disableg:false,
+            optiodne:[],
+            seleted:[],
+            plaed:'请选择居住地址',
+        	}
+
+        ])
+        this.form.id = null
+        // this.form.age=''
+        this.$set(this.form, 'age', null)
+        // this.form.code=''
+        this.$set(this.form, 'code', null)
+        this.$set(this.form, 'houseType', '否')
+        // this.form.houseType= '是'
+      //   this.form.domicile= null
+      this.$set(this.form, 'domicile', null)
+      //   this.form.province= null
+      this.$set(this.form, 'province', null)
+      //   this.form.city= null
+      this.$set(this.form, 'city', null)
+      //   this.form.region= null
+      this.$set(this.form, 'region', null)
+      //   this.form.userName= null
+      this.$set(this.form, 'userName', null)
+      //   this.form.gender= null
+      this.$set(this.form, 'gender', null)
+      //   this.form.idCard= null
+      this.$set(this.form, 'idCard', null)
+        this.$set(this.form, 'phoneNum', null)
+        // this.form.phoneNum= null
+      //   this.form.keyIndustries= null
+      this.$set(this.form, 'keyIndustries', null)
+      //   this.form.isVaccination= null
+      this.$set(this.form, 'isVaccination', null)
+      //   this.form.vaccinationPlace= null
+      this.$set(this.form, 'vaccinationPlace', null)
+      //   this.form.contraindication= null
+      this.$set(this.form, 'contraindication', null)
+        // this.form.nowIn= ''
+        this.$set(this.form, 'nowIn', '')
+      //   this.form.isConfirm=null
+      this.$set(this.form, 'isConfirm', null)
+      //   this.form.gridId=null
+      this.$set(this.form, 'gridId', null)
+      //   this.form.remark= null
+      this.$set(this.form, 'remark', null)
+      //   this.form.villageTowns=null
+      this.$set(this.form, 'villageTowns', null)
+      //   this.form.village=null
+      this.$set(this.form, 'village', null)
+      this.loading = false
+      console.log(data)
+			this.opens = true;
+			(this.naneme = false),
+			(this.shouwes = false);
+			// this.form.province = this.selected[0];
+			this.villageTownshy = '';
+			this.naiseurya = '';
+			this.hsuej = '';
+			// this.form.city = this.selected[1];
+			// this.form.region = this.selected[2];
+			this.title = '添加信息';
+			this.jdourdjoaj = true;
+      this.senlsduea = false
+      this.jiezhong = false
+			this.jue = true
+      this.nhdyesfgh = '点击选择户籍地址'
+      this.ndhesdweaf = '点击选择网格'
+      this.nameutaiL = 0
+       // this.nhduesw = this.nhduesw + 1
+       this.nhtrew = false
+
+      // this.form.province = '安徽省';
+      // this.form.city = '安庆市';
+      // this.form.region = '潜山市';
+      // this.form.villageTowns = '梅城镇';
+      // this.form.village = '龙井社区';
+      // this.nhdyesfgh = this.form.province + '/' + this.form.city + '/' + this.form.region + '/' + this.form.villageTowns + '/' + this.form.village;
+      if(data !== 0){
+        this.form.code = data.code
+        // this.form.houseType = '否'
+        this.$set(this.form, 'houseType', '否')
+      }else{
+        // this.form.houseType = '是'
+        this.$set(this.form, 'houseType', '是')
+      }
+			console.log(this.form)
+		},
+
+		/** 修改按钮操作 */
+		handleUpdate(row) {
+      this.opens = true;
+      this.form = {}
+  if(this.typeOptionsname.length == 0){
+    this.getDicts('renyuanfenlei').then(response => {
+    	this.typeOptionsname = response.data;
+    });
+  }
+  if(this.typeOptionstyzandeh.length == 0){
+    // 与户主关系
+    this.getDicts('yuhuzhuguanxi').then(response => {
+    	this.typeOptionstyzandeh = response.data;
+    });
+  }
+      this.$set(this.form, 'czrkJzdzList', [
+        	{
+        		provinceId: '',
+        		province: '',
+        		deptId: '',
+        		cityId: '',
+        		city: '',
+        		regionId:'',
+        		region: '',
+        		townId: '',
+        		town: '',
+        		villageId: '',
+        		village: '',
+        		nowIn:'',
+        		disableg:false,
+            optiodne:[],
+            seleted:[],
+            plaed:'请选择居住地址',
+        	}
+
+        ])
+        this.form.id = null
+        // this.form.age=''
+        this.$set(this.form, 'age', null)
+        // this.form.code=''
+        this.$set(this.form, 'code', null)
+        this.$set(this.form, 'houseType', '否')
+        // this.form.houseType= '是'
+      //   this.form.domicile= null
+      this.$set(this.form, 'domicile', null)
+      //   this.form.province= null
+      this.$set(this.form, 'province', null)
+      //   this.form.city= null
+      this.$set(this.form, 'city', null)
+      //   this.form.region= null
+      this.$set(this.form, 'region', null)
+      //   this.form.userName= null
+      this.$set(this.form, 'userName', null)
+      //   this.form.gender= null
+      this.$set(this.form, 'gender', null)
+      //   this.form.idCard= null
+      this.$set(this.form, 'idCard', null)
+        this.$set(this.form, 'phoneNum', null)
+        // this.form.phoneNum= null
+      //   this.form.keyIndustries= null
+      this.$set(this.form, 'keyIndustries', null)
+      //   this.form.isVaccination= null
+      this.$set(this.form, 'isVaccination', null)
+      //   this.form.vaccinationPlace= null
+      this.$set(this.form, 'vaccinationPlace', null)
+      //   this.form.contraindication= null
+      this.$set(this.form, 'contraindication', null)
+        // this.form.nowIn= ''
+        this.$set(this.form, 'nowIn', '')
+      //   this.form.isConfirm=null
+      this.$set(this.form, 'isConfirm', null)
+      //   this.form.gridId=null
+      this.$set(this.form, 'gridId', null)
+      //   this.form.remark= null
+      this.$set(this.form, 'remark', null)
+      //   this.form.villageTowns=null
+      this.$set(this.form, 'villageTowns', null)
+      //   this.form.village=null
+      this.$set(this.form, 'village', null)
+      console.log(this.form,34567)
+      this.nhyesaw = 1
+			// this.reset();
+			const id = row.id || this.ids;
+			getInfo(id).then(response => {
+        this.loading = false
+				this.form = response.data;
+				this.jue = false
+        this.jiezhong = false
+        this.nhdyesku = true
+        this.nhtrew = true
+        this.nhyeswdga.nhus = []
+        if(this.form.houseType == '是'){
+          //是户主
+          this.shifouh = true
+        }else{
+          this.shifouh = false
+        }
+
+				if(response.data.province !== null && response.data.province !== ""){
+					this.nhdyesfgh = response.data.province;
+          if(response.data.city !== null && response.data.city !== ""){
+            this.nhdyesfgh = response.data.province + '/' + response.data.city;
+            if(response.data.region !== null && response.data.region !== ""){
+            	this.nhdyesfgh = response.data.province + '/' + response.data.city + '/' + response.data.region;
+              if(this.form.villageTowns !==null && this.form.villageTowns !=='' && this.form.villageTowns !== undefined){
+                this.nhdyesfgh = response.data.province + '/' + response.data.city + '/' + response.data.region + '/' + this.form.villageTowns;
+                if(this.form.village !==null && this.form.village !=='' && this.form.village !== undefined){
+                  this.nhdyesfgh = response.data.province + '/' + response.data.city + '/' + response.data.region + '/' + this.form.villageTowns + '/' + this.form.village;
+                }
+              }
+            }else{
+            	// this.nhdyesfgh ='点击选择居住地址'
+            }
+          }else{
+          	// this.nhdyesfgh ='点击选择居住地址'
+          }
+				}else{
+					this.nhdyesfgh ='点击选择户籍地址'
+				}
+  this.nhyesfx = true
+				if(response.data.czrkJzdzList.length !== 0 && response.data.czrkJzdzList !== null){
+					// this.selected[0] = response.data.province;
+          // for(var i = 0 ; i < response.data.czrkJzdzList.length ; i++){
+            // this.nameutaiL = i
+            response.data.czrkJzdzList.unshift(response.data.czrkJzdzList[0])
+            // this.form = response.data;
+            this.mnyesfjerty(0)
+          // }
+          response.data.czrkJzdzList.filter(route =>{
+            route.seleted = []
+            if(route.province !== ""){
+              route.plaed =  route.province
+              if(route.city !== ""){
+                route.plaed =  route.plaed + '/' + route.city
+                if(route.city !== ""){
+                  // route.plaed =  route.plaed + '/' + route.city
+                  if(route.region !== ""){
+                    route.plaed =  route.plaed + '/' + route.region
+                    if(route.town !== ""){
+                      route.plaed =  route.plaed + '/' + route.town
+                      if(route.village !== ""){
+                        route.plaed =  route.plaed + '/' + route.village
+                      }
+                    }
+                  }
+                }
+              }
+            }else{
+              route.plaed = '请选择居住地址'
+            }
+
+          })
+				}else{
+            console.log(this.form.czrkJzdzList,58)
+        }
+
+
+        if(response.data.gridName !==null){
+          this.ndhesdweaf = response.data.gridName
+        }else{
+          this.ndhesdweaf = '点击选择网格'
+        }
+
+				// this.onSelected(this.selected)
+				setTimeout( ()=>{
+					this.jue = true
+				},100)
+				// this.jue = true
+				console.log(this.selected,98767)
+				// if(this.form){
+				if (this.form.isVaccination !== null) {
+					if (this.form.isVaccination == '是') {
+						// 接种疫苗
+						(this.naneme = false), (this.shouwes = true);
+					} else {
+						(this.naneme = true), (this.shouwes = false);
+					}
+				} else {
+					this.naneme = false;
+					this.shouwes = false;
+				}
+
+				if (this.form.dictValue !== null && this.form.dictValue !== undefined) {
+					this.jicheru(this.form.dictValue);
+				}
+				if (this.form.villageTowns !== null) {
+					this.villageTownshy = this.form.villageTowns;
+					if (this.form.village !== null) {
+						this.villageTownshy = this.form.village;
+						if (this.form.villagerGroup !== null) {
+							this.villageTownshy = this.form.villagerGroup;
+						}
+					}
+				}else{
+					this.villageTownshy = '';
+				}
+        console.log(this.villageTownshy,3455)
+
+				// if (this.form.vaccineInfoUserList !== null) {
+				// 	if (this.form.vaccineInfoUserList.length == 0) {
+
+				// 	}else {
+				// 		this.form.isVaccination = '是'
+				// 		this.form.vaccineInfoUserList.filter(router =>{
+				// 			if(router.url == undefined){
+				// 				router.url = null
+				// 			}else if(router.url == []){
+				// 				router.url = null
+				// 			}
+				// 			router.disableg = true
+				// 		})
+				// 	}
+				// }
+				// villageTownshy
+				// }
+				// this.heuiq.push()
+				this.naiseurya = '';
+				this.hsuej = '';
+        console.log(this.form.czrkJzdzList,588)
+				this.jdourdjoaj = false;
+        this.senlsduea = true
+				this.title = '查看编辑人口信息';
+			});
+		},
+		chahe(data) {
+      // this.$set(this.form, 'province', null)
+      // this.$set(this.form, 'provinceId', null)
+      // this.$set(this.form, 'city', null)
+      // this.$set(this.form, 'cityId', null)
+      // this.$set(this.form, 'region', null)
+      // this.$set(this.form, 'regionId', null)
+      // this.$set(this.form, 'villageTowns', null)
+      // this.$set(this.form, 'villageTownsId', null)
+      // this.$set(this.form, 'villageId', null)
+      //  this.$set(this.form, 'village', null)
+			console.log(data);
+			// let labelValue = this.$refs['myCascader'].inputValue
+			// console.log(labelValue)
+			console.log(this.$refs['myCascader'])
+			// this.form.provinceId = data[1];
+			// this.form.cityId = data[2];
+			// this.form.regionId = data[3];
+   //    this.form.villageTownsId = data[3];
+   //    this.form.villageId = data[3];
+     let nhdye = []
+     nhdye = this.$refs['myCascader'].getCheckedNodes()[0].pathLabels
+     console.log(nhdye)
+      if(data.length == 1){
+        this.form.provinceId = data[ data.length - 1];
+        this.form.province = nhdye[ data.length - 1];
+        this.$set(this.form, 'city', null)
+        this.$set(this.form, 'cityId', null)
+        this.$set(this.form, 'region', null)
+        this.$set(this.form, 'regionId', null)
+        this.$set(this.form, 'villageTowns', null)
+        this.$set(this.form, 'villageTownsId', null)
+        this.$set(this.form, 'villageId', null)
+         this.$set(this.form, 'village', null)
+      }else if(data.length == 2){
+        this.form.cityId = data[ data.length - 1];
+        this.form.city = nhdye[ data.length - 1];
+        this.$set(this.form, 'region', null)
+        this.$set(this.form, 'regionId', null)
+        this.$set(this.form, 'villageTowns', null)
+        this.$set(this.form, 'villageTownsId', null)
+        this.$set(this.form, 'villageId', null)
+         this.$set(this.form, 'village', null)
+      }else if(data.length == 3){
+        this.form.regionId = data[ data.length - 1];
+        this.form.region = nhdye[ data.length - 1];
+        this.$set(this.form, 'villageTowns', null)
+        this.$set(this.form, 'villageTownsId', null)
+        this.$set(this.form, 'villageId', null)
+         this.$set(this.form, 'village', null)
+      }else if(data.length == 4){
+        this.form.villageTownsId = data[ data.length - 1];
+        this.form.villageTowns = nhdye[ data.length - 1];
+        this.$set(this.form, 'villageId', null)
+         this.$set(this.form, 'village', null)
+      }else if(data.length == 5){
+        this.form.villageId = data[ data.length - 1];
+        this.form.village = nhdye[ data.length - 1];
+      }else{
+        // this.nhdyesfgh = '点击选择户籍地址'
+      }
+      this.form.deptId = data[ data.length - 1];
+
+			// if (this.form.villageTowns !== undefined) {
+			// 	this.hsuej = this.form.villageTowns;
+			// 	if (this.form.village !== undefined) {
+			// 		this.hsuej = this.form.villageTowns + this.form.village;
+			// 		if (this.form.villagerGroup !== undefined) {
+			// 			this.hsuej = this.form.villageTowns + this.form.village + this.form.villagerGroup;
+			// 		}
+			// 	}
+			// }
+			this.form.domicile = '';
+      console.log(this.form)
+
+      // if(this.jdourdjoaj == true){
+      //   //新增
+      //   this.form.nowIn =  this.hsuej
+
+      // }else{
+      //    this.form.nowIn !=  this.hsuej
+      // }
+		},
+		chahetwo(data) {
+			console.log(data)
+      if(data.length == 1){
+        this.queryParams.provinceId = data[ data.length - 1];
+        this.queryParams.villageId = undefined
+        this.queryParams.cityId = undefined
+        this.queryParams.regionId = undefined
+        this.queryParams.villageTownsId = undefined
+      }else if(data.length == 2){
+        this.queryParams.provinceId = undefined
+        this.queryParams.regionId = undefined
+        this.queryParams.villageTownsId = undefined
+        this.queryParams.villageId = undefined
+        this.queryParams.cityId = data[ data.length - 1];
+      }else if(data.length == 3){
+        this.queryParams.cityId = undefined
+        this.queryParams.provinceId = undefined
+        this.queryParams.villageTownsId = undefined
+        this.queryParams.villageId = undefined
+        this.queryParams.regionId = data[ data.length - 1];
+      }else if(data.length == 4){
+        this.queryParams.provinceId = undefined
+        this.queryParams.cityId = undefined
+        this.queryParams.regionId = undefined
+        this.queryParams.villageId = undefined
+        this.queryParams.villageTownsId = data[ data.length - 1];
+      }else if(data.length == 5){
+        this.queryParams.provinceId = undefined
+        this.queryParams.cityId = undefined
+        this.queryParams.regionId = undefined
+        this.queryParams.villageTownsId = undefined
+        this.queryParams.villageId = data[ data.length - 1];
+      }
+		},
+    // 居住地址搜索条件
+    chahetwos(data) {
+    	console.log(data)
+      if(data.length == 1){
+        this.queryParams.provinceIdXjd = data[ data.length - 1];
+        this.queryParams.cityIdXjd = undefined
+        this.queryParams.regionIdXjd = undefined
+        this.queryParams.villageTownsIdXjd = undefined
+        this.queryParams.villageIdXjd = undefined
+      }else if(data.length == 2){
+        this.queryParams.provinceIdXjd = undefined
+        this.queryParams.cityIdXjd = data[ data.length - 1];
+        this.queryParams.regionIdXjd = undefined
+        this.queryParams.villageTownsIdXjd = undefined
+        this.queryParams.villageIdXjd = undefined
+      }else if(data.length == 3){
+        this.queryParams.provinceIdXjd = undefined
+        this.queryParams.cityIdXjd = undefined
+        this.queryParams.regionIdXjd = data[ data.length - 1];
+        this.queryParams.villageTownsIdXjd = undefined
+        this.queryParams.villageIdXjd = undefined
+      }else if(data.length == 4){
+        this.queryParams.provinceIdXjd = undefined
+        this.queryParams.cityIdXjd = undefined
+        this.queryParams.regionIdXjd = undefined
+        this.queryParams.villageTownsIdXjd = data[ data.length - 1];
+        this.queryParams.villageIdXjd = undefined
+      }else if(data.length == 5){
+        this.queryParams.provinceIdXjd = undefined
+        this.queryParams.cityIdXjd = undefined
+        this.queryParams.regionIdXjd = undefined
+        this.queryParams.villageTownsIdXjd = undefined
+        this.queryParams.villageIdXjd = data[ data.length - 1];
+      }
+    },
+    chahetwoswge(data){
+      console.log(data)
+      if(this.opens == false){
+        return  false
+      }
+      this.form.gridId = data[data.length - 1]
+      console.log(this.form.gridId)
+    },
+		/** 提交按钮 */
+		submitForm(data) {
+			this.$refs['form'].validate(valid => {
+				console.log(this.selected);
+				if (valid) {
+          let reg = /^([1-6][1-9]|50)\d{4}(18|19|20)\d{2}((0[1-9])|10|11|12)(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/;
+          let _IDre15 =  /^([1-6][1-9]|50)\d{4}\d{2}((0[1-9])|10|11|12)(([0-2][1-9])|10|20|30|31)\d{3}$/;
+          // 护照
+           // let ncjsle = /^1[45][0-9]{7}$|(^[P|p|S|s]\d{7}$)|(^[S|s|G|g|E|e]\d{8}$)|(^[Gg|Tt|Ss|Ll|Qq|Dd|Aa|Ff]\d{8}$)|(^[H|h|M|m]\d{8,10}$)/;
+           let ncjsle = /^[a-zA-Z0-9]{5,17}$/
+           let nhyeli = /^[a-zA-Z]{5,17}$/
+          // 港澳
+          let gnse = /^([A-Z]\d{6,10}(\(\w{1}\))?)$/;
+          // 台湾
+          // let tw = /^\d{8}|^[a-zA-Z0-9]{10}|^\d{18}$/
+          var tw =  /^[0-9]{8}$/;
+           var twe = /^[0-9]{10}$/;
+          // 校验身份证:
+          console.log(reg.test(this.form.idCard),23741)
+          if ( reg.test(this.form.idCard)|| _IDre15.test(this.form.idCard)) {
+          	// this.idea();
+          	// this.go(this.form.idCard.length);
+          	// callback()
+          } else {
+            if(ncjsle.test(this.form.idCard) || nhyeli.test(this.form.idCard)){
+               console.log(3)
+            }else{
+              if(gnse.test(this.form.idCard)  ){
+                  console.log(4)
+              }else{
+                if(tw.test(this.form.idCard) || twe.test(this.form.idCard)){
+                  console.log(5)
+                }else{
+                  this.msgInfo('证件格式不正确');
+                  return false
+                }
+
+                // return false
+              }
+
+            }
+          	// callback(new Error('身份证号码不正确'))
+          }
+          // let reg = /(^\d{15}$)|(^\d{18}$)|(^\d{17}(\d|X|x)$)/;
+          // if (reg.test(this.form.idCard)) {
+          // 	// this.idea();
+          // 	// this.go(this.form.idCard.length);
+          // 	// callback()
+          // } else {
+          // 	// callback(new Error('身份证号码不正确'))
+          // 	this.msgInfo('身份证号码不正确');
+          //   return false
+          // }
+          let redw = /^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$/;
+          console.log(this.form)
+          console.log(redw.test(this.form.phoneNum))
+          if (this.form.phoneNum == null) {
+          	// this.idea();
+          	// this.go(this.form.idCard.length);
+          	// callback()
+          } else{
+            if(this.form.phoneNum !== ''){
+              if(redw.test(this.form.phoneNum)){
+
+              }else{
+                this.msgInfo('手机号码不正确');
+                return false
+              }
+            }
+          	// callback(new Error('身份证号码不正确'))
+          }
+          // this.form.isConfirm = 'N'
+          this.form.isConfirm = 'Y'
+					if (this.form.id != null) {
+						// this.form.nowIn = this.naiseurya + this.form.nowIn;
+						// this.form.domicile = this.hsuej + this.form.domicile;
+            console.log(this.ndheysfs)
+            // this.nhyesaw = data
+            console.log(this.nhyesaw)
+            console.log(this.form.czrkJzdzList)
+            if(this.nhyesaw == 1){
+              this.form.czrkJzdzList = this.form.czrkJzdzList.splice(1)
+            }else if(this.nhyesaw == 2){
+              console.log(this.form.czrkJzdzList[0])
+              // this.form.czrkJzdzList.unshift(this.form.czrkJzdzList[0])
+            }
+            console.log(this.form.czrkJzdzList)
+            data = data +1
+            this.nhyesaw = this.nhyesaw + 1
+            this.senlsduea = false
+            console.log(this.form.czrkJzdzList)
+						updateInfo(this.form).then(response => {
+              console.log(response)
+              if(response.code == 200){
+                 this.msgSuccess('修改成功');
+                 this.nhyesaw = 1
+                 this.opens = false;
+                 this.nhyesfx = false
+                 if(this.queryParams.queryType == 'hj'){
+                   this.getList();
+                 }else if(this.queryParams.queryType == 'cz'){
+                   this.getListjuzhu();
+                 }
+                 // this.getList();
+                 // this.getTreeselectjuetj()
+                 return false
+              }else{
+                // this.senlsduea = true
+                // this.form.czrkJzdzList.unshift(this.form.czrkJzdzList[0])
+                this.nhyesaw = 1
+                this.$message.error(response.msg + '请重新填写');
+                // this.mnyesfjerty(0)
+            //     if(this.nhyesaw == 1){
+            //     this.form.czrkJzdzList = this.form.czrkJzdzList.splice(1)
+            // }
+                this.opens = false
+              }
+
+              // if(response.data.code == 200){
+              //   this.msgSuccess('修改成功');
+              //   this.ndheysfs = false
+              // }else{
+              //   this.ndheysfs = true
+              // }
+
+              // if(this.nhyesoder == 3){
+              //   this.jiezhong = true
+              //   this.handleDeletefamide(this.bhdes)
+              // }
+              // this.nhyesoder = 4
+						});
+					} else {
+						// this.form.nowIn = this.naiseurya + this.form.nowIn;
+						// this.form.domicile = this.hsuej + this.form.domicile;
+						// if (this.form.nowIn == 'undefined') {
+						// 	this.form.nowIn = null;
+						// }
+
+            if(this.form.province == null){
+              this.msgInfo('请填写户籍地址');
+              return false
+            }
+
+            if(this.form.province == ''){
+              this.msgInfo('请填写户籍地址');
+              return false
+            }
+
+
+            if(this.form.czrkJzdzList[0].province == ''){
+              this.msgInfo('请填写居住地址');
+              return false
+            }
+            if(this.form.czrkJzdzList[0].province == null){
+              this.msgInfo('请填写居住地址');
+              return false
+            }
+						console.log(this.form)
+            this.form.czrkJzdzList.filter(route =>{
+              route.seleted = []
+              route.optiodne = []
+            })
+            this.form.isConfirm = null
+						// return
+						addInfo(this.form).then(response => {
+              if(response.code == 200){
+                this.msgSuccess('新增成功');
+                this.opens = false;
+                this.nhyesfx = false
+                if(this.queryParams.queryType == 'hj'){
+                  this.getList();
+                }else if(this.queryParams.queryType == 'cz'){
+                  this.getListjuzhu();
+                }
+                // this.getList();
+                this.getTreeselectjuetj()
+                if(this.nhyesoder == 3){
+                  this.jiezhong = true
+                  this.handleDeletefamide(this.bhdes)
+                }
+                this.nhyesoder = 4
+              }else{
+                this.$message.error(response.msg + '请重新填写');
+                if(this.nhyesoder == 3){
+                  this.jiezhong = true
+                  this.handleDeletefamide(this.bhdes)
+                }
+                this.nhyesoder = 4
+                this.opens = false
+              }
+						});
+					}
+				}
+			});
+		},
+		/** 删除按钮操作 */
+		handleDelete(row) {
+			const ids = row.id || this.ids[0];
+      this.idfer = ids
+      this.imashow = true;
+      this.formgt = {}
+			// this.$confirm('是否确认删除疫苗信息编号为"' + ids + '"的数据项?', '警告', {
+			// 	confirmButtonText: '确定',
+			// 	cancelButtonText: '取消',
+			// 	type: 'warning'
+			// })
+			// 	.then(function() {
+			// 		return delInfo(ids);
+			// 	})
+			// 	.then(() => {
+			// 		this.getList();
+			// 		this.msgSuccess('删除成功');
+			// 	});
+		},
+    submitFormfr(){
+      // formgt
+      if(this.formgt.houseType == null || this.formgt.houseType == undefined){
+        this.$message.error('请选择变更原因');
+        return  false
+      }
+      let nhue = {}
+      nhue.status = this.formgt.houseType
+      nhue.id = this.idfer
+      delInfo(nhue).then(response => {
+      	this.msgSuccess('变更成功');
+      	this.imashow = false;
+        if(this.queryParams.queryType == 'hj'){
+          this.getList();
+        }else if(this.queryParams.queryType == 'cz'){
+          this.getListjuzhu();
+        }
+      	// this.getList();
+        this.getTreeselectjuetj()
+      });
+    },
+    // 点击新增
+    tijea(index) {
+    	console.log(index+ 1)
+    	this.nameutaiL = index+ 1
+       this.cascaderKey = index + 1
+    	this.form.czrkJzdzList.push({
+    		provinceId: '',
+    		province: '',
+    		deptId: '',
+    		cityId: '',
+    		city: '',
+    		regionId:'',
+    		region: '',
+    		townId: '',
+    		town: '',
+    		villageId: '',
+    		village: '',
+    		nowIn:'',
+    		disableg:false,
+        seleted:[],
+        optiodne:[],
+        plaed:'请选择居住地址',
+    	});
+      this.nhyeojd = true
+      this.mnyesfjer(0)
+      // this.form.czrkJzdzList[this.nameutaiL].optiodne
+      // console.log(this.cascaderKey,123465)
+      // // console.log()
+      // console.log( this.$refs.myCascaderf[this.$refs.myCascaderf.length - 1] ,258)
+      // // console.log(this.$refs['myCascaderf'][0].$refs.panel.clearCheckedNodes(),258)
+      // this.$refs['myCascaderf'][this.$refs.myCascaderf.length - 1].$refs.panel.clearCheckedNodes()
+      // console.log(this.$refs['myCascaderf'][0].$refs.panel.checkedValue,34567)
+      // this.mnyesfjer(0)
+    },
+    // 点击删除
+    naeyrfakjf(index, item) {
+      console.log(this.form.czrkJzdzList.length,347)
+      // if(this.form.czrkJzdzList.length == 2){
+      //   this.$message.error('居住地为必填不可全删除');
+      //   return  false
+      // }
+      // this.$message.error(response.msg + '请重新填写');
+    	var that = this
+    	this.$confirm('是否确认删除信息?', '警告', {
+    		confirmButtonText: '确定',
+    		cancelButtonText: '取消',
+    		type: 'warning'
+    	})
+    		.then(function() {
+    			return that.delseeug(index,item)
+    		})
+    		.then(() => {
+    			// this.getList();
+    			// this.msgSuccess('删除成功');
+    		});
+
+    },
+    delseeug(index,item){
+    	console.log(234)
+    	if (this.form.czrkJzdzList.length == 1) {
+    		// if (this.jdourdjoaj == true) {
+    		// 	// 新增
+    		// 	this.form.vaccineInfoUserList = [{
+    		// 		vaccineName: '',
+    		// 		vaccinationTime: '',
+    		// 		vaccinationPlace: '',
+    		// 		jici: '',
+    		// 		progress: '',
+    		// 		url:null,
+    		// 		disableg:false
+    		// 	}]
+    		// } else {
+    		// 	// 修改
+    		// 	let ide = this.form.vaccineInfoUserList[index].id;
+    		// 	console.log(this.form.vaccineInfoUserList[index]);
+    		// 	// ()
+    		// 	console.log(ide);
+    		// 	if (ide !== undefined) {
+    		// 		console.log(234);
+    		// 		delInfort(ide).then(response => {
+    		// 			this.msgSuccess('操作成功');
+    		// 		});
+    		// 	}
+    		// 	this.form.vaccineInfoUserList = [{
+    		// 		vaccineName: '',
+    		// 		vaccinationTime: '',
+    		// 		vaccinationPlace: '',
+    		// 		jici: '',
+    		// 		progress: '',
+    		// 		url:null,
+    		// 		disableg:false
+    		// 	}]
+    		// }
+
+        this.msgSuccess('只剩一条数据,无法删除');
+    		return false;
+    	}
+    	if (this.jdourdjoaj == true) {
+    		// 新增
+    		this.form.czrkJzdzList.splice(index, 1);
+    	} else {
+    		// 修改
+    		// ()
+    		this.form.czrkJzdzList.splice(index, 1);
+    	}
+      this.msgSuccess('删除成功');
+    },
+		/** 导出按钮操作 */
+		handleExport() {
+			var heuia = {
+                tableName: "vaccine_info",
+                empty: false,
+                condition: {}
+            }
+            var that=this;
+            heuia.condition = this.queryParams
+			const queryParams = this.queryParams
+      queryParams.pageNum = undefined
+      queryParams.pageSize= undefined
+      this.download('boman-web-core/core/czrk/export', {
+        ...queryParams
+      }, `数据表格.xlsx`)
+
+			// this.$confirm('是否确认导出?', "警告", {
+			//     confirmButtonText: "确定",
+			//     cancelButtonText: "取消",
+			//     type: "warning"
+			//   }).then(function() {
+   //         return that.dachu(queryParams)
+			//     // return exportConfig(queryParams);
+			//   }).then(response => {
+
+
+			//   })
+        // const jues= response.data
+        //     that.exportflag=false;
+        //     that.$alert('数据导入中,系统将自动处理数据,请稍后查看结果', "导出结果", { dangerouslyUseHTMLString: true });
+        //     that.msgSuccess('数据导入中,系统将自动处理数据,请稍后查看结果');
+        	// exportConfigtyr().then(responsr => {
+        	// 			console.log(responsr)
+        	// 			if(responsr.data == true){
+        	// 				// this.download(jues);
+        	// 				// window.location.href = jues
+        	// 				window.open(jues)
+        	// 			}else{
+        	// 				this.msgSuccess('数据暂未加载完成,请稍后点击导出进度按钮查看');
+        	// 			}
+        	// 		});
+
+
+
+
+		},
+    dachu(queryParams){
+      this.download('boman-web-core/core/czrk/export', {
+        ...queryParams
+      }, `数据表格.xlsx`)
+    },
+
+		// 点击查看
+		chakei(row,data) {
+			console.log(row,data);
+      let nhyes= {pageNum: 1,
+      pageSize: 10,}
+      this.nhyesoder = row.row
+      this.ndhuwosdjh.queryType = row.type
+      console.log(this.ndhuwosdjh)
+      this.jiezheList = []
+      if(row.row == 0){
+        // 新增
+       listInfotjxz(this.ndhuwosdjh).then(response => {
+				// this.msgSuccess('操作成功');
+					this.jiezheList = response.rows
+          this.totalfr = response.total
+				})
+
+      } else if(row.row == 1){
+        // 减少
+        listInfotjjs(this.ndhuwosdjh).then(response => {
+        				// this.msgSuccess('操作成功');
+        					this.jiezheList = response.rows
+                  this.totalfr = response.total
+
+      }	)
+          }// yiaoe({idCard:row.idCard}).then(response => {
+			// 	// this.msgSuccess('操作成功');
+			// 	if(response.code == 200){
+			// 		this.jiezheList = response.data
+			// 	}
+			// });
+
+			this.jiezhong = true;
+		},
+    // 查看家庭成员信息
+    handleDeletefamide(row){
+      this.bhdes= row
+      this.nhyesoder = 3
+      this.bgtes= []
+	  if(row.code == null){
+	  		  this.msgSuccess('无户编号信息,无法查看家庭成员信息');
+	  		  return  false
+	  }
+    if(row.code == ''){
+      this.msgSuccess('无户编号信息,无法查看家庭成员信息');
+      return  false
+    }
+	  this.jiezhong = true;
+    listInfotjjsfaml(row.code).then(response => {
+        				// this.msgSuccess('操作成功');
+        					this.jiezheList = response.data
+                  this.jiezheList.filter(rout =>{
+                    this.bgtes.push(rout.id)
+                  })
+           console.log(this.bgtes,456)
+                  this.totalfr = 0
+
+      }	)
+    },
+    /** 导入按钮操作 */
+    handleImport() {
+      this.upload.title = "数据导入";
+      this.upload.opens = true;
+    },
+    // 获取屏幕高度
+              showFilterForm () {
+                    this.filterActive = !this.filterActive
+                    this.changeTableMaxHeight()
+                  },
+
+                  changeTableMaxHeight () {
+                    let height = document.body.offsetHeight // 网页可视区域高度
+                    // if (this.filterActive) {
+                    //   this.tableMaxHeight = height - 320
+                    // } else {
+                      this.tableMaxHeight = height - 250
+                    // }
+                    console.log(height)
+                  },
+
+  // 判断是否选择户主
+  changese(){
+    console.log(this.form.houseType)
+    if(this.form.houseType == '是'){
+      if(this.form.code == null){
+         this.form.code = this.form.idCard
+      }
+      if(this.form.code == ''){
+        this.form.code = this.form.idCard
+      }
+
+      this.nhe = false
+    }else{
+      this.form.code != this.form.idCard
+      this.nhe = true
+    }
+  },
+  // 常住人口
+  chajnd(){
+   this.queryParams.queryType = 'cz'
+   this.queryParams.pageNum = 1
+   this.nhykis = false
+   this.nhyki = true
+   this.getListjuzhu();
+  },
+  // 户籍人口
+  chajnds(){
+    this.nhykis = true
+    this.nhyki = false
+    this.queryParams.pageNum = 1
+   this.queryParams.queryType = 'hj'
+   this.getList();
+  },
+  // 变更历史
+  chajndsls(row){
+   // listInfosls
+   // this.nhykis = true
+   // this.nhyki = false
+   // this.nhyki = true
+   // this.queryParams.pageNum = 1
+   // this.queryParams.queryType = 'ls'
+   const id = row.id || this.ids[0];
+   let nhduw = {}
+   nhduw.id = id
+   // biangneg
+   this.getListls(nhduw);
+  },
+  // 一键确认
+  xinxiheu(){
+    let nchesr = []
+    nchesr = this.bgtes
+    console.log(nchesr)
+    listInfotjjssbule(nchesr).then(response => {
+      if(response.code == 200){
+        this.msgSuccess('操作成功')
+        this.jiezhong = false
+        if(this.queryParams.queryType == 'hj'){
+          this.getList();
+        }else if(this.queryParams.queryType == 'cz'){
+          this.getListjuzhu();
+        }
+
+        // this.getTreeselectjuetj()
+      }
+      				// this.msgSuccess('操作成功');
+    })
+  },
+  xinxihe(){
+   this.$refs['form'].validate(valid => {
+   	console.log(this.selected);
+   	if (valid) {
+let reg = /^([1-6][1-9]|50)\d{4}(18|19|20)\d{2}((0[1-9])|10|11|12)(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/;
+      let _IDre15 =  /^([1-6][1-9]|50)\d{4}\d{2}((0[1-9])|10|11|12)(([0-2][1-9])|10|20|30|31)\d{3}$/;
+      // 护照
+       // let ncjsle = /^1[45][0-9]{7}$|(^[P|p|S|s]\d{7}$)|(^[S|s|G|g|E|e]\d{8}$)|(^[Gg|Tt|Ss|Ll|Qq|Dd|Aa|Ff]\d{8}$)|(^[H|h|M|m]\d{8,10}$)/;
+       let ncjsle = /^[a-zA-Z0-9]{5,17}$/
+       let nhyeli = /^[a-zA-Z]{5,17}$/
+      // 港澳
+      let gnse = /^([A-Z]\d{6,10}(\(\w{1}\))?)$/;
+      // 台湾
+      // let tw = /^\d{8}|^[a-zA-Z0-9]{10}|^\d{18}$/
+      var tw =  /^[0-9]{8}$/;
+       var twe = /^[0-9]{10}$/;
+      // 校验身份证:
+      console.log(reg.test(this.form.idCard),23741)
+			if ( reg.test(this.form.idCard)|| _IDre15.test(this.form.idCard)) {
+				// this.idea();
+				// this.go(this.form.idCard.length);
+				// callback()
+			} else {
+        if(ncjsle.test(this.form.idCard) || nhyeli.test(this.form.idCard)){
+           console.log(3)
+        }else{
+          if(gnse.test(this.form.idCard)  ){
+              console.log(4)
+          }else{
+            if(tw.test(this.form.idCard) || twe.test(this.form.idCard)){
+              console.log(5)
+            }else{
+              this.msgInfo('证件格式不正确');
+              return false
+            }
+
+            // return false
+          }
+
+        }
+				// callback(new Error('身份证号码不正确'))
+			}
+       let redw = /^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$/;
+       console.log(this.form)
+       console.log(redw.test(this.form.phoneNum))
+       if (this.form.phoneNum == null) {
+       	// this.idea();
+       	// this.go(this.form.idCard.length);
+       	// callback()
+       } else{
+         if(this.form.phoneNum !== ''){
+           if(redw.test(this.form.phoneNum)){
+
+           }else{
+             this.msgInfo('手机号码不正确');
+             return false
+           }
+         }
+        }
+   		if (this.form.id != null) {
+   			// this.form.nowIn = this.naiseurya + this.form.nowIn;
+   			// this.form.domicile = this.hsuej + this.form.domicile;
+          console.log(this.form.czrkJzdzList)
+          if(this.nhyesaw == 1){
+            this.form.czrkJzdzList = this.form.czrkJzdzList.splice(1)
+          }else if(this.nhyesaw == 2){
+            console.log(this.form.czrkJzdzList[0])
+            // this.form.czrkJzdzList.unshift(this.form.czrkJzdzList[0])
+          }
+          console.log(this.form.czrkJzdzList)
+          // data = data +1
+          this.nhyesaw = this.nhyesaw + 1
+          this.senlsduea = false
+          this.form.isConfirm = 'Y'
+          console.log(this.form.czrkJzdzList)
+          updateInfo(this.form).then(response => {
+            console.log(response)
+            if(response.code == 200){
+               this.msgSuccess('操作成功');
+               this.nhyesaw = 1
+               this.opens = false;
+               this.nhyesfx = false
+               this.getList();
+               // this.getTreeselectjuetj()
+               return false
+            }else{
+              // this.senlsduea = true
+              // this.form.czrkJzdzList.unshift(this.form.czrkJzdzList[0])
+              this.nhyesaw = 1
+              this.$message.error(response.msg + '请重新填写');
+              // this.mnyesfjerty(0)
+          //     if(this.nhyesaw == 1){
+          //     this.form.czrkJzdzList = this.form.czrkJzdzList.splice(1)
+          // }
+              this.opens = false
+            }
+
+            // if(response.data.code == 200){
+            //   this.msgSuccess('修改成功');
+            //   this.ndheysfs = false
+            // }else{
+            //   this.ndheysfs = true
+            // }
+
+            // if(this.nhyesoder == 3){
+            //   this.jiezhong = true
+            //   this.handleDeletefamide(this.bhdes)
+            // }
+            // this.nhyesoder = 4
+          });
+   		} else {
+   			// this.form.nowIn = this.naiseurya + this.form.nowIn;
+   			// this.form.domicile = this.hsuej + this.form.domicile;
+   			// if (this.form.nowIn == 'undefined') {
+   			// 	this.form.nowIn = null;
+   			// }
+
+      //    if(this.nhyeswdga.length == 0){
+      //      this.msgInfo('请填写户籍地址');
+      //      return false
+      //    }
+
+      //    if(this.form.czrkJzdzList[0].province == ''){
+      //      this.msgInfo('请填写居住地址');
+      //      return false
+      //    }
+      //    if(this.form.czrkJzdzList[0].province == null){
+      //      this.msgInfo('请填写居住地址');
+      //      return false
+      //    }
+
+   			// console.log(this.form)
+      //    this.form.czrkJzdzList.filter(route =>{
+      //      route.seleted = []
+      //      route.optiodne = []
+      //    })
+   			// return
+   			// addInfo(this.form).then(response => {
+   			// 	this.msgSuccess('新增成功');
+   			// 	this.opens = false;
+   			// 	this.getList();
+      //      if(this.nhyesoder == 3){
+      //        this.jiezhong = true
+      //        this.handleDeletefamide(this.bhdes)
+      //      }
+      //      this.nhyesoder = 4
+   			// });
+   		}
+   	}
+   });
+  },
+  // 信息同步
+  xinxtb(){
+   listInfotjjssquer(this.bhdes.code).then(response => {
+     if(response.code == 200){
+       this.msgSuccess(response.msg)
+       // this.jiezhong = false
+       listInfotjjsfaml(this.bhdes.code).then(response => {
+           				// this.msgSuccess('操作成功');
+                  this.bgtes = []
+           				this.jiezheList = response.data
+                  this.jiezheList.filter(rout =>{
+                       this.bgtes.push(rout.id)
+                     })
+              console.log(this.bgtes,456)
+                     this.totalfr = 0
+
+         })
+       // this.getTreeselectjuetj()
+     }
+     				// this.msgSuccess('操作成功');
+   })
+  },
+  // click(){
+    click(event) {
+      console.log(event)
+          this.$nextTick(() => {
+            let d = document.getElementsByClassName("cascader"+ this.idsg)
+            this.nameutaiL +'s'
+            console.log("cascader"+ '' +this.nameutaiL);
+            console.log(48);
+            console.log(d);
+            console.log(d[0]);
+            console.log( !d[0].onclick);
+            if( d[event] && !d[event].onclick ){
+              d[event].onclick = function(e) {
+                console.log(e);
+                if( e.target.className == "el-cascader-node__label" ){
+                  e.target.previousElementSibling.click();
+                }
+              }
+            }
+          });
+        },
+        clicks(event) {
+              this.$nextTick(() => {
+                let d = document.getElementsByClassName("cascader"+'' +this.id);
+                console.log("cascader"+ '' +this.nameutaiL);
+                console.log(48);
+                console.log(d);
+                console.log(d[0]);
+                console.log( !d[0].onclick);
+                if( d[0] && !d[0].onclick ){
+                  d[0].onclick = function(e) {
+                    console.log(e);
+                    if( e.target.className == "el-cascader-node__label" ){
+                      e.target.previousElementSibling.click();
+                    }
+                  }
+                }
+              });
+            }
+  // }
+	}
+};
+</script>
+<style lang="scss">
+  .placf {
+    .el-input {
+      .el-input__inner::placeholder{
+        color: #333;
+      }
+      /* 谷歌 */
+          .el-input__inner::-webkit-input-placeholder {
+             color: #333;
+          }
+           /* 火狐 */
+         .el-input__inner:-moz-placeholder {
+              color: #333;
+          }
+           /*ie*/
+         .el-input__inner:-ms-input-placeholder {
+              color: #333;
+          }
+    }
+
+  }
+	.jdueuh{
+		.el-form-item__label {
+			width: 0px !important;
+		}
+		.el-form-item__content {
+			margin-left: 10px !important;
+			// width: 70%;
+		}
+	}
+	.ijeuhdy{
+		.el-form-item__label {
+			width: 80px !important;
+		}
+		.el-form-item__content {
+			margin-left: 80px !important;
+			// width: 70%;
+		}
+	}
+	.znshu{
+		.el-form-item__label {
+			width: 80px !important;
+			// padding-left: 30px;
+		}
+		.el-form-item__content {
+			margin-left: 80px !important;
+
+			// width: 70%;
+		}
+		.el-input__inner{
+			padding-left: 0 !important;
+		}
+	}
+	.heioangd{
+		.el-form-item__label {
+			width: 70px !important;
+		}
+		.el-form-item__content {
+			margin-left: 70px !important;
+			// width: 70%;
+		}
+	}
+.hues {
+	.area-select {
+		margin-left: 0 !important;
+		margin-right: 10px;
+	}
+}
+.jehak {
+	.el-form-item {
+		width: 100%;
+	}
+	.el-form-item__content {
+		width: 60%;
+	}
+}
+.oiuyty {
+	.el-form-item__label {
+		width: 80px !important;
+	}
+	.el-form-item__content {
+		margin-left: 80px !important;
+		// width: 70%;
+	}
+	input {
+		padding-right: 0 !important;
+	}
+}
+.el-dialog__body {
+	padding-top: 0;
+	padding-bottom: 0;
+}
+.jhy {
+	// width: 100%;
+	// .el-form-item__content {
+	// 	width: 100%;
+	// 	margin-left: 0 !important;
+	// }
+	.el-form-item__content {
+		margin-left: 55px !important;
+		// width: 70%;
+	}
+	.el-form-item__label {
+		width: 55px !important;
+	}
+}
+.ehiqya {
+	.el-form-item__content {
+		display: flex;
+		.jdidur {
+			flex: 1;
+			margin-left: 10px;
+			// text-align: left;
+			display: flex;
+		}
+	}
+	.upload-demo {
+		display: flex;
+	}
+}
+.jdoier{
+	display: flex;
+	align-items: center;
+	.upload-demo {
+		display: flex;
+	}
+}
+.hueyde {
+	width: 18px;
+	height: 18px;
+	margin: 0 5px;
+	margin-right: 10px;
+}
+.hueydele {
+	width: 15px;
+	height: 18px;
+}
+.hyeoa {
+	height: 100%;
+	display: flex;
+	align-items: center;
+}
+.hjdoecdre {
+	// margin-top: 50%;
+	transform: translateY(50%);
+}
+.ojhgy {
+	.el-dialog {
+		padding-bottom: 40px;
+		padding-top: 10px;
+	}
+	.el-dialog__header {
+		padding-bottom: 20px;
+	}
+	.el-table .cell {
+		line-height: 50px;
+	}
+}
+.hueya{
+	margin-left: 0 !important;
+}
+.iejghiadh{
+	.el-input__inner{
+		padding-right: 0 !important;
+		padding-left: 5px !important;
+	}
+}
+.nhoesf{
+  span:hover{
+    cursor:pointer
+  }
+}
+</style>

+ 3183 - 0
src/views/system/personnel/index.vue

@@ -0,0 +1,3183 @@
+<template>
+	<div class="app-container">
+
+		<el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch" label-width="70px">
+			<el-row>
+        <el-col :span="24">
+        	<el-row>
+        		<el-col :span="12" class="jehak">
+        			<el-form-item label="居住地址" prop="villagerGroup">
+                <el-cascader
+                	placeholder="点击选择居住地址"
+                	:options="optionsList"
+                	filterable
+                	@change="chahetwos"
+                	:props="optionPropsssd"
+                	style="width: 141%;"
+                	@keyup.enter.native="handleQuery"
+                  ref = "cdd"
+                  v-model="listd"
+                  @active-item-change="handleItemChangefr"
+                ></el-cascader>
+                <!-- optionPropsssd  optionPropsss-->
+        			</el-form-item>
+        		</el-col>
+            <el-col :span="12" class="jehak">
+            	<el-form-item label="户籍地址" prop="villagerGroup">
+                <el-cascader
+                	placeholder="点击选择户籍地址"
+                	:options="optionsList"
+                	:filterable="true"
+                	separator="/"
+                	@change="chahetwo"
+                	:props="optionPropsss"
+                	style="width: 132%;"
+                	ref="myCascaderqty"
+                  v-model="lser"
+                  @active-item-change="handleItemChangefr"
+                  @keyup.enter.native="handleQuery"
+                ></el-cascader>
+            	</el-form-item>
+            </el-col>
+
+        	</el-row>
+        </el-col>
+				<el-col :span="24">
+					<el-row>
+						<el-col :span="7">
+							<el-form-item label="身份证号" prop="idCard">
+								<el-input v-model="queryParams.idCard" placeholder="请输入身份证号码" style="width:240px;" clearable @keyup.enter.native="handleQuery" />
+							</el-form-item>
+						</el-col>
+            <el-col :span="5">
+            	<el-form-item label="姓名" prop="userName">
+            		<el-input v-model="queryParams.userName" placeholder="请输入姓名" style="width:9.375rem;" clearable @keyup.enter.native="handleQuery" />
+            	</el-form-item>
+            </el-col>
+						<el-col :span="6">
+							<el-form-item label="联系号码" prop="phoneNum">
+								<el-input v-model="queryParams.phoneNum" placeholder="请输入联系号码" style="width:180px;"clearable @keyup.enter.native="handleQuery" />
+							</el-form-item>
+						</el-col>
+            <el-col :span="6">
+            	<el-form-item label="年龄阶段" >
+            		<el-select v-model="queryParams.params.age" placeholder="年龄阶段" style="width:160px;" clearable>
+            			<el-option v-for="dict in angesList" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
+            		</el-select>
+            	</el-form-item>
+            </el-col>
+					</el-row>
+				</el-col>
+				<el-col :span="24">
+					<el-row>
+            <el-col :span="7">
+            	<el-form-item label="是否户主" prop="houseType">
+            		<el-select v-model="queryParams.houseType" placeholder="是否户主" clearable style="width:240px;"  @keyup.enter.native="handleQuery"
+                   >
+            			<el-option v-for="dict in typeOptionshuuj" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
+            		</el-select>
+            	</el-form-item>
+            </el-col>
+            <el-col :span="4" >
+            	<el-form-item>
+            		<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
+            		<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
+            	</el-form-item>
+            </el-col>
+					</el-row>
+				</el-col>
+			</el-row>
+		</el-form>
+
+		<el-row :gutter="10" class="mb8">
+			<!-- <el-col :span="1.5"><el-button type="primary" plain icon="el-icon-plus" size="mini" @click="handleAdd(0)" >新增户主</el-button></el-col> -->
+			<el-col :span="1.5">
+				<!-- <el-button type="success" plain icon="el-icon-edit" size="mini" :disabled="single" @click="handleUpdate" >修改</el-button> -->
+			</el-col>
+			<el-col :span="1.5">
+				<el-button type="danger" plain icon="el-icon-edit" size="mini" :disabled="multiple" @click="handleDelete" >变更</el-button>
+			</el-col>
+      <el-col :span="1.5">
+      	<el-button type="success" plain icon="el-icon-download" size="mini"  @click="handleDeleteda" >下载模板</el-button>
+      </el-col>
+      <el-col :span="1.5" v-if="queryParams.status == 4">
+        <el-button
+          type="info"
+          plain
+          icon="el-icon-upload2"
+          size="mini"
+          @click="handleImport"
+          v-hasPermi="['system:czrk:importData']"
+        >导入</el-button>
+      </el-col>
+      <el-col :span="1.5" v-for="(ietm,index) in jbuttomfs" :key="index">
+                  	<el-button type="primary" :plain="nhslke == ietm.dictValue ? false :true" icon="el-icon-view" size="mini"  @click="chajnd(ietm.dictValue)" >{{'查看' + ietm.dictLabel + '人口信息'}}</el-button>
+            </el-col>
+      <!-- <el-col :span="1.5">
+      	<el-button type="primary" :plain="nhykis" icon="el-icon-view" size="mini"  @click="chajnd" >查看常住人口信息</el-button>
+      </el-col>
+      <el-col :span="1.5">
+      	<el-button type="primary" :plain="nhyki" icon="el-icon-view" size="mini"  @click="chajnds" >查看户籍人口信息</el-button>
+      </el-col> -->
+
+			<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
+		</el-row>
+
+		<el-table  v-if="nbdgywkajs == true"   v-loading="loading" :data="infoList" @selection-change="handleSelectionChange" stripe style="width: 100%" :height="tableMaxHeight">
+			<el-table-column type="selection" width="55" align="left" />
+			<el-table-column label="姓名" align="center" prop="userName"   width="110"/>
+			<el-table-column label="联系方式" align="center" prop="phoneNum" width="110" />
+			<el-table-column label="身份证号码" align="center" prop="idCard" width="180" />
+      <el-table-column label="历史状态" align="center" prop="status" width="90" :formatter="homeNameFormat"/>
+			<el-table-column  label="户籍地址" width="360" align="center"  >
+        <!-- prop="domicileSelect" -->
+        <!-- style="text-align: left;" -->
+
+        <template slot-scope="scope">
+                 <div v-if="scope.row.nowIn !==null"  v-html="scope.row.domicileSelect  + '<br>' + scope.row.nowIn">
+                 </div>
+                 <div v-else  v-html="scope.row.domicileSelect  + '<br>' + ''">
+                 </div>
+        </template>
+        </el-table-column>
+        <el-table-column label="是否户主" align="center" prop="houseType" width="90" />
+      <el-table-column label="变更人" align="center"  width="120" >
+         <template slot-scope="scope">
+                <el-tooltip class="item" effect="dark" :content="scope.row.changNikeUser" placement="top-start">
+                  <span>{{ scope.row.changUser == null? scope.row.changNikeUser :  scope.row.changUser}}</span>
+                </el-tooltip>
+         </template>
+      </el-table-column>
+      <el-table-column label="变更时间" align="center" prop="changUserTime" width="102" />
+			<el-table-column label="操作" align="left" class-name="small-padding fixed-width" fixed="right"  width="160">
+				<template slot-scope="scope">
+					<!-- <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" >查看修改</el-button> -->
+					<el-button size="mini" type="text" icon="el-icon-edit" @click="handleDelete(scope.row)" class="hueya" >变更</el-button>
+          <el-button size="mini" type="text" icon="el-icon-edit" @click="chajndsls(scope.row)" class="hueya" >变更历史</el-button>
+          <!-- <el-button v-if="scope.row.status == 4" size="mini" type="text" icon="el-icon-edit" @click="siw(scope.row)" class="hueya" >确认死亡</el-button> -->
+          <!-- <el-button v-if="scope.row.houseType == '是'" size="mini" type="text" icon="el-icon-edit" @click="handleDeletefamide(scope.row)" class="hueya" >查看家庭成员</el-button>
+          <el-button v-if="scope.row.houseType == '是'" size="mini" type="text" icon="el-icon-plus"   @click="handleAdd(scope.row)" class="hueya" >添加家庭成员</el-button> -->
+				</template>
+			</el-table-column>
+		</el-table>
+
+		<pagination v-if="nbdgywkajs == true" v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize" @pagination="getList" />
+
+<!-- v-loading="loading" -->
+		<!-- 添加或修改疫苗信息对话框 -->
+
+		<el-dialog   :title="title" :visible.sync="opens" width="1240px" append-to-body>
+			<el-form ref="form" :model="form" :rules="rules" label-width="100px">
+				<el-row>
+					<el-col :span="8">
+						<el-form-item label="身份证号" prop="idCard"><el-input v-model="form.idCard" placeholder="请输入身份证号码" @blur="idcde" /></el-form-item>
+					</el-col>
+					<el-col :span="8">
+						<el-form-item label="姓名" prop="userName"><el-input v-model="form.userName" placeholder="请输入姓名" /></el-form-item>
+					</el-col>
+					<el-col :span="8">
+						<el-form-item label="性别" prop="gender">
+
+							<!-- <el-input v-model="form.gender" placeholder="请输入性别" /> -->
+
+							<el-select v-model="form.gender" placeholder="性别" clearable style="width: 100%;">
+								<el-option v-for="dict in statusOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
+							</el-select>
+						</el-form-item>
+					</el-col>
+					<el-col :span="24">
+						<el-row>
+							<el-col :span="8">
+								<el-form-item label="联系号码" prop="phoneNum"><el-input v-model="form.phoneNum" placeholder="请输入联系号码" /></el-form-item>
+							</el-col>
+							<el-col :span="8">
+								<el-form-item label="人员分类" prop="keyIndustries">
+									<el-select v-model="form.keyIndustries" placeholder="人员分类" clearable style="width: 100%;">
+										<el-option v-for="dict in typeOptionsname" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
+									</el-select>
+								</el-form-item>
+							</el-col>
+							<el-col :span="8">
+								<el-form-item label="年龄" prop="age"><el-input type="number" v-model="form.age" placeholder="请输入年龄" /></el-form-item>
+							</el-col>
+						</el-row>
+					</el-col>
+
+          <el-col :span="24">
+          	<el-row>
+          		<el-col  :span="12" style="position: relative;">
+               <span style="position: absolute;top:5px; color: red;left:25px;">*</span>
+          			<el-form-item label="户籍地址" >
+
+                  <!-- prop="provinceId" -->
+          				<!-- <el-input v-model="form.villageTowns" type="textarea" placeholder="请输入内容" /> -->
+          				<!-- <treeselect v-model="form.parentId" :options="deptOptionstwo" :normalizer="normalizer" :flat="true" :maxHeight="150" @select="djieskle"  @close = "nhyu" :placeholder="nhdyesfgh" /> -->
+          				<el-cascader
+                  v-if="nhyesfx"
+          					:placeholder="nhdyesfgh"
+          					:options="optionsLists"
+          					separator="/"
+                    v-model="nhyeswdga.nhus"
+          					@change="chahe"
+          					:props="optionPropsss"
+          					style="width: 100%;"
+          					ref="myCascader"
+
+                    @active-item-change="handleItemChanges"
+                    :class="[nhdyesfgh == '点击选择户籍地址' ? '' : 'placf']"
+          				></el-cascader>
+                  <!-- @click.native="clicks" -->
+                  <!-- :popper-class="'cascader' + id" -->
+
+
+<!-- @active-item-change="handleItemChanges" -->
+
+
+                  <!-- <el-cascader
+                  	:placeholder="nhdyesfgh"
+                  	:options="optionsList"
+                  	:filterable="true"
+                  	separator="/"
+                  	@change="chahe(index)"
+                  	v-model="selected"
+                  	:props="optionPropsss"
+                  	style="width: 100%;"
+                  	ref="myCascader"
+                    @active-item-change="handleItemChange"
+                    :class="[nhdyesfgh == '点击选择居住地址' ? '' : 'placf']"
+                  ></el-cascader> -->
+          			</el-form-item>
+
+          		</el-col>
+
+          		<el-col :span="12">
+          			<el-form-item label="详细地址" prop="nowIn"><el-input v-model="form.nowIn" type="input" placeholder="请输入户籍详细地址" /></el-form-item>
+          		</el-col>
+          	</el-row>
+          </el-col>
+
+					<el-col :span="24" v-for="(item, index) in form.czrkJzdzList" :key="index"  v-show="senlsduea == false || index !== 0" >
+            <!-- v-show="senlsduea == false || index !== 0" -->
+            <el-col :span="12" >
+            	<el-form-item label="居住地址" prop="province">
+
+                <!-- item.optiodne -->
+                <el-cascader
+                	:placeholder="item.plaed"
+                	:options="item.optiodne"
+                	:filterable="true"
+                	separator="/"
+                	@change="onSelected(index)"
+                	:props="optionPropsss"
+                	style="width: 100%;"
+                	:ref="'myCascaderf' + '' + index "
+                  v-model="item.seleted"
+                  :key="cascaderKey"
+                  @expand-change="idjeus"
+                  :class="[item.plaed == '请选择居住地址' ? '' : 'placf']"
+                  @active-item-change="handleItemChange"
+                ></el-cascader>
+                <!-- @click.native="click(index)"
+                :popper-class="'cascader' + idsf" -->
+                <!-- @active-item-change="handleItemChange" -->
+
+                <!-- v-if="jdourdjoaj == false && index == 0" -->
+
+                <!-- <treeselect v-model="item.seleted" :options="item.optiodne" :show-count="true" placeholder="请选择归属部门" :load-options="loadOptions" :normalizer="normalizer" /> -->
+                </el-form-item>
+                 <!-- @active-item-change="handleItemChange" -->
+            	</el-form-item>
+              <!-- :key="cascaderKey"  seleted -->
+
+            </el-col>
+            <el-col :span="11">
+            	<el-form-item label="详细地址" prop="nowIn"><el-input v-model="item.nowIn" type="input" placeholder="请输入内容" /></el-form-item>
+            </el-col>
+            <el-col :span="1">
+              <div class="hyeoa" style="margin-top: 10px;">
+              	 <el-tooltip class="item" effect="dark" content="新增居住地址信息,请慎重操作" placement="top-start">
+              	      <img src="../../../assets/images/icon_tc_add.png" alt="" class="hueyde" @click="tijea(index)" />
+              	    </el-tooltip>
+              		<el-tooltip class="item" effect="dark" content="删除无法恢复,请慎重操作" placement="top-start">
+              		     <img src="../../../assets/images/delei.png" alt="" class="hueydele" @click="naeyrfakjf(index, item)" />
+              		   </el-tooltip>
+              </div>
+            </el-col>
+          </el-col>
+
+					<el-col :span="24">
+						<el-col :span="12">
+							<el-form-item label="是否户主" prop="houseType">
+								<el-select v-model="form.houseType" placeholder="是否户主" clearable style="width: 100%;"  @change="changese">
+									<el-option v-for="dict in typeOptionshuuj" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
+								</el-select>
+							</el-form-item>
+						</el-col>
+						<el-col :span="12">
+              <el-tooltip class="item" effect="dark" content="如果不知道户编号,请用户主身份证号(已默认是户主身份证号)" placement="top-start">
+							<el-form-item label="户编号" prop="code">
+							<el-input      v-model="form.code" placeholder="请输入户主编号"/>
+              <!-- :disabled="nhe" -->
+							</el-form-item>
+              </el-tooltip>
+						</el-col>
+					</el-col>
+
+
+          <el-col :span="24" v-if="shifouh == false">
+          	<el-col :span="12">
+          		<el-form-item label="户主名称" >
+          			<el-input      v-model="form.hzName" placeholder="请输入户主名称"/>
+          		</el-form-item>
+          	</el-col>
+          	<el-col :span="12">
+
+          		<el-form-item label="户主身份证" prop="hzIdCard">
+          		<el-input      v-model="form.hzIdCard" placeholder="请输入户主身份证"/>
+              <!-- :disabled="nhe" -->
+          		</el-form-item>
+
+          	</el-col>
+          </el-col>
+
+
+          <el-col :span="24">
+            <el-col :span="12">
+                <el-form-item label="与户主关系" prop="yhzgx">
+                	<el-select filterable v-model="form.yhzgx" placeholder="与户主关系" clearable style="width: 100%;">
+                		<el-option v-for="dict in typeOptionstyzandeh" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictLabel" />
+                	</el-select>
+                </el-form-item>
+            </el-col>
+            <el-col :span="12">
+            	<el-form-item label="网格" prop="houseTyper">
+            		<el-cascader
+            			:placeholder="ndhesdweaf"
+            			:options="optionsListwg"
+            			filterable
+            			@change="chahetwoswge"
+            			:props="optionPropsssdwg"
+            			style="width: 100%;"
+            		  ref = "cddfr"
+                  :key="nhduesw"
+            		  @active-item-change="handleItemChangefrwg"
+                  :class="[ndhesdweaf == '点击选择网格' ? '' : 'placf']"
+            		></el-cascader>
+            	</el-form-item>
+            </el-col>
+          </el-col>
+
+          <el-col :span="24">
+            <el-col :span="12">
+              <el-form-item label="备注" prop="remark">
+              	<el-input v-model="form.remark" type="input" placeholder="请输入备注" />
+              </el-form-item>
+            </el-col>
+            <el-col :span="12">
+                <el-form-item label="人员状态" prop="remark">
+                	<el-select v-model="formgt.houseType" placeholder="请选择人员状态" clearable style="width: 100%;">
+                		<el-option v-for="dict in typeOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
+                	</el-select>
+                </el-form-item>
+            </el-col>
+
+          </el-col>
+
+				</el-row>
+
+			</el-form>
+			<div slot="footer" class="dialog-footer">
+        <el-button type="success" @click="xinxihe" v-if="nhtrew">修改并确认</el-button>
+				<el-button type="primary" @click="submitForm">确 定</el-button>
+				<el-button @click="cancel">取 消</el-button>
+			</div>
+		</el-dialog>
+
+		<!-- 图片预览 -->
+		<el-dialog :close-on-click-modal="false" title="变更原因" :visible.sync="imashow" width="800px" append-to-body >
+      <el-form ref="formgt" :model="formgt" :rules="ruleshy" label-width="100px" style="padding-bottom: 30px;">
+      <el-form-item label="变更原因:" prop="houseType">
+      	<el-select v-model="formgt.houseType" placeholder="请选择变更原因" clearable style="width: 100%;">
+      		<el-option v-for="dict in typeOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
+      	</el-select>
+      </el-form-item>
+      </el-form>
+      <div slot="footer" class="dialog-footer">
+      	<el-button type="primary" @click="submitFormfr">确 定</el-button>
+      	<el-button @click="cancel">取 消</el-button>
+      </div>
+		</el-dialog>
+
+
+    <el-dialog :close-on-click-modal="false" title="查看信息" :visible.sync="jiezhong" width="97%" append-to-body class="ojhgy">
+      <el-row :gutter="10" class="mb8" v-if="nhyesoder == 3">
+      	<el-col :span="1.5"><el-button type="primary" plain icon="el-icon-plus" size="mini" @click="handleAdd(bhdes)" >新增</el-button></el-col>
+        <el-col :span="1.5"><el-button type="primary" plain  size="mini" @click="xinxtb" >与户主户籍同步</el-button></el-col>
+        <el-button type="success" size="mini" plain @click="xinxiheu" >一键确认信息无误</el-button>
+      </el-row>
+
+    	<el-table :data="jiezheList" stripe style="width: 100%">
+    			<el-table-column label="姓名" align="center" prop="userName" fixed  width="100"/>
+          <el-table-column label="与户主关系" align="center" prop="yhzgx" fixed  width="100"/>
+    			<el-table-column label="联系方式" align="center" prop="phoneNum" width="110" />
+    			<el-table-column label="身份证号码" align="center" prop="idCard" width="180" />
+    			<!-- <el-table-column label="户籍地址" align="center" prop="domicileSelect"  /> -->
+          <el-table-column  label="户籍地址"  align="center"  >
+            <template slot-scope="scope">
+                     <div v-if="scope.row.nowIn !==null"  v-html="scope.row.domicileSelect  + '<br>' + scope.row.nowIn">
+
+                     </div>
+                     <div v-else  v-html="scope.row.domicileSelect  + '<br>' + ''">
+                     </div>
+            </template>
+          </el-table-column>
+    		  <!-- nowInSelect -->
+    			<!-- <el-table-column label="居住地址" align="center" prop="nowInSelect" width="280"/> -->
+          <el-table-column  label="居住地址" align="center" width="280" >
+            <template slot-scope="scope">
+                     <div v-if="scope.row.domicile !==null"  v-html="scope.row.nowInSelect + '<br>' + scope.row.domicile"></div>
+                     <div v-else  v-html="scope.row.nowInSelect + '<br>' + scope.row.domicile">    </div>
+            </template>
+            </el-table-column>
+    		  <!-- <el-table-column label="是否户主" align="center" prop="houseType" width="90" /> -->
+          <el-table-column v-if="nhyesoder !== 3" label="操作人" align="center" prop="updateBy" width="100" />
+          <el-table-column v-if="nhyesoder !== 3" label="创建时间" align="center" prop="createTime"  width="150" />
+
+         <el-table-column label="操作" align="left" class-name="small-padding fixed-width" fixed="right"  width="90" v-if="nhyesoder == 3">
+         	<template slot-scope="scope">
+         		<el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" >查看修改</el-button>
+         	</template>
+         </el-table-column>
+    		</el-table>
+    	</el-table>
+      <pagination v-show="totalfr > 0" :total="totalfr" :page.sync="ndhuwosdjh.pageNum" :limit.sync="ndhuwosdjh.pageSize" @pagination="chakei"  />
+    </el-dialog>
+    <!-- 变更历史 -->
+    <el-dialog :close-on-click-modal="false" title="查看信息" :visible.sync="biangneg" width="97%" append-to-body class="ojhgy">
+    	<el-table :data="bgls" stripe style="width: 100%">
+    			<el-table-column label="姓名" align="center" prop="userName" fixed  width="100"/>
+          <!-- <el-table-column label="与户主关系" align="center" prop="yhzgx" fixed  width="100"/> -->
+    			<el-table-column label="联系方式" align="center" prop="phoneNum" width="110" />
+    			<el-table-column label="身份证号码" align="center" prop="idCard" width="180" />
+          <el-table-column label="历史状态" align="center" prop="status" width="90" :formatter="homeNameFormat"/>
+
+    			<!-- <el-table-column label="户籍地址" align="center" prop="domicileSelect"  /> -->
+
+          <el-table-column  label="户籍地址"  align="center"  >
+            <template slot-scope="scope">
+                     <div v-if="scope.row.nowIn !==null"  v-html="scope.row.domicileSelect  + '<br>' + scope.row.nowIn">
+
+                     </div>
+                     <div  v-html="scope.row.domicileSelect  + '<br>' + ''">
+                     </div>
+            </template>
+          </el-table-column>
+          <el-table-column label="变更人" align="center"  width="110" >
+             <template slot-scope="scope">
+                    <el-tooltip class="item" effect="dark" :content="scope.row.changNikeUser" placement="top-start">
+                      <span>{{ scope.row.changUser == null? scope.row.changNikeUser :  scope.row.changUser}}</span>
+                    </el-tooltip>
+             </template>
+          </el-table-column>
+          <el-table-column label="变更时间" align="center" prop="changUserTime" width="100" />
+         <!-- <el-table-column label="操作" align="left" class-name="small-padding fixed-width" fixed="right"  width="90" v-if="nhyesoder == 3">
+         	<template slot-scope="scope">
+         		<el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" >查看修改</el-button>
+         	</template>
+         </el-table-column> -->
+    		</el-table>
+    	</el-table>
+    </el-dialog>
+    <!-- 导入对话框 -->
+    <el-dialog :close-on-click-modal="false" :title="upload.title" :visible.sync="upload.open" width="400px" append-to-body>
+      <el-upload
+        ref="upload"
+        :limit="1"
+        accept=".xlsx, .xls"
+        :headers="upload.headers"
+        :action="upload.url + '?source=' + upload.source"
+        :disabled="upload.isUploading"
+        :on-progress="handleFileUploadProgress"
+        :on-success="handleFileSuccess"
+        :auto-upload="false"
+        drag
+      >
+        <i class="el-icon-upload"></i>
+        <div class="el-upload__text">
+          将文件拖到此处,或
+          <em>点击上传</em>
+        </div>
+        <div class="el-upload__tip" slot="tip">
+          <div class="nhkhv">
+            <span><i>*</i>数据来源:</span>
+            <el-select v-model="upload.source" placeholder="请选择数据来源"    style="width: 100%;">
+            	<el-option v-for="dict in typeOptionstimesgt" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
+            </el-select>
+          </div>
+          <el-link type="info" style="font-size:12px" @click="importTemplate">下载模板</el-link>
+        </div>
+        <div class="el-upload__tip" style="color:red" slot="tip">提示:仅允许导入“xls”或“xlsx”格式文件!</div>
+      </el-upload>
+      <div slot="footer" class="dialog-footer">
+        <el-button type="primary" @click="submitFileForm">确 定</el-button>
+        <el-button @click="nske">取 消</el-button>
+      </div>
+    </el-dialog>
+	</div>
+</template>
+
+<script>
+import { listInfo, listInfos, getInfo, delInfo, addInfo, updateInfo, exportInfo, listRoleer, idces, delInfort,yiaoe,exportConfig,exportConfigtyr,importLog,listInfotj,listRoleergth,listInfotjxz,listInfotjjs,listInfotjjsfaml,listRoleergthwg,listInfotjjssbule,listInfotjjssquer } from '@/api/system/personnel';
+import {listInfosls} from '@/api/system/residentss';
+// import { treeselect } from '@/api/system/dept';
+import { treeselect,treeselectdepts } from "@/api/system/dept";
+import Treeselect from '@riophae/vue-treeselect';
+import { getToken } from '@/utils/auth';
+import '@riophae/vue-treeselect/dist/vue-treeselect.css';
+import "@riophae/vue-treeselect/dist/vue-treeselect.css";
+export default {
+	name: 'Info',
+	components: { Treeselect },
+	data() {
+		return {
+			// 遮罩层
+			loading: true,
+			// 选中数组
+			ids: [],
+			// 非单个禁用
+			single: true,
+			// 非多个禁用
+			multiple: true,
+			// 显示搜索条件
+			showSearch: true,
+			// 总条数
+			total: 0,
+      id:'fg',
+      idsf:'gh',
+      ruleshy:{},
+			// 疫苗信息表格数据
+			infoList: [],
+			dialogImageUrl: '',
+      // 用户导入参数
+      upload: {
+        // 是否显示弹出层(用户导入)
+        open: false,
+        // 弹出层标题(用户导入)
+        title: "",
+        // 是否禁用上传
+        isUploading: false,
+        // 是否更新已经存在的用户数据
+        source: null,
+        // 设置上传的请求头部
+        headers: { Authorization: "Bearer " + getToken() },
+        // 上传的地址
+        url: process.env.VUE_APP_BASE_API + "/boman-web-core/core/czrk/importData"
+      },
+			// 弹出层标题
+			title: '',
+      totalfr:0,
+			// 是否显示弹出层
+			opens: false,
+			process: process.env.VUE_APP_BASE_API,
+			// 查询参数
+			queryParams: {
+				pageNum: 1,
+				pageSize: 10,
+				villageTowns: null,
+				village: null,
+				villagerGroup: null,
+				houseType: null,
+				province: null,
+				city: null,
+				userName: null,
+        queryType:'hj',
+				gender: null,
+				idCard: null,
+				phoneNum: null,
+				keyIndustries: null,
+				isVaccination: null,
+				vaccineName: null,
+				vaccinationTime: null,
+				vaccinationPlace: null,
+				contraindication: null,
+        status:'3',
+				params:{
+					age:''
+				}
+			},
+			config: [],
+      nhyeswdga:{nhus:[]},
+			comfietg:[],
+			configther:[],
+			configfor:[],
+      optionsListwg:[],
+      nhduesw:0,
+      nhslke:'3',
+			// 表单参数
+			form: {
+				nowIn: '',
+				age:'',
+				code:'',
+				czrkJzdzList: [
+					{
+						provinceId: '',
+						province: '',
+						deptId: '',
+						cityId: '',
+						city: '',
+						regionId:'',
+            region: '',
+            townId: '',
+            town: '',
+            villageId: '',
+            village: '',
+            nowIn:'',
+            seleted:[],
+            plaed:'请选择居住地址',
+            optiodne:[],
+						disableg:false
+					},
+          {
+          	provinceId: '',
+          	province: '',
+          	deptId: '',
+          	cityId: '',
+          	city: '',
+          	regionId:'',
+            region: '',
+            townId: '',
+            town: '',
+            villageId: '',
+            village: '',
+            nowIn:'',
+            seleted:[],
+            plaed:'请选择居住地址',
+            optiodne:[],
+          	disableg:false
+          }
+				]
+			},
+      nhykis:true,
+      nhyki:false,
+			// 表单校验
+			rules: {
+				idCard: [{ required: true, message: '身份证号码不能为空', trigger: 'blur' }],
+				userName: [{ required: true, message: '姓名不能为空', trigger: 'blur' }],
+				provinceId:[{ required: true, message: '户籍地址不能为空或不能只选潜山市', trigger: 'blur' }],
+        houseType:[{ required: true, message: '请选择户主', trigger: 'blur' }],
+        code:[{ required: true, message: '请输入户编号信息', trigger: 'blur' }],
+        yhzgx:[{ required: true, message: '请选择与户主关系', trigger: 'blur' }],
+      },
+      // yhzgx:[{ required: true, message: '请选择与户主关系', trigger: 'blur' }],
+			selected: [],
+			selectedtwo: [],
+			statusOptions: [
+				{
+					dictValue: '女',
+					dictLabel: '女'
+				},
+				{
+					dictValue: '男',
+					dictLabel: '男'
+				}
+			],
+			statusOptionstue: [
+				{
+					dictValue: '已完成',
+					dictLabel: '已完成'
+				},
+				{
+					dictValue: '未完成',
+					dictLabel: '未完成'
+				}
+			],
+			typeOptionshuuj: [
+				{
+					dictValue: '是',
+					dictLabel: '是'
+				},
+				{
+					dictValue: '否',
+					dictLabel: '否'
+				}
+			],
+      typeOptionshuujs: [
+      	{
+      		dictValue: 'Y',
+      		dictLabel: '是'
+      	},
+      	{
+      		dictValue: 'N',
+      		dictLabel: '否'
+      	}
+      ],
+			deptOptionstwo: [],
+			options: [],
+      optionss:[],
+      optionsList: [],
+			optionProps: {
+				value: 'areaId',
+				label: 'name',
+				checkStrictly: true,
+			},
+      optionPropsssd:{
+        value: 'areaId',
+        label: 'name',
+        checkStrictly: true,
+        lazy: true,
+        lazyLoad: this.lazyLoads,
+        leaf: "leaf"
+      },
+      optionPropsss: {
+      	value: 'areaId',
+      	label: 'name',
+      	checkStrictly: true,
+      },
+      // optionPropsss: {
+      // 	value: 'id',
+      // 	label: 'label',
+      // 	checkStrictly: true,
+      // },
+      optionPropsssdwg:{
+        value: 'id',
+        label: 'areaName',
+        checkStrictly: true,
+      },
+			optionPropstwo: {
+				value: 'id',
+				label: 'label',
+				children: 'children',
+				checkStrictly: true
+			},
+			heuiq: [],
+			typeOptions: [],
+			typeOptionsty: [
+				{
+					dictValue: '是',
+					dictLabel: '是'
+				},
+				{
+					dictValue: '否',
+					dictLabel: '否'
+				}
+			],
+			typeOptionstyzandeh:[],
+			angesList: [
+
+			],
+			typeOptionsname: [],
+			typeOptionstimes: [],
+			typeOptionsvaccinatio: [],
+			typeOptionscont: [],
+			typeOptionscontty: [],
+			typeOptionscontqit:[],
+			// 剂次
+			typeOptionstimesgt: [
+
+			],
+			imashow: false,
+			naneme: false,
+			shouwes: false,
+			shouwestwo:false,
+			villageTownshy: undefined,
+			naiseurya: '',
+			hsuej: '',
+			jdourdjoaj: false,
+      senlsduea:false,
+			jiezhong: false,
+			jiezheList: [],
+			fireLise:{config:[]},
+			nameutaiL:0,
+			jue:false,
+			nhue:true,
+      exportflag:true,
+      errorlog:false,
+      errorList:[],
+      idfer:0,
+      formgt:{},
+      list: [],
+      listd:[],
+      lser:[],
+      ndhesdweaf :'点击选择网格',
+      dneyhsd:{},
+      nhdyesfgh:'点击选择户籍地址',
+      nhe:false,
+      nhyesoder:0,
+      ndhuwosdjh:{
+        pageNum: 1,
+        pageSize: 10,
+      },
+      tableMaxHeight:300,
+      cascaderKey:0,
+      optionsLists:[],
+      nhyeojd:false,
+      ndhyuewkg:[],
+      nhdyesku:false,
+      nbdgywkajs:false,
+      shifouh:true,
+      bhdes:{},
+      nhtrew:false,
+      bgtes:[],
+      ndheysfs:false,
+      nhyesaw:1,
+      nhyesfx:false,
+      jbuttomfs:[],
+      biangneg:false,
+      bgls:[],
+      pighomeList:[]
+		};
+	},
+	created() {
+		this.getList();
+		// this.getTreeselectjue();
+    this.mnyesfjer(0)
+    // this.mnyesfjers(0)
+    // this.mnyesfjerop(0)
+    this.mnyesfjeropwg(0)
+    this.getTreeselectjuetj()
+    // this.getTreeselect()
+		// 变更原因
+		this.getDicts('person_type').then(response => {
+			this.typeOptions = response.data;
+      // this.jbuttomfs = response.data
+		});
+    this.getDicts('people_status').then(response => {
+    	// this.typeOptions = response.data;
+      this.jbuttomfs = response.data
+    });
+		// 疫苗名称
+		// this.getDicts('renyuanfenlei').then(response => {
+		// 	this.typeOptionsname = response.data;
+		// });
+
+    // 与户主关系
+    // this.getDicts('yuhuzhuguanxi').then(response => {
+    // 	this.typeOptionstyzandeh = response.data;
+    // });
+
+		// 年龄阶段
+		this.getDicts('age_interval').then(response => {
+			this.angesList = response.data;
+		});
+
+		// this.form.province = this.selected[0];
+		// this.form.city = this.selected[1];
+		// this.form.region = this.selected[2];
+		console.log(this.selected,456)
+    console.log(this.cascaderKey,347)
+		// this.queryParams.province = this.selectedtwo[0];
+		// this.queryParams.city = this.selectedtwo[1];
+		// this.queryParams.region = this.selectedtwo[2];
+		// this.naiseurya = this.form.province + this.form.city + this.form.region;
+    window.onresize = () => {
+                    this.changeTableMaxHeight()
+                  }
+                  this.changeTableMaxHeight()
+
+
+	},
+	mounted() {
+		console.log(136)
+    window.onresize = () => {
+                    this.changeTableMaxHeight()
+                  }
+                  this.changeTableMaxHeight()
+	},
+
+	methods: {
+    //  获取猪舍
+    homeNameFormat(row, column) {
+      return this.selectDictLabel(this.typeOptions,row.status);
+      },
+    // 筛选节点
+    filterNode(value, data) {
+      if (!value) return true;
+      return data.name.indexOf(value) !== -1;
+    },
+    nhyeosdsef(){
+     console.log(234)
+    },
+    /** 转换菜单数据结构 */
+    normalizer(node) {
+      if (node.children && !node.children.length) {
+        delete node.children;
+      }
+      return {
+        id: node.id,
+        label: node.label,
+        children: node.children
+      };
+    },
+    /** 初始化下拉框数据 **/
+        getRootModels() {
+           //初始化数据 只加载根节点
+           listRoleergth('0').then(response => {
+             // for(let index of response.data){
+             //   let modeInfo = {} ;
+             //   modeInfo.id = index.id
+             //   modeInfo.label = index.name;
+             //   modeInfo.children = null;
+             //   this.rootOptions.push(modeInfo);
+             // }
+             for(var i = 0 ; i < this.form.czrkJzdzList.length ; i++){
+               // this.nameutaiL = i
+               // this.mnyesfjerty(0)
+               this.form.czrkJzdzList[i].optiodne.push(response.data)
+             }
+           });
+         },
+    /** 加载子节点数据 **/
+         loadOptions({ action, parentNode, callback }){
+           console.log(action,125)
+           if (action === "LOAD_CHILDREN_OPTIONS") {
+           	  //加载点击节点的 子节点
+              var ndhes = {}
+              ndhes.pid = parentNode.areaId
+              listRoleergth(ndhes).then(response => {
+                let arr = [];
+                arr = response.data
+                // for(let index of response.data){
+                //   let chiledModeInfo = {} ;
+                //   chiledModeInfo.id = index.id
+                //   chiledModeInfo.label = index.name;
+                //   chiledModeInfo.children = null;
+                //   arr.push(chiledModeInfo);
+                // }
+                parentNode.children = arr;
+              });
+              callback();
+            }
+         },
+
+		onSelected(data,val) {
+			console.log(data, 125);
+      if(this.opens == false){
+        return  false
+      }
+      this.nameutaiL = data
+      // console.log(this.nameutaiL,76543)
+      // console.log(this.form.czrkJzdzList[data].seleted)
+      // console.log(this.$refs['myCascaderf' + '' + data],123)
+      // console.log(this.$refs['myCascaderf' + '' + data][0].$refs.panel.checkedValue,data)
+      // console.log(this.$refs['myCascaderf' + '' + data][0].getCheckedNodes()[0].pathLabels)
+
+      // if(data !== 0){
+      //   if(this.nhyeojd = true){
+      //     this.$refs['myCascaderf' + '' + this.nameutaiL][0].$refs.panel.clearCheckedNodes()
+      //   }
+      // }
+      // var nhedse = []
+      // nhedse = this.$refs['myCascaderf']
+      // if(nhedse.length > 1){
+      //   this.$refs['myCascaderf'] = this.$refs['myCascaderf'][0];
+      //   console.log(this.$refs['myCascaderf'],133)
+      //   // for(var i = 0 ; i < nhedse.length; i++){
+      //   //   if(i == 0){
+      //   //     this.$refs['myCascaderf'][0].$refs.panel.clearCheckedNodes()
+      //   //   }
+      //   // }
+      // }
+   //    this.$refs['myCascaderf'][0].$refs.panel.checkedValue =  this.form.czrkJzdzList[data].seleted
+   //    console.log(this.$refs['myCascaderf'][0].$refs.panel.checkedValue,data)
+   //    console.log(this.$refs['myCascaderf'][0].getCheckedNodes()[0].pathLabels)
+      this.nhyeojd = false
+      // this.nhdyesku = false
+			// province
+      let nhdye = []
+      nhdye = this.$refs['myCascaderf' + '' + data][0].getCheckedNodes()[0].pathLabels
+      let nhyhe = []
+      nhyhe = this.form.czrkJzdzList[data].seleted
+      if(nhdye.length == 1){
+        this.form.czrkJzdzList[data].provinceId = nhyhe[ nhyhe.length - 1];
+        this.form.czrkJzdzList[data].province = nhdye[ nhdye.length - 1];
+        this.form.czrkJzdzList[data].cityId = null
+        this.form.czrkJzdzList[data].city = null
+        this.form.czrkJzdzList[data].regionId = null
+        this.form.czrkJzdzList[data].region = null
+        this.form.czrkJzdzList[data].townId = null
+        this.form.czrkJzdzList[data].town = null
+        this.form.czrkJzdzList[data].villageId = null
+        this.form.czrkJzdzList[data].village = null
+      }else if(nhdye.length == 2){
+        this.form.czrkJzdzList[data].cityId = nhyhe[ nhyhe.length - 1];
+        this.form.czrkJzdzList[data].city = nhdye[ nhdye.length - 1];
+        this.form.czrkJzdzList[data].regionId = null
+        this.form.czrkJzdzList[data].region = null
+        this.form.czrkJzdzList[data].townId = null
+        this.form.czrkJzdzList[data].town = null
+        this.form.czrkJzdzList[data].villageId = null
+        this.form.czrkJzdzList[data].village = null
+      }else if(nhdye.length == 3){
+        this.form.czrkJzdzList[data].regionId = nhyhe[ nhyhe.length - 1];
+        this.form.czrkJzdzList[data].region = nhdye[ nhdye.length - 1];
+        this.form.czrkJzdzList[data].townId = null
+        this.form.czrkJzdzList[data].town = null
+        this.form.czrkJzdzList[data].villageId = null
+        this.form.czrkJzdzList[data].village = null
+      }else if(nhdye.length == 4){
+        this.form.czrkJzdzList[data].townId = nhyhe[ nhyhe.length - 1];
+        this.form.czrkJzdzList[data].town = nhdye[ nhdye.length - 1];
+        this.form.czrkJzdzList[data].villageId = null
+        this.form.czrkJzdzList[data].village = null
+      }else if(nhdye.length == 5){
+        this.form.czrkJzdzList[data].villageId = nhyhe[ nhyhe.length - 1];
+        this.form.czrkJzdzList[data].village = nhdye[ nhdye.length - 1];
+      }
+     this.form.czrkJzdzList[data].deptId =  nhyhe[ nhyhe.length - 1]
+      // id
+			// this.form.province = data[0];
+			// this.form.city = data[1];
+			// this.form.region = data[2];
+      // 名称
+			// this.naiseurya = this.form.province + this.form.city + this.form.region;
+			// if (this.jdourdjoaj == false) {
+			// 	// 修改
+			// 	this.form.nowIn = '';
+			// }
+			// this.form.nowIn = undefined
+			// this.form.villageTowns = data[3]
+      console.log(this.form)
+		},
+		dakousr() {
+			console.log(2345);
+		},
+    mnyesfjer(index,val){
+      this.loading = true;
+      let pids = {}
+      pids.pid = index
+      listRoleergth(pids).then(response => {
+        // this.cascaderKey = this.cascaderKey + 1
+        if(response.data.length == 0){
+          return
+        }
+        if(val !== undefined){
+          this.nameutaiL = val
+        }
+         console.log(this.nameutaiL,87)
+      	this.form.czrkJzdzList[this.nameutaiL].optiodne = this.handleData(response.data);
+        this.optionsLists = this.handleData(response.data);
+        this.optionsList = this.handleData(response.data);
+        // this.form.czrkJzdzList[0].optiodne
+      	this.loading = false;
+        console.log(this.cascaderKey,8765)
+      });
+    },
+    mnyesfjerty(index,val){
+      this.loading = true;
+      let pids = {}
+      pids.pid = index
+      listRoleergth(pids).then(response => {
+        // this.cascaderKey = this.cascaderKey + 1
+        if(response.data.length == 0){
+          return false
+        }
+        for(var i = 0 ; i < this.form.czrkJzdzList.length ; i++){
+          // this.nameutaiL = i
+          // this.mnyesfjerty(0)
+          console.log(i,7528)
+          this.form.czrkJzdzList[i].optiodne = this.handleData(response.data);
+        }
+
+        // this.form.czrkJzdzList[0].optiodne
+      	this.loading = false;
+        console.log(this.cascaderKey,8765)
+      });
+    },
+
+    mnyesfjerop(index){
+      this.loading = true;
+      let pids = {}
+      pids.pid = index
+      listRoleergth(pids).then(response => {
+      	this.optionsList = this.handleData(response.data);
+      	this.loading = false;
+      });
+    },
+
+    mnyesfjeropwg(index){
+      this.loading = true;
+      let pids = {}
+      pids.pid= index
+      listRoleergthwg(pids).then(response => {
+      	this.optionsListwg = this.handleDatawg(response.data);
+      	this.loading = false;
+      });
+    },
+    mnyesfjers(index){
+      this.loading = true;
+      let pids = {}
+      pids.pid = index
+      listRoleergth(pids).then(response => {
+        // this.cascaderKey = this.cascaderKey + 1
+        if(response.data.length == 0){
+          return
+        }
+      	this.optionsLists = this.handleData(response.data);
+      	this.loading = false;
+        console.log(this.cascaderKey,8765)
+      });
+    },
+   idjeus(data){
+    console.log(data,2347)
+    // this.cascaderKey = this.cascaderKey + 1
+   },
+     format() {
+          let res =  this.getfristChild(); // 拿一级数据
+          this.list.forEach((item) => {
+            // 遍历回显的id 二维数组
+            if (item.length > 1) {
+              item.forEach(async (sitem, index) => {
+                if (index == item.length - 1) {
+                  return; // 如果是一级节点就不用查找了
+                }
+                let arr =  this.getOther(sitem); // 不是一级,获取子级
+                this.findItem(res, arr, sitem); //  判断当前拿到的子级数据属于哪个一级数据下的子级,并且加到当前一级的children属性下
+              });
+            }
+          });
+           },
+     // 递归判断
+           findItem(res, arr, id) {
+            for (let i = 0; i < res.length; i++) {
+              if (res[i].value === id) {
+                res[i].children = arr; // 有chidlren 也要判断是不是这个children下的子级
+                return res;
+              }
+              if (res[i].children) {
+                this.findItem(res[i].children, arr, id);
+              }
+            }
+             return res;
+          },
+
+
+   // getAddress() {
+   // 	        this.mnyesfjer(0).then(res => {
+   // 	          this.optionsList =  this.handleData(res.data);
+   // 	        }).catch(err => {
+   // 	        })
+   // 	    },
+   	     handleItemChange(val) {
+           console.log(val,235)
+   	        let code = val ? val[val.length - 1] : '';  //需请求数据的上级地址的code值
+   	        let level = val.length + 1;  //需请求第几级地址
+            console.log(this.nameutaiL,2345)
+            console.log(this.form.czrkJzdzList,12365)
+            this.$set(this.form.czrkJzdzList[this.nameutaiL],'optiodne',this.handleData(this.form.czrkJzdzList[this.nameutaiL].optiodne, code, level))
+          },
+
+
+          handleItemChangefr(val) {
+            console.log(val,235)
+             let code = val ? val[val.length - 1] : '';  //需请求数据的上级地址的code值
+             let level = val.length + 1;  //需请求第几级地址
+             this.optionsList = this.handleData(this.optionsList, code, level);
+          	},
+
+          handleItemChanges(val) {
+            console.log(val,235)
+             let code = val ? val[val.length - 1] : '';  //需请求数据的上级地址的code值
+             let level = val.length + 1;  //需请求第几级地址
+             this.optionsLists = this.handleData(this.optionsLists, code, level);
+             this.cascaderKey = this.cascaderKey + 1
+          	},
+
+         	handleData(data, val, level) {
+            console.log(data,val,level,7536)
+   	        for (let i = 0; i < data.length; i++) {
+   	          if(!data[i].children) {
+   	            this.$set(data[i], 'children', []);
+   	          }
+   	          if(data[i].areaId === val){
+                let vfer = {}
+                vfer.pid = val
+   	            listRoleergth(vfer).then(res => {
+                  // this.cascaderKey = this.cascaderKey + 1
+   	              if(res.data.length) {
+                    console.log(data[i].children,4567)
+   	                // data[i].children = res.data;
+                    this.$set(data[i], 'children', res.data)
+                    console.log(data[i].children,45678)
+                     // this.nhdyesku = true
+   	                data[i].children.forEach(ele => {
+   	                  this.$set(ele, 'children', [])
+   	                });
+   	              }else {
+   	                data[i].children = undefined;
+   	              }
+   	            }).catch(err => {
+   	            });
+   	          }else {
+   	            if(data[i].children.length){
+   	              this.handleData(data[i].children,val,level)
+   	            }
+   	          }
+   	        }
+
+             return data;
+         },
+
+         handleItemChangefrwg(val) {
+           console.log(val,235)
+            let code = val ? val[val.length - 1] : '';  //需请求数据的上级地址的code值
+            let level = val.length + 1;  //需请求第几级地址
+            this.optionsListwg = this.handleDatawg(this.optionsListwg, code, level);
+         	},
+         handleDatawg(data, val, level) {
+            console.log(data,val,level,7536)
+            for (let i = 0; i < data.length; i++) {
+              if(!data[i].children) {
+                this.$set(data[i], 'children', []);
+              }
+              if(data[i].id === val){
+                let vfer = {}
+                vfer.pid = val
+                listRoleergthwg(vfer).then(res => {
+                  // this.cascaderKey = this.cascaderKey + 1
+                  if(res.data.length) {
+                    console.log(data[i].children,4567)
+                    // data[i].children = res.data;
+                    this.$set(data[i], 'children', res.data)
+                    console.log(data[i].children,45678)
+                     this.nhdyesku = true
+                    data[i].children.forEach(ele => {
+                      this.$set(ele, 'children', [])
+                    });
+                  }else {
+                    data[i].children = undefined;
+                  }
+                }).catch(err => {
+                });
+              }else {
+                if(data[i].children.length){
+                  this.handleDatawg(data[i].children,val,level)
+                }
+              }
+            }
+
+             return data;
+         },
+
+		onSelectedtwo(data) {
+			console.log(data);
+			// province
+			this.queryParams.province = data[0];
+			this.queryParams.city = data[1];
+			this.queryParams.region = data[2];
+			// this.queryParams.villageTowns = data[3]
+		},
+		/** 查询户籍疫苗信息列表 */
+		getList() {
+			this.loading = true;
+      this.nbdgywkajs = true
+			listInfo(this.queryParams).then(response => {
+				this.infoList = response.rows;
+        this.nbdgywkajs = true
+				this.total = response.total;
+				this.loading = false;
+			});
+		},
+    /** 查询居住疫苗信息列表 */
+    getListjuzhu() {
+    	this.loading = true;
+      this.nbdgywkajs = true
+    	listInfos(this.queryParams).then(response => {
+    		this.infoList = response.rows;
+        this.nbdgywkajs = true
+    		this.total = response.total;
+    		this.loading = false;
+    	});
+    },
+    // 变更历史
+    getListls(row) {
+    	this.loading = true;
+      // this.nbdgywkajs = true
+      this.biangneg = true
+    	listInfosls(row).then(response => {
+    		this.bgls = response.data;
+        // this.nbdgywkajs = true
+    		this.total = response.total;
+    		this.loading = false;
+    	});
+    },
+
+		getToken() {
+			return getToken();
+		},
+		getTreeselectjue() {
+			this.loading = true;
+      let pids = {}
+      pids.pid = 0
+			listRoleer().then(response => {
+				this.options = response.data;
+				this.loading = false;
+			});
+		},
+    // 统计数据
+    getTreeselectjuetj() {
+    	this.loading = true;
+      this.dneyhsd = []
+      listInfotj().then(response => {
+        if(response.data !== undefined){
+          this.dneyhsd =  response.data
+        }else{
+          this.dneyhsd.push({dqdw:null,zhen:null,cun:null,zu:null,czzrs:null,czxz:null,czjs:null,hjzrs:null,hjxz:null,dneyhsd:null})
+        }
+
+        this.loading = false;
+      });
+    },
+
+		// 点击组/角色
+		djieskle(node, instanceId) {
+			// this.personnel(node.id);
+			console.log(node, instanceId);
+		},
+    nhyu(value, instanceId){
+      console.log(value, instanceId);
+    },
+		// 身份证
+		idcde(event) {
+			console.log(event);
+			// 身份证号码为15位或者18位,15位时全为数字,18位前17位为数字,最后一位是校验位,可能为数字或字符X
+			let reg = /^([1-6][1-9]|50)\d{4}(18|19|20)\d{2}((0[1-9])|10|11|12)(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/;
+      let _IDre15 =  /^([1-6][1-9]|50)\d{4}\d{2}((0[1-9])|10|11|12)(([0-2][1-9])|10|20|30|31)\d{3}$/;
+      // 护照
+       // let ncjsle = /^1[45][0-9]{7}$|(^[P|p|S|s]\d{7}$)|(^[S|s|G|g|E|e]\d{8}$)|(^[Gg|Tt|Ss|Ll|Qq|Dd|Aa|Ff]\d{8}$)|(^[H|h|M|m]\d{8,10}$)/;
+       let ncjsle = /^[a-zA-Z0-9]{5,17}$/
+       let nhyeli = /^[a-zA-Z]{5,17}$/
+      // 港澳
+      let gnse = /^([A-Z]\d{6,10}(\(\w{1}\))?)$/;
+      // 台湾
+      // let tw = /^\d{8}|^[a-zA-Z0-9]{10}|^\d{18}$/
+      var tw =  /^[0-9]{8}$/;
+       var twe = /^[0-9]{10}$/;
+      // 校验身份证:
+      console.log(reg.test(this.form.idCard),23741)
+			if ( reg.test(this.form.idCard)|| _IDre15.test(this.form.idCard)) {
+				this.idea();
+				// this.go(this.form.idCard.length);
+				// callback()
+			} else {
+        if(ncjsle.test(this.form.idCard) || nhyeli.test(this.form.idCard)){
+           console.log(3)
+        }else{
+          if(gnse.test(this.form.idCard)  ){
+              console.log(4)
+          }else{
+            if(tw.test(this.form.idCard) || twe.test(this.form.idCard)){
+              console.log(5)
+            }else{
+              this.msgInfo('证件格式不正确');
+            }
+
+            // return false
+          }
+
+        }
+				// callback(new Error('身份证号码不正确'))
+			}
+		},
+		// 实现自动生成生日,性别,年龄
+		go(val) {
+			let iden = this.form.idCard;
+			let sex = null;
+			let birth = null;
+			let birthr = '';
+			let myDate = new Date();
+			let month = myDate.getMonth() + 1;
+			let day = myDate.getDate();
+			let age = 0;
+
+			if (val === 18) {
+				age = myDate.getFullYear() - iden.substring(6, 10) - 1;
+				sex = iden.substring(16, 17);
+				birth = iden.substring(6, 10) + '-' + iden.substring(10, 12) + '-' + iden.substring(12, 14);
+				if (iden.substring(10, 12) < month || (iden.substring(10, 12) == month && iden.substring(12, 14) <= day)) age++;
+			}
+			if (val === 15) {
+				age = myDate.getFullYear() - iden.substring(6, 8) - 1901;
+				sex = iden.substring(13, 14);
+				birth = '19' + iden.substring(6, 8) + '-' + iden.substring(8, 10) + '-' + iden.substring(10, 12);
+				if (iden.substring(8, 10) < month || (iden.substring(8, 10) == month && iden.substring(10, 12) <= day)) age++;
+			}
+
+			if (sex % 2 === 0) sex = '女';
+			else sex = '男';
+			this.form.gender = sex;
+			// this.baseInfo.age = age;
+			birthr = birth + '';
+			console.log(birthr);
+			// this.form.birthday = birthr;
+			// this.$set(this.form.birthday, birthr)
+			// this.baseInfo.birthplace = this.area[iden.substring(0,2)];
+		},
+
+
+		// 请求身份证数据
+		idea() {
+			idces({ idCard: this.form.idCard }).then(response => {
+				console.log(response);
+				this.form.gender = response.data.gender;
+				// this.form.birthday = response.data.birthday;
+				this.form.age = response.data.age
+        if(response.data.code !== null){
+          this.$set(this.form, 'code', response.data.code)
+          // this.form.code = response.data.code
+        }
+				if (response.data.userName == null) {
+					// this.form.userName = undefined;
+          this.$set(this.form, 'userName', null)
+				} else {
+     //      this.form
+					// this.form.userName = response.data.userName;
+          this.$set(this.form, 'userName', response.data.userName)
+				}
+        // if(response.data.code == null){
+        //   // this.form.code =  this.form.idCard
+        // }else{
+        //   this.form.code = response.data.code;
+        // }
+        // if(response.data.province == null){
+        //   // this.form.province = null;
+        //   // this.form.provinceId = null;
+        //   this.$set(this.form, 'province', null)
+        //   this.$set(this.form, 'provinceId', null)
+        // }else{
+        //   this.form.province = response.data.province;
+        //   this.form.provinceId = response.data.provinceId;
+        //   this.$set(this.form, 'province', response.data.province)
+        //   this.$set(this.form, 'provinceId', response.data.provinceId)
+        // }
+        // if(response.data.city == null){
+        //   // this.form.city = null;
+        //   // this.form.cityId = null;
+        //   this.$set(this.form, 'city', null)
+        //   this.$set(this.form, 'cityId', null)
+        // }else{
+        //   // this.form.city = response.data.city;
+        //   // this.form.cityId = response.data.cityId;
+        //   this.$set(this.form, 'city', response.data.city)
+        //   this.$set(this.form, 'cityId', response.data.cityId)
+        // }
+        // if(response.data.region == null){
+        //   // this.form.region = null;
+        //   // this.form.regionId = null;
+        //   this.$set(this.form, 'region', null)
+        //   this.$set(this.form, 'regionId', null)
+        // }else{
+        //   // this.form.region = response.data.region;
+        //   // this.form.regionId = response.data.regionId;
+        //   this.$set(this.form, 'region', response.data.region)
+        //   this.$set(this.form, 'regionId', response.data.regionId)
+        // }
+
+        // if(response.data.villageTowns == null){
+        //   // this.form.villageTowns = null;
+        //   // this.form.villageTownsId = null;
+        //   this.$set(this.form, 'villageTowns', null)
+        //   this.$set(this.form, 'villageTownsId', null)
+        // }else{
+        //   // this.form.villageTowns = response.data.villageTowns;
+        //   // this.form.villageTownsId = response.data.villageTownsId;
+        //   this.$set(this.form, 'villageTowns', response.data.villageTowns)
+        //   this.$set(this.form, 'villageTownsId', response.data.villageTownsId)
+        // }
+
+        // if(response.data.village == null){
+        //   // this.form.village = null;
+        //   // this.form.villageId = null;
+        //   this.$set(this.form, 'village', null)
+        //   this.$set(this.form, 'villageId', null)
+
+        // }else{
+        //   // this.form.village = response.data.village;
+        //   // this.form.villageId = response.data.villageId;
+        //   this.$set(this.form, 'village', response.data.village)
+        //   this.$set(this.form, 'villageId', response.data.villageId)
+        // }
+
+        // if(response.data.villagerGroupId == null){
+        //   // this.form.villagerGroup = null;
+        //   // this.form.villagerGroupId = null;
+        //   this.$set(this.form, 'villagerGroup', null)
+        //   this.$set(this.form, 'villagerGroupId', null)
+        // }else{
+        //   // this.form.villagerGroup = response.data.villagerGroup;
+        //   // this.form.villagerGroupId = response.data.villagerGroupId;
+        //   this.$set(this.form, 'villagerGroup', response.data.villagerGroup)
+        //   this.$set(this.form, 'villagerGroupId', response.data.villagerGroupId)
+        // }
+
+        // if(response.data.province !== null && response.data.province !== ""){
+        //   console.log(3456)
+        // 	this.nhdyesfgh = response.data.province;
+        //   if(response.data.city !== null && response.data.city !== ""){
+        //     this.nhdyesfgh = response.data.province + '/' + response.data.city;
+        //     if(response.data.region !== null && response.data.region !== ""){
+        //     	this.nhdyesfgh = response.data.province + '/' + response.data.city + '/' + response.data.region;
+        //       if(this.form.villageTowns !==null && this.form.villageTowns !=='' && this.form.villageTowns !== undefined){
+        //         this.nhdyesfgh = response.data.province + '/' + response.data.city + '/' + response.data.region + '/' + this.form.villageTowns;
+        //         if(this.form.village !==null && this.form.village !=='' && this.form.village !== undefined){
+        //           this.nhdyesfgh = response.data.province + '/' + response.data.city + '/' + response.data.region + '/' + this.form.villageTowns + '/' + this.form.village;
+        //         }
+        //       }
+        //     }else{
+        //     	// this.nhdyesfgh ='点击选择居住地址'
+        //     }
+        //   }else{
+        //   	// this.nhdyesfgh ='点击选择居住地址'
+        //   }
+        // }else{
+        //   console.log(34566)
+        // 	this.nhdyesfgh ='点击选择户籍地址'
+        //   this.nhyeswdga = []
+        // }
+
+        // if( response.data.czrkJzdzList !== null && response.data.czrkJzdzList.length !== 0  ){
+        // 	// this.selected[0] = response.data.province;
+        //   // for(var i = 0 ; i < response.data.czrkJzdzList.length ; i++){
+        //     // this.nameutaiL = i
+        //     this.mnyesfjerty(0)
+        //   // }
+        //   response.data.czrkJzdzList.filter(route =>{
+        //     route.seleted = []
+        //     if(route.province !== ""){
+        //       route.plaed =  route.province
+        //       if(route.city !== ""){
+        //         route.plaed =  route.plaed + '/' + route.city
+        //         if(route.city !== ""){
+        //           // route.plaed =  route.plaed + '/' + route.city
+        //           if(route.region !== ""){
+        //             route.plaed =  route.plaed + '/' + route.region
+        //             if(route.town !== ""){
+        //               route.plaed =  route.plaed + '/' + route.town
+        //               if(route.village !== ""){
+        //                 route.plaed =  route.plaed + '/' + route.village
+        //               }
+        //             }
+        //           }
+        //         }
+        //       }
+        //     }else{
+        //       route.plaed = '请选择居住地址'
+        //     }
+        //   })
+
+        //   this.form.czrkJzdzList   = response.data.czrkJzdzList
+        // }
+        this.form.phoneNum   = response.data.phoneNum
+        if(response.data.houseType !==null){
+          this.form.houseType   = response.data.houseType
+        }
+        this.form.nowIn   = response.data.nowIn
+        this.form.remark   = response.data.remark
+			});
+		},
+
+
+		// 取消按钮
+		cancel() {
+			this.opens = false;
+			this.jiezhong = false;
+			this.imashow = false;
+      this.errorlog=false;
+      this.nhyesfx = false
+      this.form.czrkJzdzList = this.form.czrkJzdzList.splice(1)
+			// this.reset();
+		},
+		gywoa() {
+			console.log(this.form.isVaccination);
+			if (this.form.isVaccination !== null) {
+				if (this.form.isVaccination == '是') {
+					// 接种疫苗
+					this.naneme = false,
+					this.shouwes = true;
+				}else {
+					this.naneme = true,
+					this.shouwes = false,
+					this.form.czrkJzdzList = [{
+						provinceId: '',
+						province: '',
+						deptId: '',
+						cityId: '',
+						city: '',
+						regionId:'',
+						region: '',
+						townId: '',
+						town: '',
+						villageId: '',
+						village: '',
+						nowIn:'',
+            seleted:[],
+            optiodne:[],
+            plaed:'请选择居住地址',
+					}
+				]
+				}
+			}
+		},
+		gywoatwo() {
+			console.log(this.queryParams.isVaccination);
+			if (this.queryParams.isVaccination !== null) {
+				if (this.queryParams.isVaccination == '是') {
+					// 接种疫苗
+					// (this.naneme = false), (this.shouwes = true);
+					this.shouwestwo = false
+				} else {
+					// (this.naneme = true), (this.shouwes = false);
+					this.shouwestwo = true
+				}
+			}
+		},
+
+		// 表单重置
+		reset() {
+			this.form = {
+				id: undefined,
+				age:'',
+				code:'',
+				houseType: '是',
+				domicile: undefined,
+				province: undefined,
+				city: undefined,
+				region: undefined,
+				userName: undefined,
+				gender: undefined,
+				idCard: undefined,
+				phoneNum: undefined,
+				keyIndustries: undefined,
+				isVaccination: undefined,
+				vaccinationPlace: undefined,
+				contraindication: undefined,
+				nowIn: '',
+        isConfirm:undefined,
+        gridId:undefined,
+				remark: undefined,
+        villageTowns:undefined,
+        village:undefined,
+        czrkJzdzList: [
+        	{
+        		provinceId: '',
+        		province: '',
+        		deptId: '',
+        		cityId: '',
+        		city: '',
+        		regionId:'',
+        		region: '',
+        		townId: '',
+        		town: '',
+        		villageId: '',
+        		village: '',
+        		nowIn:'',
+        		disableg:false,
+            optiodne:[],
+            seleted:[],
+            plaed:'请选择居住地址',
+        	}
+
+        ]
+			};
+			this.resetForm('form');
+		},
+		/** 搜索按钮操作 */
+		handleQuery() {
+			this.queryParams.pageNum = 1;
+			console.log(this.queryParams)
+			this.getList();
+		},
+		/** 重置按钮操作 */
+		resetQuery() {
+			this.nhue = false
+			this.selectedtwo = []
+			setTimeout( ()=>{
+				this.nhue = true
+			},100)
+			this.queryParams.province = undefined;
			this.queryParams.city = undefined;
			this.queryParams.region = undefined;
+      this.queryParams.deptId = undefined
+      this.queryParams.provinceIdXjd = undefined
+      this.queryParams.cityIdXjd = undefined
+      this.queryParams.regionIdXjd = undefined
+      this.queryParams.villageTownsIdXjd = undefined
+      this.queryParams.villageIdXjd = undefined;
+      this.queryParams.provinceId = undefined
+      this.queryParams.cityId = undefined
+      this.queryParams.regionId = undefined
+      this.queryParams.villageTownsId = undefined
+      this.queryParams.villageId = undefined
+      this.listd = []
+      this.lser = []
+			this.resetForm('queryForm');
+			this.handleQuery();
+		},
+		// 多选框选中数据
+		handleSelectionChange(selection) {
+			this.ids = selection.map(item => item.id);
+			this.single = selection.length !== 1;
+			this.multiple = !selection.length;
+		},
+		/** 新增按钮操作 */
+		handleAdd(data) {
+      this.form = {}
+      // this.nhyeswdga = []
+      if(this.typeOptionsname.length == 0){
+        this.getDicts('renyuanfenlei').then(response => {
+        	this.typeOptionsname = response.data;
+        });
+      }
+      if(this.typeOptionstyzandeh.length == 0){
+        // 与户主关系
+        this.getDicts('yuhuzhuguanxi').then(response => {
+        	this.typeOptionstyzandeh = response.data;
+        });
+      }
+      this.$set(this.nhyeswdga, 'nhus', [])
+      this.$nextTick(() =>{
+        this.$refs.myCascader.$refs.panel.clearCheckedNodes()
+        this.$refs.myCascader.$refs.panel.activePath = []
+      })
+      this.nhyesfx = true
+      console.log(this.nhyeswdga)			// this.reset();
+
+      // this.form.czrkJzdzList = [
+      //   	{
+      //   		provinceId: '',
+      //   		province: '',
+      //   		deptId: '',
+      //   		cityId: '',
+      //   		city: '',
+      //   		regionId:'',
+      //   		region: '',
+      //   		townId: '',
+      //   		town: '',
+      //   		villageId: '',
+      //   		village: '',
+      //   		nowIn:'',
+      //   		disableg:false,
+      //       optiodne:[],
+      //       seleted:[],
+      //       plaed:'请选择居住地址',
+      //   	}
+
+      //   ]
+        this.$set(this.form, 'czrkJzdzList', [
+        	{
+        		provinceId: '',
+        		province: '',
+        		deptId: '',
+        		cityId: '',
+        		city: '',
+        		regionId:'',
+        		region: '',
+        		townId: '',
+        		town: '',
+        		villageId: '',
+        		village: '',
+        		nowIn:'',
+        		disableg:false,
+            optiodne:[],
+            seleted:[],
+            plaed:'请选择居住地址',
+        	}
+
+        ])
+        this.form.id = null
+        // this.form.age=''
+        this.$set(this.form, 'age', null)
+        // this.form.code=''
+        this.$set(this.form, 'code', null)
+        this.$set(this.form, 'houseType', '否')
+        // this.form.houseType= '是'
+      //   this.form.domicile= null
+      this.$set(this.form, 'domicile', null)
+      //   this.form.province= null
+      this.$set(this.form, 'province', null)
+      //   this.form.city= null
+      this.$set(this.form, 'city', null)
+      //   this.form.region= null
+      this.$set(this.form, 'region', null)
+      //   this.form.userName= null
+      this.$set(this.form, 'userName', null)
+      //   this.form.gender= null
+      this.$set(this.form, 'gender', null)
+      //   this.form.idCard= null
+      this.$set(this.form, 'idCard', null)
+        this.$set(this.form, 'phoneNum', null)
+        // this.form.phoneNum= null
+      //   this.form.keyIndustries= null
+      this.$set(this.form, 'keyIndustries', null)
+      //   this.form.isVaccination= null
+      this.$set(this.form, 'isVaccination', null)
+      //   this.form.vaccinationPlace= null
+      this.$set(this.form, 'vaccinationPlace', null)
+      //   this.form.contraindication= null
+      this.$set(this.form, 'contraindication', null)
+        // this.form.nowIn= ''
+        this.$set(this.form, 'nowIn', '')
+      //   this.form.isConfirm=null
+      this.$set(this.form, 'isConfirm', null)
+      //   this.form.gridId=null
+      this.$set(this.form, 'gridId', null)
+      //   this.form.remark= null
+      this.$set(this.form, 'remark', null)
+      //   this.form.villageTowns=null
+      this.$set(this.form, 'villageTowns', null)
+      //   this.form.village=null
+      this.$set(this.form, 'village', null)
+      this.loading = false
+      console.log(data)
+			this.opens = true;
+			(this.naneme = false),
+			(this.shouwes = false);
+			// this.form.province = this.selected[0];
+			this.villageTownshy = '';
+			this.naiseurya = '';
+			this.hsuej = '';
+			// this.form.city = this.selected[1];
+			// this.form.region = this.selected[2];
+			this.title = '添加信息';
+			this.jdourdjoaj = true;
+      this.senlsduea = false
+      this.jiezhong = false
+			this.jue = true
+      this.nhdyesfgh = '点击选择户籍地址'
+       this.ndhesdweaf = '点击选择网格'
+       this.nameutaiL = 0
+       // this.nhduesw = this.nhduesw + 1
+       this.nhtrew = false
+      this.mnyesfjer(0)
+      // this.form.province = '安徽省';
+      // this.form.city = '安庆市';
+      // this.form.region = '潜山市';
+      // this.form.villageTowns = '梅城镇';
+      // this.form.village = '龙井社区';
+      // this.nhdyesfgh = this.form.province + '/' + this.form.city + '/' + this.form.region + '/' + this.form.villageTowns + '/' + this.form.village;
+      if(data !== 0){
+        this.form.code = data.code
+        // this.form.houseType = '否'
+        this.$set(this.form, 'houseType', '否')
+      }else{
+        // this.form.houseType = '是'
+        this.$set(this.form, 'houseType', '是')
+      }
+			console.log(this.form)
+		},
+
+		/** 修改按钮操作 */
+		handleUpdate(row) {
+      this.opens = true;
+      this.form = {}
+if(this.typeOptionsname.length == 0){
+    this.getDicts('renyuanfenlei').then(response => {
+    	this.typeOptionsname = response.data;
+    });
+  }
+  if(this.typeOptionstyzandeh.length == 0){
+    // 与户主关系
+    this.getDicts('yuhuzhuguanxi').then(response => {
+    	this.typeOptionstyzandeh = response.data;
+    });
+  }
+      this.$set(this.form, 'czrkJzdzList', [
+        	{
+        		provinceId: '',
+        		province: '',
+        		deptId: '',
+        		cityId: '',
+        		city: '',
+        		regionId:'',
+        		region: '',
+        		townId: '',
+        		town: '',
+        		villageId: '',
+        		village: '',
+        		nowIn:'',
+        		disableg:false,
+            optiodne:[],
+            seleted:[],
+            plaed:'请选择居住地址',
+        	}
+
+        ])
+        this.form.id = null
+        // this.form.age=''
+        this.$set(this.form, 'age', null)
+        // this.form.code=''
+        this.$set(this.form, 'code', null)
+        this.$set(this.form, 'houseType', '否')
+        // this.form.houseType= '是'
+      //   this.form.domicile= null
+      this.$set(this.form, 'domicile', null)
+      //   this.form.province= null
+      this.$set(this.form, 'province', null)
+      //   this.form.city= null
+      this.$set(this.form, 'city', null)
+      //   this.form.region= null
+      this.$set(this.form, 'region', null)
+      //   this.form.userName= null
+      this.$set(this.form, 'userName', null)
+      //   this.form.gender= null
+      this.$set(this.form, 'gender', null)
+      //   this.form.idCard= null
+      this.$set(this.form, 'idCard', null)
+        this.$set(this.form, 'phoneNum', null)
+        // this.form.phoneNum= null
+      //   this.form.keyIndustries= null
+      this.$set(this.form, 'keyIndustries', null)
+      //   this.form.isVaccination= null
+      this.$set(this.form, 'isVaccination', null)
+      //   this.form.vaccinationPlace= null
+      this.$set(this.form, 'vaccinationPlace', null)
+      //   this.form.contraindication= null
+      this.$set(this.form, 'contraindication', null)
+        // this.form.nowIn= ''
+        this.$set(this.form, 'nowIn', '')
+      //   this.form.isConfirm=null
+      this.$set(this.form, 'isConfirm', null)
+      //   this.form.gridId=null
+      this.$set(this.form, 'gridId', null)
+      //   this.form.remark= null
+      this.$set(this.form, 'remark', null)
+      //   this.form.villageTowns=null
+      this.$set(this.form, 'villageTowns', null)
+      //   this.form.village=null
+      this.$set(this.form, 'village', null)
+      console.log(this.form,34567)
+      this.nhyesaw = 1
+			// this.reset();
+			const id = row.id || this.ids;
+			getInfo(id).then(response => {
+        this.loading = false
+				this.form = response.data;
+				this.jue = false
+        this.jiezhong = false
+        this.nhdyesku = true
+        this.nhtrew = true
+        this.nhyeswdga.nhus = []
+        if(this.form.houseType == '是'){
+          //是户主
+          this.shifouh = true
+        }else{
+          this.shifouh = false
+        }
+				if(response.data.province !== null && response.data.province !== ""){
+					this.nhdyesfgh = response.data.province;
+          if(response.data.city !== null && response.data.city !== ""){
+            this.nhdyesfgh = response.data.province + '/' + response.data.city;
+            if(response.data.region !== null && response.data.region !== ""){
+            	this.nhdyesfgh = response.data.province + '/' + response.data.city + '/' + response.data.region;
+              if(this.form.villageTowns !==null && this.form.villageTowns !=='' && this.form.villageTowns !== undefined){
+                this.nhdyesfgh = response.data.province + '/' + response.data.city + '/' + response.data.region + '/' + this.form.villageTowns;
+                if(this.form.village !==null && this.form.village !=='' && this.form.village !== undefined){
+                  this.nhdyesfgh = response.data.province + '/' + response.data.city + '/' + response.data.region + '/' + this.form.villageTowns + '/' + this.form.village;
+                }
+              }
+            }else{
+            	// this.nhdyesfgh ='点击选择居住地址'
+            }
+          }else{
+          	// this.nhdyesfgh ='点击选择居住地址'
+          }
+				}else{
+					this.nhdyesfgh ='点击选择户籍地址'
+				}
+  this.nhyesfx = true
+				if(response.data.czrkJzdzList.length !== 0 && response.data.czrkJzdzList !== null){
+					// this.selected[0] = response.data.province;
+          // for(var i = 0 ; i < response.data.czrkJzdzList.length ; i++){
+            // this.nameutaiL = i
+            response.data.czrkJzdzList.unshift(response.data.czrkJzdzList[0])
+            // this.form = response.data;
+            this.mnyesfjerty(0)
+          // }
+          response.data.czrkJzdzList.filter(route =>{
+            route.seleted = []
+            if(route.province !== ""){
+              route.plaed =  route.province
+              if(route.city !== ""){
+                route.plaed =  route.plaed + '/' + route.city
+                if(route.city !== ""){
+                  // route.plaed =  route.plaed + '/' + route.city
+                  if(route.region !== ""){
+                    route.plaed =  route.plaed + '/' + route.region
+                    if(route.town !== ""){
+                      route.plaed =  route.plaed + '/' + route.town
+                      if(route.village !== ""){
+                        route.plaed =  route.plaed + '/' + route.village
+                      }
+                    }
+                  }
+                }
+              }
+            }else{
+              route.plaed = '请选择居住地址'
+            }
+
+          })
+				}else{
+            console.log(this.form.czrkJzdzList,58)
+        }
+
+
+        if(response.data.gridName !==null){
+          this.ndhesdweaf = response.data.gridName
+        }else{
+          this.ndhesdweaf = '点击选择网格'
+        }
+
+				// this.onSelected(this.selected)
+				setTimeout( ()=>{
+					this.jue = true
+				},100)
+				// this.jue = true
+				console.log(this.selected,98767)
+				// if(this.form){
+				if (this.form.isVaccination !== null) {
+					if (this.form.isVaccination == '是') {
+						// 接种疫苗
+						(this.naneme = false), (this.shouwes = true);
+					} else {
+						(this.naneme = true), (this.shouwes = false);
+					}
+				} else {
+					this.naneme = false;
+					this.shouwes = false;
+				}
+
+				if (this.form.dictValue !== null && this.form.dictValue !== undefined) {
+					this.jicheru(this.form.dictValue);
+				}
+				if (this.form.villageTowns !== null) {
+					this.villageTownshy = this.form.villageTowns;
+					if (this.form.village !== null) {
+						this.villageTownshy = this.form.village;
+						if (this.form.villagerGroup !== null) {
+							this.villageTownshy = this.form.villagerGroup;
+						}
+					}
+				}else{
+					this.villageTownshy = '';
+				}
+        console.log(this.villageTownshy,3455)
+
+				// if (this.form.vaccineInfoUserList !== null) {
+				// 	if (this.form.vaccineInfoUserList.length == 0) {
+
+				// 	}else {
+				// 		this.form.isVaccination = '是'
+				// 		this.form.vaccineInfoUserList.filter(router =>{
+				// 			if(router.url == undefined){
+				// 				router.url = null
+				// 			}else if(router.url == []){
+				// 				router.url = null
+				// 			}
+				// 			router.disableg = true
+				// 		})
+				// 	}
+				// }
+				// villageTownshy
+				// }
+				// this.heuiq.push()
+				this.naiseurya = '';
+				this.hsuej = '';
+        console.log(this.form.czrkJzdzList,588)
+				this.jdourdjoaj = false;
+        this.senlsduea = true
+				this.title = '查看编辑人口信息';
+			});
+		},
+		chahe(data) {
+
+     let nhdye = []
+     nhdye = this.$refs['myCascader'].getCheckedNodes()[0].pathLabels
+     console.log(nhdye)
+      if(data.length == 1){
+        this.form.provinceId = data[ data.length - 1];
+        this.form.province = nhdye[ data.length - 1];
+        this.$set(this.form, 'city', null)
+        this.$set(this.form, 'cityId', null)
+        this.$set(this.form, 'region', null)
+        this.$set(this.form, 'regionId', null)
+        this.$set(this.form, 'villageTowns', null)
+        this.$set(this.form, 'villageTownsId', null)
+        this.$set(this.form, 'villageId', null)
+         this.$set(this.form, 'village', null)
+      }else if(data.length == 2){
+        this.form.cityId = data[ data.length - 1];
+        this.form.city = nhdye[ data.length - 1];
+        this.$set(this.form, 'region', null)
+        this.$set(this.form, 'regionId', null)
+        this.$set(this.form, 'villageTowns', null)
+        this.$set(this.form, 'villageTownsId', null)
+        this.$set(this.form, 'villageId', null)
+         this.$set(this.form, 'village', null)
+      }else if(data.length == 3){
+        this.form.regionId = data[ data.length - 1];
+        this.form.region = nhdye[ data.length - 1];
+        this.$set(this.form, 'villageTowns', null)
+        this.$set(this.form, 'villageTownsId', null)
+        this.$set(this.form, 'villageId', null)
+         this.$set(this.form, 'village', null)
+      }else if(data.length == 4){
+        this.form.villageTownsId = data[ data.length - 1];
+        this.form.villageTowns = nhdye[ data.length - 1];
+        this.$set(this.form, 'villageId', null)
+         this.$set(this.form, 'village', null)
+      }else if(data.length == 5){
+        this.form.villageId = data[ data.length - 1];
+        this.form.village = nhdye[ data.length - 1];
+      }else{
+        // this.nhdyesfgh = '点击选择户籍地址'
+      }
+      this.form.deptId = data[ data.length - 1];
+
+			// if (this.form.villageTowns !== undefined) {
+			// 	this.hsuej = this.form.villageTowns;
+			// 	if (this.form.village !== undefined) {
+			// 		this.hsuej = this.form.villageTowns + this.form.village;
+			// 		if (this.form.villagerGroup !== undefined) {
+			// 			this.hsuej = this.form.villageTowns + this.form.village + this.form.villagerGroup;
+			// 		}
+			// 	}
+			// }
+			this.form.domicile = '';
+      console.log(this.form)
+
+      // if(this.jdourdjoaj == true){
+      //   //新增
+      //   this.form.nowIn =  this.hsuej
+
+      // }else{
+      //    this.form.nowIn !=  this.hsuej
+      // }
+		},
+		chahetwo(data) {
+			console.log(data)
+      if(data.length == 1){
+        this.queryParams.provinceId = data[ data.length - 1];
+        this.queryParams.villageId = undefined
+        this.queryParams.cityId = undefined
+        this.queryParams.regionId = undefined
+        this.queryParams.villageTownsId = undefined
+      }else if(data.length == 2){
+        this.queryParams.provinceId = undefined
+        this.queryParams.regionId = undefined
+        this.queryParams.villageTownsId = undefined
+        this.queryParams.villageId = undefined
+        this.queryParams.cityId = data[ data.length - 1];
+      }else if(data.length == 3){
+        this.queryParams.cityId = undefined
+        this.queryParams.provinceId = undefined
+        this.queryParams.villageTownsId = undefined
+        this.queryParams.villageId = undefined
+        this.queryParams.regionId = data[ data.length - 1];
+      }else if(data.length == 4){
+        this.queryParams.provinceId = undefined
+        this.queryParams.cityId = undefined
+        this.queryParams.regionId = undefined
+        this.queryParams.villageId = undefined
+        this.queryParams.villageTownsId = data[ data.length - 1];
+      }else if(data.length == 5){
+        this.queryParams.provinceId = undefined
+        this.queryParams.cityId = undefined
+        this.queryParams.regionId = undefined
+        this.queryParams.villageTownsId = undefined
+        this.queryParams.villageId = data[ data.length - 1];
+      }
+		},
+    // 居住地址搜索条件
+    chahetwos(data) {
+    	console.log(data)
+      if(data.length == 1){
+        this.queryParams.provinceIdXjd = data[ data.length - 1];
+        this.queryParams.cityIdXjd = undefined
+        this.queryParams.regionIdXjd = undefined
+        this.queryParams.villageTownsIdXjd = undefined
+        this.queryParams.villageIdXjd = undefined
+      }else if(data.length == 2){
+        this.queryParams.provinceIdXjd = undefined
+        this.queryParams.cityIdXjd = data[ data.length - 1];
+        this.queryParams.regionIdXjd = undefined
+        this.queryParams.villageTownsIdXjd = undefined
+        this.queryParams.villageIdXjd = undefined
+      }else if(data.length == 3){
+        this.queryParams.provinceIdXjd = undefined
+        this.queryParams.cityIdXjd = undefined
+        this.queryParams.regionIdXjd = data[ data.length - 1];
+        this.queryParams.villageTownsIdXjd = undefined
+        this.queryParams.villageIdXjd = undefined
+      }else if(data.length == 4){
+        this.queryParams.provinceIdXjd = undefined
+        this.queryParams.cityIdXjd = undefined
+        this.queryParams.regionIdXjd = undefined
+        this.queryParams.villageTownsIdXjd = data[ data.length - 1];
+        this.queryParams.villageIdXjd = undefined
+      }else if(data.length == 5){
+        this.queryParams.provinceIdXjd = undefined
+        this.queryParams.cityIdXjd = undefined
+        this.queryParams.regionIdXjd = undefined
+        this.queryParams.villageTownsIdXjd = undefined
+        this.queryParams.villageIdXjd = data[ data.length - 1];
+      }
+    },
+    chahetwoswge(data){
+      console.log(data)
+      if(this.opens == false){
+        return  false
+      }
+      this.form.gridId = data[data.length - 1]
+      console.log(this.form.gridId)
+    },
+		/** 提交按钮 */
+		submitForm(data) {
+			this.$refs['form'].validate(valid => {
+				console.log(this.selected);
+				if (valid) {
+          let reg = /^([1-6][1-9]|50)\d{4}(18|19|20)\d{2}((0[1-9])|10|11|12)(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/;
+          let _IDre15 =  /^([1-6][1-9]|50)\d{4}\d{2}((0[1-9])|10|11|12)(([0-2][1-9])|10|20|30|31)\d{3}$/;
+          // 护照
+           // let ncjsle = /^1[45][0-9]{7}$|(^[P|p|S|s]\d{7}$)|(^[S|s|G|g|E|e]\d{8}$)|(^[Gg|Tt|Ss|Ll|Qq|Dd|Aa|Ff]\d{8}$)|(^[H|h|M|m]\d{8,10}$)/;
+           let ncjsle = /^[a-zA-Z0-9]{5,17}$/
+           let nhyeli = /^[a-zA-Z]{5,17}$/
+          // 港澳
+          let gnse = /^([A-Z]\d{6,10}(\(\w{1}\))?)$/;
+          // 台湾
+          // let tw = /^\d{8}|^[a-zA-Z0-9]{10}|^\d{18}$/
+          var tw =  /^[0-9]{8}$/;
+           var twe = /^[0-9]{10}$/;
+          // 校验身份证:
+          console.log(reg.test(this.form.idCard),23741)
+          if ( reg.test(this.form.idCard)|| _IDre15.test(this.form.idCard)) {
+          	// this.idea();
+          	// this.go(this.form.idCard.length);
+          	// callback()
+          } else {
+            if(ncjsle.test(this.form.idCard) || nhyeli.test(this.form.idCard)){
+               console.log(3)
+            }else{
+              if(gnse.test(this.form.idCard)  ){
+                  console.log(4)
+              }else{
+                if(tw.test(this.form.idCard) || twe.test(this.form.idCard)){
+                  console.log(5)
+                }else{
+                  this.msgInfo('证件格式不正确');
+                  return false
+                }
+
+                // return false
+              }
+
+            }
+          	// callback(new Error('身份证号码不正确'))
+          }
+          // let reg = /(^\d{15}$)|(^\d{18}$)|(^\d{17}(\d|X|x)$)/;
+          // if (reg.test(this.form.idCard)) {
+          // 	// this.idea();
+          // 	// this.go(this.form.idCard.length);
+          // 	// callback()
+          // } else {
+          // 	// callback(new Error('身份证号码不正确'))
+          // 	this.msgInfo('身份证号码不正确');
+          //   return false
+          // }
+          let redw = /^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$/;
+          console.log(this.form)
+          console.log(redw.test(this.form.phoneNum))
+          if (this.form.phoneNum == null) {
+          	// this.idea();
+          	// this.go(this.form.idCard.length);
+          	// callback()
+          } else{
+            if(this.form.phoneNum !== ''){
+              if(redw.test(this.form.phoneNum)){
+
+              }else{
+                this.msgInfo('手机号码不正确');
+                return false
+              }
+            }
+          	// callback(new Error('身份证号码不正确'))
+          }
+          this.form.isConfirm = 'N'
+					if (this.form.id != null) {
+						// this.form.nowIn = this.naiseurya + this.form.nowIn;
+						// this.form.domicile = this.hsuej + this.form.domicile;
+            console.log(this.ndheysfs)
+            // this.nhyesaw = data
+            console.log(this.nhyesaw)
+            console.log(this.form.czrkJzdzList)
+            if(this.nhyesaw == 1){
+              this.form.czrkJzdzList = this.form.czrkJzdzList.splice(1)
+            }else if(this.nhyesaw == 2){
+              console.log(this.form.czrkJzdzList[0])
+              // this.form.czrkJzdzList.unshift(this.form.czrkJzdzList[0])
+            }
+            console.log(this.form.czrkJzdzList)
+            data = data +1
+            this.nhyesaw = this.nhyesaw + 1
+            this.senlsduea = false
+            console.log(this.form.czrkJzdzList)
+						updateInfo(this.form).then(response => {
+              console.log(response)
+              if(response.code == 200){
+                 this.msgSuccess('修改成功');
+                 this.nhyesaw = 1
+                 this.opens = false;
+                 this.nhyesfx = false
+                 this.getList();
+                 this.getTreeselectjuetj()
+                 return false
+              }else{
+                // this.senlsduea = true
+                // this.form.czrkJzdzList.unshift(this.form.czrkJzdzList[0])
+                this.nhyesaw = 1
+                this.$message.error(response.msg + '请重新填写');
+                // this.mnyesfjerty(0)
+            //     if(this.nhyesaw == 1){
+            //     this.form.czrkJzdzList = this.form.czrkJzdzList.splice(1)
+            // }
+                this.opens = false
+              }
+
+              // if(response.data.code == 200){
+              //   this.msgSuccess('修改成功');
+              //   this.ndheysfs = false
+              // }else{
+              //   this.ndheysfs = true
+              // }
+
+              // if(this.nhyesoder == 3){
+              //   this.jiezhong = true
+              //   this.handleDeletefamide(this.bhdes)
+              // }
+              // this.nhyesoder = 4
+						});
+					} else {
+						// this.form.nowIn = this.naiseurya + this.form.nowIn;
+						// this.form.domicile = this.hsuej + this.form.domicile;
+						// if (this.form.nowIn == 'undefined') {
+						// 	this.form.nowIn = null;
+						// }
+
+            if(this.form.province == null){
+              this.msgInfo('请填写户籍地址');
+              return false
+            }
+
+            if(this.form.province == ''){
+              this.msgInfo('请填写户籍地址');
+              return false
+            }
+
+
+            if(this.form.czrkJzdzList[0].province == ''){
+              this.msgInfo('请填写居住地址');
+              return false
+            }
+            if(this.form.czrkJzdzList[0].province == null){
+              this.msgInfo('请填写居住地址');
+              return false
+            }
+						console.log(this.form)
+            this.form.czrkJzdzList.filter(route =>{
+              route.seleted = []
+              route.optiodne = []
+            })
+						// return
+						addInfo(this.form).then(response => {
+              if(response.code == 200){
+                this.msgSuccess('新增成功');
+                this.opens = false;
+                this.nhyesfx = false
+                this.getList();
+                this.getTreeselectjuetj()
+                if(this.nhyesoder == 3){
+                  this.jiezhong = true
+                  this.handleDeletefamide(this.bhdes)
+                }
+                this.nhyesoder = 4
+              }else{
+                this.$message.error(response.msg + '请重新填写');
+                if(this.nhyesoder == 3){
+                  this.jiezhong = true
+                  this.handleDeletefamide(this.bhdes)
+                }
+                this.nhyesoder = 4
+                this.opens = false
+              }
+						});
+					}
+				}
+			});
+		},
+		/** 删除按钮操作 */
+		handleDelete(row) {
+			const ids = row.id || this.ids[0];
+      this.idfer = ids
+      this.imashow = true;
+      this.formgt = {}
+			// this.$confirm('是否确认删除疫苗信息编号为"' + ids + '"的数据项?', '警告', {
+			// 	confirmButtonText: '确定',
+			// 	cancelButtonText: '取消',
+			// 	type: 'warning'
+			// })
+			// 	.then(function() {
+			// 		return delInfo(ids);
+			// 	})
+			// 	.then(() => {
+			// 		this.getList();
+			// 		this.msgSuccess('删除成功');
+			// 	});
+		},
+    submitFormfr(){
+      // formgt
+      if(this.formgt.houseType == null || this.formgt.houseType == undefined){
+        this.$message.error('请选择变更原因');
+        return  false
+      }
+      let nhue = {}
+      nhue.status = this.formgt.houseType
+      nhue.id = this.idfer
+      delInfo(nhue).then(response => {
+      	this.msgSuccess('变更成功');
+      	this.imashow = false;
+      	this.getList();
+        this.getTreeselectjuetj()
+      });
+    },
+    // 点击新增
+    tijea(index) {
+    	console.log(index+ 1)
+    	this.nameutaiL = index+ 1
+       this.cascaderKey = index + 1
+    	this.form.czrkJzdzList.push({
+    		provinceId: '',
+    		province: '',
+    		deptId: '',
+    		cityId: '',
+    		city: '',
+    		regionId:'',
+    		region: '',
+    		townId: '',
+    		town: '',
+    		villageId: '',
+    		village: '',
+    		nowIn:'',
+    		disableg:false,
+        seleted:[],
+        optiodne:[],
+        plaed:'请选择居住地址',
+    	});
+      this.nhyeojd = true
+      this.mnyesfjer(0)
+      // this.form.czrkJzdzList[this.nameutaiL].optiodne
+      // console.log(this.cascaderKey,123465)
+      // // console.log()
+      // console.log( this.$refs.myCascaderf[this.$refs.myCascaderf.length - 1] ,258)
+      // // console.log(this.$refs['myCascaderf'][0].$refs.panel.clearCheckedNodes(),258)
+      // this.$refs['myCascaderf'][this.$refs.myCascaderf.length - 1].$refs.panel.clearCheckedNodes()
+      // console.log(this.$refs['myCascaderf'][0].$refs.panel.checkedValue,34567)
+      // this.mnyesfjer(0)
+    },
+    // 点击删除
+    naeyrfakjf(index, item) {
+      console.log(this.form.czrkJzdzList.length,347)
+      // if(this.form.czrkJzdzList.length == 2){
+      //   this.$message.error('居住地为必填不可全删除');
+      //   return  false
+      // }
+      // this.$message.error(response.msg + '请重新填写');
+    	var that = this
+    	this.$confirm('是否确认删除信息?', '警告', {
+    		confirmButtonText: '确定',
+    		cancelButtonText: '取消',
+    		type: 'warning'
+    	})
+    		.then(function() {
+    			return that.delseeug(index,item)
+    		})
+    		.then(() => {
+    			// this.getList();
+    			// this.msgSuccess('删除成功');
+    		});
+
+    },
+    delseeug(index,item){
+    	console.log(234)
+    	if (this.form.czrkJzdzList.length == 1) {
+    		// if (this.jdourdjoaj == true) {
+    		// 	// 新增
+    		// 	this.form.vaccineInfoUserList = [{
+    		// 		vaccineName: '',
+    		// 		vaccinationTime: '',
+    		// 		vaccinationPlace: '',
+    		// 		jici: '',
+    		// 		progress: '',
+    		// 		url:null,
+    		// 		disableg:false
+    		// 	}]
+    		// } else {
+    		// 	// 修改
+    		// 	let ide = this.form.vaccineInfoUserList[index].id;
+    		// 	console.log(this.form.vaccineInfoUserList[index]);
+    		// 	// ()
+    		// 	console.log(ide);
+    		// 	if (ide !== undefined) {
+    		// 		console.log(234);
+    		// 		delInfort(ide).then(response => {
+    		// 			this.msgSuccess('操作成功');
+    		// 		});
+    		// 	}
+    		// 	this.form.vaccineInfoUserList = [{
+    		// 		vaccineName: '',
+    		// 		vaccinationTime: '',
+    		// 		vaccinationPlace: '',
+    		// 		jici: '',
+    		// 		progress: '',
+    		// 		url:null,
+    		// 		disableg:false
+    		// 	}]
+    		// }
+
+        this.msgSuccess('只剩一条数据,无法删除');
+    		return false;
+    	}
+    	if (this.jdourdjoaj == true) {
+    		// 新增
+    		this.form.czrkJzdzList.splice(index, 1);
+    	} else {
+    		// 修改
+    		// ()
+    		this.form.czrkJzdzList.splice(index, 1);
+    	}
+      this.msgSuccess('删除成功');
+    },
+		/** 导出按钮操作 */
+		handleExport() {
+			var heuia = {
+                tableName: "vaccine_info",
+                empty: false,
+                condition: {}
+            }
+            var that=this;
+            heuia.condition = this.queryParams
+			const queryParams = this.queryParams
+			this.$confirm('是否确认导出?', "警告", {
+			    confirmButtonText: "确定",
+			    cancelButtonText: "取消",
+			    type: "warning"
+			  }).then(function() {
+			    return exportConfig(heuia);
+			  }).then(response => {
+				  const jues= response.data
+          that.exportflag=false;
+          that.$alert('数据导入中,系统将自动处理数据,请稍后查看结果', "导出结果", { dangerouslyUseHTMLString: true });
+          // that.msgSuccess('数据导入中,系统将自动处理数据,请稍后查看结果');
+				// exportConfigtyr().then(responsr => {
+				// 			console.log(responsr)
+				// 			if(responsr.data == true){
+				// 				// this.download(jues);
+				// 				// window.location.href = jues
+				// 				window.open(jues)
+				// 			}else{
+				// 				this.msgSuccess('数据暂未加载完成,请稍后点击导出进度按钮查看');
+				// 			}
+				// 		});
+
+			  })
+
+
+			// this.download('/boman-web-core/core/info/export',
+			// 	{
+			// 		...this.queryParams
+			// 	},
+			// 	`post_${new Date().getTime()}.xlsx`
+			// );
+
+		},
+    // 文件上传中处理
+    handleFileUploadProgress(event, file, fileList) {
+      this.upload.isUploading = true;
+    },
+    // 文件上传成功处理
+    handleFileSuccess(response, file, fileList) {
+      this.upload.open = false;
+      this.upload.isUploading = false;
+      this.$refs.upload.clearFiles();
+      this.$alert(response.msg, "导入结果", { dangerouslyUseHTMLString: true });
+      this.getList();
+    },
+   // 提交上传文件
+   submitFileForm() {
+     console.log(this.upload.source)
+     if(this.upload.source == null){
+       this.msgInfo('请选择数据来源');
+       return  false
+     }
+     this.$refs.upload.submit();
+   },
+   nske(){
+     console.log(345)
+           this.upload.open = false;
+   },
+   /** 下载模板操作 */
+   importTemplate() {
+
+   },
+   // 下载模板
+   handleDeleteda(){
+     window.open("https://qsfy.qs163.cn/statics/template/死亡人员导入模板.xlsx")
+   },
+		// 点击查看
+		chakei(row) {
+			console.log(row);
+      let nhyes= {pageNum: 1,
+      pageSize: 10,}
+      this.nhyesoder = row
+      if(row == 0){
+        // 新增
+       listInfotjxz(this.ndhuwosdjh).then(response => {
+				// this.msgSuccess('操作成功');
+					this.jiezheList = response.rows
+          this.totalfr = response.total
+				})
+      } else if(row == 1){
+        // 减少
+        listInfotjjs(this.ndhuwosdjh).then(response => {
+        				// this.msgSuccess('操作成功');
+        					this.jiezheList = response.rows
+                  this.totalfr = response.total
+
+      }	)
+          }// yiaoe({idCard:row.idCard}).then(response => {
+			// 	// this.msgSuccess('操作成功');
+			// 	if(response.code == 200){
+			// 		this.jiezheList = response.data
+			// 	}
+			// });
+
+			this.jiezhong = true;
+		},
+    // 查看家庭成员信息
+    handleDeletefamide(row){
+      this.bhdes= row
+      this.nhyesoder = 3
+      this.bgtes= []
+	  if(row.code == null){
+	  		  this.msgSuccess('无户编号信息,无法查看家庭成员信息');
+	  		  return  false
+	  }
+    if(row.code == ''){
+      this.msgSuccess('无户编号信息,无法查看家庭成员信息');
+      return  false
+    }
+	  this.jiezhong = true;
+    listInfotjjsfaml(row.code).then(response => {
+        				// this.msgSuccess('操作成功');
+        					this.jiezheList = response.data
+                  this.jiezheList.filter(rout =>{
+                    this.bgtes.push(rout.id)
+                  })
+           console.log(this.bgtes,456)
+                  this.totalfr = 0
+
+      }	)
+    },
+    /** 导入按钮操作 */
+    handleImport() {
+      this.getDicts('data_sources').then(response => {
+      	this.typeOptionstimesgt = response.data;
+        this.upload.title = "数据导入";
+        this.upload.open = true;
+      });
+
+    },
+    // 获取屏幕高度
+              showFilterForm () {
+                    this.filterActive = !this.filterActive
+                    this.changeTableMaxHeight()
+                  },
+
+                  changeTableMaxHeight () {
+                    let height = document.body.offsetHeight // 网页可视区域高度
+                    // if (this.filterActive) {
+                    //   this.tableMaxHeight = height - 320
+                    // } else {
+                      this.tableMaxHeight = height - 250
+                    // }
+                    console.log(height)
+                  },
+
+  // 判断是否选择户主
+  changese(){
+    console.log(this.form.houseType)
+    if(this.form.houseType == '是'){
+      this.form.code = this.form.idCard
+      this.nhe = false
+    }else{
+      this.form.code != this.form.idCard
+      this.nhe = true
+    }
+  },
+  // 常住人口
+  chajnd(data){
+   this.queryParams.queryType = 'cz'
+   this.queryParams.pageNum = 1
+   this.queryParams.status = data
+   this.nhykis = false
+   this.nhyki = true
+   this.nhslke = data
+    this.getList();
+  },
+  // 户籍人口
+  chajnds(){
+    this.nhykis = true
+    this.nhyki = false
+    this.queryParams.pageNum = 1
+   this.queryParams.queryType = 'hj'
+   this.getList();
+  },
+  // 变更历史
+  chajndsls(row){
+   let nhduw = {}
+   nhduw.id = row.id
+   // biangneg
+   this.getListls(nhduw);
+  },
+  // 确认死亡
+  siw(row){
+   this.$confirm('此操作将永久删除该文件, 是否继续?', '提示', {
+             confirmButtonText: '确定',
+             cancelButtonText: '取消',
+             type: 'warning'
+           }).then(() => {
+             this.$message({
+               type: 'success',
+               message: '删除成功!'
+             });
+           }).catch(() => {
+             this.$message({
+               type: 'info',
+               message: '已取消删除'
+             });
+           });
+  },
+
+  // 一键确认
+  xinxiheu(){
+    let nchesr = []
+    nchesr = this.bgtes
+    console.log(nchesr)
+    listInfotjjssbule(nchesr).then(response => {
+      if(response.code == 200){
+        this.msgSuccess('操作成功')
+        this.jiezhong = false
+          this.getList();
+        this.getTreeselectjuetj()
+      }
+      				// this.msgSuccess('操作成功');
+    })
+  },
+  xinxihe(){
+   this.$refs['form'].validate(valid => {
+   	console.log(this.selected);
+   	if (valid) {
+let reg = /^([1-6][1-9]|50)\d{4}(18|19|20)\d{2}((0[1-9])|10|11|12)(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/;
+      let _IDre15 =  /^([1-6][1-9]|50)\d{4}\d{2}((0[1-9])|10|11|12)(([0-2][1-9])|10|20|30|31)\d{3}$/;
+      // 护照
+       // let ncjsle = /^1[45][0-9]{7}$|(^[P|p|S|s]\d{7}$)|(^[S|s|G|g|E|e]\d{8}$)|(^[Gg|Tt|Ss|Ll|Qq|Dd|Aa|Ff]\d{8}$)|(^[H|h|M|m]\d{8,10}$)/;
+       let ncjsle = /^[a-zA-Z0-9]{5,17}$/
+       let nhyeli = /^[a-zA-Z]{5,17}$/
+      // 港澳
+      let gnse = /^([A-Z]\d{6,10}(\(\w{1}\))?)$/;
+      // 台湾
+      // let tw = /^\d{8}|^[a-zA-Z0-9]{10}|^\d{18}$/
+      var tw =  /^[0-9]{8}$/;
+       var twe = /^[0-9]{10}$/;
+      // 校验身份证:
+      console.log(reg.test(this.form.idCard),23741)
+			if ( reg.test(this.form.idCard)|| _IDre15.test(this.form.idCard)) {
+				// this.idea();
+				// this.go(this.form.idCard.length);
+				// callback()
+			} else {
+        if(ncjsle.test(this.form.idCard) || nhyeli.test(this.form.idCard)){
+           console.log(3)
+        }else{
+          if(gnse.test(this.form.idCard)  ){
+              console.log(4)
+          }else{
+            if(tw.test(this.form.idCard) || twe.test(this.form.idCard)){
+              console.log(5)
+            }else{
+              this.msgInfo('证件格式不正确');
+              return false
+            }
+
+            // return false
+          }
+
+        }
+				// callback(new Error('身份证号码不正确'))
+			}
+       let redw = /^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$/;
+       console.log(this.form)
+       console.log(redw.test(this.form.phoneNum))
+       if (this.form.phoneNum == null) {
+       	// this.idea();
+       	// this.go(this.form.idCard.length);
+       	// callback()
+       } else{
+         if(this.form.phoneNum !== ''){
+           if(redw.test(this.form.phoneNum)){
+
+           }else{
+             this.msgInfo('手机号码不正确');
+             return false
+           }
+         }
+        }
+   		if (this.form.id != null) {
+   			// this.form.nowIn = this.naiseurya + this.form.nowIn;
+   			// this.form.domicile = this.hsuej + this.form.domicile;
+          console.log(this.form.czrkJzdzList)
+          if(this.nhyesaw == 1){
+            this.form.czrkJzdzList = this.form.czrkJzdzList.splice(1)
+          }else if(this.nhyesaw == 2){
+            console.log(this.form.czrkJzdzList[0])
+            // this.form.czrkJzdzList.unshift(this.form.czrkJzdzList[0])
+          }
+          console.log(this.form.czrkJzdzList)
+          // data = data +1
+          this.nhyesaw = this.nhyesaw + 1
+          this.senlsduea = false
+          this.form.isConfirm = 'Y'
+          console.log(this.form.czrkJzdzList)
+          updateInfo(this.form).then(response => {
+            console.log(response)
+            if(response.code == 200){
+               this.msgSuccess('操作成功');
+               this.nhyesaw = 1
+               this.opens = false;
+               this.nhyesfx = false
+               this.getList();
+               this.getTreeselectjuetj()
+               return false
+            }else{
+              // this.senlsduea = true
+              // this.form.czrkJzdzList.unshift(this.form.czrkJzdzList[0])
+              this.nhyesaw = 1
+              this.$message.error(response.msg + '请重新填写');
+              // this.mnyesfjerty(0)
+          //     if(this.nhyesaw == 1){
+          //     this.form.czrkJzdzList = this.form.czrkJzdzList.splice(1)
+          // }
+              this.opens = false
+            }
+
+            // if(response.data.code == 200){
+            //   this.msgSuccess('修改成功');
+            //   this.ndheysfs = false
+            // }else{
+            //   this.ndheysfs = true
+            // }
+
+            // if(this.nhyesoder == 3){
+            //   this.jiezhong = true
+            //   this.handleDeletefamide(this.bhdes)
+            // }
+            // this.nhyesoder = 4
+          });
+   		} else {
+   			// this.form.nowIn = this.naiseurya + this.form.nowIn;
+   			// this.form.domicile = this.hsuej + this.form.domicile;
+   			// if (this.form.nowIn == 'undefined') {
+   			// 	this.form.nowIn = null;
+   			// }
+
+      //    if(this.nhyeswdga.length == 0){
+      //      this.msgInfo('请填写户籍地址');
+      //      return false
+      //    }
+
+      //    if(this.form.czrkJzdzList[0].province == ''){
+      //      this.msgInfo('请填写居住地址');
+      //      return false
+      //    }
+      //    if(this.form.czrkJzdzList[0].province == null){
+      //      this.msgInfo('请填写居住地址');
+      //      return false
+      //    }
+
+   			// console.log(this.form)
+      //    this.form.czrkJzdzList.filter(route =>{
+      //      route.seleted = []
+      //      route.optiodne = []
+      //    })
+   			// return
+   			// addInfo(this.form).then(response => {
+   			// 	this.msgSuccess('新增成功');
+   			// 	this.opens = false;
+   			// 	this.getList();
+      //      if(this.nhyesoder == 3){
+      //        this.jiezhong = true
+      //        this.handleDeletefamide(this.bhdes)
+      //      }
+      //      this.nhyesoder = 4
+   			// });
+   		}
+   	}
+   });
+  },
+  // 信息同步
+  xinxtb(){
+   listInfotjjssquer(this.bhdes.code).then(response => {
+     if(response.code == 200){
+       this.msgSuccess(response.msg)
+       // this.jiezhong = false
+       listInfotjjsfaml(this.bhdes.code).then(response => {
+           				// this.msgSuccess('操作成功');
+                  this.bgtes = []
+           				this.jiezheList = response.data
+                  this.jiezheList.filter(rout =>{
+                       this.bgtes.push(rout.id)
+                     })
+              console.log(this.bgtes,456)
+                     this.totalfr = 0
+
+         })
+       // this.getTreeselectjuetj()
+     }
+     				// this.msgSuccess('操作成功');
+   })
+  },
+  // click(){
+    click(event) {
+      console.log(event)
+          this.$nextTick(() => {
+            let d = document.getElementsByClassName("cascader"+ this.ids)
+            this.nameutaiL +'s'
+            // console.log("cascader"+ '' +this.nameutaiL);
+            // console.log(48);
+            // console.log(d);
+            // console.log(d[0]);
+            // console.log( !d[0].onclick);
+            if( d[event] && !d[event].onclick ){
+              d[event].onclick = function(e) {
+                console.log(e);
+                if( e.target.className == "el-cascader-node__label" ){
+                  e.target.previousElementSibling.click();
+                }
+              }
+            }
+          });
+        },
+        clicks(event) {
+              this.$nextTick(() => {
+                let d = document.getElementsByClassName("cascader"+'' +this.id);
+                // console.log("cascader"+ '' +this.nameutaiL);
+                // console.log(48);
+                // console.log(d);
+                // console.log(d[0]);
+                // console.log( !d[0].onclick);
+                if( d[0] && !d[0].onclick ){
+                  d[0].onclick = function(e) {
+                    console.log(e);
+                    if( e.target.className == "el-cascader-node__label" ){
+                      e.target.previousElementSibling.click();
+                    }
+                  }
+                }
+              });
+            }
+  // }
+	}
+};
+</script>
+<style lang="scss">
+  .nhkhv{
+    display: flex;
+    align-items: center;
+    span{
+      width: 30%;
+      font-size: 14px;
+      i{
+        color: red;
+        font-size: 14px;
+        margin-right: 5px;
+      }
+    }
+  }
+  .placf {
+    .el-input {
+      .el-input__inner::placeholder{
+        color: #333;
+      }
+      /* 谷歌 */
+          .el-input__inner::-webkit-input-placeholder {
+             color: #333;
+          }
+           /* 火狐 */
+         .el-input__inner:-moz-placeholder {
+              color: #333;
+          }
+           /*ie*/
+         .el-input__inner:-ms-input-placeholder {
+              color: #333;
+          }
+    }
+
+  }
+	.jdueuh{
+		.el-form-item__label {
+			width: 0px !important;
+		}
+		.el-form-item__content {
+			margin-left: 10px !important;
+			// width: 70%;
+		}
+	}
+	.ijeuhdy{
+		.el-form-item__label {
+			width: 80px !important;
+		}
+		.el-form-item__content {
+			margin-left: 80px !important;
+			// width: 70%;
+		}
+	}
+	.znshu{
+		.el-form-item__label {
+			width: 80px !important;
+			// padding-left: 30px;
+		}
+		.el-form-item__content {
+			margin-left: 80px !important;
+
+			// width: 70%;
+		}
+		.el-input__inner{
+			padding-left: 0 !important;
+		}
+	}
+	.heioangd{
+		.el-form-item__label {
+			width: 70px !important;
+		}
+		.el-form-item__content {
+			margin-left: 70px !important;
+			// width: 70%;
+		}
+	}
+.hues {
+	.area-select {
+		margin-left: 0 !important;
+		margin-right: 10px;
+	}
+}
+.jehak {
+	.el-form-item {
+		width: 100%;
+	}
+	.el-form-item__content {
+		width: 60%;
+	}
+}
+.oiuyty {
+	.el-form-item__label {
+		width: 80px !important;
+	}
+	.el-form-item__content {
+		margin-left: 80px !important;
+		// width: 70%;
+	}
+	input {
+		padding-right: 0 !important;
+	}
+}
+.el-dialog__body {
+	padding-top: 0;
+	padding-bottom: 0;
+}
+.jhy {
+	// width: 100%;
+	// .el-form-item__content {
+	// 	width: 100%;
+	// 	margin-left: 0 !important;
+	// }
+	.el-form-item__content {
+		margin-left: 55px !important;
+		// width: 70%;
+	}
+	.el-form-item__label {
+		width: 55px !important;
+	}
+}
+.ehiqya {
+	.el-form-item__content {
+		display: flex;
+		.jdidur {
+			flex: 1;
+			margin-left: 10px;
+			// text-align: left;
+			display: flex;
+		}
+	}
+	.upload-demo {
+		display: flex;
+	}
+}
+.jdoier{
+	display: flex;
+	align-items: center;
+	.upload-demo {
+		display: flex;
+	}
+}
+.hueyde {
+	width: 18px;
+	height: 18px;
+	margin: 0 5px;
+	margin-right: 10px;
+}
+.hueydele {
+	width: 15px;
+	height: 18px;
+}
+.hyeoa {
+	height: 100%;
+	display: flex;
+	align-items: center;
+}
+.hjdoecdre {
+	// margin-top: 50%;
+	transform: translateY(50%);
+}
+.ojhgy {
+	.el-dialog {
+		padding-bottom: 40px;
+		padding-top: 10px;
+	}
+	.el-dialog__header {
+		padding-bottom: 20px;
+	}
+	.el-table .cell {
+		line-height: 50px;
+	}
+}
+.hueya{
+	margin-left: 0 !important;
+}
+.iejghiadh{
+	.el-input__inner{
+		padding-right: 0 !important;
+		padding-left: 5px !important;
+	}
+}
+.nhoesf{
+  span:hover{
+    cursor:pointer
+  }
+}
+</style>

+ 474 - 0
src/views/system/postsr/index.vue

@@ -0,0 +1,474 @@
+<template>
+  <div class="app-container">
+    <el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch" label-width="98px">
+      <el-form-item label="ip地址" prop="ip">
+        <el-input
+          v-model="queryParams.ip"
+          placeholder="请输入ip地址"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="每天访问次数" prop="times">
+        <el-input
+          v-model="queryParams.times"
+          placeholder="请输入每天访问次数"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item>
+        <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
+        <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
+      </el-form-item>
+    </el-form>
+
+    <el-row :gutter="10" class="mb8">
+      <el-col :span="1.5">
+        <el-button
+          type="primary"
+          plain
+          icon="el-icon-plus"
+          size="mini"
+          @click="handleAdd"
+          v-hasPermi="['system:post:add']"
+        >新增</el-button>
+      </el-col>
+      <el-col :span="1.5">
+        <el-button
+          type="success"
+          plain
+          icon="el-icon-edit"
+          size="mini"
+          :disabled="single"
+          @click="handleUpdate"
+          v-hasPermi="['system:post:edit']"
+        >修改</el-button>
+      </el-col>
+      <el-col :span="1.5">
+        <el-button
+          type="danger"
+          plain
+          icon="el-icon-delete"
+          size="mini"
+          :disabled="multiple"
+          @click="handleDelete"
+          v-hasPermi="['system:post:remove']"
+        >删除</el-button>
+      </el-col>
+      <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
+    </el-row>
+
+    <el-table v-loading="loading" :data="postList" @selection-change="handleSelectionChange">
+      <el-table-column type="selection" width="55" align="center" />
+      <el-table-column label="ip地址" align="center" prop="ip" />
+      <el-table-column label="每天访问次数" align="center" prop="times" />
+      <el-table-column label="列" align="center" prop="columnNames" :formatter="homeNameFormat" />
+      <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
+        <template slot-scope="scope">
+          <el-button
+            size="mini"
+            type="text"
+            icon="el-icon-edit"
+            @click="handleUpdate(scope.row)"
+            v-hasPermi="['system:post:edit']"
+          >修改</el-button>
+          <el-button
+            size="mini"
+            type="text"
+            icon="el-icon-delete"
+            @click="handleDelete(scope.row)"
+            v-hasPermi="['system:post:remove']"
+          >删除</el-button>
+        </template>
+      </el-table-column>
+    </el-table>
+
+
+    <!-- 添加或修改岗位对话框 -->
+    <el-dialog :close-on-click-modal="false" :title="title" :visible.sync="open" width="800px" append-to-body>
+      <el-form ref="form" :model="form" :rules="rules" label-width="115px">
+         <el-row>
+           <el-col :span="12" >
+             <el-form-item label="ip地址" prop="ip">
+               <el-input v-model="form.ip" placeholder="请输入ip地址" />
+             </el-form-item>
+           </el-col>
+
+           <el-col :span="12" >
+             <el-form-item label="APP_SECRET" prop="appSecret">
+               <el-tooltip class="item" effect="dark" :content="nhduoslei == false?'点击下方获取按钮获取' :form.appSecret" placement="top-start">
+               <el-input disabled v-model="form.appSecret" placeholder="请点击下方获取信息按钮获取" />
+               </el-tooltip>
+
+             </el-form-item>
+           </el-col>
+           <!-- class="nhli" -->
+           <el-col :span="12" >
+             <el-form-item label="APPID" prop="appId">
+               <el-tooltip class="item" effect="dark" :content="nhduoslei == false?'点击下方获取按钮获取' : form.appId" placement="top-start">
+               <el-input v-model="form.appId" disabled placeholder="请点击下方获取信息按钮获取" />
+               </el-tooltip>
+               <!-- <el-button type="primary" size="mini">获取</el-button> -->
+             </el-form-item>
+           </el-col>
+           <el-col :span="12" >
+             <el-form-item label="APP_KEY" prop="appKey">
+               <el-tooltip class="item" effect="dark" :content="nhduoslei == false?'点击下方获取按钮获取' : form.appKey" placement="top-start">
+               <el-input v-model="form.appKey" disabled placeholder="请点击下方获取信息按钮获取" />
+               </el-tooltip>
+               <!-- <el-button type="primary" size="mini">获取</el-button> -->
+             </el-form-item>
+           </el-col>
+           <el-col :span="12">
+             <el-form-item label="强弱校验" prop="isStrong">
+               <el-radio-group v-model="form.isStrong" @change="nhyeish">
+                   <el-radio label="Y">强校验</el-radio>
+                   <el-radio label="N">弱校验</el-radio>
+                 </el-radio-group>
+             </el-form-item>
+           </el-col>
+
+           <el-col :span="12">
+             <el-form-item label="访问次数" prop="times">
+               <el-input type="number" v-model="form.times" placeholder="请输入每天访问次数" />
+             </el-form-item>
+           </el-col>
+
+           <!-- v-if="roudje" -->
+           <el-col :span="24">
+             <el-form-item label="请选择列" prop="columnNames">
+               <el-select style="width: 100%;" v-model="form.columnNames" multiple placeholder="请选择要展示的列">
+                 <el-option
+                   v-for="item in roleOptions"
+                   :key="item.value"
+                   :label="item.label"
+                   :value="item.value"
+                 ></el-option>
+               </el-select>
+             </el-form-item>
+           </el-col>
+         </el-row>
+
+        <!-- <el-checkbox :indeterminate="isIndeterminate" v-model="checkAll" @change="handleCheckAllChange">全选</el-checkbox>
+          <div style="margin: 15px 0;"></div>
+
+          <el-checkbox-group v-model="checkedCities" @change="handleCheckedCitiesChange">
+            <el-row>
+              <el-col :span="6" v-for="city in cities" :key="city" style="margin-bottom: 20px;">
+                 <el-checkbox  :label="city" :key="city">{{city}}</el-checkbox>
+              </el-col>
+            </el-row>
+          </el-checkbox-group> -->
+
+      </el-form>
+      <div slot="footer" class="dialog-footer">
+        <el-tooltip class="item" effect="dark" content="点击按钮获取APP_SECRET,APPID,APP_KEY,每点击一次更改一次信息,请慎重操作." placement="top-start">
+        <el-button @click="nholu" type="success" >获取信息</el-button>
+        </el-tooltip>
+        <el-button type="primary" @click="submitForm">确 定</el-button>
+
+        <el-button @click="cancel">取 消</el-button>
+      </div>
+    </el-dialog>
+  </div>
+</template>
+
+<script>
+import { listPost, getPost, delPost, addPost, updatePost,listlie,appIdhu } from "@/api/system/postsr";
+const cityOptions = ['身份证号', '姓名', '人员分类', '网格',  '联系方式', '性别','户籍地址', '备注','是否户主', '年龄', '居住地址','户编号', '与户主关系'];
+export default {
+  name: "Post",
+  data() {
+    return {
+      // 遮罩层
+      loading: true,
+      // 选中数组
+      ids: [],
+      // 非单个禁用
+      single: true,
+      // 非多个禁用
+      multiple: true,
+      // 显示搜索条件
+      showSearch: true,
+      // 总条数
+      total: 0,
+      // 岗位表格数据
+      postList: [],
+      // 弹出层标题
+      title: "",
+      // 是否显示弹出层
+      open: false,
+      // 状态数据字典
+      statusOptions: [],
+      roleOptions:[],
+      // 查询参数
+      queryParams: {
+        ip: undefined,
+        times: undefined,
+      },
+      // 表单参数
+      form: {},
+      // 表单校验
+      rules: {
+        times: [
+          { required: true, message: "访问次数不能为空", trigger: "blur" }
+        ],
+        columnNames: [
+          { required: true, message: "请选择列", trigger: "blur" }
+        ],
+        appKey:[
+          { required: true, message: "APP_KEY必填", trigger: "blur" }
+        ],
+        appSecret:[
+          { required: true, message: "APP_SECRET必填", trigger: "blur" }
+        ],
+        ip:[
+          { required: true, message: "ip地址必填", trigger: "blur" }
+        ],
+        appId:[
+          { required: true, message: "appId必填", trigger: "blur" }
+        ],
+        isStrong:[
+          { required: true, message: "强弱校验必选", trigger: "blur" }
+        ]
+
+      },
+      checkAll: false,
+      checkedCities: ['上海', '北京'],
+      cities: cityOptions,
+      isIndeterminate: true,
+      roudje:false,
+      nhduoslei:false
+    };
+  },
+  created() {
+    this.getList();
+    this.ndyeose()
+    this.getDicts("sys_normal_disable").then(response => {
+      this.statusOptions = response.data;
+    });
+  },
+  methods: {
+    homeNameFormat(row, column) {
+      // console.log(row.columnNames,this.roleOptions,this.selectDictLabelss(this.roleOptions, row.columnNames),457)
+      return this.selectDictLabelss(this.roleOptions, row.columnNames);
+    },
+    ndyeose(){
+      this.loading = true;
+      let nhue = {tableName:'czrk'}
+      listlie('czrk').then(response => {
+        this.roleOptions = response.data;
+        // this.total = response.total;
+        this.loading = false;
+      });
+    },
+    handleCheckAllChange(val) {
+            this.checkedCities = val ? cityOptions : [];
+            this.isIndeterminate = false;
+            console.log(val,456)
+
+            if(val){
+              console.log('全选')
+              // this.form.userName
+              // this.form.gender
+              // this.form.age
+              // this.form.birthday
+              // this.form.idCard
+              // this.form.phoneNum
+              // this.form.code
+              // this.form.houseType
+              // this.form.yhzgx
+              // this.form.provinceId
+              // this.form.cityId
+              // this.form.regionId
+              // this.form.villageTownsId
+              // this.form.villageId
+              // this.form.remark
+              // this.form.villagerGroupId
+              // this.form.czrkJzdzList
+            }
+          },
+  handleCheckedCitiesChange(value) {
+            let checkedCount = value.length;
+            this.checkAll = checkedCount === this.cities.length;
+            this.isIndeterminate = checkedCount > 0 && checkedCount < this.cities.length;
+            console.log(value,4567)
+          },
+    /** 查询岗位列表 */
+    getList() {
+      this.loading = true;
+      listPost(this.queryParams).then(response => {
+        this.postList = response.data;
+        // this.total = response.total;
+        this.loading = false;
+      });
+    },
+    // 岗位状态字典翻译
+    statusFormat(row, column) {
+      return this.selectDictLabel(this.statusOptions, row.status);
+    },
+    // 取消按钮
+    cancel() {
+      this.open = false;
+      this.reset();
+    },
+    // 表单重置
+    reset() {
+      this.form = {
+        ip: undefined,
+        tableName: 'czrk',
+        times: undefined,
+        columnNames: undefined,
+        isStrong:'Y',
+
+      };
+      this.resetForm("form");
+    },
+    /** 搜索按钮操作 */
+    handleQuery() {
+      this.queryParams.pageNum = 1;
+      this.getList();
+    },
+    /** 重置按钮操作 */
+    resetQuery() {
+      this.resetForm("queryForm");
+      this.handleQuery();
+    },
+    // 多选框选中数据
+    handleSelectionChange(selection) {
+      this.ids = selection.map(item => item.id)
+      this.single = selection.length!=1
+      this.multiple = !selection.length
+    },
+    /** 新增按钮操作 */
+    handleAdd() {
+      this.reset();
+      this.open = true;
+      this.nhduoslei = false
+      this.title = "添加信息";
+    },
+    /** 修改按钮操作 */
+    handleUpdate(row) {
+      this.reset();
+      const id = row.id || this.ids
+      getPost(id).then(response => {
+        this.form = response.data;
+        this.nhduoslei = true
+        console.log(this.nhduoslei)
+        this.form.tableName = 'czrk'
+        if(this.form.columnNames !== null){
+          this.$set(this.form,'columnNames',this.form.columnNames.split(','))
+           // this.form.column_names = this.form.columnNames.split(',')
+        }
+
+        this.open = true;
+        this.title = "修改信息";
+      });
+    },
+    /** 提交按钮 */
+    submitForm: function() {
+      console.log(this.form,23456)
+      // console.log(this.form.column_names.join(','),23456)
+      if(this.form.columnNames != undefined){
+        this.form.columnNames =  this.form.columnNames.join(',')
+      }
+      this.$refs["form"].validate(valid => {
+        if (valid) {
+          if (this.form.id != undefined) {
+            this.form.createBy = undefined
+             this.form.createTime = undefined
+             this.form.tableName = undefined
+             this.form.updateBy = undefined
+              this.form.updateTime = undefined
+            updatePost(this.form).then(response => {
+              this.msgSuccess("修改成功");
+              this.open = false;
+              this.getList();
+            });
+          } else {
+            addPost(this.form).then(response => {
+              this.msgSuccess("新增成功");
+              this.open = false;
+              this.getList();
+            });
+          }
+        }
+      });
+    },
+    /** 删除按钮操作 */
+    handleDelete(row) {
+      if(row.id !== undefined){
+        let huytec = []
+        huytec.push(row.id)
+        // let nhyes = row.id + ''
+        console.log(huytec)
+        // let juid = nhyes.split('')
+        var   ids = huytec
+        console.log(ids)
+
+      }else{
+        var ids =  this.ids;
+
+      }
+      // const ids = row.id || this.ids;
+      this.$confirm('是否确认删除数据项?', "警告", {
+          confirmButtonText: "确定",
+          cancelButtonText: "取消",
+          type: "warning"
+        }).then(function() {
+          console.log(ids)
+          var id = {id:ids}
+          return delPost(ids);
+        }).then(() => {
+          this.getList();
+          this.msgSuccess("删除成功");
+        })
+    },
+    /** 导出按钮操作 */
+    handleExport() {
+      this.download('system/post/export', {
+        ...this.queryParams
+      }, `post_${new Date().getTime()}.xlsx`)
+    },
+    nhyeish(val){
+      console.log(val,456)
+      if(val == "Y"){
+        this.roudje = true
+      }else{
+        this.roudje = false
+      }
+    },
+    nholu(){
+      appIdhu().then(response => {
+        // this.form.appId = response.data.appId
+        // this.form.appKey= response.appKey
+        // this.form.appSecret= response.appSecret
+        this.$set(this.form,'appId',response.data.appId)
+        this.$set(this.form,'appKey',response.data.appKey)
+        this.$set(this.form,'appSecret',response.data.appSecret)
+        this.nhduoslei = true
+
+        // if(this.form.column_names !== null){
+        //   this.$set(this.form,'column_names',this.form.column_names.split(','))
+        // }
+
+      });
+
+    }
+  }
+};
+</script>
+<style lang="scss">
+  .nhli{
+     .el-form-item__content{
+       display: flex;
+       justify-content: space-between;
+       .el-input__inner {
+         width: 91%;
+       }
+     }
+  }
+</style>

File diff suppressed because it is too large
+ 391 - 396
src/views/system/resident/index.vue


File diff suppressed because it is too large
+ 511 - 159
src/views/system/residentss/index.vue


+ 25 - 14
src/views/system/role/index.vue

@@ -12,14 +12,10 @@
         />
       </el-form-item>
       <el-form-item label="权限字符" prop="roleKey">
-        <el-input
-          v-model="queryParams.roleKey"
-          placeholder="请输入权限字符"
-          clearable
-          size="small"
-          style="width: 240px"
-          @keyup.enter.native="handleQuery"
-        />
+        <el-select v-model="queryParams.roleKey" placeholder="请选择权限字符" clearable size="small"style="width: 240px">
+        	<el-option v-for="dict in typeOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
+        </el-select>
+        <!-- <el-input v-model="form.roleKey" placeholder="请输入权限字符" /> -->
       </el-form-item>
       <el-form-item label="状态" prop="status">
         <el-select
@@ -136,7 +132,7 @@
             type="text"
             icon="el-icon-circle-check"
             @click="handleDataScope(scope.row)"
-            
+
           >数据权限</el-button>
 		  <!-- v-hasPermi="['system:role:edit']" -->
           <el-button
@@ -165,7 +161,10 @@
           <el-input v-model="form.roleName" placeholder="请输入角色名称" />
         </el-form-item>
         <el-form-item label="权限字符" prop="roleKey">
-          <el-input v-model="form.roleKey" placeholder="请输入权限字符" />
+          <el-select v-model="form.roleKey" placeholder="请选择权限字符" clearable style="width: 100%;">
+          	<el-option v-for="dict in typeOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
+          </el-select>
+          <!-- <el-input v-model="form.roleKey" placeholder="请输入权限字符" /> -->
         </el-form-item>
         <el-form-item label="角色顺序" prop="roleSort">
           <el-input-number v-model="form.roleSort" controls-position="right" :min="0" />
@@ -210,9 +209,16 @@
         <el-form-item label="角色名称">
           <el-input v-model="form.roleName" :disabled="true" />
         </el-form-item>
-        <el-form-item label="权限字符">
-          <el-input v-model="form.roleKey" :disabled="true" />
+
+        <el-form-item label="权限字符" prop="roleKey">
+          <el-select v-model="form.roleKey" placeholder="请选择权限字符" clearable style="width: 100%;">
+          	<el-option v-for="dict in typeOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
+          </el-select>
+          <!-- <el-input v-model="form.roleKey" placeholder="请输入权限字符" /> -->
         </el-form-item>
+       <!-- <el-form-item label="权限字符">
+          <el-input v-model="form.roleKey" :disabled="true" />
+        </el-form-item> -->
         <el-form-item label="权限范围">
           <el-select v-model="form.dataScope" @change="dataScopeSelectChange">
             <el-option
@@ -249,7 +255,7 @@
 </template>
 
 <script>
-import { listRole, getRole, delRole, addRole, updateRole, exportRole, dataScope, changeRoleStatus } from "@/api/system/role";
+import { listRole, getRole, delRole, addRole, updateRole, exportRole, dataScope, changeRoleStatus,menuTreeselectwc } from "@/api/system/role";
 import { treeselect as menuTreeselect, roleMenuTreeselect } from "@/api/system/menu";
 import { treeselect as deptTreeselect, roleDeptTreeselect } from "@/api/system/dept";
 
@@ -285,6 +291,7 @@ export default {
       dateRange: [],
       // 状态数据字典
       statusOptions: [],
+      typeOptions:[],
       // 数据范围选项
       dataScopeOptions: [
         {
@@ -345,6 +352,9 @@ export default {
     this.getDicts("sys_normal_disable").then(response => {
       this.statusOptions = response.data;
     });
+    this.getDicts('role_key').then(response => {
+    	this.typeOptions = response.data;
+    });
   },
   methods: {
     /** 查询角色列表 */
@@ -358,6 +368,7 @@ export default {
         }
       );
     },
+
     /** 查询菜单树结构 */
     getMenuTreeselect() {
       menuTreeselect().then(response => {
@@ -492,7 +503,7 @@ export default {
     },
     // 树权限(父子联动)
     handleCheckedTreeConnect(value, type) {
-		
+
       if (type == 'menu') {
         this.form.menuCheckStrictly = value ? true: false;
 		console.log(value,this.form.menuCheckStrictly)

+ 3067 - 0
src/views/system/ucleic/index.vue

@@ -0,0 +1,3067 @@
+<template>
+	<div class="app-container">
+
+		<el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch" label-width="100px">
+			<el-row>
+        <el-col :span="24">
+        	<el-row>
+        		<el-col :span="16" class="jehak">
+              <el-col :span="12">
+              	<el-form-item label="身份证号" prop="zjhm">
+              		<el-input v-model="queryParams.zjhm" placeholder="请输入身份证号码" style="width:240px;" clearable @keyup.enter.native="handleQuery" />
+              	</el-form-item>
+              </el-col>
+
+               <el-col :span="12">
+                 <el-form-item label="是否核酸" prop="isNucleicAcid">
+                 	<el-select v-model="queryParams.isNucleicAcid" placeholder="是否核酸" clearable style="width:240px;"  @keyup.enter.native="handleQuery"
+                 	   >
+                 		<el-option v-for="dict in statusOptionstue" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
+                 	</el-select>
+                 </el-form-item>
+
+
+               </el-col>
+
+        		</el-col>
+            <el-col :span="8">
+              <el-form-item label="姓名" prop="xm">
+              	<el-input v-model="queryParams.xm" placeholder="请输入姓名" style="width:240px;" clearable @keyup.enter.native="handleQuery" />
+              </el-form-item>
+           <!-- <el-form-item label="时间间隔" prop="isNucleicAcid">
+            <el-select v-model="queryParams.isNucleicAcid" placeholder="时间间隔" clearable style="width:260px;"  @keyup.enter.native="handleQuery"
+               >
+            	<el-option v-for="dict in statusOptionstue" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
+            </el-select>
+            </el-form-item> -->
+            </el-col>
+            <!-- <el-col :span="10" >
+              <el-form-item label="区域查询" prop="villagerGroup">
+                <el-cascader
+                	placeholder="点击选择区域"
+                	:options="optionsList"
+                	filterable
+                	@change="chahetwos"
+                	:props="optionPropsssd"
+                	style="width: 168%;"
+                	@keyup.enter.native="handleQuery"
+                  ref = "cdd"
+                  v-model="listd"
+                  @active-item-change="handleItemChangefr"
+                ></el-cascader>
+
+              </el-form-item>
+            </el-col> -->
+
+        	</el-row>
+        </el-col>
+				<el-col :span="24">
+					<el-row>
+
+            <el-col :span="8">
+             <el-form-item label="采集开始时间" prop="startTime">
+             <el-date-picker
+             	clearable
+             	v-model="queryParams.params.startTime"
+             	type="datetime"
+             	value-format="yyyy-MM-dd HH:mm:ss"
+             	format="yyyy-MM-dd HH:mm:ss"
+             	placeholder="选择开始时间"
+             	style="width: 240px;"
+             ></el-date-picker>
+             </el-form-item>
+            </el-col>
+            <!-- <el-col :span="7">
+            	<el-form-item label="时间间隔" prop="isNucleicAcid">
+            	<el-date-picker
+            		clearable
+            		v-model="queryParams.isNucleicAcid"
+            		type="datetime"
+            		value-format="yyyy-MM-dd HH:mm:ss"
+            		format="yyyy-MM-dd HH:mm:ss"
+            		placeholder="选择时间间隔"
+            		style="width: 220px;"
+            	></el-date-picker>
+            	</el-form-item>
+            </el-col> -->
+            <el-col :span="8">
+            	<el-form-item label="采集结束时间" prop="endTime">
+            	<el-date-picker
+            		clearable
+            		v-model="queryParams.params.endTime"
+            		type="datetime"
+            		value-format="yyyy-MM-dd HH:mm:ss"
+            		format="yyyy-MM-dd HH:mm:ss"
+            		placeholder="选择结束时间"
+            		style="width: 240px;"
+            	></el-date-picker>
+            	</el-form-item>
+            </el-col>
+           <el-col :span="4" >
+           	<el-form-item>
+           		<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
+           		<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
+           	</el-form-item>
+           </el-col>
+					</el-row>
+				</el-col>
+				<el-col :span="24">
+					<el-row>
+
+
+					</el-row>
+				</el-col>
+			</el-row>
+		</el-form>
+
+		<el-row :gutter="10" class="mb8">
+			<!-- <el-col :span="1.5"><el-button type="primary" plain icon="el-icon-plus" size="mini" @click="handleAdd(0)" >新增户主</el-button></el-col> -->
+			<el-col :span="1.5">
+				<!-- <el-button type="success" plain icon="el-icon-edit" size="mini" :disabled="single" @click="handleUpdate" >修改</el-button> -->
+			</el-col>
+			<el-col :span="1.5">
+			<!-- 	<el-button type="danger" plain icon="el-icon-edit" size="mini" :disabled="multiple" @click="handleDelete" >变更</el-button> -->
+			</el-col>
+      <el-col :span="1.5">
+      	<!-- <el-button type="success" plain icon="el-icon-download" size="mini"  @click="handleDeleteda" >下载模板</el-button> -->
+      </el-col>
+      <el-col :span="1.5" v-if="queryParams.status == 4">
+        <!-- <el-button
+          type="info"
+          plain
+          icon="el-icon-upload2"
+          size="mini"
+          @click="handleImport"
+          v-hasPermi="['system:czrk:importData']"
+        >导入</el-button> -->
+      </el-col>
+      <el-col :span="1.5" >
+        <el-button
+          type="warning"
+          plain
+          icon="el-icon-view"
+          size="mini"
+          @click="handleDeletefamide"
+        >统计功能</el-button>
+      </el-col>
+      <el-col :span="1.5" >
+       <el-button
+
+          type="warning"
+          plain
+          icon="el-icon-download"
+          size="mini"
+          @click="handleExport"
+          v-hasPermi="['system:accountingData:export']"
+        >导出</el-button>
+      </el-col>
+
+      <el-col :span="1.5" v-for="(ietm,index) in jbuttomfs" :key="index">
+                  	<!-- <el-button type="primary" :plain="nhslke == ietm.dictValue ? false :true" icon="el-icon-view" size="mini"  @click="chajnd(ietm.dictValue)" >{{'查看' + ietm.dictLabel + '人口信息'}}</el-button> -->
+            </el-col>
+      <el-col :span="1.5">
+      	<el-button type="primary" :plain="nhykis" icon="el-icon-view" size="mini"  @click="chajnd" >查看常住人口核酸检测信息</el-button>
+      </el-col>
+      <el-col :span="1.5">
+      	<el-button type="primary" :plain="nhyki" icon="el-icon-view" size="mini"  @click="chajnds" >查看户籍人口核酸检测信息</el-button>
+      </el-col>
+
+			<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
+		</el-row>
+
+		<el-table  v-if="nbdgywkajs == true"   v-loading="loading" :data="infoList" @selection-change="handleSelectionChange" stripe style="width: 100%" :height="tableMaxHeight">
+			<el-table-column label="姓名" align="center" prop="xm"   width="110" fixed="left"/>
+      <el-table-column label="身份证号码" align="center" prop="zjhm" width="180" fixed="left" />
+			<el-table-column label="联系电话(人口信息登记)" align="center" prop="phoneNum" width="160" />
+      <el-table-column label="联系电话(核酸检测登记)" align="center" prop="lxdh" width="160" />
+      <el-table-column v-if="queryParams.queryType == 'hj'" label="户籍地址" width="360" align="center"  >
+        <!-- prop="domicileSelect" -->
+        <!-- style="text-align: left;" -->
+
+        <template slot-scope="scope">
+                 <div v-if="scope.row.nowIn !==null"  v-html="scope.row.domicileSelect  + '<br>' + scope.row.nowIn">
+                 </div>
+                 <div v-else  v-html="scope.row.domicileSelect  + '<br>' + ''">
+                 </div>
+        </template>
+        </el-table-column>
+      <el-table-column v-if="queryParams.queryType == 'cz'" label="居住地址" align="center" width="360" >
+        <template slot-scope="scope">
+                 <div v-if="scope.row.nowIn !==null"  v-html="scope.row.nowInSelect + '<br>' + scope.row.nowIn">               </div>
+                 <div v-else   v-html="scope.row.nowInSelect + '<br>' + ''">               </div>
+        </template>
+        </el-table-column>
+        <el-table-column label="采集时间" align="center" prop="cjsj" width="102" />
+        <el-table-column label="采集地点" align="center" prop="cjdd" width="140" />
+        <el-table-column label="审核时间" align="center" prop="jcsj" width="102" />
+        <el-table-column label="核验点名称" align="center" prop="jcdd" width="140" />
+		</el-table>
+
+<pagination v-if="queryParams.queryType == 'hj'" v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize" @pagination="getList" />
+    <pagination v-if="queryParams.queryType == 'cz'" v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize" @pagination="getListjuzhu" />
+<!-- v-loading="loading" -->
+		<!-- 添加或修改疫苗信息对话框 -->
+
+		<el-dialog   :title="title" :visible.sync="opens" width="1240px" append-to-body>
+			<el-form ref="form" :model="form" :rules="rules" label-width="100px">
+				<el-row>
+					<el-col :span="8">
+						<el-form-item label="身份证号" prop="idCard"><el-input v-model="form.idCard" placeholder="请输入身份证号码" @blur="idcde" /></el-form-item>
+					</el-col>
+					<el-col :span="8">
+						<el-form-item label="姓名" prop="userName"><el-input v-model="form.userName" placeholder="请输入姓名" /></el-form-item>
+					</el-col>
+					<el-col :span="8">
+						<el-form-item label="性别" prop="gender">
+
+							<!-- <el-input v-model="form.gender" placeholder="请输入性别" /> -->
+
+							<el-select v-model="form.gender" placeholder="性别" clearable style="width: 100%;">
+								<el-option v-for="dict in statusOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
+							</el-select>
+						</el-form-item>
+					</el-col>
+					<el-col :span="24">
+						<el-row>
+							<el-col :span="8">
+								<el-form-item label="联系号码" prop="phoneNum"><el-input v-model="form.phoneNum" placeholder="请输入联系号码" /></el-form-item>
+							</el-col>
+							<el-col :span="8">
+								<el-form-item label="人员分类" prop="keyIndustries">
+									<el-select v-model="form.keyIndustries" placeholder="人员分类" clearable style="width: 100%;">
+										<el-option v-for="dict in typeOptionsname" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
+									</el-select>
+								</el-form-item>
+							</el-col>
+							<el-col :span="8">
+								<el-form-item label="年龄" prop="age"><el-input type="number" v-model="form.age" placeholder="请输入年龄" /></el-form-item>
+							</el-col>
+						</el-row>
+					</el-col>
+
+          <el-col :span="24">
+          	<el-row>
+          		<el-col  :span="12" style="position: relative;">
+               <span style="position: absolute;top:5px; color: red;left:25px;">*</span>
+          			<el-form-item label="户籍地址" >
+
+                  <!-- prop="provinceId" -->
+          				<!-- <el-input v-model="form.villageTowns" type="textarea" placeholder="请输入内容" /> -->
+          				<!-- <treeselect v-model="form.parentId" :options="deptOptionstwo" :normalizer="normalizer" :flat="true" :maxHeight="150" @select="djieskle"  @close = "nhyu" :placeholder="nhdyesfgh" /> -->
+          				<el-cascader
+                  v-if="nhyesfx"
+          					:placeholder="nhdyesfgh"
+          					:options="optionsLists"
+          					separator="/"
+                    v-model="nhyeswdga.nhus"
+          					@change="chahe"
+          					:props="optionPropsss"
+          					style="width: 100%;"
+          					ref="myCascader"
+
+                    @active-item-change="handleItemChanges"
+                    :class="[nhdyesfgh == '点击选择户籍地址' ? '' : 'placf']"
+          				></el-cascader>
+                  <!-- @click.native="clicks" -->
+                  <!-- :popper-class="'cascader' + id" -->
+
+
+<!-- @active-item-change="handleItemChanges" -->
+
+
+                  <!-- <el-cascader
+                  	:placeholder="nhdyesfgh"
+                  	:options="optionsList"
+                  	:filterable="true"
+                  	separator="/"
+                  	@change="chahe(index)"
+                  	v-model="selected"
+                  	:props="optionPropsss"
+                  	style="width: 100%;"
+                  	ref="myCascader"
+                    @active-item-change="handleItemChange"
+                    :class="[nhdyesfgh == '点击选择居住地址' ? '' : 'placf']"
+                  ></el-cascader> -->
+          			</el-form-item>
+
+          		</el-col>
+
+          		<el-col :span="12">
+          			<el-form-item label="详细地址" prop="nowIn"><el-input v-model="form.nowIn" type="input" placeholder="请输入户籍详细地址" /></el-form-item>
+          		</el-col>
+          	</el-row>
+          </el-col>
+
+					<el-col :span="24" v-for="(item, index) in form.czrkJzdzList" :key="index"  v-show="senlsduea == false || index !== 0" >
+            <!-- v-show="senlsduea == false || index !== 0" -->
+            <el-col :span="12" >
+            	<el-form-item label="居住地址" prop="province">
+
+                <!-- item.optiodne -->
+                <el-cascader
+                	:placeholder="item.plaed"
+                	:options="item.optiodne"
+                	:filterable="true"
+                	separator="/"
+                	@change="onSelected(index)"
+                	:props="optionPropsss"
+                	style="width: 100%;"
+                	:ref="'myCascaderf' + '' + index "
+                  v-model="item.seleted"
+                  :key="cascaderKey"
+                  @expand-change="idjeus"
+                  :class="[item.plaed == '请选择居住地址' ? '' : 'placf']"
+                  @active-item-change="handleItemChange"
+                ></el-cascader>
+                <!-- @click.native="click(index)"
+                :popper-class="'cascader' + idsf" -->
+                <!-- @active-item-change="handleItemChange" -->
+
+                <!-- v-if="jdourdjoaj == false && index == 0" -->
+
+                <!-- <treeselect v-model="item.seleted" :options="item.optiodne" :show-count="true" placeholder="请选择归属部门" :load-options="loadOptions" :normalizer="normalizer" /> -->
+                </el-form-item>
+                 <!-- @active-item-change="handleItemChange" -->
+            	</el-form-item>
+              <!-- :key="cascaderKey"  seleted -->
+
+            </el-col>
+            <el-col :span="11">
+            	<el-form-item label="详细地址" prop="nowIn"><el-input v-model="item.nowIn" type="input" placeholder="请输入内容" /></el-form-item>
+            </el-col>
+            <el-col :span="1">
+              <div class="hyeoa" style="margin-top: 10px;">
+              	 <el-tooltip class="item" effect="dark" content="新增居住地址信息,请慎重操作" placement="top-start">
+              	      <img src="../../../assets/images/icon_tc_add.png" alt="" class="hueyde" @click="tijea(index)" />
+              	    </el-tooltip>
+              		<el-tooltip class="item" effect="dark" content="删除无法恢复,请慎重操作" placement="top-start">
+              		     <img src="../../../assets/images/delei.png" alt="" class="hueydele" @click="naeyrfakjf(index, item)" />
+              		   </el-tooltip>
+              </div>
+            </el-col>
+          </el-col>
+
+					<el-col :span="24">
+						<el-col :span="12">
+							<el-form-item label="是否户主" prop="houseType">
+								<el-select v-model="form.houseType" placeholder="是否户主" clearable style="width: 100%;"  @change="changese">
+									<el-option v-for="dict in typeOptionshuuj" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
+								</el-select>
+							</el-form-item>
+						</el-col>
+						<el-col :span="12">
+              <el-tooltip class="item" effect="dark" content="如果不知道户编号,请用户主身份证号(已默认是户主身份证号)" placement="top-start">
+							<el-form-item label="户编号" prop="code">
+							<el-input      v-model="form.code" placeholder="请输入户主编号"/>
+              <!-- :disabled="nhe" -->
+							</el-form-item>
+              </el-tooltip>
+						</el-col>
+					</el-col>
+
+
+          <el-col :span="24" v-if="shifouh == false">
+          	<el-col :span="12">
+          		<el-form-item label="户主名称" >
+          			<el-input      v-model="form.hzName" placeholder="请输入户主名称"/>
+          		</el-form-item>
+          	</el-col>
+          	<el-col :span="12">
+
+          		<el-form-item label="户主身份证" prop="hzIdCard">
+          		<el-input      v-model="form.hzIdCard" placeholder="请输入户主身份证"/>
+              <!-- :disabled="nhe" -->
+          		</el-form-item>
+
+          	</el-col>
+          </el-col>
+
+
+          <el-col :span="24">
+            <el-col :span="12">
+                <el-form-item label="与户主关系" prop="yhzgx">
+                	<el-select filterable v-model="form.yhzgx" placeholder="与户主关系" clearable style="width: 100%;">
+                		<el-option v-for="dict in typeOptionstyzandeh" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictLabel" />
+                	</el-select>
+                </el-form-item>
+            </el-col>
+            <el-col :span="12">
+            	<el-form-item label="网格" prop="houseTyper">
+            		<el-cascader
+            			:placeholder="ndhesdweaf"
+            			:options="optionsListwg"
+            			filterable
+            			@change="chahetwoswge"
+            			:props="optionPropsssdwg"
+            			style="width: 100%;"
+            		  ref = "cddfr"
+                  :key="nhduesw"
+            		  @active-item-change="handleItemChangefrwg"
+                  :class="[ndhesdweaf == '点击选择网格' ? '' : 'placf']"
+            		></el-cascader>
+            	</el-form-item>
+            </el-col>
+          </el-col>
+
+          <el-col :span="24">
+            <el-col :span="12">
+              <el-form-item label="备注" prop="remark">
+              	<el-input v-model="form.remark" type="input" placeholder="请输入备注" />
+              </el-form-item>
+            </el-col>
+            <el-col :span="12">
+                <el-form-item label="人员状态" prop="remark">
+                	<el-select v-model="formgt.houseType" placeholder="请选择人员状态" clearable style="width: 100%;">
+                		<el-option v-for="dict in typeOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
+                	</el-select>
+                </el-form-item>
+            </el-col>
+
+          </el-col>
+
+				</el-row>
+
+			</el-form>
+			<div slot="footer" class="dialog-footer">
+        <el-button type="success" @click="xinxihe" v-if="nhtrew">修改并确认</el-button>
+				<el-button type="primary" @click="submitForm">确 定</el-button>
+				<el-button @click="cancel">取 消</el-button>
+			</div>
+		</el-dialog>
+
+
+<el-dialog :close-on-click-modal="false" title="查看统计信息" :visible.sync="jiezhong" :width="nhyesoder == 3 ? '67%' : '87%'" append-to-body class="ojhgy tabsty" height="280" >
+    <el-form :model="tj" ref="tj" :inline="true"  label-width="100px">
+      <el-row>
+        <el-col :span="14">
+          <el-form-item label="选择乡镇/村" prop="remark">
+          	<!-- <el-cascader
+          		placeholder="选择乡镇/村"
+          		:options="optionsList"
+          		filterable
+          		@change="chahetwos"
+          		:props="optionPropsssd"
+              style="width: 161%;"
+          		@keyup.enter.native="handleQuery"
+          	  ref = "cdd"
+          	  v-model="listd"
+          	  @active-item-change="handleItemChangefr"
+          	></el-cascader> -->
+            <el-cascader
+            	placeholder="选择乡镇/村"
+            	:options="optionsList"
+            	:filterable="true"
+            	separator="/"
+            	@change="chahetwo"
+            	:props="optionPropsss"
+            	style="width: 161%;"
+            	ref="myCascaderqty"
+              v-model="lser"
+              @active-item-change="handleItemChangefr"
+              @keyup.enter.native="handleQuery"
+            ></el-cascader>
+          </el-form-item>
+        </el-col>
+        <el-col :span="6">
+        <el-form-item>
+        	<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuerytj">搜索</el-button>
+        	<el-button icon="el-icon-refresh" size="mini" @click="resetQuerytj">重置</el-button>
+        </el-form-item>
+        </el-col>
+      </el-row>
+      </el-form>
+    	<el-table stripe border  :show-overflow-tooltip="true" :data="jiezheList"  style="width: 100%" height="270"  v-loading="loading" v-if="nhye == true">
+    			<el-table-column v-if="user.dept.deptName == '潜山市'"  label="乡镇" align="center" prop="name"   width="100" />
+          <el-table-column v-if="user.dept.deptName !== '潜山市'" label="村" align="center" prop="name"   />
+    			<el-table-column label="系统人口数" align="center" prop="hjzrs"  />
+    			<el-table-column label="完成核酸检测数据" align="center" prop="hjymjz"  />
+          <el-table-column label="完成百分比" align="center" prop="hjbfb"  />
+
+    		</el-table>
+        <div v-if="nhye == false" style="text-align: center; font-size: 14px;">正在查询,请稍等</div>
+      <pagination v-show="totalfr > 0" :total="totalfr" :page.sync="ndhuwosdjh.pageNum" :limit.sync="ndhuwosdjh.pageSize" @pagination="chakei({type:ndhuwosdjh.queryType,row:nhyesoder})"/>
+    </el-dialog>
+
+
+
+    <!-- 导入对话框 -->
+    <el-dialog :close-on-click-modal="false" :title="upload.title" :visible.sync="upload.open" width="400px" append-to-body>
+      <el-upload
+        ref="upload"
+        :limit="1"
+        accept=".xlsx, .xls"
+        :headers="upload.headers"
+        :action="upload.url + '?source=' + upload.source"
+        :disabled="upload.isUploading"
+        :on-progress="handleFileUploadProgress"
+        :on-success="handleFileSuccess"
+        :auto-upload="false"
+        drag
+      >
+        <i class="el-icon-upload"></i>
+        <div class="el-upload__text">
+          将文件拖到此处,或
+          <em>点击上传</em>
+        </div>
+        <div class="el-upload__tip" slot="tip">
+          <div class="nhkhv">
+            <span><i>*</i>数据来源:</span>
+            <el-select v-model="upload.source" placeholder="请选择数据来源"    style="width: 100%;">
+            	<el-option v-for="dict in typeOptionstimesgt" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
+            </el-select>
+          </div>
+          <el-link type="info" style="font-size:12px" @click="importTemplate">下载模板</el-link>
+        </div>
+        <div class="el-upload__tip" style="color:red" slot="tip">提示:仅允许导入“xls”或“xlsx”格式文件!</div>
+      </el-upload>
+      <div slot="footer" class="dialog-footer">
+        <el-button type="primary" @click="submitFileForm">确 定</el-button>
+        <el-button @click="nske">取 消</el-button>
+      </div>
+    </el-dialog>
+	</div>
+</template>
+
+<script>
+import { listInfo, listInfos, getInfo, delInfo, addInfo, updateInfo, exportInfo, listRoleer, idces, delInfort,yiaoe,exportConfig,exportConfigtyr,importLog,listInfotj,listRoleergth,listInfotjxz,listInfotjjs,listInfotjjsfaml,listRoleergthwg,listInfotjjssbule,listInfotjjssquer } from '@/api/system/ucleic';
+import {listInfosls} from '@/api/system/residentss';
+// import { treeselect } from '@/api/system/dept';
+import { treeselect,treeselectdepts } from "@/api/system/dept";
+import Treeselect from '@riophae/vue-treeselect';
+import { getToken } from '@/utils/auth';
+import '@riophae/vue-treeselect/dist/vue-treeselect.css';
+import "@riophae/vue-treeselect/dist/vue-treeselect.css";
+import { getUserProfile } from "@/api/system/user";
+export default {
+	name: 'Info',
+	components: { Treeselect },
+	data() {
+		return {
+			// 遮罩层
+			loading: true,
+      tj:{},
+			// 选中数组
+			ids: [],
+			// 非单个禁用
+			single: true,
+			// 非多个禁用
+			multiple: true,
+			// 显示搜索条件
+			showSearch: true,
+			// 总条数
+			total: 0,
+      user:{
+        dept:{deptName:null}
+      },
+      id:'fg',
+      idsf:'gh',
+      ruleshy:{},
+			// 疫苗信息表格数据
+			infoList: [],
+			dialogImageUrl: '',
+      // 用户导入参数
+      upload: {
+        // 是否显示弹出层(用户导入)
+        open: false,
+        // 弹出层标题(用户导入)
+        title: "",
+        // 是否禁用上传
+        isUploading: false,
+        // 是否更新已经存在的用户数据
+        source: null,
+        // 设置上传的请求头部
+        headers: { Authorization: "Bearer " + getToken() },
+        // 上传的地址
+        url: process.env.VUE_APP_BASE_API + "/boman-web-core/core/czrk/importData"
+      },
+			// 弹出层标题
+			title: '',
+      totalfr:0,
+			// 是否显示弹出层
+			opens: false,
+			process: process.env.VUE_APP_BASE_API,
+			// 查询参数
+			queryParams: {
+				xm:null,
+        zjhm:null,
+        isNucleicAcid:null,
+        timeSlot:null,
+        queryType:'hj',
+        pageNum: 1,
+        pageSize: 10,
+        params:{
+          startTime:null,
+          endTime:null
+        }
+			},
+			config: [],
+      nhyeswdga:{nhus:[]},
+			comfietg:[],
+			configther:[],
+			configfor:[],
+      optionsListwg:[],
+      nhduesw:0,
+      nhslke:'3',
+			// 表单参数
+			form: {
+				nowIn: '',
+				age:'',
+				code:'',
+				czrkJzdzList: [
+					{
+						provinceId: '',
+						province: '',
+						deptId: '',
+						cityId: '',
+						city: '',
+						regionId:'',
+            region: '',
+            townId: '',
+            town: '',
+            villageId: '',
+            village: '',
+            nowIn:'',
+            seleted:[],
+            plaed:'请选择居住地址',
+						disableg:false
+					},
+          {
+          	provinceId: '',
+          	province: '',
+          	deptId: '',
+          	cityId: '',
+          	city: '',
+          	regionId:'',
+            region: '',
+            townId: '',
+            town: '',
+            villageId: '',
+            village: '',
+            nowIn:'',
+            seleted:[],
+            plaed:'请选择居住地址',
+          	disableg:false
+          }
+				]
+			},
+      nhykis:true,
+      nhyki:false,
+
+			// 表单校验
+			rules: {
+				idCard: [{ required: true, message: '身份证号码不能为空', trigger: 'blur' }],
+				userName: [{ required: true, message: '姓名不能为空', trigger: 'blur' }],
+				provinceId:[{ required: true, message: '户籍地址不能为空或不能只选潜山市', trigger: 'blur' }],
+        houseType:[{ required: true, message: '请选择户主', trigger: 'blur' }],
+        code:[{ required: true, message: '请输入户编号信息', trigger: 'blur' }],
+        yhzgx:[{ required: true, message: '请选择与户主关系', trigger: 'blur' }],
+      },
+      // yhzgx:[{ required: true, message: '请选择与户主关系', trigger: 'blur' }],
+			selected: [],
+			selectedtwo: [],
+			statusOptions: [
+				{
+					dictValue: '女',
+					dictLabel: '女'
+				},
+				{
+					dictValue: '男',
+					dictLabel: '男'
+				}
+			],
+			statusOptionstue: [
+				{
+					dictValue: 'Y',
+					dictLabel: '完成'
+				},
+				{
+					dictValue: 'N',
+					dictLabel: '未完成'
+				}
+			],
+			typeOptionshuuj: [
+				{
+					dictValue: '是',
+					dictLabel: '是'
+				},
+				{
+					dictValue: '否',
+					dictLabel: '否'
+				}
+			],
+      typeOptionshuujs: [
+      	{
+      		dictValue: 'Y',
+      		dictLabel: '是'
+      	},
+      	{
+      		dictValue: 'N',
+      		dictLabel: '否'
+      	}
+      ],
+			deptOptionstwo: [],
+			options: [],
+      optionss:[],
+      optionsList: [],
+			optionProps: {
+				value: 'areaId',
+				label: 'name',
+				checkStrictly: true,
+			},
+      optionPropsssd:{
+        value: 'areaId',
+        label: 'name',
+        checkStrictly: true,
+        lazy: true,
+        lazyLoad: this.lazyLoads,
+        leaf: "leaf"
+      },
+      optionPropsss: {
+      	value: 'areaId',
+      	label: 'name',
+      	checkStrictly: true,
+      },
+      // optionPropsss: {
+      // 	value: 'id',
+      // 	label: 'label',
+      // 	checkStrictly: true,
+      // },
+      optionPropsssdwg:{
+        value: 'id',
+        label: 'areaName',
+        checkStrictly: true,
+      },
+			optionPropstwo: {
+				value: 'id',
+				label: 'label',
+				children: 'children',
+				checkStrictly: true
+			},
+			heuiq: [],
+			typeOptions: [],
+			typeOptionsty: [
+				{
+					dictValue: '是',
+					dictLabel: '是'
+				},
+				{
+					dictValue: '否',
+					dictLabel: '否'
+				}
+			],
+			typeOptionstyzandeh:[],
+			angesList: [
+
+			],
+			typeOptionsname: [],
+			typeOptionstimes: [],
+			typeOptionsvaccinatio: [],
+			typeOptionscont: [],
+			typeOptionscontty: [],
+			typeOptionscontqit:[],
+			// 剂次
+			typeOptionstimesgt: [
+
+			],
+			imashow: false,
+			naneme: false,
+			shouwes: false,
+			shouwestwo:false,
+			villageTownshy: undefined,
+			naiseurya: '',
+			hsuej: '',
+			jdourdjoaj: false,
+      senlsduea:false,
+			jiezhong: false,
+			jiezheList: [],
+			fireLise:{config:[]},
+			nameutaiL:0,
+			jue:false,
+			nhue:true,
+      exportflag:true,
+      errorlog:false,
+      errorList:[],
+      idfer:0,
+      formgt:{},
+      list: [],
+      listd:[],
+      lser:[],
+      ndhesdweaf :'点击选择网格',
+      dneyhsd:{},
+      nhdyesfgh:'点击选择户籍地址',
+      nhe:false,
+      nhyesoder:0,
+      ndhuwosdjh:{
+        pageNum: 1,
+        pageSize: 10,
+      },
+      tableMaxHeight:300,
+      cascaderKey:0,
+      optionsLists:[],
+      nhyeojd:false,
+      ndhyuewkg:[],
+      nhdyesku:false,
+      nbdgywkajs:false,
+      shifouh:true,
+      bhdes:{},
+      nhtrew:false,
+      bgtes:[],
+      ndheysfs:false,
+      nhyesaw:1,
+      nhyesfx:false,
+      jbuttomfs:[],
+      biangneg:false,
+      bgls:[],
+      pighomeList:[],
+      optiodne:[],
+      nnd:[],
+      nhye:false
+		};
+	},
+	created() {
+		this.getList();
+		// this.getTreeselectjue();
+    // this.mnyesfjer(0)
+    this.mnyesfjers("340882000000")
+    // this.mnyesfjerop(0)
+    // this.mnyesfjeropwg("340882000000")
+    // this.queryParams.djsjjs = this.ShowDate('0')
+    // this.queryParams.djsjqs = this.ShowDate('7')
+    console.log(this.ShowDate('7'))
+    // this.getTreeselectjuetj()
+    // this.getTreeselect()
+		// 变更原因
+		// this.getDicts('person_type').then(response => {
+		// 	this.typeOptions = response.data;
+  //     // this.jbuttomfs = response.data
+		// });
+    // this.getDicts('people_status').then(response => {
+    // 	// this.typeOptions = response.data;
+    //   this.jbuttomfs = response.data
+    // });
+		// 疫苗名称
+		// this.getDicts('renyuanfenlei').then(response => {
+		// 	this.typeOptionsname = response.data;
+		// });
+
+    // 与户主关系
+    // this.getDicts('yuhuzhuguanxi').then(response => {
+    // 	this.typeOptionstyzandeh = response.data;
+    // });
+
+		// 年龄阶段
+		// this.getDicts('age_interval').then(response => {
+		// 	this.angesList = response.data;
+		// });
+
+		// this.form.province = this.selected[0];
+		// this.form.city = this.selected[1];
+		// this.form.region = this.selected[2];
+		console.log(this.selected,456)
+    console.log(this.cascaderKey,347)
+		// this.queryParams.province = this.selectedtwo[0];
+		// this.queryParams.city = this.selectedtwo[1];
+		// this.queryParams.region = this.selectedtwo[2];
+		// this.naiseurya = this.form.province + this.form.city + this.form.region;
+    window.onresize = () => {
+                    this.changeTableMaxHeight()
+                  }
+                  this.changeTableMaxHeight()
+
+
+	},
+	mounted() {
+		console.log(136)
+    window.onresize = () => {
+                    this.changeTableMaxHeight()
+                  }
+                  this.changeTableMaxHeight()
+	},
+
+	methods: {
+    //  获取猪舍
+    homeNameFormat(row, column) {
+      return this.selectDictLabel(this.typeOptions,row.status);
+      },
+    // 筛选节点
+    filterNode(value, data) {
+      if (!value) return true;
+      return data.name.indexOf(value) !== -1;
+    },
+    nhyeosdsef(){
+     console.log(234)
+    },
+    /** 转换菜单数据结构 */
+    normalizer(node) {
+      if (node.children && !node.children.length) {
+        delete node.children;
+      }
+      return {
+        id: node.id,
+        label: node.label,
+        children: node.children
+      };
+    },
+    /** 初始化下拉框数据 **/
+        getRootModels() {
+           //初始化数据 只加载根节点
+           listRoleergth('0').then(response => {
+             // for(let index of response.data){
+             //   let modeInfo = {} ;
+             //   modeInfo.id = index.id
+             //   modeInfo.label = index.name;
+             //   modeInfo.children = null;
+             //   this.rootOptions.push(modeInfo);
+             // }
+             // for(var i = 0 ; i < this.form.czrkJzdzList.length ; i++){
+               // this.nameutaiL = i
+               // this.mnyesfjerty(0)
+               this.optiodne.push(response.data)
+             // }
+           });
+         },
+    /** 加载子节点数据 **/
+         loadOptions({ action, parentNode, callback }){
+           console.log(action,125)
+           if (action === "LOAD_CHILDREN_OPTIONS") {
+           	  //加载点击节点的 子节点
+              var ndhes = {}
+              ndhes.pid = parentNode.areaId
+              listRoleergth(ndhes).then(response => {
+                let arr = [];
+                arr = response.data
+                // for(let index of response.data){
+                //   let chiledModeInfo = {} ;
+                //   chiledModeInfo.id = index.id
+                //   chiledModeInfo.label = index.name;
+                //   chiledModeInfo.children = null;
+                //   arr.push(chiledModeInfo);
+                // }
+                parentNode.children = arr;
+              });
+              callback();
+            }
+         },
+
+		onSelected(data,val) {
+			console.log(data, 125);
+      if(this.opens == false){
+        return  false
+      }
+      this.nameutaiL = data
+      // console.log(this.nameutaiL,76543)
+      // console.log(this.form.czrkJzdzList[data].seleted)
+      // console.log(this.$refs['myCascaderf' + '' + data],123)
+      // console.log(this.$refs['myCascaderf' + '' + data][0].$refs.panel.checkedValue,data)
+      // console.log(this.$refs['myCascaderf' + '' + data][0].getCheckedNodes()[0].pathLabels)
+
+      // if(data !== 0){
+      //   if(this.nhyeojd = true){
+      //     this.$refs['myCascaderf' + '' + this.nameutaiL][0].$refs.panel.clearCheckedNodes()
+      //   }
+      // }
+      // var nhedse = []
+      // nhedse = this.$refs['myCascaderf']
+      // if(nhedse.length > 1){
+      //   this.$refs['myCascaderf'] = this.$refs['myCascaderf'][0];
+      //   console.log(this.$refs['myCascaderf'],133)
+      //   // for(var i = 0 ; i < nhedse.length; i++){
+      //   //   if(i == 0){
+      //   //     this.$refs['myCascaderf'][0].$refs.panel.clearCheckedNodes()
+      //   //   }
+      //   // }
+      // }
+   //    this.$refs['myCascaderf'][0].$refs.panel.checkedValue =  this.form.czrkJzdzList[data].seleted
+   //    console.log(this.$refs['myCascaderf'][0].$refs.panel.checkedValue,data)
+   //    console.log(this.$refs['myCascaderf'][0].getCheckedNodes()[0].pathLabels)
+      this.nhyeojd = false
+      // this.nhdyesku = false
+			// province
+      let nhdye = []
+      nhdye = this.$refs['myCascaderf' + '' + data][0].getCheckedNodes()[0].pathLabels
+      let nhyhe = []
+      nhyhe = this.form.czrkJzdzList[data].seleted
+      if(nhdye.length == 1){
+        this.form.czrkJzdzList[data].provinceId = nhyhe[ nhyhe.length - 1];
+        this.form.czrkJzdzList[data].province = nhdye[ nhdye.length - 1];
+        this.form.czrkJzdzList[data].cityId = null
+        this.form.czrkJzdzList[data].city = null
+        this.form.czrkJzdzList[data].regionId = null
+        this.form.czrkJzdzList[data].region = null
+        this.form.czrkJzdzList[data].townId = null
+        this.form.czrkJzdzList[data].town = null
+        this.form.czrkJzdzList[data].villageId = null
+        this.form.czrkJzdzList[data].village = null
+      }else if(nhdye.length == 2){
+        this.form.czrkJzdzList[data].cityId = nhyhe[ nhyhe.length - 1];
+        this.form.czrkJzdzList[data].city = nhdye[ nhdye.length - 1];
+        this.form.czrkJzdzList[data].regionId = null
+        this.form.czrkJzdzList[data].region = null
+        this.form.czrkJzdzList[data].townId = null
+        this.form.czrkJzdzList[data].town = null
+        this.form.czrkJzdzList[data].villageId = null
+        this.form.czrkJzdzList[data].village = null
+      }else if(nhdye.length == 3){
+        this.form.czrkJzdzList[data].regionId = nhyhe[ nhyhe.length - 1];
+        this.form.czrkJzdzList[data].region = nhdye[ nhdye.length - 1];
+        this.form.czrkJzdzList[data].townId = null
+        this.form.czrkJzdzList[data].town = null
+        this.form.czrkJzdzList[data].villageId = null
+        this.form.czrkJzdzList[data].village = null
+      }else if(nhdye.length == 4){
+        this.form.czrkJzdzList[data].townId = nhyhe[ nhyhe.length - 1];
+        this.form.czrkJzdzList[data].town = nhdye[ nhdye.length - 1];
+        this.form.czrkJzdzList[data].villageId = null
+        this.form.czrkJzdzList[data].village = null
+      }else if(nhdye.length == 5){
+        this.form.czrkJzdzList[data].villageId = nhyhe[ nhyhe.length - 1];
+        this.form.czrkJzdzList[data].village = nhdye[ nhdye.length - 1];
+      }
+     this.form.czrkJzdzList[data].deptId =  nhyhe[ nhyhe.length - 1]
+      // id
+			// this.form.province = data[0];
+			// this.form.city = data[1];
+			// this.form.region = data[2];
+      // 名称
+			// this.naiseurya = this.form.province + this.form.city + this.form.region;
+			// if (this.jdourdjoaj == false) {
+			// 	// 修改
+			// 	this.form.nowIn = '';
+			// }
+			// this.form.nowIn = undefined
+			// this.form.villageTowns = data[3]
+      console.log(this.form)
+		},
+		dakousr() {
+			console.log(2345);
+		},
+    mnyesfjer(index,val){
+      this.loading = true;
+      let pids = {}
+      pids.pid = index
+      listRoleergth(pids).then(response => {
+        // this.cascaderKey = this.cascaderKey + 1
+        if(response.data.length == 0){
+          return
+        }
+        if(val !== undefined){
+          this.nameutaiL = val
+        }
+         console.log(this.nameutaiL,87)
+      	// this.form.czrkJzdzList[this.nameutaiL].optiodne = this.handleData(response.data);
+        this.optionsLists = this.handleData(response.data);
+        this.optionsList = this.handleData(response.data);
+        // this.form.czrkJzdzList[0].optiodne
+      	this.loading = false;
+        console.log(this.cascaderKey,8765)
+      });
+    },
+    mnyesfjerty(index,val){
+      this.loading = true;
+      let pids = {}
+      pids.pid = index
+      listRoleergth(pids).then(response => {
+        // this.cascaderKey = this.cascaderKey + 1
+        if(response.data.length == 0){
+          return false
+        }
+        for(var i = 0 ; i < this.form.czrkJzdzList.length ; i++){
+          // this.nameutaiL = i
+          // this.mnyesfjerty(0)
+          console.log(i,7528)
+          // this.form.czrkJzdzList[i].optiodne = this.handleData(response.data);
+        }
+
+        // this.form.czrkJzdzList[0].optiodne
+      	this.loading = false;
+        console.log(this.cascaderKey,8765)
+      });
+    },
+
+    mnyesfjerop(index){
+      this.loading = true;
+      let pids = {}
+      pids.pid = index
+      listRoleergth(pids).then(response => {
+      	this.optionsList = this.handleData(response.data);
+      	this.loading = false;
+      });
+    },
+
+    mnyesfjeropwg(index){
+      this.loading = true;
+      let pids = {}
+      pids.pid= index
+      listRoleergthwg(pids).then(response => {
+      	this.optionsListwg = this.handleDatawg(response.data);
+      	this.loading = false;
+      });
+    },
+    mnyesfjers(index){
+      this.loading = true;
+      let pids = {}
+      pids.pid = index
+      listRoleergth(pids).then(response => {
+        // this.cascaderKey = this.cascaderKey + 1
+        if(response.data.length == 0){
+          return false
+        }
+      	this.optionsList = this.handleData(response.data);
+      	this.loading = false;
+        console.log(this.cascaderKey,8765)
+      });
+    },
+   idjeus(data){
+    console.log(data,2347)
+    // this.cascaderKey = this.cascaderKey + 1
+   },
+     format() {
+          let res =  this.getfristChild(); // 拿一级数据
+          this.list.forEach((item) => {
+            // 遍历回显的id 二维数组
+            if (item.length > 1) {
+              item.forEach(async (sitem, index) => {
+                if (index == item.length - 1) {
+                  return; // 如果是一级节点就不用查找了
+                }
+                let arr =  this.getOther(sitem); // 不是一级,获取子级
+                this.findItem(res, arr, sitem); //  判断当前拿到的子级数据属于哪个一级数据下的子级,并且加到当前一级的children属性下
+              });
+            }
+          });
+           },
+     // 递归判断
+           findItem(res, arr, id) {
+            for (let i = 0; i < res.length; i++) {
+              if (res[i].value === id) {
+                res[i].children = arr; // 有chidlren 也要判断是不是这个children下的子级
+                return res;
+              }
+              if (res[i].children) {
+                this.findItem(res[i].children, arr, id);
+              }
+            }
+             return res;
+          },
+
+
+   // getAddress() {
+   // 	        this.mnyesfjer(0).then(res => {
+   // 	          this.optionsList =  this.handleData(res.data);
+   // 	        }).catch(err => {
+   // 	        })
+   // 	    },
+   	     handleItemChange(val) {
+           console.log(val,235)
+   	        let code = val ? val[val.length - 1] : '';  //需请求数据的上级地址的code值
+   	        let level = val.length + 1;  //需请求第几级地址
+            console.log(this.nameutaiL,2345)
+            console.log(this.form.czrkJzdzList,12365)
+            this.$set(this.form.czrkJzdzList[this.nameutaiL],'optiodne',this.handleData(this.form.czrkJzdzList[this.nameutaiL].optiodne, code, level))
+          },
+
+
+          handleItemChangefr(val) {
+            console.log(val,235)
+             let code = val ? val[val.length - 1] : '';  //需请求数据的上级地址的code值
+             let level = val.length + 1;  //需请求第几级地址
+             this.optionsList = this.handleData(this.optionsList, code, level);
+          	},
+
+          handleItemChanges(val) {
+            console.log(val,235)
+             let code = val ? val[val.length - 1] : '';  //需请求数据的上级地址的code值
+             let level = val.length + 1;  //需请求第几级地址
+             this.optionsLists = this.handleData(this.optionsLists, code, level);
+             this.cascaderKey = this.cascaderKey + 1
+          	},
+
+         	handleData(data, val, level) {
+            console.log(data,val,level,7536)
+   	        for (let i = 0; i < data.length; i++) {
+   	          if(!data[i].children) {
+   	            this.$set(data[i], 'children', []);
+   	          }
+   	          if(data[i].areaId === val){
+                let vfer = {}
+                vfer.pid = val
+   	            listRoleergth(vfer).then(res => {
+                  // this.cascaderKey = this.cascaderKey + 1
+   	              if(res.data.length) {
+                    console.log(data[i].children,4567)
+   	                // data[i].children = res.data;
+                    this.$set(data[i], 'children', res.data)
+                    console.log(data[i].children,45678)
+                     // this.nhdyesku = true
+   	                data[i].children.forEach(ele => {
+   	                  this.$set(ele, 'children', [])
+   	                });
+   	              }else {
+   	                data[i].children = undefined;
+   	              }
+   	            }).catch(err => {
+   	            });
+   	          }else {
+   	            if(data[i].children.length){
+   	              this.handleData(data[i].children,val,level)
+   	            }
+   	          }
+   	        }
+
+             return data;
+         },
+
+         handleItemChangefrwg(val) {
+           console.log(val,235)
+            let code = val ? val[val.length - 1] : '';  //需请求数据的上级地址的code值
+            let level = val.length + 1;  //需请求第几级地址
+            this.optionsListwg = this.handleDatawg(this.optionsListwg, code, level);
+         	},
+         handleDatawg(data, val, level) {
+            console.log(data,val,level,7536)
+            for (let i = 0; i < data.length; i++) {
+              if(!data[i].children) {
+                this.$set(data[i], 'children', []);
+              }
+              if(data[i].id === val){
+                let vfer = {}
+                vfer.pid = val
+                listRoleergthwg(vfer).then(res => {
+                  // this.cascaderKey = this.cascaderKey + 1
+                  if(res.data.length) {
+                    console.log(data[i].children,4567)
+                    // data[i].children = res.data;
+                    this.$set(data[i], 'children', res.data)
+                    console.log(data[i].children,45678)
+                     this.nhdyesku = true
+                    data[i].children.forEach(ele => {
+                      this.$set(ele, 'children', [])
+                    });
+                  }else {
+                    data[i].children = undefined;
+                  }
+                }).catch(err => {
+                });
+              }else {
+                if(data[i].children.length){
+                  this.handleDatawg(data[i].children,val,level)
+                }
+              }
+            }
+
+             return data;
+         },
+
+		onSelectedtwo(data) {
+			console.log(data);
+			// province
+			this.queryParams.province = data[0];
+			this.queryParams.city = data[1];
+			this.queryParams.region = data[2];
+			// this.queryParams.villageTowns = data[3]
+		},
+		/** 查询户籍疫苗信息列表 */
+		getList() {
+			this.loading = true;
+      this.nbdgywkajs = true
+      this.total = 0
+			listInfo(this.queryParams).then(response => {
+				this.infoList = response.rows;
+        this.nbdgywkajs = true
+				this.total = response.total;
+				this.loading = false;
+			});
+		},
+    /** 查询居住疫苗信息列表 */
+    getListjuzhu() {
+    	this.loading = true;
+      this.nbdgywkajs = true
+      this.total = 0
+    	listInfos(this.queryParams).then(response => {
+    		this.infoList = response.rows;
+        this.nbdgywkajs = true
+    		this.total = response.total;
+    		this.loading = false;
+    	});
+    },
+    // 变更历史
+    getListls(row) {
+    	this.loading = true;
+      // this.nbdgywkajs = true
+      this.biangneg = true
+    	listInfosls(row).then(response => {
+    		this.bgls = response.data;
+        // this.nbdgywkajs = true
+    		this.total = response.total;
+    		this.loading = false;
+    	});
+    },
+
+		getToken() {
+			return getToken();
+		},
+		getTreeselectjue() {
+			this.loading = true;
+      let pids = {}
+      pids.pid = 0
+			listRoleer().then(response => {
+				this.options = response.data;
+				this.loading = false;
+			});
+		},
+    // 统计数据
+    getTreeselectjuetj() {
+    	this.loading = true;
+      this.dneyhsd = []
+      listInfotj().then(response => {
+        if(response.data !== undefined){
+          this.dneyhsd =  response.data
+        }else{
+          this.dneyhsd.push({dqdw:null,zhen:null,cun:null,zu:null,czzrs:null,czxz:null,czjs:null,hjzrs:null,hjxz:null,dneyhsd:null})
+        }
+
+        this.loading = false;
+      });
+    },
+
+		// 点击组/角色
+		djieskle(node, instanceId) {
+			// this.personnel(node.id);
+			console.log(node, instanceId);
+		},
+    nhyu(value, instanceId){
+      console.log(value, instanceId);
+    },
+		// 身份证
+		idcde(event) {
+			console.log(event);
+			// 身份证号码为15位或者18位,15位时全为数字,18位前17位为数字,最后一位是校验位,可能为数字或字符X
+			let reg = /^([1-6][1-9]|50)\d{4}(18|19|20)\d{2}((0[1-9])|10|11|12)(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/;
+      let _IDre15 =  /^([1-6][1-9]|50)\d{4}\d{2}((0[1-9])|10|11|12)(([0-2][1-9])|10|20|30|31)\d{3}$/;
+      // 护照
+       // let ncjsle = /^1[45][0-9]{7}$|(^[P|p|S|s]\d{7}$)|(^[S|s|G|g|E|e]\d{8}$)|(^[Gg|Tt|Ss|Ll|Qq|Dd|Aa|Ff]\d{8}$)|(^[H|h|M|m]\d{8,10}$)/;
+       let ncjsle = /^[a-zA-Z0-9]{5,17}$/
+       let nhyeli = /^[a-zA-Z]{5,17}$/
+      // 港澳
+      let gnse = /^([A-Z]\d{6,10}(\(\w{1}\))?)$/;
+      // 台湾
+      // let tw = /^\d{8}|^[a-zA-Z0-9]{10}|^\d{18}$/
+      var tw =  /^[0-9]{8}$/;
+       var twe = /^[0-9]{10}$/;
+      // 校验身份证:
+      console.log(reg.test(this.form.idCard),23741)
+			if ( reg.test(this.form.idCard)|| _IDre15.test(this.form.idCard)) {
+				this.idea();
+				// this.go(this.form.idCard.length);
+				// callback()
+			} else {
+        if(ncjsle.test(this.form.idCard) || nhyeli.test(this.form.idCard)){
+           console.log(3)
+        }else{
+          if(gnse.test(this.form.idCard)  ){
+              console.log(4)
+          }else{
+            if(tw.test(this.form.idCard) || twe.test(this.form.idCard)){
+              console.log(5)
+            }else{
+              this.msgInfo('证件格式不正确');
+            }
+
+            // return false
+          }
+
+        }
+				// callback(new Error('身份证号码不正确'))
+			}
+		},
+		// 实现自动生成生日,性别,年龄
+		go(val) {
+			let iden = this.form.idCard;
+			let sex = null;
+			let birth = null;
+			let birthr = '';
+			let myDate = new Date();
+			let month = myDate.getMonth() + 1;
+			let day = myDate.getDate();
+			let age = 0;
+
+			if (val === 18) {
+				age = myDate.getFullYear() - iden.substring(6, 10) - 1;
+				sex = iden.substring(16, 17);
+				birth = iden.substring(6, 10) + '-' + iden.substring(10, 12) + '-' + iden.substring(12, 14);
+				if (iden.substring(10, 12) < month || (iden.substring(10, 12) == month && iden.substring(12, 14) <= day)) age++;
+			}
+			if (val === 15) {
+				age = myDate.getFullYear() - iden.substring(6, 8) - 1901;
+				sex = iden.substring(13, 14);
+				birth = '19' + iden.substring(6, 8) + '-' + iden.substring(8, 10) + '-' + iden.substring(10, 12);
+				if (iden.substring(8, 10) < month || (iden.substring(8, 10) == month && iden.substring(10, 12) <= day)) age++;
+			}
+
+			if (sex % 2 === 0) sex = '女';
+			else sex = '男';
+			this.form.gender = sex;
+			// this.baseInfo.age = age;
+			birthr = birth + '';
+			console.log(birthr);
+			// this.form.birthday = birthr;
+			// this.$set(this.form.birthday, birthr)
+			// this.baseInfo.birthplace = this.area[iden.substring(0,2)];
+		},
+
+
+		// 请求身份证数据
+		idea() {
+			idces({ idCard: this.form.idCard }).then(response => {
+				console.log(response);
+				this.form.gender = response.data.gender;
+				// this.form.birthday = response.data.birthday;
+				this.form.age = response.data.age
+        if(response.data.code !== null){
+          this.$set(this.form, 'code', response.data.code)
+          // this.form.code = response.data.code
+        }
+				if (response.data.userName == null) {
+					// this.form.userName = undefined;
+          this.$set(this.form, 'userName', null)
+				} else {
+     //      this.form
+					// this.form.userName = response.data.userName;
+          this.$set(this.form, 'userName', response.data.userName)
+				}
+
+        this.form.phoneNum   = response.data.phoneNum
+        if(response.data.houseType !==null){
+          this.form.houseType   = response.data.houseType
+        }
+        this.form.nowIn   = response.data.nowIn
+        this.form.remark   = response.data.remark
+			});
+		},
+
+
+		// 取消按钮
+		cancel() {
+			this.opens = false;
+			this.jiezhong = false;
+			this.imashow = false;
+      this.errorlog=false;
+      this.nhyesfx = false
+      this.form.czrkJzdzList = this.form.czrkJzdzList.splice(1)
+			// this.reset();
+		},
+		gywoa() {
+			console.log(this.form.isVaccination);
+			if (this.form.isVaccination !== null) {
+				if (this.form.isVaccination == '是') {
+					// 接种疫苗
+					this.naneme = false,
+					this.shouwes = true;
+				}else {
+					this.naneme = true,
+					this.shouwes = false,
+					this.form.czrkJzdzList = [{
+						provinceId: '',
+						province: '',
+						deptId: '',
+						cityId: '',
+						city: '',
+						regionId:'',
+						region: '',
+						townId: '',
+						town: '',
+						villageId: '',
+						village: '',
+						nowIn:'',
+            seleted:[],
+            optiodne:[],
+            plaed:'请选择居住地址',
+					}
+				]
+				}
+			}
+		},
+		gywoatwo() {
+			console.log(this.queryParams.isVaccination);
+			if (this.queryParams.isVaccination !== null) {
+				if (this.queryParams.isVaccination == '是') {
+					// 接种疫苗
+					// (this.naneme = false), (this.shouwes = true);
+					this.shouwestwo = false
+				} else {
+					// (this.naneme = true), (this.shouwes = false);
+					this.shouwestwo = true
+				}
+			}
+		},
+
+		// 表单重置
+		reset() {
+			this.form = {
+				id: undefined,
+				age:'',
+				code:'',
+				houseType: '是',
+				domicile: undefined,
+				province: undefined,
+				city: undefined,
+				region: undefined,
+				userName: undefined,
+				gender: undefined,
+				idCard: undefined,
+				phoneNum: undefined,
+				keyIndustries: undefined,
+				isVaccination: undefined,
+				vaccinationPlace: undefined,
+				contraindication: undefined,
+				nowIn: '',
+        isConfirm:undefined,
+        gridId:undefined,
+				remark: undefined,
+        villageTowns:undefined,
+        village:undefined,
+        czrkJzdzList: [
+        	{
+        		provinceId: '',
+        		province: '',
+        		deptId: '',
+        		cityId: '',
+        		city: '',
+        		regionId:'',
+        		region: '',
+        		townId: '',
+        		town: '',
+        		villageId: '',
+        		village: '',
+        		nowIn:'',
+        		disableg:false,
+            optiodne:[],
+            seleted:[],
+            plaed:'请选择居住地址',
+        	}
+
+        ]
+			};
+			this.resetForm('form');
+		},
+		/** 搜索按钮操作 */
+		handleQuery() {
+			// this.queryParams.pageNum = 1;
+			console.log(this.queryParams)
+			if(this.queryParams.queryType == 'hj'){
+			  this.getList();
+			}else if(this.queryParams.queryType == 'cz'){
+			  this.getListjuzhu();
+			}
+		},
+    handleQuerytj() {
+    	// this.queryParams.pageNum = 1;
+      if(this.nnd.length > 0){
+        this.user.dept.deptName = ''
+      }
+       if(this.nnd.length == 1){
+        this.tj.lenth = 1
+        console.log(this.tj.lenth)
+      }
+       if(this.nnd.length == 2){
+        this.tj.lenth = 2
+      }
+      this.nhye = false
+      listInfotj(this.tj).then(response => {
+        this.jiezheList  = response.data.townDatas
+        this.loading = false;
+        this.nhye = true
+      });
+    	console.log(this.tj,this.user.dept.deptName,this.nnd.length)
+    	  // this.getList();
+
+    },
+    resetQuerytj(){
+      this.lser = []
+      this.nnd = []
+      this.tj.code = undefined
+      this.tj.lenth = undefined
+      this.handleQuerytj();
+    },
+		/** 重置按钮操作 */
+		resetQuery() {
+			this.nhue = false
+			this.selectedtwo = []
+			setTimeout( ()=>{
+				this.nhue = true
+			},100)
+
+			this.queryParams.xm = undefined;
			this.queryParams.zjhm = undefined;
			this.queryParams.isNucleicAcid = undefined;
+      this.queryParams.timeSlot = undefined
+      this.queryParams.params.startTime= undefined;
+      this.queryParams.params.endTime = undefined
+      this.listd = []
+      this.lser = []
+       this.queryParams.pageNum = 1,
+			this.resetForm('queryForm');
+			this.handleQuery();
+		},
+		// 多选框选中数据
+		handleSelectionChange(selection) {
+			this.ids = selection.map(item => item.id);
+			this.single = selection.length !== 1;
+			this.multiple = !selection.length;
+		},
+		/** 新增按钮操作 */
+		handleAdd(data) {
+      this.form = {}
+      // this.nhyeswdga = []
+      if(this.typeOptionsname.length == 0){
+        this.getDicts('renyuanfenlei').then(response => {
+        	this.typeOptionsname = response.data;
+        });
+      }
+      if(this.typeOptionstyzandeh.length == 0){
+        // 与户主关系
+        this.getDicts('yuhuzhuguanxi').then(response => {
+        	this.typeOptionstyzandeh = response.data;
+        });
+      }
+      this.$set(this.nhyeswdga, 'nhus', [])
+      this.$nextTick(() =>{
+        this.$refs.myCascader.$refs.panel.clearCheckedNodes()
+        this.$refs.myCascader.$refs.panel.activePath = []
+      })
+      this.nhyesfx = true
+      console.log(this.nhyeswdga)			// this.reset();
+
+      // this.form.czrkJzdzList = [
+      //   	{
+      //   		provinceId: '',
+      //   		province: '',
+      //   		deptId: '',
+      //   		cityId: '',
+      //   		city: '',
+      //   		regionId:'',
+      //   		region: '',
+      //   		townId: '',
+      //   		town: '',
+      //   		villageId: '',
+      //   		village: '',
+      //   		nowIn:'',
+      //   		disableg:false,
+      //       optiodne:[],
+      //       seleted:[],
+      //       plaed:'请选择居住地址',
+      //   	}
+
+      //   ]
+        this.$set(this.form, 'czrkJzdzList', [
+        	{
+        		provinceId: '',
+        		province: '',
+        		deptId: '',
+        		cityId: '',
+        		city: '',
+        		regionId:'',
+        		region: '',
+        		townId: '',
+        		town: '',
+        		villageId: '',
+        		village: '',
+        		nowIn:'',
+        		disableg:false,
+            optiodne:[],
+            seleted:[],
+            plaed:'请选择居住地址',
+        	}
+
+        ])
+        this.form.id = null
+        // this.form.age=''
+        this.$set(this.form, 'age', null)
+        // this.form.code=''
+        this.$set(this.form, 'code', null)
+        this.$set(this.form, 'houseType', '否')
+        // this.form.houseType= '是'
+      //   this.form.domicile= null
+      this.$set(this.form, 'domicile', null)
+      //   this.form.province= null
+      this.$set(this.form, 'province', null)
+      //   this.form.city= null
+      this.$set(this.form, 'city', null)
+      //   this.form.region= null
+      this.$set(this.form, 'region', null)
+      //   this.form.userName= null
+      this.$set(this.form, 'userName', null)
+      //   this.form.gender= null
+      this.$set(this.form, 'gender', null)
+      //   this.form.idCard= null
+      this.$set(this.form, 'idCard', null)
+        this.$set(this.form, 'phoneNum', null)
+        // this.form.phoneNum= null
+      //   this.form.keyIndustries= null
+      this.$set(this.form, 'keyIndustries', null)
+      //   this.form.isVaccination= null
+      this.$set(this.form, 'isVaccination', null)
+      //   this.form.vaccinationPlace= null
+      this.$set(this.form, 'vaccinationPlace', null)
+      //   this.form.contraindication= null
+      this.$set(this.form, 'contraindication', null)
+        // this.form.nowIn= ''
+        this.$set(this.form, 'nowIn', '')
+      //   this.form.isConfirm=null
+      this.$set(this.form, 'isConfirm', null)
+      //   this.form.gridId=null
+      this.$set(this.form, 'gridId', null)
+      //   this.form.remark= null
+      this.$set(this.form, 'remark', null)
+      //   this.form.villageTowns=null
+      this.$set(this.form, 'villageTowns', null)
+      //   this.form.village=null
+      this.$set(this.form, 'village', null)
+      this.loading = false
+      console.log(data)
+			this.opens = true;
+			(this.naneme = false),
+			(this.shouwes = false);
+			// this.form.province = this.selected[0];
+			this.villageTownshy = '';
+			this.naiseurya = '';
+			this.hsuej = '';
+			// this.form.city = this.selected[1];
+			// this.form.region = this.selected[2];
+			this.title = '添加信息';
+			this.jdourdjoaj = true;
+      this.senlsduea = false
+      this.jiezhong = false
+			this.jue = true
+      this.nhdyesfgh = '点击选择户籍地址'
+       this.ndhesdweaf = '点击选择网格'
+       this.nameutaiL = 0
+       // this.nhduesw = this.nhduesw + 1
+       this.nhtrew = false
+      this.mnyesfjer(0)
+      // this.form.province = '安徽省';
+      // this.form.city = '安庆市';
+      // this.form.region = '潜山市';
+      // this.form.villageTowns = '梅城镇';
+      // this.form.village = '龙井社区';
+      // this.nhdyesfgh = this.form.province + '/' + this.form.city + '/' + this.form.region + '/' + this.form.villageTowns + '/' + this.form.village;
+      if(data !== 0){
+        this.form.code = data.code
+        // this.form.houseType = '否'
+        this.$set(this.form, 'houseType', '否')
+      }else{
+        // this.form.houseType = '是'
+        this.$set(this.form, 'houseType', '是')
+      }
+			console.log(this.form)
+		},
+
+		/** 修改按钮操作 */
+		handleUpdate(row) {
+      this.opens = true;
+      this.form = {}
+if(this.typeOptionsname.length == 0){
+    this.getDicts('renyuanfenlei').then(response => {
+    	this.typeOptionsname = response.data;
+    });
+  }
+  if(this.typeOptionstyzandeh.length == 0){
+    // 与户主关系
+    this.getDicts('yuhuzhuguanxi').then(response => {
+    	this.typeOptionstyzandeh = response.data;
+    });
+  }
+      this.$set(this.form, 'czrkJzdzList', [
+        	{
+        		provinceId: '',
+        		province: '',
+        		deptId: '',
+        		cityId: '',
+        		city: '',
+        		regionId:'',
+        		region: '',
+        		townId: '',
+        		town: '',
+        		villageId: '',
+        		village: '',
+        		nowIn:'',
+        		disableg:false,
+            optiodne:[],
+            seleted:[],
+            plaed:'请选择居住地址',
+        	}
+
+        ])
+        this.form.id = null
+        // this.form.age=''
+        this.$set(this.form, 'age', null)
+        // this.form.code=''
+        this.$set(this.form, 'code', null)
+        this.$set(this.form, 'houseType', '否')
+        // this.form.houseType= '是'
+      //   this.form.domicile= null
+      this.$set(this.form, 'domicile', null)
+      //   this.form.province= null
+      this.$set(this.form, 'province', null)
+      //   this.form.city= null
+      this.$set(this.form, 'city', null)
+      //   this.form.region= null
+      this.$set(this.form, 'region', null)
+      //   this.form.userName= null
+      this.$set(this.form, 'userName', null)
+      //   this.form.gender= null
+      this.$set(this.form, 'gender', null)
+      //   this.form.idCard= null
+      this.$set(this.form, 'idCard', null)
+        this.$set(this.form, 'phoneNum', null)
+        // this.form.phoneNum= null
+      //   this.form.keyIndustries= null
+      this.$set(this.form, 'keyIndustries', null)
+      //   this.form.isVaccination= null
+      this.$set(this.form, 'isVaccination', null)
+      //   this.form.vaccinationPlace= null
+      this.$set(this.form, 'vaccinationPlace', null)
+      //   this.form.contraindication= null
+      this.$set(this.form, 'contraindication', null)
+        // this.form.nowIn= ''
+        this.$set(this.form, 'nowIn', '')
+      //   this.form.isConfirm=null
+      this.$set(this.form, 'isConfirm', null)
+      //   this.form.gridId=null
+      this.$set(this.form, 'gridId', null)
+      //   this.form.remark= null
+      this.$set(this.form, 'remark', null)
+      //   this.form.villageTowns=null
+      this.$set(this.form, 'villageTowns', null)
+      //   this.form.village=null
+      this.$set(this.form, 'village', null)
+      console.log(this.form,34567)
+      this.nhyesaw = 1
+			// this.reset();
+			const id = row.id || this.ids;
+			getInfo(id).then(response => {
+        this.loading = false
+				this.form = response.data;
+				this.jue = false
+        this.jiezhong = false
+        this.nhdyesku = true
+        this.nhtrew = true
+        this.nhyeswdga.nhus = []
+        if(this.form.houseType == '是'){
+          //是户主
+          this.shifouh = true
+        }else{
+          this.shifouh = false
+        }
+				if(response.data.province !== null && response.data.province !== ""){
+					this.nhdyesfgh = response.data.province;
+          if(response.data.city !== null && response.data.city !== ""){
+            this.nhdyesfgh = response.data.province + '/' + response.data.city;
+            if(response.data.region !== null && response.data.region !== ""){
+            	this.nhdyesfgh = response.data.province + '/' + response.data.city + '/' + response.data.region;
+              if(this.form.villageTowns !==null && this.form.villageTowns !=='' && this.form.villageTowns !== undefined){
+                this.nhdyesfgh = response.data.province + '/' + response.data.city + '/' + response.data.region + '/' + this.form.villageTowns;
+                if(this.form.village !==null && this.form.village !=='' && this.form.village !== undefined){
+                  this.nhdyesfgh = response.data.province + '/' + response.data.city + '/' + response.data.region + '/' + this.form.villageTowns + '/' + this.form.village;
+                }
+              }
+            }else{
+            	// this.nhdyesfgh ='点击选择居住地址'
+            }
+          }else{
+          	// this.nhdyesfgh ='点击选择居住地址'
+          }
+				}else{
+					this.nhdyesfgh ='点击选择户籍地址'
+				}
+  this.nhyesfx = true
+				if(response.data.czrkJzdzList.length !== 0 && response.data.czrkJzdzList !== null){
+					// this.selected[0] = response.data.province;
+          // for(var i = 0 ; i < response.data.czrkJzdzList.length ; i++){
+            // this.nameutaiL = i
+            response.data.czrkJzdzList.unshift(response.data.czrkJzdzList[0])
+            // this.form = response.data;
+            this.mnyesfjerty(0)
+          // }
+          response.data.czrkJzdzList.filter(route =>{
+            route.seleted = []
+            if(route.province !== ""){
+              route.plaed =  route.province
+              if(route.city !== ""){
+                route.plaed =  route.plaed + '/' + route.city
+                if(route.city !== ""){
+                  // route.plaed =  route.plaed + '/' + route.city
+                  if(route.region !== ""){
+                    route.plaed =  route.plaed + '/' + route.region
+                    if(route.town !== ""){
+                      route.plaed =  route.plaed + '/' + route.town
+                      if(route.village !== ""){
+                        route.plaed =  route.plaed + '/' + route.village
+                      }
+                    }
+                  }
+                }
+              }
+            }else{
+              route.plaed = '请选择居住地址'
+            }
+
+          })
+				}else{
+            console.log(this.form.czrkJzdzList,58)
+        }
+
+
+        if(response.data.gridName !==null){
+          this.ndhesdweaf = response.data.gridName
+        }else{
+          this.ndhesdweaf = '点击选择网格'
+        }
+
+				// this.onSelected(this.selected)
+				setTimeout( ()=>{
+					this.jue = true
+				},100)
+				// this.jue = true
+				console.log(this.selected,98767)
+				// if(this.form){
+				if (this.form.isVaccination !== null) {
+					if (this.form.isVaccination == '是') {
+						// 接种疫苗
+						(this.naneme = false), (this.shouwes = true);
+					} else {
+						(this.naneme = true), (this.shouwes = false);
+					}
+				} else {
+					this.naneme = false;
+					this.shouwes = false;
+				}
+
+				if (this.form.dictValue !== null && this.form.dictValue !== undefined) {
+					this.jicheru(this.form.dictValue);
+				}
+				if (this.form.villageTowns !== null) {
+					this.villageTownshy = this.form.villageTowns;
+					if (this.form.village !== null) {
+						this.villageTownshy = this.form.village;
+						if (this.form.villagerGroup !== null) {
+							this.villageTownshy = this.form.villagerGroup;
+						}
+					}
+				}else{
+					this.villageTownshy = '';
+				}
+        console.log(this.villageTownshy,3455)
+
+				// if (this.form.vaccineInfoUserList !== null) {
+				// 	if (this.form.vaccineInfoUserList.length == 0) {
+
+				// 	}else {
+				// 		this.form.isVaccination = '是'
+				// 		this.form.vaccineInfoUserList.filter(router =>{
+				// 			if(router.url == undefined){
+				// 				router.url = null
+				// 			}else if(router.url == []){
+				// 				router.url = null
+				// 			}
+				// 			router.disableg = true
+				// 		})
+				// 	}
+				// }
+				// villageTownshy
+				// }
+				// this.heuiq.push()
+				this.naiseurya = '';
+				this.hsuej = '';
+        console.log(this.form.czrkJzdzList,588)
+				this.jdourdjoaj = false;
+        this.senlsduea = true
+				this.title = '查看编辑人口信息';
+			});
+		},
+		chahe(data) {
+
+     let nhdye = []
+     nhdye = this.$refs['myCascader'].getCheckedNodes()[0].pathLabels
+     console.log(nhdye)
+      if(data.length == 1){
+        this.form.provinceId = data[ data.length - 1];
+        this.form.province = nhdye[ data.length - 1];
+        this.$set(this.form, 'city', null)
+        this.$set(this.form, 'cityId', null)
+        this.$set(this.form, 'region', null)
+        this.$set(this.form, 'regionId', null)
+        this.$set(this.form, 'villageTowns', null)
+        this.$set(this.form, 'villageTownsId', null)
+        this.$set(this.form, 'villageId', null)
+         this.$set(this.form, 'village', null)
+      }else if(data.length == 2){
+        this.form.cityId = data[ data.length - 1];
+        this.form.city = nhdye[ data.length - 1];
+        this.$set(this.form, 'region', null)
+        this.$set(this.form, 'regionId', null)
+        this.$set(this.form, 'villageTowns', null)
+        this.$set(this.form, 'villageTownsId', null)
+        this.$set(this.form, 'villageId', null)
+         this.$set(this.form, 'village', null)
+      }else if(data.length == 3){
+        this.form.regionId = data[ data.length - 1];
+        this.form.region = nhdye[ data.length - 1];
+        this.$set(this.form, 'villageTowns', null)
+        this.$set(this.form, 'villageTownsId', null)
+        this.$set(this.form, 'villageId', null)
+         this.$set(this.form, 'village', null)
+      }else if(data.length == 4){
+        this.form.villageTownsId = data[ data.length - 1];
+        this.form.villageTowns = nhdye[ data.length - 1];
+        this.$set(this.form, 'villageId', null)
+         this.$set(this.form, 'village', null)
+      }else if(data.length == 5){
+        this.form.villageId = data[ data.length - 1];
+        this.form.village = nhdye[ data.length - 1];
+      }else{
+        // this.nhdyesfgh = '点击选择户籍地址'
+      }
+      this.form.deptId = data[ data.length - 1];
+
+			// if (this.form.villageTowns !== undefined) {
+			// 	this.hsuej = this.form.villageTowns;
+			// 	if (this.form.village !== undefined) {
+			// 		this.hsuej = this.form.villageTowns + this.form.village;
+			// 		if (this.form.villagerGroup !== undefined) {
+			// 			this.hsuej = this.form.villageTowns + this.form.village + this.form.villagerGroup;
+			// 		}
+			// 	}
+			// }
+			this.form.domicile = '';
+      console.log(this.form)
+
+      // if(this.jdourdjoaj == true){
+      //   //新增
+      //   this.form.nowIn =  this.hsuej
+
+      // }else{
+      //    this.form.nowIn !=  this.hsuej
+      // }
+		},
+		chahetwo(data) {
+			console.log(data)
+      this.nnd = data
+      if(data.length == 1){
+        this.tj.code = data[ data.length - 1];
+      }else if(data.length == 2){
+        this.tj.code = data[ data.length - 1];
+      }else if(data.length == 3){
+        this.tj.code = data[ data.length - 1];
+      }else if(data.length == 4){
+        this.tj.code = data[ data.length - 1];
+      }else if(data.length == 5){
+        this.tj.code = data[ data.length - 1];
+      }
+		},
+    // 居住地址搜索条件
+    chahetwos(data) {
+    	console.log(data)
+      let nhdye = []
+      nhdye = this.$refs['cdd'].getCheckedNodes()[0].pathLabels
+      console.log(nhdye,36)
+      this.nnd = nhdye
+      if(data.length == 1){
+        this.queryParams.xzqh = nhdye[ nhdye.length - 1];
+      }else if(data.length == 2){
+        this.queryParams.xzqh = nhdye[0] + ',' + nhdye[ nhdye.length - 1];
+      }else if(data.length == 3){
+         this.queryParams.xzqh = nhdye[0] + ',' + nhdye[1] + ',' +nhdye[ nhdye.length - 1];
+      }else if(data.length == 4){
+
+        this.queryParams.xzqh = nhdye[0] + ',' + nhdye[1]  + ',' + nhdye[2]  + ',' +   nhdye[3]  + ',' +nhdye[ nhdye.length - 1];
+        this.user.dept.deptName = ''
+      }else if(data.length == 5){
+        this.queryParams.xzqh = nhdye[0] + ',' + nhdye[1]  + ',' + nhdye[2]  + ',' +   nhdye[3]  + ',' +nhdye[ nhdye.length - 1];
+        this.user.dept.deptName = ''
+      }
+    },
+    chahetwoswge(data){
+      console.log(data)
+      if(this.opens == false){
+        return  false
+      }
+      this.form.gridId = data[data.length - 1]
+      console.log(this.form.gridId)
+    },
+		/** 提交按钮 */
+		submitForm(data) {
+			this.$refs['form'].validate(valid => {
+				console.log(this.selected);
+				if (valid) {
+          let reg = /^([1-6][1-9]|50)\d{4}(18|19|20)\d{2}((0[1-9])|10|11|12)(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/;
+          let _IDre15 =  /^([1-6][1-9]|50)\d{4}\d{2}((0[1-9])|10|11|12)(([0-2][1-9])|10|20|30|31)\d{3}$/;
+          // 护照
+           // let ncjsle = /^1[45][0-9]{7}$|(^[P|p|S|s]\d{7}$)|(^[S|s|G|g|E|e]\d{8}$)|(^[Gg|Tt|Ss|Ll|Qq|Dd|Aa|Ff]\d{8}$)|(^[H|h|M|m]\d{8,10}$)/;
+           let ncjsle = /^[a-zA-Z0-9]{5,17}$/
+           let nhyeli = /^[a-zA-Z]{5,17}$/
+          // 港澳
+          let gnse = /^([A-Z]\d{6,10}(\(\w{1}\))?)$/;
+          // 台湾
+          // let tw = /^\d{8}|^[a-zA-Z0-9]{10}|^\d{18}$/
+          var tw =  /^[0-9]{8}$/;
+           var twe = /^[0-9]{10}$/;
+          // 校验身份证:
+          console.log(reg.test(this.form.idCard),23741)
+          if ( reg.test(this.form.idCard)|| _IDre15.test(this.form.idCard)) {
+          	// this.idea();
+          	// this.go(this.form.idCard.length);
+          	// callback()
+          } else {
+            if(ncjsle.test(this.form.idCard) || nhyeli.test(this.form.idCard)){
+               console.log(3)
+            }else{
+              if(gnse.test(this.form.idCard)  ){
+                  console.log(4)
+              }else{
+                if(tw.test(this.form.idCard) || twe.test(this.form.idCard)){
+                  console.log(5)
+                }else{
+                  this.msgInfo('证件格式不正确');
+                  return false
+                }
+
+                // return false
+              }
+
+            }
+          	// callback(new Error('身份证号码不正确'))
+          }
+          // let reg = /(^\d{15}$)|(^\d{18}$)|(^\d{17}(\d|X|x)$)/;
+          // if (reg.test(this.form.idCard)) {
+          // 	// this.idea();
+          // 	// this.go(this.form.idCard.length);
+          // 	// callback()
+          // } else {
+          // 	// callback(new Error('身份证号码不正确'))
+          // 	this.msgInfo('身份证号码不正确');
+          //   return false
+          // }
+          let redw = /^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$/;
+          console.log(this.form)
+          console.log(redw.test(this.form.phoneNum))
+          if (this.form.phoneNum == null) {
+          	// this.idea();
+          	// this.go(this.form.idCard.length);
+          	// callback()
+          } else{
+            if(this.form.phoneNum !== ''){
+              if(redw.test(this.form.phoneNum)){
+
+              }else{
+                this.msgInfo('手机号码不正确');
+                return false
+              }
+            }
+          	// callback(new Error('身份证号码不正确'))
+          }
+          this.form.isConfirm = 'N'
+					if (this.form.id != null) {
+						// this.form.nowIn = this.naiseurya + this.form.nowIn;
+						// this.form.domicile = this.hsuej + this.form.domicile;
+            console.log(this.ndheysfs)
+            // this.nhyesaw = data
+            console.log(this.nhyesaw)
+            console.log(this.form.czrkJzdzList)
+            if(this.nhyesaw == 1){
+              this.form.czrkJzdzList = this.form.czrkJzdzList.splice(1)
+            }else if(this.nhyesaw == 2){
+              console.log(this.form.czrkJzdzList[0])
+              // this.form.czrkJzdzList.unshift(this.form.czrkJzdzList[0])
+            }
+            console.log(this.form.czrkJzdzList)
+            data = data +1
+            this.nhyesaw = this.nhyesaw + 1
+            this.senlsduea = false
+            console.log(this.form.czrkJzdzList)
+						updateInfo(this.form).then(response => {
+              console.log(response)
+              if(response.code == 200){
+                 this.msgSuccess('修改成功');
+                 this.nhyesaw = 1
+                 this.opens = false;
+                 this.nhyesfx = false
+                 this.getList();
+                 this.getTreeselectjuetj()
+                 return false
+              }else{
+                // this.senlsduea = true
+                // this.form.czrkJzdzList.unshift(this.form.czrkJzdzList[0])
+                this.nhyesaw = 1
+                this.$message.error(response.msg + '请重新填写');
+                // this.mnyesfjerty(0)
+            //     if(this.nhyesaw == 1){
+            //     this.form.czrkJzdzList = this.form.czrkJzdzList.splice(1)
+            // }
+                this.opens = false
+              }
+
+              // if(response.data.code == 200){
+              //   this.msgSuccess('修改成功');
+              //   this.ndheysfs = false
+              // }else{
+              //   this.ndheysfs = true
+              // }
+
+              // if(this.nhyesoder == 3){
+              //   this.jiezhong = true
+              //   this.handleDeletefamide(this.bhdes)
+              // }
+              // this.nhyesoder = 4
+						});
+					} else {
+						// this.form.nowIn = this.naiseurya + this.form.nowIn;
+						// this.form.domicile = this.hsuej + this.form.domicile;
+						// if (this.form.nowIn == 'undefined') {
+						// 	this.form.nowIn = null;
+						// }
+
+            if(this.form.province == null){
+              this.msgInfo('请填写户籍地址');
+              return false
+            }
+
+            if(this.form.province == ''){
+              this.msgInfo('请填写户籍地址');
+              return false
+            }
+
+
+            if(this.form.czrkJzdzList[0].province == ''){
+              this.msgInfo('请填写居住地址');
+              return false
+            }
+            if(this.form.czrkJzdzList[0].province == null){
+              this.msgInfo('请填写居住地址');
+              return false
+            }
+						console.log(this.form)
+            this.form.czrkJzdzList.filter(route =>{
+              route.seleted = []
+              route.optiodne = []
+            })
+						// return
+						addInfo(this.form).then(response => {
+              if(response.code == 200){
+                this.msgSuccess('新增成功');
+                this.opens = false;
+                this.nhyesfx = false
+                this.getList();
+                this.getTreeselectjuetj()
+                if(this.nhyesoder == 3){
+                  this.jiezhong = true
+                  // this.handleDeletefamide(this.bhdes)
+                }
+                this.nhyesoder = 4
+              }else{
+                this.$message.error(response.msg + '请重新填写');
+                if(this.nhyesoder == 3){
+                  this.jiezhong = true
+                  // this.handleDeletefamide(this.bhdes)
+                }
+                this.nhyesoder = 4
+                this.opens = false
+              }
+						});
+					}
+				}
+			});
+		},
+		/** 删除按钮操作 */
+		handleDelete(row) {
+			const ids = row.id || this.ids[0];
+      this.idfer = ids
+      this.imashow = true;
+      this.formgt = {}
+			// this.$confirm('是否确认删除疫苗信息编号为"' + ids + '"的数据项?', '警告', {
+			// 	confirmButtonText: '确定',
+			// 	cancelButtonText: '取消',
+			// 	type: 'warning'
+			// })
+			// 	.then(function() {
+			// 		return delInfo(ids);
+			// 	})
+			// 	.then(() => {
+			// 		this.getList();
+			// 		this.msgSuccess('删除成功');
+			// 	});
+		},
+    submitFormfr(){
+      // formgt
+      if(this.formgt.houseType == null || this.formgt.houseType == undefined){
+        this.$message.error('请选择变更原因');
+        return  false
+      }
+      let nhue = {}
+      nhue.status = this.formgt.houseType
+      nhue.id = this.idfer
+      delInfo(nhue).then(response => {
+      	this.msgSuccess('变更成功');
+      	this.imashow = false;
+      	this.getList();
+        this.getTreeselectjuetj()
+      });
+    },
+    // 点击新增
+    tijea(index) {
+    	console.log(index+ 1)
+    	this.nameutaiL = index+ 1
+       this.cascaderKey = index + 1
+    	this.form.czrkJzdzList.push({
+    		provinceId: '',
+    		province: '',
+    		deptId: '',
+    		cityId: '',
+    		city: '',
+    		regionId:'',
+    		region: '',
+    		townId: '',
+    		town: '',
+    		villageId: '',
+    		village: '',
+    		nowIn:'',
+    		disableg:false,
+        seleted:[],
+        optiodne:[],
+        plaed:'请选择居住地址',
+    	});
+      this.nhyeojd = true
+      this.mnyesfjer(0)
+      // this.form.czrkJzdzList[this.nameutaiL].optiodne
+      // console.log(this.cascaderKey,123465)
+      // // console.log()
+      // console.log( this.$refs.myCascaderf[this.$refs.myCascaderf.length - 1] ,258)
+      // // console.log(this.$refs['myCascaderf'][0].$refs.panel.clearCheckedNodes(),258)
+      // this.$refs['myCascaderf'][this.$refs.myCascaderf.length - 1].$refs.panel.clearCheckedNodes()
+      // console.log(this.$refs['myCascaderf'][0].$refs.panel.checkedValue,34567)
+      // this.mnyesfjer(0)
+    },
+    // 点击删除
+    naeyrfakjf(index, item) {
+      console.log(this.form.czrkJzdzList.length,347)
+      // if(this.form.czrkJzdzList.length == 2){
+      //   this.$message.error('居住地为必填不可全删除');
+      //   return  false
+      // }
+      // this.$message.error(response.msg + '请重新填写');
+    	var that = this
+    	this.$confirm('是否确认删除信息?', '警告', {
+    		confirmButtonText: '确定',
+    		cancelButtonText: '取消',
+    		type: 'warning'
+    	})
+    		.then(function() {
+    			return that.delseeug(index,item)
+    		})
+    		.then(() => {
+    			// this.getList();
+    			// this.msgSuccess('删除成功');
+    		});
+
+    },
+    delseeug(index,item){
+    	console.log(234)
+    	if (this.form.czrkJzdzList.length == 1) {
+    		// if (this.jdourdjoaj == true) {
+    		// 	// 新增
+    		// 	this.form.vaccineInfoUserList = [{
+    		// 		vaccineName: '',
+    		// 		vaccinationTime: '',
+    		// 		vaccinationPlace: '',
+    		// 		jici: '',
+    		// 		progress: '',
+    		// 		url:null,
+    		// 		disableg:false
+    		// 	}]
+    		// } else {
+    		// 	// 修改
+    		// 	let ide = this.form.vaccineInfoUserList[index].id;
+    		// 	console.log(this.form.vaccineInfoUserList[index]);
+    		// 	// ()
+    		// 	console.log(ide);
+    		// 	if (ide !== undefined) {
+    		// 		console.log(234);
+    		// 		delInfort(ide).then(response => {
+    		// 			this.msgSuccess('操作成功');
+    		// 		});
+    		// 	}
+    		// 	this.form.vaccineInfoUserList = [{
+    		// 		vaccineName: '',
+    		// 		vaccinationTime: '',
+    		// 		vaccinationPlace: '',
+    		// 		jici: '',
+    		// 		progress: '',
+    		// 		url:null,
+    		// 		disableg:false
+    		// 	}]
+    		// }
+
+        this.msgSuccess('只剩一条数据,无法删除');
+    		return false;
+    	}
+    	if (this.jdourdjoaj == true) {
+    		// 新增
+    		this.form.czrkJzdzList.splice(index, 1);
+    	} else {
+    		// 修改
+    		// ()
+    		this.form.czrkJzdzList.splice(index, 1);
+    	}
+      this.msgSuccess('删除成功');
+    },
+    // 统计功能tjgtjg
+    tjg(){
+
+    },
+		/** 导出按钮操作 */
+		handleExport() {
+			var heuia = {
+			                tableName: "vaccine_info",
+			                empty: false,
+			                condition: {}
+			            }
+			            var that=this;
+			            heuia.condition = this.queryParams
+						const queryParams = this.queryParams
+			      queryParams.pageNum = undefined
+			      queryParams.pageSize= undefined
+			      this.download('boman-web-core/core/account/export', {
+			        ...queryParams
+			      }, `核酸检测数据表格.xlsx`)
+		},
+    // 文件上传中处理
+    handleFileUploadProgress(event, file, fileList) {
+      this.upload.isUploading = true;
+    },
+    // 文件上传成功处理
+    handleFileSuccess(response, file, fileList) {
+      this.upload.open = false;
+      this.upload.isUploading = false;
+      this.$refs.upload.clearFiles();
+      this.$alert(response.msg, "导入结果", { dangerouslyUseHTMLString: true });
+      this.getList();
+    },
+   // 提交上传文件
+   submitFileForm() {
+     console.log(this.upload.source)
+     if(this.upload.source == null){
+       this.msgInfo('请选择数据来源');
+       return  false
+     }
+     this.$refs.upload.submit();
+   },
+   nske(){
+     console.log(345)
+           this.upload.open = false;
+   },
+   /** 下载模板操作 */
+   importTemplate() {
+
+   },
+   // 下载模板
+   handleDeleteda(){
+     window.open("https://qsfy.qs163.cn/statics/template/死亡人员导入模板.xlsx")
+   },
+		// 点击查看
+		chakei(row) {
+			console.log(row);
+      let nhyes= {pageNum: 1,
+      pageSize: 10,}
+      this.nhyesoder = row
+      if(row == 0){
+        // 新增
+       listInfotjxz(this.ndhuwosdjh).then(response => {
+				// this.msgSuccess('操作成功');
+					this.jiezheList = response.rows
+          this.totalfr = response.total
+				})
+      } else if(row == 1){
+        // 减少
+        listInfotjjs(this.ndhuwosdjh).then(response => {
+        				// this.msgSuccess('操作成功');
+        					this.jiezheList = response.rows
+                  this.totalfr = response.total
+
+      }	)
+          }// yiaoe({idCard:row.idCard}).then(response => {
+			// 	// this.msgSuccess('操作成功');
+			// 	if(response.code == 200){
+			// 		this.jiezheList = response.data
+			// 	}
+			// });
+
+			this.jiezhong = true;
+		},
+    // 查看家庭成员信息
+    handleDeletefamide(row){
+      this.nhyesoder = 3
+      this.bgtes= []
+	    this.jiezhong = true;
+      this.lser = []
+      this.nhye = false
+        getUserProfile().then(response => {
+          this.user = response.data;
+        });
+        listInfotj().then(response => {
+          this.nhye = true
+          this.jiezheList = response.data.townDatas
+
+          this.loading = false;
+        });
+    // listInfotjjsfaml(row.code).then(response => {
+    //     				// this.msgSuccess('操作成功');
+    //     					this.jiezheList = response.data
+    //               this.jiezheList.filter(rout =>{
+    //                 this.bgtes.push(rout.id)
+    //               })
+    //        console.log(this.bgtes,456)
+    //               this.totalfr = 0
+
+    //   }	)
+    },
+    /** 导入按钮操作 */
+    handleImport() {
+      this.getDicts('data_sources').then(response => {
+      	this.typeOptionstimesgt = response.data;
+        this.upload.title = "数据导入";
+        this.upload.open = true;
+      });
+
+    },
+    // 获取屏幕高度
+              showFilterForm () {
+                    this.filterActive = !this.filterActive
+                    this.changeTableMaxHeight()
+                  },
+
+                  changeTableMaxHeight () {
+                    let height = document.body.offsetHeight // 网页可视区域高度
+                    // if (this.filterActive) {
+                    //   this.tableMaxHeight = height - 320
+                    // } else {
+                      this.tableMaxHeight = height - 250
+                    // }
+                    console.log(height)
+                  },
+
+  // 判断是否选择户主
+  changese(){
+    console.log(this.form.houseType)
+    if(this.form.houseType == '是'){
+      this.form.code = this.form.idCard
+      this.nhe = false
+    }else{
+      this.form.code != this.form.idCard
+      this.nhe = true
+    }
+  },
+  // 常住人口
+  chajnd(data){
+   this.queryParams.queryType = 'cz'
+   this.queryParams.pageNum = 1
+   this.queryParams.status = data
+   this.nhykis = false
+   this.nhyki = true
+   this.nhslke = data
+    this.getListjuzhu();
+  },
+  // 户籍人口
+  chajnds(){
+    this.nhykis = true
+    this.nhyki = false
+    this.queryParams.pageNum = 1
+   this.queryParams.queryType = 'hj'
+   this.getList();
+  },
+  // 变更历史
+  chajndsls(row){
+   let nhduw = {}
+   nhduw.id = row.id
+   // biangneg
+   this.getListls(nhduw);
+  },
+  // 确认死亡
+  siw(row){
+   this.$confirm('此操作将永久删除该文件, 是否继续?', '提示', {
+             confirmButtonText: '确定',
+             cancelButtonText: '取消',
+             type: 'warning'
+           }).then(() => {
+             this.$message({
+               type: 'success',
+               message: '删除成功!'
+             });
+           }).catch(() => {
+             this.$message({
+               type: 'info',
+               message: '已取消删除'
+             });
+           });
+  },
+
+  // 一键确认
+  xinxiheu(){
+    let nchesr = []
+    nchesr = this.bgtes
+    console.log(nchesr)
+    listInfotjjssbule(nchesr).then(response => {
+      if(response.code == 200){
+        this.msgSuccess('操作成功')
+        this.jiezhong = false
+          this.getList();
+        this.getTreeselectjuetj()
+      }
+      				// this.msgSuccess('操作成功');
+    })
+  },
+  xinxihe(){
+   this.$refs['form'].validate(valid => {
+   	console.log(this.selected);
+   	if (valid) {
+let reg = /^([1-6][1-9]|50)\d{4}(18|19|20)\d{2}((0[1-9])|10|11|12)(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/;
+      let _IDre15 =  /^([1-6][1-9]|50)\d{4}\d{2}((0[1-9])|10|11|12)(([0-2][1-9])|10|20|30|31)\d{3}$/;
+      // 护照
+       // let ncjsle = /^1[45][0-9]{7}$|(^[P|p|S|s]\d{7}$)|(^[S|s|G|g|E|e]\d{8}$)|(^[Gg|Tt|Ss|Ll|Qq|Dd|Aa|Ff]\d{8}$)|(^[H|h|M|m]\d{8,10}$)/;
+       let ncjsle = /^[a-zA-Z0-9]{5,17}$/
+       let nhyeli = /^[a-zA-Z]{5,17}$/
+      // 港澳
+      let gnse = /^([A-Z]\d{6,10}(\(\w{1}\))?)$/;
+      // 台湾
+      // let tw = /^\d{8}|^[a-zA-Z0-9]{10}|^\d{18}$/
+      var tw =  /^[0-9]{8}$/;
+       var twe = /^[0-9]{10}$/;
+      // 校验身份证:
+      console.log(reg.test(this.form.idCard),23741)
+			if ( reg.test(this.form.idCard)|| _IDre15.test(this.form.idCard)) {
+				// this.idea();
+				// this.go(this.form.idCard.length);
+				// callback()
+			} else {
+        if(ncjsle.test(this.form.idCard) || nhyeli.test(this.form.idCard)){
+           console.log(3)
+        }else{
+          if(gnse.test(this.form.idCard)  ){
+              console.log(4)
+          }else{
+            if(tw.test(this.form.idCard) || twe.test(this.form.idCard)){
+              console.log(5)
+            }else{
+              this.msgInfo('证件格式不正确');
+              return false
+            }
+
+            // return false
+          }
+
+        }
+				// callback(new Error('身份证号码不正确'))
+			}
+       let redw = /^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$/;
+       console.log(this.form)
+       console.log(redw.test(this.form.phoneNum))
+       if (this.form.phoneNum == null) {
+       	// this.idea();
+       	// this.go(this.form.idCard.length);
+       	// callback()
+       } else{
+         if(this.form.phoneNum !== ''){
+           if(redw.test(this.form.phoneNum)){
+
+           }else{
+             this.msgInfo('手机号码不正确');
+             return false
+           }
+         }
+        }
+   		if (this.form.id != null) {
+   			// this.form.nowIn = this.naiseurya + this.form.nowIn;
+   			// this.form.domicile = this.hsuej + this.form.domicile;
+          console.log(this.form.czrkJzdzList)
+          if(this.nhyesaw == 1){
+            this.form.czrkJzdzList = this.form.czrkJzdzList.splice(1)
+          }else if(this.nhyesaw == 2){
+            console.log(this.form.czrkJzdzList[0])
+            // this.form.czrkJzdzList.unshift(this.form.czrkJzdzList[0])
+          }
+          console.log(this.form.czrkJzdzList)
+          // data = data +1
+          this.nhyesaw = this.nhyesaw + 1
+          this.senlsduea = false
+          this.form.isConfirm = 'Y'
+          console.log(this.form.czrkJzdzList)
+          updateInfo(this.form).then(response => {
+            console.log(response)
+            if(response.code == 200){
+               this.msgSuccess('操作成功');
+               this.nhyesaw = 1
+               this.opens = false;
+               this.nhyesfx = false
+               this.getList();
+               this.getTreeselectjuetj()
+               return false
+            }else{
+              // this.senlsduea = true
+              // this.form.czrkJzdzList.unshift(this.form.czrkJzdzList[0])
+              this.nhyesaw = 1
+              this.$message.error(response.msg + '请重新填写');
+              // this.mnyesfjerty(0)
+          //     if(this.nhyesaw == 1){
+          //     this.form.czrkJzdzList = this.form.czrkJzdzList.splice(1)
+          // }
+              this.opens = false
+            }
+
+            // if(response.data.code == 200){
+            //   this.msgSuccess('修改成功');
+            //   this.ndheysfs = false
+            // }else{
+            //   this.ndheysfs = true
+            // }
+
+            // if(this.nhyesoder == 3){
+            //   this.jiezhong = true
+            //   this.handleDeletefamide(this.bhdes)
+            // }
+            // this.nhyesoder = 4
+          });
+   		} else {
+   			// this.form.nowIn = this.naiseurya + this.form.nowIn;
+   			// this.form.domicile = this.hsuej + this.form.domicile;
+   			// if (this.form.nowIn == 'undefined') {
+   			// 	this.form.nowIn = null;
+   			// }
+
+      //    if(this.nhyeswdga.length == 0){
+      //      this.msgInfo('请填写户籍地址');
+      //      return false
+      //    }
+
+      //    if(this.form.czrkJzdzList[0].province == ''){
+      //      this.msgInfo('请填写居住地址');
+      //      return false
+      //    }
+      //    if(this.form.czrkJzdzList[0].province == null){
+      //      this.msgInfo('请填写居住地址');
+      //      return false
+      //    }
+
+   			// console.log(this.form)
+      //    this.form.czrkJzdzList.filter(route =>{
+      //      route.seleted = []
+      //      route.optiodne = []
+      //    })
+   			// return
+   			// addInfo(this.form).then(response => {
+   			// 	this.msgSuccess('新增成功');
+   			// 	this.opens = false;
+   			// 	this.getList();
+      //      if(this.nhyesoder == 3){
+      //        this.jiezhong = true
+      //        this.handleDeletefamide(this.bhdes)
+      //      }
+      //      this.nhyesoder = 4
+   			// });
+   		}
+   	}
+   });
+  },
+  // 信息同步
+  xinxtb(){
+   listInfotjjssquer(this.bhdes.code).then(response => {
+     if(response.code == 200){
+       this.msgSuccess(response.msg)
+       // this.jiezhong = false
+       listInfotjjsfaml(this.bhdes.code).then(response => {
+           				// this.msgSuccess('操作成功');
+                  this.bgtes = []
+           				this.jiezheList = response.data
+                  this.jiezheList.filter(rout =>{
+                       this.bgtes.push(rout.id)
+                     })
+              console.log(this.bgtes,456)
+                     this.totalfr = 0
+
+         })
+       // this.getTreeselectjuetj()
+     }
+     				// this.msgSuccess('操作成功');
+   })
+  },
+  // click(){
+    click(event) {
+      console.log(event)
+          this.$nextTick(() => {
+            let d = document.getElementsByClassName("cascader"+ this.ids)
+            this.nameutaiL +'s'
+            // console.log("cascader"+ '' +this.nameutaiL);
+            // console.log(48);
+            // console.log(d);
+            // console.log(d[0]);
+            // console.log( !d[0].onclick);
+            if( d[event] && !d[event].onclick ){
+              d[event].onclick = function(e) {
+                console.log(e);
+                if( e.target.className == "el-cascader-node__label" ){
+                  e.target.previousElementSibling.click();
+                }
+              }
+            }
+          });
+        },
+        clicks(event) {
+              this.$nextTick(() => {
+                let d = document.getElementsByClassName("cascader"+'' +this.id);
+                // console.log("cascader"+ '' +this.nameutaiL);
+                // console.log(48);
+                // console.log(d);
+                // console.log(d[0]);
+                // console.log( !d[0].onclick);
+                if( d[0] && !d[0].onclick ){
+                  d[0].onclick = function(e) {
+                    console.log(e);
+                    if( e.target.className == "el-cascader-node__label" ){
+                      e.target.previousElementSibling.click();
+                    }
+                  }
+                }
+              });
+            },
+            // 当前时间的前一周
+            ShowDate(date){
+                        var num = date
+                        let n = num;
+                        let d = new Date();
+                        let year = d.getFullYear();
+                        let mon = d.getMonth() + 1;
+                        let day = d.getDate();
+                        if(day <= n) {
+                            if(mon > 1) {
+                                mon = mon - 1;
+                            } else {
+                                year = year - 1;
+                                mon = 12;
+                            }
+                        }
+                        d.setDate(d.getDate() - n);
+                        year = d.getFullYear();
+                        mon = d.getMonth() + 1;
+                        day = d.getDate();
+                         let h = d.getHours();
+                         h = h < 10 ? ('0' + h) : h;
+                         let m = d.getMinutes();
+                         m = m < 10 ? ('0' + m) : m;
+                         let s = d.getSeconds();
+                          s = s < 10 ? ('0' + s) : s;
+
+                        let ss = year + "-" + (mon < 10 ? ('0' + mon) : mon) + "-" + (day < 10 ? ('0' + day) : day) +' '    + h +':' + m + ':' + s;
+                        return ss;
+                    }
+
+  // }
+	}
+};
+</script>
+<style lang="scss">
+  .tabsty {
+    .el-table .el-table__header-wrapper th {
+      background-color: #7bcbff;
+      color: #fff;
+      border:0 !important;
+    }
+    .el-table--striped .el-table__body tr.el-table__row--striped td {
+      background-color: #e9f1f7;
+    }
+    .el-table--group,
+    .el-table--border {
+      // border-color: #0CA0FF;
+      border: 1px solid #0CA0FF;
+    }
+  }
+  .nhkhv{
+    display: flex;
+    align-items: center;
+    span{
+      width: 30%;
+      font-size: 14px;
+      i{
+        color: red;
+        font-size: 14px;
+        margin-right: 5px;
+      }
+    }
+  }
+  .placf {
+    .el-input {
+      .el-input__inner::placeholder{
+        color: #333;
+      }
+      /* 谷歌 */
+          .el-input__inner::-webkit-input-placeholder {
+             color: #333;
+          }
+           /* 火狐 */
+         .el-input__inner:-moz-placeholder {
+              color: #333;
+          }
+           /*ie*/
+         .el-input__inner:-ms-input-placeholder {
+              color: #333;
+          }
+    }
+
+  }
+	.jdueuh{
+		.el-form-item__label {
+			width: 0px !important;
+		}
+		.el-form-item__content {
+			margin-left: 10px !important;
+			// width: 70%;
+		}
+	}
+	.ijeuhdy{
+		.el-form-item__label {
+			width: 80px !important;
+		}
+		.el-form-item__content {
+			margin-left: 80px !important;
+			// width: 70%;
+		}
+	}
+	.znshu{
+		.el-form-item__label {
+			width: 80px !important;
+			// padding-left: 30px;
+		}
+		.el-form-item__content {
+			margin-left: 80px !important;
+
+			// width: 70%;
+		}
+		.el-input__inner{
+			padding-left: 0 !important;
+		}
+	}
+	.heioangd{
+		.el-form-item__label {
+			width: 70px !important;
+		}
+		.el-form-item__content {
+			margin-left: 70px !important;
+			// width: 70%;
+		}
+	}
+.hues {
+	.area-select {
+		margin-left: 0 !important;
+		margin-right: 10px;
+	}
+}
+.jehak {
+	.el-form-item {
+		width: 100%;
+	}
+	.el-form-item__content {
+		width: 60%;
+	}
+}
+.oiuyty {
+	.el-form-item__label {
+		width: 80px !important;
+	}
+	.el-form-item__content {
+		margin-left: 80px !important;
+		// width: 70%;
+	}
+	input {
+		padding-right: 0 !important;
+	}
+}
+.el-dialog__body {
+	padding-top: 0;
+	padding-bottom: 0;
+}
+.jhy {
+	// width: 100%;
+	// .el-form-item__content {
+	// 	width: 100%;
+	// 	margin-left: 0 !important;
+	// }
+	.el-form-item__content {
+		margin-left: 55px !important;
+		// width: 70%;
+	}
+	.el-form-item__label {
+		width: 55px !important;
+	}
+}
+.ehiqya {
+	.el-form-item__content {
+		display: flex;
+		.jdidur {
+			flex: 1;
+			margin-left: 10px;
+			// text-align: left;
+			display: flex;
+		}
+	}
+	.upload-demo {
+		display: flex;
+	}
+}
+.jdoier{
+	display: flex;
+	align-items: center;
+	.upload-demo {
+		display: flex;
+	}
+}
+.hueyde {
+	width: 18px;
+	height: 18px;
+	margin: 0 5px;
+	margin-right: 10px;
+}
+.hueydele {
+	width: 15px;
+	height: 18px;
+}
+.hyeoa {
+	height: 100%;
+	display: flex;
+	align-items: center;
+}
+.hjdoecdre {
+	// margin-top: 50%;
+	transform: translateY(50%);
+}
+.ojhgy {
+	.el-dialog {
+		padding-bottom: 40px;
+		padding-top: 10px;
+	}
+	.el-dialog__header {
+		padding-bottom: 20px;
+	}
+	.el-table .cell {
+		line-height: 50px;
+	}
+}
+.hueya{
+	margin-left: 0 !important;
+}
+.iejghiadh{
+	.el-input__inner{
+		padding-right: 0 !important;
+		padding-left: 5px !important;
+	}
+}
+.nhoesf{
+  span:hover{
+    cursor:pointer
+  }
+}
+</style>

+ 273 - 21
src/views/system/user/index.vue

@@ -19,10 +19,10 @@
             :props="defaultProps"
             :expand-on-click-node="false"
             :filter-node-method="filterNode"
-			 node-key="id"
-            ref="tree"
-			:load="loadNode"
-			lazy
+			      node-key="id"
+             ref="tree"
+			      :load="loadNode"
+			      lazy
             @node-click="handleNodeClick"
           />
         </div>
@@ -30,10 +30,10 @@
       <!--用户数据-->
       <el-col :span="20" :xs="24">
         <el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch" label-width="68px">
-          <el-form-item label="用户名称" prop="userName">
+          <el-form-item label="用户账号" prop="userName">
             <el-input
               v-model="queryParams.userName"
-              placeholder="请输入用户名称"
+              placeholder="请输入用户账号"
               clearable
               size="small"
               style="width: 240px"
@@ -143,8 +143,11 @@
         <el-table v-loading="loading" :data="userList" @selection-change="handleSelectionChange">
           <el-table-column type="selection" width="50" align="center" />
           <el-table-column label="用户编号" align="center" key="id" prop="id" v-if="columns[0].visible" />
-          <el-table-column label="用户名称" align="center" key="userName" prop="userName" v-if="columns[1].visible" :show-overflow-tooltip="true" />
-          <el-table-column label="账号" align="center" key="nickName" prop="nickName" v-if="columns[2].visible" :show-overflow-tooltip="true" />
+
+
+          <el-table-column label="用户账号" align="center" key="userName " prop="userName" v-if="columns[1].visible" :show-overflow-tooltip="true" />
+          <el-table-column label="用户名称" align="center" key="nickName" prop="nickName" v-if="columns[2].visible" :show-overflow-tooltip="true" />
+
           <el-table-column label="部门" align="center" key="deptName" prop="dept.deptName" v-if="columns[3].visible" :show-overflow-tooltip="true" />
           <el-table-column label="手机号码" align="center" key="phonenumber" prop="phonenumber" v-if="columns[4].visible" width="120" />
           <el-table-column label="状态" align="center" key="status" v-if="columns[5].visible">
@@ -157,11 +160,11 @@
               ></el-switch>
             </template>
           </el-table-column>
-          <el-table-column label="创建时间" align="center" prop="createTime" v-if="columns[6].visible" width="160">
+          <!-- <el-table-column label="创建时间" align="center" prop="createTime" v-if="columns[6].visible" width="160">
             <template slot-scope="scope">
               <span>{{ parseTime(scope.row.createTime) }}</span>
             </template>
-          </el-table-column>
+          </el-table-column> -->
           <el-table-column
             label="操作"
             align="center"
@@ -209,14 +212,48 @@
     <el-dialog :close-on-click-modal="false" :title="title" :visible.sync="open" width="600px" append-to-body>
       <el-form ref="form" :model="form" :rules="rules" label-width="80px">
         <el-row>
+
           <el-col :span="12">
-            <el-form-item label="账号" prop="nickName">
-              <el-input v-model="form.nickName" placeholder="请输入账号" />
+            <el-form-item label="用户名称" prop="nickName">
+              <el-input v-model="form.nickName" placeholder="请输入用户名称" />
             </el-form-item>
           </el-col>
+
           <el-col :span="12">
             <el-form-item label="归属部门" prop="deptId">
               <treeselect v-model="form.deptId" :options="deptOptionsyu" :show-count="true" placeholder="请选择归属部门" />
+
+
+              <!-- <el-form-item label="归属部门" prop="deptId"> -->
+              	<!-- <el-input v-model="form.villageTowns" type="textarea" placeholder="请输入内容" /> -->
+              	<!-- <treeselect v-model="form.parentId" :options="deptOptionstwo" :normalizer="normalizer" :flat="true" :maxHeight="150" @select="djieskle" :multiple=true placeholder="点击选择户籍地" /> -->
+              	<!-- <el-cascader
+              		:placeholder="nhdyesfgh"
+              		:options="optionsLists"
+              		separator="/"
+                  v-model="nhyeswdga"
+              		@change="chahe"
+              		:props="optionPropsss"
+              		style="width: 100%;"
+              		ref="myCascader"
+                  @active-item-change="handleItemChanges"
+                  :class="[nhdyesfgh == '点击选择归属部门' ? '' : 'placf']"
+              	></el-cascader> -->
+                <!-- <el-cascader
+                	:placeholder="nhdyesfgh"
+                	:options="optionsList"
+                	:filterable="true"
+                	separator="/"
+                	@change="chahe(index)"
+                	v-model="selected"
+                	:props="optionPropsss"
+                	style="width: 100%;"
+                	ref="myCascader"
+                  @active-item-change="handleItemChange"
+                  :class="[nhdyesfgh == '点击选择居住地址' ? '' : 'placf']"
+                ></el-cascader> -->
+              <!-- </el-form-item> -->
+
             </el-form-item>
           </el-col>
         </el-row>
@@ -233,11 +270,19 @@
           </el-col>
         </el-row>
         <el-row>
-          <el-col :span="12">
-            <el-form-item v-if="form.id == undefined" label="用户名称" prop="userName">
-              <el-input v-model="form.userName" placeholder="请输入用户名称" />
+
+          <el-col :span="12" >
+            <el-form-item v-if="form.id == undefined" label="用户账号" prop="userName ">
+              <el-input v-model="form.userName" placeholder="请输入用户账号" />
             </el-form-item>
           </el-col>
+
+         <!-- <el-col :span="12">
+            <el-form-item label="账号" prop="nickName">
+              <el-input v-model="form.nickName" placeholder="请输入账号" />
+            </el-form-item>
+          </el-col> -->
+
           <el-col :span="12">
             <el-form-item v-if="form.id == undefined" label="用户密码" prop="password">
               <el-input v-model="form.password" placeholder="请输入用户密码" type="password" />
@@ -313,7 +358,7 @@
              :class="[ndhesdweaf == '点击选择网格' ? '' : 'placf']"
              ></el-cascader>
             </el-form-item>
-          </el-col>
+          </el-col> 
           <el-col :span="12">
             <el-form-item label="备注">
               <el-input v-model="form.remark" type="textarea" placeholder="请输入内容"></el-input>
@@ -361,7 +406,7 @@
 </template>
 
 <script>
-import { listUser, getUser, delUser, addUser, updateUser, resetUserPwd, changeUserStatus,listRoleergthwg } from "@/api/system/user";
+import { listUser, getUser, delUser, addUser, updateUser, resetUserPwd, changeUserStatus,listRoleergthwg,listRoleergth } from "@/api/system/user";
 import { getToken } from "@/utils/auth";
 import { treeselect,treeselectdepts } from "@/api/system/dept";
 import Treeselect from "@riophae/vue-treeselect";
@@ -406,6 +451,7 @@ export default {
       sexOptions: [],
       // 岗位选项
       postOptions: [],
+      nhdyesfgh:'点击选择归属部门',
       // 角色选项
       roleOptions: [],
       // 表单参数
@@ -415,6 +461,13 @@ export default {
         label: "label"
       },
       ndhesdweaf :'点击选择网格',
+      optionsLists:[],
+      nhyeswdga:[],
+      optionPropsss:{
+        value: 'areaId',
+        label: 'name',
+        checkStrictly: true,
+      },
       // 用户导入参数
       upload: {
         // 是否显示弹出层(用户导入)
@@ -460,9 +513,9 @@ export default {
         userName: [
           { required: true, message: "用户名称不能为空", trigger: "blur" }
         ],
-        nickName: [
-          { required: true, message: "账号不能为空", trigger: "blur" }
-        ],
+        // nickName: [
+        //   { required: true, message: "账号不能为空", trigger: "blur" }
+        // ],
         password: [
           { required: true, message: "用户密码不能为空", trigger: "blur" }
         ],
@@ -493,6 +546,7 @@ export default {
     this.getList();
     this.getTreeselect();
     this.mnyesfjeropwg(0)
+    // this.mnyesfjers(0)
     this.getDicts("sys_normal_disable").then(response => {
       this.statusOptions = response.data;
     });
@@ -544,22 +598,57 @@ export default {
 	loadNode(node, resolve){
 		console.log(node.key)
 		 if (node.level === 0) {
+       let heyt = {}
+       heyt.pid = 0
 			 treeselect().then(response => {
 			   // this.deptOptions = response.data;
 			   return resolve(
-			   response.data
+			    // this.handleDatawgs()
+          response.data
 			   );
 			   // resolve();
 			 });
 
 		}
 		if (node.level >= 1) { // 点击之后触发
+    console.log(node)
 		treeselect({id:node.key}).then(response => {
 		  // this.deptOptions = response.data;
 		  return resolve(response.data);
 		  // resolve(response.data);
 		});
 
+
+    // for (let i = 0; i < data.length; i++) {
+    //   if(!data[i].children) {
+    //     this.$set(data[i], 'children', []);
+    //   }
+    //   if(data[i].id === val){
+    //     let vfer = {}
+    //     vfer.pid = val
+    //     listRoleergthwg(vfer).then(res => {
+    //       // this.cascaderKey = this.cascaderKey + 1
+    //       if(res.data.length) {
+    //         console.log(data[i].children,4567)
+    //         // data[i].children = res.data;
+    //         this.$set(data[i], 'children', res.data)
+    //         console.log(data[i].children,45678)
+    //          this.nhdyesku = true
+    //         data[i].children.forEach(ele => {
+    //           this.$set(ele, 'children', [])
+    //         });
+    //       }else {
+    //         data[i].children = undefined;
+    //       }
+    //     }).catch(err => {
+    //     });
+    //   }else {
+    //     if(data[i].children.length){
+    //       this.handleDatawgs(data[i].children,val,level)
+    //     }
+    //   }
+    // }
+
 		                }
 		  //       if (node.level > 1) return resolve([]);
 				// if(node.level == 1){
@@ -571,6 +660,130 @@ export default {
 		// });
 
 	},
+  chahe(data) {
+  			console.log(data);
+  			// let labelValue = this.$refs['myCascader'].inputValue
+  			// console.log(labelValue)
+  			console.log(this.$refs['myCascader'])
+  			// this.form.provinceId = data[1];
+  			// this.form.cityId = data[2];
+  			// this.form.regionId = data[3];
+  //    this.form.villageTownsId = data[3];
+  //    this.form.villageId = data[3];
+  let nhdye = []
+  nhdye = this.$refs['myCascader'].getCheckedNodes()[0].pathLabels
+     if(data.length == 1){
+       this.form.provinceId = data[ data.length - 1];
+       this.form.province = nhdye[ data.length - 1];
+     }else if(data.length == 2){
+       this.form.cityId = data[ data.length - 1];
+       this.form.city = nhdye[ data.length - 1];
+     }else if(data.length == 3){
+       this.form.regionId = data[ data.length - 1];
+       this.form.region = nhdye[ data.length - 1];
+     }else if(data.length == 4){
+       this.form.villageTownsId = data[ data.length - 1];
+       this.form.villageTowns = nhdye[ data.length - 1];
+     }else if(data.length == 5){
+       this.form.villageId = data[ data.length - 1];
+       this.form.village = nhdye[ data.length - 1];
+     }
+     this.form.deptId = data[ data.length - 1];
+
+  			// if (this.form.villageTowns !== undefined) {
+  			// 	this.hsuej = this.form.villageTowns;
+  			// 	if (this.form.village !== undefined) {
+  			// 		this.hsuej = this.form.villageTowns + this.form.village;
+  			// 		if (this.form.villagerGroup !== undefined) {
+  			// 			this.hsuej = this.form.villageTowns + this.form.village + this.form.villagerGroup;
+  			// 		}
+  			// 	}
+  			// }
+  			this.form.domicile = '';
+     console.log(this.form)
+
+     // if(this.jdourdjoaj == true){
+     //   //新增
+     //   this.form.nowIn =  this.hsuej
+
+     // }else{
+     //    this.form.nowIn !=  this.hsuej
+     // }
+  		},
+
+      handleItemChange(val) {
+        console.log(val,235)
+         let code = val ? val[val.length - 1] : '';  //需请求数据的上级地址的code值
+         let level = val.length + 1;  //需请求第几级地址
+         console.log(this.nameutaiL,2345)
+         console.log(this.form.czrkJzdzList,12365)
+         this.$set(this.form.czrkJzdzList[this.nameutaiL],'optiodne',this.handleData(this.form.czrkJzdzList[this.nameutaiL].optiodne, code, level))
+       },
+
+
+       handleItemChangefr(val) {
+         console.log(val,235)
+          let code = val ? val[val.length - 1] : '';  //需请求数据的上级地址的code值
+          let level = val.length + 1;  //需请求第几级地址
+          this.optionsList = this.handleData(this.optionsList, code, level);
+       	},
+        mnyesfjers(index){
+          this.loading = true;
+          let pids = {}
+          pids.pid = index
+          listRoleergth(pids).then(response => {
+            // this.cascaderKey = this.cascaderKey + 1
+            if(response.data.length == 0){
+              return
+            }
+          	this.optionsLists = this.handleData(response.data);
+          	this.loading = false;
+            console.log(this.cascaderKey,8765)
+          });
+        },
+
+       handleItemChanges(val) {
+         console.log(val,235)
+          let code = val ? val[val.length - 1] : '';  //需请求数据的上级地址的code值
+          let level = val.length + 1;  //需请求第几级地址
+          this.optionsLists = this.handleData(this.optionsLists, code, level);
+          // this.cascaderKey = this.cascaderKey + 1
+       	},
+
+      	handleData(data, val, level) {
+         console.log(data,val,level,7536)
+         for (let i = 0; i < data.length; i++) {
+           if(!data[i].children) {
+             this.$set(data[i], 'children', []);
+           }
+           if(data[i].areaId === val){
+             let vfer = {}
+             vfer.pid = val
+             listRoleergth(vfer).then(res => {
+               // this.cascaderKey = this.cascaderKey + 1
+               if(res.data.length) {
+                 console.log(data[i].children,4567)
+                 // data[i].children = res.data;
+                 this.$set(data[i], 'children', res.data)
+                 console.log(data[i].children,45678)
+                  // this.nhdyesku = true
+                 data[i].children.forEach(ele => {
+                   this.$set(ele, 'children', [])
+                 });
+               }else {
+                 data[i].children = undefined;
+               }
+             }).catch(err => {
+             });
+           }else {
+             if(data[i].children.length){
+               this.handleData(data[i].children,val,level)
+             }
+           }
+         }
+
+          return data;
+      },
     // 用户状态修改
     handleStatusChange(row) {
       let text = row.status === "0" ? "启用" : "停用";
@@ -750,6 +963,45 @@ export default {
       console.log(this.form.gridId)
 
     },
+
+    handleDatawgs(data, val, level) {
+       console.log(data,val,level,7536)
+       for (let i = 0; i < data.length; i++) {
+         if(!data[i].children) {
+           this.$set(data[i], 'children', []);
+         }
+         if(data[i].id === val){
+           let vfer = {}
+           vfer.pid = val
+           listRoleergthwg(vfer).then(res => {
+             // this.cascaderKey = this.cascaderKey + 1
+             if(res.data.length) {
+               console.log(data[i].children,4567)
+               // data[i].children = res.data;
+               this.$set(data[i], 'children', res.data)
+               console.log(data[i].children,45678)
+                this.nhdyesku = true
+               data[i].children.forEach(ele => {
+                 this.$set(ele, 'children', [])
+               });
+             }else {
+               data[i].children = undefined;
+             }
+           }).catch(err => {
+           });
+         }else {
+           if(data[i].children.length){
+             this.handleDatawgs(data[i].children,val,level)
+           }
+         }
+       }
+
+        return data;
+    },
+
+
+
+
     handleItemChangefrwg(val) {
       console.log(val,235)
        let code = val ? val[val.length - 1] : '';  //需请求数据的上级地址的code值

+ 2388 - 0
src/views/system/xsr/index.vue

@@ -0,0 +1,2388 @@
+<template>
+	<div class="app-container">
+		<el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch" label-width="70px">
+			<el-row>
+		    <el-col :span="24">
+		    	<el-row>
+		    		<el-col :span="12" class="jehak">
+		    			<el-form-item label="居住地址" prop="villagerGroup">
+		            <el-cascader
+		            	placeholder="点击选择居住地址"
+		            	:options="optionsList"
+		            	filterable
+		            	@change="chahetwos"
+		            	:props="optionPropsssd"
+		            	style="width: 141%;"
+		            	@keyup.enter.native="handleQuery"
+		              ref = "cdd"
+		              v-model="listd"
+		              @active-item-change="handleItemChangefr"
+		            ></el-cascader>
+		            <!-- optionPropsssd  optionPropsss-->
+		    			</el-form-item>
+		    		</el-col>
+		        <el-col :span="12" class="jehak">
+		        	<el-form-item label="户籍地址" prop="villagerGroup">
+		            <el-cascader
+		            	placeholder="点击选择户籍地址"
+		            	:options="optionsList"
+		            	:filterable="true"
+		            	separator="/"
+		            	@change="chahetwo"
+		            	:props="optionPropsss"
+		            	style="width: 134%;"
+		            	ref="myCascaderqty"
+		              v-model="lser"
+		              @active-item-change="handleItemChangefr"
+		              @keyup.enter.native="handleQuery"
+		            ></el-cascader>
+		        	</el-form-item>
+		        </el-col>
+
+		    	</el-row>
+		    </el-col>
+				<el-col :span="24">
+					<el-row>
+						<el-col :span="7">
+							<el-form-item label="身份证号" prop="idCard">
+								<el-input v-model="queryParams.idCard" placeholder="请输入身份证号码" style="width:240px;" clearable @keyup.enter.native="handleQuery" />
+							</el-form-item>
+						</el-col>
+		        <el-col :span="5">
+		        	<el-form-item label="姓名" prop="userName">
+		        		<el-input v-model="queryParams.userName" placeholder="请输入姓名" style="width:150px;" clearable @keyup.enter.native="handleQuery" />
+		        	</el-form-item>
+		        </el-col>
+						<el-col :span="6">
+							<el-form-item label="联系号码" prop="phoneNum">
+								<el-input v-model="queryParams.phoneNum" placeholder="请输入联系号码" style="width:180px;"clearable @keyup.enter.native="handleQuery" />
+							</el-form-item>
+						</el-col>
+		        <el-col :span="6">
+		        	<el-form-item label="是否确认" prop="status">
+		        		<el-select v-model="queryParams.status" placeholder="是否确认" clearable style="width: 150px"  @keyup.enter.native="handleQuery"
+		        	     >
+		        			<el-option v-for="dict in typeOptionshuujs" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
+		        		</el-select>
+		        	</el-form-item>
+		        </el-col>
+					</el-row>
+				</el-col>
+				<el-col :span="24">
+					<el-row>
+		        <el-col :span="7">
+                <el-form-item label="出生日期" >
+                	<el-date-picker
+                	  clearable
+                	 v-model="queryParams.csrq"
+                	 type="datetime"
+                	 value-format="yyyy-MM-dd HH:mm:ss"
+                	 format="yyyy-MM-dd HH:mm:ss"
+                	  placeholder="出生日期"
+                	style="width:240px;"
+                	></el-date-picker>
+                </el-form-item>
+		        </el-col>
+
+		        <el-col :span="4" >
+		        	<el-form-item>
+		        		<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
+		        		<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
+		        	</el-form-item>
+		        </el-col>
+					</el-row>
+				</el-col>
+			</el-row>
+		</el-form>
+
+		<el-row :gutter="10" class="mb8">
+			<el-col :span="1.5">
+			  <!-- <el-button type="primary" plain icon="el-icon-plus" size="mini" @click="handleAdd" >新增</el-button> -->
+			 </el-col>
+			<el-col :span="1.5">
+				<!-- <el-button type="success" plain icon="el-icon-edit" size="mini" :disabled="single" @click="handleUpdate" >查看确认</el-button> -->
+			</el-col>
+			<el-col :span="1.5">
+				<!-- <el-button type="danger" plain icon="el-icon-edit" size="mini" :disabled="multiple" @click="handleDelete" >变更</el-button> -->
+			</el-col>
+      <!-- <el-col :span="1.5">
+      	<el-button type="primary" :plain="nhykis" icon="el-icon-view" size="mini"  @click="chajnd" >查看常住人口信息</el-button>
+      </el-col> -->
+      <!-- <el-col :span="1.5">
+      	<el-button type="primary" :plain="nhyki" icon="el-icon-view" size="mini"  @click="chajnds" >查看户籍人口信息</el-button>
+      </el-col> -->
+
+			<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
+		</el-row>
+
+		<el-table v-if="nbdgywkajs == true" v-loading="loading" :data="infoList" @selection-change="handleSelectionChange" stripe style="width: 100%" :height="tableMaxHeight">
+			<el-table-column type="selection" width="55" align="center" />
+			<el-table-column label="父亲姓名" align="center" prop="fqxm" fixed width="100"/>
+			<el-table-column label="父亲身份证号" align="center" prop="fqsfzjhm" width="165" />
+			<el-table-column label="母亲姓名" align="center" prop="mqxm" width="100" />
+      <el-table-column label="母亲身份证号" align="center" prop="mqsfzjhm" width="165" />
+      <el-table-column label="新生儿姓名" align="center" prop="xsexm" width="100" />
+      <el-table-column label="新生儿身份证号" align="center" prop="sfzjhm" width="165" />
+      <el-table-column label="出生时间" align="center" prop="csrq" width="110" />
+      <el-table-column label="出生医院" align="center" prop="csyljg"  />
+      <el-table-column label="状态" align="center"   width="80">
+        <template slot-scope="scope">
+         {{scope.row.status == 1? '未确认' : '已确认'}}
+        </template>
+      </el-table-column>
+			<!-- <el-table-column label="户籍地址" align="center" prop="domicileSelect"  /> -->
+
+      <!-- nowInSelect -->
+
+			<!-- <el-table-column label="居住地址" align="center" prop="nowInSelect"  /> -->
+
+			<el-table-column label="操作" align="left" class-name="small-padding fixed-width" fixed="right"  width="120px">
+				<template slot-scope="scope">
+					<el-button size="mini" type="text" icon="el-icon-edit" @click="chakei(scope.row)" >查看确认</el-button>
+		      <!-- <el-button size="mini" type="text" icon="el-icon-edit" @click="handleDelete(scope.row)" class="hueya" >变更</el-button> -->
+
+				</template>
+			</el-table-column>
+		</el-table>
+
+		<pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize" @pagination="getList" />
+
+		<!-- 添加或修改疫苗信息对话框 -->
+		<el-dialog :title="title" :visible.sync="opens" width="1240px" append-to-body>
+			<el-form ref="form" :model="form" :rules="rules" label-width="100px">
+				<el-row>
+					<el-col :span="8" >
+            <!-- @blur="idcde" -->
+						<el-form-item label="身份证号" prop="idCard"><el-input v-model="form.idCard" placeholder="请输入身份证号码"   /></el-form-item>
+					</el-col>
+					<el-col :span="8" >
+						<el-form-item label="姓名" prop="userName"><el-input v-model="form.userName" placeholder="请输入姓名" /></el-form-item>
+					</el-col>
+					<el-col :span="8" >
+						<el-form-item label="性别" prop="gender">
+
+							<!-- <el-input v-model="form.gender" placeholder="请输入性别" /> -->
+
+							<el-select v-model="form.gender" placeholder="性别" clearable style="width: 100%;">
+								<el-option v-for="dict in statusOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
+							</el-select>
+						</el-form-item>
+					</el-col>
+					<el-col :span="24">
+						<el-row>
+							<el-col :span="8">
+								<el-form-item label="联系号码" prop="phoneNum"><el-input v-model="form.phoneNum" placeholder="请输入联系号码" /></el-form-item>
+							</el-col>
+							<el-col :span="8">
+								<el-form-item label="人员分类" prop="keyIndustries">
+									<el-select v-model="form.keyIndustries" placeholder="人员分类" clearable style="width: 100%;">
+										<el-option v-for="dict in typeOptionsname" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
+									</el-select>
+								</el-form-item>
+
+							</el-col>
+							<el-col :span="8">
+								<el-form-item label="年龄" prop="age"><el-input v-model="form.age" placeholder="请输入年龄" /></el-form-item>
+							</el-col>
+						</el-row>
+					</el-col>
+          <el-col :span="24">
+          	<el-row>
+          		<el-col :span="12" style="position: relative;">
+                <span style="position: absolute;top:5px; color: red;left:25px;">*</span>
+          			<el-form-item label="户籍地址" style="margin-bottom: 5px;" >
+          				<!-- <el-input v-model="form.villageTowns" type="textarea" placeholder="请输入内容" /> -->
+          				<!-- <treeselect v-model="form.parentId" :options="deptOptionstwo" :normalizer="normalizer" :flat="true" :maxHeight="150" @select="djieskle" :multiple=true placeholder="点击选择户籍地" /> -->
+          				<el-cascader
+                  v-if="nhyesfx"
+          					:placeholder="nhdyesfgh"
+          					:options="optionsLists"
+          					:filterable="true"
+          					separator="/"
+          					@change="chahe"
+          					:props="optionPropsss"
+          					style="width: 100%;"
+          					ref="myCascader"
+                    @active-item-change="handleItemChanges"
+                    :class="[nhdyesfgh == '点击选择户籍地址' ? '' : 'placf']"
+          				></el-cascader>
+                  <!-- @click.native="clicks"
+                  :popper-class="'cascader' + id" -->
+                  <!-- <el-cascader
+                  	:placeholder="nhdyesfgh"
+                  	:options="optionsList"
+                  	:filterable="true"
+                  	separator="/"
+                  	@change="chahe(index)"
+                  	v-model="selected"
+                  	:props="optionPropsss"
+                  	style="width: 100%;"
+                  	ref="myCascader"
+                    @active-item-change="handleItemChange"
+                    :class="[nhdyesfgh == '点击选择居住地址' ? '' : 'placf']"
+                  ></el-cascader> -->
+                  <p style="line-height: 20px; font-size: 12px;color: red;">点击小圆圈一级一级选择</p>
+          			</el-form-item>
+          		</el-col>
+
+          		<el-col :span="12">
+          			<el-form-item label="详细地址" prop="nowIn"><el-input v-model="form.nowIn" type="input" placeholder="请输入户籍详细地址" /></el-form-item>
+          		</el-col>
+          	</el-row>
+          </el-col>
+
+					<el-col :span="24" v-for="(item, index) in form.czrkJzdzList" :key="index" v-show="senlsduea == false || index !== 0">
+            <el-col :span="12">
+            	<el-form-item label="居住地址" prop="province" style="margin-bottom: 5px;">
+                <el-cascader
+                	:placeholder="item.plaed"
+                	:options="item.optiodne"
+                	:filterable="true"
+                	separator="/"
+                	@change="onSelected(index)"
+                	:props="optionPropsss"
+                	style="width: 100%;"
+                	:ref="'myCascaderf' + '' + index"
+                  v-model="item.seleted"
+                  @active-item-change="handleItemChange"
+                  :class="[item.plaed == '请选择居住地址' ? '' : 'placf']"
+                ></el-cascader>
+                <!-- :popper-class="'cascader' + idsg"
+                @click.native="click(index)" -->
+                 <!-- @active-item-change="handleItemChange" v-if = 'nhdyesku' -->
+                 <p style="line-height: 20px; font-size: 12px;color: red;">点击小圆圈一级一级选择</p>
+            	</el-form-item>
+              <!-- :key="cascaderKey"  seleted -->
+
+            </el-col>
+            <el-col :span="11">
+            	<el-form-item label="详细地址" prop="nowIn"><el-input v-model="item.nowIn" type="input" placeholder="请输入内容" /></el-form-item>
+            </el-col>
+            <el-col :span="1">
+              <div class="hyeoa" style="margin-top: 10px;">
+              	 <el-tooltip class="item" effect="dark" content="新增居住地址信息,请慎重操作" placement="top-start">
+              	      <img src="../../../assets/images/icon_tc_add.png" alt="" class="hueyde" @click="tijea(index)" />
+              	    </el-tooltip>
+              		<el-tooltip class="item" effect="dark" content="删除无法恢复,请慎重操作" placement="top-start">
+              		     <img src="../../../assets/images/delei.png" alt="" class="hueydele" @click="naeyrfakjf(index, item)" />
+              		   </el-tooltip>
+              </div>
+            </el-col>
+          </el-col>
+
+					<el-col :span="24" >
+						<el-col :span="12">
+							<el-form-item label="户主" prop="houseType">
+								<el-select v-model="form.houseType" placeholder="户主" clearable style="width: 100%;"  @change="changese">
+									<el-option v-for="dict in typeOptionshuuj" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
+								</el-select>
+							</el-form-item>
+						</el-col>
+						<el-col :span="12">
+							<el-form-item label="户编号" prop="code">
+							<el-input  v-model="form.code" placeholder="请输入户主编号"/>
+              <!-- :disabled="nhe" -->
+							</el-form-item>
+						</el-col>
+					</el-col>
+          <el-col :span="24" >
+            <el-col :span="12" >
+                <el-form-item label="与户主关系" prop="yhzgx">
+                	<el-select v-model="form.yhzgx" placeholder="与户主关系" clearable style="width: 100%;">
+                		<el-option v-for="dict in typeOptionstyzandeh" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictLabel" />
+                	</el-select>
+                </el-form-item>
+            </el-col>
+            <el-col :span="12">
+            	<el-form-item label="网格" prop="houseTyper">
+            		<el-cascader
+            			:placeholder="ndhesdweaf"
+            			:options="optionsListwg"
+            			filterable
+            			@change="chahetwoswge"
+            			:props="optionPropsssdwg"
+            			style="width: 100%;"
+            			@keyup.enter.native="handleQuery"
+                  :key="nhduesw"
+            		  ref = "cddfr"
+            		  @active-item-change="handleItemChangefrwg"
+                  :class="[ndhesdweaf == '点击选择网格' ? '' : 'placf']"
+            		></el-cascader>
+            	</el-form-item>
+            </el-col>
+          </el-col>
+          <el-col :span="24">
+              <el-form-item label="备注" prop="remark">
+              	<el-input v-model="form.remark" type="input" placeholder="请输入户籍详细地址" />
+              </el-form-item>
+          </el-col>
+				</el-row>
+			</el-form>
+			<div slot="footer" class="dialog-footer">
+				<el-button type="primary" @click="submitForm">确 定</el-button>
+				<el-button @click="cancel">取 消</el-button>
+			</div>
+		</el-dialog>
+
+		<!-- 图片预览 -->
+		<el-dialog :close-on-click-modal="false" title="变更原因" :visible.sync="imashow" width="800px" append-to-body >
+      <el-form ref="formgt" :model="formgt" :rules="ruleshy" label-width="100px" style="padding-bottom: 30px;">
+      <el-form-item label="变更:" prop="houseType">
+      	<el-select v-model="formgt.houseType" placeholder="请选择变更原因" clearable style="width: 100%;">
+      		<el-option v-for="dict in typeOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
+      	</el-select>
+      </el-form-item>
+      </el-form>
+      <div slot="footer" class="dialog-footer">
+      	<el-button type="primary" @click="submitFormfr">确 定</el-button>
+      	<el-button @click="cancel">取 消</el-button>
+      </div>
+		</el-dialog>
+
+    <el-dialog :close-on-click-modal="false" title="确认新生儿" :visible.sync="jiezhong" width="600" append-to-body class="ojhgy">
+    	<div style="color: red;">请选择新生儿基本信息跟随父亲还是母亲</div>
+    	<div slot="footer" class="dialog-footer">
+    		<el-button type="primary" @click="submitFormfr(0)">跟随父亲</el-button>
+    		<el-button type="primary" @click="submitFormfr(1)">跟随母亲</el-button>
+    	</div>
+    </el-dialog>
+	</div>
+</template>
+
+<script>
+import {listRoleergth } from '@/api/system/residentss';
+import { listInfo,listInfoch, getInfo, delInfo, addInfo, updateInfo, exportInfo, listRoleer, idces, delInfort,yiaoe,exportConfig,exportConfigtyr,importLog,delInfohy,listRoleergthwg } from '@/api/system/xsr';
+import { treeselect } from '@/api/system/dept';
+import Treeselect from '@riophae/vue-treeselect';
+import { getToken } from '@/utils/auth';
+import '@riophae/vue-treeselect/dist/vue-treeselect.css';
+export default {
+	name: 'Info',
+	components: { Treeselect },
+	data() {
+		return {
+			// 遮罩层
+			loading: true,
+			// 选中数组
+			ids: [],
+      id:'fg',
+      idsg:'gh',
+			// 非单个禁用
+			single: true,
+			// 非多个禁用
+			multiple: true,
+			// 显示搜索条件
+			showSearch: true,
+			// 总条数
+			total: 0,
+      ruleshy:{},
+			// 疫苗信息表格数据
+			infoList: [],
+			dialogImageUrl: '',
+			// 弹出层标题
+			title: '',
+      totalfr:0,
+      nhyesfx:false,
+      ndhesdweaf:'点击选择网格',
+			// 是否显示弹出层
+			opens: false,
+			process: process.env.VUE_APP_BASE_API,
+			// 查询参数
+			queryParams: {
+				pageNum: 1,
+				pageSize: 10,
+				villageTowns: null,
+				village: null,
+				villagerGroup: null,
+				houseType: null,
+				province: null,
+				city: null,
+				userName: null,
+        isRl: '否',
+        queryType:null,
+				gender: null,
+				idCard: null,
+				phoneNum: null,
+				keyIndustries: null,
+				isVaccination: null,
+				vaccineName: null,
+				vaccinationTime: null,
+				vaccinationPlace: null,
+				contraindication: null,
+				params:{
+					age:''
+				}
+			},
+			config: [],
+			comfietg:[],
+			configther:[],
+			configfor:[],
+      senlsduea:false,
+      nhykis:true,
+      nhyki:false,
+      nhduesw:0,
+      typeOptionshuujs: [
+            	{
+            		dictValue: '2',
+            		dictLabel: '是'
+            	},
+            	{
+            		dictValue: '1',
+            		dictLabel: '否'
+            	}
+            ],
+			// 表单参数
+			form: {
+				nowIn: '',
+				age:'',
+				code:'',
+				czrkJzdzList: [
+					{
+						provinceId: '',
+						province: '',
+						deptId: '',
+						cityId: '',
+						city: '',
+						regionId:'',
+            region: '',
+            townId: '',
+            town: '',
+            villageId: '',
+            village: '',
+            nowIn:'',
+            seleted:[],
+            plaed:'请选择居住地址',
+            optiodne:[],
+						disableg:false,
+
+					}
+				]
+			},
+      nbdgywkajs:false,
+      // 用户导入参数
+      upload: {
+        // 是否显示弹出层(用户导入)
+        opens: false,
+        // 弹出层标题(用户导入)
+        title: "",
+        // 是否禁用上传
+        isUploading: false,
+        // 是否更新已经存在的用户数据
+        updateSupport: 0,
+        // 设置上传的请求头部
+        headers: { Authorization: "Bearer " + getToken() },
+        // 上传的地址
+        url: process.env.VUE_APP_BASE_API + "/boman-web-core//file/common/importYmjz"
+      },
+			// 表单校验
+			rules: {
+				idCard: [{ required: true, message: '身份证号码不能为空', trigger: 'blur' }],
+				userName: [{ required: true, message: '姓名不能为空', trigger: 'blur' }],
+				// villageTowns:[{ required: true, message: '户籍地址不能为空或不能只选潜山市', trigger: 'blur' }],
+        houseType:[{ required: true, message: '请选择是否户主', trigger: 'blur' }],
+        code:[{ required: true, message: '请输入户编号信息', trigger: 'blur' }],
+        yhzgx:[{ required: true, message: '请选择与户主关系', trigger: 'blur' }],
+      },
+
+			selected: [],
+			selectedtwo: [],
+			statusOptions: [
+				{
+					dictValue: '女',
+					dictLabel: '女'
+				},
+				{
+					dictValue: '男',
+					dictLabel: '男'
+				}
+			],
+			statusOptionstue: [
+				{
+					dictValue: '已完成',
+					dictLabel: '已完成'
+				},
+				{
+					dictValue: '未完成',
+					dictLabel: '未完成'
+				}
+			],
+			typeOptionshuuj: [
+				{
+					dictValue: '是',
+					dictLabel: '是'
+				},
+				{
+					dictValue: '否',
+					dictLabel: '否'
+				}
+			],
+			deptOptionstwo: [],
+			options: [],
+      optionss:[],
+      optionsList: [],
+			optionProps: {
+				value: 'areaId',
+				label: 'name',
+				checkStrictly: true,
+			},
+      optionPropsssd:{
+        value: 'areaId',
+        label: 'name',
+        checkStrictly: true,
+        lazy: true,
+        lazyLoad: this.lazyLoads,
+        leaf: "leaf"
+      },
+      optionPropsss: {
+      	value: 'areaId',
+      	label: 'name',
+      	checkStrictly: true,
+      },
+      optionPropsssdwg:{
+        value: 'id',
+        label: 'areaName',
+        checkStrictly: true,
+      },
+			optionPropstwo: {
+				value: 'id',
+				label: 'label',
+				children: 'children',
+				checkStrictly: true
+			},
+			heuiq: [],
+			typeOptions: [],
+			typeOptionsty: [
+				{
+					dictValue: '是',
+					dictLabel: '是'
+				},
+				{
+					dictValue: '否',
+					dictLabel: '否'
+				}
+			],
+			typeOptionstyzandeh:[],
+			angesList: [
+
+			],
+			typeOptionsname: [],
+			typeOptionstimes: [],
+			typeOptionsvaccinatio: [],
+			typeOptionscont: [],
+			typeOptionscontty: [],
+			typeOptionscontqit:[],
+			// 剂次
+			typeOptionstimesgt: [
+				{
+					dictValue: '1',
+					dictLabel: '1'
+				},
+				{
+					dictValue: '2',
+					dictLabel: '2'
+				},
+				{
+					dictValue: '3',
+					dictLabel: '3'
+				},
+				{
+					dictValue: '加强针',
+					dictLabel: '加强针'
+				}
+			],
+			imashow: false,
+			naneme: false,
+			shouwes: false,
+			shouwestwo:false,
+			villageTownshy: undefined,
+			naiseurya: '',
+			hsuej: '',
+			jdourdjoaj: false,
+			jiezhong: false,
+			jiezheList: [],
+      optionsListwg:[],
+			fireLise:{config:[]},
+			nameutaiL:0,
+			jue:false,
+			nhue:true,
+      exportflag:true,
+      errorlog:false,
+      errorList:[],
+      idfer:0,
+      formgt:{},
+      list: [],
+      listd:[],
+      lser:[],
+      dneyhsd:{},
+      nhdyesfgh:'点击选择户籍地址',
+      nhe:false,
+      nhyesoder:0,
+      ndhuwosdjh:{
+        pageNum: 1,
+        pageSize: 10,
+      },
+      tableMaxHeight:300,
+      cascaderKey:0,
+      optionsLists:[],
+      nhyeojd:false,
+      ndhyuewkg:[],
+      nhdyesku:false,
+      shouwef:false,
+      ncdwee:1,
+      nhsxs:{}
+		};
+	},
+	created() {
+		this.getList();
+		// this.getTreeselectjue();
+    this.mnyesfjer(0)
+    // this.mnyesfjers(0)
+    // this.mnyesfjerop(0)
+    this.mnyesfjeropwg(0)
+    // this.getTreeselectjuetj()
+		// 重点行业
+		this.getDicts('person_type').then(response => {
+			this.typeOptions = response.data;
+		});
+		// 疫苗名称
+		// this.getDicts('renyuanfenlei').then(response => {
+		// 	this.typeOptionsname = response.data;
+		// });
+
+    // 与户主关系
+    // this.getDicts('yuhuzhuguanxi').then(response => {
+    // 	this.typeOptionstyzandeh = response.data;
+    // });
+
+		// 年龄阶段
+		this.getDicts('age_interval').then(response => {
+			this.angesList = response.data;
+		});
+
+		// this.form.province = this.selected[0];
+		// this.form.city = this.selected[1];
+		// this.form.region = this.selected[2];
+		console.log(this.selected,456)
+    console.log(this.cascaderKey,347)
+		// this.queryParams.province = this.selectedtwo[0];
+		// this.queryParams.city = this.selectedtwo[1];
+		// this.queryParams.region = this.selectedtwo[2];
+		// this.naiseurya = this.form.province + this.form.city + this.form.region;
+    window.onresize = () => {
+                    this.changeTableMaxHeight()
+                  }
+                  this.changeTableMaxHeight()
+	},
+	mounted() {
+		console.log(136)
+    window.onresize = () => {
+                    this.changeTableMaxHeight()
+                  }
+                  this.changeTableMaxHeight()
+	},
+	methods: {
+    nhyeosdsef(){
+     console.log(234)
+    },
+		onSelected(data,val) {
+			console.log(data, 125);
+      if(this.opens == false){
+        return  false
+      }
+      this.nameutaiL = data
+      console.log(this.nameutaiL,76543)
+      console.log(this.form.czrkJzdzList[data].seleted)
+      console.log(this.$refs['myCascaderf' + '' + data],123)
+      console.log(this.$refs['myCascaderf' + '' + data][0].$refs.panel.checkedValue,data)
+      console.log(this.$refs['myCascaderf' + '' + data][0].getCheckedNodes()[0].pathLabels)
+
+      // if(data !== 0){
+      //   if(this.nhyeojd = true){
+      //     this.$refs['myCascaderf' + '' + this.nameutaiL][0].$refs.panel.clearCheckedNodes()
+      //   }
+      // }
+      // var nhedse = []
+      // nhedse = this.$refs['myCascaderf']
+      // if(nhedse.length > 1){
+      //   this.$refs['myCascaderf'] = this.$refs['myCascaderf'][0];
+      //   console.log(this.$refs['myCascaderf'],133)
+      //   // for(var i = 0 ; i < nhedse.length; i++){
+      //   //   if(i == 0){
+      //   //     this.$refs['myCascaderf'][0].$refs.panel.clearCheckedNodes()
+      //   //   }
+      //   // }
+      // }
+   //    this.$refs['myCascaderf'][0].$refs.panel.checkedValue =  this.form.czrkJzdzList[data].seleted
+   //    console.log(this.$refs['myCascaderf'][0].$refs.panel.checkedValue,data)
+   //    console.log(this.$refs['myCascaderf'][0].getCheckedNodes()[0].pathLabels)
+      this.nhyeojd = false
+      // this.nhdyesku = false
+			// province
+      let nhdye = []
+      nhdye = this.$refs['myCascaderf' + '' + data][0].getCheckedNodes()[0].pathLabels
+      let nhyhe = []
+      nhyhe = this.form.czrkJzdzList[data].seleted
+      if(nhdye.length == 1){
+        this.form.czrkJzdzList[data].provinceId = nhyhe[ nhyhe.length - 1];
+        this.form.czrkJzdzList[data].province = nhdye[ nhdye.length - 1];
+        this.form.czrkJzdzList[data].cityId = null
+        this.form.czrkJzdzList[data].city = null
+        this.form.czrkJzdzList[data].regionId = null
+        this.form.czrkJzdzList[data].region = null
+        this.form.czrkJzdzList[data].townId = null
+        this.form.czrkJzdzList[data].town = null
+        this.form.czrkJzdzList[data].villageId = null
+        this.form.czrkJzdzList[data].village = null
+      }else if(nhdye.length == 2){
+        this.form.czrkJzdzList[data].cityId = nhyhe[ nhyhe.length - 1];
+        this.form.czrkJzdzList[data].city = nhdye[ nhdye.length - 1];
+        this.form.czrkJzdzList[data].regionId = null
+        this.form.czrkJzdzList[data].region = null
+        this.form.czrkJzdzList[data].townId = null
+        this.form.czrkJzdzList[data].town = null
+        this.form.czrkJzdzList[data].villageId = null
+        this.form.czrkJzdzList[data].village = null
+      }else if(nhdye.length == 3){
+        this.form.czrkJzdzList[data].regionId = nhyhe[ nhyhe.length - 1];
+        this.form.czrkJzdzList[data].region = nhdye[ nhdye.length - 1];
+        this.form.czrkJzdzList[data].townId = null
+        this.form.czrkJzdzList[data].town = null
+        this.form.czrkJzdzList[data].villageId = null
+        this.form.czrkJzdzList[data].village = null
+      }else if(nhdye.length == 4){
+        this.form.czrkJzdzList[data].townId = nhyhe[ nhyhe.length - 1];
+        this.form.czrkJzdzList[data].town = nhdye[ nhdye.length - 1];
+        this.form.czrkJzdzList[data].villageId = null
+        this.form.czrkJzdzList[data].village = null
+      }else if(nhdye.length == 5){
+        this.form.czrkJzdzList[data].villageId = nhyhe[ nhyhe.length - 1];
+        this.form.czrkJzdzList[data].village = nhdye[ nhdye.length - 1];
+      }
+     this.form.czrkJzdzList[data].deptId =  nhyhe[ nhyhe.length - 1]
+      // id
+			// this.form.province = data[0];
+			// this.form.city = data[1];
+			// this.form.region = data[2];
+      // 名称
+			// this.naiseurya = this.form.province + this.form.city + this.form.region;
+			// if (this.jdourdjoaj == false) {
+			// 	// 修改
+			// 	this.form.nowIn = '';
+			// }
+			// this.form.nowIn = undefined
+			// this.form.villageTowns = data[3]
+      console.log(this.form)
+		},
+		dakousr() {
+			console.log(2345);
+		},
+    mnyesfjer(index,val){
+      this.loading = true;
+      let pids = {}
+      pids.pid = index
+      listRoleergth(pids).then(response => {
+        // this.cascaderKey = this.cascaderKey + 1
+        if(response.data.length == 0){
+          return
+        }
+        if(val !== undefined){
+          this.nameutaiL = val
+        }
+         console.log(this.nameutaiL,87)
+      	this.form.czrkJzdzList[this.nameutaiL].optiodne = this.handleData(response.data);
+        this.optionsLists = this.handleData(response.data);
+        this.optionsList = this.handleData(response.data);
+
+        // this.form.czrkJzdzList[0].optiodne
+      	this.loading = false;
+        console.log(this.cascaderKey,8765)
+      });
+    },
+
+    mnyesfjeropwg(index){
+      this.loading = true;
+      let pids = {}
+      pids.pid= index
+      listRoleergthwg(pids).then(response => {
+      	this.optionsListwg = this.handleDatawg(response.data);
+      	this.loading = false;
+      });
+    },
+    mnyesfjerty(index,val){
+      this.loading = true;
+      let pids = {}
+      pids.pid = index
+      listRoleergth(pids).then(response => {
+        // this.cascaderKey = this.cascaderKey + 1
+        if(response.data.length == 0){
+          return
+        }
+        if(val !== undefined){
+          this.nameutaiL = val
+        }
+        for(var i = 0 ; i < this.form.czrkJzdzList.length ; i++){
+          // this.nameutaiL = i
+          // this.mnyesfjerty(0)
+          this.form.czrkJzdzList[i].optiodne = this.handleData(response.data);
+        }
+
+        // this.form.czrkJzdzList[0].optiodne
+      	this.loading = false;
+        console.log(this.cascaderKey,8765)
+      });
+    },
+    mnyesfjerop(index){
+      this.loading = true;
+      let pids = {}
+      pids.pid = index
+      listRoleergth(pids).then(response => {
+      	this.optionsList = this.handleData(response.data);
+      	this.loading = false;
+      });
+    },
+    mnyesfjers(index){
+      this.loading = true;
+      let pids = {}
+      pids.pid = index
+      listRoleergth(pids).then(response => {
+        // this.cascaderKey = this.cascaderKey + 1
+        if(response.data.length == 0){
+          return
+        }
+      	this.optionsLists = this.handleData(response.data);
+      	this.loading = false;
+        console.log(this.cascaderKey,8765)
+      });
+    },
+    lazyLoads(node, resolve) {
+      console.log(node,34545678)
+          if (node.level == 0) {
+            let res =  this.mnyesfjer(0); // 不存在就默认加载第一集节点
+            resolve(res);
+          } else {
+            // 有children属性了就不要再请求了,不然字节点会重复
+            if (!node.data.children) {
+              // 获取子节点数据
+              let res =  this.mnyesfjer(node.data.areaId);
+              console.log(node.children)
+              let nfhh = node.children.push(res)
+              setTimeout(() => {
+                resolve(res);
+              }, 200);
+            } else {
+              resolve([]);
+            }
+          }
+        },
+     format() {
+          let res =  this.getfristChild(); // 拿一级数据
+          this.list.forEach((item) => {
+            // 遍历回显的id 二维数组
+            if (item.length > 1) {
+              item.forEach(async (sitem, index) => {
+                if (index == item.length - 1) {
+                  return; // 如果是一级节点就不用查找了
+                }
+                let arr =  this.getOther(sitem); // 不是一级,获取子级
+                this.findItem(res, arr, sitem); //  判断当前拿到的子级数据属于哪个一级数据下的子级,并且加到当前一级的children属性下
+              });
+            }
+          });
+           },
+     // 递归判断
+           findItem(res, arr, id) {
+            for (let i = 0; i < res.length; i++) {
+              if (res[i].value === id) {
+                res[i].children = arr; // 有chidlren 也要判断是不是这个children下的子级
+                return res;
+              }
+              if (res[i].children) {
+                this.findItem(res[i].children, arr, id);
+              }
+            }
+             return res;
+          },
+
+
+   // getAddress() {
+   // 	        this.mnyesfjer(0).then(res => {
+   // 	          this.optionsList =  this.handleData(res.data);
+   // 	        }).catch(err => {
+   // 	        })
+   // 	    },
+   	     handleItemChange(val) {
+           console.log(val,235)
+   	        let code = val ? val[val.length - 1] : '';  //需请求数据的上级地址的code值
+   	        let level = val.length + 1;  //需请求第几级地址
+            console.log(this.nameutaiL,2345)
+            console.log(this.form.czrkJzdzList,12365)
+            this.$set(this.form.czrkJzdzList[this.nameutaiL],'optiodne',this.handleData(this.form.czrkJzdzList[this.nameutaiL].optiodne, code, level))
+   	        // this.form.czrkJzdzList[this.nameutaiL].optiodne = this.handleData(this.form.czrkJzdzList[this.nameutaiL].optiodne, code, level);
+         	  // console.log(this.optionsList,23456)
+            // console.log(this.$refs.myCascaderf,2588)
+            // console.log(this.$refs['myCascaderf'][0].$refs.panel.clearCheckedNodes(),258)
+            // if(data !== 0){
+              // if(this.nhyeojd == true){
+              //   this.$refs['myCascaderf'][this.nameutaiL].$refs.panel.clearCheckedNodes()
+              // }
+            // }
+            // this.$refs['myCascaderf'][0].$refs.panel.clearCheckedNodes()
+            // console.log(this.$refs['myCascaderf'][this.nameutaiL].$refs.panel.checkedValue,345678)
+
+          },
+
+
+          handleItemChangefr(val) {
+            console.log(val,235)
+             let code = val ? val[val.length - 1] : '';  //需请求数据的上级地址的code值
+             let level = val.length + 1;  //需请求第几级地址
+             this.optionsList = this.handleData(this.optionsList, code, level);
+          	},
+
+          handleItemChanges(val) {
+            console.log(val,235)
+             let code = val ? val[val.length - 1] : '';  //需请求数据的上级地址的code值
+             let level = val.length + 1;  //需请求第几级地址
+             this.optionsLists = this.handleData(this.optionsLists, code, level);
+             this.cascaderKey = this.cascaderKey + 1
+          	},
+
+         	handleData(data, val, level) {
+            console.log(data,val,level,7536)
+            var that = this
+   	        for (let i = 0; i < data.length; i++) {
+   	          if(!data[i].children) {
+   	            that.$set(data[i], 'children', []);
+   	          }
+   	          if(data[i].areaId === val){
+                let vfer = {}
+                vfer.pid = val
+   	            listRoleergth(vfer).then(res => {
+                  // this.cascaderKey = this.cascaderKey + 1
+   	              if(res.data.length) {
+                    console.log(i,4567)
+   	                // data[i].children = res.data;
+                    that.$set(data[i], 'children', res.data)
+
+                     // this.nhdyesku = true
+   	                data[i].children.forEach(ele => {
+   	                  that.$set(ele, 'children', [])
+   	                });
+                    // console.log(data[i].children,45678)
+   	              }else {
+
+   	                data[i].children = undefined;
+
+
+   	              }
+
+   	            }).catch(err => {
+   	            });
+   	          }else {
+   	            if(data[i].children.length){
+   	              that.handleData(data[i].children,val,level)
+   	            }
+   	          }
+   	        }
+              // console.log(data,666666)
+             return data;
+         },
+
+         handleItemChangefrwg(val) {
+           console.log(val,235)
+            let code = val ? val[val.length - 1] : '';  //需请求数据的上级地址的code值
+            let level = val.length + 1;  //需请求第几级地址
+            this.optionsListwg = this.handleDatawg(this.optionsListwg, code, level);
+            // this.cascaderKey = this.cascaderKey + 1
+         	},
+
+         handleDatawg(data, val, level) {
+            console.log(data,val,level,7536)
+            for (let i = 0; i < data.length; i++) {
+              if(!data[i].children) {
+                this.$set(data[i], 'children', []);
+              }
+              if(data[i].id === val){
+                let vfer = {}
+                vfer.pid = val
+                listRoleergthwg(vfer).then(res => {
+                  // this.cascaderKey = this.cascaderKey + 1
+                  if(res.data.length) {
+                    console.log(data[i].children,4567)
+                    // data[i].children = res.data;
+                    this.$set(data[i], 'children', res.data)
+                    console.log(data[i].children,45678)
+                     this.nhdyesku = true
+                    data[i].children.forEach(ele => {
+                      this.$set(ele, 'children', [])
+                    });
+                  }else {
+                    data[i].children = undefined;
+                  }
+                }).catch(err => {
+                });
+              }else {
+                if(data[i].children.length){
+                  this.handleDatawg(data[i].children,val,level)
+                }
+              }
+            }
+
+             return data;
+         },
+
+		onSelectedtwo(data) {
+			console.log(data);
+			// province
+			this.queryParams.province = data[0];
+			this.queryParams.city = data[1];
+			this.queryParams.region = data[2];
+			// this.queryParams.villageTowns = data[3]
+		},
+		/** 查询疫苗信息列表 */
+		getList() {
+			this.loading = true;
+			listInfo(this.queryParams).then(response => {
+				this.infoList = response.rows;
+        this.nbdgywkajs = true
+				this.total = response.total;
+				this.loading = false;
+			});
+		},
+    getListch() {
+    	this.loading = true;
+    	listInfoch(this.queryParams).then(response => {
+    		this.infoList = response.rows;
+        this.nbdgywkajs = true
+    		this.total = response.total;
+    		this.loading = false;
+    	});
+    },
+		getToken() {
+			return getToken();
+		},
+		getTreeselectjue() {
+			this.loading = true;
+      let pids = {}
+      pids.pid = 0
+			listRoleer().then(response => {
+				this.options = response.data;
+				this.loading = false;
+			});
+		},
+    // 统计数据
+    getTreeselectjuetj() {
+    	this.loading = true;
+      listInfotj().then(response => {
+        this.dneyhsd =  response.data
+        this.loading = false;
+      });
+    },
+
+		/** 转换角色数据结构 */
+		normalizer(node) {
+			// if (node.children && !node.children.length) {
+			//   delete node.children;
+			// }
+			return {
+				id: node.id,
+				label: node.roleName
+			};
+		},
+		// 点击组/角色
+		djieskle(node, instanceId) {
+			// this.personnel(node.id);
+			console.log(node, instanceId);
+		},
+		// 身份证
+		idcde(event) {
+			console.log(event);
+      console.log(event);
+      	// 身份证号码为15位或者18位,15位时全为数字,18位前17位为数字,最后一位是校验位,可能为数字或字符X
+      	let reg = /^([1-6][1-9]|50)\d{4}(18|19|20)\d{2}((0[1-9])|10|11|12)(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/;
+      	let _IDre15 =  /^([1-6][1-9]|50)\d{4}\d{2}((0[1-9])|10|11|12)(([0-2][1-9])|10|20|30|31)\d{3}$/;
+      	// 护照
+      	 // let ncjsle = /^1[45][0-9]{7}$|(^[P|p|S|s]\d{7}$)|(^[S|s|G|g|E|e]\d{8}$)|(^[Gg|Tt|Ss|Ll|Qq|Dd|Aa|Ff]\d{8}$)|(^[H|h|M|m]\d{8,10}$)/;
+      	 let ncjsle = /^[a-zA-Z0-9]{5,17}$/
+      	 let nhyeli = /^[a-zA-Z]{5,17}$/
+      	// 港澳
+      	let gnse = /^([A-Z]\d{6,10}(\(\w{1}\))?)$/;
+      	// 台湾
+      	// let tw = /^\d{8}|^[a-zA-Z0-9]{10}|^\d{18}$/
+      	var tw =  /^[0-9]{8}$/;
+      	 var twe = /^[0-9]{10}$/;
+      	// 校验身份证:
+      	console.log(reg.test(this.form.idCard),23741)
+      	if ( reg.test(this.form.idCard)|| _IDre15.test(this.form.idCard)) {
+      		this.idea();
+      		// this.go(this.form.idCard.length);
+      		// callback()
+      	} else {
+      	  if(ncjsle.test(this.form.idCard) || nhyeli.test(this.form.idCard)){
+      	     console.log(3)
+      	  }else{
+      	    if(gnse.test(this.form.idCard)  ){
+      	        console.log(4)
+      	    }else{
+      	      if(tw.test(this.form.idCard) || twe.test(this.form.idCard)){
+      	        console.log(5)
+      	      }else{
+      	        this.msgInfo('证件格式不正确');
+      	      }
+
+      	      // return false
+      	    }
+
+      	  }
+      		// callback(new Error('身份证号码不正确'))
+      	}
+      // },
+			// 身份证号码为15位或者18位,15位时全为数字,18位前17位为数字,最后一位是校验位,可能为数字或字符X
+
+		},
+		// 实现自动生成生日,性别,年龄
+		go(val) {
+			let iden = this.form.idCard;
+			let sex = null;
+			let birth = null;
+			let birthr = '';
+			let myDate = new Date();
+			let month = myDate.getMonth() + 1;
+			let day = myDate.getDate();
+			let age = 0;
+
+			if (val === 18) {
+				age = myDate.getFullYear() - iden.substring(6, 10) - 1;
+				sex = iden.substring(16, 17);
+				birth = iden.substring(6, 10) + '-' + iden.substring(10, 12) + '-' + iden.substring(12, 14);
+				if (iden.substring(10, 12) < month || (iden.substring(10, 12) == month && iden.substring(12, 14) <= day)) age++;
+			}
+			if (val === 15) {
+				age = myDate.getFullYear() - iden.substring(6, 8) - 1901;
+				sex = iden.substring(13, 14);
+				birth = '19' + iden.substring(6, 8) + '-' + iden.substring(8, 10) + '-' + iden.substring(10, 12);
+				if (iden.substring(8, 10) < month || (iden.substring(8, 10) == month && iden.substring(10, 12) <= day)) age++;
+			}
+
+			if (sex % 2 === 0) sex = '女';
+			else sex = '男';
+			this.form.gender = sex;
+			// this.baseInfo.age = age;
+			birthr = birth + '';
+			console.log(birthr);
+			// this.form.birthday = birthr;
+			// this.$set(this.form.birthday, birthr)
+			// this.baseInfo.birthplace = this.area[iden.substring(0,2)];
+		},
+		// 请求身份证数据
+		idea() {
+			idces({ idCard: this.form.idCard }).then(response => {
+				console.log(response);
+				this.form.gender = response.data.gender;
+				// this.form.birthday = response.data.birthday;
+				this.form.age = response.data.age
+				this.form.code = response.data.code
+				if (response.data.userName == null) {
+					this.form.userName = undefined;
+				} else {
+					this.form.userName = response.data.userName;
+				}
+		    if(response.data.code == null){
+		      this.form.code = null;
+		    }else{
+		      this.form.code = response.data.code;
+		    }
+		    if(response.data.province == null){
+		      this.form.province = null;
+		      this.form.provinceId = null;
+		    }else{
+		      this.form.province = response.data.province;
+		      this.form.provinceId = response.data.provinceId;
+		    }
+		    if(response.data.city == null){
+		      this.form.city = null;
+		      this.form.cityId = null;
+		    }else{
+		      this.form.city = response.data.city;
+		      this.form.cityId = response.data.cityId;
+		    }
+		    if(response.data.region == null){
+		      this.form.region = null;
+		      this.form.regionId = null;
+		    }else{
+		      this.form.region = response.data.region;
+		      this.form.regionId = response.data.regionId;
+		    }
+
+		    if(response.data.villageTowns == null){
+		      this.form.villageTowns = null;
+		      this.form.villageTownsId = null;
+		    }else{
+		      this.form.villageTowns = response.data.villageTowns;
+		      this.form.villageTownsId = response.data.villageTownsId;
+		    }
+
+		    if(response.data.village == null){
+		      this.form.village = null;
+		      this.form.villageId = null;
+		    }else{
+		      this.form.village = response.data.village;
+		      this.form.villageId = response.data.villageId;
+		    }
+
+		    if(response.data.villagerGroupId == null){
+		      this.form.villagerGroup = null;
+		      this.form.villagerGroupId = null;
+		    }else{
+		      this.form.villagerGroup = response.data.villagerGroup;
+		      this.form.villagerGroupId = response.data.villagerGroupId;
+		    }
+
+		    if(response.data.province !== null && response.data.province !== ""){
+		    	this.nhdyesfgh = response.data.province;
+		      if(response.data.city !== null && response.data.city !== ""){
+		        this.nhdyesfgh = response.data.province + '/' + response.data.city;
+		        if(response.data.region !== null && response.data.region !== ""){
+		        	this.nhdyesfgh = response.data.province + '/' + response.data.city + '/' + response.data.region;
+		          if(this.form.residenceTown !==null && this.form.residenceTown !=='' && this.form.residenceTown !== undefined){
+		            this.nhdyesfgh = response.data.province + '/' + response.data.city + '/' + response.data.region + '/' + this.form.residenceTown;
+		            if(this.form.residenceVillage !==null && this.form.residenceVillage !=='' && this.form.residenceVillage !== undefined){
+		              this.nhdyesfgh = response.data.province + '/' + response.data.city + '/' + response.data.region + '/' + this.form.residenceTown + '/' + this.form.residenceVillage;
+		            }
+		          }
+		        }else{
+		        	// this.nhdyesfgh ='点击选择居住地址'
+		        }
+		      }else{
+		      	// this.nhdyesfgh ='点击选择居住地址'
+		      }
+		    }else{
+		    	this.nhdyesfgh ='点击选择户籍地址'
+		    }
+
+
+
+		    if( response.data.czrkJzdzList !== null && response.data.czrkJzdzList.length !== 0  ){
+		    	// this.selected[0] = response.data.province;
+		      // for(var i = 0 ; i < response.data.czrkJzdzList.length ; i++){
+		        // this.nameutaiL = i
+		        this.mnyesfjerty(0)
+		      // }
+		      response.data.czrkJzdzList.filter(route =>{
+		        if(route.province !== ""){
+		          route.plaed =  route.province
+		          if(route.city !== ""){
+		            route.plaed =  route.plaed + '/' + route.city
+		            if(route.city !== ""){
+		              route.plaed =  route.plaed + '/' + route.city
+		              if(route.region !== ""){
+		                route.plaed =  route.plaed + '/' + route.region
+		                if(route.town !== ""){
+		                  route.plaed =  route.plaed + '/' + route.town
+		                  if(route.village !== ""){
+		                    route.plaed =  route.plaed + '/' + route.village
+		                  }
+		                }
+		              }
+		            }
+		          }
+		        }else{
+		          route.plaed = '请选择居住地址'
+		        }
+
+		      })
+
+          this.form.czrkJzdzList   = response.data.czrkJzdzList
+		    }
+
+		    this.form.phoneNum   = response.data.phoneNum
+		    this.form.houseType   = response.data.houseType
+		    this.form.nowIn   = response.data.nowIn
+		    this.form.remark   = response.data.remark
+			});
+		},
+		// 取消按钮
+		cancel() {
+			this.opens = false;
+			this.jiezhong = false;
+			this.imashow = false;
+      this.nhyesfx = false
+      this.errorlog=false;
+      this.$refs['myCascaderf' + '' + this.nameutaiL][0].$refs.panel.clearCheckedNodes()
+			this.reset();
+		},
+		gywoa() {
+			console.log(this.form.isVaccination);
+			if (this.form.isVaccination !== null) {
+				if (this.form.isVaccination == '是') {
+					// 接种疫苗
+					this.naneme = false,
+					this.shouwes = true;
+				}else {
+					this.naneme = true,
+					this.shouwes = false,
+					this.form.czrkJzdzList = [{
+						provinceId: '',
+						province: '',
+						deptId: '',
+						cityId: '',
+						city: '',
+						regionId:'',
+						region: '',
+						townId: '',
+						town: '',
+						villageId: '',
+						village: '',
+						nowIn:'',
+            plaed:'请选择居住地址',
+            seleted:[],
+            optiodne:[]
+					}
+				]
+				}
+			}
+		},
+		gywoatwo() {
+			console.log(this.queryParams.isVaccination);
+			if (this.queryParams.isVaccination !== null) {
+				if (this.queryParams.isVaccination == '是') {
+					// 接种疫苗
+					// (this.naneme = false), (this.shouwes = true);
+					this.shouwestwo = false
+				} else {
+					// (this.naneme = true), (this.shouwes = false);
+					this.shouwestwo = true
+				}
+			}
+		},
+
+		// 表单重置
+		reset() {
+			this.form = {
+				id: null,
+				age:'',
+				code:'',
+				houseType: null,
+				domicile: null,
+				province: null,
+				city: null,
+				region: null,
+				userName: null,
+				gender: null,
+				idCard: null,
+				phoneNum: null,
+				keyIndustries: null,
+				isVaccination: null,
+				vaccinationPlace: null,
+				contraindication: null,
+				nowIn: '',
+        gridId:null,
+				remark: null,
+        residenceTown:null,
+        residenceVillage:null,
+        czrkJzdzList: [
+        	{
+        		provinceId: '',
+        		province: '',
+        		deptId: '',
+        		cityId: '',
+        		city: '',
+        		regionId:'',
+        		region: '',
+        		townId: '',
+        		town: '',
+        		villageId: '',
+        		village: '',
+        		nowIn:'',
+            plaed:'请选择居住地址',
+        		disableg:false,
+            optiodne:[],
+            seleted:[]
+        	}
+        ]
+			};
+			this.resetForm('form');
+		},
+		/** 搜索按钮操作 */
+		handleQuery() {
+			this.queryParams.pageNum = 1;
+			console.log(this.queryParams)
+
+        this.getList();
+
+		},
+		/** 重置按钮操作 */
+		resetQuery() {
+			this.nhue = false
+			this.selectedtwo = []
+			setTimeout( ()=>{
+				this.nhue = true
+			},100)
+			this.queryParams.province = undefined;
			this.queryParams.city = undefined;
			this.queryParams.region = undefined;
+      this.queryParams.deptId = undefined
+      this.queryParams.provinceIdXjd = undefined
+      this.queryParams.cityIdXjd = undefined
+      this.queryParams.regionIdXjd = undefined
+      this.queryParams.villageTownsIdXjd = undefined
+      this.queryParams.villageIdXjd = undefined;
+      this.queryParams.provinceId = undefined
+      this.queryParams.cityId = undefined
+      this.queryParams.regionId = undefined
+      this.queryParams.villageTownsId = undefined
+      this.queryParams.villageId = undefined
+      this.listd = []
+      this.lser = []
+			this.resetForm('queryForm');
+			this.handleQuery();
+		},
+		// 多选框选中数据
+		handleSelectionChange(selection) {
+			this.ids = selection.map(item => item.id);
+			this.single = selection.length !== 1;
+			this.multiple = !selection.length;
+		},
+		/** 新增按钮操作 */
+		handleAdd() {
+			this.reset();
+			this.opens = true;
+      if(this.typeOptionsname.length == 0){
+        this.getDicts('renyuanfenlei').then(response => {
+        	this.typeOptionsname = response.data;
+        });
+      }
+      if(this.typeOptionstyzandeh.length == 0){
+        // 与户主关系
+        this.getDicts('yuhuzhuguanxi').then(response => {
+        	this.typeOptionstyzandeh = response.data;
+        });
+      }
+			(this.naneme = false),
+			(this.shouwes = false);
+			this.form.province = this.selected[0];
+			this.villageTownshy = '';
+			this.naiseurya = '';
+			this.hsuej = '';
+      this.senlsduea = false
+       this.nhyesfx = true
+			this.form.city = this.selected[1];
+			this.form.region = this.selected[2];
+			this.title = '添加人员信息';
+			this.jdourdjoaj = true;
+			this.jue = true
+      this.nhdyesfgh = '点击选择户籍地址'
+      this.shouwef = true
+      this.nameutaiL = 0
+      this.nhduesw = this.nhduesw +1
+      // this.nameutaiL = 0
+      this.mnyesfjer(0)
+       this.ndhesdweaf = '点击选择网格'
+      // this.form.province = '安徽省';
+      // this.form.city = '安庆市';
+      // this.form.region = '潜山市';
+      // this.form.residenceTown = '梅城镇';
+      // this.form.residenceVillage = '龙井社区';
+      // this.nhdyesfgh = this.form.province + '/' + this.form.city + '/' + this.form.region + '/' + this.form.residenceTown + '/' + this.form.residenceVillage;
+			console.log(this.form)
+		},
+		/** 修改按钮操作 */
+		handleUpdate(row) {
+      // this.nhsxs = row
+      console.log(row)
+			this.reset();
+			const id = row;
+      this.nhdyesfgh ='点击选择户籍地址'
+      if(this.typeOptionsname.length == 0){
+        this.getDicts('renyuanfenlei').then(response => {
+        	this.typeOptionsname = response.data;
+        });
+      }
+      if(this.typeOptionstyzandeh.length == 0){
+        // 与户主关系
+        this.getDicts('yuhuzhuguanxi').then(response => {
+        	this.typeOptionstyzandeh = response.data;
+        });
+      }
+      // this.jiezhong = true
+			getInfo(row).then(response => {
+				this.form = response.data;
+				this.jue = false
+        this.nhdyesku = true
+        this.senlsduea = true
+				if(response.data.province !== null && response.data.province !== ""){
+					this.nhdyesfgh = response.data.province;
+				  if(response.data.city !== null && response.data.city !== ""){
+				    this.nhdyesfgh = response.data.province + '/' + response.data.city;
+				    if(response.data.region !== null && response.data.region !== ""){
+				    	this.nhdyesfgh = response.data.province + '/' + response.data.city + '/' + response.data.region;
+				      if(this.form.villageTowns !==null && this.form.villageTowns !=='' && this.form.villageTowns !== undefined){
+				        this.nhdyesfgh = response.data.province + '/' + response.data.city + '/' + response.data.region + '/' + this.form.villageTowns;
+				        if(this.form.village !==null && this.form.village !=='' && this.form.village !== undefined){
+				          this.nhdyesfgh = response.data.province + '/' + response.data.city + '/' + response.data.region + '/' + this.form.villageTowns + '/' + this.form.village;
+				        }
+				      }
+				    }else{
+				    	// this.nhdyesfgh ='点击选择居住地址'
+				    }
+				  }else{
+				  	// this.nhdyesfgh ='点击选择居住地址'
+				  }
+				}else{
+					this.nhdyesfgh ='点击选择户籍地址'
+				}
+        this.nhyesfx = true
+
+				if(response.data.czrkJzdzList.length !== 0 && response.data.czrkJzdzList !== null){
+					// this.selected[0] = response.data.province;
+				  // for(var i = 0 ; i < response.data.czrkJzdzList.length ; i++){
+				    // this.nameutaiL = i
+				    response.data.czrkJzdzList.unshift(response.data.czrkJzdzList[0])
+				    // this.form = response.data;
+				    this.mnyesfjerty(0)
+				  // }
+				  response.data.czrkJzdzList.filter(route =>{
+				    route.seleted = []
+				    if(route.province !== ""){
+				      route.plaed =  route.province
+				      if(route.city !== ""){
+				        route.plaed =  route.plaed + '/' + route.city
+				        if(route.city !== ""){
+				          // route.plaed =  route.plaed + '/' + route.city
+				          if(route.region !== ""){
+				            route.plaed =  route.plaed + '/' + route.region
+				            if(route.town !== ""){
+				              route.plaed =  route.plaed + '/' + route.town
+				              if(route.village !== ""){
+				                route.plaed =  route.plaed + '/' + route.village
+				              }
+				            }
+				          }
+				        }
+				      }
+				    }else{
+				      route.plaed = '请选择居住地址'
+				    }
+
+				  })
+				}else{
+				    console.log(this.form.czrkJzdzList,58)
+				}
+
+        if(response.data.gridName !==null){
+          this.ndhesdweaf = response.data.gridName
+        }else{
+          this.ndhesdweaf = '点击选择网格'
+        }
+
+
+				// this.onSelected(this.selected)
+				setTimeout( ()=>{
+					this.jue = true
+				},100)
+				// this.jue = true
+				console.log(this.selected,98767)
+				// if(this.form){
+				if (this.form.isVaccination !== null) {
+					if (this.form.isVaccination == '是') {
+						// 接种疫苗
+						(this.naneme = false), (this.shouwes = true);
+					} else {
+						(this.naneme = true), (this.shouwes = false);
+					}
+				} else {
+					this.naneme = false;
+					this.shouwes = false;
+				}
+
+				if (this.form.dictValue !== null && this.form.dictValue !== undefined) {
+					this.jicheru(this.form.dictValue);
+				}
+				if (this.form.villageTowns !== null) {
+					this.villageTownshy = this.form.villageTowns;
+					if (this.form.village !== null) {
+						this.villageTownshy = this.form.village;
+						if (this.form.villagerGroup !== null) {
+							this.villageTownshy = this.form.villagerGroup;
+						}
+					}
+				}else{
+					this.villageTownshy = '';
+				}
+        console.log(this.villageTownshy,3455)
+
+				// if (this.form.vaccineInfoUserList !== null) {
+				// 	if (this.form.vaccineInfoUserList.length == 0) {
+
+				// 	}else {
+				// 		this.form.isVaccination = '是'
+				// 		this.form.vaccineInfoUserList.filter(router =>{
+				// 			if(router.url == undefined){
+				// 				router.url = null
+				// 			}else if(router.url == []){
+				// 				router.url = null
+				// 			}
+				// 			router.disableg = true
+				// 		})
+				// 	}
+				// }
+				// villageTownshy
+				// }
+				// this.heuiq.push()
+        // this.form = response.data;
+				this.naiseurya = '';
+				this.hsuej = '';
+				this.opens = true;
+				this.jdourdjoaj = false;
+        this.shouwef = false
+				this.title = '查看确认信息';
+			});
+		},
+		chahe(data) {
+			console.log(data);
+			// let labelValue = this.$refs['myCascader'].inputValue
+			// console.log(labelValue)
+			console.log(this.$refs['myCascader'])
+			// this.form.provinceId = data[1];
+			// this.form.cityId = data[2];
+			// this.form.regionId = data[3];
+   //    this.form.villageTownsId = data[3];
+   //    this.form.villageId = data[3];
+   let nhdye = []
+   nhdye = this.$refs['myCascader'].getCheckedNodes()[0].pathLabels
+      if(data.length == 1){
+        this.form.provinceId = data[ data.length - 1];
+        this.form.province = nhdye[ data.length - 1];
+        this.$set(this.form, 'city', null)
+        this.$set(this.form, 'cityId', null)
+        this.$set(this.form, 'region', null)
+        this.$set(this.form, 'regionId', null)
+        this.$set(this.form, 'villageTowns', null)
+        this.$set(this.form, 'villageTownsId', null)
+        this.$set(this.form, 'villageId', null)
+         this.$set(this.form, 'village', null)
+      }else if(data.length == 2){
+        this.form.cityId = data[ data.length - 1];
+        this.form.city = nhdye[ data.length - 1];
+        this.$set(this.form, 'region', null)
+        this.$set(this.form, 'regionId', null)
+        this.$set(this.form, 'villageTowns', null)
+        this.$set(this.form, 'villageTownsId', null)
+        this.$set(this.form, 'villageId', null)
+         this.$set(this.form, 'village', null)
+      }else if(data.length == 3){
+        this.form.regionId = data[ data.length - 1];
+        this.form.region = nhdye[ data.length - 1];
+        this.$set(this.form, 'villageTowns', null)
+        this.$set(this.form, 'villageTownsId', null)
+        this.$set(this.form, 'villageId', null)
+         this.$set(this.form, 'village', null)
+      }else if(data.length == 4){
+        this.form.villageTownsId = data[ data.length - 1];
+        this.form.villageTowns = nhdye[ data.length - 1];
+        this.$set(this.form, 'villageId', null)
+         this.$set(this.form, 'village', null)
+      }else if(data.length == 5){
+        this.form.villageId = data[ data.length - 1];
+        this.form.village = nhdye[ data.length - 1];
+      }
+      this.form.deptId = data[ data.length - 1];
+
+			// if (this.form.villageTowns !== undefined) {
+			// 	this.hsuej = this.form.villageTowns;
+			// 	if (this.form.village !== undefined) {
+			// 		this.hsuej = this.form.villageTowns + this.form.village;
+			// 		if (this.form.villagerGroup !== undefined) {
+			// 			this.hsuej = this.form.villageTowns + this.form.village + this.form.villagerGroup;
+			// 		}
+			// 	}
+			// }
+			this.form.domicile = '';
+      console.log(this.form)
+
+      // if(this.jdourdjoaj == true){
+      //   //新增
+      //   this.form.nowIn =  this.hsuej
+
+      // }else{
+      //    this.form.nowIn !=  this.hsuej
+      // }
+		},
+		chahetwo(data) {
+			console.log(data)
+      if(data.length == 1){
+        this.queryParams.provinceId = data[ data.length - 1];
+      }else if(data.length == 2){
+        this.queryParams.provinceId = undefined
+        this.queryParams.cityId = data[ data.length - 1];
+      }else if(data.length == 3){
+        this.queryParams.provinceId = undefined
+        this.queryParams.cityId = undefined
+        this.queryParams.regionId = data[ data.length - 1];
+      }else if(data.length == 4){
+        this.queryParams.provinceId = undefined
+        this.queryParams.cityId = undefined
+        this.queryParams.regionId = undefined
+        this.queryParams.villageTownsId = data[ data.length - 1];
+      }else if(data.length == 5){
+        this.queryParams.provinceId = undefined
+        this.queryParams.cityId = undefined
+        this.queryParams.regionId = undefined
+        this.queryParams.villageTownsId = undefined
+        this.queryParams.villageId = data[ data.length - 1];
+      }
+		},
+    // 居住地址搜索条件
+    chahetwos(data) {
+    	console.log(data)
+      if(data.length == 1){
+        this.queryParams.provinceIdXjd = data[ data.length - 1];
+        this.queryParams.cityIdXjd = undefined
+        this.queryParams.regionIdXjd = undefined
+        this.queryParams.villageTownsIdXjd = undefined
+        this.queryParams.villageIdXjd = undefined
+      }else if(data.length == 2){
+        this.queryParams.provinceIdXjd = undefined
+        this.queryParams.cityIdXjd = data[ data.length - 1];
+        this.queryParams.regionIdXjd = undefined
+        this.queryParams.villageTownsIdXjd = undefined
+        this.queryParams.villageIdXjd = undefined
+      }else if(data.length == 3){
+        this.queryParams.provinceIdXjd = undefined
+        this.queryParams.cityIdXjd = undefined
+        this.queryParams.regionIdXjd = data[ data.length - 1];
+        this.queryParams.villageTownsIdXjd = undefined
+        this.queryParams.villageIdXjd = undefined
+      }else if(data.length == 4){
+        this.queryParams.provinceIdXjd = undefined
+        this.queryParams.cityIdXjd = undefined
+        this.queryParams.regionIdXjd = undefined
+        this.queryParams.villageTownsIdXjd = data[ data.length - 1];
+        this.queryParams.villageIdXjd = undefined
+      }else if(data.length == 5){
+        this.queryParams.provinceIdXjd = undefined
+        this.queryParams.cityIdXjd = undefined
+        this.queryParams.regionIdXjd = undefined
+        this.queryParams.villageTownsIdXjd = undefined
+        this.queryParams.villageIdXjd = data[ data.length - 1];
+      }
+    },
+		/** 提交按钮 */
+		submitForm() {
+			this.$refs['form'].validate(valid => {
+				console.log(this.selected);
+				if (valid) {
+          let reg = /^([1-6][1-9]|50)\d{4}(18|19|20)\d{2}((0[1-9])|10|11|12)(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/;
+          let _IDre15 =  /^([1-6][1-9]|50)\d{4}\d{2}((0[1-9])|10|11|12)(([0-2][1-9])|10|20|30|31)\d{3}$/;
+          // 护照
+           // let ncjsle = /^1[45][0-9]{7}$|(^[P|p|S|s]\d{7}$)|(^[S|s|G|g|E|e]\d{8}$)|(^[Gg|Tt|Ss|Ll|Qq|Dd|Aa|Ff]\d{8}$)|(^[H|h|M|m]\d{8,10}$)/;
+           let ncjsle = /^[a-zA-Z0-9]{5,17}$/
+           let nhyeli = /^[a-zA-Z]{5,17}$/
+          // 港澳
+          let gnse = /^([A-Z]\d{6,10}(\(\w{1}\))?)$/;
+          // 台湾
+          // let tw = /^\d{8}|^[a-zA-Z0-9]{10}|^\d{18}$/
+          var tw =  /^[0-9]{8}$/;
+           var twe = /^[0-9]{10}$/;
+          // 校验身份证:
+          console.log(reg.test(this.form.idCard),23741)
+          if ( reg.test(this.form.idCard)|| _IDre15.test(this.form.idCard)) {
+          	this.idea();
+          	// this.go(this.form.idCard.length);
+          	// callback()
+          } else {
+            if(ncjsle.test(this.form.idCard) || nhyeli.test(this.form.idCard)){
+               console.log(3)
+            }else{
+              if(gnse.test(this.form.idCard)  ){
+                  console.log(4)
+              }else{
+                if(tw.test(this.form.idCard) || twe.test(this.form.idCard)){
+                  console.log(5)
+                }else{
+                  this.msgInfo('证件格式不正确');
+                  return false
+                }
+              }
+
+            }
+          	// callback(new Error('身份证号码不正确'))
+          }
+          // let reg = /(^\d{15}$)|(^\d{18}$)|(^\d{17}(\d|X|x)$)/;
+          // if (reg.test(this.form.idCard)) {
+          // 	// this.idea();
+          // 	// this.go(this.form.idCard.length);
+          // 	// callback()
+          // } else {
+          // 	// callback(new Error('身份证号码不正确'))
+          // 	this.msgInfo('身份证号码不正确');
+          //   return false
+          // }
+
+          // let redw = /^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$/;
+          // console.log(this.form)
+          // console.log(redw.test(this.form.phoneNum))
+          // if (this.form.phoneNum == null) {
+          // 	// this.idea();
+          // 	// this.go(this.form.idCard.length);
+          // 	// callback()
+          // } else{
+          //   if(this.form.phoneNum !== ''){
+          //     if(redw.test(this.form.phoneNum)){
+
+          //     }else{
+          //       this.msgInfo('手机号码不正确');
+          //       return false
+          //     }
+          //   }
+
+          // 	// callback(new Error('身份证号码不正确'))
+
+          // }
+
+					if (this.form.id != null) {
+						// this.form.nowIn = this.naiseurya + this.form.nowIn;
+						// this.form.domicile = this.hsuej + this.form.domicile;
+            if(this.ncdwee == 1){
+              this.form.czrkJzdzList = this.form.czrkJzdzList.splice(1)
+            }
+            this.ncdwee = this.ncdwee + 1
+            // this.form.czrkJzdzList = this.form.czrkJzdzList.splice(1)
+             this.senlsduea = false
+             // this.form.isRl = '是'
+            console.log(this.form.czrkJzdzList)
+						addInfo(this.form).then(response => {
+							// this.msgSuccess('新增成功');
+							// this.opens = false;
+							// this.getList();
+						  if(response.code == 200){
+						    this.msgSuccess('操作成功');
+						    this.opens = false;
+						    this.nhyesfx = false
+						    this.getList();
+						    // this.getList();
+						  }else{
+						    this.$message.error(response.msg + '请重新填写');
+						    this.opens = false
+						  }
+						});
+					} else {
+						// this.form.nowIn = this.naiseurya + this.form.nowIn;
+						// this.form.domicile = this.hsuej + this.form.domicile;
+						// if (this.form.nowIn == 'undefined') {
+						// 	this.form.nowIn = null;
+						// }
+            // if(this.form.czrkJzdzList[0].province == ''){
+            //   this.msgSuccess('请填写居住地址');
+            //   return false
+            // }
+						console.log(this.form)
+            this.form.czrkJzdzList.filter(route =>{
+              route.seleted = []
+              route.optiodne = []
+            })
+						// return
+						addInfo(this.form).then(response => {
+							// this.msgSuccess('新增成功');
+							// this.opens = false;
+							// this.getList();
+              if(response.code == 200){
+                this.msgSuccess('操作成功');
+                this.opens = false;
+                this.nhyesfx = false
+                this.getList();
+                // this.getList();
+              }else{
+                this.$message.error(response.msg + '请重新填写');
+                this.opens = false
+              }
+						});
+					}
+				}
+			});
+		},
+		/** 删除按钮操作 */
+		handleDelete(row) {
+			const ids = row.id || this.ids[0];
+      this.idfer = ids
+      this.imashow = true;
+			// this.$confirm('是否确认删除疫苗信息编号为"' + ids + '"的数据项?', '警告', {
+			// 	confirmButtonText: '确定',
+			// 	cancelButtonText: '取消',
+			// 	type: 'warning'
+			// })
+			// 	.then(function() {
+			// 		return delInfo(ids);
+			// 	})
+			// 	.then(() => {
+			// 		this.getList();
+			// 		this.msgSuccess('删除成功');
+			// 	});
+		},
+    submitFormfr(row){
+      // this.nhyesoder = row
+      const bgt = {}
+      bgt.id = this.nhyesoder.id
+      if(row == 0){
+        this.jiezhong = false;
+        bgt.idCard = this.nhyesoder.fqsfzjhm
+        // 父亲
+       this.handleUpdate(bgt)
+      } else if(row == 1){
+        // 母亲
+        this.jiezhong = false;
+        bgt.idCard = this.nhyesoder.mqsfzjhm
+       this.handleUpdate(bgt)
+          }
+
+    },
+    // 点击新增
+    tijea(index) {
+    	console.log(index+ 1)
+    	this.nameutaiL = index+ 1
+       this.cascaderKey = index + 1
+    	this.form.czrkJzdzList.push({
+    		provinceId: '',
+    		province: '',
+    		deptId: '',
+    		cityId: '',
+    		city: '',
+    		regionId:'',
+    		region: '',
+    		townId: '',
+    		town: '',
+    		villageId: '',
+    		village: '',
+    		nowIn:'',
+    		disableg:false,
+        seleted:[],
+        optiodne:[],
+        plaed:'请选择居住地址',
+    	});
+      this.nhyeojd = true
+      this.mnyesfjer(0)
+      // this.form.czrkJzdzList[this.nameutaiL].optiodne
+      // console.log(this.cascaderKey,123465)
+      // // console.log()
+      // console.log( this.$refs.myCascaderf[this.$refs.myCascaderf.length - 1] ,258)
+      // // console.log(this.$refs['myCascaderf'][0].$refs.panel.clearCheckedNodes(),258)
+      // this.$refs['myCascaderf'][this.$refs.myCascaderf.length - 1].$refs.panel.clearCheckedNodes()
+      // console.log(this.$refs['myCascaderf'][0].$refs.panel.checkedValue,34567)
+      // this.mnyesfjer(0)
+    },
+    // 点击删除
+    naeyrfakjf(index, item) {
+      if(this.form.czrkJzdzList.length == 2){
+        this.$message.error('居住地为必填不可全删除');
+        return  false
+      }
+    	var that = this
+    	this.$confirm('是否确认删除信息?', '警告', {
+    		confirmButtonText: '确定',
+    		cancelButtonText: '取消',
+    		type: 'warning'
+    	})
+    		.then(function() {
+    			return that.delseeug(index,item)
+    		})
+    		.then(() => {
+    			// this.getList();
+    			// this.msgSuccess('删除成功');
+    		});
+
+    },
+    delseeug(index,item){
+    	console.log(234)
+    	if (this.form.czrkJzdzList.length == 1) {
+    		// if (this.jdourdjoaj == true) {
+    		// 	// 新增
+    		// 	this.form.vaccineInfoUserList = [{
+    		// 		vaccineName: '',
+    		// 		vaccinationTime: '',
+    		// 		vaccinationPlace: '',
+    		// 		jici: '',
+    		// 		progress: '',
+    		// 		url:null,
+    		// 		disableg:false
+    		// 	}]
+    		// } else {
+    		// 	// 修改
+    		// 	let ide = this.form.vaccineInfoUserList[index].id;
+    		// 	console.log(this.form.vaccineInfoUserList[index]);
+    		// 	// ()
+    		// 	console.log(ide);
+    		// 	if (ide !== undefined) {
+    		// 		console.log(234);
+    		// 		delInfort(ide).then(response => {
+    		// 			this.msgSuccess('操作成功');
+    		// 		});
+    		// 	}
+    		// 	this.form.vaccineInfoUserList = [{
+    		// 		vaccineName: '',
+    		// 		vaccinationTime: '',
+    		// 		vaccinationPlace: '',
+    		// 		jici: '',
+    		// 		progress: '',
+    		// 		url:null,
+    		// 		disableg:false
+    		// 	}]
+    		// }
+
+        this.msgSuccess('只剩一条数据,无法删除');
+    		return false;
+    	}
+    	if (this.jdourdjoaj == true) {
+    		// 新增
+    		this.form.czrkJzdzList.splice(index, 1);
+    	} else {
+    		// 修改
+    		// ()
+    		this.form.czrkJzdzList.splice(index, 1);
+    	}
+      this.msgSuccess('删除成功');
+    },
+		/** 导出按钮操作 */
+		handleExport() {
+			var heuia = {
+                tableName: "vaccine_info",
+                empty: false,
+                condition: {}
+            }
+            var that=this;
+            heuia.condition = this.queryParams
+			const queryParams = this.queryParams
+			this.$confirm('是否确认导出?', "警告", {
+			    confirmButtonText: "确定",
+			    cancelButtonText: "取消",
+			    type: "warning"
+			  }).then(function() {
+			    return exportConfig(heuia);
+			  }).then(response => {
+				  const jues= response.data
+          that.exportflag=false;
+          that.$alert('数据导入中,系统将自动处理数据,请稍后查看结果', "导出结果", { dangerouslyUseHTMLString: true });
+          // that.msgSuccess('数据导入中,系统将自动处理数据,请稍后查看结果');
+				// exportConfigtyr().then(responsr => {
+				// 			console.log(responsr)
+				// 			if(responsr.data == true){
+				// 				// this.download(jues);
+				// 				// window.location.href = jues
+				// 				window.open(jues)
+				// 			}else{
+				// 				this.msgSuccess('数据暂未加载完成,请稍后点击导出进度按钮查看');
+				// 			}
+				// 		});
+
+			  })
+
+
+			// this.download('/boman-web-core/core/info/export',
+			// 	{
+			// 		...this.queryParams
+			// 	},
+			// 	`post_${new Date().getTime()}.xlsx`
+			// );
+
+		},
+   chahetwoswge(data){
+     console.log(data)
+     this.form.gridId = data[data.length - 1]
+     console.log(this.form.gridId)
+
+   },
+		// 点击查看
+		chakei(row) {
+			console.log(row);
+      this.nhyesoder = row
+      // if(row == 0){
+      //   // 父亲
+      //  this.handleUpdate(row.fqsfzjhm)
+      // } else if(row == 1){
+      //   // 母亲
+      //  this.handleUpdate(row.mqsfzjhm)
+      //     }
+          // yiaoe({idCard:row.idCard}).then(response => {
+			// 	// this.msgSuccess('操作成功');
+			// 	if(response.code == 200){
+			// 		this.jiezheList = response.data
+			// 	}
+			// });
+
+			this.jiezhong = true;
+		},
+    // 查看家庭成员信息
+    handleDeletefamide(row){
+      this.nhyesoder = 3
+	  if(row.code == null){
+	  		  this.msgSuccess('无户编号信息,无法查看家庭成员信息');
+	  		  return  false
+	  }
+	  if(row.code == ''){
+	    this.msgSuccess('无户编号信息,无法查看家庭成员信息');
+	    return  false
+	  }
+	  this.jiezhong = true;
+      listInfotjjsfaml(row.code).then(response => {
+        				// this.msgSuccess('操作成功');
+        					this.jiezheList = response.data
+                  this.totalfr = 0
+
+      }	)
+    },
+    /** 导入按钮操作 */
+    handleImport() {
+      this.upload.title = "数据导入";
+      this.upload.opens = true;
+    },
+    // 获取屏幕高度
+              showFilterForm () {
+                    this.filterActive = !this.filterActive
+                    this.changeTableMaxHeight()
+                  },
+
+                  changeTableMaxHeight () {
+                    let height = document.body.offsetHeight // 网页可视区域高度
+                    // if (this.filterActive) {
+                    //   this.tableMaxHeight = height - 320
+                    // } else {
+                      this.tableMaxHeight = height - 250
+                    // }
+                    console.log(height)
+                  },
+
+  // 判断是否选择户主
+  changese(){
+    console.log(this.form.houseType)
+    if(this.form.houseType == '是'){
+      this.form.code = this.form.idCard
+      this.nhe = false
+    }else{
+      this.form.code != this.form.idCard
+      this.nhe = true
+    }
+  },
+  // 常住人口
+  chajnd(){
+   this.queryParams.queryType = 'cz'
+   this.queryParams.pageNum = 1
+   this.nhykis = false
+   this.nhyki = true
+
+   this.getListch();
+
+  },
+  // 户籍人口
+  chajnds(){
+   this.queryParams.queryType = 'hj'
+   this.queryParams.pageNum = 1
+   this.nhykis = true
+   this.nhyki = false
+   this.getList();
+  },
+  click(event) {
+    console.log(event)
+        this.$nextTick(() => {
+          let d = document.getElementsByClassName("cascader"+ this.idsg)
+          this.nameutaiL +'s'
+          console.log("cascader"+ '' +this.nameutaiL);
+          console.log(48);
+          console.log(d);
+          console.log(d[0]);
+          console.log( !d[0].onclick);
+          if( d[event] && !d[event].onclick ){
+            d[event].onclick = function(e) {
+              console.log(e);
+              if( e.target.className == "el-cascader-node__label" ){
+                e.target.previousElementSibling.click();
+              }
+            }
+          }
+        });
+      },
+      clicks(event) {
+            this.$nextTick(() => {
+              let d = document.getElementsByClassName("cascader"+'' +this.id);
+              console.log("cascader"+ '' +this.nameutaiL);
+              console.log(48);
+              console.log(d);
+              console.log(d[0]);
+              console.log( !d[0].onclick);
+              if( d[0] && !d[0].onclick ){
+                d[0].onclick = function(e) {
+                  console.log(e);
+                  if( e.target.className == "el-cascader-node__label" ){
+                    e.target.previousElementSibling.click();
+                  }
+                }
+              }
+            });
+          }
+	}
+};
+</script>
+<style lang="scss">
+  .placf {
+    .el-input {
+      .el-input__inner::placeholder{
+        color: #333;
+      }
+      /* 谷歌 */
+          .el-input__inner::-webkit-input-placeholder {
+             color: #333;
+          }
+           /* 火狐 */
+         .el-input__inner:-moz-placeholder {
+              color: #333;
+          }
+           /*ie*/
+         .el-input__inner:-ms-input-placeholder {
+              color: #333;
+          }
+    }
+
+  }
+	.jdueuh{
+		.el-form-item__label {
+			width: 0px !important;
+		}
+		.el-form-item__content {
+			margin-left: 10px !important;
+			// width: 70%;
+		}
+	}
+	.ijeuhdy{
+		.el-form-item__label {
+			width: 80px !important;
+		}
+		.el-form-item__content {
+			margin-left: 80px !important;
+			// width: 70%;
+		}
+	}
+	.znshu{
+		.el-form-item__label {
+			width: 80px !important;
+			// padding-left: 30px;
+		}
+		.el-form-item__content {
+			margin-left: 80px !important;
+
+			// width: 70%;
+		}
+		.el-input__inner{
+			padding-left: 0 !important;
+		}
+	}
+	.heioangd{
+		.el-form-item__label {
+			width: 70px !important;
+		}
+		.el-form-item__content {
+			margin-left: 70px !important;
+			// width: 70%;
+		}
+	}
+.hues {
+	.area-select {
+		margin-left: 0 !important;
+		margin-right: 10px;
+	}
+}
+.jehak {
+	.el-form-item {
+		width: 100%;
+	}
+	.el-form-item__content {
+		width: 60%;
+	}
+}
+.oiuyty {
+	.el-form-item__label {
+		width: 80px !important;
+	}
+	.el-form-item__content {
+		margin-left: 80px !important;
+		// width: 70%;
+	}
+	input {
+		padding-right: 0 !important;
+	}
+}
+.el-dialog__body {
+	padding-top: 0;
+	padding-bottom: 0;
+}
+.jhy {
+	// width: 100%;
+	// .el-form-item__content {
+	// 	width: 100%;
+	// 	margin-left: 0 !important;
+	// }
+	.el-form-item__content {
+		margin-left: 55px !important;
+		// width: 70%;
+	}
+	.el-form-item__label {
+		width: 55px !important;
+	}
+}
+.ehiqya {
+	.el-form-item__content {
+		display: flex;
+		.jdidur {
+			flex: 1;
+			margin-left: 10px;
+			// text-align: left;
+			display: flex;
+		}
+	}
+	.upload-demo {
+		display: flex;
+	}
+}
+.jdoier{
+	display: flex;
+	align-items: center;
+	.upload-demo {
+		display: flex;
+	}
+}
+.hueyde {
+	width: 18px;
+	height: 18px;
+	margin: 0 5px;
+	margin-right: 10px;
+}
+.hueydele {
+	width: 15px;
+	height: 18px;
+}
+.hyeoa {
+	height: 100%;
+	display: flex;
+	align-items: center;
+}
+.hjdoecdre {
+	// margin-top: 50%;
+	transform: translateY(50%);
+}
+.ojhgy {
+	.el-dialog {
+		padding-bottom: 40px;
+		padding-top: 10px;
+	}
+	.el-dialog__header {
+		padding-bottom: 20px;
+	}
+	.el-table .cell {
+		line-height: 50px;
+	}
+}
+.hueya{
+	margin-left: 0 !important;
+}
+.iejghiadh{
+	.el-input__inner{
+		padding-right: 0 !important;
+		padding-left: 5px !important;
+	}
+}
+</style>

+ 3067 - 0
src/views/system/zxrs/index.vue

@@ -0,0 +1,3067 @@
+<template>
+	<div class="app-container">
+
+		<el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch" label-width="100px">
+			<el-row>
+        <el-col :span="24">
+        	<el-row> 
+        		<el-col :span="16" class="jehak">
+              <el-col :span="12">
+              	<el-form-item label="身份证号" prop="zjhm">
+              		<el-input v-model="queryParams.zjhm" placeholder="请输入身份证号码" style="width:240px;" clearable @keyup.enter.native="handleQuery" />
+              	</el-form-item>
+              </el-col>
+
+               <el-col :span="12">
+                 <el-form-item label="是否核酸" prop="isNucleicAcid">
+                 	<el-select v-model="queryParams.isNucleicAcid" placeholder="是否核酸" clearable style="width:240px;"  @keyup.enter.native="handleQuery"
+                 	   >
+                 		<el-option v-for="dict in statusOptionstue" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
+                 	</el-select>
+                 </el-form-item>
+
+
+               </el-col>
+
+        		</el-col>
+            <el-col :span="8">
+              <el-form-item label="姓名" prop="xm">
+              	<el-input v-model="queryParams.xm" placeholder="请输入姓名" style="width:240px;" clearable @keyup.enter.native="handleQuery" />
+              </el-form-item>
+           <!-- <el-form-item label="时间间隔" prop="isNucleicAcid">
+            <el-select v-model="queryParams.isNucleicAcid" placeholder="时间间隔" clearable style="width:260px;"  @keyup.enter.native="handleQuery"
+               >
+            	<el-option v-for="dict in statusOptionstue" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
+            </el-select>
+            </el-form-item> -->
+            </el-col>
+            <!-- <el-col :span="10" >
+              <el-form-item label="区域查询" prop="villagerGroup">
+                <el-cascader
+                	placeholder="点击选择区域"
+                	:options="optionsList"
+                	filterable
+                	@change="chahetwos"
+                	:props="optionPropsssd"
+                	style="width: 168%;"
+                	@keyup.enter.native="handleQuery"
+                  ref = "cdd"
+                  v-model="listd"
+                  @active-item-change="handleItemChangefr"
+                ></el-cascader>
+
+              </el-form-item>
+            </el-col> -->
+
+        	</el-row>
+        </el-col>
+				<el-col :span="24">
+					<el-row>
+
+            <el-col :span="8">
+             <el-form-item label="采集开始时间" prop="startTime">
+             <el-date-picker
+             	clearable
+             	v-model="queryParams.params.startTime"
+             	type="datetime"
+             	value-format="yyyy-MM-dd HH:mm:ss"
+             	format="yyyy-MM-dd HH:mm:ss"
+             	placeholder="选择开始时间"
+             	style="width: 240px;"
+             ></el-date-picker>
+             </el-form-item>
+            </el-col>
+            <!-- <el-col :span="7">
+            	<el-form-item label="时间间隔" prop="isNucleicAcid">
+            	<el-date-picker
+            		clearable
+            		v-model="queryParams.isNucleicAcid"
+            		type="datetime"
+            		value-format="yyyy-MM-dd HH:mm:ss"
+            		format="yyyy-MM-dd HH:mm:ss"
+            		placeholder="选择时间间隔"
+            		style="width: 220px;"
+            	></el-date-picker>
+            	</el-form-item>
+            </el-col> -->
+            <el-col :span="8">
+            	<el-form-item label="采集结束时间" prop="endTime">
+            	<el-date-picker
+            		clearable
+            		v-model="queryParams.params.endTime"
+            		type="datetime"
+            		value-format="yyyy-MM-dd HH:mm:ss"
+            		format="yyyy-MM-dd HH:mm:ss"
+            		placeholder="选择结束时间"
+            		style="width: 240px;"
+            	></el-date-picker>
+            	</el-form-item>
+            </el-col>
+           <el-col :span="4" >
+           	<el-form-item>
+           		<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
+           		<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
+           	</el-form-item>
+           </el-col>
+					</el-row>
+				</el-col>
+				<el-col :span="24">
+					<el-row>
+
+
+					</el-row>
+				</el-col>
+			</el-row>
+		</el-form>
+
+		<el-row :gutter="10" class="mb8">
+			<!-- <el-col :span="1.5"><el-button type="primary" plain icon="el-icon-plus" size="mini" @click="handleAdd(0)" >新增户主</el-button></el-col> -->
+			<el-col :span="1.5">
+				<!-- <el-button type="success" plain icon="el-icon-edit" size="mini" :disabled="single" @click="handleUpdate" >修改</el-button> -->
+			</el-col>
+			<el-col :span="1.5">
+			<!-- 	<el-button type="danger" plain icon="el-icon-edit" size="mini" :disabled="multiple" @click="handleDelete" >变更</el-button> -->
+			</el-col>
+      <el-col :span="1.5">
+      	<!-- <el-button type="success" plain icon="el-icon-download" size="mini"  @click="handleDeleteda" >下载模板</el-button> -->
+      </el-col>
+      <el-col :span="1.5" v-if="queryParams.status == 4">
+        <!-- <el-button
+          type="info"
+          plain
+          icon="el-icon-upload2"
+          size="mini"
+          @click="handleImport"
+          v-hasPermi="['system:czrk:importData']"
+        >导入</el-button> -->
+      </el-col>
+      <el-col :span="1.5" >
+        <el-button
+          type="warning"
+          plain
+          icon="el-icon-view"
+          size="mini"
+          @click="handleDeletefamide"
+        >统计功能</el-button>
+      </el-col>
+      <el-col :span="1.5" >
+       <el-button
+
+          type="warning"
+          plain
+          icon="el-icon-download"
+          size="mini"
+          @click="handleExport"
+          v-hasPermi="['system:accountingData:export']"
+        >导出</el-button>
+      </el-col>
+
+      <el-col :span="1.5" v-for="(ietm,index) in jbuttomfs" :key="index">
+                  	<!-- <el-button type="primary" :plain="nhslke == ietm.dictValue ? false :true" icon="el-icon-view" size="mini"  @click="chajnd(ietm.dictValue)" >{{'查看' + ietm.dictLabel + '人口信息'}}</el-button> -->
+            </el-col>
+      <el-col :span="1.5">
+      	<el-button type="primary" :plain="nhykis" icon="el-icon-view" size="mini"  @click="chajnd" >查看常住人口核酸检测信息</el-button>
+      </el-col>
+      <el-col :span="1.5">
+      	<el-button type="primary" :plain="nhyki" icon="el-icon-view" size="mini"  @click="chajnds" >查看户籍人口核酸检测信息</el-button>
+      </el-col>
+
+			<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
+		</el-row>
+
+		<el-table  v-if="nbdgywkajs == true"   v-loading="loading" :data="infoList" @selection-change="handleSelectionChange" stripe style="width: 100%" :height="tableMaxHeight">
+			<el-table-column label="姓名" align="center" prop="xm"   width="110" fixed="left"/>
+      <el-table-column label="身份证号码" align="center" prop="zjhm" width="180" fixed="left" />
+			<el-table-column label="联系电话(人口信息登记)" align="center" prop="phoneNum" width="160" />
+      <el-table-column label="联系电话(核酸检测登记)" align="center" prop="lxdh" width="160" />
+      <el-table-column v-if="queryParams.queryType == 'hj'" label="户籍地址" width="360" align="center"  >
+        <!-- prop="domicileSelect" -->
+        <!-- style="text-align: left;" -->
+
+        <template slot-scope="scope">
+                 <div v-if="scope.row.nowIn !==null"  v-html="scope.row.domicileSelect  + '<br>' + scope.row.nowIn">
+                 </div>
+                 <div v-else  v-html="scope.row.domicileSelect  + '<br>' + ''">
+                 </div>
+        </template>
+        </el-table-column>
+      <el-table-column v-if="queryParams.queryType == 'cz'" label="居住地址" align="center" width="360" >
+        <template slot-scope="scope">
+                 <div v-if="scope.row.nowIn !==null"  v-html="scope.row.nowInSelect + '<br>' + scope.row.nowIn">               </div>
+                 <div v-else   v-html="scope.row.nowInSelect + '<br>' + ''">               </div>
+        </template>
+        </el-table-column>
+        <el-table-column label="采集时间" align="center" prop="cjsj" width="102" />
+        <el-table-column label="采集地点" align="center" prop="cjdd" width="140" />
+        <el-table-column label="审核时间" align="center" prop="jcsj" width="102" />
+        <el-table-column label="核验点名称" align="center" prop="jcdd" width="140" />
+		</el-table>
+
+<pagination v-if="queryParams.queryType == 'hj'" v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize" @pagination="getList" />
+    <pagination v-if="queryParams.queryType == 'cz'" v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize" @pagination="getListjuzhu" />
+<!-- v-loading="loading" -->
+		<!-- 添加或修改疫苗信息对话框 -->
+
+		<el-dialog   :title="title" :visible.sync="opens" width="1240px" append-to-body>
+			<el-form ref="form" :model="form" :rules="rules" label-width="100px">
+				<el-row>
+					<el-col :span="8">
+						<el-form-item label="身份证号" prop="idCard"><el-input v-model="form.idCard" placeholder="请输入身份证号码" @blur="idcde" /></el-form-item>
+					</el-col>
+					<el-col :span="8">
+						<el-form-item label="姓名" prop="userName"><el-input v-model="form.userName" placeholder="请输入姓名" /></el-form-item>
+					</el-col>
+					<el-col :span="8">
+						<el-form-item label="性别" prop="gender">
+
+							<!-- <el-input v-model="form.gender" placeholder="请输入性别" /> -->
+
+							<el-select v-model="form.gender" placeholder="性别" clearable style="width: 100%;">
+								<el-option v-for="dict in statusOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
+							</el-select>
+						</el-form-item>
+					</el-col>
+					<el-col :span="24">
+						<el-row>
+							<el-col :span="8">
+								<el-form-item label="联系号码" prop="phoneNum"><el-input v-model="form.phoneNum" placeholder="请输入联系号码" /></el-form-item>
+							</el-col>
+							<el-col :span="8">
+								<el-form-item label="人员分类" prop="keyIndustries">
+									<el-select v-model="form.keyIndustries" placeholder="人员分类" clearable style="width: 100%;">
+										<el-option v-for="dict in typeOptionsname" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
+									</el-select>
+								</el-form-item>
+							</el-col>
+							<el-col :span="8">
+								<el-form-item label="年龄" prop="age"><el-input type="number" v-model="form.age" placeholder="请输入年龄" /></el-form-item>
+							</el-col>
+						</el-row>
+					</el-col>
+
+          <el-col :span="24">
+          	<el-row>
+          		<el-col  :span="12" style="position: relative;">
+               <span style="position: absolute;top:5px; color: red;left:25px;">*</span>
+          			<el-form-item label="户籍地址" >
+
+                  <!-- prop="provinceId" -->
+          				<!-- <el-input v-model="form.villageTowns" type="textarea" placeholder="请输入内容" /> -->
+          				<!-- <treeselect v-model="form.parentId" :options="deptOptionstwo" :normalizer="normalizer" :flat="true" :maxHeight="150" @select="djieskle"  @close = "nhyu" :placeholder="nhdyesfgh" /> -->
+          				<el-cascader
+                  v-if="nhyesfx"
+          					:placeholder="nhdyesfgh"
+          					:options="optionsLists"
+          					separator="/"
+                    v-model="nhyeswdga.nhus"
+          					@change="chahe"
+          					:props="optionPropsss"
+          					style="width: 100%;"
+          					ref="myCascader"
+
+                    @active-item-change="handleItemChanges"
+                    :class="[nhdyesfgh == '点击选择户籍地址' ? '' : 'placf']"
+          				></el-cascader>
+                  <!-- @click.native="clicks" -->
+                  <!-- :popper-class="'cascader' + id" -->
+
+
+<!-- @active-item-change="handleItemChanges" -->
+
+
+                  <!-- <el-cascader
+                  	:placeholder="nhdyesfgh"
+                  	:options="optionsList"
+                  	:filterable="true"
+                  	separator="/"
+                  	@change="chahe(index)"
+                  	v-model="selected"
+                  	:props="optionPropsss"
+                  	style="width: 100%;"
+                  	ref="myCascader"
+                    @active-item-change="handleItemChange"
+                    :class="[nhdyesfgh == '点击选择居住地址' ? '' : 'placf']"
+                  ></el-cascader> -->
+          			</el-form-item>
+
+          		</el-col>
+
+          		<el-col :span="12">
+          			<el-form-item label="详细地址" prop="nowIn"><el-input v-model="form.nowIn" type="input" placeholder="请输入户籍详细地址" /></el-form-item>
+          		</el-col>
+          	</el-row>
+          </el-col>
+
+					<el-col :span="24" v-for="(item, index) in form.czrkJzdzList" :key="index"  v-show="senlsduea == false || index !== 0" >
+            <!-- v-show="senlsduea == false || index !== 0" -->
+            <el-col :span="12" >
+            	<el-form-item label="居住地址" prop="province">
+
+                <!-- item.optiodne -->
+                <el-cascader
+                	:placeholder="item.plaed"
+                	:options="item.optiodne"
+                	:filterable="true"
+                	separator="/"
+                	@change="onSelected(index)"
+                	:props="optionPropsss"
+                	style="width: 100%;"
+                	:ref="'myCascaderf' + '' + index "
+                  v-model="item.seleted"
+                  :key="cascaderKey"
+                  @expand-change="idjeus"
+                  :class="[item.plaed == '请选择居住地址' ? '' : 'placf']"
+                  @active-item-change="handleItemChange"
+                ></el-cascader>
+                <!-- @click.native="click(index)"
+                :popper-class="'cascader' + idsf" -->
+                <!-- @active-item-change="handleItemChange" -->
+
+                <!-- v-if="jdourdjoaj == false && index == 0" -->
+
+                <!-- <treeselect v-model="item.seleted" :options="item.optiodne" :show-count="true" placeholder="请选择归属部门" :load-options="loadOptions" :normalizer="normalizer" /> -->
+                </el-form-item>
+                 <!-- @active-item-change="handleItemChange" -->
+            	</el-form-item>
+              <!-- :key="cascaderKey"  seleted -->
+
+            </el-col>
+            <el-col :span="11">
+            	<el-form-item label="详细地址" prop="nowIn"><el-input v-model="item.nowIn" type="input" placeholder="请输入内容" /></el-form-item>
+            </el-col>
+            <el-col :span="1">
+              <div class="hyeoa" style="margin-top: 10px;">
+              	 <el-tooltip class="item" effect="dark" content="新增居住地址信息,请慎重操作" placement="top-start">
+              	      <img src="../../../assets/images/icon_tc_add.png" alt="" class="hueyde" @click="tijea(index)" />
+              	    </el-tooltip>
+              		<el-tooltip class="item" effect="dark" content="删除无法恢复,请慎重操作" placement="top-start">
+              		     <img src="../../../assets/images/delei.png" alt="" class="hueydele" @click="naeyrfakjf(index, item)" />
+              		   </el-tooltip>
+              </div>
+            </el-col>
+          </el-col>
+
+					<el-col :span="24">
+						<el-col :span="12">
+							<el-form-item label="是否户主" prop="houseType">
+								<el-select v-model="form.houseType" placeholder="是否户主" clearable style="width: 100%;"  @change="changese">
+									<el-option v-for="dict in typeOptionshuuj" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
+								</el-select>
+							</el-form-item>
+						</el-col>
+						<el-col :span="12">
+              <el-tooltip class="item" effect="dark" content="如果不知道户编号,请用户主身份证号(已默认是户主身份证号)" placement="top-start">
+							<el-form-item label="户编号" prop="code">
+							<el-input      v-model="form.code" placeholder="请输入户主编号"/>
+              <!-- :disabled="nhe" -->
+							</el-form-item>
+              </el-tooltip>
+						</el-col>
+					</el-col>
+
+
+          <el-col :span="24" v-if="shifouh == false">
+          	<el-col :span="12">
+          		<el-form-item label="户主名称" >
+          			<el-input      v-model="form.hzName" placeholder="请输入户主名称"/>
+          		</el-form-item>
+          	</el-col>
+          	<el-col :span="12">
+
+          		<el-form-item label="户主身份证" prop="hzIdCard">
+          		<el-input      v-model="form.hzIdCard" placeholder="请输入户主身份证"/>
+              <!-- :disabled="nhe" -->
+          		</el-form-item>
+
+          	</el-col>
+          </el-col>
+
+
+          <el-col :span="24">
+            <el-col :span="12">
+                <el-form-item label="与户主关系" prop="yhzgx">
+                	<el-select filterable v-model="form.yhzgx" placeholder="与户主关系" clearable style="width: 100%;">
+                		<el-option v-for="dict in typeOptionstyzandeh" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictLabel" />
+                	</el-select>
+                </el-form-item>
+            </el-col>
+            <el-col :span="12">
+            	<el-form-item label="网格" prop="houseTyper">
+            		<el-cascader
+            			:placeholder="ndhesdweaf"
+            			:options="optionsListwg"
+            			filterable
+            			@change="chahetwoswge"
+            			:props="optionPropsssdwg"
+            			style="width: 100%;"
+            		  ref = "cddfr"
+                  :key="nhduesw"
+            		  @active-item-change="handleItemChangefrwg"
+                  :class="[ndhesdweaf == '点击选择网格' ? '' : 'placf']"
+            		></el-cascader>
+            	</el-form-item>
+            </el-col>
+          </el-col>
+
+          <el-col :span="24">
+            <el-col :span="12">
+              <el-form-item label="备注" prop="remark">
+              	<el-input v-model="form.remark" type="input" placeholder="请输入备注" />
+              </el-form-item>
+            </el-col>
+            <el-col :span="12">
+                <el-form-item label="人员状态" prop="remark">
+                	<el-select v-model="formgt.houseType" placeholder="请选择人员状态" clearable style="width: 100%;">
+                		<el-option v-for="dict in typeOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
+                	</el-select>
+                </el-form-item>
+            </el-col>
+
+          </el-col>
+
+				</el-row>
+
+			</el-form>
+			<div slot="footer" class="dialog-footer">
+        <el-button type="success" @click="xinxihe" v-if="nhtrew">修改并确认</el-button>
+				<el-button type="primary" @click="submitForm">确 定</el-button>
+				<el-button @click="cancel">取 消</el-button>
+			</div>
+		</el-dialog>
+
+
+<el-dialog :close-on-click-modal="false" title="查看统计信息" :visible.sync="jiezhong" :width="nhyesoder == 3 ? '67%' : '87%'" append-to-body class="ojhgy tabsty" height="280" >
+    <el-form :model="tj" ref="tj" :inline="true"  label-width="100px">
+      <el-row>
+        <el-col :span="14">
+          <el-form-item label="选择乡镇/村" prop="remark">
+          	<!-- <el-cascader
+          		placeholder="选择乡镇/村"
+          		:options="optionsList"
+          		filterable
+          		@change="chahetwos"
+          		:props="optionPropsssd"
+              style="width: 161%;"
+          		@keyup.enter.native="handleQuery"
+          	  ref = "cdd"
+          	  v-model="listd"
+          	  @active-item-change="handleItemChangefr"
+          	></el-cascader> -->
+            <el-cascader
+            	placeholder="选择乡镇/村"
+            	:options="optionsList"
+            	:filterable="true"
+            	separator="/"
+            	@change="chahetwo"
+            	:props="optionPropsss"
+            	style="width: 161%;"
+            	ref="myCascaderqty"
+              v-model="lser"
+              @active-item-change="handleItemChangefr"
+              @keyup.enter.native="handleQuery"
+            ></el-cascader>
+          </el-form-item>
+        </el-col>
+        <el-col :span="6">
+        <el-form-item>
+        	<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuerytj">搜索</el-button>
+        	<el-button icon="el-icon-refresh" size="mini" @click="resetQuerytj">重置</el-button>
+        </el-form-item>
+        </el-col>
+      </el-row>
+      </el-form>
+    	<el-table stripe border  :show-overflow-tooltip="true" :data="jiezheList"  style="width: 100%" height="270"  v-loading="loading" v-if="nhye == true">
+    			<el-table-column v-if="user.dept.deptName == '潜山市'"  label="乡镇" align="center" prop="name"   width="100" />
+          <el-table-column v-if="user.dept.deptName !== '潜山市'" label="村" align="center" prop="name"   />
+    			<el-table-column label="系统人口数" align="center" prop="hjzrs"  />
+    			<el-table-column label="完成核酸检测数据" align="center" prop="hjymjz"  />
+          <el-table-column label="完成百分比" align="center" prop="hjbfb"  />
+
+    		</el-table>
+        <div v-if="nhye == false" style="text-align: center; font-size: 14px;">正在查询,请稍等</div>
+      <pagination v-show="totalfr > 0" :total="totalfr" :page.sync="ndhuwosdjh.pageNum" :limit.sync="ndhuwosdjh.pageSize" @pagination="chakei({type:ndhuwosdjh.queryType,row:nhyesoder})"/>
+    </el-dialog>
+
+
+
+    <!-- 导入对话框 -->
+    <el-dialog :close-on-click-modal="false" :title="upload.title" :visible.sync="upload.open" width="400px" append-to-body>
+      <el-upload
+        ref="upload"
+        :limit="1"
+        accept=".xlsx, .xls"
+        :headers="upload.headers"
+        :action="upload.url + '?source=' + upload.source"
+        :disabled="upload.isUploading"
+        :on-progress="handleFileUploadProgress"
+        :on-success="handleFileSuccess"
+        :auto-upload="false"
+        drag
+      >
+        <i class="el-icon-upload"></i>
+        <div class="el-upload__text">
+          将文件拖到此处,或
+          <em>点击上传</em>
+        </div>
+        <div class="el-upload__tip" slot="tip">
+          <div class="nhkhv">
+            <span><i>*</i>数据来源:</span>
+            <el-select v-model="upload.source" placeholder="请选择数据来源"    style="width: 100%;">
+            	<el-option v-for="dict in typeOptionstimesgt" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
+            </el-select>
+          </div>
+          <el-link type="info" style="font-size:12px" @click="importTemplate">下载模板</el-link>
+        </div>
+        <div class="el-upload__tip" style="color:red" slot="tip">提示:仅允许导入“xls”或“xlsx”格式文件!</div>
+      </el-upload>
+      <div slot="footer" class="dialog-footer">
+        <el-button type="primary" @click="submitFileForm">确 定</el-button>
+        <el-button @click="nske">取 消</el-button>
+      </div>
+    </el-dialog>
+	</div>
+</template>
+
+<script>
+import { listInfo, listInfos, getInfo, delInfo, addInfo, updateInfo, exportInfo, listRoleer, idces, delInfort,yiaoe,exportConfig,exportConfigtyr,importLog,listInfotj,listRoleergth,listInfotjxz,listInfotjjs,listInfotjjsfaml,listRoleergthwg,listInfotjjssbule,listInfotjjssquer } from '@/api/system/ucleic';
+import {listInfosls} from '@/api/system/residentss';
+// import { treeselect } from '@/api/system/dept';
+import { treeselect,treeselectdepts } from "@/api/system/dept";
+import Treeselect from '@riophae/vue-treeselect';
+import { getToken } from '@/utils/auth';
+import '@riophae/vue-treeselect/dist/vue-treeselect.css';
+import "@riophae/vue-treeselect/dist/vue-treeselect.css";
+import { getUserProfile } from "@/api/system/user";
+export default {
+	name: 'Info',
+	components: { Treeselect },
+	data() {
+		return {
+			// 遮罩层
+			loading: true,
+      tj:{},
+			// 选中数组
+			ids: [],
+			// 非单个禁用
+			single: true,
+			// 非多个禁用
+			multiple: true,
+			// 显示搜索条件
+			showSearch: true,
+			// 总条数
+			total: 0,
+      user:{
+        dept:{deptName:null}
+      },
+      id:'fg',
+      idsf:'gh',
+      ruleshy:{},
+			// 疫苗信息表格数据
+			infoList: [],
+			dialogImageUrl: '',
+      // 用户导入参数
+      upload: {
+        // 是否显示弹出层(用户导入)
+        open: false,
+        // 弹出层标题(用户导入)
+        title: "",
+        // 是否禁用上传
+        isUploading: false,
+        // 是否更新已经存在的用户数据
+        source: null,
+        // 设置上传的请求头部
+        headers: { Authorization: "Bearer " + getToken() },
+        // 上传的地址
+        url: process.env.VUE_APP_BASE_API + "/boman-web-core/core/czrk/importData"
+      },
+			// 弹出层标题
+			title: '',
+      totalfr:0,
+			// 是否显示弹出层
+			opens: false,
+			process: process.env.VUE_APP_BASE_API,
+			// 查询参数
+			queryParams: {
+				xm:null,
+        zjhm:null,
+        isNucleicAcid:null,
+        timeSlot:null,
+        queryType:'hj',
+        pageNum: 1,
+        pageSize: 10,
+        params:{
+          startTime:null,
+          endTime:null
+        }
+			},
+			config: [],
+      nhyeswdga:{nhus:[]},
+			comfietg:[],
+			configther:[],
+			configfor:[],
+      optionsListwg:[],
+      nhduesw:0,
+      nhslke:'3',
+			// 表单参数
+			form: {
+				nowIn: '',
+				age:'',
+				code:'',
+				czrkJzdzList: [
+					{
+						provinceId: '',
+						province: '',
+						deptId: '',
+						cityId: '',
+						city: '',
+						regionId:'',
+            region: '',
+            townId: '',
+            town: '',
+            villageId: '',
+            village: '',
+            nowIn:'',
+            seleted:[],
+            plaed:'请选择居住地址',
+						disableg:false
+					},
+          {
+          	provinceId: '',
+          	province: '',
+          	deptId: '',
+          	cityId: '',
+          	city: '',
+          	regionId:'',
+            region: '',
+            townId: '',
+            town: '',
+            villageId: '',
+            village: '',
+            nowIn:'',
+            seleted:[],
+            plaed:'请选择居住地址',
+          	disableg:false
+          }
+				]
+			},
+      nhykis:true,
+      nhyki:false,
+
+			// 表单校验
+			rules: {
+				idCard: [{ required: true, message: '身份证号码不能为空', trigger: 'blur' }],
+				userName: [{ required: true, message: '姓名不能为空', trigger: 'blur' }],
+				provinceId:[{ required: true, message: '户籍地址不能为空或不能只选潜山市', trigger: 'blur' }],
+        houseType:[{ required: true, message: '请选择户主', trigger: 'blur' }],
+        code:[{ required: true, message: '请输入户编号信息', trigger: 'blur' }],
+        yhzgx:[{ required: true, message: '请选择与户主关系', trigger: 'blur' }],
+      },
+      // yhzgx:[{ required: true, message: '请选择与户主关系', trigger: 'blur' }],
+			selected: [],
+			selectedtwo: [],
+			statusOptions: [
+				{
+					dictValue: '女',
+					dictLabel: '女'
+				},
+				{
+					dictValue: '男',
+					dictLabel: '男'
+				}
+			],
+			statusOptionstue: [
+				{
+					dictValue: 'Y',
+					dictLabel: '完成'
+				},
+				{
+					dictValue: 'N',
+					dictLabel: '未完成'
+				}
+			],
+			typeOptionshuuj: [
+				{
+					dictValue: '是',
+					dictLabel: '是'
+				},
+				{
+					dictValue: '否',
+					dictLabel: '否'
+				}
+			],
+      typeOptionshuujs: [
+      	{
+      		dictValue: 'Y',
+      		dictLabel: '是'
+      	},
+      	{
+      		dictValue: 'N',
+      		dictLabel: '否'
+      	}
+      ],
+			deptOptionstwo: [],
+			options: [],
+      optionss:[],
+      optionsList: [],
+			optionProps: {
+				value: 'areaId',
+				label: 'name',
+				checkStrictly: true,
+			},
+      optionPropsssd:{
+        value: 'areaId',
+        label: 'name',
+        checkStrictly: true,
+        lazy: true,
+        lazyLoad: this.lazyLoads,
+        leaf: "leaf"
+      },
+      optionPropsss: {
+      	value: 'areaId',
+      	label: 'name',
+      	checkStrictly: true,
+      },
+      // optionPropsss: {
+      // 	value: 'id',
+      // 	label: 'label',
+      // 	checkStrictly: true,
+      // },
+      optionPropsssdwg:{
+        value: 'id',
+        label: 'areaName',
+        checkStrictly: true,
+      },
+			optionPropstwo: {
+				value: 'id',
+				label: 'label',
+				children: 'children',
+				checkStrictly: true
+			},
+			heuiq: [],
+			typeOptions: [],
+			typeOptionsty: [
+				{
+					dictValue: '是',
+					dictLabel: '是'
+				},
+				{
+					dictValue: '否',
+					dictLabel: '否'
+				}
+			],
+			typeOptionstyzandeh:[],
+			angesList: [
+
+			],
+			typeOptionsname: [],
+			typeOptionstimes: [],
+			typeOptionsvaccinatio: [],
+			typeOptionscont: [],
+			typeOptionscontty: [],
+			typeOptionscontqit:[],
+			// 剂次
+			typeOptionstimesgt: [
+
+			],
+			imashow: false,
+			naneme: false,
+			shouwes: false,
+			shouwestwo:false,
+			villageTownshy: undefined,
+			naiseurya: '',
+			hsuej: '',
+			jdourdjoaj: false,
+      senlsduea:false,
+			jiezhong: false,
+			jiezheList: [],
+			fireLise:{config:[]},
+			nameutaiL:0,
+			jue:false,
+			nhue:true,
+      exportflag:true,
+      errorlog:false,
+      errorList:[],
+      idfer:0,
+      formgt:{},
+      list: [],
+      listd:[],
+      lser:[],
+      ndhesdweaf :'点击选择网格',
+      dneyhsd:{},
+      nhdyesfgh:'点击选择户籍地址',
+      nhe:false,
+      nhyesoder:0,
+      ndhuwosdjh:{
+        pageNum: 1,
+        pageSize: 10,
+      },
+      tableMaxHeight:300,
+      cascaderKey:0,
+      optionsLists:[],
+      nhyeojd:false,
+      ndhyuewkg:[],
+      nhdyesku:false,
+      nbdgywkajs:false,
+      shifouh:true,
+      bhdes:{},
+      nhtrew:false,
+      bgtes:[],
+      ndheysfs:false,
+      nhyesaw:1,
+      nhyesfx:false,
+      jbuttomfs:[],
+      biangneg:false,
+      bgls:[],
+      pighomeList:[],
+      optiodne:[],
+      nnd:[],
+      nhye:false
+		};
+	},
+	created() {
+		this.getList();
+		// this.getTreeselectjue();
+    // this.mnyesfjer(0)
+    this.mnyesfjers("340882000000")
+    // this.mnyesfjerop(0)
+    // this.mnyesfjeropwg("340882000000")
+    // this.queryParams.djsjjs = this.ShowDate('0')
+    // this.queryParams.djsjqs = this.ShowDate('7')
+    console.log(this.ShowDate('7'))
+    // this.getTreeselectjuetj()
+    // this.getTreeselect()
+		// 变更原因
+		// this.getDicts('person_type').then(response => {
+		// 	this.typeOptions = response.data;
+  //     // this.jbuttomfs = response.data
+		// });
+    // this.getDicts('people_status').then(response => {
+    // 	// this.typeOptions = response.data;
+    //   this.jbuttomfs = response.data
+    // });
+		// 疫苗名称
+		// this.getDicts('renyuanfenlei').then(response => {
+		// 	this.typeOptionsname = response.data;
+		// });
+
+    // 与户主关系
+    // this.getDicts('yuhuzhuguanxi').then(response => {
+    // 	this.typeOptionstyzandeh = response.data;
+    // });
+
+		// 年龄阶段
+		// this.getDicts('age_interval').then(response => {
+		// 	this.angesList = response.data;
+		// });
+
+		// this.form.province = this.selected[0];
+		// this.form.city = this.selected[1];
+		// this.form.region = this.selected[2];
+		console.log(this.selected,456)
+    console.log(this.cascaderKey,347)
+		// this.queryParams.province = this.selectedtwo[0];
+		// this.queryParams.city = this.selectedtwo[1];
+		// this.queryParams.region = this.selectedtwo[2];
+		// this.naiseurya = this.form.province + this.form.city + this.form.region;
+    window.onresize = () => {
+                    this.changeTableMaxHeight()
+                  }
+                  this.changeTableMaxHeight()
+
+
+	},
+	mounted() {
+		console.log(136)
+    window.onresize = () => {
+                    this.changeTableMaxHeight()
+                  }
+                  this.changeTableMaxHeight()
+	},
+
+	methods: {
+    //  获取猪舍
+    homeNameFormat(row, column) {
+      return this.selectDictLabel(this.typeOptions,row.status);
+      },
+    // 筛选节点
+    filterNode(value, data) {
+      if (!value) return true;
+      return data.name.indexOf(value) !== -1;
+    },
+    nhyeosdsef(){
+     console.log(234)
+    },
+    /** 转换菜单数据结构 */
+    normalizer(node) {
+      if (node.children && !node.children.length) {
+        delete node.children;
+      }
+      return {
+        id: node.id,
+        label: node.label,
+        children: node.children
+      };
+    },
+    /** 初始化下拉框数据 **/
+        getRootModels() {
+           //初始化数据 只加载根节点
+           listRoleergth('0').then(response => {
+             // for(let index of response.data){
+             //   let modeInfo = {} ;
+             //   modeInfo.id = index.id
+             //   modeInfo.label = index.name;
+             //   modeInfo.children = null;
+             //   this.rootOptions.push(modeInfo);
+             // }
+             // for(var i = 0 ; i < this.form.czrkJzdzList.length ; i++){
+               // this.nameutaiL = i
+               // this.mnyesfjerty(0)
+               this.optiodne.push(response.data)
+             // }
+           });
+         },
+    /** 加载子节点数据 **/
+         loadOptions({ action, parentNode, callback }){
+           console.log(action,125)
+           if (action === "LOAD_CHILDREN_OPTIONS") {
+           	  //加载点击节点的 子节点
+              var ndhes = {}
+              ndhes.pid = parentNode.areaId
+              listRoleergth(ndhes).then(response => {
+                let arr = [];
+                arr = response.data
+                // for(let index of response.data){
+                //   let chiledModeInfo = {} ;
+                //   chiledModeInfo.id = index.id
+                //   chiledModeInfo.label = index.name;
+                //   chiledModeInfo.children = null;
+                //   arr.push(chiledModeInfo);
+                // }
+                parentNode.children = arr;
+              });
+              callback();
+            }
+         },
+
+		onSelected(data,val) {
+			console.log(data, 125);
+      if(this.opens == false){
+        return  false
+      }
+      this.nameutaiL = data
+      // console.log(this.nameutaiL,76543)
+      // console.log(this.form.czrkJzdzList[data].seleted)
+      // console.log(this.$refs['myCascaderf' + '' + data],123)
+      // console.log(this.$refs['myCascaderf' + '' + data][0].$refs.panel.checkedValue,data)
+      // console.log(this.$refs['myCascaderf' + '' + data][0].getCheckedNodes()[0].pathLabels)
+
+      // if(data !== 0){
+      //   if(this.nhyeojd = true){
+      //     this.$refs['myCascaderf' + '' + this.nameutaiL][0].$refs.panel.clearCheckedNodes()
+      //   }
+      // }
+      // var nhedse = []
+      // nhedse = this.$refs['myCascaderf']
+      // if(nhedse.length > 1){
+      //   this.$refs['myCascaderf'] = this.$refs['myCascaderf'][0];
+      //   console.log(this.$refs['myCascaderf'],133)
+      //   // for(var i = 0 ; i < nhedse.length; i++){
+      //   //   if(i == 0){
+      //   //     this.$refs['myCascaderf'][0].$refs.panel.clearCheckedNodes()
+      //   //   }
+      //   // }
+      // }
+   //    this.$refs['myCascaderf'][0].$refs.panel.checkedValue =  this.form.czrkJzdzList[data].seleted
+   //    console.log(this.$refs['myCascaderf'][0].$refs.panel.checkedValue,data)
+   //    console.log(this.$refs['myCascaderf'][0].getCheckedNodes()[0].pathLabels)
+      this.nhyeojd = false
+      // this.nhdyesku = false
+			// province
+      let nhdye = []
+      nhdye = this.$refs['myCascaderf' + '' + data][0].getCheckedNodes()[0].pathLabels
+      let nhyhe = []
+      nhyhe = this.form.czrkJzdzList[data].seleted
+      if(nhdye.length == 1){
+        this.form.czrkJzdzList[data].provinceId = nhyhe[ nhyhe.length - 1];
+        this.form.czrkJzdzList[data].province = nhdye[ nhdye.length - 1];
+        this.form.czrkJzdzList[data].cityId = null
+        this.form.czrkJzdzList[data].city = null
+        this.form.czrkJzdzList[data].regionId = null
+        this.form.czrkJzdzList[data].region = null
+        this.form.czrkJzdzList[data].townId = null
+        this.form.czrkJzdzList[data].town = null
+        this.form.czrkJzdzList[data].villageId = null
+        this.form.czrkJzdzList[data].village = null
+      }else if(nhdye.length == 2){
+        this.form.czrkJzdzList[data].cityId = nhyhe[ nhyhe.length - 1];
+        this.form.czrkJzdzList[data].city = nhdye[ nhdye.length - 1];
+        this.form.czrkJzdzList[data].regionId = null
+        this.form.czrkJzdzList[data].region = null
+        this.form.czrkJzdzList[data].townId = null
+        this.form.czrkJzdzList[data].town = null
+        this.form.czrkJzdzList[data].villageId = null
+        this.form.czrkJzdzList[data].village = null
+      }else if(nhdye.length == 3){
+        this.form.czrkJzdzList[data].regionId = nhyhe[ nhyhe.length - 1];
+        this.form.czrkJzdzList[data].region = nhdye[ nhdye.length - 1];
+        this.form.czrkJzdzList[data].townId = null
+        this.form.czrkJzdzList[data].town = null
+        this.form.czrkJzdzList[data].villageId = null
+        this.form.czrkJzdzList[data].village = null
+      }else if(nhdye.length == 4){
+        this.form.czrkJzdzList[data].townId = nhyhe[ nhyhe.length - 1];
+        this.form.czrkJzdzList[data].town = nhdye[ nhdye.length - 1];
+        this.form.czrkJzdzList[data].villageId = null
+        this.form.czrkJzdzList[data].village = null
+      }else if(nhdye.length == 5){
+        this.form.czrkJzdzList[data].villageId = nhyhe[ nhyhe.length - 1];
+        this.form.czrkJzdzList[data].village = nhdye[ nhdye.length - 1];
+      }
+     this.form.czrkJzdzList[data].deptId =  nhyhe[ nhyhe.length - 1]
+      // id
+			// this.form.province = data[0];
+			// this.form.city = data[1];
+			// this.form.region = data[2];
+      // 名称
+			// this.naiseurya = this.form.province + this.form.city + this.form.region;
+			// if (this.jdourdjoaj == false) {
+			// 	// 修改
+			// 	this.form.nowIn = '';
+			// }
+			// this.form.nowIn = undefined
+			// this.form.villageTowns = data[3]
+      console.log(this.form)
+		},
+		dakousr() {
+			console.log(2345);
+		},
+    mnyesfjer(index,val){
+      this.loading = true;
+      let pids = {}
+      pids.pid = index
+      listRoleergth(pids).then(response => {
+        // this.cascaderKey = this.cascaderKey + 1
+        if(response.data.length == 0){
+          return
+        }
+        if(val !== undefined){
+          this.nameutaiL = val
+        }
+         console.log(this.nameutaiL,87)
+      	// this.form.czrkJzdzList[this.nameutaiL].optiodne = this.handleData(response.data);
+        this.optionsLists = this.handleData(response.data);
+        this.optionsList = this.handleData(response.data);
+        // this.form.czrkJzdzList[0].optiodne
+      	this.loading = false;
+        console.log(this.cascaderKey,8765)
+      });
+    },
+    mnyesfjerty(index,val){
+      this.loading = true;
+      let pids = {}
+      pids.pid = index
+      listRoleergth(pids).then(response => {
+        // this.cascaderKey = this.cascaderKey + 1
+        if(response.data.length == 0){
+          return false
+        }
+        for(var i = 0 ; i < this.form.czrkJzdzList.length ; i++){
+          // this.nameutaiL = i
+          // this.mnyesfjerty(0)
+          console.log(i,7528)
+          // this.form.czrkJzdzList[i].optiodne = this.handleData(response.data);
+        }
+
+        // this.form.czrkJzdzList[0].optiodne
+      	this.loading = false;
+        console.log(this.cascaderKey,8765)
+      });
+    },
+
+    mnyesfjerop(index){
+      this.loading = true;
+      let pids = {}
+      pids.pid = index
+      listRoleergth(pids).then(response => {
+      	this.optionsList = this.handleData(response.data);
+      	this.loading = false;
+      });
+    },
+
+    mnyesfjeropwg(index){
+      this.loading = true;
+      let pids = {}
+      pids.pid= index
+      listRoleergthwg(pids).then(response => {
+      	this.optionsListwg = this.handleDatawg(response.data);
+      	this.loading = false;
+      });
+    },
+    mnyesfjers(index){
+      this.loading = true;
+      let pids = {}
+      pids.pid = index
+      listRoleergth(pids).then(response => {
+        // this.cascaderKey = this.cascaderKey + 1
+        if(response.data.length == 0){
+          return false
+        }
+      	this.optionsList = this.handleData(response.data);
+      	this.loading = false;
+        console.log(this.cascaderKey,8765)
+      });
+    },
+   idjeus(data){
+    console.log(data,2347)
+    // this.cascaderKey = this.cascaderKey + 1
+   },
+     format() {
+          let res =  this.getfristChild(); // 拿一级数据
+          this.list.forEach((item) => {
+            // 遍历回显的id 二维数组
+            if (item.length > 1) {
+              item.forEach(async (sitem, index) => {
+                if (index == item.length - 1) {
+                  return; // 如果是一级节点就不用查找了
+                }
+                let arr =  this.getOther(sitem); // 不是一级,获取子级
+                this.findItem(res, arr, sitem); //  判断当前拿到的子级数据属于哪个一级数据下的子级,并且加到当前一级的children属性下
+              });
+            }
+          });
+           },
+     // 递归判断
+           findItem(res, arr, id) {
+            for (let i = 0; i < res.length; i++) {
+              if (res[i].value === id) {
+                res[i].children = arr; // 有chidlren 也要判断是不是这个children下的子级
+                return res;
+              }
+              if (res[i].children) {
+                this.findItem(res[i].children, arr, id);
+              }
+            }
+             return res;
+          },
+
+
+   // getAddress() {
+   // 	        this.mnyesfjer(0).then(res => {
+   // 	          this.optionsList =  this.handleData(res.data);
+   // 	        }).catch(err => {
+   // 	        })
+   // 	    },
+   	     handleItemChange(val) {
+           console.log(val,235)
+   	        let code = val ? val[val.length - 1] : '';  //需请求数据的上级地址的code值
+   	        let level = val.length + 1;  //需请求第几级地址
+            console.log(this.nameutaiL,2345)
+            console.log(this.form.czrkJzdzList,12365)
+            this.$set(this.form.czrkJzdzList[this.nameutaiL],'optiodne',this.handleData(this.form.czrkJzdzList[this.nameutaiL].optiodne, code, level))
+          },
+
+
+          handleItemChangefr(val) {
+            console.log(val,235)
+             let code = val ? val[val.length - 1] : '';  //需请求数据的上级地址的code值
+             let level = val.length + 1;  //需请求第几级地址
+             this.optionsList = this.handleData(this.optionsList, code, level);
+          	},
+
+          handleItemChanges(val) {
+            console.log(val,235)
+             let code = val ? val[val.length - 1] : '';  //需请求数据的上级地址的code值
+             let level = val.length + 1;  //需请求第几级地址
+             this.optionsLists = this.handleData(this.optionsLists, code, level);
+             this.cascaderKey = this.cascaderKey + 1
+          	},
+
+         	handleData(data, val, level) {
+            console.log(data,val,level,7536)
+   	        for (let i = 0; i < data.length; i++) {
+   	          if(!data[i].children) {
+   	            this.$set(data[i], 'children', []);
+   	          }
+   	          if(data[i].areaId === val){
+                let vfer = {}
+                vfer.pid = val
+   	            listRoleergth(vfer).then(res => {
+                  // this.cascaderKey = this.cascaderKey + 1
+   	              if(res.data.length) {
+                    console.log(data[i].children,4567)
+   	                // data[i].children = res.data;
+                    this.$set(data[i], 'children', res.data)
+                    console.log(data[i].children,45678)
+                     // this.nhdyesku = true
+   	                data[i].children.forEach(ele => {
+   	                  this.$set(ele, 'children', [])
+   	                });
+   	              }else {
+   	                data[i].children = undefined;
+   	              }
+   	            }).catch(err => {
+   	            });
+   	          }else {
+   	            if(data[i].children.length){
+   	              this.handleData(data[i].children,val,level)
+   	            }
+   	          }
+   	        }
+
+             return data;
+         },
+
+         handleItemChangefrwg(val) {
+           console.log(val,235)
+            let code = val ? val[val.length - 1] : '';  //需请求数据的上级地址的code值
+            let level = val.length + 1;  //需请求第几级地址
+            this.optionsListwg = this.handleDatawg(this.optionsListwg, code, level);
+         	},
+         handleDatawg(data, val, level) {
+            console.log(data,val,level,7536)
+            for (let i = 0; i < data.length; i++) {
+              if(!data[i].children) {
+                this.$set(data[i], 'children', []);
+              }
+              if(data[i].id === val){
+                let vfer = {}
+                vfer.pid = val
+                listRoleergthwg(vfer).then(res => {
+                  // this.cascaderKey = this.cascaderKey + 1
+                  if(res.data.length) {
+                    console.log(data[i].children,4567)
+                    // data[i].children = res.data;
+                    this.$set(data[i], 'children', res.data)
+                    console.log(data[i].children,45678)
+                     this.nhdyesku = true
+                    data[i].children.forEach(ele => {
+                      this.$set(ele, 'children', [])
+                    });
+                  }else {
+                    data[i].children = undefined;
+                  }
+                }).catch(err => {
+                });
+              }else {
+                if(data[i].children.length){
+                  this.handleDatawg(data[i].children,val,level)
+                }
+              }
+            }
+
+             return data;
+         },
+
+		onSelectedtwo(data) {
+			console.log(data);
+			// province
+			this.queryParams.province = data[0];
+			this.queryParams.city = data[1];
+			this.queryParams.region = data[2];
+			// this.queryParams.villageTowns = data[3]
+		},
+		/** 查询户籍疫苗信息列表 */
+		getList() {
+			this.loading = true;
+      this.nbdgywkajs = true
+      this.total = 0
+			listInfo(this.queryParams).then(response => {
+				this.infoList = response.rows;
+        this.nbdgywkajs = true
+				this.total = response.total;
+				this.loading = false;
+			});
+		},
+    /** 查询居住疫苗信息列表 */
+    getListjuzhu() {
+    	this.loading = true;
+      this.nbdgywkajs = true
+      this.total = 0
+    	listInfos(this.queryParams).then(response => {
+    		this.infoList = response.rows;
+        this.nbdgywkajs = true
+    		this.total = response.total;
+    		this.loading = false;
+    	});
+    },
+    // 变更历史
+    getListls(row) {
+    	this.loading = true;
+      // this.nbdgywkajs = true
+      this.biangneg = true
+    	listInfosls(row).then(response => {
+    		this.bgls = response.data;
+        // this.nbdgywkajs = true
+    		this.total = response.total;
+    		this.loading = false;
+    	});
+    },
+
+		getToken() {
+			return getToken();
+		},
+		getTreeselectjue() {
+			this.loading = true;
+      let pids = {}
+      pids.pid = 0
+			listRoleer().then(response => {
+				this.options = response.data;
+				this.loading = false;
+			});
+		},
+    // 统计数据
+    getTreeselectjuetj() {
+    	this.loading = true;
+      this.dneyhsd = []
+      listInfotj().then(response => {
+        if(response.data !== undefined){
+          this.dneyhsd =  response.data
+        }else{
+          this.dneyhsd.push({dqdw:null,zhen:null,cun:null,zu:null,czzrs:null,czxz:null,czjs:null,hjzrs:null,hjxz:null,dneyhsd:null})
+        }
+
+        this.loading = false;
+      });
+    },
+
+		// 点击组/角色
+		djieskle(node, instanceId) {
+			// this.personnel(node.id);
+			console.log(node, instanceId);
+		},
+    nhyu(value, instanceId){
+      console.log(value, instanceId);
+    },
+		// 身份证
+		idcde(event) {
+			console.log(event);
+			// 身份证号码为15位或者18位,15位时全为数字,18位前17位为数字,最后一位是校验位,可能为数字或字符X
+			let reg = /^([1-6][1-9]|50)\d{4}(18|19|20)\d{2}((0[1-9])|10|11|12)(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/;
+      let _IDre15 =  /^([1-6][1-9]|50)\d{4}\d{2}((0[1-9])|10|11|12)(([0-2][1-9])|10|20|30|31)\d{3}$/;
+      // 护照
+       // let ncjsle = /^1[45][0-9]{7}$|(^[P|p|S|s]\d{7}$)|(^[S|s|G|g|E|e]\d{8}$)|(^[Gg|Tt|Ss|Ll|Qq|Dd|Aa|Ff]\d{8}$)|(^[H|h|M|m]\d{8,10}$)/;
+       let ncjsle = /^[a-zA-Z0-9]{5,17}$/
+       let nhyeli = /^[a-zA-Z]{5,17}$/
+      // 港澳
+      let gnse = /^([A-Z]\d{6,10}(\(\w{1}\))?)$/;
+      // 台湾
+      // let tw = /^\d{8}|^[a-zA-Z0-9]{10}|^\d{18}$/
+      var tw =  /^[0-9]{8}$/;
+       var twe = /^[0-9]{10}$/;
+      // 校验身份证:
+      console.log(reg.test(this.form.idCard),23741)
+			if ( reg.test(this.form.idCard)|| _IDre15.test(this.form.idCard)) {
+				this.idea();
+				// this.go(this.form.idCard.length);
+				// callback()
+			} else {
+        if(ncjsle.test(this.form.idCard) || nhyeli.test(this.form.idCard)){
+           console.log(3)
+        }else{
+          if(gnse.test(this.form.idCard)  ){
+              console.log(4)
+          }else{
+            if(tw.test(this.form.idCard) || twe.test(this.form.idCard)){
+              console.log(5)
+            }else{
+              this.msgInfo('证件格式不正确');
+            }
+
+            // return false
+          }
+
+        }
+				// callback(new Error('身份证号码不正确'))
+			}
+		},
+		// 实现自动生成生日,性别,年龄
+		go(val) {
+			let iden = this.form.idCard;
+			let sex = null;
+			let birth = null;
+			let birthr = '';
+			let myDate = new Date();
+			let month = myDate.getMonth() + 1;
+			let day = myDate.getDate();
+			let age = 0;
+
+			if (val === 18) {
+				age = myDate.getFullYear() - iden.substring(6, 10) - 1;
+				sex = iden.substring(16, 17);
+				birth = iden.substring(6, 10) + '-' + iden.substring(10, 12) + '-' + iden.substring(12, 14);
+				if (iden.substring(10, 12) < month || (iden.substring(10, 12) == month && iden.substring(12, 14) <= day)) age++;
+			}
+			if (val === 15) {
+				age = myDate.getFullYear() - iden.substring(6, 8) - 1901;
+				sex = iden.substring(13, 14);
+				birth = '19' + iden.substring(6, 8) + '-' + iden.substring(8, 10) + '-' + iden.substring(10, 12);
+				if (iden.substring(8, 10) < month || (iden.substring(8, 10) == month && iden.substring(10, 12) <= day)) age++;
+			}
+
+			if (sex % 2 === 0) sex = '女';
+			else sex = '男';
+			this.form.gender = sex;
+			// this.baseInfo.age = age;
+			birthr = birth + '';
+			console.log(birthr);
+			// this.form.birthday = birthr;
+			// this.$set(this.form.birthday, birthr)
+			// this.baseInfo.birthplace = this.area[iden.substring(0,2)];
+		},
+
+
+		// 请求身份证数据
+		idea() {
+			idces({ idCard: this.form.idCard }).then(response => {
+				console.log(response);
+				this.form.gender = response.data.gender;
+				// this.form.birthday = response.data.birthday;
+				this.form.age = response.data.age
+        if(response.data.code !== null){
+          this.$set(this.form, 'code', response.data.code)
+          // this.form.code = response.data.code
+        }
+				if (response.data.userName == null) {
+					// this.form.userName = undefined;
+          this.$set(this.form, 'userName', null)
+				} else {
+     //      this.form
+					// this.form.userName = response.data.userName;
+          this.$set(this.form, 'userName', response.data.userName)
+				}
+
+        this.form.phoneNum   = response.data.phoneNum
+        if(response.data.houseType !==null){
+          this.form.houseType   = response.data.houseType
+        }
+        this.form.nowIn   = response.data.nowIn
+        this.form.remark   = response.data.remark
+			});
+		},
+
+
+		// 取消按钮
+		cancel() {
+			this.opens = false;
+			this.jiezhong = false;
+			this.imashow = false;
+      this.errorlog=false;
+      this.nhyesfx = false
+      this.form.czrkJzdzList = this.form.czrkJzdzList.splice(1)
+			// this.reset();
+		},
+		gywoa() {
+			console.log(this.form.isVaccination);
+			if (this.form.isVaccination !== null) {
+				if (this.form.isVaccination == '是') {
+					// 接种疫苗
+					this.naneme = false,
+					this.shouwes = true;
+				}else {
+					this.naneme = true,
+					this.shouwes = false,
+					this.form.czrkJzdzList = [{
+						provinceId: '',
+						province: '',
+						deptId: '',
+						cityId: '',
+						city: '',
+						regionId:'',
+						region: '',
+						townId: '',
+						town: '',
+						villageId: '',
+						village: '',
+						nowIn:'',
+            seleted:[],
+            optiodne:[],
+            plaed:'请选择居住地址',
+					}
+				]
+				}
+			}
+		},
+		gywoatwo() {
+			console.log(this.queryParams.isVaccination);
+			if (this.queryParams.isVaccination !== null) {
+				if (this.queryParams.isVaccination == '是') {
+					// 接种疫苗
+					// (this.naneme = false), (this.shouwes = true);
+					this.shouwestwo = false
+				} else {
+					// (this.naneme = true), (this.shouwes = false);
+					this.shouwestwo = true
+				}
+			}
+		},
+
+		// 表单重置
+		reset() {
+			this.form = {
+				id: undefined,
+				age:'',
+				code:'',
+				houseType: '是',
+				domicile: undefined,
+				province: undefined,
+				city: undefined,
+				region: undefined,
+				userName: undefined,
+				gender: undefined,
+				idCard: undefined,
+				phoneNum: undefined,
+				keyIndustries: undefined,
+				isVaccination: undefined,
+				vaccinationPlace: undefined,
+				contraindication: undefined,
+				nowIn: '',
+        isConfirm:undefined,
+        gridId:undefined,
+				remark: undefined,
+        villageTowns:undefined,
+        village:undefined,
+        czrkJzdzList: [
+        	{
+        		provinceId: '',
+        		province: '',
+        		deptId: '',
+        		cityId: '',
+        		city: '',
+        		regionId:'',
+        		region: '',
+        		townId: '',
+        		town: '',
+        		villageId: '',
+        		village: '',
+        		nowIn:'',
+        		disableg:false,
+            optiodne:[],
+            seleted:[],
+            plaed:'请选择居住地址',
+        	}
+
+        ]
+			};
+			this.resetForm('form');
+		},
+		/** 搜索按钮操作 */
+		handleQuery() {
+			// this.queryParams.pageNum = 1;
+			console.log(this.queryParams)
+			if(this.queryParams.queryType == 'hj'){
+			  this.getList();
+			}else if(this.queryParams.queryType == 'cz'){
+			  this.getListjuzhu();
+			}
+		},
+    handleQuerytj() {
+    	// this.queryParams.pageNum = 1;
+      if(this.nnd.length > 0){
+        this.user.dept.deptName = ''
+      }
+       if(this.nnd.length == 1){
+        this.tj.lenth = 1
+        console.log(this.tj.lenth)
+      }
+       if(this.nnd.length == 2){
+        this.tj.lenth = 2
+      }
+      this.nhye = false
+      listInfotj(this.tj).then(response => {
+        this.jiezheList  = response.data.townDatas
+        this.loading = false;
+        this.nhye = true
+      });
+    	console.log(this.tj,this.user.dept.deptName,this.nnd.length)
+    	  // this.getList();
+
+    },
+    resetQuerytj(){
+      this.lser = []
+      this.nnd = []
+      this.tj.code = undefined
+      this.tj.lenth = undefined
+      this.handleQuerytj();
+    },
+		/** 重置按钮操作 */
+		resetQuery() {
+			this.nhue = false
+			this.selectedtwo = []
+			setTimeout( ()=>{
+				this.nhue = true
+			},100)
+
+			this.queryParams.xm = undefined;
			this.queryParams.zjhm = undefined;
			this.queryParams.isNucleicAcid = undefined;
+      this.queryParams.timeSlot = undefined
+      this.queryParams.params.startTime= undefined;
+      this.queryParams.params.endTime = undefined
+      this.listd = []
+      this.lser = []
+       this.queryParams.pageNum = 1,
+			this.resetForm('queryForm');
+			this.handleQuery();
+		},
+		// 多选框选中数据
+		handleSelectionChange(selection) {
+			this.ids = selection.map(item => item.id);
+			this.single = selection.length !== 1;
+			this.multiple = !selection.length;
+		},
+		/** 新增按钮操作 */
+		handleAdd(data) {
+      this.form = {}
+      // this.nhyeswdga = []
+      if(this.typeOptionsname.length == 0){
+        this.getDicts('renyuanfenlei').then(response => {
+        	this.typeOptionsname = response.data;
+        });
+      }
+      if(this.typeOptionstyzandeh.length == 0){
+        // 与户主关系
+        this.getDicts('yuhuzhuguanxi').then(response => {
+        	this.typeOptionstyzandeh = response.data;
+        });
+      }
+      this.$set(this.nhyeswdga, 'nhus', [])
+      this.$nextTick(() =>{
+        this.$refs.myCascader.$refs.panel.clearCheckedNodes()
+        this.$refs.myCascader.$refs.panel.activePath = []
+      })
+      this.nhyesfx = true
+      console.log(this.nhyeswdga)			// this.reset();
+
+      // this.form.czrkJzdzList = [
+      //   	{
+      //   		provinceId: '',
+      //   		province: '',
+      //   		deptId: '',
+      //   		cityId: '',
+      //   		city: '',
+      //   		regionId:'',
+      //   		region: '',
+      //   		townId: '',
+      //   		town: '',
+      //   		villageId: '',
+      //   		village: '',
+      //   		nowIn:'',
+      //   		disableg:false,
+      //       optiodne:[],
+      //       seleted:[],
+      //       plaed:'请选择居住地址',
+      //   	}
+
+      //   ]
+        this.$set(this.form, 'czrkJzdzList', [
+        	{
+        		provinceId: '',
+        		province: '',
+        		deptId: '',
+        		cityId: '',
+        		city: '',
+        		regionId:'',
+        		region: '',
+        		townId: '',
+        		town: '',
+        		villageId: '',
+        		village: '',
+        		nowIn:'',
+        		disableg:false,
+            optiodne:[],
+            seleted:[],
+            plaed:'请选择居住地址',
+        	}
+
+        ])
+        this.form.id = null
+        // this.form.age=''
+        this.$set(this.form, 'age', null)
+        // this.form.code=''
+        this.$set(this.form, 'code', null)
+        this.$set(this.form, 'houseType', '否')
+        // this.form.houseType= '是'
+      //   this.form.domicile= null
+      this.$set(this.form, 'domicile', null)
+      //   this.form.province= null
+      this.$set(this.form, 'province', null)
+      //   this.form.city= null
+      this.$set(this.form, 'city', null)
+      //   this.form.region= null
+      this.$set(this.form, 'region', null)
+      //   this.form.userName= null
+      this.$set(this.form, 'userName', null)
+      //   this.form.gender= null
+      this.$set(this.form, 'gender', null)
+      //   this.form.idCard= null
+      this.$set(this.form, 'idCard', null)
+        this.$set(this.form, 'phoneNum', null)
+        // this.form.phoneNum= null
+      //   this.form.keyIndustries= null
+      this.$set(this.form, 'keyIndustries', null)
+      //   this.form.isVaccination= null
+      this.$set(this.form, 'isVaccination', null)
+      //   this.form.vaccinationPlace= null
+      this.$set(this.form, 'vaccinationPlace', null)
+      //   this.form.contraindication= null
+      this.$set(this.form, 'contraindication', null)
+        // this.form.nowIn= ''
+        this.$set(this.form, 'nowIn', '')
+      //   this.form.isConfirm=null
+      this.$set(this.form, 'isConfirm', null)
+      //   this.form.gridId=null
+      this.$set(this.form, 'gridId', null)
+      //   this.form.remark= null
+      this.$set(this.form, 'remark', null)
+      //   this.form.villageTowns=null
+      this.$set(this.form, 'villageTowns', null)
+      //   this.form.village=null
+      this.$set(this.form, 'village', null)
+      this.loading = false
+      console.log(data)
+			this.opens = true;
+			(this.naneme = false),
+			(this.shouwes = false);
+			// this.form.province = this.selected[0];
+			this.villageTownshy = '';
+			this.naiseurya = '';
+			this.hsuej = '';
+			// this.form.city = this.selected[1];
+			// this.form.region = this.selected[2];
+			this.title = '添加信息';
+			this.jdourdjoaj = true;
+      this.senlsduea = false
+      this.jiezhong = false
+			this.jue = true
+      this.nhdyesfgh = '点击选择户籍地址'
+       this.ndhesdweaf = '点击选择网格'
+       this.nameutaiL = 0
+       // this.nhduesw = this.nhduesw + 1
+       this.nhtrew = false
+      this.mnyesfjer(0)
+      // this.form.province = '安徽省';
+      // this.form.city = '安庆市';
+      // this.form.region = '潜山市';
+      // this.form.villageTowns = '梅城镇';
+      // this.form.village = '龙井社区';
+      // this.nhdyesfgh = this.form.province + '/' + this.form.city + '/' + this.form.region + '/' + this.form.villageTowns + '/' + this.form.village;
+      if(data !== 0){
+        this.form.code = data.code
+        // this.form.houseType = '否'
+        this.$set(this.form, 'houseType', '否')
+      }else{
+        // this.form.houseType = '是'
+        this.$set(this.form, 'houseType', '是')
+      }
+			console.log(this.form)
+		},
+
+		/** 修改按钮操作 */
+		handleUpdate(row) {
+      this.opens = true;
+      this.form = {}
+if(this.typeOptionsname.length == 0){
+    this.getDicts('renyuanfenlei').then(response => {
+    	this.typeOptionsname = response.data;
+    });
+  }
+  if(this.typeOptionstyzandeh.length == 0){
+    // 与户主关系
+    this.getDicts('yuhuzhuguanxi').then(response => {
+    	this.typeOptionstyzandeh = response.data;
+    });
+  }
+      this.$set(this.form, 'czrkJzdzList', [
+        	{
+        		provinceId: '',
+        		province: '',
+        		deptId: '',
+        		cityId: '',
+        		city: '',
+        		regionId:'',
+        		region: '',
+        		townId: '',
+        		town: '',
+        		villageId: '',
+        		village: '',
+        		nowIn:'',
+        		disableg:false,
+            optiodne:[],
+            seleted:[],
+            plaed:'请选择居住地址',
+        	}
+
+        ])
+        this.form.id = null
+        // this.form.age=''
+        this.$set(this.form, 'age', null)
+        // this.form.code=''
+        this.$set(this.form, 'code', null)
+        this.$set(this.form, 'houseType', '否')
+        // this.form.houseType= '是'
+      //   this.form.domicile= null
+      this.$set(this.form, 'domicile', null)
+      //   this.form.province= null
+      this.$set(this.form, 'province', null)
+      //   this.form.city= null
+      this.$set(this.form, 'city', null)
+      //   this.form.region= null
+      this.$set(this.form, 'region', null)
+      //   this.form.userName= null
+      this.$set(this.form, 'userName', null)
+      //   this.form.gender= null
+      this.$set(this.form, 'gender', null)
+      //   this.form.idCard= null
+      this.$set(this.form, 'idCard', null)
+        this.$set(this.form, 'phoneNum', null)
+        // this.form.phoneNum= null
+      //   this.form.keyIndustries= null
+      this.$set(this.form, 'keyIndustries', null)
+      //   this.form.isVaccination= null
+      this.$set(this.form, 'isVaccination', null)
+      //   this.form.vaccinationPlace= null
+      this.$set(this.form, 'vaccinationPlace', null)
+      //   this.form.contraindication= null
+      this.$set(this.form, 'contraindication', null)
+        // this.form.nowIn= ''
+        this.$set(this.form, 'nowIn', '')
+      //   this.form.isConfirm=null
+      this.$set(this.form, 'isConfirm', null)
+      //   this.form.gridId=null
+      this.$set(this.form, 'gridId', null)
+      //   this.form.remark= null
+      this.$set(this.form, 'remark', null)
+      //   this.form.villageTowns=null
+      this.$set(this.form, 'villageTowns', null)
+      //   this.form.village=null
+      this.$set(this.form, 'village', null)
+      console.log(this.form,34567)
+      this.nhyesaw = 1
+			// this.reset();
+			const id = row.id || this.ids;
+			getInfo(id).then(response => {
+        this.loading = false
+				this.form = response.data;
+				this.jue = false
+        this.jiezhong = false
+        this.nhdyesku = true
+        this.nhtrew = true
+        this.nhyeswdga.nhus = []
+        if(this.form.houseType == '是'){
+          //是户主
+          this.shifouh = true
+        }else{
+          this.shifouh = false
+        }
+				if(response.data.province !== null && response.data.province !== ""){
+					this.nhdyesfgh = response.data.province;
+          if(response.data.city !== null && response.data.city !== ""){
+            this.nhdyesfgh = response.data.province + '/' + response.data.city;
+            if(response.data.region !== null && response.data.region !== ""){
+            	this.nhdyesfgh = response.data.province + '/' + response.data.city + '/' + response.data.region;
+              if(this.form.villageTowns !==null && this.form.villageTowns !=='' && this.form.villageTowns !== undefined){
+                this.nhdyesfgh = response.data.province + '/' + response.data.city + '/' + response.data.region + '/' + this.form.villageTowns;
+                if(this.form.village !==null && this.form.village !=='' && this.form.village !== undefined){
+                  this.nhdyesfgh = response.data.province + '/' + response.data.city + '/' + response.data.region + '/' + this.form.villageTowns + '/' + this.form.village;
+                }
+              }
+            }else{
+            	// this.nhdyesfgh ='点击选择居住地址'
+            }
+          }else{
+          	// this.nhdyesfgh ='点击选择居住地址'
+          }
+				}else{
+					this.nhdyesfgh ='点击选择户籍地址'
+				}
+  this.nhyesfx = true
+				if(response.data.czrkJzdzList.length !== 0 && response.data.czrkJzdzList !== null){
+					// this.selected[0] = response.data.province;
+          // for(var i = 0 ; i < response.data.czrkJzdzList.length ; i++){
+            // this.nameutaiL = i
+            response.data.czrkJzdzList.unshift(response.data.czrkJzdzList[0])
+            // this.form = response.data;
+            this.mnyesfjerty(0)
+          // }
+          response.data.czrkJzdzList.filter(route =>{
+            route.seleted = []
+            if(route.province !== ""){
+              route.plaed =  route.province
+              if(route.city !== ""){
+                route.plaed =  route.plaed + '/' + route.city
+                if(route.city !== ""){
+                  // route.plaed =  route.plaed + '/' + route.city
+                  if(route.region !== ""){
+                    route.plaed =  route.plaed + '/' + route.region
+                    if(route.town !== ""){
+                      route.plaed =  route.plaed + '/' + route.town
+                      if(route.village !== ""){
+                        route.plaed =  route.plaed + '/' + route.village
+                      }
+                    }
+                  }
+                }
+              }
+            }else{
+              route.plaed = '请选择居住地址'
+            }
+
+          })
+				}else{
+            console.log(this.form.czrkJzdzList,58)
+        }
+
+
+        if(response.data.gridName !==null){
+          this.ndhesdweaf = response.data.gridName
+        }else{
+          this.ndhesdweaf = '点击选择网格'
+        }
+
+				// this.onSelected(this.selected)
+				setTimeout( ()=>{
+					this.jue = true
+				},100)
+				// this.jue = true
+				console.log(this.selected,98767)
+				// if(this.form){
+				if (this.form.isVaccination !== null) {
+					if (this.form.isVaccination == '是') {
+						// 接种疫苗
+						(this.naneme = false), (this.shouwes = true);
+					} else {
+						(this.naneme = true), (this.shouwes = false);
+					}
+				} else {
+					this.naneme = false;
+					this.shouwes = false;
+				}
+
+				if (this.form.dictValue !== null && this.form.dictValue !== undefined) {
+					this.jicheru(this.form.dictValue);
+				}
+				if (this.form.villageTowns !== null) {
+					this.villageTownshy = this.form.villageTowns;
+					if (this.form.village !== null) {
+						this.villageTownshy = this.form.village;
+						if (this.form.villagerGroup !== null) {
+							this.villageTownshy = this.form.villagerGroup;
+						}
+					}
+				}else{
+					this.villageTownshy = '';
+				}
+        console.log(this.villageTownshy,3455)
+
+				// if (this.form.vaccineInfoUserList !== null) {
+				// 	if (this.form.vaccineInfoUserList.length == 0) {
+
+				// 	}else {
+				// 		this.form.isVaccination = '是'
+				// 		this.form.vaccineInfoUserList.filter(router =>{
+				// 			if(router.url == undefined){
+				// 				router.url = null
+				// 			}else if(router.url == []){
+				// 				router.url = null
+				// 			}
+				// 			router.disableg = true
+				// 		})
+				// 	}
+				// }
+				// villageTownshy
+				// }
+				// this.heuiq.push()
+				this.naiseurya = '';
+				this.hsuej = '';
+        console.log(this.form.czrkJzdzList,588)
+				this.jdourdjoaj = false;
+        this.senlsduea = true
+				this.title = '查看编辑人口信息';
+			});
+		},
+		chahe(data) {
+
+     let nhdye = []
+     nhdye = this.$refs['myCascader'].getCheckedNodes()[0].pathLabels
+     console.log(nhdye)
+      if(data.length == 1){
+        this.form.provinceId = data[ data.length - 1];
+        this.form.province = nhdye[ data.length - 1];
+        this.$set(this.form, 'city', null)
+        this.$set(this.form, 'cityId', null)
+        this.$set(this.form, 'region', null)
+        this.$set(this.form, 'regionId', null)
+        this.$set(this.form, 'villageTowns', null)
+        this.$set(this.form, 'villageTownsId', null)
+        this.$set(this.form, 'villageId', null)
+         this.$set(this.form, 'village', null)
+      }else if(data.length == 2){
+        this.form.cityId = data[ data.length - 1];
+        this.form.city = nhdye[ data.length - 1];
+        this.$set(this.form, 'region', null)
+        this.$set(this.form, 'regionId', null)
+        this.$set(this.form, 'villageTowns', null)
+        this.$set(this.form, 'villageTownsId', null)
+        this.$set(this.form, 'villageId', null)
+         this.$set(this.form, 'village', null)
+      }else if(data.length == 3){
+        this.form.regionId = data[ data.length - 1];
+        this.form.region = nhdye[ data.length - 1];
+        this.$set(this.form, 'villageTowns', null)
+        this.$set(this.form, 'villageTownsId', null)
+        this.$set(this.form, 'villageId', null)
+         this.$set(this.form, 'village', null)
+      }else if(data.length == 4){
+        this.form.villageTownsId = data[ data.length - 1];
+        this.form.villageTowns = nhdye[ data.length - 1];
+        this.$set(this.form, 'villageId', null)
+         this.$set(this.form, 'village', null)
+      }else if(data.length == 5){
+        this.form.villageId = data[ data.length - 1];
+        this.form.village = nhdye[ data.length - 1];
+      }else{
+        // this.nhdyesfgh = '点击选择户籍地址'
+      }
+      this.form.deptId = data[ data.length - 1];
+
+			// if (this.form.villageTowns !== undefined) {
+			// 	this.hsuej = this.form.villageTowns;
+			// 	if (this.form.village !== undefined) {
+			// 		this.hsuej = this.form.villageTowns + this.form.village;
+			// 		if (this.form.villagerGroup !== undefined) {
+			// 			this.hsuej = this.form.villageTowns + this.form.village + this.form.villagerGroup;
+			// 		}
+			// 	}
+			// }
+			this.form.domicile = '';
+      console.log(this.form)
+
+      // if(this.jdourdjoaj == true){
+      //   //新增
+      //   this.form.nowIn =  this.hsuej
+
+      // }else{
+      //    this.form.nowIn !=  this.hsuej
+      // }
+		},
+		chahetwo(data) {
+			console.log(data)
+      this.nnd = data
+      if(data.length == 1){
+        this.tj.code = data[ data.length - 1];
+      }else if(data.length == 2){
+        this.tj.code = data[ data.length - 1];
+      }else if(data.length == 3){
+        this.tj.code = data[ data.length - 1];
+      }else if(data.length == 4){
+        this.tj.code = data[ data.length - 1];
+      }else if(data.length == 5){
+        this.tj.code = data[ data.length - 1];
+      }
+		},
+    // 居住地址搜索条件
+    chahetwos(data) {
+    	console.log(data)
+      let nhdye = []
+      nhdye = this.$refs['cdd'].getCheckedNodes()[0].pathLabels
+      console.log(nhdye,36)
+      this.nnd = nhdye
+      if(data.length == 1){
+        this.queryParams.xzqh = nhdye[ nhdye.length - 1];
+      }else if(data.length == 2){
+        this.queryParams.xzqh = nhdye[0] + ',' + nhdye[ nhdye.length - 1];
+      }else if(data.length == 3){
+         this.queryParams.xzqh = nhdye[0] + ',' + nhdye[1] + ',' +nhdye[ nhdye.length - 1];
+      }else if(data.length == 4){
+
+        this.queryParams.xzqh = nhdye[0] + ',' + nhdye[1]  + ',' + nhdye[2]  + ',' +   nhdye[3]  + ',' +nhdye[ nhdye.length - 1];
+        this.user.dept.deptName = ''
+      }else if(data.length == 5){
+        this.queryParams.xzqh = nhdye[0] + ',' + nhdye[1]  + ',' + nhdye[2]  + ',' +   nhdye[3]  + ',' +nhdye[ nhdye.length - 1];
+        this.user.dept.deptName = ''
+      }
+    },
+    chahetwoswge(data){
+      console.log(data)
+      if(this.opens == false){
+        return  false
+      }
+      this.form.gridId = data[data.length - 1]
+      console.log(this.form.gridId)
+    },
+		/** 提交按钮 */
+		submitForm(data) {
+			this.$refs['form'].validate(valid => {
+				console.log(this.selected);
+				if (valid) {
+          let reg = /^([1-6][1-9]|50)\d{4}(18|19|20)\d{2}((0[1-9])|10|11|12)(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/;
+          let _IDre15 =  /^([1-6][1-9]|50)\d{4}\d{2}((0[1-9])|10|11|12)(([0-2][1-9])|10|20|30|31)\d{3}$/;
+          // 护照
+           // let ncjsle = /^1[45][0-9]{7}$|(^[P|p|S|s]\d{7}$)|(^[S|s|G|g|E|e]\d{8}$)|(^[Gg|Tt|Ss|Ll|Qq|Dd|Aa|Ff]\d{8}$)|(^[H|h|M|m]\d{8,10}$)/;
+           let ncjsle = /^[a-zA-Z0-9]{5,17}$/
+           let nhyeli = /^[a-zA-Z]{5,17}$/
+          // 港澳
+          let gnse = /^([A-Z]\d{6,10}(\(\w{1}\))?)$/;
+          // 台湾
+          // let tw = /^\d{8}|^[a-zA-Z0-9]{10}|^\d{18}$/
+          var tw =  /^[0-9]{8}$/;
+           var twe = /^[0-9]{10}$/;
+          // 校验身份证:
+          console.log(reg.test(this.form.idCard),23741)
+          if ( reg.test(this.form.idCard)|| _IDre15.test(this.form.idCard)) {
+          	// this.idea();
+          	// this.go(this.form.idCard.length);
+          	// callback()
+          } else {
+            if(ncjsle.test(this.form.idCard) || nhyeli.test(this.form.idCard)){
+               console.log(3)
+            }else{
+              if(gnse.test(this.form.idCard)  ){
+                  console.log(4)
+              }else{
+                if(tw.test(this.form.idCard) || twe.test(this.form.idCard)){
+                  console.log(5)
+                }else{
+                  this.msgInfo('证件格式不正确');
+                  return false
+                }
+
+                // return false
+              }
+
+            }
+          	// callback(new Error('身份证号码不正确'))
+          }
+          // let reg = /(^\d{15}$)|(^\d{18}$)|(^\d{17}(\d|X|x)$)/;
+          // if (reg.test(this.form.idCard)) {
+          // 	// this.idea();
+          // 	// this.go(this.form.idCard.length);
+          // 	// callback()
+          // } else {
+          // 	// callback(new Error('身份证号码不正确'))
+          // 	this.msgInfo('身份证号码不正确');
+          //   return false
+          // }
+          let redw = /^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$/;
+          console.log(this.form)
+          console.log(redw.test(this.form.phoneNum))
+          if (this.form.phoneNum == null) {
+          	// this.idea();
+          	// this.go(this.form.idCard.length);
+          	// callback()
+          } else{
+            if(this.form.phoneNum !== ''){
+              if(redw.test(this.form.phoneNum)){
+
+              }else{
+                this.msgInfo('手机号码不正确');
+                return false
+              }
+            }
+          	// callback(new Error('身份证号码不正确'))
+          }
+          this.form.isConfirm = 'N'
+					if (this.form.id != null) {
+						// this.form.nowIn = this.naiseurya + this.form.nowIn;
+						// this.form.domicile = this.hsuej + this.form.domicile;
+            console.log(this.ndheysfs)
+            // this.nhyesaw = data
+            console.log(this.nhyesaw)
+            console.log(this.form.czrkJzdzList)
+            if(this.nhyesaw == 1){
+              this.form.czrkJzdzList = this.form.czrkJzdzList.splice(1)
+            }else if(this.nhyesaw == 2){
+              console.log(this.form.czrkJzdzList[0])
+              // this.form.czrkJzdzList.unshift(this.form.czrkJzdzList[0])
+            }
+            console.log(this.form.czrkJzdzList)
+            data = data +1
+            this.nhyesaw = this.nhyesaw + 1
+            this.senlsduea = false
+            console.log(this.form.czrkJzdzList)
+						updateInfo(this.form).then(response => {
+              console.log(response)
+              if(response.code == 200){
+                 this.msgSuccess('修改成功');
+                 this.nhyesaw = 1
+                 this.opens = false;
+                 this.nhyesfx = false
+                 this.getList();
+                 this.getTreeselectjuetj()
+                 return false
+              }else{
+                // this.senlsduea = true
+                // this.form.czrkJzdzList.unshift(this.form.czrkJzdzList[0])
+                this.nhyesaw = 1
+                this.$message.error(response.msg + '请重新填写');
+                // this.mnyesfjerty(0)
+            //     if(this.nhyesaw == 1){
+            //     this.form.czrkJzdzList = this.form.czrkJzdzList.splice(1)
+            // }
+                this.opens = false
+              }
+
+              // if(response.data.code == 200){
+              //   this.msgSuccess('修改成功');
+              //   this.ndheysfs = false
+              // }else{
+              //   this.ndheysfs = true
+              // }
+
+              // if(this.nhyesoder == 3){
+              //   this.jiezhong = true
+              //   this.handleDeletefamide(this.bhdes)
+              // }
+              // this.nhyesoder = 4
+						});
+					} else {
+						// this.form.nowIn = this.naiseurya + this.form.nowIn;
+						// this.form.domicile = this.hsuej + this.form.domicile;
+						// if (this.form.nowIn == 'undefined') {
+						// 	this.form.nowIn = null;
+						// }
+
+            if(this.form.province == null){
+              this.msgInfo('请填写户籍地址');
+              return false
+            }
+
+            if(this.form.province == ''){
+              this.msgInfo('请填写户籍地址');
+              return false
+            }
+
+
+            if(this.form.czrkJzdzList[0].province == ''){
+              this.msgInfo('请填写居住地址');
+              return false
+            }
+            if(this.form.czrkJzdzList[0].province == null){
+              this.msgInfo('请填写居住地址');
+              return false
+            }
+						console.log(this.form)
+            this.form.czrkJzdzList.filter(route =>{
+              route.seleted = []
+              route.optiodne = []
+            })
+						// return
+						addInfo(this.form).then(response => {
+              if(response.code == 200){
+                this.msgSuccess('新增成功');
+                this.opens = false;
+                this.nhyesfx = false
+                this.getList();
+                this.getTreeselectjuetj()
+                if(this.nhyesoder == 3){
+                  this.jiezhong = true
+                  // this.handleDeletefamide(this.bhdes)
+                }
+                this.nhyesoder = 4
+              }else{
+                this.$message.error(response.msg + '请重新填写');
+                if(this.nhyesoder == 3){
+                  this.jiezhong = true
+                  // this.handleDeletefamide(this.bhdes)
+                }
+                this.nhyesoder = 4
+                this.opens = false
+              }
+						});
+					}
+				}
+			});
+		},
+		/** 删除按钮操作 */
+		handleDelete(row) {
+			const ids = row.id || this.ids[0];
+      this.idfer = ids
+      this.imashow = true;
+      this.formgt = {}
+			// this.$confirm('是否确认删除疫苗信息编号为"' + ids + '"的数据项?', '警告', {
+			// 	confirmButtonText: '确定',
+			// 	cancelButtonText: '取消',
+			// 	type: 'warning'
+			// })
+			// 	.then(function() {
+			// 		return delInfo(ids);
+			// 	})
+			// 	.then(() => {
+			// 		this.getList();
+			// 		this.msgSuccess('删除成功');
+			// 	});
+		},
+    submitFormfr(){
+      // formgt
+      if(this.formgt.houseType == null || this.formgt.houseType == undefined){
+        this.$message.error('请选择变更原因');
+        return  false
+      }
+      let nhue = {}
+      nhue.status = this.formgt.houseType
+      nhue.id = this.idfer
+      delInfo(nhue).then(response => {
+      	this.msgSuccess('变更成功');
+      	this.imashow = false;
+      	this.getList();
+        this.getTreeselectjuetj()
+      });
+    },
+    // 点击新增
+    tijea(index) {
+    	console.log(index+ 1)
+    	this.nameutaiL = index+ 1
+       this.cascaderKey = index + 1
+    	this.form.czrkJzdzList.push({
+    		provinceId: '',
+    		province: '',
+    		deptId: '',
+    		cityId: '',
+    		city: '',
+    		regionId:'',
+    		region: '',
+    		townId: '',
+    		town: '',
+    		villageId: '',
+    		village: '',
+    		nowIn:'',
+    		disableg:false,
+        seleted:[],
+        optiodne:[],
+        plaed:'请选择居住地址',
+    	});
+      this.nhyeojd = true
+      this.mnyesfjer(0)
+      // this.form.czrkJzdzList[this.nameutaiL].optiodne
+      // console.log(this.cascaderKey,123465)
+      // // console.log()
+      // console.log( this.$refs.myCascaderf[this.$refs.myCascaderf.length - 1] ,258)
+      // // console.log(this.$refs['myCascaderf'][0].$refs.panel.clearCheckedNodes(),258)
+      // this.$refs['myCascaderf'][this.$refs.myCascaderf.length - 1].$refs.panel.clearCheckedNodes()
+      // console.log(this.$refs['myCascaderf'][0].$refs.panel.checkedValue,34567)
+      // this.mnyesfjer(0)
+    },
+    // 点击删除
+    naeyrfakjf(index, item) {
+      console.log(this.form.czrkJzdzList.length,347)
+      // if(this.form.czrkJzdzList.length == 2){
+      //   this.$message.error('居住地为必填不可全删除');
+      //   return  false
+      // }
+      // this.$message.error(response.msg + '请重新填写');
+    	var that = this
+    	this.$confirm('是否确认删除信息?', '警告', {
+    		confirmButtonText: '确定',
+    		cancelButtonText: '取消',
+    		type: 'warning'
+    	})
+    		.then(function() {
+    			return that.delseeug(index,item)
+    		})
+    		.then(() => {
+    			// this.getList();
+    			// this.msgSuccess('删除成功');
+    		});
+
+    },
+    delseeug(index,item){
+    	console.log(234)
+    	if (this.form.czrkJzdzList.length == 1) {
+    		// if (this.jdourdjoaj == true) {
+    		// 	// 新增
+    		// 	this.form.vaccineInfoUserList = [{
+    		// 		vaccineName: '',
+    		// 		vaccinationTime: '',
+    		// 		vaccinationPlace: '',
+    		// 		jici: '',
+    		// 		progress: '',
+    		// 		url:null,
+    		// 		disableg:false
+    		// 	}]
+    		// } else {
+    		// 	// 修改
+    		// 	let ide = this.form.vaccineInfoUserList[index].id;
+    		// 	console.log(this.form.vaccineInfoUserList[index]);
+    		// 	// ()
+    		// 	console.log(ide);
+    		// 	if (ide !== undefined) {
+    		// 		console.log(234);
+    		// 		delInfort(ide).then(response => {
+    		// 			this.msgSuccess('操作成功');
+    		// 		});
+    		// 	}
+    		// 	this.form.vaccineInfoUserList = [{
+    		// 		vaccineName: '',
+    		// 		vaccinationTime: '',
+    		// 		vaccinationPlace: '',
+    		// 		jici: '',
+    		// 		progress: '',
+    		// 		url:null,
+    		// 		disableg:false
+    		// 	}]
+    		// }
+
+        this.msgSuccess('只剩一条数据,无法删除');
+    		return false;
+    	}
+    	if (this.jdourdjoaj == true) {
+    		// 新增
+    		this.form.czrkJzdzList.splice(index, 1);
+    	} else {
+    		// 修改
+    		// ()
+    		this.form.czrkJzdzList.splice(index, 1);
+    	}
+      this.msgSuccess('删除成功');
+    },
+    // 统计功能tjgtjg
+    tjg(){
+
+    },
+		/** 导出按钮操作 */
+		handleExport() {
+			var heuia = {
+			                tableName: "vaccine_info",
+			                empty: false,
+			                condition: {}
+			            }
+			            var that=this;
+			            heuia.condition = this.queryParams
+						const queryParams = this.queryParams
+			      queryParams.pageNum = undefined
+			      queryParams.pageSize= undefined
+			      this.download('boman-web-core/core/account/export', {
+			        ...queryParams
+			      }, `核酸检测数据表格.xlsx`)
+		},
+    // 文件上传中处理
+    handleFileUploadProgress(event, file, fileList) {
+      this.upload.isUploading = true;
+    },
+    // 文件上传成功处理
+    handleFileSuccess(response, file, fileList) {
+      this.upload.open = false;
+      this.upload.isUploading = false;
+      this.$refs.upload.clearFiles();
+      this.$alert(response.msg, "导入结果", { dangerouslyUseHTMLString: true });
+      this.getList();
+    },
+   // 提交上传文件
+   submitFileForm() {
+     console.log(this.upload.source)
+     if(this.upload.source == null){
+       this.msgInfo('请选择数据来源');
+       return  false
+     }
+     this.$refs.upload.submit();
+   },
+   nske(){
+     console.log(345)
+           this.upload.open = false;
+   },
+   /** 下载模板操作 */
+   importTemplate() {
+
+   },
+   // 下载模板
+   handleDeleteda(){
+     window.open("https://qsfy.qs163.cn/statics/template/死亡人员导入模板.xlsx")
+   },
+		// 点击查看
+		chakei(row) {
+			console.log(row);
+      let nhyes= {pageNum: 1,
+      pageSize: 10,}
+      this.nhyesoder = row
+      if(row == 0){
+        // 新增
+       listInfotjxz(this.ndhuwosdjh).then(response => {
+				// this.msgSuccess('操作成功');
+					this.jiezheList = response.rows
+          this.totalfr = response.total
+				})
+      } else if(row == 1){
+        // 减少
+        listInfotjjs(this.ndhuwosdjh).then(response => {
+        				// this.msgSuccess('操作成功');
+        					this.jiezheList = response.rows
+                  this.totalfr = response.total
+
+      }	)
+          }// yiaoe({idCard:row.idCard}).then(response => {
+			// 	// this.msgSuccess('操作成功');
+			// 	if(response.code == 200){
+			// 		this.jiezheList = response.data
+			// 	}
+			// });
+
+			this.jiezhong = true;
+		},
+    // 查看家庭成员信息
+    handleDeletefamide(row){
+      this.nhyesoder = 3
+      this.bgtes= []
+	    this.jiezhong = true;
+      this.lser = []
+      this.nhye = false
+        getUserProfile().then(response => {
+          this.user = response.data;
+        });
+        listInfotj().then(response => {
+          this.nhye = true
+          this.jiezheList = response.data.townDatas
+
+          this.loading = false;
+        });
+    // listInfotjjsfaml(row.code).then(response => {
+    //     				// this.msgSuccess('操作成功');
+    //     					this.jiezheList = response.data
+    //               this.jiezheList.filter(rout =>{
+    //                 this.bgtes.push(rout.id)
+    //               })
+    //        console.log(this.bgtes,456)
+    //               this.totalfr = 0
+
+    //   }	)
+    },
+    /** 导入按钮操作 */
+    handleImport() {
+      this.getDicts('data_sources').then(response => {
+      	this.typeOptionstimesgt = response.data;
+        this.upload.title = "数据导入";
+        this.upload.open = true;
+      });
+
+    },
+    // 获取屏幕高度
+              showFilterForm () {
+                    this.filterActive = !this.filterActive
+                    this.changeTableMaxHeight()
+                  },
+
+                  changeTableMaxHeight () {
+                    let height = document.body.offsetHeight // 网页可视区域高度
+                    // if (this.filterActive) {
+                    //   this.tableMaxHeight = height - 320
+                    // } else {
+                      this.tableMaxHeight = height - 250
+                    // }
+                    console.log(height)
+                  },
+
+  // 判断是否选择户主
+  changese(){
+    console.log(this.form.houseType)
+    if(this.form.houseType == '是'){
+      this.form.code = this.form.idCard
+      this.nhe = false
+    }else{
+      this.form.code != this.form.idCard
+      this.nhe = true
+    }
+  },
+  // 常住人口
+  chajnd(data){
+   this.queryParams.queryType = 'cz'
+   this.queryParams.pageNum = 1
+   this.queryParams.status = data
+   this.nhykis = false
+   this.nhyki = true
+   this.nhslke = data
+    this.getListjuzhu();
+  },
+  // 户籍人口
+  chajnds(){
+    this.nhykis = true
+    this.nhyki = false
+    this.queryParams.pageNum = 1
+   this.queryParams.queryType = 'hj'
+   this.getList();
+  },
+  // 变更历史
+  chajndsls(row){
+   let nhduw = {}
+   nhduw.id = row.id
+   // biangneg
+   this.getListls(nhduw);
+  },
+  // 确认死亡
+  siw(row){
+   this.$confirm('此操作将永久删除该文件, 是否继续?', '提示', {
+             confirmButtonText: '确定',
+             cancelButtonText: '取消',
+             type: 'warning'
+           }).then(() => {
+             this.$message({
+               type: 'success',
+               message: '删除成功!'
+             });
+           }).catch(() => {
+             this.$message({
+               type: 'info',
+               message: '已取消删除'
+             });
+           });
+  },
+
+  // 一键确认
+  xinxiheu(){
+    let nchesr = []
+    nchesr = this.bgtes
+    console.log(nchesr)
+    listInfotjjssbule(nchesr).then(response => {
+      if(response.code == 200){
+        this.msgSuccess('操作成功')
+        this.jiezhong = false
+          this.getList();
+        this.getTreeselectjuetj()
+      }
+      				// this.msgSuccess('操作成功');
+    })
+  },
+  xinxihe(){
+   this.$refs['form'].validate(valid => {
+   	console.log(this.selected);
+   	if (valid) {
+let reg = /^([1-6][1-9]|50)\d{4}(18|19|20)\d{2}((0[1-9])|10|11|12)(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/;
+      let _IDre15 =  /^([1-6][1-9]|50)\d{4}\d{2}((0[1-9])|10|11|12)(([0-2][1-9])|10|20|30|31)\d{3}$/;
+      // 护照
+       // let ncjsle = /^1[45][0-9]{7}$|(^[P|p|S|s]\d{7}$)|(^[S|s|G|g|E|e]\d{8}$)|(^[Gg|Tt|Ss|Ll|Qq|Dd|Aa|Ff]\d{8}$)|(^[H|h|M|m]\d{8,10}$)/;
+       let ncjsle = /^[a-zA-Z0-9]{5,17}$/
+       let nhyeli = /^[a-zA-Z]{5,17}$/
+      // 港澳
+      let gnse = /^([A-Z]\d{6,10}(\(\w{1}\))?)$/;
+      // 台湾
+      // let tw = /^\d{8}|^[a-zA-Z0-9]{10}|^\d{18}$/
+      var tw =  /^[0-9]{8}$/;
+       var twe = /^[0-9]{10}$/;
+      // 校验身份证:
+      console.log(reg.test(this.form.idCard),23741)
+			if ( reg.test(this.form.idCard)|| _IDre15.test(this.form.idCard)) {
+				// this.idea();
+				// this.go(this.form.idCard.length);
+				// callback()
+			} else {
+        if(ncjsle.test(this.form.idCard) || nhyeli.test(this.form.idCard)){
+           console.log(3)
+        }else{
+          if(gnse.test(this.form.idCard)  ){
+              console.log(4)
+          }else{
+            if(tw.test(this.form.idCard) || twe.test(this.form.idCard)){
+              console.log(5)
+            }else{
+              this.msgInfo('证件格式不正确');
+              return false
+            }
+
+            // return false
+          }
+
+        }
+				// callback(new Error('身份证号码不正确'))
+			}
+       let redw = /^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$/;
+       console.log(this.form)
+       console.log(redw.test(this.form.phoneNum))
+       if (this.form.phoneNum == null) {
+       	// this.idea();
+       	// this.go(this.form.idCard.length);
+       	// callback()
+       } else{
+         if(this.form.phoneNum !== ''){
+           if(redw.test(this.form.phoneNum)){
+
+           }else{
+             this.msgInfo('手机号码不正确');
+             return false
+           }
+         }
+        }
+   		if (this.form.id != null) {
+   			// this.form.nowIn = this.naiseurya + this.form.nowIn;
+   			// this.form.domicile = this.hsuej + this.form.domicile;
+          console.log(this.form.czrkJzdzList)
+          if(this.nhyesaw == 1){
+            this.form.czrkJzdzList = this.form.czrkJzdzList.splice(1)
+          }else if(this.nhyesaw == 2){
+            console.log(this.form.czrkJzdzList[0])
+            // this.form.czrkJzdzList.unshift(this.form.czrkJzdzList[0])
+          }
+          console.log(this.form.czrkJzdzList)
+          // data = data +1
+          this.nhyesaw = this.nhyesaw + 1
+          this.senlsduea = false
+          this.form.isConfirm = 'Y'
+          console.log(this.form.czrkJzdzList)
+          updateInfo(this.form).then(response => {
+            console.log(response)
+            if(response.code == 200){
+               this.msgSuccess('操作成功');
+               this.nhyesaw = 1
+               this.opens = false;
+               this.nhyesfx = false
+               this.getList();
+               this.getTreeselectjuetj()
+               return false
+            }else{
+              // this.senlsduea = true
+              // this.form.czrkJzdzList.unshift(this.form.czrkJzdzList[0])
+              this.nhyesaw = 1
+              this.$message.error(response.msg + '请重新填写');
+              // this.mnyesfjerty(0)
+          //     if(this.nhyesaw == 1){
+          //     this.form.czrkJzdzList = this.form.czrkJzdzList.splice(1)
+          // }
+              this.opens = false
+            }
+
+            // if(response.data.code == 200){
+            //   this.msgSuccess('修改成功');
+            //   this.ndheysfs = false
+            // }else{
+            //   this.ndheysfs = true
+            // }
+
+            // if(this.nhyesoder == 3){
+            //   this.jiezhong = true
+            //   this.handleDeletefamide(this.bhdes)
+            // }
+            // this.nhyesoder = 4
+          });
+   		} else {
+   			// this.form.nowIn = this.naiseurya + this.form.nowIn;
+   			// this.form.domicile = this.hsuej + this.form.domicile;
+   			// if (this.form.nowIn == 'undefined') {
+   			// 	this.form.nowIn = null;
+   			// }
+
+      //    if(this.nhyeswdga.length == 0){
+      //      this.msgInfo('请填写户籍地址');
+      //      return false
+      //    }
+
+      //    if(this.form.czrkJzdzList[0].province == ''){
+      //      this.msgInfo('请填写居住地址');
+      //      return false
+      //    }
+      //    if(this.form.czrkJzdzList[0].province == null){
+      //      this.msgInfo('请填写居住地址');
+      //      return false
+      //    }
+
+   			// console.log(this.form)
+      //    this.form.czrkJzdzList.filter(route =>{
+      //      route.seleted = []
+      //      route.optiodne = []
+      //    })
+   			// return
+   			// addInfo(this.form).then(response => {
+   			// 	this.msgSuccess('新增成功');
+   			// 	this.opens = false;
+   			// 	this.getList();
+      //      if(this.nhyesoder == 3){
+      //        this.jiezhong = true
+      //        this.handleDeletefamide(this.bhdes)
+      //      }
+      //      this.nhyesoder = 4
+   			// });
+   		}
+   	}
+   });
+  },
+  // 信息同步
+  xinxtb(){
+   listInfotjjssquer(this.bhdes.code).then(response => {
+     if(response.code == 200){
+       this.msgSuccess(response.msg)
+       // this.jiezhong = false
+       listInfotjjsfaml(this.bhdes.code).then(response => {
+           				// this.msgSuccess('操作成功');
+                  this.bgtes = []
+           				this.jiezheList = response.data
+                  this.jiezheList.filter(rout =>{
+                       this.bgtes.push(rout.id)
+                     })
+              console.log(this.bgtes,456)
+                     this.totalfr = 0
+
+         })
+       // this.getTreeselectjuetj()
+     }
+     				// this.msgSuccess('操作成功');
+   })
+  },
+  // click(){
+    click(event) {
+      console.log(event)
+          this.$nextTick(() => {
+            let d = document.getElementsByClassName("cascader"+ this.ids)
+            this.nameutaiL +'s'
+            // console.log("cascader"+ '' +this.nameutaiL);
+            // console.log(48);
+            // console.log(d);
+            // console.log(d[0]);
+            // console.log( !d[0].onclick);
+            if( d[event] && !d[event].onclick ){
+              d[event].onclick = function(e) {
+                console.log(e);
+                if( e.target.className == "el-cascader-node__label" ){
+                  e.target.previousElementSibling.click();
+                }
+              }
+            }
+          });
+        },
+        clicks(event) {
+              this.$nextTick(() => {
+                let d = document.getElementsByClassName("cascader"+'' +this.id);
+                // console.log("cascader"+ '' +this.nameutaiL);
+                // console.log(48);
+                // console.log(d);
+                // console.log(d[0]);
+                // console.log( !d[0].onclick);
+                if( d[0] && !d[0].onclick ){
+                  d[0].onclick = function(e) {
+                    console.log(e);
+                    if( e.target.className == "el-cascader-node__label" ){
+                      e.target.previousElementSibling.click();
+                    }
+                  }
+                }
+              });
+            },
+            // 当前时间的前一周
+            ShowDate(date){
+                        var num = date
+                        let n = num;
+                        let d = new Date();
+                        let year = d.getFullYear();
+                        let mon = d.getMonth() + 1;
+                        let day = d.getDate();
+                        if(day <= n) {
+                            if(mon > 1) {
+                                mon = mon - 1;
+                            } else {
+                                year = year - 1;
+                                mon = 12;
+                            }
+                        }
+                        d.setDate(d.getDate() - n);
+                        year = d.getFullYear();
+                        mon = d.getMonth() + 1;
+                        day = d.getDate();
+                         let h = d.getHours();
+                         h = h < 10 ? ('0' + h) : h;
+                         let m = d.getMinutes();
+                         m = m < 10 ? ('0' + m) : m;
+                         let s = d.getSeconds();
+                          s = s < 10 ? ('0' + s) : s;
+
+                        let ss = year + "-" + (mon < 10 ? ('0' + mon) : mon) + "-" + (day < 10 ? ('0' + day) : day) +' '    + h +':' + m + ':' + s;
+                        return ss;
+                    }
+
+  // }
+	}
+};
+</script>
+<style lang="scss">
+  .tabsty {
+    .el-table .el-table__header-wrapper th {
+      background-color: #7bcbff;
+      color: #fff;
+      border:0 !important;
+    }
+    .el-table--striped .el-table__body tr.el-table__row--striped td {
+      background-color: #e9f1f7;
+    }
+    .el-table--group,
+    .el-table--border {
+      // border-color: #0CA0FF;
+      border: 1px solid #0CA0FF;
+    }
+  }
+  .nhkhv{
+    display: flex;
+    align-items: center;
+    span{
+      width: 30%;
+      font-size: 14px;
+      i{
+        color: red;
+        font-size: 14px;
+        margin-right: 5px;
+      }
+    }
+  }
+  .placf {
+    .el-input {
+      .el-input__inner::placeholder{
+        color: #333;
+      }
+      /* 谷歌 */
+          .el-input__inner::-webkit-input-placeholder {
+             color: #333;
+          }
+           /* 火狐 */
+         .el-input__inner:-moz-placeholder {
+              color: #333;
+          }
+           /*ie*/
+         .el-input__inner:-ms-input-placeholder {
+              color: #333;
+          }
+    }
+
+  }
+	.jdueuh{
+		.el-form-item__label {
+			width: 0px !important;
+		}
+		.el-form-item__content {
+			margin-left: 10px !important;
+			// width: 70%;
+		}
+	}
+	.ijeuhdy{
+		.el-form-item__label {
+			width: 80px !important;
+		}
+		.el-form-item__content {
+			margin-left: 80px !important;
+			// width: 70%;
+		}
+	}
+	.znshu{
+		.el-form-item__label {
+			width: 80px !important;
+			// padding-left: 30px;
+		}
+		.el-form-item__content {
+			margin-left: 80px !important;
+
+			// width: 70%;
+		}
+		.el-input__inner{
+			padding-left: 0 !important;
+		}
+	}
+	.heioangd{
+		.el-form-item__label {
+			width: 70px !important;
+		}
+		.el-form-item__content {
+			margin-left: 70px !important;
+			// width: 70%;
+		}
+	}
+.hues {
+	.area-select {
+		margin-left: 0 !important;
+		margin-right: 10px;
+	}
+}
+.jehak {
+	.el-form-item {
+		width: 100%;
+	}
+	.el-form-item__content {
+		width: 60%;
+	}
+}
+.oiuyty {
+	.el-form-item__label {
+		width: 80px !important;
+	}
+	.el-form-item__content {
+		margin-left: 80px !important;
+		// width: 70%;
+	}
+	input {
+		padding-right: 0 !important;
+	}
+}
+.el-dialog__body {
+	padding-top: 0;
+	padding-bottom: 0;
+}
+.jhy {
+	// width: 100%;
+	// .el-form-item__content {
+	// 	width: 100%;
+	// 	margin-left: 0 !important;
+	// }
+	.el-form-item__content {
+		margin-left: 55px !important;
+		// width: 70%;
+	}
+	.el-form-item__label {
+		width: 55px !important;
+	}
+}
+.ehiqya {
+	.el-form-item__content {
+		display: flex;
+		.jdidur {
+			flex: 1;
+			margin-left: 10px;
+			// text-align: left;
+			display: flex;
+		}
+	}
+	.upload-demo {
+		display: flex;
+	}
+}
+.jdoier{
+	display: flex;
+	align-items: center;
+	.upload-demo {
+		display: flex;
+	}
+}
+.hueyde {
+	width: 18px;
+	height: 18px;
+	margin: 0 5px;
+	margin-right: 10px;
+}
+.hueydele {
+	width: 15px;
+	height: 18px;
+}
+.hyeoa {
+	height: 100%;
+	display: flex;
+	align-items: center;
+}
+.hjdoecdre {
+	// margin-top: 50%;
+	transform: translateY(50%);
+}
+.ojhgy {
+	.el-dialog {
+		padding-bottom: 40px;
+		padding-top: 10px;
+	}
+	.el-dialog__header {
+		padding-bottom: 20px;
+	}
+	.el-table .cell {
+		line-height: 50px;
+	}
+}
+.hueya{
+	margin-left: 0 !important;
+}
+.iejghiadh{
+	.el-input__inner{
+		padding-right: 0 !important;
+		padding-left: 5px !important;
+	}
+}
+.nhoesf{
+  span:hover{
+    cursor:pointer
+  }
+}
+</style>

Some files were not shown because too many files changed in this diff