chenjun před 2 roky
rodič
revize
c9c143accf

+ 7 - 2
src/views/securityCheck/views/comprehensiveHome.vue

@@ -143,10 +143,13 @@ export default {
       myChart.clear();
       myChart.clear();
       myChart.setOption(discoloration);
       myChart.setOption(discoloration);
       window.onresize = () => {
       window.onresize = () => {
-        this.queryData.riskRating = a.seriesName;
+        this.queryData.agentLevel = a.seriesName;
         myChart.resize();
         myChart.resize();
       };
       };
       myChart.on("click", (a, b) => {
       myChart.on("click", (a, b) => {
+        this.queryData.startTime = a.name +"-01";
+        this.queryData.endTime = a.name +"-31";
+        this.queryData.agentLevel = a.seriesName;
         this.echar();
         this.echar();
       });
       });
     },
     },
@@ -166,7 +169,9 @@ export default {
         myChart.resize();
         myChart.resize();
       };
       };
       myChart.on("click", (a, b) => {
       myChart.on("click", (a, b) => {
-        this.queryData.riskRating = a.seriesName;
+        this.queryData.startTime = a.name;
+        this.queryData.endTime = a.name;
+        this.queryData.agentLevel = a.seriesName;
         // this.queryData.openResult = a.value;
         // this.queryData.openResult = a.value;
         this.echar();
         this.echar();
       });
       });

+ 6 - 8
src/views/securityCheck/views/securityChannelHome.vue

@@ -42,17 +42,16 @@ export default {
         startTime: data[0][0],
         startTime: data[0][0],
         endTime: data[0][1],
         endTime: data[0][1],
         proxyId: data[1],
         proxyId: data[1],
-        proxyLevel: data[2],
-        type: "日",
+        proxyLevel: data[2]
       };
       };
       this.relationDate(data);
       this.relationDate(data);
     },
     },
     //点击跳转
     //点击跳转
     echar() {
     echar() {
-      this.$router.push({
-        path: "/waybillTable",
-        query: this.queryData,
-      });
+      // this.$router.push({
+      //   path: "/waybillTable",
+      //   query: this.queryData,
+      // });
     },
     },
     change() {
     change() {
       this.$router.push("./agentTable");
       this.$router.push("./agentTable");
@@ -63,8 +62,7 @@ export default {
           beginDate: data[0][0],
           beginDate: data[0][0],
           endDate: data[0][1],
           endDate: data[0][1],
           proxyId: data[1],
           proxyId: data[1],
-          proxyLevel: data[2],
-          querytype: "日",
+          proxyLevel: data[2]
         };
         };
         const result = await correlation(params);
         const result = await correlation(params);
         if (result.status == 200) {
         if (result.status == 200) {