From 9d96f11fb1de77d1ad4fb0be04a10ae8eb7f46c9 Mon Sep 17 00:00:00 2001 From: ludc Date: 星期五, 04 八月 2023 17:52:08 +0800 Subject: [PATCH] 提交代码 --- Source/UBCS-WEB/src/components/Theme/ThemeAttrCrud.vue | 21 ++++++++++++++++++--- 1 files changed, 18 insertions(+), 3 deletions(-) diff --git a/Source/UBCS-WEB/src/components/Theme/ThemeAttrCrud.vue b/Source/UBCS-WEB/src/components/Theme/ThemeAttrCrud.vue index 66a96d4..3eecc2d 100644 --- a/Source/UBCS-WEB/src/components/Theme/ThemeAttrCrud.vue +++ b/Source/UBCS-WEB/src/components/Theme/ThemeAttrCrud.vue @@ -1,6 +1,6 @@ <template> <div> - <div style="display: flex;flex-wrap: wrap;" v-if="this.crudArrayFlag" class="app"> + <div style="display: flex;flex-wrap: wrap; display: inline-block" v-if="this.crudArrayFlag" class="app" > <el-button-group> <!--鏂板--> <el-button v-if="attrEditVisible == false && attrFlagChiledren==false && editOpenFlag && (!checkStatus || crudLCStatus=='Editing' )" size="small" type="primary" icon="el-icon-plus" plain @click="busineHandle">娣诲姞 {{ msg }}</el-button> @@ -386,6 +386,11 @@ if(newval){ this.editOpenFlag=false } + } + }, + crudArrayFlag:{ + handler(newval,olaval){ + console.log('crudArrayFlag',newval) } }, crudArray:{ @@ -1619,7 +1624,10 @@ this.addVisible = true; this.busineSelectList = [] this.busineAddList = []; - this.BuineAttrByBtm() + this.BuineAttrByBtm(); + this.$nextTick(() => { + this.$refs.AddOriginPlace.doLayout(); + }) }, //涓氬姟绫诲瀷鏁版嵁 BuineAttrByBtm(masterParameter){ @@ -1701,22 +1709,29 @@ if(item.componentRule){ //缁勫悎瑙勫垯 num++ + console.log('componentRule',num) } if(item.enumString || item.enumId){ //鏋氫妇 num++ + console.log('enumString',num) } if(item.referConfig || item.referBtmId){ //鍙傜収 num++ + console.log('referConfig',num) } if(item.codeDateFormat){ //鏃堕棿鏍煎紡 num++ + console.log('codeDateFormat',num) } - if(item.classifyInvokeLevel){ + //濡傛灉绌哄悗鍙拌繑鍥瀗one + if(item.classifyInvokeLevel && item.classifyInvokeLevel != 'none'){ //鍒嗙被娉ㄥ叆 num++ + console.log('classifyInvokeLevel',num) + console.log(item.classifyInvokeLevel) } if(num>1 && ischeck){ this.$message({ -- Gitblit v1.9.3