From a58b3e645e0f2f8cebff610c292107c566716702 Mon Sep 17 00:00:00 2001 From: wangting <675591594@qq.com> Date: 星期二, 01 八月 2023 16:23:08 +0800 Subject: [PATCH] 修改bug --- Source/UBCS-WEB/src/components/template/FlowPath.vue | 1 + Source/UBCS-WEB/src/option/system/dict.js | 6 +++--- Source/UBCS-WEB/src/views/modeling/BusinessAdd.vue | 1 + Source/UBCS-WEB/src/views/modeling/LinkTypeAdd.vue | 3 ++- Source/UBCS-WEB/src/views/system/dict.vue | 1 + Source/UBCS-WEB/src/views/modeling/Business.vue | 8 ++++++-- 6 files changed, 14 insertions(+), 6 deletions(-) diff --git a/Source/UBCS-WEB/src/components/template/FlowPath.vue b/Source/UBCS-WEB/src/components/template/FlowPath.vue index 5bb9834..2474641 100644 --- a/Source/UBCS-WEB/src/components/template/FlowPath.vue +++ b/Source/UBCS-WEB/src/components/template/FlowPath.vue @@ -42,6 +42,7 @@ height: "auto", border: true, align: 'center', + menu:!this.checkStatus || this.crudLCStatus == 'Editing', menuAlign: 'center', index: true, searchMenuSpan: 8, diff --git a/Source/UBCS-WEB/src/option/system/dict.js b/Source/UBCS-WEB/src/option/system/dict.js index f90d3c3..e2d5c72 100644 --- a/Source/UBCS-WEB/src/option/system/dict.js +++ b/Source/UBCS-WEB/src/option/system/dict.js @@ -1,6 +1,6 @@ export const optionParent = { height: 'auto', - calcHeight: 30, + calcHeight: 20, tip: false, searchShow: true, searchMenuSpan: 10, @@ -98,7 +98,7 @@ index: true, selection: true, viewBtn: true, - menuWidth: 300, + menuWidth: 240, dialogWidth: 880, dialogClickModal: false, column: [ @@ -152,7 +152,7 @@ { label: "瀛楀吀閿��", prop: "dictKey", - width: 80, + width: 200, rules: [ { required: true, diff --git a/Source/UBCS-WEB/src/views/modeling/Business.vue b/Source/UBCS-WEB/src/views/modeling/Business.vue index 317fdb0..fbcd5bd 100644 --- a/Source/UBCS-WEB/src/views/modeling/Business.vue +++ b/Source/UBCS-WEB/src/views/modeling/Business.vue @@ -140,7 +140,7 @@ <div class="sep" style="height:7px"> </div> - <avue-crud class="businessCrud" v-model="ref.form" :option="ref.option" :data="ref.data" + <avue-crud class="businessCrud" ref="businessCrud" v-model="ref.form" :option="ref.option" :data="ref.data" @selection-change="selectionChange"> </avue-crud> <span slot="footer" class="dialog-footer"> @@ -316,7 +316,6 @@ }) }, selectFromTable() { - console.log('鑾峰彇'); this.ref.visible = true; }, refOnLoad(domain) { @@ -339,10 +338,15 @@ }, dialoghandelfalse() { this.ref.visible = false; + this.$refs.businessCrud.toggleSelection() this.selectionList = []; this.domain = null; }, dialoghandeltrue() { + if(this.selectionList.length<1){ + this.$message.warning('璇烽�夋嫨鏁版嵁'); + return false; + } saveFromTable(this.selectionList, this.domain).then(res => { this.$message.success('淇濆瓨鎴愬姛'); this.dialoghandelfalse(); diff --git a/Source/UBCS-WEB/src/views/modeling/BusinessAdd.vue b/Source/UBCS-WEB/src/views/modeling/BusinessAdd.vue index d274858..8f23f75 100644 --- a/Source/UBCS-WEB/src/views/modeling/BusinessAdd.vue +++ b/Source/UBCS-WEB/src/views/modeling/BusinessAdd.vue @@ -5,6 +5,7 @@ append-to-body @close="closeSubmitDialog" width="70%" + top="6vh" style="height: 115vh;" > <el-form ref="form" :model="btmType" show-message="true" inline size="medium" label-suffix=":" class="btmTypeForm" diff --git a/Source/UBCS-WEB/src/views/modeling/LinkTypeAdd.vue b/Source/UBCS-WEB/src/views/modeling/LinkTypeAdd.vue index d0a0be0..41d5d56 100644 --- a/Source/UBCS-WEB/src/views/modeling/LinkTypeAdd.vue +++ b/Source/UBCS-WEB/src/views/modeling/LinkTypeAdd.vue @@ -1,5 +1,5 @@ <template> - <el-dialog title="閾炬帴绫诲瀷" :visible.sync="showSubmitDialog" append-to-body @close="closeSubmitDialog" width="70%" + <el-dialog title="閾炬帴绫诲瀷" :visible.sync="showSubmitDialog" append-to-body @close="closeSubmitDialog" width="70%" top="6vh" style="height: 115vh;"> <el-form ref="form" :model="linkType" show-message="true" inline size="medium" label-suffix=":" class="linkTypeForm" :rules="rules" @resetFields="resetForm" status-icon="true"> @@ -97,6 +97,7 @@ showSubmitDialog: false, option: { height: "330px", + tip:false, selection: true, headerAlign: 'center', border: true, diff --git a/Source/UBCS-WEB/src/views/system/dict.vue b/Source/UBCS-WEB/src/views/system/dict.vue index 1355028..6c95330 100644 --- a/Source/UBCS-WEB/src/views/system/dict.vue +++ b/Source/UBCS-WEB/src/views/system/dict.vue @@ -52,6 +52,7 @@ <el-dialog :title="`[${dictValue}]瀛楀吀閰嶇疆`" append-to-body :visible.sync="box" + top="6vh" width="1000px"> <avue-crud :option="optionChild" -- Gitblit v1.9.3