瀏覽代碼

完善液位高度和宽度

hfxc226 2 年之前
父節點
當前提交
2cab89811a
共有 2 個文件被更改,包括 4 次插入7 次删除
  1. 3 3
      src/views/remote/opc-log/modules/Detail.vue
  2. 1 4
      src/views/remote/opc/RemoteOpc.vue

+ 3 - 3
src/views/remote/opc-log/modules/Detail.vue

@@ -1,7 +1,7 @@
 <template>
   <a-modal
     :title="modalTitle"
-    :width="1200"
+    :width="1400"
     :visible="visible"
     :confirmLoading="confirmLoading"
     class="ant-modal2"
@@ -105,7 +105,7 @@
     <div style="width: 100%">
       <div id="container"></div>
     </div>
-    <a-divider orientation="left">数据明细</a-divider>
+    <!--    <a-divider orientation="left">数据明细</a-divider>
     <div>
       <a-table
         bordered
@@ -116,7 +116,7 @@
         rowKey="time">
 
       </a-table>
-    </div>
+    </div>-->
   </a-modal>
 </template>
 

+ 1 - 4
src/views/remote/opc/RemoteOpc.vue

@@ -428,10 +428,7 @@ export default {
       })
     },
     doTestSelect (record) {
-      const parameter = {}
-      parameter.id = record.id
-      parameter.type = 1
-      queryInfluxDBHistory(parameter).then(res => {
+      queryInfluxDBHistory(record).then(res => {
         console.log(res.data)
         this.$message.info('已查询')
       })