liaoyitao il y a 4 mois
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 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 130
           <el-input v-model="form.stationName" placeholder="请输入站点名称" />
131 131
         </el-form-item>
132 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 134
         </el-form-item>
135 135
         <el-form-item label="二维坐标" prop="lngLat">
136 136
           <el-input v-model="form.lngLat" placeholder="请输入二维坐标" />

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

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

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

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