From 17e4d872c472e538064b012fc0b799aa2bd2460d Mon Sep 17 00:00:00 2001 From: jiangping <jp@doumee.com> Date: 星期二, 08 四月 2025 18:29:04 +0800 Subject: [PATCH] 代码初始化 --- admin/src/components/business/OperaWorkorderDetailSheWindow.vue | 48 +++--------------------------------------------- 1 files changed, 3 insertions(+), 45 deletions(-) diff --git a/admin/src/components/business/OperaWorkorderDetailSheWindow.vue b/admin/src/components/business/OperaWorkorderDetailSheWindow.vue index 24ecc6e..9ddf6a1 100644 --- a/admin/src/components/business/OperaWorkorderDetailSheWindow.vue +++ b/admin/src/components/business/OperaWorkorderDetailSheWindow.vue @@ -1,6 +1,7 @@ <template> <GlobalWindow :title="title" + width="60%" :visible.sync="visible" :confirm-working="isWorking" @confirm="confirm" @@ -131,46 +132,7 @@ data () { return { // 琛ㄥ崟鏁版嵁 - form: { - id: null, - creator: '', - createDate: '', - editor: '', - editDate: '', - isdeleted: '', - categoryId: '', - remark: '', - status: '', - sortnum: '', - type: '', - memberId: '', - companyId: '', - submitDate: '', - memberType: '', - memberQwids: '', - memberNames: '', - localtionId: '', - outJiuyi: '', - isYiwushi: '', - isHurted: '', - workRelated: '', - eventInfo: '', - emialMemberIds: '', - qwnoticeMemberIds: '', - happenTime: '', - typeId: '', - riskInfo: '', - managerId: '', - dealerId: '', - dispatchTime: '', - dispatchInfo: '', - dealTime: '', - dealInfo: '', - problemId: '', - problemNum: '', - locationName: '', - code: '' - }, + form: { }, // 楠岃瘉瑙勫垯 rules: { } @@ -192,11 +154,7 @@ open (title, target) { this.title = title this.visible = true - this.$nextTick(() => { - for (const key in this.form) { - this.form[key] = target[key] - } - }) + this.form = target } } } -- Gitblit v1.9.3