Loading src/views/messageCenter/infoTip/index.vue +9 −1 Original line number Original line Diff line number Diff line Loading @@ -196,7 +196,15 @@ export default { this.showIndex = null; this.showIndex = null; this.$router.push({ this.$router.push({ path: item.appUrl, path: item.appUrl, params: { id: item.pid, buildingId: item.mainId } }); }); sessionStorage.setItem("planId", item.pid); sessionStorage.setItem("pathAuth", ""); sessionStorage.setItem("buildingId", item.mainId); }) }) }, }, touchstart(index, item) { touchstart(index, item) { Loading src/views/messageCenter/waitEvent/index.vue +25 −6 Original line number Original line Diff line number Diff line Loading @@ -46,7 +46,7 @@ </div> </div> <div class="bot_but" v-if=" item.theme != '检查'"> <div class="bot_but" v-if=" item.theme != '检查'"> <van-button color="#33CCFF" size="mini">{{ <van-button color="#33CCFF" size="mini">{{ item.status == 0 ? "立即处理" : "待办事项" item.status == 0 ? "立即处理" : "查看详情" }}</van-button> }}</van-button> </div> </div> </div> </div> Loading Loading @@ -172,14 +172,33 @@ export default { }, }, touchstart(index, item) { touchstart(index, item) { console.log('==========================',item) //return let formData=new FormData() let formData=new FormData() formData.append('id',item.id) formData.append('id',item.id) postFun("messageInfo/changeRead", formData) postFun("backlogInfo/changeRead", formData) .then(res => { .then(res => { this.showIndex = null; this.showIndex = null; this.$router.push({ this.$router.push({ path: item.appUrl, name: item.appUrl, }); params: { id: item.pid, buildingId: item.mainId } } ); sessionStorage.setItem("planId", item.pid); if(item.menuName=='风险审批'){ sessionStorage.setItem("pathAuth", "riskApprove0"); sessionStorage.setItem("status", "2"); }else{ sessionStorage.setItem("pathAuth", "riskAssess"); } if(item.status==1){//已办查看详情 sessionStorage.setItem("pathAuth", ""); } sessionStorage.setItem("buildingId", item.mainId); }) }) // if (this.showIndex != null) { // if (this.showIndex != null) { // this.showIndex = null; // this.showIndex = null; Loading Loading
src/views/messageCenter/infoTip/index.vue +9 −1 Original line number Original line Diff line number Diff line Loading @@ -196,7 +196,15 @@ export default { this.showIndex = null; this.showIndex = null; this.$router.push({ this.$router.push({ path: item.appUrl, path: item.appUrl, params: { id: item.pid, buildingId: item.mainId } }); }); sessionStorage.setItem("planId", item.pid); sessionStorage.setItem("pathAuth", ""); sessionStorage.setItem("buildingId", item.mainId); }) }) }, }, touchstart(index, item) { touchstart(index, item) { Loading
src/views/messageCenter/waitEvent/index.vue +25 −6 Original line number Original line Diff line number Diff line Loading @@ -46,7 +46,7 @@ </div> </div> <div class="bot_but" v-if=" item.theme != '检查'"> <div class="bot_but" v-if=" item.theme != '检查'"> <van-button color="#33CCFF" size="mini">{{ <van-button color="#33CCFF" size="mini">{{ item.status == 0 ? "立即处理" : "待办事项" item.status == 0 ? "立即处理" : "查看详情" }}</van-button> }}</van-button> </div> </div> </div> </div> Loading Loading @@ -172,14 +172,33 @@ export default { }, }, touchstart(index, item) { touchstart(index, item) { console.log('==========================',item) //return let formData=new FormData() let formData=new FormData() formData.append('id',item.id) formData.append('id',item.id) postFun("messageInfo/changeRead", formData) postFun("backlogInfo/changeRead", formData) .then(res => { .then(res => { this.showIndex = null; this.showIndex = null; this.$router.push({ this.$router.push({ path: item.appUrl, name: item.appUrl, }); params: { id: item.pid, buildingId: item.mainId } } ); sessionStorage.setItem("planId", item.pid); if(item.menuName=='风险审批'){ sessionStorage.setItem("pathAuth", "riskApprove0"); sessionStorage.setItem("status", "2"); }else{ sessionStorage.setItem("pathAuth", "riskAssess"); } if(item.status==1){//已办查看详情 sessionStorage.setItem("pathAuth", ""); } sessionStorage.setItem("buildingId", item.mainId); }) }) // if (this.showIndex != null) { // if (this.showIndex != null) { // this.showIndex = null; // this.showIndex = null; Loading