Browse Source

居民信息调整

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

13
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,6 +613,10 @@ export default {
supportAdd: false, supportAdd: false,
tableName: "ic_hs", tableName: "ic_hs",
}, },
];
if (!this.isShundeju) {
arr = [
...arr,
{ {
groupId: "hs124", groupId: "hs124",
itemList: [], itemList: [],
@ -626,6 +634,7 @@ export default {
tableName: "ic_ym", tableName: "ic_ym",
}, },
]; ];
}
this.groupList = [...this.groupList, ...arr]; this.groupList = [...this.groupList, ...arr];
} else { } else {
this.$message.error(msg); this.$message.error(msg);

12
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,6 +579,10 @@ export default {
supportAdd: false, supportAdd: false,
tableName: "ic_hs", tableName: "ic_hs",
}, },
];
if (!this.isShundeju) {
arr = [
...arr,
{ {
groupId: "hs124", groupId: "hs124",
itemList: [], itemList: [],
@ -591,6 +600,7 @@ export default {
tableName: "ic_ym", 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