hfxc226 2 anos atrás
pai
commit
e36ac987c4
1 arquivos alterados com 8 adições e 0 exclusões
  1. 8 0
      src/views/sb/position/SbPosition.vue

+ 8 - 0
src/views/sb/position/SbPosition.vue

@@ -92,6 +92,8 @@
           </a-popconfirm>-->
           <a-divider type="vertical" />
           <a @click="handleCopy(record)">复制</a>
+          <a-divider type="vertical" />
+          <a v-if="record.opcFlag==1" @click="handleSetting(record)">点位配置</a>
         </template>
       </span>
       <span slot="delFlag" slot-scope="text">
@@ -320,6 +322,12 @@ export default {
         modal.base(res.data)
       })
     },
+    showScreen (position) {
+      const a = document.createElement('a')
+      a.href = '/opc?line=' + position.id
+      a.target = '_blank'
+      a.click()
+    },
     /**
      * 设置位置树
      */