소스 검색

必填项

CzRger 1 년 전
부모
커밋
cf9dd4e153
1개의 변경된 파일8개의 추가작업 그리고 12개의 파일을 삭제
  1. 8 12
      src/views/ship-test/manage/track/index.vue

+ 8 - 12
src/views/ship-test/manage/track/index.vue

@@ -45,22 +45,20 @@
         <CusFormColumn
             :span="12"
             required
+            label="轨迹时间"
+            v-model:param="form.trackTimeKey"/>
+        <CusFormColumn
+            :span="12"
             label="速度"
             v-model:param="form.trackSpeedKey"/>
         <CusFormColumn
             :span="12"
-            required
             label="航向"
             v-model:param="form.trackCourseKey"/>
         <CusFormColumn
             :span="12"
             label="船艏向"
             v-model:param="form.trackHeadKey"/>
-        <CusFormColumn
-            :span="12"
-            required
-            label="轨迹时间"
-            v-model:param="form.trackTimeKey"/>
         <div class="__cus-title_2">历史轨迹唯一标识(DATA.xxx形式,可任意拼接或使用字符串模板`POINT(${DATA.xxx} ${DATA.xxx})`或DATA.xxx + DATA.xxx)</div>
         <CusFormColumn
             :span="12"
@@ -80,22 +78,20 @@
         <CusFormColumn
             :span="12"
             :required="!!currentSource.historyWsUrl"
+            label="轨迹时间"
+            v-model:param="form.historyTrackTimeKey"/>
+        <CusFormColumn
+            :span="12"
             label="速度"
             v-model:param="form.historyTrackSpeedKey"/>
         <CusFormColumn
             :span="12"
-            :required="!!currentSource.historyWsUrl"
             label="航向"
             v-model:param="form.historyTrackCourseKey"/>
         <CusFormColumn
             :span="12"
             label="船艏向"
             v-model:param="form.historyTrackHeadKey"/>
-        <CusFormColumn
-            :span="12"
-            :required="!!currentSource.historyWsUrl"
-            label="轨迹时间"
-            v-model:param="form.historyTrackTimeKey"/>
       </CusForm>
       <div class="buttons">
         <el-button type="primary" @click="onSubmit">保存</el-button>