From 90044289b992e5df6506c70b1e9bb299df321869 Mon Sep 17 00:00:00 2001
From: zhaowei <zhaowei>
Date: 星期三, 21 五月 2025 16:22:20 +0800
Subject: [PATCH] 1、全局加载名称调整为MDC智慧车间 2、消息确认页面调整设备异常反馈功能
---
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