feat(): 修改测试数据
parent
d13a76e316
commit
cefb06e2f5
|
|
@ -2,133 +2,133 @@
|
|||
"records": [
|
||||
{
|
||||
"序号": "1",
|
||||
"站名": "水位雨量站",
|
||||
"站名": "朝阳红旗水库",
|
||||
"管理单位": "",
|
||||
"RTU编码": "0020230509",
|
||||
"经度": "112.107041",
|
||||
"纬度": "30.961038",
|
||||
"基础准高程": "0",
|
||||
"修正值": "-0.01",
|
||||
"RTU编码": "",
|
||||
"经度": "108.90734",
|
||||
"纬度": "29.60782",
|
||||
"基础准高程": "",
|
||||
"修正值": "",
|
||||
"站类": "水库水文站",
|
||||
"归属协议": "水资源协议",
|
||||
"创建日期#": "2023-05-15"
|
||||
"归属协议": "",
|
||||
"创建日期#": ""
|
||||
},
|
||||
{
|
||||
"序号": "2",
|
||||
"站名": "输水管流量站",
|
||||
"站名": "李子溪",
|
||||
"管理单位": "",
|
||||
"RTU编码": "0020230430",
|
||||
"经度": "112.107041",
|
||||
"纬度": "30.961038",
|
||||
"RTU编码": "",
|
||||
"经度": "108.8997",
|
||||
"纬度": "29.8819",
|
||||
"基础准高程": "",
|
||||
"修正值": "",
|
||||
"站类": "流量站",
|
||||
"归属协议": "水库供水",
|
||||
"创建日期#": "2023-05-05"
|
||||
"站类": "雨量站",
|
||||
"归属协议": "",
|
||||
"创建日期#": ""
|
||||
},
|
||||
{
|
||||
"序号": "3",
|
||||
"站名": "供水管流量站",
|
||||
"站名": "官坝",
|
||||
"管理单位": "",
|
||||
"RTU编码": "0020230429",
|
||||
"经度": "112.107041",
|
||||
"纬度": "30.961038",
|
||||
"RTU编码": "",
|
||||
"经度": "109.2872",
|
||||
"纬度": "29.8106",
|
||||
"基础准高程": "",
|
||||
"修正值": "",
|
||||
"站类": "流量站",
|
||||
"归属协议": "水库供水",
|
||||
"创建日期#": "2023-05-04"
|
||||
"归属协议": "",
|
||||
"创建日期#": ""
|
||||
},
|
||||
{
|
||||
"序号": "4",
|
||||
"站名": "生态流量站",
|
||||
"站名": "龙王庙水库",
|
||||
"管理单位": "",
|
||||
"RTU编码": "4220230428",
|
||||
"经度": "112.107041",
|
||||
"纬度": "30.961038",
|
||||
"RTU编码": "",
|
||||
"经度": "108.97394",
|
||||
"纬度": "29.5565",
|
||||
"基础准高程": "",
|
||||
"修正值": "",
|
||||
"站类": "流量站",
|
||||
"归属协议": "水库供水",
|
||||
"创建日期#": "2023-04-28"
|
||||
"站类": "水库水文站",
|
||||
"归属协议": "",
|
||||
"创建日期#": ""
|
||||
},
|
||||
{
|
||||
"序号": "5",
|
||||
"站名": "SY01",
|
||||
"站名": "观音塘",
|
||||
"管理单位": "",
|
||||
"RTU编码": "0020230426",
|
||||
"经度": "112.107041",
|
||||
"纬度": "30.961038",
|
||||
"RTU编码": "",
|
||||
"经度": "108.689956",
|
||||
"纬度": "29.873595",
|
||||
"基础准高程": "",
|
||||
"修正值": "",
|
||||
"站类": "渗压站",
|
||||
"归属协议": "水资源协议",
|
||||
"创建日期#": "2023-04-26"
|
||||
"站类": "河道水文站",
|
||||
"归属协议": "",
|
||||
"创建日期#": ""
|
||||
},
|
||||
{
|
||||
"序号": "6",
|
||||
"站名": "SY02",
|
||||
"站名": "巴西坝水库",
|
||||
"管理单位": "",
|
||||
"RTU编码": "000000036",
|
||||
"经度": "112.107041",
|
||||
"纬度": "30.961038",
|
||||
"RTU编码": "",
|
||||
"经度": "109.16356",
|
||||
"纬度": "29.98649",
|
||||
"基础准高程": "",
|
||||
"修正值": "",
|
||||
"站类": "渗压站",
|
||||
"归属协议": "水资源协议",
|
||||
"创建日期#": "2023-04-17"
|
||||
"站类": "水库水文站",
|
||||
"归属协议": "",
|
||||
"创建日期#": ""
|
||||
},
|
||||
{
|
||||
"序号": "7",
|
||||
"站名": "SY03",
|
||||
"站名": "忠建河老寨",
|
||||
"管理单位": "",
|
||||
"RTU编码": "0020230414",
|
||||
"经度": "112.107041",
|
||||
"纬度": "30.961038",
|
||||
"基础准高程": "0",
|
||||
"RTU编码": "",
|
||||
"经度": "109.15",
|
||||
"纬度": "29.68",
|
||||
"基础准高程": "",
|
||||
"修正值": "",
|
||||
"站类": "渗压站",
|
||||
"归属协议": "水资源协议",
|
||||
"创建日期#": "2023-04-14"
|
||||
"站类": "河道水文站",
|
||||
"归属协议": "",
|
||||
"创建日期#": ""
|
||||
},
|
||||
{
|
||||
"序号": "8",
|
||||
"站名": "SY04",
|
||||
"站名": "田寨河水库",
|
||||
"管理单位": "",
|
||||
"RTU编码": "4208820200",
|
||||
"经度": "112.107041",
|
||||
"纬度": "30.961038",
|
||||
"基础准高程": "108.487",
|
||||
"修正值": "0.06",
|
||||
"站类": "渗压站",
|
||||
"归属协议": "水资源协议",
|
||||
"创建日期#": "2023-04-04"
|
||||
"RTU编码": "",
|
||||
"经度": "109.10605",
|
||||
"纬度": "29.76386",
|
||||
"基础准高程": "",
|
||||
"修正值": "",
|
||||
"站类": "水库水文站",
|
||||
"归属协议": "",
|
||||
"创建日期#": ""
|
||||
},
|
||||
{
|
||||
"序号": "9",
|
||||
"站名": "SY05",
|
||||
"站名": "蛇盘溪水位站",
|
||||
"管理单位": "",
|
||||
"RTU编码": "0020230325",
|
||||
"经度": "112.107041",
|
||||
"纬度": "30.961038",
|
||||
"基础准高程": "0",
|
||||
"RTU编码": "",
|
||||
"经度": "108.7244444",
|
||||
"纬度": "",
|
||||
"基础准高程": "",
|
||||
"修正值": "",
|
||||
"站类": "渗压站",
|
||||
"归属协议": "水资源协议",
|
||||
"创建日期#": "2023-03-25"
|
||||
"站类": "河道水文站",
|
||||
"归属协议": "",
|
||||
"创建日期#": ""
|
||||
},
|
||||
{
|
||||
"序号": "10",
|
||||
"站名": "SY06",
|
||||
"站名": "丁寨",
|
||||
"管理单位": "",
|
||||
"RTU编码": "4202023102",
|
||||
"经度": "112.107041",
|
||||
"纬度": "30.961038",
|
||||
"基础准高程": "108.42",
|
||||
"RTU编码": "",
|
||||
"经度": "109.040167",
|
||||
"纬度": "29.589361",
|
||||
"基础准高程": "",
|
||||
"修正值": "",
|
||||
"站类": "渗压站",
|
||||
"归属协议": "水资源协议",
|
||||
"创建日期#": "2023-03-14"
|
||||
"站类": "河道水文站",
|
||||
"归属协议": "",
|
||||
"创建日期#": ""
|
||||
}
|
||||
],
|
||||
"total": 10,
|
||||
|
|
|
|||
|
|
@ -1,9 +1,23 @@
|
|||
{
|
||||
"records":[
|
||||
{"序号":"1","部门编码":"A01","部门名称":"办公室","上级部门":"","排序号":"1","备注":"","创建日期":"2025-05-30"},
|
||||
{"序号":"2","部门编码":"A02","部门名称":"工程科","上级部门":"","排序号":"2","备注":"","创建日期":"2025-05-30"},
|
||||
{"序号":"3","部门编码":"A03","部门名称":"养护科","上级部门":"","排序号":"3","备注":"","创建日期":"2025-05-30"}
|
||||
{"序号":"1","部门编码":"54326861FE9744CA8FCE46C5928946E1","部门名称":"咸丰县","上级部门":"","排序号":"1","备注":"","创建日期":"2025-05-30"},
|
||||
{"序号":"2","部门编码":"646EF7FE6369470982D191B70E890C5A","部门名称":"咸丰县水利局","上级部门":"咸丰县","排序号":"2","备注":"","创建日期":"2025-05-30"},
|
||||
{"序号":"3","部门编码":"755CC12685F640A2870276365237A7C6","部门名称":"局领导","上级部门":"咸丰县水利局","排序号":"3","备注":"","创建日期":"2025-05-30"},
|
||||
{"序号":"4","部门编码":"5256AA447264438A976F31D5119E4E30","部门名称":"各股室","上级部门":"咸丰县水利局","排序号":"4","备注":"","创建日期":"2025-05-30"},
|
||||
{"序号":"5","部门编码":"0AFCF262424744299E5149D0015641DE","部门名称":"办公室","上级部门":"各股室","排序号":"5","备注":"","创建日期":"2025-05-30"},
|
||||
{"序号":"6","部门编码":"17781709F83A43DBB0DA56475044A631","部门名称":"财务室","上级部门":"各股室","排序号":"6","备注":"","创建日期":"2025-05-30"},
|
||||
{"序号":"7","部门编码":"33582CEC06394B08B9EC58044DCB11F3","部门名称":"河湖长办及执法大队","上级部门":"各股室","排序号":"7","备注":"","创建日期":"2025-05-30"},
|
||||
{"序号":"8","部门编码":"3629890BB80948CBBA4D48F36EA12B8D","部门名称":"规划水利股","上级部门":"各股室","排序号":"8","备注":"","创建日期":"2025-05-30"},
|
||||
{"序号":"9","部门编码":"510036C6714840038D375BFF35FC00EC","部门名称":"防汛办","上级部门":"各股室","排序号":"9","备注":"","创建日期":"2025-05-30"},
|
||||
{"序号":"10","部门编码":"B122B05FF12141CBB9BF641D7EEC37CA","部门名称":"质量安全股","上级部门":"各股室","排序号":"10","备注":"","创建日期":"2025-05-30"},
|
||||
{"序号":"11","部门编码":"2EC1D0AEB709455ABECA0ECC47D28658","部门名称":"水库工作办公室","上级部门":"各股室","排序号":"11","备注":"","创建日期":"2025-05-30"},
|
||||
{"序号":"12","部门编码":"5CEF107A7FDE4979995040DA83DCC65F","部门名称":"水利建设项目管理处","上级部门":"各股室","排序号":"12","备注":"","创建日期":"2025-05-30"},
|
||||
{"序号":"13","部门编码":"BE719C16A5C04D0BA203619732600F05","部门名称":"河道及农电工作办公室","上级部门":"各股室","排序号":"13","备注":"","创建日期":"2025-05-30"},
|
||||
{"序号":"14","部门编码":"7CD7DE1E27664262863175A37576130C","部门名称":"移民股","上级部门":"各股室","排序号":"14","备注":"","创建日期":"2025-05-30"},
|
||||
{"序号":"15","部门编码":"38C821C3542B4174B7A13776834F76B7","部门名称":"档案室","上级部门":"各股室","排序号":"15","备注":"","创建日期":"2025-05-30"},
|
||||
{"序号":"16","部门编码":"00AFB9D4E9E048E486F13580C95A844B","部门名称":"改非干部","上级部门":"各股室","排序号":"16","备注":"","创建日期":"2025-05-30"}
|
||||
|
||||
],
|
||||
"total": 10,
|
||||
"total": 16,
|
||||
"pages": 1
|
||||
}
|
||||
|
|
@ -0,0 +1,783 @@
|
|||
{
|
||||
"page":1,
|
||||
"total":37,
|
||||
"records":[
|
||||
{
|
||||
"name": "茅坪水库大坝",
|
||||
"indexCode": "32023a7f27d8448fa10511f24e96acff",
|
||||
"chan": null,
|
||||
"status": 1,
|
||||
"tm": "2024-04-09 16:13:30",
|
||||
"lgtd": 108.75979,
|
||||
"lttd": 29.82512,
|
||||
"relType": "res",
|
||||
"relId": "42282650009",
|
||||
"menuId": 6,
|
||||
"adcd": "422826202000000",
|
||||
"location": "活龙坪乡东厢溪村",
|
||||
"itemCode": null,
|
||||
"chanType": null,
|
||||
"ipAddress": null,
|
||||
"remark": null,
|
||||
"createUserId": null,
|
||||
"createUserName": null,
|
||||
"createTime": null
|
||||
},
|
||||
{
|
||||
"name": "白岩寨大坝",
|
||||
"indexCode": "e1b38f64dd464a349702fbdd300879c5",
|
||||
"chan": null,
|
||||
"status": 1,
|
||||
"tm": "2024-04-09 16:13:30",
|
||||
"lgtd": 109.28043,
|
||||
"lttd": 29.68481,
|
||||
"relType": "res",
|
||||
"relId": "42282640004",
|
||||
"menuId": 22,
|
||||
"adcd": "422826101000000",
|
||||
"location": "忠堡镇",
|
||||
"itemCode": null,
|
||||
"chanType": null,
|
||||
"ipAddress": null,
|
||||
"remark": null,
|
||||
"createUserId": null,
|
||||
"createUserName": null,
|
||||
"createTime": null
|
||||
},
|
||||
{
|
||||
"name": "龙王庙水库溢洪道",
|
||||
"indexCode": "1dba9c2bbeb340739be5a42dd9fe7fbe",
|
||||
"chan": null,
|
||||
"status": 1,
|
||||
"tm": "2024-04-09 16:13:30",
|
||||
"lgtd": 108.97394,
|
||||
"lttd": 29.5565,
|
||||
"relType": "res",
|
||||
"relId": "42282650013",
|
||||
"menuId": 11,
|
||||
"adcd": "422826102000000",
|
||||
"location": "坪坝营镇龙王庙村",
|
||||
"itemCode": null,
|
||||
"chanType": null,
|
||||
"ipAddress": null,
|
||||
"remark": null,
|
||||
"createUserId": null,
|
||||
"createUserName": null,
|
||||
"createTime": null
|
||||
},
|
||||
{
|
||||
"name": "龙王庙水库大坝",
|
||||
"indexCode": "45c429181b7c421597192daf2c0ee888",
|
||||
"chan": null,
|
||||
"status": 1,
|
||||
"tm": "2024-04-09 16:13:30",
|
||||
"lgtd": 108.97394,
|
||||
"lttd": 29.5565,
|
||||
"relType": "res",
|
||||
"relId": "42282650013",
|
||||
"menuId": 11,
|
||||
"adcd": "422826102000000",
|
||||
"location": "坪坝营镇龙王庙村",
|
||||
"itemCode": null,
|
||||
"chanType": null,
|
||||
"ipAddress": null,
|
||||
"remark": null,
|
||||
"createUserId": null,
|
||||
"createUserName": null,
|
||||
"createTime": null
|
||||
},
|
||||
{
|
||||
"name": "大山沟溢洪道",
|
||||
"indexCode": "0d146c300a7c4ab9a7af0005d7f5d8cf",
|
||||
"chan": null,
|
||||
"status": 1,
|
||||
"tm": "2024-04-09 16:13:30",
|
||||
"lgtd": 108.98302,
|
||||
"lttd": 29.66177,
|
||||
"relType": "res",
|
||||
"relId": "42282640006",
|
||||
"menuId": 20,
|
||||
"adcd": "422826201000000",
|
||||
"location": "唐崖镇杨家营村",
|
||||
"itemCode": null,
|
||||
"chanType": null,
|
||||
"ipAddress": null,
|
||||
"remark": null,
|
||||
"createUserId": null,
|
||||
"createUserName": null,
|
||||
"createTime": null
|
||||
},
|
||||
{
|
||||
"name": "大山沟大坝",
|
||||
"indexCode": "7a20f500fdc94a1ea722b23e4c36c5e4",
|
||||
"chan": null,
|
||||
"status": 1,
|
||||
"tm": "2024-04-09 16:13:30",
|
||||
"lgtd": 108.98302,
|
||||
"lttd": 29.66177,
|
||||
"relType": "res",
|
||||
"relId": "42282640006",
|
||||
"menuId": 20,
|
||||
"adcd": "422826201000000",
|
||||
"location": "唐崖镇杨家营村",
|
||||
"itemCode": null,
|
||||
"chanType": null,
|
||||
"ipAddress": null,
|
||||
"remark": null,
|
||||
"createUserId": null,
|
||||
"createUserName": null,
|
||||
"createTime": null
|
||||
},
|
||||
{
|
||||
"name": "青菜沟水库",
|
||||
"indexCode": "2d6f4f1d9adf4e60a752d7559ec00832",
|
||||
"chan": null,
|
||||
"status": 1,
|
||||
"tm": "2024-04-09 16:13:30",
|
||||
"lgtd": 109.11355,
|
||||
"lttd": 29.74344,
|
||||
"relType": "res",
|
||||
"relId": "42282650014",
|
||||
"menuId": 8,
|
||||
"adcd": "422826100000000",
|
||||
"location": "高乐山镇老里坝村",
|
||||
"itemCode": null,
|
||||
"chanType": null,
|
||||
"ipAddress": null,
|
||||
"remark": null,
|
||||
"createUserId": null,
|
||||
"createUserName": null,
|
||||
"createTime": null
|
||||
},
|
||||
{
|
||||
"name": "龙潭司大坝",
|
||||
"indexCode": "13a4eabdd8cc4dc78255a563de09abda",
|
||||
"chan": null,
|
||||
"status": 1,
|
||||
"tm": "2024-04-09 16:13:30",
|
||||
"lgtd": 109.13241,
|
||||
"lttd": 29.83264,
|
||||
"relType": "res",
|
||||
"relId": "42282640007",
|
||||
"menuId": 23,
|
||||
"adcd": "422826104000000",
|
||||
"location": "清坪镇",
|
||||
"itemCode": null,
|
||||
"chanType": null,
|
||||
"ipAddress": null,
|
||||
"remark": null,
|
||||
"createUserId": null,
|
||||
"createUserName": null,
|
||||
"createTime": null
|
||||
},
|
||||
{
|
||||
"name": "狮子口水库溢洪道",
|
||||
"indexCode": "0937b5c6f33543d4b5a24137c070bbfa",
|
||||
"chan": null,
|
||||
"status": 1,
|
||||
"tm": "2024-04-09 16:13:30",
|
||||
"lgtd": 108.97273,
|
||||
"lttd": 29.66895,
|
||||
"relType": "res",
|
||||
"relId": "42282650004",
|
||||
"menuId": 17,
|
||||
"adcd": "422826201000000",
|
||||
"location": "唐崖镇杨家营村",
|
||||
"itemCode": null,
|
||||
"chanType": null,
|
||||
"ipAddress": null,
|
||||
"remark": null,
|
||||
"createUserId": null,
|
||||
"createUserName": null,
|
||||
"createTime": null
|
||||
},
|
||||
{
|
||||
"name": "朝阳寺水库监测点",
|
||||
"indexCode": "e5a0976934e14a63826d494ac0fea8f1",
|
||||
"chan": null,
|
||||
"status": 1,
|
||||
"tm": "2024-04-09 16:07:10",
|
||||
"lgtd": null,
|
||||
"lttd": null,
|
||||
"relType": "wf",
|
||||
"relId": "422826000970",
|
||||
"menuId": null,
|
||||
"adcd": null,
|
||||
"location": null,
|
||||
"itemCode": null,
|
||||
"chanType": null,
|
||||
"ipAddress": null,
|
||||
"remark": null,
|
||||
"createUserId": null,
|
||||
"createUserName": null,
|
||||
"createTime": null
|
||||
},
|
||||
{
|
||||
"name": "龙王庙水库监测点",
|
||||
"indexCode": "84bb93f50aea468797919e7e2cd8d365",
|
||||
"chan": null,
|
||||
"status": 1,
|
||||
"tm": "2024-04-09 16:07:10",
|
||||
"lgtd": null,
|
||||
"lttd": null,
|
||||
"relType": "wf",
|
||||
"relId": null,
|
||||
"menuId": null,
|
||||
"adcd": null,
|
||||
"location": null,
|
||||
"itemCode": null,
|
||||
"chanType": null,
|
||||
"ipAddress": null,
|
||||
"remark": null,
|
||||
"createUserId": null,
|
||||
"createUserName": null,
|
||||
"createTime": null
|
||||
},
|
||||
{
|
||||
"name": "清坪水厂监测房1",
|
||||
"indexCode": "ad3bb146834f45ef87a83344958c6da0",
|
||||
"chan": null,
|
||||
"status": 0,
|
||||
"tm": "2024-04-09 16:07:10",
|
||||
"lgtd": null,
|
||||
"lttd": null,
|
||||
"relType": "wf",
|
||||
"relId": "422826001033",
|
||||
"menuId": null,
|
||||
"adcd": null,
|
||||
"location": null,
|
||||
"itemCode": null,
|
||||
"chanType": null,
|
||||
"ipAddress": null,
|
||||
"remark": null,
|
||||
"createUserId": null,
|
||||
"createUserName": null,
|
||||
"createTime": null
|
||||
},
|
||||
{
|
||||
"name": "清坪水厂大门",
|
||||
"indexCode": "405348e888e54e8080cfcd8b379def39",
|
||||
"chan": null,
|
||||
"status": 0,
|
||||
"tm": "2024-04-09 16:07:10",
|
||||
"lgtd": null,
|
||||
"lttd": null,
|
||||
"relType": "wf",
|
||||
"relId": "422826001033",
|
||||
"menuId": null,
|
||||
"adcd": null,
|
||||
"location": null,
|
||||
"itemCode": null,
|
||||
"chanType": null,
|
||||
"ipAddress": null,
|
||||
"remark": null,
|
||||
"createUserId": null,
|
||||
"createUserName": null,
|
||||
"createTime": null
|
||||
},
|
||||
{
|
||||
"name": "清坪水厂加药间",
|
||||
"indexCode": "058469087e5d43e8814cebf37738c724",
|
||||
"chan": null,
|
||||
"status": 0,
|
||||
"tm": "2024-04-09 16:07:11",
|
||||
"lgtd": null,
|
||||
"lttd": null,
|
||||
"relType": "wf",
|
||||
"relId": "422826001033",
|
||||
"menuId": null,
|
||||
"adcd": null,
|
||||
"location": null,
|
||||
"itemCode": null,
|
||||
"chanType": null,
|
||||
"ipAddress": null,
|
||||
"remark": null,
|
||||
"createUserId": null,
|
||||
"createUserName": null,
|
||||
"createTime": null
|
||||
},
|
||||
{
|
||||
"name": "清坪水厂监测房2",
|
||||
"indexCode": "3531084b22124769b5ef17cfcd1c647b",
|
||||
"chan": null,
|
||||
"status": 0,
|
||||
"tm": "2024-04-09 16:07:11",
|
||||
"lgtd": null,
|
||||
"lttd": null,
|
||||
"relType": "wf",
|
||||
"relId": "422826001033",
|
||||
"menuId": null,
|
||||
"adcd": null,
|
||||
"location": null,
|
||||
"itemCode": null,
|
||||
"chanType": null,
|
||||
"ipAddress": null,
|
||||
"remark": null,
|
||||
"createUserId": null,
|
||||
"createUserName": null,
|
||||
"createTime": null
|
||||
},
|
||||
{
|
||||
"name": "清坪水厂厂区球机",
|
||||
"indexCode": "d1c5323590424cc5b7e358cf8e4cd920",
|
||||
"chan": null,
|
||||
"status": 0,
|
||||
"tm": "2024-04-09 16:07:11",
|
||||
"lgtd": null,
|
||||
"lttd": null,
|
||||
"relType": "wf",
|
||||
"relId": "422826001033",
|
||||
"menuId": null,
|
||||
"adcd": null,
|
||||
"location": null,
|
||||
"itemCode": null,
|
||||
"chanType": null,
|
||||
"ipAddress": null,
|
||||
"remark": null,
|
||||
"createUserId": null,
|
||||
"createUserName": null,
|
||||
"createTime": null
|
||||
},
|
||||
{
|
||||
"name": "狮子口水库大坝",
|
||||
"indexCode": "cc14374fd752478d84fa31b33b6d84ed",
|
||||
"chan": null,
|
||||
"status": 1,
|
||||
"tm": "2024-04-09 16:13:30",
|
||||
"lgtd": 108.97273,
|
||||
"lttd": 29.66895,
|
||||
"relType": "res",
|
||||
"relId": "42282650004",
|
||||
"menuId": 17,
|
||||
"adcd": "422826201000000",
|
||||
"location": "唐崖镇杨家营村",
|
||||
"itemCode": null,
|
||||
"chanType": null,
|
||||
"ipAddress": null,
|
||||
"remark": null,
|
||||
"createUserId": null,
|
||||
"createUserName": null,
|
||||
"createTime": null
|
||||
},
|
||||
{
|
||||
"name": "巴西坝水库大坝",
|
||||
"indexCode": "5e7ba65a0fd44186bf7a649f05bf2092",
|
||||
"chan": null,
|
||||
"status": 1,
|
||||
"tm": "2024-04-09 16:13:30",
|
||||
"lgtd": 109.16356,
|
||||
"lttd": 29.98649,
|
||||
"relType": "res",
|
||||
"relId": "42282640003",
|
||||
"menuId": 21,
|
||||
"adcd": "422826204000000",
|
||||
"location": "黄金洞乡巴西坝村",
|
||||
"itemCode": null,
|
||||
"chanType": null,
|
||||
"ipAddress": null,
|
||||
"remark": null,
|
||||
"createUserId": null,
|
||||
"createUserName": null,
|
||||
"createTime": null
|
||||
},
|
||||
{
|
||||
"name": "巴西坝溢洪道",
|
||||
"indexCode": "32b411eb9b5f48a39bc7cbf3d95ff9af",
|
||||
"chan": null,
|
||||
"status": 1,
|
||||
"tm": "2024-04-09 16:13:30",
|
||||
"lgtd": 109.16356,
|
||||
"lttd": 29.98649,
|
||||
"relType": "res",
|
||||
"relId": "42282640003",
|
||||
"menuId": 21,
|
||||
"adcd": "422826204000000",
|
||||
"location": "黄金洞乡巴西坝村",
|
||||
"itemCode": null,
|
||||
"chanType": null,
|
||||
"ipAddress": null,
|
||||
"remark": null,
|
||||
"createUserId": null,
|
||||
"createUserName": null,
|
||||
"createTime": null
|
||||
},
|
||||
{
|
||||
"name": "野猫河水库大坝",
|
||||
"indexCode": "45ce8ce1977543b3978489104b4cdc90",
|
||||
"chan": null,
|
||||
"status": 1,
|
||||
"tm": "2024-04-09 16:13:30",
|
||||
"lgtd": 109.075,
|
||||
"lttd": 29.61174,
|
||||
"relType": "res",
|
||||
"relId": "42282640002",
|
||||
"menuId": 14,
|
||||
"adcd": "422826200000000",
|
||||
"location": "曲江镇春沟村",
|
||||
"itemCode": null,
|
||||
"chanType": null,
|
||||
"ipAddress": null,
|
||||
"remark": null,
|
||||
"createUserId": null,
|
||||
"createUserName": null,
|
||||
"createTime": null
|
||||
},
|
||||
{
|
||||
"name": "朝阳红旗水库大坝",
|
||||
"indexCode": "5d8d037ebec349d4b2b8af73e8a3dbe4",
|
||||
"chan": null,
|
||||
"status": 1,
|
||||
"tm": "2024-04-09 16:13:30",
|
||||
"lgtd": 108.90734,
|
||||
"lttd": 29.60782,
|
||||
"relType": "res",
|
||||
"relId": "42282650006",
|
||||
"menuId": 7,
|
||||
"adcd": "422826103000000",
|
||||
"location": "朝阳寺镇长岭村",
|
||||
"itemCode": null,
|
||||
"chanType": null,
|
||||
"ipAddress": null,
|
||||
"remark": null,
|
||||
"createUserId": null,
|
||||
"createUserName": null,
|
||||
"createTime": null
|
||||
},
|
||||
{
|
||||
"name": "板栗园水库大坝",
|
||||
"indexCode": "4588ef453a7041139f6213d3ea23a6ad",
|
||||
"chan": null,
|
||||
"status": 1,
|
||||
"tm": "2024-04-09 16:13:30",
|
||||
"lgtd": 108.8059,
|
||||
"lttd": 29.70338,
|
||||
"relType": "res",
|
||||
"relId": "42282640005",
|
||||
"menuId": 5,
|
||||
"adcd": "422826202000000",
|
||||
"location": "咸丰县二仙岩村",
|
||||
"itemCode": null,
|
||||
"chanType": null,
|
||||
"ipAddress": null,
|
||||
"remark": null,
|
||||
"createUserId": null,
|
||||
"createUserName": null,
|
||||
"createTime": null
|
||||
},
|
||||
{
|
||||
"name": "板栗园水库溢洪道",
|
||||
"indexCode": "adefc2f3145f4fcfa5e5183899d1f901",
|
||||
"chan": null,
|
||||
"status": 1,
|
||||
"tm": "2024-04-09 16:13:30",
|
||||
"lgtd": 108.8059,
|
||||
"lttd": 29.70338,
|
||||
"relType": "res",
|
||||
"relId": "42282640005",
|
||||
"menuId": 5,
|
||||
"adcd": "422826202000000",
|
||||
"location": "咸丰县二仙岩村",
|
||||
"itemCode": null,
|
||||
"chanType": null,
|
||||
"ipAddress": null,
|
||||
"remark": null,
|
||||
"createUserId": null,
|
||||
"createUserName": null,
|
||||
"createTime": null
|
||||
},
|
||||
{
|
||||
"name": "田沟水库",
|
||||
"indexCode": "a49cd9a1143b4738b7867e1f0a315179",
|
||||
"chan": null,
|
||||
"status": 1,
|
||||
"tm": "2024-04-09 16:13:30",
|
||||
"lgtd": 109.03511,
|
||||
"lttd": 29.70657,
|
||||
"relType": "res",
|
||||
"relId": "42282650002",
|
||||
"menuId": 18,
|
||||
"adcd": "422826201000000",
|
||||
"location": "唐崖镇大石沟村",
|
||||
"itemCode": null,
|
||||
"chanType": null,
|
||||
"ipAddress": null,
|
||||
"remark": null,
|
||||
"createUserId": null,
|
||||
"createUserName": null,
|
||||
"createTime": null
|
||||
},
|
||||
{
|
||||
"name": "东厢溪水库",
|
||||
"indexCode": "b64b2d178e5f40c89d5704fe7545cb97",
|
||||
"chan": null,
|
||||
"status": 1,
|
||||
"tm": "2024-04-09 16:13:30",
|
||||
"lgtd": 108.76026,
|
||||
"lttd": 29.80764,
|
||||
"relType": "res",
|
||||
"relId": "42282640008",
|
||||
"menuId": 10,
|
||||
"adcd": "422826202000000",
|
||||
"location": "活龙坪乡",
|
||||
"itemCode": null,
|
||||
"chanType": null,
|
||||
"ipAddress": null,
|
||||
"remark": null,
|
||||
"createUserId": null,
|
||||
"createUserName": null,
|
||||
"createTime": null
|
||||
},
|
||||
{
|
||||
"name": "东厢溪溢洪道",
|
||||
"indexCode": "e5f32214355346abbdd130f6d3fdc9b4",
|
||||
"chan": null,
|
||||
"status": 1,
|
||||
"tm": "2024-04-09 16:13:30",
|
||||
"lgtd": 108.76026,
|
||||
"lttd": 29.80764,
|
||||
"relType": "res",
|
||||
"relId": "42282640008",
|
||||
"menuId": 10,
|
||||
"adcd": "422826202000000",
|
||||
"location": "活龙坪乡",
|
||||
"itemCode": null,
|
||||
"chanType": null,
|
||||
"ipAddress": null,
|
||||
"remark": null,
|
||||
"createUserId": null,
|
||||
"createUserName": null,
|
||||
"createTime": null
|
||||
},
|
||||
{
|
||||
"name": "清坪水厂办公室外1",
|
||||
"indexCode": "da00d1f8b7854be09242c5c0cdb55769",
|
||||
"chan": null,
|
||||
"status": 0,
|
||||
"tm": "2024-04-09 16:07:11",
|
||||
"lgtd": null,
|
||||
"lttd": null,
|
||||
"relType": "wf",
|
||||
"relId": "422826001033",
|
||||
"menuId": null,
|
||||
"adcd": null,
|
||||
"location": null,
|
||||
"itemCode": null,
|
||||
"chanType": null,
|
||||
"ipAddress": null,
|
||||
"remark": null,
|
||||
"createUserId": null,
|
||||
"createUserName": null,
|
||||
"createTime": null
|
||||
},
|
||||
{
|
||||
"name": "清坪水厂办公室外2",
|
||||
"indexCode": "bb8e2a00cd0e42edadf8200f7a6f7684",
|
||||
"chan": null,
|
||||
"status": 0,
|
||||
"tm": "2024-04-09 16:07:11",
|
||||
"lgtd": null,
|
||||
"lttd": null,
|
||||
"relType": "wf",
|
||||
"relId": "422826001033",
|
||||
"menuId": null,
|
||||
"adcd": null,
|
||||
"location": null,
|
||||
"itemCode": null,
|
||||
"chanType": null,
|
||||
"ipAddress": null,
|
||||
"remark": null,
|
||||
"createUserId": null,
|
||||
"createUserName": null,
|
||||
"createTime": null
|
||||
},
|
||||
{
|
||||
"name": "斑竹坪水厂清水池",
|
||||
"indexCode": "49d05bb4fb7949b2a7dd2e387fdbd21d",
|
||||
"chan": null,
|
||||
"status": 0,
|
||||
"tm": "2024-04-09 16:07:10",
|
||||
"lgtd": null,
|
||||
"lttd": null,
|
||||
"relType": "wf",
|
||||
"relId": "422826001153",
|
||||
"menuId": null,
|
||||
"adcd": null,
|
||||
"location": null,
|
||||
"itemCode": null,
|
||||
"chanType": null,
|
||||
"ipAddress": null,
|
||||
"remark": null,
|
||||
"createUserId": null,
|
||||
"createUserName": null,
|
||||
"createTime": null
|
||||
},
|
||||
{
|
||||
"name": "斑竹坪水厂监测柜",
|
||||
"indexCode": "dab622d89519436896c257e22d5688c2",
|
||||
"chan": null,
|
||||
"status": 0,
|
||||
"tm": "2024-04-09 16:07:10",
|
||||
"lgtd": null,
|
||||
"lttd": null,
|
||||
"relType": "wf",
|
||||
"relId": "422826001153",
|
||||
"menuId": null,
|
||||
"adcd": null,
|
||||
"location": null,
|
||||
"itemCode": null,
|
||||
"chanType": null,
|
||||
"ipAddress": null,
|
||||
"remark": null,
|
||||
"createUserId": null,
|
||||
"createUserName": null,
|
||||
"createTime": null
|
||||
},
|
||||
{
|
||||
"name": "斑竹坪水厂球机",
|
||||
"indexCode": "55fd5c08e1f44ca7b39d5ff13e88255c",
|
||||
"chan": null,
|
||||
"status": 0,
|
||||
"tm": "2024-04-09 16:07:10",
|
||||
"lgtd": null,
|
||||
"lttd": null,
|
||||
"relType": "wf",
|
||||
"relId": "422826001153",
|
||||
"menuId": null,
|
||||
"adcd": null,
|
||||
"location": null,
|
||||
"itemCode": null,
|
||||
"chanType": null,
|
||||
"ipAddress": null,
|
||||
"remark": null,
|
||||
"createUserId": null,
|
||||
"createUserName": null,
|
||||
"createTime": null
|
||||
},
|
||||
{
|
||||
"name": "斑竹坪水厂控制柜",
|
||||
"indexCode": "eb8630beba2e40f2a6123f68d90cacff",
|
||||
"chan": null,
|
||||
"status": 0,
|
||||
"tm": "2024-04-09 16:07:10",
|
||||
"lgtd": null,
|
||||
"lttd": null,
|
||||
"relType": "wf",
|
||||
"relId": "422826001153",
|
||||
"menuId": null,
|
||||
"adcd": null,
|
||||
"location": null,
|
||||
"itemCode": null,
|
||||
"chanType": null,
|
||||
"ipAddress": null,
|
||||
"remark": null,
|
||||
"createUserId": null,
|
||||
"createUserName": null,
|
||||
"createTime": null
|
||||
},
|
||||
{
|
||||
"name": "老鸹泉水库大坝",
|
||||
"indexCode": "86e2686937cc4584a3ff4baf871d2e6e",
|
||||
"chan": null,
|
||||
"status": 1,
|
||||
"tm": "2024-04-09 16:13:30",
|
||||
"lgtd": 108.72652,
|
||||
"lttd": 29.80111,
|
||||
"relType": "res",
|
||||
"relId": "42282650003",
|
||||
"menuId": 15,
|
||||
"adcd": "422826202000000",
|
||||
"location": "活龙坪乡凤凰村",
|
||||
"itemCode": null,
|
||||
"chanType": null,
|
||||
"ipAddress": null,
|
||||
"remark": null,
|
||||
"createUserId": null,
|
||||
"createUserName": null,
|
||||
"createTime": null
|
||||
},
|
||||
{
|
||||
"name": "龙坪19号房屋后面(E66279453)",
|
||||
"indexCode": "E66279453",
|
||||
"chan": "1",
|
||||
"status": 0,
|
||||
"tm": "2024-04-24 10:32:56",
|
||||
"lgtd": null,
|
||||
"lttd": null,
|
||||
"relType": "ysy",
|
||||
"relId": null,
|
||||
"menuId": 24,
|
||||
"adcd": null,
|
||||
"location": null,
|
||||
"itemCode": null,
|
||||
"chanType": null,
|
||||
"ipAddress": null,
|
||||
"remark": null,
|
||||
"createUserId": null,
|
||||
"createUserName": null,
|
||||
"createTime": null
|
||||
},
|
||||
{
|
||||
"name": "龙坪1号交界处(E66996926)",
|
||||
"indexCode": "E66996926",
|
||||
"chan": "1",
|
||||
"status": 1,
|
||||
"tm": "2024-04-24 10:32:56",
|
||||
"lgtd": null,
|
||||
"lttd": null,
|
||||
"relType": "ysy",
|
||||
"relId": null,
|
||||
"menuId": 24,
|
||||
"adcd": null,
|
||||
"location": null,
|
||||
"itemCode": null,
|
||||
"chanType": null,
|
||||
"ipAddress": null,
|
||||
"remark": null,
|
||||
"createUserId": null,
|
||||
"createUserName": null,
|
||||
"createTime": null
|
||||
},
|
||||
{
|
||||
"name": "龙潭司溢洪道",
|
||||
"indexCode": "694eaa0a8ee5470eaa46bef96d486c2c",
|
||||
"chan": null,
|
||||
"status": 1,
|
||||
"tm": "2024-04-09 16:13:30",
|
||||
"lgtd": 109.13241,
|
||||
"lttd": 29.83264,
|
||||
"relType": "res",
|
||||
"relId": "42282640007",
|
||||
"menuId": 23,
|
||||
"adcd": "422826104000000",
|
||||
"location": "清坪镇",
|
||||
"itemCode": null,
|
||||
"chanType": null,
|
||||
"ipAddress": null,
|
||||
"remark": null,
|
||||
"createUserId": null,
|
||||
"createUserName": null,
|
||||
"createTime": null
|
||||
},
|
||||
{
|
||||
"name": "龙坪15号河堤里面(E66996939)",
|
||||
"indexCode": "E66996939",
|
||||
"chan": "1",
|
||||
"status": 1,
|
||||
"tm": "2024-04-24 10:32:56",
|
||||
"lgtd": null,
|
||||
"lttd": null,
|
||||
"relType": "ysy",
|
||||
"relId": null,
|
||||
"menuId": 24,
|
||||
"adcd": null,
|
||||
"location": null,
|
||||
"itemCode": null,
|
||||
"chanType": null,
|
||||
"ipAddress": null,
|
||||
"remark": null,
|
||||
"createUserId": null,
|
||||
"createUserName": null,
|
||||
"createTime": null
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -1,5 +1,55 @@
|
|||
{
|
||||
"records": [{"序号":"1","用户帐号":"wqf","用户姓名":"王群飞","手机号码":"1393123782","部门":"办公室","职务":"所长","状态":"正常"},{"序号":"2","用户帐号":"lxw","用户姓名":"刘兴文","手机号码":"1393123782","部门":"办公室","职务":"副所长","状态":"正常"},{"序号":"3","用户帐号":"zhouj","用户姓名":"周静","手机号码":"1393123782","部门":"办公室","职务":"副所长","状态":"正常"},{"序号":"4","用户帐号":"jph","用户姓名":"蒋鹏华","手机号码":"1393123782","部门":"工程科","职务":"科长","状态":"正常"},{"序号":"5","用户帐号":"zhf","用户姓名":"詹华锋","手机号码":"1393123782","部门":"工程科","职务":"工作人员","状态":"正常"},{"序号":"6","用户帐号":"lj","用户姓名":"廖军","手机号码":"1393123782","部门":"工程科","职务":"工作人员","状态":"正常"},{"序号":"7","用户帐号":"fxm","用户姓名":"冯小明","手机号码":"1393123782","部门":"养护科","职务":"科长","状态":"正常"},{"序号":"8","用户帐号":"wqX","用户姓名":"王乾霄","手机号码":"1393123782","部门":"养护科","职务":"工作人员","状态":"正常"},{"序号":"9","用户帐号":"jwd","用户姓名":"焦卫东","手机号码":"1393123782","部门":"养护科","职务":"工作人员","状态":"正常"},{"序号":"10","用户帐号":"Ip","用户姓名":"李萍","手机号码":"1393123782","部门":"养护科","职务":"工作人员","状态":"冻结"}],
|
||||
"total": 10,
|
||||
"pages": 1
|
||||
"total": 8,
|
||||
"pages": 1,
|
||||
"records":[
|
||||
{
|
||||
"用户帐号":"C000000159",
|
||||
"用户姓名":"刘绪远",
|
||||
"行政区划":"朝阳寺镇-水井槽村-百果园",
|
||||
"用水户类型":"居民"
|
||||
},
|
||||
{
|
||||
"用户帐号":"C000000160",
|
||||
"用户姓名":"温刚强",
|
||||
"行政区划":"朝阳寺镇-水井槽村-老福利院",
|
||||
"用水户类型":"居民"
|
||||
},
|
||||
{
|
||||
"用户帐号":"C000000161",
|
||||
"用户姓名":"向华现",
|
||||
"行政区划":"朝阳寺镇-水井槽村-生基坪",
|
||||
"用水户类型":"居民"
|
||||
},
|
||||
{
|
||||
"用户帐号":"C000000162",
|
||||
"用户姓名":"秦云长",
|
||||
"行政区划":"朝阳寺镇-水井槽村-百果园",
|
||||
"用水户类型":"居民"
|
||||
},
|
||||
{
|
||||
"用户帐号":"C000000163",
|
||||
"用户姓名":"李天益",
|
||||
"行政区划":"朝阳寺镇-水井槽村-黔江石门",
|
||||
"用水户类型":"居民"
|
||||
},
|
||||
{
|
||||
"用户帐号":"C000000164",
|
||||
"用户姓名":"艾达高",
|
||||
"行政区划":"朝阳寺镇-水井槽村-百果园",
|
||||
"用水户类型":"居民"
|
||||
},
|
||||
{
|
||||
"用户帐号":"C000000165",
|
||||
"用户姓名":"李长洪",
|
||||
"行政区划":"朝阳寺镇-水井槽村-黄虎坪",
|
||||
"用水户类型":"居民"
|
||||
},
|
||||
{
|
||||
"用户帐号":"C000000166",
|
||||
"用户姓名":"黄义权",
|
||||
"行政区划":"朝阳寺镇-水井槽村-生基坪",
|
||||
"用水户类型":"居民"
|
||||
}
|
||||
]
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,47 @@
|
|||
{
|
||||
"total":5,
|
||||
"pages": 1,
|
||||
"records":[
|
||||
{
|
||||
"水厂名称":"斑竹坪水厂",
|
||||
"取用水源":"山泉水、新水厂",
|
||||
"行政区划":"鸡鸣坝、五龙坪、落马滩",
|
||||
"供水人口":"约5398人",
|
||||
"负责人":"陈刚",
|
||||
"联系方式":"13647186235"
|
||||
},
|
||||
{
|
||||
"水厂名称":"朝阳寺新水厂",
|
||||
"取用水源":"龙王庙水库",
|
||||
"行政区划":"朝阳集镇",
|
||||
"供水人口":"",
|
||||
"负责人":"田延章",
|
||||
"联系方式":"13396194199"
|
||||
},
|
||||
{
|
||||
"水厂名称":"朝阳寺老水厂",
|
||||
"取用水源":"龙王庙水库",
|
||||
"行政区划":"朝阳集镇 ",
|
||||
"供水人口":"",
|
||||
"负责人":"田延章",
|
||||
"联系方式":"13396194199"
|
||||
},
|
||||
{
|
||||
"水厂名称":"凉桥水厂",
|
||||
"取用水源":"二仙岩水源地",
|
||||
"行政区划":" 凉桥村",
|
||||
"供水人口":"974人",
|
||||
"负责人":"秦忠益",
|
||||
"联系方式":"15971826687"
|
||||
},
|
||||
{
|
||||
"水厂名称":"滴水岩水厂",
|
||||
"取用水源":"烂泥沟水库",
|
||||
"行政区划":"五龙坪",
|
||||
"供水人口":"2084人",
|
||||
"负责人":"陈刚",
|
||||
"联系方式":"13647186235"
|
||||
}
|
||||
|
||||
]
|
||||
}
|
||||
|
|
@ -43,6 +43,7 @@ const TopMenu: React.FC<{
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
return (
|
||||
<div className='app-top-menu'>
|
||||
{
|
||||
|
|
|
|||
|
|
@ -71,7 +71,8 @@ const DashboardLayout: React.FC = () => {
|
|||
if (user === 'failed') {
|
||||
return null;
|
||||
}
|
||||
|
||||
console.log("menuIndexes",menuIndexes);
|
||||
console.log("menu",menu);
|
||||
return (
|
||||
<Layout className="app-root">
|
||||
<Header className="app-header">
|
||||
|
|
|
|||
|
|
@ -14,6 +14,21 @@ export type SysUserItem = {
|
|||
职务: string;
|
||||
状态: string;
|
||||
}
|
||||
|
||||
export type WaterItem = {
|
||||
水厂名称: string;
|
||||
经营性质: string;
|
||||
行政区划: string;
|
||||
地理位置: string;
|
||||
许可证号: string;
|
||||
水质级别: string;
|
||||
生产能力: string;
|
||||
取用水源: string;
|
||||
供水对象: string;
|
||||
供水人口: string;
|
||||
负责人: string;
|
||||
联系方式: string;
|
||||
}
|
||||
export type DepartmentItem = {
|
||||
部门编码: string;
|
||||
部门名称: string;
|
||||
|
|
@ -74,6 +89,31 @@ export type ElStItem = {
|
|||
"创建日期": string,
|
||||
}
|
||||
|
||||
export type VideoItem = {
|
||||
"name":string ,
|
||||
"indexCode": string,
|
||||
"chan": string,
|
||||
"status": number,
|
||||
"tm": string,
|
||||
"lgtd": number,
|
||||
"lttd": number,
|
||||
"relType": string,
|
||||
"relId": string,
|
||||
"menuId": number,
|
||||
"adcd": string,
|
||||
"location": string,
|
||||
"itemCode": string,
|
||||
"chanType": string,
|
||||
"ipAddress": string,
|
||||
"remark"?: string,
|
||||
"createUserId"?: string,
|
||||
"createUserName"?: string,
|
||||
"createTime"?: string,
|
||||
"视频ID": string,
|
||||
"监控点类型": string,
|
||||
"ip端口号":string,
|
||||
}
|
||||
|
||||
export type DirItem = {
|
||||
"id": string,
|
||||
"serviceTypeId": string,
|
||||
|
|
|
|||
|
|
@ -78,11 +78,11 @@ export function loadMenu(user: LoginUser): MenuItem[] {
|
|||
{
|
||||
id: id(), title: '工程及水系', redirect: '/mgr/res', children: [
|
||||
{ id: id(), title: '水源地', path: '/mgr/res' },
|
||||
{ id: id(), title: '河流', path: '/mgr/rivl' },
|
||||
{ id: id(), title: '大坝', path: '/mgr/dam' },
|
||||
// { id: id(), title: '河流', path: '/mgr/rivl' },
|
||||
// { id: id(), title: '大坝', path: '/mgr/dam' },
|
||||
// { id: id(), title: '水电站', path: '/mgr/elst' },
|
||||
{ id: id(), title: '闸阀', path: '/mgr/gate' },
|
||||
{ id: id(), title: '量水堰', path: '/mgr/wfm' },
|
||||
// { id: id(), title: '量水堰', path: '/mgr/wfm' },
|
||||
],
|
||||
},
|
||||
{
|
||||
|
|
@ -91,7 +91,7 @@ export function loadMenu(user: LoginUser): MenuItem[] {
|
|||
{ id: id(), title: '视频点', path: '/mgr/video' },
|
||||
//{ id: id(), title: '水位流量曲线', path: '/mgr/rzhis' },
|
||||
{ id: id(), title: '管理单位', path: '/mgr/unit' },
|
||||
{ id: id(), title: '行政区划', path: '/mgr/ad' },
|
||||
// { id: id(), title: '行政区划', path: '/mgr/ad' },
|
||||
{ id: id(), title: '用水户信息', path: '/mgr/personel' },
|
||||
{ id: id(), title: '部门管理', path: '/mgr/department' },
|
||||
{ id: id(), title: '水厂信息', path: '/mgr/waterPro' },
|
||||
|
|
|
|||
|
|
@ -41,10 +41,10 @@ const AppRouters: React.FC = () => {
|
|||
{
|
||||
path: '/mgr', element: <DashboardLayout />, children: [
|
||||
{ path: 'res', element: <ResPage /> },
|
||||
{ path: 'gate', element: <GatePage /> },
|
||||
{ path: 'rivl', element: <RivlPage /> },
|
||||
{ path: 'dam', element: <DamPage /> },
|
||||
{ path: 'elst', element: <ElStPage /> },
|
||||
{ path: 'gate', element: <GatePage /> },
|
||||
{ path: 'wfm', element: <WfmPage /> },
|
||||
{ path: 'st', element: <StPage /> },
|
||||
{ path: 'video', element: <VideoPage /> },
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ const DataTable: React.FC<{
|
|||
const { pager, crud } = ctx;
|
||||
const columns = useMemo<ColumnsType<DepartmentItem>>(() => [
|
||||
{ title: '序号', key: 'id', width: 80, align: 'center', render: (_1: any, _2: any, index: number) => ctx.pager.noRender(index) },
|
||||
{ title: '部门编码', key: '部门编码', dataIndex: '部门编码', width: 120, align: 'center' },
|
||||
{ title: '部门编码', key: '部门编码', dataIndex: '部门编码', width: 120, align: 'center',render:()=><span></span> },
|
||||
{ title: '部门名称', key: '部门名称', dataIndex: '部门名称', width: 120, align: 'center' },
|
||||
{ title: '上级部门', key: '上级部门', dataIndex: '上级部门', width: 120, align: 'center' },
|
||||
{ title: '排序号', key: '排序号', dataIndex: '排序号', width: 120, align: 'center' },
|
||||
|
|
|
|||
|
|
@ -41,9 +41,8 @@ const DataTable: React.FC<{
|
|||
<>
|
||||
<Table
|
||||
columns={columns}
|
||||
rowKey={row => row.用户账号}
|
||||
rowKey={row => row.用户姓名}
|
||||
{...pager.tableProps}
|
||||
dataSource={[]}
|
||||
|
||||
/>
|
||||
</>
|
||||
|
|
|
|||
|
|
@ -37,8 +37,8 @@ const DataTable: React.FC<{
|
|||
|
||||
}}>编辑</Button></div>
|
||||
<Button type="link" > 删除</Button>
|
||||
<Button type="link" > 采集项管理</Button>
|
||||
<Button type="link" > 站点管理</Button>
|
||||
{/* <Button type="link" > 采集项管理</Button>
|
||||
<Button type="link" > 站点管理</Button> */}
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import { ColumnsType } from 'antd/lib/table';
|
|||
import moment from 'moment';
|
||||
import React, { useMemo } from 'react';
|
||||
import OpButton, { DelOpButton, EditOpButton } from '../../../components/crud/OpButton';
|
||||
import { ElStItem } from '../../../models/_/defs';
|
||||
import { VideoItem } from '../../../models/_/defs';
|
||||
import { IContextProp } from './_';
|
||||
|
||||
|
||||
|
|
@ -15,18 +15,19 @@ const DataTable: React.FC<{
|
|||
}> = ({ ctx }) => {
|
||||
|
||||
const { pager, crud } = ctx;
|
||||
const columns = useMemo<ColumnsType<ElStItem>>(() => [
|
||||
|
||||
const columns = useMemo<ColumnsType<VideoItem>>(() => [
|
||||
{ title: '视频ID', key: '视频ID', align: 'center', width: 80, render: (_1: any, _2: any, index: number) => ctx.pager.noRender(index) },
|
||||
{ title: '视频点名称', key: '视频点名称', dataIndex: '视频点名称', width: 120, align: 'center' },
|
||||
{ title: '所在区域', key: '所在区域', dataIndex: '所在区域', width: 120, align: 'center' },
|
||||
{ title: '视频点名称', key: 'name', dataIndex: 'name', width: 120, align: 'center' },
|
||||
{ title: '所在区域', key: 'location', dataIndex: 'location', width: 120, align: 'center' },
|
||||
{ title: '监控点类型', key: '监控点类型', dataIndex: '监控点类型', width: 120, align: 'center' },
|
||||
{ title: 'ip端口号', key: 'ip端口号', dataIndex: 'ip端口号', width: 120, align: 'center' },
|
||||
{ title: '通道号', key: '通道号', dataIndex: '通道号', width: 120, align: 'center' },
|
||||
{ title: '通道号', key: 'chan', dataIndex: 'chan', width: 120, align: 'center' },
|
||||
|
||||
{ title: '经度', key: '经度', dataIndex: '经度', width: 120, align: 'center' },
|
||||
{ title: '纬度', key: '纬度', dataIndex: '纬度', width: 120, align: 'center' },
|
||||
{ title: '视频序列号', key: '视频序列号', dataIndex: '视频序列号', width: 120, align: 'center' },
|
||||
{ title: '创建日期', key: '创建日期', dataIndex: '创建日期', width: 120, align: 'center' },
|
||||
{ title: '经度', key: 'lgtd', dataIndex: 'lgtd', width: 120, align: 'center' },
|
||||
{ title: '纬度', key: 'lttd', dataIndex: 'lttd', width: 120, align: 'center' },
|
||||
{ title: '视频序列号', key: 'indexCode', dataIndex: 'indexCode', width: 120, align: 'center' },
|
||||
{ title: '创建日期', key: 'tm', dataIndex: 'tm', width: 120, align: 'center' },
|
||||
{
|
||||
title: '操作', key: 'op', align: 'center', width: 200, render: rec =>
|
||||
(<Space split={<Divider type="vertical" />}>
|
||||
|
|
@ -42,10 +43,8 @@ const DataTable: React.FC<{
|
|||
<>
|
||||
<Table
|
||||
columns={columns}
|
||||
rowKey={row => row.水电站代码}
|
||||
rowKey={row => row.indexCode}
|
||||
{...pager.tableProps}
|
||||
dataSource={[]}
|
||||
|
||||
/>
|
||||
</>
|
||||
)
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
import { message } from "antd";
|
||||
import useCrud, { BasicCrudType, CrudContext } from "../../../components/crud/useCrud";
|
||||
import usePageTable, { PageTableContext } from "../../../components/crud/usePageTable";
|
||||
import { ElStItem } from "../../../models/_/defs";
|
||||
import { ElStItem,VideoItem } from "../../../models/_/defs";
|
||||
import { httpGet, httpPost, paginate, paginateDemo } from "../../../utils/request";
|
||||
|
||||
|
||||
|
|
@ -9,7 +9,7 @@ type CRUD_TYPER = BasicCrudType;
|
|||
|
||||
|
||||
export type IContextProp = {
|
||||
pager: PageTableContext<ElStItem>;
|
||||
pager: PageTableContext<VideoItem>;
|
||||
crud: CrudContext<CRUD_TYPER>;
|
||||
saveOrUpdate: (val: FormPropType) => Promise<void>;
|
||||
del: (val: any) => Promise<void>;
|
||||
|
|
@ -22,7 +22,7 @@ export type FormPropType = {
|
|||
|
||||
export function usePageContext(): IContextProp {
|
||||
const crud = useCrud<CRUD_TYPER>();
|
||||
const pager = usePageTable<ElStItem>((opt: any) => paginateDemo('video.json', opt));
|
||||
const pager = usePageTable<VideoItem>((opt: any) => paginateDemo('spvideo.json', opt));
|
||||
|
||||
|
||||
const saveOrUpdate = async (val: FormPropType): Promise<void> => {
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import { ColumnsType } from 'antd/lib/table';
|
|||
import moment from 'moment';
|
||||
import React, { useMemo } from 'react';
|
||||
import OpButton, { DelOpButton, EditOpButton } from '../../../components/crud/OpButton';
|
||||
import { SysUserItem } from '../../../models/_/defs';
|
||||
import { WaterItem } from '../../../models/_/defs';
|
||||
import { IContextProp } from './_';
|
||||
|
||||
|
||||
|
|
@ -15,11 +15,11 @@ const DataTable: React.FC<{
|
|||
}> = ({ ctx }) => {
|
||||
|
||||
const { pager, crud } = ctx;
|
||||
const columns = useMemo<ColumnsType<SysUserItem>>(() => [
|
||||
const columns = useMemo<ColumnsType<WaterItem>>(() => [
|
||||
{ title: '序号', key: 'id', align: 'center', width: 80, render: (_1: any, _2: any, index: number) => ctx.pager.noRender(index) },
|
||||
{ title: '水厂名称', key: '水厂名称', dataIndex: '水厂名称', width: 120, align: 'center' },
|
||||
{ title: '经营性质', key: '经营性质', dataIndex: '经营性质', width: 120, align: 'center' },
|
||||
{ title: '行政区划', key: '行政区划', dataIndex: '行政区划', width: 120, align: 'center' },
|
||||
{ title: '行政区划', key: '行政区划', dataIndex: '行政区划', width: 120, align: 'center',render:()=><span>朝阳寺镇</span> },
|
||||
{ title: '地理位置', key: '地理位置', dataIndex: '地理位置', width: 120, align: 'center' },
|
||||
{ title: '许可证号', key: '许可证号', dataIndex: '许可证号', width: 120, align: 'center' },
|
||||
{ title: '净水工艺', key: '净水工艺', dataIndex: '净水工艺', width: 120, align: 'center' },
|
||||
|
|
@ -47,9 +47,9 @@ const DataTable: React.FC<{
|
|||
<>
|
||||
<Table
|
||||
columns={columns}
|
||||
rowKey={row => row.用户账号}
|
||||
rowKey={row => row.水厂名称}
|
||||
{...pager.tableProps}
|
||||
dataSource={[]}
|
||||
|
||||
|
||||
/>
|
||||
</>
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
import { message } from "antd";
|
||||
import useCrud, { BasicCrudType, CrudContext } from "../../../components/crud/useCrud";
|
||||
import usePageTable, { PageTableContext } from "../../../components/crud/usePageTable";
|
||||
import { SysUserItem } from "../../../models/_/defs";
|
||||
import { SysUserItem,WaterItem } from "../../../models/_/defs";
|
||||
import { httpGet, httpPost, paginate, paginateDemo } from "../../../utils/request";
|
||||
|
||||
|
||||
|
|
@ -9,7 +9,7 @@ type CRUD_TYPER = BasicCrudType;
|
|||
|
||||
|
||||
export type IContextProp = {
|
||||
pager: PageTableContext<SysUserItem>;
|
||||
pager: PageTableContext<WaterItem>;
|
||||
crud: CrudContext<CRUD_TYPER>;
|
||||
saveOrUpdate: (val: FormPropType) => Promise<void>;
|
||||
del: (val: any) => Promise<void>;
|
||||
|
|
@ -22,7 +22,7 @@ export type FormPropType = {
|
|||
|
||||
export function usePageContext(): IContextProp {
|
||||
const crud = useCrud<CRUD_TYPER>();
|
||||
const pager = usePageTable<SysUserItem>((opt: any) => paginateDemo('sysUser.json', opt));
|
||||
const pager = usePageTable<WaterItem>((opt: any) => paginateDemo('water.json', opt));
|
||||
|
||||
|
||||
const saveOrUpdate = async (val: FormPropType): Promise<void> => {
|
||||
|
|
|
|||
|
|
@ -44,6 +44,7 @@ const DataTable: React.FC<{
|
|||
columns={columns}
|
||||
rowKey={row => row.水电站代码}
|
||||
{...pager.tableProps}
|
||||
dataSource={[]}
|
||||
/>
|
||||
</>
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in New Issue