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
a5d3be0b
Commit
a5d3be0b
authored
Jul 29, 2024
by
刘凡
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*)新增基本信息
parent
0c35f317
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
609 additions
and
152 deletions
+609
-152
DPSubBizMapper.java
...mos/boot/module/statistics/api/mapper/DPSubBizMapper.java
+20
-0
DPSubBizMapper.xml
...atistics-api/src/main/resources/mapper/DPSubBizMapper.xml
+34
-0
DPSubBizServiceImpl.java
...odule/statistcs/biz/service/impl/DPSubBizServiceImpl.java
+64
-0
DPSubServiceImpl.java
...t/module/statistcs/biz/service/impl/DPSubServiceImpl.java
+84
-23
company.json
...odule-statistics-biz/src/main/resources/json/company.json
+29
-1
equip_1000.json
...le-statistics-biz/src/main/resources/json/equip_1000.json
+43
-16
equip_2000.json
...le-statistics-biz/src/main/resources/json/equip_2000.json
+66
-16
equip_3000.json
...le-statistics-biz/src/main/resources/json/equip_3000.json
+45
-16
equip_4000.json
...le-statistics-biz/src/main/resources/json/equip_4000.json
+43
-16
equip_5000.json
...le-statistics-biz/src/main/resources/json/equip_5000.json
+43
-16
equip_6000.json
...le-statistics-biz/src/main/resources/json/equip_6000.json
+43
-16
equip_8000.json
...le-statistics-biz/src/main/resources/json/equip_8000.json
+52
-16
equip_9000.json
...le-statistics-biz/src/main/resources/json/equip_9000.json
+43
-16
No files found.
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-api/src/main/java/com/yeejoin/amos/boot/module/statistics/api/mapper/DPSubBizMapper.java
0 → 100644
View file @
a5d3be0b
package
com
.
yeejoin
.
amos
.
boot
.
module
.
statistics
.
api
.
mapper
;
import
org.apache.ibatis.annotations.Mapper
;
import
java.util.List
;
import
java.util.Map
;
/**
* Mapper 接口
*
* @author system_generator
* @date 2023-12-13
*/
@Mapper
public
interface
DPSubBizMapper
{
List
<
Map
<
String
,
String
>>
equOnJgServiceOperationRecords
(
String
record
);
List
<
Map
<
String
,
String
>>
queryForSafetyProblemTracingList
(
String
sourceId
);
}
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-api/src/main/resources/mapper/DPSubBizMapper.xml
0 → 100644
View file @
a5d3be0b
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.yeejoin.amos.boot.module.statistics.api.mapper.DPSubBizMapper"
>
<select
id=
"equOnJgServiceOperationRecords"
resultType=
"java.util.Map"
>
select
sequence_nbr as sequenceNbr,
business_type as businessType,
apply_no as applyNo,
rec_User_Id as recUserId,
rec_user_name as recUserName,
DATE_FORMAT(rec_date,'%Y-%m-%d %H:%i:%s') as recDate,
approval_unit as approvalUnit,
status,
route_path as routePath
from tzs_jg_resume_info
where equ_id = #{record}
order by rec_date ASC
</select>
<select
id=
"queryForSafetyProblemTracingList"
resultType=
"java.util.Map"
>
select
spt.*,
(select extend::json->>'pic' from cb_data_dictionary where type = 'ISSUE_TYPE' and code = spt.problem_type_code) problemTypePic
from tzs_safety_problem_tracing spt
<where>
spt.is_delete = false
<if
test=
"sourceId != null and sourceId != ''"
>
and spt.source_id = #{sourceId}
</if>
</where>
order by spt.create_date desc
</select>
</mapper>
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-biz/src/main/java/com/yeejoin/amos/boot/module/statistcs/biz/service/impl/DPSubBizServiceImpl.java
0 → 100644
View file @
a5d3be0b
package
com
.
yeejoin
.
amos
.
boot
.
module
.
statistcs
.
biz
.
service
.
impl
;
import
com.yeejoin.amos.boot.module.statistics.api.mapper.DPSubBizMapper
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.stereotype.Service
;
import
java.util.HashMap
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.stream.Collectors
;
/**
* 大屏二级页面实现类
*
* @author Administrator
*/
@Slf4j
@Service
public
class
DPSubBizServiceImpl
{
private
DPSubBizMapper
dpSubBizMapper
;
public
DPSubBizServiceImpl
(
DPSubBizMapper
dpSubBizMapper
)
{
this
.
dpSubBizMapper
=
dpSubBizMapper
;
}
/**
* 查询设备在jg业务中的记录
*
* @param record
* @return
*/
public
List
<
Map
<
String
,
String
>>
equOnJgServiceOperationRecords
(
String
record
)
{
return
dpSubBizMapper
.
equOnJgServiceOperationRecords
(
record
).
stream
()
.
map
(
x
->
{
Map
<
String
,
String
>
map
=
new
HashMap
<>();
map
.
put
(
"operatingTime"
,
x
.
get
(
"recDate"
));
String
content
=
String
.
format
(
"%s 创建人:%s 单号【%s】 审批单位:%s"
,
x
.
get
(
"businessType"
),
x
.
get
(
"recUserName"
),
x
.
get
(
"applyNo"
),
x
.
get
(
"approvalUnit"
));
map
.
put
(
"operater"
,
content
);
map
.
put
(
"routePath"
,
x
.
get
(
"routePath"
));
return
map
;
})
.
collect
(
Collectors
.
toList
());
}
/**
* 问题记录列表
* @param equipId
* @return
*/
public
List
<
Map
<
String
,
String
>>
queryProblemListByEquipId
(
String
equipId
)
{
return
dpSubBizMapper
.
queryForSafetyProblemTracingList
(
equipId
).
stream
()
.
map
(
x
->
{
Map
<
String
,
String
>
map
=
new
HashMap
<>();
map
.
put
(
"key"
,
x
.
get
(
"sequence_nbr"
));
map
.
put
(
"type"
,
x
.
get
(
"problem_type"
));
map
.
put
(
"descr"
,
x
.
get
(
"problem_desc"
));
map
.
put
(
"createDate"
,
x
.
get
(
"problem_time"
));
return
map
;
})
.
collect
(
Collectors
.
toList
());
}
}
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-biz/src/main/java/com/yeejoin/amos/boot/module/statistcs/biz/service/impl/DPSubServiceImpl.java
View file @
a5d3be0b
...
...
@@ -9,6 +9,7 @@ import com.yeejoin.amos.boot.biz.common.utils.JsonValueUtils;
import
com.yeejoin.amos.boot.biz.common.utils.RestTemplateUtils
;
import
com.yeejoin.amos.boot.biz.common.utils.StringUtils
;
import
com.yeejoin.amos.boot.module.statistcs.biz.utils.DpSubUtils
;
import
com.yeejoin.amos.boot.module.statistics.api.mapper.*
;
import
com.yeejoin.amos.feign.morphic.Morphic
;
import
com.yeejoin.amos.feign.morphic.model.FormSceneModel
;
import
jdk.nashorn.api.scripting.ScriptObjectMirror
;
...
...
@@ -53,6 +54,9 @@ public class DPSubServiceImpl {
@Autowired
DataDictionaryServiceImpl
iDataDictionaryService
;
@Autowired
DPSubBizServiceImpl
dpSubBizService
;
public
JSONObject
commonQuery
(
String
template
,
@RequestBody
Map
<
String
,
Object
>
param
)
{
JSONObject
result
=
new
JSONObject
();
String
templateJson
=
DpSubUtils
.
getFileContent
(
template
+
".json"
);
...
...
@@ -70,6 +74,7 @@ public class DPSubServiceImpl {
tabs
.
stream
().
forEach
(
x
->
{
JSONObject
tab
=
(
JSONObject
)
x
;
long
s
=
System
.
currentTimeMillis
();
tab
.
put
(
"template"
,
template
);
this
.
buildContent
(
content
,
tab
,
param
);
long
e
=
System
.
currentTimeMillis
();
log
.
info
(
"{}tab页处理结束,共耗时:{} 毫秒"
,
tab
.
get
(
"displayName"
),
(
e
-
s
));
...
...
@@ -141,8 +146,11 @@ public class DPSubServiceImpl {
map
.
getJSONArray
(
"subs"
).
add
(
matinfo
);
}
}
else
{
if
(
"timeline"
.
equals
(
renderType
)){
content
.
put
(
tab
.
getString
(
"key"
),
apiResult
);
if
(
"keyinfo"
.
equals
(
renderType
))
{
this
.
buildContentKeyinfoData
(
tab
,
content
,
apiResult
);
}
else
if
(
"timeline"
.
equals
(
renderType
)){
// 监管履历基本信息已经获取过,此次直接用
content
.
put
(
tab
.
getString
(
"key"
),
!
ValidationUtil
.
isEmpty
(
param
.
get
(
"reghistory"
))
?
param
.
get
(
"reghistory"
)
:
apiResult
);
}
else
if
(
"table"
.
equals
(
renderType
)){
Object
columns
=
JsonValueUtils
.
getValueByKey
(
tab
,
"visualParams"
,
"visualParams.columns"
);
map
.
put
(
"columns"
,
columns
);
...
...
@@ -155,6 +163,56 @@ public class DPSubServiceImpl {
}
}
public
JSONObject
buildContentKeyinfoData
(
JSONObject
tab
,
JSONObject
content
,
Object
apiResult
){
JSONObject
result
=
JSONObject
.
parseObject
(
apiResult
.
toString
());
JSONObject
param
=
tab
.
getJSONObject
(
"param"
);
Object
keyParams
=
JsonValueUtils
.
getValueByKey
(
content
,
"keyinfo"
,
"keyinfo.keyParams"
);
if
(
ValidationUtil
.
isEmpty
(
keyParams
)){
JSONObject
keyinfo
=
content
.
getJSONObject
(
"keyinfo"
);
// 气瓶区分车用和非车用
if
(
"2300"
.
equals
(
param
.
getString
(
"EQU_CATEGORY_CODE"
))){
keyParams
=
JsonValueUtils
.
getValueByKey
(
content
,
"keyinfo"
,
"keyinfo.keyParams_2300_"
+
(
"1"
.
equals
(
param
.
getString
(
"WHETHER_VEHICLE_CYLINDER"
))
?
"true"
:
"false"
));
keyinfo
.
remove
(
"keyParams_2300_true"
);
keyinfo
.
remove
(
"keyParams_2300_false"
);
}
else
{
Object
selectKeyParams
=
JsonValueUtils
.
getValueByKey
(
content
,
"keyinfo"
,
"keyinfo.keyParams_"
+
param
.
getString
(
"EQU_CATEGORY_CODE"
));
if
(!
ValidationUtil
.
isEmpty
(
selectKeyParams
)){
keyParams
=
selectKeyParams
;
keyinfo
.
remove
(
"keyinfo.keyParams_"
+
param
.
getString
(
"EQU_CATEGORY_CODE"
));
}
else
{
keyParams
=
JsonValueUtils
.
getValueByKey
(
content
,
"keyinfo"
,
"keyinfo.keyParams_default"
);
}
}
keyinfo
.
remove
(
"keyParams_default"
);
keyinfo
.
put
(
"keyParams"
,
keyParams
);
}
((
JSONArray
)
keyParams
).
stream
().
forEach
(
x
->
{
JSONObject
xobj
=
(
JSONObject
)
x
;
xobj
.
put
(
"type"
,
"text"
);
xobj
.
put
(
"value"
,
result
.
get
(
xobj
.
getString
(
"key"
)));
});
this
.
processQRCodeWidget
(
content
.
getJSONObject
(
"keyinfo"
).
getJSONObject
(
"qrcode"
),
result
);
if
(
tab
.
getString
(
"template"
).
contains
(
"equip"
)){
// 处理问题列表
List
<
Map
<
String
,
String
>>
problem
=
dpSubBizService
.
queryProblemListByEquipId
(
param
.
getString
(
"record"
));
if
(!
ValidationUtil
.
isEmpty
(
problem
)){
Object
qrcode
=
JsonValueUtils
.
getValueByKey
(
content
,
"keyinfo"
,
"keyinfo.qrcode"
);
((
JSONObject
)
qrcode
).
put
(
"problem"
,
problem
);
}
// 处理监管履历
List
<
Map
<
String
,
String
>>
datas
=
dpSubBizService
.
equOnJgServiceOperationRecords
(
param
.
getString
(
"record"
));
if
(!
ValidationUtil
.
isEmpty
(
datas
)){
Object
infoRecords
=
JsonValueUtils
.
getValueByKey
(
content
,
"keyinfo"
,
"keyinfo.infoRecords"
);
((
JSONObject
)
infoRecords
).
put
(
"datas"
,
datas
);
param
.
put
(
"reghistory"
,
datas
);
}
}
return
content
;
}
private
JSONArray
processShowHideRules
(
JSONArray
children
,
Object
showHideRules
,
Object
apiResult
)
{
JSONObject
result
=
JSONObject
.
parseObject
(
apiResult
.
toString
());
if
(!
ValidationUtil
.
isEmpty
(
showHideRules
))
{
...
...
@@ -305,30 +363,10 @@ public class DPSubServiceImpl {
JSONArray
datas
=
new
JSONArray
();
// 处理二维码
mergedArray
.
stream
().
filter
(
x
->
"QRCode"
.
equals
(
JsonValueUtils
.
getValueByKey
(
x
,
"componentKey"
,
null
))).
findFirst
().
ifPresent
(
x
->
{
JSONObject
qrcode
=
map
.
getJSONObject
(
"qrcode"
);
String
problemTime
=
result
.
getString
(
"problemTime"
);
String
problemStatus
=
result
.
getString
(
"problemStatus"
);
String
color
=
null
;
if
(!
ValidationUtil
.
isEmpty
(
problemTime
))
{
try
{
qrcode
.
put
(
"text"
,
DateUtil
.
formatDate
(
DateUtil
.
smartFormat
(
problemTime
),
"yyyy-MM-dd"
));
qrcode
.
put
(
"subtext"
,
DateUtil
.
formatDate
(
DateUtil
.
smartFormat
(
problemTime
),
"HH:mm:ss"
));
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
}
}
if
(
"正常"
.
equals
(
problemStatus
))
{
color
=
"green"
;
}
else
if
(
"异常"
.
equals
(
problemStatus
))
{
color
=
"red"
;
}
qrcode
.
put
(
"value"
,
!
ValidationUtil
.
isEmpty
(
result
.
get
(
"useCode"
))
?
result
.
get
(
"useCode"
)
:
result
.
get
(
"USE_ORG_CODE"
));
qrcode
.
put
(
"status"
,
problemStatus
);
qrcode
.
put
(
"color"
,
color
);
this
.
processQRCodeWidget
(
map
.
getJSONObject
(
"qrcode"
),
result
);
});
mergedArray
=
mergedArray
.
stream
().
filter
(
x
->
!
"QRCode"
.
equals
(
JsonValueUtils
.
getValueByKey
(
x
,
"componentKey"
,
null
))).
collect
(
Collectors
.
toList
());
mergedArray
.
stream
().
forEach
(
x
->
{
Object
fieldKey
=
JsonValueUtils
.
getValueByKey
(
x
,
"visualParams"
,
"visualParams.fieldKey"
);
if
(!
ValidationUtil
.
isEmpty
(
fieldKey
))
{
...
...
@@ -366,6 +404,29 @@ public class DPSubServiceImpl {
return
map
;
}
public
JSONObject
processQRCodeWidget
(
JSONObject
qrcode
,
JSONObject
result
)
{
String
problemTime
=
result
.
getString
(
"problemTime"
);
String
problemStatus
=
result
.
getString
(
"problemStatus"
);
String
color
=
null
;
if
(!
ValidationUtil
.
isEmpty
(
problemTime
))
{
try
{
qrcode
.
put
(
"text"
,
DateUtil
.
formatDate
(
DateUtil
.
smartFormat
(
problemTime
),
"yyyy-MM-dd"
));
qrcode
.
put
(
"subtext"
,
DateUtil
.
formatDate
(
DateUtil
.
smartFormat
(
problemTime
),
"HH:mm:ss"
));
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
}
}
if
(
"正常"
.
equals
(
problemStatus
))
{
color
=
"green"
;
}
else
if
(
"异常"
.
equals
(
problemStatus
))
{
color
=
"red"
;
}
qrcode
.
put
(
"value"
,
!
ValidationUtil
.
isEmpty
(
result
.
get
(
"useCode"
))
?
result
.
get
(
"useCode"
)
:
result
.
get
(
"USE_ORG_CODE"
));
qrcode
.
put
(
"status"
,
problemStatus
);
qrcode
.
put
(
"color"
,
color
);
return
qrcode
;
}
/**
* 处理不同组件的展示
*
...
...
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-biz/src/main/resources/json/company.json
View file @
a5d3be0b
...
...
@@ -2,8 +2,19 @@
"name"
:
"企业模板"
,
"tabs"
:
[
{
"key"
:
"
basic
"
,
"key"
:
"
keyinfo
"
,
"displayName"
:
"基本信息"
,
"renderType"
:
"keyinfo"
,
"dataConfig"
:
{
"api"
:
{
"httpMethod"
:
"GET"
,
"apiPath"
:
"/jczs/baseEnterprise/{sequenceNbr}"
}
}
},
{
"key"
:
"basic"
,
"displayName"
:
"详细信息"
,
"renderType"
:
"basic"
,
"formSeq"
:
"1793454184889085953"
,
"dataConfig"
:
{
...
...
@@ -59,6 +70,23 @@
}
],
"content"
:
{
"keyinfo"
:
{
"status"
:
[],
"qrcode"
:
{
"title"
:
"监管码"
},
"keyParams"
:
[
{
"key"
:
"unitType"
,
"label"
:
"单位类型"
},
{
"key"
:
"useUnit"
,
"label"
:
"单位名称"
},
{
"key"
:
"useUnitCode"
,
"label"
:
"证件号码"
},
{
"key"
:
"governingBody"
,
"label"
:
"管辖机构"
},
{
"key"
:
"address"
,
"label"
:
"地址"
},
{
"key"
:
"legalPerson"
,
"label"
:
"法人"
},
{
"key"
:
"useContact"
,
"label"
:
"单位联系人"
},
{
"key"
:
"contactPhone"
,
"label"
:
"联系电话"
},
{
"key"
:
"keyUnit"
,
"label"
:
"是否重点监控单位"
}
]
},
"basic"
:
{
"columns"
:
2
,
"datas"
:
[],
...
...
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-biz/src/main/resources/json/equip_1000.json
View file @
a5d3be0b
...
...
@@ -2,8 +2,23 @@
"name"
:
"设备-锅炉"
,
"tabs"
:
[
{
"key"
:
"keyinfo"
,
"displayName"
:
"基本信息"
,
"renderType"
:
"keyinfo"
,
"dataConfig"
:
{
"api"
:
{
"httpMethod"
:
"GET"
,
"apiPath"
:
"/ymt/equipment-category/getFormRecordById"
,
"params"
:
{
"alias"
:
"{EQU_LIST_CODE}"
,
"id"
:
"{SEQUENCE_NBR}"
}
}
}
},
{
"key"
:
"basic"
,
"displayName"
:
"
设备
信息"
,
"displayName"
:
"
详细
信息"
,
"renderType"
:
"basic"
,
"formSeq"
:
"1793458381554479105"
,
"dataConfig"
:
{
...
...
@@ -69,21 +84,7 @@
{
"key"
:
"reghistory"
,
"displayName"
:
"监管履历信息"
,
"renderType"
:
"timeline"
,
"formSeq"
:
""
,
"dataConfig"
:
{
"api"
:
{
"httpMethod"
:
"GET"
,
"apiPath"
:
"/jg/common/equOnJgServiceOperationRecords"
,
"params"
:
{
"record"
:
"{record}"
},
"ruleData"
:
{
"responseSuccess"
:
"data.result"
,
"operater"
:
"content"
}
}
}
"renderType"
:
"timeline"
},
{
"key"
:
"devtable"
,
...
...
@@ -118,6 +119,32 @@
}
],
"content"
:
{
"keyinfo"
:
{
"status"
:
[],
"qrcode"
:
{
"title"
:
"监管码"
},
"keyParams"
:
[
{
"key"
:
"unitType"
,
"label"
:
"使用登记证编号"
},
{
"key"
:
"useUnit"
,
"label"
:
"登记机关"
},
{
"key"
:
"useUnitCode"
,
"label"
:
"登记日期"
},
{
"key"
:
"governingBody"
,
"label"
:
"使用单位名称"
},
{
"key"
:
"unitType"
,
"label"
:
"设备使用地点"
},
{
"key"
:
"useUnit"
,
"label"
:
"设备种类"
},
{
"key"
:
"useUnitCode"
,
"label"
:
"设备类别"
},
{
"key"
:
"governingBody"
,
"label"
:
"设备品种"
},
{
"key"
:
"governingBody"
,
"label"
:
"单位内编号"
},
{
"key"
:
"governingBody"
,
"label"
:
"设备代码"
},
{
"key"
:
"governingBody"
,
"label"
:
"下一次检验日期"
}
],
"infoRecords"
:
{
"title"
:
"监管记录"
,
"renderType"
:
"timeline"
,
"showMore"
:
true
,
"moreKey"
:
"reghistory"
,
"datas"
:
[]
}
},
"basic"
:
{
"columns"
:
3
,
"datas"
:
[],
...
...
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-biz/src/main/resources/json/equip_2000.json
View file @
a5d3be0b
...
...
@@ -2,8 +2,23 @@
"name"
:
"设备-压力容器"
,
"tabs"
:
[
{
"key"
:
"keyinfo"
,
"displayName"
:
"基本信息"
,
"renderType"
:
"keyinfo"
,
"dataConfig"
:
{
"api"
:
{
"httpMethod"
:
"GET"
,
"apiPath"
:
"/ymt/equipment-category/getFormRecordById"
,
"params"
:
{
"alias"
:
"{EQU_LIST_CODE}"
,
"id"
:
"{SEQUENCE_NBR}"
}
}
}
},
{
"key"
:
"basic"
,
"displayName"
:
"
设备
信息"
,
"displayName"
:
"
详细
信息"
,
"renderType"
:
"basic"
,
"formSeq"
:
"1793458381554479105"
,
"dataConfig"
:
{
...
...
@@ -73,21 +88,7 @@
{
"key"
:
"reghistory"
,
"displayName"
:
"监管履历信息"
,
"renderType"
:
"timeline"
,
"formSeq"
:
""
,
"dataConfig"
:
{
"api"
:
{
"httpMethod"
:
"GET"
,
"apiPath"
:
"/jg/common/equOnJgServiceOperationRecords"
,
"params"
:
{
"record"
:
"{record}"
},
"ruleData"
:
{
"responseSuccess"
:
"data.result"
,
"operater"
:
"content"
}
}
}
"renderType"
:
"timeline"
},
{
"key"
:
"devtable"
,
...
...
@@ -122,6 +123,55 @@
}
],
"content"
:
{
"keyinfo"
:
{
"status"
:
[],
"qrcode"
:
{
"title"
:
"监管码"
},
"keyParams_default"
:
[
{
"key"
:
"unitType"
,
"label"
:
"使用登记证编号"
},
{
"key"
:
"useUnit"
,
"label"
:
"登记机关"
},
{
"key"
:
"useUnitCode"
,
"label"
:
"登记日期"
},
{
"key"
:
"governingBody"
,
"label"
:
"使用单位名称"
},
{
"key"
:
"unitType"
,
"label"
:
"设备使用地点"
},
{
"key"
:
"useUnit"
,
"label"
:
"设备种类"
},
{
"key"
:
"useUnitCode"
,
"label"
:
"设备类别"
},
{
"key"
:
"governingBody"
,
"label"
:
"设备品种"
},
{
"key"
:
"governingBody"
,
"label"
:
"单位内编号"
},
{
"key"
:
"governingBody"
,
"label"
:
"设备代码"
},
{
"key"
:
"governingBody"
,
"label"
:
"下一次检验日期"
}
],
"keyParams_2300_true"
:
[
{
"key"
:
"unitType"
,
"label"
:
"使用登记证编号"
},
{
"key"
:
"useUnit"
,
"label"
:
"登记机关"
},
{
"key"
:
"useUnitCode"
,
"label"
:
"登记日期"
},
{
"key"
:
"governingBody"
,
"label"
:
"使用单位名称"
},
{
"key"
:
"unitType"
,
"label"
:
"设备使用地点"
},
{
"key"
:
"useUnit"
,
"label"
:
"设备类别"
},
{
"key"
:
"useUnitCode"
,
"label"
:
"下一次检验日期"
}
],
"keyParams_2300_false"
:
[
{
"key"
:
"unitType"
,
"label"
:
"使用登记证编号"
},
{
"key"
:
"useUnit"
,
"label"
:
"登记机关"
},
{
"key"
:
"useUnitCode"
,
"label"
:
"登记日期"
},
{
"key"
:
"governingBody"
,
"label"
:
"使用单位名称"
},
{
"key"
:
"unitType"
,
"label"
:
"使用单位地址"
},
{
"key"
:
"useUnit"
,
"label"
:
"车牌号"
},
{
"key"
:
"useUnitCode"
,
"label"
:
"车辆VIN码"
},
{
"key"
:
"useUnitCode"
,
"label"
:
"气瓶品种"
},
{
"key"
:
"useUnitCode"
,
"label"
:
"产品名称"
},
{
"key"
:
"useUnitCode"
,
"label"
:
"气瓶数量"
},
{
"key"
:
"useUnitCode"
,
"label"
:
"充装介质"
},
{
"key"
:
"useUnitCode"
,
"label"
:
"下次检验日期"
}
],
"infoRecords"
:
{
"title"
:
"监管记录"
,
"renderType"
:
"timeline"
,
"showMore"
:
true
,
"moreKey"
:
"reghistory"
,
"datas"
:
[]
}
},
"basic"
:
{
"columns"
:
3
,
"datas"
:
[],
...
...
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-biz/src/main/resources/json/equip_3000.json
View file @
a5d3be0b
...
...
@@ -2,8 +2,23 @@
"name"
:
"设备-电梯"
,
"tabs"
:
[
{
"key"
:
"keyinfo"
,
"displayName"
:
"基本信息"
,
"renderType"
:
"keyinfo"
,
"dataConfig"
:
{
"api"
:
{
"httpMethod"
:
"GET"
,
"apiPath"
:
"/ymt/equipment-category/getFormRecordById"
,
"params"
:
{
"alias"
:
"{EQU_LIST_CODE}"
,
"id"
:
"{SEQUENCE_NBR}"
}
}
}
},
{
"key"
:
"basic"
,
"displayName"
:
"
设备
信息"
,
"displayName"
:
"
详细
信息"
,
"renderType"
:
"basic"
,
"formSeq"
:
"1793458381554479105"
,
"dataConfig"
:
{
...
...
@@ -69,21 +84,7 @@
{
"key"
:
"reghistory"
,
"displayName"
:
"监管履历信息"
,
"renderType"
:
"timeline"
,
"formSeq"
:
""
,
"dataConfig"
:
{
"api"
:
{
"httpMethod"
:
"GET"
,
"apiPath"
:
"/jg/common/equOnJgServiceOperationRecords"
,
"params"
:
{
"record"
:
"{record}"
},
"ruleData"
:
{
"responseSuccess"
:
"data.result"
,
"operater"
:
"content"
}
}
}
"renderType"
:
"timeline"
},
{
"key"
:
"devtable"
,
...
...
@@ -118,6 +119,34 @@
}
],
"content"
:
{
"keyinfo"
:
{
"status"
:
[],
"qrcode"
:
{
"title"
:
"监管码"
},
"keyParams"
:
[
{
"key"
:
"unitType"
,
"label"
:
"使用登记证编号"
},
{
"key"
:
"useUnit"
,
"label"
:
"登记机关"
},
{
"key"
:
"useUnitCode"
,
"label"
:
"登记日期"
},
{
"key"
:
"governingBody"
,
"label"
:
"使用单位名称"
},
{
"key"
:
"unitType"
,
"label"
:
"设备使用地点"
},
{
"key"
:
"useUnit"
,
"label"
:
"设备种类"
},
{
"key"
:
"useUnitCode"
,
"label"
:
"设备类别"
},
{
"key"
:
"governingBody"
,
"label"
:
"设备品种"
},
{
"key"
:
"governingBody"
,
"label"
:
"单位内编号"
},
{
"key"
:
"governingBody"
,
"label"
:
"设备代码"
},
{
"key"
:
"governingBody"
,
"label"
:
"维保单位名称"
},
{
"key"
:
"governingBody"
,
"label"
:
"维保备案有效期"
},
{
"key"
:
"governingBody"
,
"label"
:
"下一次检验日期"
}
],
"infoRecords"
:
{
"title"
:
"监管记录"
,
"renderType"
:
"timeline"
,
"showMore"
:
true
,
"moreKey"
:
"reghistory"
,
"datas"
:
[]
}
},
"basic"
:
{
"columns"
:
3
,
"datas"
:
[],
...
...
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-biz/src/main/resources/json/equip_4000.json
View file @
a5d3be0b
...
...
@@ -2,8 +2,23 @@
"name"
:
"设备-起重机械"
,
"tabs"
:
[
{
"key"
:
"keyinfo"
,
"displayName"
:
"基本信息"
,
"renderType"
:
"keyinfo"
,
"dataConfig"
:
{
"api"
:
{
"httpMethod"
:
"GET"
,
"apiPath"
:
"/ymt/equipment-category/getFormRecordById"
,
"params"
:
{
"alias"
:
"{EQU_LIST_CODE}"
,
"id"
:
"{SEQUENCE_NBR}"
}
}
}
},
{
"key"
:
"basic"
,
"displayName"
:
"
设备
信息"
,
"displayName"
:
"
详细
信息"
,
"renderType"
:
"basic"
,
"formSeq"
:
"1793458381554479105"
,
"dataConfig"
:
{
...
...
@@ -65,21 +80,7 @@
{
"key"
:
"reghistory"
,
"displayName"
:
"监管履历信息"
,
"renderType"
:
"timeline"
,
"formSeq"
:
""
,
"dataConfig"
:
{
"api"
:
{
"httpMethod"
:
"GET"
,
"apiPath"
:
"/jg/common/equOnJgServiceOperationRecords"
,
"params"
:
{
"record"
:
"{record}"
},
"ruleData"
:
{
"responseSuccess"
:
"data.result"
,
"operater"
:
"content"
}
}
}
"renderType"
:
"timeline"
},
{
"key"
:
"devtable"
,
...
...
@@ -114,6 +115,32 @@
}
],
"content"
:
{
"keyinfo"
:
{
"status"
:
[],
"qrcode"
:
{
"title"
:
"监管码"
},
"keyParams"
:
[
{
"key"
:
"unitType"
,
"label"
:
"使用登记证编号"
},
{
"key"
:
"useUnit"
,
"label"
:
"登记机关"
},
{
"key"
:
"useUnitCode"
,
"label"
:
"登记日期"
},
{
"key"
:
"governingBody"
,
"label"
:
"使用单位名称"
},
{
"key"
:
"unitType"
,
"label"
:
"设备使用地点"
},
{
"key"
:
"useUnit"
,
"label"
:
"设备种类"
},
{
"key"
:
"useUnitCode"
,
"label"
:
"设备类别"
},
{
"key"
:
"governingBody"
,
"label"
:
"设备品种"
},
{
"key"
:
"governingBody"
,
"label"
:
"单位内编号"
},
{
"key"
:
"governingBody"
,
"label"
:
"设备代码"
},
{
"key"
:
"governingBody"
,
"label"
:
"下一次检验日期"
}
],
"infoRecords"
:
{
"title"
:
"监管记录"
,
"renderType"
:
"timeline"
,
"showMore"
:
true
,
"moreKey"
:
"reghistory"
,
"datas"
:
[]
}
},
"basic"
:
{
"columns"
:
3
,
"datas"
:
[],
...
...
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-biz/src/main/resources/json/equip_5000.json
View file @
a5d3be0b
...
...
@@ -2,8 +2,23 @@
"name"
:
"设备-场(厂)内机动车"
,
"tabs"
:
[
{
"key"
:
"keyinfo"
,
"displayName"
:
"基本信息"
,
"renderType"
:
"keyinfo"
,
"dataConfig"
:
{
"api"
:
{
"httpMethod"
:
"GET"
,
"apiPath"
:
"/ymt/equipment-category/getFormRecordById"
,
"params"
:
{
"alias"
:
"{EQU_LIST_CODE}"
,
"id"
:
"{SEQUENCE_NBR}"
}
}
}
},
{
"key"
:
"basic"
,
"displayName"
:
"
设备
信息"
,
"displayName"
:
"
详细
信息"
,
"renderType"
:
"basic"
,
"formSeq"
:
"1793458381554479105"
,
"dataConfig"
:
{
...
...
@@ -61,21 +76,7 @@
{
"key"
:
"reghistory"
,
"displayName"
:
"监管履历信息"
,
"renderType"
:
"timeline"
,
"formSeq"
:
""
,
"dataConfig"
:
{
"api"
:
{
"httpMethod"
:
"GET"
,
"apiPath"
:
"/jg/common/equOnJgServiceOperationRecords"
,
"params"
:
{
"record"
:
"{record}"
},
"ruleData"
:
{
"responseSuccess"
:
"data.result"
,
"operater"
:
"content"
}
}
}
"renderType"
:
"timeline"
},
{
"key"
:
"devtable"
,
...
...
@@ -110,6 +111,32 @@
}
],
"content"
:
{
"keyinfo"
:
{
"status"
:
[],
"qrcode"
:
{
"title"
:
"监管码"
},
"keyParams"
:
[
{
"key"
:
"unitType"
,
"label"
:
"使用登记证编号"
},
{
"key"
:
"useUnit"
,
"label"
:
"登记机关"
},
{
"key"
:
"useUnitCode"
,
"label"
:
"登记日期"
},
{
"key"
:
"governingBody"
,
"label"
:
"使用单位名称"
},
{
"key"
:
"unitType"
,
"label"
:
"设备使用地点"
},
{
"key"
:
"useUnit"
,
"label"
:
"设备种类"
},
{
"key"
:
"useUnitCode"
,
"label"
:
"设备类别"
},
{
"key"
:
"governingBody"
,
"label"
:
"设备品种"
},
{
"key"
:
"governingBody"
,
"label"
:
"单位内编号"
},
{
"key"
:
"governingBody"
,
"label"
:
"设备代码"
},
{
"key"
:
"governingBody"
,
"label"
:
"下一次检验日期"
}
],
"infoRecords"
:
{
"title"
:
"监管记录"
,
"renderType"
:
"timeline"
,
"showMore"
:
true
,
"moreKey"
:
"reghistory"
,
"datas"
:
[]
}
},
"basic"
:
{
"columns"
:
3
,
"datas"
:
[],
...
...
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-biz/src/main/resources/json/equip_6000.json
View file @
a5d3be0b
...
...
@@ -2,8 +2,23 @@
"name"
:
"设备-大型游乐设施"
,
"tabs"
:
[
{
"key"
:
"keyinfo"
,
"displayName"
:
"基本信息"
,
"renderType"
:
"keyinfo"
,
"dataConfig"
:
{
"api"
:
{
"httpMethod"
:
"GET"
,
"apiPath"
:
"/ymt/equipment-category/getFormRecordById"
,
"params"
:
{
"alias"
:
"{EQU_LIST_CODE}"
,
"id"
:
"{SEQUENCE_NBR}"
}
}
}
},
{
"key"
:
"basic"
,
"displayName"
:
"
设备
信息"
,
"displayName"
:
"
详细
信息"
,
"renderType"
:
"basic"
,
"formSeq"
:
"1793458381554479105"
,
"dataConfig"
:
{
...
...
@@ -55,21 +70,7 @@
{
"key"
:
"reghistory"
,
"displayName"
:
"监管履历信息"
,
"renderType"
:
"timeline"
,
"formSeq"
:
""
,
"dataConfig"
:
{
"api"
:
{
"httpMethod"
:
"GET"
,
"apiPath"
:
"/jg/common/equOnJgServiceOperationRecords"
,
"params"
:
{
"record"
:
"{record}"
},
"ruleData"
:
{
"responseSuccess"
:
"data.result"
,
"operater"
:
"content"
}
}
}
"renderType"
:
"timeline"
},
{
"key"
:
"devtable"
,
...
...
@@ -104,6 +105,32 @@
}
],
"content"
:
{
"keyinfo"
:
{
"status"
:
[],
"qrcode"
:
{
"title"
:
"监管码"
},
"keyParams"
:
[
{
"key"
:
"unitType"
,
"label"
:
"使用登记证编号"
},
{
"key"
:
"useUnit"
,
"label"
:
"登记机关"
},
{
"key"
:
"useUnitCode"
,
"label"
:
"登记日期"
},
{
"key"
:
"governingBody"
,
"label"
:
"使用单位名称"
},
{
"key"
:
"unitType"
,
"label"
:
"设备使用地点"
},
{
"key"
:
"useUnit"
,
"label"
:
"设备种类"
},
{
"key"
:
"useUnitCode"
,
"label"
:
"设备类别"
},
{
"key"
:
"governingBody"
,
"label"
:
"设备品种"
},
{
"key"
:
"governingBody"
,
"label"
:
"单位内编号"
},
{
"key"
:
"governingBody"
,
"label"
:
"设备代码"
},
{
"key"
:
"governingBody"
,
"label"
:
"下一次检验日期"
}
],
"infoRecords"
:
{
"title"
:
"监管记录"
,
"renderType"
:
"timeline"
,
"showMore"
:
true
,
"moreKey"
:
"reghistory"
,
"datas"
:
[]
}
},
"basic"
:
{
"columns"
:
3
,
"datas"
:
[],
...
...
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-biz/src/main/resources/json/equip_8000.json
View file @
a5d3be0b
...
...
@@ -2,8 +2,23 @@
"name"
:
"设备-压力管道"
,
"tabs"
:
[
{
"key"
:
"keyinfo"
,
"displayName"
:
"基本信息"
,
"renderType"
:
"keyinfo"
,
"dataConfig"
:
{
"api"
:
{
"httpMethod"
:
"GET"
,
"apiPath"
:
"/ymt/equipment-category/getFormRecordById"
,
"params"
:
{
"alias"
:
"{EQU_LIST_CODE}"
,
"id"
:
"{SEQUENCE_NBR}"
}
}
}
},
{
"key"
:
"basic"
,
"displayName"
:
"
设备
信息"
,
"displayName"
:
"
详细
信息"
,
"renderType"
:
"basic"
,
"formSeq"
:
"1793458381554479105"
,
"dataConfig"
:
{
...
...
@@ -61,21 +76,7 @@
{
"key"
:
"reghistory"
,
"displayName"
:
"监管履历信息"
,
"renderType"
:
"timeline"
,
"formSeq"
:
""
,
"dataConfig"
:
{
"api"
:
{
"httpMethod"
:
"GET"
,
"apiPath"
:
"/jg/common/equOnJgServiceOperationRecords"
,
"params"
:
{
"record"
:
"{record}"
},
"ruleData"
:
{
"responseSuccess"
:
"data.result"
,
"operater"
:
"content"
}
}
}
"renderType"
:
"timeline"
},
{
"key"
:
"devtable"
,
...
...
@@ -110,6 +111,41 @@
}
],
"content"
:
{
"keyinfo"
:
{
"status"
:
[],
"qrcode"
:
{
"title"
:
"监管码"
},
"keyParams_default"
:
[
{
"key"
:
"unitType"
,
"label"
:
"使用登记证编号"
},
{
"key"
:
"useUnit"
,
"label"
:
"登记机关"
},
{
"key"
:
"useUnitCode"
,
"label"
:
"登记日期"
},
{
"key"
:
"governingBody"
,
"label"
:
"使用单位名称"
},
{
"key"
:
"unitType"
,
"label"
:
"设备使用地点"
},
{
"key"
:
"useUnit"
,
"label"
:
"设备种类"
},
{
"key"
:
"useUnitCode"
,
"label"
:
"设备类别"
},
{
"key"
:
"governingBody"
,
"label"
:
"设备品种"
},
{
"key"
:
"governingBody"
,
"label"
:
"单位内编号"
},
{
"key"
:
"governingBody"
,
"label"
:
"设备代码"
},
{
"key"
:
"governingBody"
,
"label"
:
"下一次检验日期"
}
],
"keyParams_8300"
:
[
{
"key"
:
"unitType"
,
"label"
:
"使用登记证编号"
},
{
"key"
:
"useUnit"
,
"label"
:
"登记机关"
},
{
"key"
:
"useUnitCode"
,
"label"
:
"登记日期"
},
{
"key"
:
"governingBody"
,
"label"
:
"使用单位名称"
},
{
"key"
:
"unitType"
,
"label"
:
"设备使用地点"
},
{
"key"
:
"useUnit"
,
"label"
:
"设备类别"
},
{
"key"
:
"useUnitCode"
,
"label"
:
"下一次检验日期"
}
],
"infoRecords"
:
{
"title"
:
"监管记录"
,
"renderType"
:
"timeline"
,
"showMore"
:
true
,
"moreKey"
:
"reghistory"
,
"datas"
:
[]
}
},
"basic"
:
{
"columns"
:
3
,
"datas"
:
[],
...
...
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-biz/src/main/resources/json/equip_9000.json
View file @
a5d3be0b
...
...
@@ -2,8 +2,23 @@
"name"
:
"设备-客运索道"
,
"tabs"
:
[
{
"key"
:
"keyinfo"
,
"displayName"
:
"基本信息"
,
"renderType"
:
"keyinfo"
,
"dataConfig"
:
{
"api"
:
{
"httpMethod"
:
"GET"
,
"apiPath"
:
"/ymt/equipment-category/getFormRecordById"
,
"params"
:
{
"alias"
:
"{EQU_LIST_CODE}"
,
"id"
:
"{SEQUENCE_NBR}"
}
}
}
},
{
"key"
:
"basic"
,
"displayName"
:
"
设备
信息"
,
"displayName"
:
"
详细
信息"
,
"renderType"
:
"basic"
,
"formSeq"
:
"1793458381554479105"
,
"dataConfig"
:
{
...
...
@@ -61,21 +76,7 @@
{
"key"
:
"reghistory"
,
"displayName"
:
"监管履历信息"
,
"renderType"
:
"timeline"
,
"formSeq"
:
""
,
"dataConfig"
:
{
"api"
:
{
"httpMethod"
:
"GET"
,
"apiPath"
:
"/jg/common/equOnJgServiceOperationRecords"
,
"params"
:
{
"record"
:
"{record}"
},
"ruleData"
:
{
"responseSuccess"
:
"data.result"
,
"operater"
:
"content"
}
}
}
"renderType"
:
"timeline"
},
{
"key"
:
"devtable"
,
...
...
@@ -110,6 +111,32 @@
}
],
"content"
:
{
"keyinfo"
:
{
"status"
:
[],
"qrcode"
:
{
"title"
:
"监管码"
},
"keyParams"
:
[
{
"key"
:
"unitType"
,
"label"
:
"使用登记证编号"
},
{
"key"
:
"useUnit"
,
"label"
:
"登记机关"
},
{
"key"
:
"useUnitCode"
,
"label"
:
"登记日期"
},
{
"key"
:
"governingBody"
,
"label"
:
"使用单位名称"
},
{
"key"
:
"unitType"
,
"label"
:
"设备使用地点"
},
{
"key"
:
"useUnit"
,
"label"
:
"设备种类"
},
{
"key"
:
"useUnitCode"
,
"label"
:
"设备类别"
},
{
"key"
:
"governingBody"
,
"label"
:
"设备品种"
},
{
"key"
:
"governingBody"
,
"label"
:
"单位内编号"
},
{
"key"
:
"governingBody"
,
"label"
:
"设备代码"
},
{
"key"
:
"governingBody"
,
"label"
:
"下一次检验日期"
}
],
"infoRecords"
:
{
"title"
:
"监管记录"
,
"renderType"
:
"timeline"
,
"showMore"
:
true
,
"moreKey"
:
"reghistory"
,
"datas"
:
[]
}
},
"basic"
:
{
"columns"
:
3
,
"datas"
:
[],
...
...
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