Browse Source

功能补充

liaoyitao 4 months ago
parent
commit
27474e1aee

+ 1 - 1
public/config.js

@@ -1,3 +1,3 @@
1
-var BASE_URL = 'http://192.168.4.194:8080/JKC-server'
1
+var BASE_URL = 'http://192.168.4.194:8081/YH-server'
2
 // var BASE_URL = 'http://182.140.29.12:89/ywtb-server'
2
 // var BASE_URL = 'http://182.140.29.12:89/ywtb-server'
3
 
3
 

+ 1 - 1
src/views/info/stationInfo/index.vue

@@ -130,7 +130,7 @@
130
           <el-input v-model="form.stationName" placeholder="请输入站点名称" />
130
           <el-input v-model="form.stationName" placeholder="请输入站点名称" />
131
         </el-form-item>
131
         </el-form-item>
132
         <el-form-item label="备注" prop="memo">
132
         <el-form-item label="备注" prop="memo">
133
-          <el-input v-model="form.memo" placeholder="请输入备注" />
133
+          <el-input v-model="form.memo" type="textarea" placeholder="请输入备注" />
134
         </el-form-item>
134
         </el-form-item>
135
         <el-form-item label="二维坐标" prop="lngLat">
135
         <el-form-item label="二维坐标" prop="lngLat">
136
           <el-input v-model="form.lngLat" placeholder="请输入二维坐标" />
136
           <el-input v-model="form.lngLat" placeholder="请输入二维坐标" />

+ 3 - 0
src/views/info/trafficInfo/index.vue

@@ -146,6 +146,9 @@
146
         <el-form-item label="颜色">
146
         <el-form-item label="颜色">
147
           <el-color-picker v-model="form.colour"></el-color-picker>
147
           <el-color-picker v-model="form.colour"></el-color-picker>
148
         </el-form-item>
148
         </el-form-item>
149
+        <el-form-item label="坐标" prop="location">
150
+          <el-input v-model="form.location" placeholder="请输入坐标" />
151
+        </el-form-item>
149
       </el-form>
152
       </el-form>
150
       <div slot="footer" class="dialog-footer">
153
       <div slot="footer" class="dialog-footer">
151
         <el-button type="primary" @click="submitForm">确 定</el-button>
154
         <el-button type="primary" @click="submitForm">确 定</el-button>

+ 5 - 1
src/views/type/trafficType/index.vue

@@ -115,6 +115,9 @@
115
     <!-- 添加或修改交通类型对话框 -->
115
     <!-- 添加或修改交通类型对话框 -->
116
     <el-dialog :title="title" :visible.sync="open" width="800px" append-to-body>
116
     <el-dialog :title="title" :visible.sync="open" width="800px" append-to-body>
117
       <el-form ref="form" :model="form" :rules="rules" label-width="120px">
117
       <el-form ref="form" :model="form" :rules="rules" label-width="120px">
118
+        <el-form-item label="图标">
119
+          <imageUpload v-model="form.icon"/>
120
+        </el-form-item>
118
         <el-form-item label="父类型编号" prop="parentId">
121
         <el-form-item label="父类型编号" prop="parentId">
119
           <el-input-number v-model="form.parentId" controls-position="right"   :min="0" placeholder="请输入父类型编号" />
122
           <el-input-number v-model="form.parentId" controls-position="right"   :min="0" placeholder="请输入父类型编号" />
120
         </el-form-item>
123
         </el-form-item>
@@ -222,7 +225,8 @@ export default {
222
         description: null,
225
         description: null,
223
         orderId: null,
226
         orderId: null,
224
         memo: null,
227
         memo: null,
225
-        colour: null
228
+        colour: null,
229
+        icon: null
226
       };
230
       };
227
       this.resetForm("form");
231
       this.resetForm("form");
228
     },
232
     },