Selaa lähdekoodia

修改概况--首页最近测试计划字段

plg 3 kuukautta sitten
vanhempi
commit
c0548d5f20
2 muutettua tiedostoa jossa 12 lisäystä ja 8 poistoa
  1. 2 2
      src/utils/http.js
  2. 10 6
      src/views/manage/generalSituation.vue

+ 2 - 2
src/utils/http.js

@@ -18,7 +18,7 @@ import { router } from "@/router";
 // axios.defaults.baseURL = 'https://child.hhnao.com:8070';
 //https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx01d1a44906973cf2&redirect_uri=http%3A%2F%2F192.168.18.51%3A8085&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect
 // 少锋本地
-export const basePath = "http://10.113.248.4:8089";
+// export const basePath = "http://10.113.248.4:8089";
 //少锋本地 wifi
 // export const basePath = "http://172.28.50.2:8089";
 //30
@@ -26,7 +26,7 @@ export const basePath = "http://10.113.248.4:8089";
 //红朵服务器
 // export const basePath = "http://129.211.221.44:8089";
 //锦泓税务服务器
-// export const basePath = "http://146.56.226.174:8089";
+export const basePath = "http://146.56.226.174:8089";
 // const base_url = 'http://43.143.198.30:8089/'
 // const base_url = 'http://10.113.248.4:8090/'
 // export const basePath='http://43.143.198.30:8086'

+ 10 - 6
src/views/manage/generalSituation.vue

@@ -539,12 +539,12 @@ export default {
     //当屏幕变化自适应大小
     window.addEventListener("resize", this.echartsAllSize);
   },
-  destroyed(){
+  destroyed() {
     window.removeEventListener("resize", this.echartsAllSize);
   },
   methods: {
     //设置图标自适应
-    echartsAllSize(){
+    echartsAllSize() {
       let flag = false;
       setTimeout(() => {
         flag = true;
@@ -554,12 +554,14 @@ export default {
           let myChart = this.$echarts.init(this.$refs.echarts_zhu);
           myChart.resize();
 
-          let myChart1 = this.$echarts.init( this.$refs.echarts_lei);
+          let myChart1 = this.$echarts.init(this.$refs.echarts_lei);
           myChart1.resize();
         }
       }, 1000);
     },
     queryDetail() {
+      console.log(this.planData);
+      debugger;
       this.$refs.register.open(this.planData);
     },
     //根据组织编号查询总人数
@@ -603,10 +605,12 @@ export default {
                 key == "planOrgName" ||
                 key == "createTime" ||
                 key == "userNum" ||
-                key == "id"
+                key == "id" ||
+                key == "planType"
               );
             });
             let list2 = Object.fromEntries(list1);
+            debugger;
             this.planData = list2;
             //调用各个专业不同总分人数
             // this.isScore();
@@ -974,7 +978,7 @@ export default {
             overflow: hidden;
             text-overflow: ellipsis;
             display: -webkit-box;
-               /* autoprefixer: ignore next */
+            /* autoprefixer: ignore next */
             -webkit-box-orient: vertical;
             -webkit-line-clamp: 2;
 
@@ -995,7 +999,7 @@ export default {
             justify-content: flex-end;
             align-items: end;
             padding-bottom: 12px;
-            
+
             // color: #ffffff;
             // font-size: 60px;
             // letter-spacing: 3px;