diff --git a/src/components/DesignForm/app/index.vue b/src/components/DesignForm/app/index.vue
index 0910546..ba325bd 100644
--- a/src/components/DesignForm/app/index.vue
+++ b/src/components/DesignForm/app/index.vue
@@ -1807,14 +1807,14 @@ const readerColumnSun = (column: any) => {
};
//shuju
const tableChildren = (field:string,dataList:any) => {
- console.log("表头label长度-1->", field);
- console.log("表头label长度-2->", dataList);
+ // console.log("表头label长度-1->", field);
+ // console.log("表头label长度-2->", dataList);
// console.log("表头label长度-->", isObject(dataList));
let jieguo = ""
if(Array.isArray(dataList)){
dataList.forEach((item:any,key:string) => {
-
+ console.log("表头label长度-item--->",field, item);
if(isObject(item)){
for (let key in item) {
@@ -1822,7 +1822,12 @@ const tableChildren = (field:string,dataList:any) => {
if (field == key){
// console.log("表头label长度--结果>", item[key]);
// return item[key]
- jieguo = item[key]
+ if(jieguo!=""){
+jieguo = jieguo+"
"+item[key]
+ }else{
+ jieguo = item[key]
+ }
+
}
}
}
@@ -2066,7 +2071,7 @@ const isObject = (obj) => {
-
+
{
align="center"
>
+
- {{ sunItem.fieldClass }}
- {{ tableChildren(sunItem.field,scopeChilder.row[item.field]) }}
+
+
@@ -2602,6 +2608,7 @@ const isObject = (obj) => {
.operatLeft {
padding-bottom: 2px;
}
+
}
.group {
width: auto;
@@ -2656,4 +2663,12 @@ th {
padding: 8px;
vertical-align: middle; /* 设置文字上下居中 */
}
+.tableTdClass{
+ :deep .cell{
+ padding: 0;
+ }
+ :deep .el-table--default .cell{
+ padding: 0;
+ }
+}
diff --git a/src/components/DesignForm/tableListPage/index.vue b/src/components/DesignForm/tableListPage/index.vue
index c09b783..9cf2560 100644
--- a/src/components/DesignForm/tableListPage/index.vue
+++ b/src/components/DesignForm/tableListPage/index.vue
@@ -1680,7 +1680,11 @@ const tableChildren = (field:string,dataList:any) => {
if (field == key){
// console.log("表头label长度--结果>", item[key]);
// return item[key]
- jieguo = item[key]
+ if(jieguo!=""){
+jieguo = jieguo+""+item[key]
+ }else{
+ jieguo = item[key]
+ }
}
}
}
@@ -1916,7 +1920,7 @@ const isObject = (obj) => {
-
+
{
align="center"
>
-
-
- {{ tableChildren(sunItem.field,scopeChilder.row[item.field]) }}
-
-
+
+
+
+
+
+
+
+