From 5019ed6016b47221321bf395cd102dc4b51b4724 Mon Sep 17 00:00:00 2001 From: MrShi <1878285526@qq.com> Date: 星期一, 05 二月 2024 09:40:43 +0800 Subject: [PATCH] Mr.Shi --- platform/src/components/system/role/OperaRoleWindow.vue | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/platform/src/components/system/role/OperaRoleWindow.vue b/platform/src/components/system/role/OperaRoleWindow.vue index 03fce75..2c83918 100644 --- a/platform/src/components/system/role/OperaRoleWindow.vue +++ b/platform/src/components/system/role/OperaRoleWindow.vue @@ -35,7 +35,8 @@ id: null, code: '', name: '', - remark: '' + remark: '', + type: '', }, // 楠岃瘉瑙勫垯 rules: { @@ -49,13 +50,14 @@ } }, methods: { - open (title, target) { + open (title, target, type) { this.title = title this.visible = true // 鏂板缓 if (target == null) { this.$nextTick(() => { this.$refs.form.resetFields() + this.form.type = type this.form[this.configData['field.id']] = null }) return @@ -66,6 +68,7 @@ for (const key in this.form) { this.form[key] = target[key] } + this.form.type = type }) }, confirm () { -- Gitblit v1.9.3