Browse Source

居民信息列表报错,虚拟网格新增跳转新页面

V4.4.4
mk 2 years ago
parent
commit
cb0d589e66
  1. 2
      src/views/components/resiSearch.vue
  2. 10
      src/views/modules/base/resi.vue
  3. 9
      src/views/modules/base/virtualResi.vue

2
src/views/components/resiSearch.vue

@ -601,7 +601,7 @@ export default {
form: {
name: '',
mobile: '',
updateCategory:'',
updateCategory:null,
satisfactionNum:null,
idNum: '',
birthdayStart: '',

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

@ -447,10 +447,8 @@ export default {
categoryKey: "resi_info",
},
});
// this.handleSearchFrom();
},
activated() {
// this.handleSearchFrom();
},
methods: {
mouseOverNode(event) {
@ -1229,14 +1227,16 @@ export default {
handler: function (newVal, oldVal) {
if((newVal.name == "base-resi" || oldVal.name === 'home') && newVal.query.type){
this.$nextTick(()=>{
this.$refs.myResiSearch.form.updateCategory = newVal.query.category;
this.$refs.myResiSearch.form.updateCategor = newVal.query.category;
this.handleSearchFrom();
})
return
}else{
this.$refs.myResiSearch.form.updateCategory ='';
this.$nextTick(()=>{
this.$refs.myResiSearch.form.updateCategory ='';
})
}
if (newVal.name == "base-resi" && (oldVal.name === 'home'||oldVal.name === 'base-classification'||oldVal.name === 'home-notice')) {
if (newVal.name == "base-resi" && (!oldVal ||oldVal.name === 'home'||oldVal.name === 'base-classification'||oldVal.name === 'home-notice')) {
this.$nextTick(() => {
this.$refs.myResiSearch.form.attentionCrowds = [];
this.$refs.myResiSearch.form.healthStatus = [];

9
src/views/modules/base/virtualResi.vue

@ -898,10 +898,11 @@ export default {
},
async handleAdd() {
this.formType = 'add'
this.formName = "新增居民";
this.editUserId = "";
this.dialogVisible = true;
// this.formType = 'add'
// this.formName = "";
// this.editUserId = "";
// this.dialogVisible = true;
this.$router.push({ name: "add-resi" });
},
async handleChangeGroup(val) {

Loading…
Cancel
Save