Browse Source

居民信息调整

feature
dai 3 years ago
parent
commit
951dba0d07
  1. 45
      src/views/modules/shequ/cpts/people-more.vue
  2. 44
      src/views/modules/visual/basicinfo/cpts/people-more.vue

45
src/views/modules/shequ/cpts/people-more.vue

@ -296,7 +296,7 @@
<div class="list" v-else> <div class="list" v-else>
<div <div
class="item" class="item"
:class="{'z-long': group.itemList.length==1}" :class="{ 'z-long': group.itemList.length == 1 }"
:key="field.itemId" :key="field.itemId"
v-for="field in group.itemList" v-for="field in group.itemList"
> >
@ -376,6 +376,10 @@ export default {
}, },
computed: { computed: {
isShundeju() {
return this.$store.state.user.customerId == "1550309684576591874";
},
xiaoquName() { xiaoquName() {
const { const {
xiaoquList, xiaoquList,
@ -600,7 +604,7 @@ export default {
} }
}); });
}); });
const arr = [ let arr = [
{ {
groupId: "hs123", groupId: "hs123",
itemList: [], itemList: [],
@ -609,23 +613,28 @@ export default {
supportAdd: false, supportAdd: false,
tableName: "ic_hs", tableName: "ic_hs",
}, },
{
groupId: "hs124",
itemList: [],
label: "行程信息",
sort: 999,
supportAdd: false,
tableName: "ic_xc",
},
{
groupId: "hs125",
itemList: [],
label: "疫苗信息",
sort: 999,
supportAdd: false,
tableName: "ic_ym",
},
]; ];
if (!this.isShundeju) {
arr = [
...arr,
{
groupId: "hs124",
itemList: [],
label: "行程信息",
sort: 999,
supportAdd: false,
tableName: "ic_xc",
},
{
groupId: "hs125",
itemList: [],
label: "疫苗信息",
sort: 999,
supportAdd: false,
tableName: "ic_ym",
},
];
}
this.groupList = [...this.groupList, ...arr]; this.groupList = [...this.groupList, ...arr];
} else { } else {
this.$message.error(msg); this.$message.error(msg);

44
src/views/modules/visual/basicinfo/cpts/people-more.vue

@ -349,6 +349,10 @@ export default {
}, },
computed: { computed: {
isShundeju() {
return this.$store.state.user.customerId == "1550309684576591874";
},
xiaoquName() { xiaoquName() {
const { const {
xiaoquList, xiaoquList,
@ -565,7 +569,8 @@ export default {
} }
}); });
}); });
const arr = [
let arr = [
{ {
groupId: "hs123", groupId: "hs123",
itemList: [], itemList: [],
@ -574,23 +579,28 @@ export default {
supportAdd: false, supportAdd: false,
tableName: "ic_hs", tableName: "ic_hs",
}, },
{
groupId: "hs124",
itemList: [],
label: "行程信息",
sort: 999,
supportAdd: false,
tableName: "ic_xc",
},
{
groupId: "hs125",
itemList: [],
label: "疫苗信息",
sort: 999,
supportAdd: false,
tableName: "ic_ym",
},
]; ];
if (!this.isShundeju) {
arr = [
...arr,
{
groupId: "hs124",
itemList: [],
label: "行程信息",
sort: 999,
supportAdd: false,
tableName: "ic_xc",
},
{
groupId: "hs125",
itemList: [],
label: "疫苗信息",
sort: 999,
supportAdd: false,
tableName: "ic_ym",
},
];
}
this.groupList = [...this.groupList, ...arr]; this.groupList = [...this.groupList, ...arr];
} else { } else {
this.$message.error(msg); this.$message.error(msg);

Loading…
Cancel
Save