From e89438773fc23ad67be9d3e4f5b4f068a2439606 Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期三, 28 六月 2023 16:48:34 +0800 Subject: [PATCH] 主题库布局和行编辑修改 --- Source/UBCS-WEB/src/components/Crud/VciMasterCrud.vue | 17 ++++++++++++++--- 1 files changed, 14 insertions(+), 3 deletions(-) diff --git a/Source/UBCS-WEB/src/components/Crud/VciMasterCrud.vue b/Source/UBCS-WEB/src/components/Crud/VciMasterCrud.vue index 0992b9c..e9fd52a 100644 --- a/Source/UBCS-WEB/src/components/Crud/VciMasterCrud.vue +++ b/Source/UBCS-WEB/src/components/Crud/VciMasterCrud.vue @@ -60,6 +60,9 @@ :prop="item.prop" :sortable="item.sortable" :formatter="formatBoolean" + :width="item.label.length >=4 ?'150':item.label.length==3 ?'120':'90'" + :show-overflow-tooltip="true" + align="center" > <!-- 缂栬緫鍜屽睍绀洪�昏緫 --> <!-- <template slot-scope="{ row }">--> @@ -249,6 +252,11 @@ this.doLayout(); }, watch: { + tableHeadDataFateher:{ + handler(newval,oldval){ + this.options=newval.tableDefineVO.seniorQueryColumns + } + }, codeClassifyOid: { handler(newval, oldval) { this.codeClassifyOid = newval; @@ -281,9 +289,9 @@ // 杞崲鏁版嵁true鍜宖alse formatBoolean(row, column) { if (column.property === "xiaoshouwl" - ||column.property === "shifoupihaoguanli" - ||column.property === "caigouwl" - ||column.property === "kucunwl" + ||column.property === "shifoupihaoguanli" + ||column.property === "caigouwl" + ||column.property === "kucunwl" ||column.property === "passing") { return row[column.property] =='true'? "鏄�" : "鍚�"; } @@ -433,6 +441,7 @@ this.rowOid = ""; } this.selectRow = row; + this.parameter.ids = []; row.forEach((item) => { this.parameter.ids.push(item.oid); }); @@ -461,6 +470,8 @@ ...val, }).then((res) => { console.log(res); + this.tableData=res.data.data; + this.page.total=res.data.total }); }, //鐩镐技椤规煡璇� -- Gitblit v1.9.3