shaun-sheep 4 سال پیش
والد
کامیت
dfd348c533
2فایلهای تغییر یافته به همراه6 افزوده شده و 7 حذف شده
  1. 2 2
      public/systemConf.js
  2. 4 5
      src/views/legendLibrary/index.vue

+ 2 - 2
public/systemConf.js

@@ -26,9 +26,9 @@ var __systemConf = {
         // 编辑器地址
         // TODO: 修改为对应的地址
         // editerUrl: 'http://192.168.200.1:9910/wandaEditer/',
-        // wandaBmGuideUrl: 'http://192.168.200.89:8080/wandaBmGuide',
+        // wandaBmGuideUrl: 'http://192.168.200.100:8090/wandaBmGuide',
         editerUrl: 'http://192.168.200.1:8091/wandaEditer/',
         wandaBmGuideUrl: 'http://192.168.200.1:8090/wandaBmGuide/',
     },
 }
-window.__systemConf = __systemConf
+window.__systemConf = __systemConf

+ 4 - 5
src/views/legendLibrary/index.vue

@@ -99,16 +99,15 @@
             </div>
             <el-table :data='tableData' :key='key' :border='true' style='width: 100%'>
                 <el-table-column prop='Name' label='图例名称'>
-                    <template slot-scope='{row}'>{{row.Name || '--'}}</template>
+                    <template slot-scope='{row}'>{{row.Name }}</template>
                 </el-table-column>
                 <el-table-column prop='style' label='图例样式'>
                     <template slot-scope='{row}'>
-                        <img v-if='row.Url' class='img' :src='`/serve/topology-wanda/Picture/query/${row.Url}`' alt />
-                        <span v-else>{{'--'}}</span>
+                        <img class='img' :src='`/serve/topology-wanda/Picture/query/${row.Url}`' alt />
                     </template>
                 </el-table-column>
                 <el-table-column prop='Unit' label='单位'>
-                    <template slot-scope='{row}'>{{row.Unit || '--'}}</template>
+                    <template slot-scope='{row}'>{{row.Unit}}</template>
                 </el-table-column>
                 <el-table-column prop='position' label='对应广场说明书的位置'>
                     <template slot-scope='{row}'>
@@ -139,7 +138,7 @@
                     </template>
                 </el-table-column>
                 <el-table-column v-if='state==0' prop='DeleteTime' label='作废时间' width='180'>
-                    <template v-if='state==0' slot-scope='{row}'>{{row.DeleteTime || '--'}}</template>
+                    <template v-if='state==0' slot-scope='{row}'>{{row.DeleteTime}}</template>
                 </el-table-column>
             </el-table>
             <div class='foot'>