| | |
| | | createTime:undefined, |
| | | by5:undefined, |
| | | remark:undefined, |
| | | |
| | | location:undefined, |
| | | ctId:undefined |
| | | }, |
| | | // 查询参数 |
| | | queryParams: { |
| | |
| | | } |
| | | ); |
| | | }, |
| | | |
| | | // 取消按钮 |
| | | cancel() { |
| | | this.open = false; |
| | |
| | | this.single = selection.length!=1 |
| | | this.multiple = !selection.length |
| | | }, |
| | | // //每次改变input框值时就改变this.myTableData的值 |
| | | // inputChange() { //循环每一项 只要content的值含有输入的searchVal值,就加进newList;反之,就无东西加进newList |
| | | // let newlist = this.formDat.filter( |
| | | // (item) => item.content.indexOf(this.searchVal) > -1 |
| | | // ); |
| | | // this.contactList = newlist; |
| | | // }, |
| | | |
| | | |
| | | /** 查看详细信息 */ |
| | | handleCheck(row){ |
| | | const id = row.id; |
| | | this.$router.push("/self/Honor/honorInfo/" + id); |
| | | }, |
| | | /** 修改按钮操作 */ |
| | | handleUpdate(row) { |
| | | const id = row.id; |
| | | let jd = true |
| | | // const id = row.id; |
| | | console.log(row.by5 +'/' + row.ctId); |
| | | var path = row.by5 |
| | | if (row.by5=="/family/zfEvent" ){ //家大事记 |
| | | path = "/familymodel/bignote/familyeventInfo/" |
| | | |
| | | this.$router.push({ |
| | | path:"/self/Honor/honorInfo/" + id, |
| | | query:{ |
| | | detail:jd |
| | | } |
| | | }); |
| | | }, |
| | | }else if(row.by5=="/family/zfProperty"){//家庭资产管理 |
| | | path ="/familymodel/property/propertyInfo/" |
| | | |
| | | }else if(row.by5=="/family/zfEquipment"){//家庭设备 |
| | | path ="/familymodel/Device/equipmentInfo/" |
| | | |
| | | }else if(row.by5=="/family/zfCollection"){//收藏和荣誉 |
| | | path = "/familymodel/collection/collectionInfo/" |
| | | |
| | | }else if(row.by5=="/family/zfDoctor"){//家庭小医生 |
| | | path ="/familymodel/Doctor/doctorInfo/" |
| | | |
| | | }else if(row.by5=="/family/zfClea"){ // 保洁收纳 -----------有问题 |
| | | path = "/familymodel/clean/cleanInfo/" |
| | | |
| | | }else if(row.by5=="/family/zfContact"){ //通讯录 |
| | | path ="/familymodel/Contact/contactsInfo/" |
| | | |
| | | }else if(row.by5=="/familymodel/zfPet"){ // 魅宠 |
| | | path = "/familymodel/pet/petInfo/" |
| | | |
| | | }else if(row.by5=="/family/zfEconomy"){ // 家庭收支台账 |
| | | path = "/familymodel/economy/economyInfo/" |
| | | } |
| | | |
| | | this.$router.push(path + row.ctId); |
| | | |
| | | |
| | | }, |
| | | |
| | | }, |
| | | |