From 9bea132d7f320305a7378aeb91d08f061b2e689d Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期二, 27 六月 2023 18:01:55 +0800 Subject: [PATCH] 主数据单元格 --- Source/UBCS-WEB/src/components/Crud/VciMasterCrud.vue | 10 ++++++++++ Source/UBCS-WEB/vue.config.js | 4 ++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/Source/UBCS-WEB/src/components/Crud/VciMasterCrud.vue b/Source/UBCS-WEB/src/components/Crud/VciMasterCrud.vue index 0992b9c..48731fd 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; @@ -461,6 +469,8 @@ ...val, }).then((res) => { console.log(res); + this.tableData=res.data.data; + this.page.total=res.data.total }); }, //鐩镐技椤规煡璇� diff --git a/Source/UBCS-WEB/vue.config.js b/Source/UBCS-WEB/vue.config.js index 36148eb..07f5b89 100644 --- a/Source/UBCS-WEB/vue.config.js +++ b/Source/UBCS-WEB/vue.config.js @@ -28,13 +28,13 @@ // target: 'http://localhost:37000', // target: 'http://localhost:37000', // target: 'http://192.168.1.51:37000', - // target: 'http://192.168.1.46:37000', + target: 'http://192.168.1.46:37000', // target: 'http://dev.vci-tech.com:37000', // target: 'http://192.168.1.51:37000/', // target: 'http://192.168.1.104:37000', // target: 'http://192.168.1.63:37000', //target: 'http://192.168.3.7:37000', - target: 'http://dev.vci-tech.com:37000', + // target: 'http://dev.vci-tech.com:37000', // target: 'http://192.168.1.51:37000/', // target:'http://192.168.1.104:37000', //杩滅▼婕旂ず鏈嶅姟鍦板潃,鍙敤浜庣洿鎺ュ惎鍔ㄩ」鐩� -- Gitblit v1.9.3