From 52190152691bc217844d4f87b700274c297b104e Mon Sep 17 00:00:00 2001
From: qushaowei <qushaowei@163.com>
Date: 星期四, 25 七月 2024 09:55:53 +0800
Subject: [PATCH] 设备管理修改

---
 src/views/eam/ABC/modules/StreamModal.vue |   91 ++++++++++++++++++++++++---------------------
 1 files changed, 48 insertions(+), 43 deletions(-)

diff --git a/src/views/eam/ABC/modules/StreamModal.vue b/src/views/eam/ABC/modules/StreamModal.vue
index 4c1d193..2418be9 100644
--- a/src/views/eam/ABC/modules/StreamModal.vue
+++ b/src/views/eam/ABC/modules/StreamModal.vue
@@ -1,64 +1,69 @@
 <template>
   <j-modal
     :title="title"
-    :width="1200"
+    :width="1500"
     :visible="visible"
     :maskClosable="false"
     switchFullscreen
-    :fullscreen="true"
+    :fullscreen="false"
     @ok="handleOk"
     :okButtonProps="{ class:{'jee-hidden': disableSubmit} }"
-    @cancel="handleCancel">
-    <stream-form ref="realForm" @ok="submitCallback" :disabled="disableSubmit"/>
+    @cancel="handleCancel"
+  >
+    <stream-form
+      ref="realForm"
+      @ok="submitCallback"
+      :disabled="disableSubmit"
+    />
   </j-modal>
 </template>
 
 <script>
 
-  import StreamForm from './StreamForm'
+import StreamForm from './StreamForm'
 
-  export default {
-    name: 'StreamModal',
-    components: {
-      StreamForm
+export default {
+  name: 'StreamModal',
+  components: {
+    StreamForm
+  },
+  data() {
+    return {
+      title: '',
+      width: 800,
+      visible: false,
+      disableSubmit: false
+    }
+  },
+  methods: {
+    add() {
+      this.visible = true
+      this.$nextTick(() => {
+        this.$refs.realForm.add();
+      })
     },
-    data() {
-      return {
-        title:'',
-        width:800,
-        visible: false,
-        disableSubmit: false
-      }
+    edit(record) {
+      this.visible = true
+      this.$nextTick(() => {
+        this.$refs.realForm.edit(record);
+      })
     },
-    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 () {
-        this.$refs.realForm.handleOk();
-      },
-      submitCallback(){
-        this.$emit('ok');
-        this.visible = false;
-      },
-      handleCancel () {
-        this.close()
-      }
+    close() {
+      this.$emit('close');
+      this.visible = false;
+    },
+    handleOk() {
+      this.$refs.realForm.handleOk();
+    },
+    submitCallback() {
+      this.$emit('ok');
+      this.visible = false;
+    },
+    handleCancel() {
+      this.close()
     }
   }
+}
 </script>
 
 <style scoped>

--
Gitblit v1.9.3