zcy vor 4 Jahren
Ursprung
Commit
ff5e4bea6b

+ 13 - 10
src/views/basics/check/view/dc/CheckAndEditModel.vue

@@ -39,17 +39,17 @@
           dict-code="xingbie"
         />
       </a-form-model-item>
-      <a-form-model-item label="支柱号范围" prop="pillarArea">
-        <a-input v-model="model.pillarArea" />
+      <a-form-model-item label="分相名称" prop="fxmc">
+        <a-input v-model="model.fxmc" />
       </a-form-model-item>
-      <a-form-model-item label="分相名称" prop="fenxiang">
-        <a-input v-model="model.fenxiang" />
+      <a-form-model-item label="支柱号" prop="pillarCode">
+        <a-input v-model="model.pillarCode" />
       </a-form-model-item>
-      <a-form-model-item label="设备编号" prop="fenxiang">
-        <a-input v-model="model.fenxiang" />
+      <a-form-model-item label="磁枕里程" prop="czlc">
+        <a-input v-model="model.czlc" />
       </a-form-model-item>
-      <a-form-model-item label="磁枕里程" prop="fenxiang">
-        <a-input v-model="model.fenxiang" />
+      <a-form-model-item label="设备编号" prop="sbbh">
+        <a-input v-model="model.sbbh" />
       </a-form-model-item>
     </a-form-model>
   </j-modal>
@@ -77,8 +77,11 @@ export default {
         lineId: [{ required: true, message: '请选择' }],
         stationId: [{ required: true, message: '请选择' }],
         xingbie: [{ required: true, message: '请选择' }],
-        pillarArea: [{ required: true, message: '请输入' }],
-        fenxiang: [{ required: true, message: '请输入' }],
+        pillarCode: [{ required: true, message: '请输入' }],
+        fxmc: [{ required: true, message: '请输入' }],
+        sbbh: [{ required: true, message: '请输入' }],
+        czlc: [{ required: true, message: '请输入' }]
+
       },
       url: {
         add: '//business/catenary/bus/dmcgyq/add',

+ 3 - 3
src/views/basics/check/view/dc/index.vue

@@ -41,14 +41,14 @@
         </a-form-item>
         <a-form-item>
           <a-input
-            v-model="queryParam.pillarArea"
+            v-model="queryParam.pillarCode"
             style="width: 150px"
-            placeholder="输入支柱号范围"
+            placeholder="输入支柱号"
           />
         </a-form-item>
         <a-form-item>
           <a-input
-            v-model="queryParam.kgbh"
+            v-model="queryParam.sbbh"
             style="width: 150px"
             placeholder="输入设备编号"
           />

+ 9 - 9
src/views/basics/check/view/dc/indexColumns.js

@@ -36,26 +36,26 @@ function columns(vm) {
     {
       title: '分相名称',
       align: 'center',
-      dataIndex: 'fenxiang',
-      key: 'fenxiang'
+      dataIndex: 'fxmc',
+      key: 'fxmc'
     },
     {
-      title: '支柱号范围',
+      title: '支柱号',
       align: 'center',
-      dataIndex: 'pillarArea',
-      key: 'pillarArea'
+      dataIndex: 'pillarCode',
+      key: 'pillarCode'
     },
     {
       title: '磁枕里程',
       align: 'center',
-      dataIndex: '',
-      key: ''
+      dataIndex: 'czlc',
+      key: 'czlc'
     },
     {
       title: '设备编号',
       align: 'center',
-      dataIndex: '',
-      key: ''
+      dataIndex: 'sbbh',
+      key: 'sbbh'
     },
     {
       title: '操作',