Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
项目统一框架
amos-boot-biz
Commits
2d16fc4e
Commit
2d16fc4e
authored
Jul 19, 2024
by
tianyiming
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/develop_tzs_register_to_0715' into…
Merge remote-tracking branch 'origin/develop_tzs_register_to_0715' into develop_tzs_register_to_0715
parents
a764b331
15ac1b7b
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
44 additions
and
1 deletion
+44
-1
DPSubServiceImpl.java
...s/boot/module/jyjc/biz/service/impl/DPSubServiceImpl.java
+10
-1
company.json
...boot-module-jyjc-biz/src/main/resources/json/company.json
+10
-0
equip_1000.json
...t-module-jyjc-biz/src/main/resources/json/equip_1000.json
+3
-0
equip_2000.json
...t-module-jyjc-biz/src/main/resources/json/equip_2000.json
+3
-0
equip_3000.json
...t-module-jyjc-biz/src/main/resources/json/equip_3000.json
+3
-0
equip_4000.json
...t-module-jyjc-biz/src/main/resources/json/equip_4000.json
+3
-0
equip_5000.json
...t-module-jyjc-biz/src/main/resources/json/equip_5000.json
+3
-0
equip_6000.json
...t-module-jyjc-biz/src/main/resources/json/equip_6000.json
+3
-0
equip_8000.json
...t-module-jyjc-biz/src/main/resources/json/equip_8000.json
+3
-0
equip_9000.json
...t-module-jyjc-biz/src/main/resources/json/equip_9000.json
+3
-0
No files found.
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-biz/src/main/java/com/yeejoin/amos/boot/module/jyjc/biz/service/impl/DPSubServiceImpl.java
View file @
2d16fc4e
...
...
@@ -71,6 +71,7 @@ public class DPSubServiceImpl {
Long
formSeq
=
tab
.
getLong
(
"formSeq"
);
Object
resultConvert
=
JsonValueUtils
.
getValueByKey
(
tab
,
"dataConfig"
,
"dataConfig.resultConvert"
);
Object
api
=
JsonValueUtils
.
getValueByKey
(
tab
,
"dataConfig"
,
"dataConfig.api"
);
Object
columnWidth
=
JsonValueUtils
.
getValueByKey
(
tab
,
"dataConfig"
,
"dataConfig.columnWidth"
);
JSONObject
map
=
content
.
getJSONObject
(
tab
.
getString
(
"key"
));
JSONObject
apiResult
=
new
JSONObject
();
...
...
@@ -107,7 +108,15 @@ public class DPSubServiceImpl {
this
.
buildSubFormData
(
map
,
i
,
yObj
,
apiResult
);
}
else
if
(
"formTable"
.
equals
(
yObj
.
get
(
"componentKey"
))){
map
=
new
JSONObject
();
map
.
put
(
"columns"
,
JsonValueUtils
.
getValueByKey
(
yObj
,
"visualParams"
,
"visualParams.modelTableColumns"
));
JSONArray
columns
=
(
JSONArray
)
JsonValueUtils
.
getValueByKey
(
yObj
,
"visualParams"
,
"visualParams.modelTableColumns"
);
JSONObject
columnWidthMap
=
(
JSONObject
)
columnWidth
;
columns
.
stream
().
forEach
(
x
->
{
JSONObject
xObj
=
(
JSONObject
)
x
;
if
(!
ValidationUtil
.
isEmpty
(
columnWidthMap
.
get
(
xObj
.
get
(
"dataIndex"
)))){
xObj
.
put
(
"width"
,
columnWidthMap
.
get
(
xObj
.
get
(
"dataIndex"
)));
}
});
map
.
put
(
"columns"
,
columns
);
map
.
put
(
"dataList"
,
apiResult
);
map
.
put
(
"showPage"
,
true
);
map
.
put
(
"api"
,
api
);
...
...
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-biz/src/main/resources/json/company.json
View file @
2d16fc4e
...
...
@@ -31,6 +31,16 @@
"size"
:
14
,
"USE_UNIT_CREDIT_CODE"
:
"{useUnitCode}"
}
},
"columnWidth"
:
{
"EQU_LIST"
:
150
,
"EQU_CATEGORY"
:
160
,
"EQU_DEFINE"
:
150
,
"PRODUCT_NAME"
:
180
,
"EQU_CODE"
:
180
,
"FACTORY_NUM"
:
180
,
"PRODUCE_UNIT_NAME"
:
180
,
"USE_UNIT_NAME"
:
180
}
}
}
...
...
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-biz/src/main/resources/json/equip_1000.json
View file @
2d16fc4e
...
...
@@ -70,6 +70,9 @@
"size"
:
10
,
"record"
:
"{record}"
}
},
"columnWidth"
:
{
}
}
}
...
...
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-biz/src/main/resources/json/equip_2000.json
View file @
2d16fc4e
...
...
@@ -70,6 +70,9 @@
"size"
:
10
,
"record"
:
"{record}"
}
},
"columnWidth"
:
{
}
}
}
...
...
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-biz/src/main/resources/json/equip_3000.json
View file @
2d16fc4e
...
...
@@ -70,6 +70,9 @@
"size"
:
10
,
"record"
:
"{record}"
}
},
"columnWidth"
:
{
}
}
}
...
...
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-biz/src/main/resources/json/equip_4000.json
View file @
2d16fc4e
...
...
@@ -70,6 +70,9 @@
"size"
:
10
,
"record"
:
"{record}"
}
},
"columnWidth"
:
{
}
}
}
...
...
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-biz/src/main/resources/json/equip_5000.json
View file @
2d16fc4e
...
...
@@ -70,6 +70,9 @@
"size"
:
10
,
"record"
:
"{record}"
}
},
"columnWidth"
:
{
}
}
}
...
...
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-biz/src/main/resources/json/equip_6000.json
View file @
2d16fc4e
...
...
@@ -70,6 +70,9 @@
"size"
:
10
,
"record"
:
"{record}"
}
},
"columnWidth"
:
{
}
}
}
...
...
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-biz/src/main/resources/json/equip_8000.json
View file @
2d16fc4e
...
...
@@ -70,6 +70,9 @@
"size"
:
10
,
"record"
:
"{record}"
}
},
"columnWidth"
:
{
}
}
}
...
...
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-biz/src/main/resources/json/equip_9000.json
View file @
2d16fc4e
...
...
@@ -70,6 +70,9 @@
"size"
:
10
,
"record"
:
"{record}"
}
},
"columnWidth"
:
{
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment