ソースを参照

应用中心判断是否有访问和运行管理图表名称显示修改

mork 3 週間 前
コミット
14915c3144

+ 2 - 5
public/static/config/config.js

@@ -24,10 +24,7 @@ let systemConfig = {
       1736(用户反馈栏目id)            2840 政务网  1736 互联网
     *
   */
-//  http://10.235.245.174:2023/jinze_3dtiles/mp4/2b3e7cc615e4aabbe7f3f8d3b0c69d17.mp4
-// http://10.235.245.174:2023/jinze_3dtiles/mp4/78110112f61d58f2c138251c1c0e1df1.mp4
-// http://10.235.245.174:2023/jinze_3dtiles/mp4/b45bff11b2ce3fec101dc21ba8facd37.mp4
-// http://10.235.245.174:2023/jinze_3dtiles/mp4/92493c424e496570c55feaf546b34bbc.mp4
+
  // 互联网环境
   // modelIds: [1667, 1690, 1677, 1673,1780],
   // columnIds: [1657, 1659, 1666, 1676, 1665, 1651, 1662,1736],
@@ -40,7 +37,7 @@ let systemConfig = {
   // oauth和DMS环境
   backServerPath: serverPath,   // 运行管理中使用
 
-  iframeUrl: serverPath + ":2024/?token=1",
+  iframeUrl: serverPath + ":2024/",
 
   // baseServicerPath: "/oneMap",
   baseServicerPath: serverPath + ":1201/qpyzt",  // 政 1201   互 13901

+ 14 - 1
src/views/yxgl/StatisticalAnalysis.vue

@@ -610,9 +610,22 @@ export default {
                 }
               });
             }
+            let serverObj = {};
+            serverObj["proxy"] = 'proxy代理服务';
+            serverObj["api"] = '一张图鉴权系统';
+            serverObj["icon"] = '一张图符号精灵';
+            serverObj["dms"] = '一张图数据中台';
+            serverObj["oauth"] = '一张图鉴权系统';
+            serverObj["proxy"] = '转发服务';
+            serviceCountType.forEach((item) => {
+              item.name = serverObj[item.type];
+              if (!item.name) {
+                item.name = "其它";
+              }
+            })
             // 初始化服务类别分布,这个地方需要先根据serviceType进行groupBy统计调用次数
             this.dataToOption("服务类别分布", "pie", serviceCountType, {
-              pieKey: { value: "count", name: "type" },
+              pieKey: { value: "count", name: "name" },
               pieData: [],
               padAngle: 0,
               borderRadius: 0,

+ 6 - 1
src/views/yygl/overview/index.vue

@@ -81,6 +81,7 @@
                   type="primary"
                   size="small"
                   class="visit-button"
+                  v-if="app.c_url"
                   @click="handleOpenPage(app)"
                   >访问</el-button
                 >
@@ -146,7 +147,11 @@ export default {
     },
     handleOpenPage(param) {
       if (param.c_url) {
-        window.open(param.c_url);
+        if(param.c_url.indexOf(":2024") > -1){
+          window.open(param.c_url + "?token=" + localStorage.getItem("token"), "_blank");
+        }else{
+          window.open(param.c_url, "_blank");
+        }
       }
     },
     getDmsTagSName() {