Browse Source

业务记录入参为空问题

dlt_manageScope_0428
mk 2 years ago
parent
commit
4e787964a1
  1. 25
      src/views/modules/portrayal/jumin/cpts/businessRecord.vue

25
src/views/modules/portrayal/jumin/cpts/businessRecord.vue

@ -72,16 +72,8 @@ export default {
},
//
created() {
this.resiId = [this.userInfo.resiId];
},
async mounted() {
await this.getComplainList();
await this.getShengList();
await this.getShequList();
await this.getshijianList();
await this.getxuqiuList();
await this.getfuwuList();
},
mounted() {},
props: {
userInfo: {
type: Object,
@ -243,6 +235,7 @@ export default {
});
},
getfuwuList() {
console.log(this.resiId);
if (this.resiId.length == 0) {
this.fuwuList = [];
this.fuwuLabel = `社区服务(0)`;
@ -271,7 +264,19 @@ export default {
//
computed: {},
//
watch: {},
watch: {
'userInfo': {
handler(newVal, oldVal) {
this.resiId = [this.userInfo.baseInfoDto.resiId];
this.getComplainList();
this.getShengList();
this.getfuwuList();
this.getshijianList();
this.getxuqiuList();
},
deep: true
}
},
};
</script>

Loading…
Cancel
Save