shaun-sheep 4 лет назад
Родитель
Сommit
d28f3c1789
3 измененных файлов с 6 добавлено и 4 удалено
  1. 2 2
      public/systemConf.js
  2. 3 2
      src/views/legendLibrary/addForm.vue
  3. 1 0
      src/views/legendLibrary/index.vue

+ 2 - 2
public/systemConf.js

@@ -25,8 +25,8 @@ var __systemConf = {
     conf: {
         // 阿里云
         editerUrl: 'http://60.205.177.43:80/wandaEditer/', // 编辑器地址
-        wandaBmGuideUrl: 'http://60.205.177.43:80/wandaBmGuide/', //管理书地址
-        // wandaBmGuideUrl: 'http://192.168.200.26:8090/wandaBmGuide/', //管理书地址
+        // wandaBmGuideUrl: 'http://60.205.177.43:80/wandaBmGuide/', //管理书地址
+        wandaBmGuideUrl: 'http://192.168.200.26:8090/wandaBmGuide/', //管理书地址
     },
 }
 window.__systemConf = __systemConf

+ 3 - 2
src/views/legendLibrary/addForm.vue

@@ -11,7 +11,7 @@
                     <el-col :span='12'>
                         <div class='start'>图例名称</div>
                         <!-- <el-input v-model='ruleForm.Name' style='width:200px;height:32px;'></el-input> -->
-                        <Input v-model='ruleForm.Name' placeholder maxlength='20' style='width:200px' />
+                        <Input v-model='ruleForm.Name' placeholder :maxlength='maxlength' style='width:200px' />
                     </el-col>
                     <el-col :span='12' style='margin-top:20px'>
                         <div class>单位</div>
@@ -41,7 +41,7 @@
             </div>
             <div v-show='ruleForm.Type=="Zone" || ruleForm.Type=="Image" || ruleForm.Type =="Line"'>
                 <div style='color:#646C73'>展示预览</div>
-                <div class='input-right' ref='graph' style="width:200px;height:114px;">
+                <div class='input-right' ref='graph' style='width:200px;height:114px;'>
                     <canvas id='canvas' :width='canvasWidth' :height='canvasHeight'></canvas>
                 </div>
             </div>
@@ -149,6 +149,7 @@ import { GraphView } from '@/lib/GraphView'
 export default {
     data() {
         return {
+            maxlength: 20,
             options: [
                 {
                     id: 'None',

+ 1 - 0
src/views/legendLibrary/index.vue

@@ -418,6 +418,7 @@ export default {
                 this.total = res.Total
             })
         },
+        transformDate(arr) {},
         getTableList() {
             // if (this.GraphCategoryIds || this.InfoLocals || this.InfoSystems || this.keyword) {
             //     this.currentPage = 1