소스 검색

事件详情图片切换

彭宇 2 년 전
부모
커밋
a361588633
2개의 변경된 파일14개의 추가작업 그리고 0개의 파일을 삭제
  1. 7 0
      src/views/event.vue
  2. 7 0
      src/views/forest.vue

+ 7 - 0
src/views/event.vue

@@ -612,6 +612,9 @@
         }
       },
       /** ----------------------------------事件弹窗开始-未处理------------------------------------- */
+      tp(url) {
+        this.url = url
+      },
       formLeaveTable(){
         let p=new Promise((resolve, reject) =>
           reject()
@@ -737,6 +740,10 @@
       },
       cancelEventShow() {
         this.activeName = 'info';
+        this.listEventPic = [];//事件图片
+        this.listEventDept = [];//涉事单位List,
+        this.listLog = [];//处理过程List,
+        this.listoperateDept = [];
       },
       handleClickNotProcessed: function (tab, oldActiveName) {
         let that = this

+ 7 - 0
src/views/forest.vue

@@ -898,6 +898,9 @@
 				}
 			},
       /** ----------------------------------事件弹窗开始------------------------------------- */
+      tp(url) {
+        this.url = url
+      },
       async beforeLeave(newactiveName, oldActiveName) {
         let that = this;
         if (newactiveName == 'frame') {
@@ -1003,6 +1006,10 @@
       },
       cancelEventShow() {
         this.activeName = 'info';
+        this.listEventPic = [];//事件图片
+        this.listEventDept = [];//涉事单位List,
+        this.listLog = [];//处理过程List,
+        this.listoperateDept = [];
       },
       handleClick: function (tab, oldActiveName) {
         let that = this