From 9f38704fb05676220542f639ba85104625c3f446 Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期五, 26 一月 2024 15:44:43 +0800 Subject: [PATCH] 添加主数据手动同步,元数据管理添加下拉框条件搜索,业务类型修复bug拆分组件 --- Source/UBCS-WEB/src/views/modeling/BusinessAdd.vue | 25 ++++++++++++------------- 1 files changed, 12 insertions(+), 13 deletions(-) diff --git a/Source/UBCS-WEB/src/views/modeling/BusinessAdd.vue b/Source/UBCS-WEB/src/views/modeling/BusinessAdd.vue index c662081..4009cbb 100644 --- a/Source/UBCS-WEB/src/views/modeling/BusinessAdd.vue +++ b/Source/UBCS-WEB/src/views/modeling/BusinessAdd.vue @@ -2,6 +2,7 @@ <el-dialog title="涓氬姟绫诲瀷" :visible.sync="showSubmitDialog" + v-loading="loading" append-to-body @close="closeSubmitDialog" width="70%" @@ -11,7 +12,7 @@ <el-form ref="form" :model="btmType" show-message="true" inline size="medium" label-suffix=":" class="btmTypeForm" :rules="rules" @resetFields="resetForm" status-icon="true"> <el-form-item label="鑻辨枃鍚嶇О" label-width="100px" required="true" prop="id"> - <el-input v-model="btmType.id" :prefix-icon="icons.key" :disabled="type !== 'add'"></el-input> + <el-input v-model="btmType.id" :prefix-icon="icons.key" :disabled="false"></el-input> </el-form-item> <el-form-item label="涓枃鍚嶇О" label-width="100px"> <el-input v-model="btmType.name" :prefix-icon="icons.name"></el-input> @@ -202,20 +203,18 @@ }, type: { type:String, + }, + btmEditType:{ + type:Object, + default: {} } }, watch: { - type: { - handler(newval, oldval) { - // console.log('鐩戝惉', newval) - }, - deep: true, - immediate: true - } }, data() { return { form: {}, + loading:false, showSubmitDialog: false, option: { height: "330px", @@ -485,11 +484,11 @@ // 鍏抽棴缁勪欢寮圭獥 closeSubmitDialog() { this.showSubmitDialog = false; - this.btmType.attributes = []; - this.btmType = {}; - this.attrRef.selectData = []; - this.attrRef.queryNotIn = null; - this.resetForm(); + // this.btmType.attributes = []; + // this.btmType = {}; + // this.attrRef.selectData = []; + // this.attrRef.queryNotIn = null; + // this.resetForm(); }, // 鍏抽棴灞炴�ф睜鏌ヨ寮圭獥 closeAttrDialog() { -- Gitblit v1.9.3