From db64f12869fd7a7197715e613fdeab34d2e3f643 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=89=E8=99=B9=E7=9D=BF?= <297504645@qq.com> Date: Thu, 3 Aug 2023 16:54:27 +0800 Subject: [PATCH] =?UTF-8?q?api=E6=96=B0=E5=A2=9E=E7=BC=96=E8=BE=91?= =?UTF-8?q?=E6=9A=82=E5=AD=98-details?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/addEditFromApiPop/index.vue | 223 ++++++++----- .../addEditFromApiPop/index_mst.vue | 312 ++++++++++++++++++ .../src/components/currenTableFlex/index.vue | 18 +- .../src/components/umyTable/index.vue | 198 +++++++---- .../src/store/modules/definition.js | 2 +- .../src/views/demo/demo_api_handle.vue | 2 +- 6 files changed, 615 insertions(+), 140 deletions(-) create mode 100644 PC/InterFace.Dash/src/components/addEditFromApiPop/index_mst.vue diff --git a/PC/InterFace.Dash/src/components/addEditFromApiPop/index.vue b/PC/InterFace.Dash/src/components/addEditFromApiPop/index.vue index ec8858d..a23a87a 100644 --- a/PC/InterFace.Dash/src/components/addEditFromApiPop/index.vue +++ b/PC/InterFace.Dash/src/components/addEditFromApiPop/index.vue @@ -11,88 +11,108 @@ style="width:calc(100% - 28px);left:14px;top:14px;height:calc(100% - 28px)" v-loading="Loading.addEditApiLoading" > - +
- -
{{formTitle}}
- - - - + +
+
{{formTitle}} 【主表信息】
+ + - - - - - - - - - + - - + :prop="item.prop" + v-if="item.label.toUpperCase() != 'DETAILS'" + > + + + + + - - - - - - - + + + + + + + + + + + + +
+ +
+
{{formTitle}} 【子表信息】
+ + +
+
- - + @@ -805,8 +889,8 @@ export default { } ::v-deep .el-table__fixed { display: block-inline !important; - height: auto !important; - bottom: 13px !important; + height: 100% !important; + // bottom: 13px !important; .el-table__fixed-header-wrapper { z-index: auto !important; } diff --git a/PC/InterFace.Dash/src/store/modules/definition.js b/PC/InterFace.Dash/src/store/modules/definition.js index b6b8dc7..74365e6 100644 --- a/PC/InterFace.Dash/src/store/modules/definition.js +++ b/PC/InterFace.Dash/src/store/modules/definition.js @@ -74,7 +74,7 @@ export function initDtoTypesAndEnums(res,typeName,apiName) { } } d.baseApiName = apiName + d.name - d.label = zhApiColumnsLable(apiName + d.name,res.types) || d.name + d.label = zhApiColumnsLable(apiName + d.name) || d.name d.prop = firstWordSizeChange(d.name) }) return _dtos diff --git a/PC/InterFace.Dash/src/views/demo/demo_api_handle.vue b/PC/InterFace.Dash/src/views/demo/demo_api_handle.vue index f0a916c..3cc2e1b 100644 --- a/PC/InterFace.Dash/src/views/demo/demo_api_handle.vue +++ b/PC/InterFace.Dash/src/views/demo/demo_api_handle.vue @@ -1,6 +1,6 @@