Ver código fonte

生命线年度计划更改跳转提交

wang_xy 6 dias atrás
pai
commit
248f077e34

+ 2 - 8
src/views/CockpitLifeLine.vue

@@ -573,7 +573,7 @@
 <!--								<span>1.5km</span>-->
 							</li>
 						</ul>
-						<div slot="reference" style="cursor: pointer;">年度任务</div>
+						<div slot="reference" style="cursor: pointer;">年度计划</div>
 					</el-popover>
 					<div class="num">
             {{ yearlyTaskStatisticsTotal }}
@@ -2331,13 +2331,7 @@
             }
           })
         myChart.on('click', function (params) {
-          that.planVisible = true;
-          for (const plan of that.annualPlanTreeList) {
-            if(params.name == plan.name){
-              that.planList = plan.children;
-              that.planListsx = plan.children;
-            }
-          }
+          window.open('/rwList');
         });
         },
 			fxChart() {

+ 4 - 1
src/views/Regulatory.vue

@@ -123,7 +123,7 @@
 				</div>
 				<div class="title-bar m-t-3">
 						<div class="title-bar-pop">
-							<span>年度任务</span>
+							<span>年度计划</span>
 						</div>
 <!--						<el-select v-model="value5" placeholder="请选择" class="sj-select-50" popper-class="sj-s-pop">-->
 <!--							<el-option v-for="item in options5" :key="item.value" :label="item.label"-->
@@ -2106,6 +2106,9 @@
             myChart.setOption(option);
           }
         })
+        myChart.on('click', function (params) {
+          window.open('/rwList');
+        });
       },
 			xcChart() {
         patrolTaskCount().then(res => {

+ 5 - 3
src/views/industry/jgpt.vue

@@ -391,10 +391,10 @@
 						</el-tab-pane>
 					</el-tabs>
 				</div>
-				<div class="title-bar"    @click="toRwList">
+				<div class="title-bar">
 					<el-popover placement="left-start" width="400" trigger="click" popper-class="sj-pop-con">
 
-						<div slot="reference" style="cursor: pointer;">年度任务</div>
+						<div slot="reference" style="cursor: pointer;">年度计划</div>
 					</el-popover>
 					<div class="num">
 						{{ yearlyTaskStatisticsTotal || 0 }}个
@@ -2925,10 +2925,12 @@
 							//   }
 							// ]
 						};
-
 						myChart.setOption(option);
 					}
 				})
+        myChart.on('click', function (params) {
+          window.open('/rwList');
+        });
 			},
 
 			// 风险管理