408249787 2 years ago
parent
commit
cd00efdc92

+ 17 - 24
src/views/remote/degree/modules/RemoteDegreeSelectModal.vue

@@ -1,7 +1,7 @@
 <template>
   <a-modal
     :title="modalTitle"
-    :width="1000"
+    :width="1300"
     :visible="visible"
     :confirmLoading="confirmLoading"
     class="ant-modal2"
@@ -44,11 +44,11 @@
         :rowSelection="options.rowSelection"
         showPagination="auto"
       >
-        <span slot="action" slot-scope="record1">
+        <!-- <span slot="action" slot-scope="record1">
           <template>
             <a @click="handleView(record1)">查看</a>
           </template>
-        </span>
+        </span> -->
       </s-table>
       <detail ref="detailModal" />
     </a-card>
@@ -109,10 +109,6 @@ export default {
             return `${(this.$refs.table.localPagination.current - 1) * this.$refs.table.localPagination.pageSize + index + 1}`
           }
         },
-        {
-          title: '设备id',
-          dataIndex: 'sbId'
-        },
         {
           title: '设备名称',
           dataIndex: 'sbName'
@@ -131,14 +127,15 @@ export default {
             return this.BaseTool.Object.getField(this.map, text)
           }
         },
-        {
-          title: '描述',
-          dataIndex: 'description'
-        },
+
         {
           title: '实时数值',
           dataIndex: 'result'
         },
+        {
+          title: '单位',
+          dataIndex: 'unit'
+        },
         {
           title: '系数',
           dataIndex: 'ratio',
@@ -147,24 +144,20 @@ export default {
           }
         },
         {
-          title: '单位',
-          dataIndex: 'unit'
+          title: '描述',
+          dataIndex: 'description'
         },
         {
           title: '备注',
           dataIndex: 'remark'
-        },
-        {
-          title: '创建日期',
-          dataIndex: 'createdTime'
-        },
-        {
-          title: '操作',
-          key: 'action',
-          width: '200px',
-          align: 'center',
-          scopedSlots: { customRender: 'action' }
         }
+        // {
+        //   title: '操作',
+        //   key: 'action',
+        //   width: '200px',
+        //   align: 'center',
+        //   scopedSlots: { customRender: 'action' }
+        // }
       ],
       // 下拉框map
       // 加载数据方法 必须为 Promise 对象

+ 15 - 23
src/views/remote/measure/modules/RemoteMeasureSelectModal.vue

@@ -44,11 +44,11 @@
         :rowSelection="options.rowSelection"
         showPagination="auto"
       >
-        <span slot="action" slot-scope="record">
+        <!-- <span slot="action" slot-scope="record">
           <template>
             <a @click="handleView(record)">查看</a>
           </template>
-        </span>
+        </span> -->
       </s-table>
       <detail ref="detailModal" />
     </a-card>
@@ -111,10 +111,6 @@ export default {
             return `${(this.$refs.table.localPagination.current - 1) * this.$refs.table.localPagination.pageSize + index + 1}`
           }
         },
-        {
-          title: '设备id',
-          dataIndex: 'sbId'
-        },
         {
           title: '设备名称',
           dataIndex: 'sbName'
@@ -133,14 +129,14 @@ export default {
             return this.BaseTool.Object.getField(this.map, text)
           }
         },
-        {
-          title: '描述',
-          dataIndex: 'description'
-        },
         {
           title: '实时数值',
           dataIndex: 'result'
         },
+        {
+          title: '单位',
+          dataIndex: 'unit'
+        },
         {
           title: '系数',
           dataIndex: 'ratio',
@@ -149,24 +145,20 @@ export default {
           }
         },
         {
-          title: '单位',
-          dataIndex: 'unit'
+          title: '描述',
+          dataIndex: 'description'
         },
         {
           title: '备注',
           dataIndex: 'remark'
-        },
-        {
-          title: '创建日期',
-          dataIndex: 'createdTime'
-        },
-        {
-          title: '操作',
-          key: 'action',
-          width: '200px',
-          align: 'center',
-          scopedSlots: { customRender: 'action' }
         }
+        // {
+        //   title: '操作',
+        //   key: 'action',
+        //   width: '200px',
+        //   align: 'center',
+        //   scopedSlots: { customRender: 'action' }
+        // }
       ],
       // 下拉框map
       // 加载数据方法 必须为 Promise 对象