Browse Source

编辑居民复选框多选问题

feature
mk 2 years ago
parent
commit
42357705be
  1. 6
      src/views/components/resiForm.vue
  2. 2
      src/views/modules/base/resi.vue

6
src/views/components/resiForm.vue

@ -1714,7 +1714,6 @@ export default {
}
},
getValiheList () {
const { user } = this.$store.state
this.$http.post('/actual/base/communityQuarters/listQuartersOptions', { gridId: this.form.gridId, agencyId: user.agencyId }).then(({ data: res }) => {
@ -2446,9 +2445,10 @@ export default {
if (res.code !== 0) {
return this.$message.error(res.msg);
} else {
if (res.data && res.data.chronicDiseaseCode) {
res.data.chronicDiseaseCode = res.data.chronicDiseaseCode.split(',')
}else{
res.data.chronicDiseaseCode = []
}
this.form.healthDto = res.data ? res.data : { //
@ -2478,7 +2478,7 @@ export default {
},
//
residentWorkInfo (id) {
if (this.newForm.healthDto) return
if (this.newForm.workInfoDto) return
this.$http.get(`/actual/base/residentWorkInfo/detail/${id}`).then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg);

2
src/views/modules/base/resi.vue

@ -388,7 +388,7 @@ export default {
window.SITE_CONFIG["apiURL"] +
"/epmetuser/icresiuser/importExcel",
currentPage: 1,
pageSize:window.localStorage.getItem('pageSize') || 20,
pageSize: 20,
total: null,
conditions: [],
activeName: "",

Loading…
Cancel
Save