瀏覽代碼

小修改

sujunling 1 年之前
父節點
當前提交
305d3d781f

+ 4 - 2
.env.development

@@ -10,8 +10,10 @@ VITE_GLOB_PUBLIC_PATH = /
 # 本地
 # VITE_PROXY = [["/api","http://192.168.2.225/api"]]
 
-# 线上演示环境
-VITE_PROXY = [["/api","http://117.174.10.73:19200"],["/agent","http://117.174.10.73:31895"],["/iserver","http://221.182.8.141:15000/iserver"],["/onlineIde","http://106.12.170.138:4001/examples"],["/tfDemo","http://106.12.170.138:4001/demo"],["/mapTools","http://106.12.170.138:10090"],["/xldAnalysisApi","http://192.168.119.47:2214/xldanalyst"]]
+# 测试环境
+# VITE_PROXY = [["/api","http://117.174.10.73:19200"],["/agent","http://117.174.10.73:31895"],["/iserver","http://221.182.8.141:15000/iserver"],["/onlineIde","http://106.12.170.138:4001/examples"],["/tfDemo","http://106.12.170.138:4001/demo"],["/mapTools","http://106.12.170.138:10090"],["/xldAnalysisApi","http://192.168.119.47:2214/xldanalyst"]]
+#现场环境
+VITE_PROXY = [["/api","http://192.168.119.143:9200"],["/agent","http://192.168.119.143:31895"],["/iserver","http://221.182.8.141:15000/iserver"],["/onlineIde","http://106.12.170.138:4001/examples"],["/tfDemo","http://106.12.170.138:4001/demo"],["/mapTools","http://106.12.170.138:10090"],["/xldAnalysisApi","http://192.168.119.47:2214/xldanalyst"]]
 # VITE_PROXY = [["/api","http://192.168.49.163:20043"],["/agent","http://192.168.49.163:20043"],["/iserver","http://221.182.8.141:15000/iserver"],["/onlineIde","http://106.12.170.138:4001/examples"],["/tfDemo","http://106.12.170.138:4001/demo"],["/mapTools","http://106.12.170.138:10090"]]
 # VITE_PROXY = [["/api","http://127.0.0.1:20043"],["/agent","http://127.0.0.1:20043"],["/iserver","http://221.182.8.141:15000/iserver"],["/onlineIde","http://106.12.170.138:4001/examples"],["/tfDemo","http://106.12.170.138:4001/demo"],["/mapTools","http://106.12.170.138:10090"]]
 # VITE_PROXY = [["/api","http://192.168.49.163:20043"],["/agent","http://192.168.49.163:20043"],["/iserver","http://221.182.8.141:15000/iserver"],["/onlineIde","http://106.12.170.138:4001/examples"],["/tfDemo","http://106.12.170.138:4001/demo"],["/mapTools","http://106.12.170.138:10090"]]

+ 4 - 0
index.html

@@ -15,6 +15,10 @@
   <title>空间数据管理平台</title>
   <link rel="icon" href="/favicon.ico" />
   <style>
+    .vben-basic-table .ant-table-fixed-header>.ant-table-content>.ant-table-scroll>.ant-table-body {
+      overflow: auto auto !important;
+    }
+
     .ant-select-disabled.ant-select-multiple .ant-select-selection-item,
     .ant-select-disabled.ant-select:not(.ant-select-customize-input) .ant-select-selector,
     .ant-input[disabled] {

+ 4 - 3
src/views/assembly/item/EmpowerInfo.vue

@@ -8,9 +8,10 @@
                 <p>案例地址:{{ info.assUrl }}</p>
             </li>
             <li>
-                <p>授权文件下载:<a :id="info.MAPINGURL" :href="getImg(info.MAPINGURL)" target="downloadFile" download>
-                            <button v-if="info?.bz?.indexOf(',') > -1">下载文件</button>
-                        </a>
+                <p>文件下载:
+                    <a style="color: rgb(45, 116, 231);" target="downloadFild" v-if="info?.resInfo?.BZ?.indexOf(',') > -1" :id="info?.resInfo?.BZ" :href="getImg(info?.resInfo?.BZ)" download="grant.js">
+                        下载文件
+                    </a>
                 </p>
             </li>
         </ul>

+ 1 - 1
src/views/assembly/library/index.vue

@@ -369,6 +369,6 @@ export default defineComponent({
 </script>
 <style>
 .zjsqkList .ant-table-fixed-header .ant-table-scroll .ant-table-header{
-    width: 1404px !important;
+    width: 1411px !important;
 }
 </style>

+ 1 - 1
src/views/dataAdmin/assembly/index.vue

@@ -37,7 +37,7 @@
             icon: '' /**clarity:note-edit-line*/,
             color: 'warning',
             ifShow: props.isChild,
-            disabled: record.status == 3 ? false : true,
+            //disabled: record.status == 3 ? false : true,
             onClick: handleEdit.bind(null, record),
           },
           {

+ 2 - 2
src/views/resource/plat/item/FileData.vue

@@ -28,9 +28,9 @@
           <div class="operation-box">
             <div class="left">
               <div class="operation-item browse-item-btn browse-item-MR00001936" v-if="i.SFJRSQK === '审核通过'">
-                <a target="_blank"
+                <a target="_blank" 
                   :href="(i.info && i.info.length && i.info[0].thumbnail) || './static/img/default-dr3.jpg'">
-                  <span style="color: #2D74E7;">浏览</span>
+                  <span style="color: #2D74E7;" rel="opener">浏览</span>
                 </a>
               </div>
               <div class="operation-item" @click="handleQuery(i, n)">

+ 1 - 1
src/views/resource/plat/item/MapData.vue

@@ -28,7 +28,7 @@
             <div class="left">
               <div class="operation-item browse-item-btn browse-item-MR00001936"
                 style="background: #E1EBFB;color: #2D74E7;">
-                <a target="_blank" :href="`./mapview.html?${i.SERVICEID}`">
+                <a target="_blank" :href="`./mapview.html?${i.SERVICEID}`" rel="opener">
                   <span style="color: #2D74E7;">浏览</span>
                 </a>
               </div>

+ 1 - 1
src/views/resource/plat/item/SceneData.vue

@@ -28,7 +28,7 @@
           <div class="operation-box">
             <div class="left">
               <div class="operation-item browse-item-btn browse-item-MR00001936">
-                <a target="_blank" :href="`./sceneview.html?${i.SERVICEID}`">
+                <a target="_blank" :href="`./sceneview.html?${i.SERVICEID}`" rel="opener">
                   <span style="color: #2D74E7;">浏览</span>
                 </a>
               </div>

+ 1 - 1
src/views/resource/plat/item/child/DetailModal.vue

@@ -14,7 +14,7 @@
                         <div class="service-type">服务类型:{{ baseInfo.servicetype }}</div>
                     </div>
                     <div class="look" v-if="seeShow">
-                        <a target="_blank" :href="`./mapview.html?${baseInfo.serviceid}`">
+                        <a target="_blank" :href="`./mapview.html?${baseInfo.serviceid}`" rel="opener">
                             <span>浏览</span>
                         </a>
                     </div>

+ 1 - 1
src/views/resource/plat/item/child/ResCarModal.vue

@@ -363,7 +363,7 @@ export default defineComponent({
 </script>
 <style>
 .sqkList .ant-table-fixed-header .ant-table-scroll .ant-table-header{
-    width: 1396px !important;
+    width: 1403px !important;
 }
 </style>
 <style lang="less" scoped>