Browse Source

设备点位——批量引入

wyh 1 year ago
parent
commit
65170303d4

+ 17 - 0
src/views/module_ems/tpmTag/modulesPL/TpmTagFormPL.vue

@@ -0,0 +1,17 @@
+<template>
+    
+</template>
+
+<script>
+
+export default {
+    name: 'TpmTagFormPL',
+    components: {
+    },
+    data () {
+        return {
+            
+        }
+    }
+}
+</script>

+ 60 - 0
src/views/module_ems/tpmTag/modulesPL/TpmTagModalPL.vue

@@ -0,0 +1,60 @@
+<template>
+  <j-modal
+    :title="title"
+    :width="width"
+    v-bind:body-style="{height:'700px'}"
+    :visible="visible"
+    switchFullscreen
+    @ok="handleOk"
+    :okButtonProps="{ class:{'jee-hidden': disableSubmit} }"
+    @cancel="handleCancel"
+    cancelText="关闭">
+    <TpmTagFormPL></TpmTagFormPL>
+  </j-modal>
+</template>
+
+<script>
+  import TpmTagFormPL from './TpmTagFormPL'
+  export default {
+    name: 'TpmTagModalPL',
+    components: {
+      TpmTagFormPL
+    },
+    data () {
+      return {
+        title:'',
+        width:1800,
+        visible: false,
+        disableSubmit: false
+      }
+    },
+    methods: {
+      // add () {
+      //   this.visible=true
+      //   this.$nextTick(()=>{
+      //     this.$refs.realForm.add();
+      //   })
+      // },
+      // edit (record) {
+      //   this.visible=true
+      //   this.$nextTick(()=>{
+      //     this.$refs.realForm.edit(record);
+      //   })
+      // },
+      close () {
+        this.$emit('close');
+        this.visible = false;
+      },
+      handleOk () {
+        
+      },
+      // submitCallback(){
+      //   this.$emit('ok');
+      //   this.visible = false;
+      // },
+      handleCancel () {
+        this.close()
+      }
+    }
+  }
+</script>