Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
shanghaiTIM
Overview
Overview
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
node_server
shanghaiTIM
Commits
22bca205
Commit
22bca205
authored
Jun 09, 2026
by
PC-20251223ZVQQ\Administrator
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
座椅数据接入
parent
295479fb
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
570 additions
and
570 deletions
+570
-570
zy.ts
src/biz/zy.ts
+570
-570
No files found.
src/biz/zy.ts
View file @
22bca205
...
@@ -13,199 +13,199 @@ import { convertTIMDataToModelFormat } from "../dataPackage/tool";
...
@@ -13,199 +13,199 @@ import { convertTIMDataToModelFormat } from "../dataPackage/tool";
* @param res
* @param res
*/
*/
export
async
function
getTotal
(
req
,
res
)
{
export
async
function
getTotal
(
req
,
res
)
{
let
ret
=
{
//
let ret = {
"ztsj"
:
{
//
"ztsj": {
"zyzs"
:
"13600"
,
//
"zyzs":"13600",
"zyzmj"
:
"66656.38㎡"
,
//
"zyzmj":"66656.38㎡",
"zyqys"
:
"106"
,
//
"zyqys":"106",
"axzy"
:
"2000"
//
"axzy":"2000"
},
//
},
"qjzyzygl"
:[
//
"qjzyzygl":[
{
//
{
"key"
:
"东交中心"
,
//
"key": "东交中心",
"zys"
:
"40"
,
//
"zys": "40",
"zbs"
:
"25"
,
//
"zbs": "25",
"mj"
:
"31"
//
"mj": "31"
},
//
},
{
//
{
"key"
:
"T1航站楼"
,
//
"key": "T1航站楼",
"zys"
:
"40"
,
//
"zys": "40",
"zbs"
:
"25"
,
//
"zbs": "25",
"mj"
:
"31"
//
"mj": "31"
},
//
},
{
//
{
"key"
:
"T2航站楼"
,
//
"key": "T2航站楼",
"zys"
:
"40"
,
//
"zys": "40",
"zbs"
:
"25"
,
//
"zbs": "25",
"mj"
:
"31"
//
"mj": "31"
}
//
}
],
//
],
"jqn"
:
"106"
,
//
"jqn": "106",
"jqw"
:
"106"
,
//
"jqw": "106",
"zylx"
:
"10"
,
//
"zylx": "10",
"zypzlxfb"
:[
//
"zypzlxfb":[
{
//
{
"key"
:
"排椅"
,
//
"key": "排椅",
"sl"
:
"15"
//
"sl": "15"
},
//
},
{
//
{
"key"
:
"躺椅"
,
//
"key": "躺椅",
"sl"
:
"15"
//
"sl": "15"
},
//
},
{
//
{
"key"
:
"沙发椅"
,
//
"key": "沙发椅",
"sl"
:
"15"
//
"sl": "15"
},
//
},
{
//
{
"key"
:
"长凳"
,
//
"key": "长凳",
"sl"
:
"15"
//
"sl": "15"
},
//
},
{
//
{
"key"
:
"临时座椅"
,
//
"key": "临时座椅",
"sl"
:
"15"
//
"sl": "15"
}
//
}
],
//
],
"xxqfwxz"
:{
//
"xxqfwxz":{
"jcsj"
:
{
//
"jcsj": {
"xxqzs"
:
"12"
,
//
"xxqzs":"12",
"xxqzmj"
:
"6"
//
"xxqzmj":"6"
},
//
},
"xxqxz"
:
[
//
"xxqxz": [
{
//
{
"key"
:
"东交中心"
,
//
"key":"东交中心",
"sl"
:
"11"
,
//
"sl":"11",
"mj"
:
"13"
//
"mj":"13"
},
//
},
{
//
{
"key"
:
"T1航站楼"
,
//
"key":"T1航站楼",
"sl"
:
"11"
,
//
"sl":"11",
"mj"
:
"13"
//
"mj":"13"
},
//
},
{
//
{
"key"
:
"T2航站楼"
,
//
"key":"T2航站楼",
"sl"
:
"11"
,
//
"sl":"11",
"mj"
:
"13"
//
"mj":"13"
}
//
}
]
//
]
},
//
},
"cdmbpzfx"
:{
//
"cdmbpzfx":{
"cdbzs"
:
"132"
,
//
"cdbzs": "132",
"cdmbfx"
:
[
//
"cdmbfx": [
{
//
{
"key"
:
"东交中心"
,
//
"key":"东交中心",
"ptc"
:
"11"
,
//
"ptc":"11",
"axc"
:
"13"
,
//
"axc":"13",
"wxc"
:
"13"
//
"wxc":"13"
},
//
},
{
//
{
"key"
:
"T1航站楼"
,
//
"key":"T1航站楼",
"ptc"
:
"11"
,
//
"ptc":"11",
"axc"
:
"13"
,
//
"axc":"13",
"wxc"
:
"13"
//
"wxc":"13"
},
//
},
{
//
{
"key"
:
"T2航站楼"
,
//
"key":"T2航站楼",
"ptc"
:
"11"
,
//
"ptc":"11",
"axc"
:
"13"
,
//
"axc":"13",
"wxc"
:
"13"
//
"wxc":"13"
}
//
}
]
//
]
},
//
},
"rcxjgl"
:{
//
"rcxjgl":{
"jcsj"
:
{
//
"jcsj": {
"xjjh"
:
"12"
,
//
"xjjh":"12",
"ywc"
:
"6"
,
//
"ywc":"6",
"wwc"
:
"3"
,
//
"wwc":"3",
"fxwt"
:
"3"
//
"fxwt":"3"
},
//
},
"xjqk"
:
[
//
"xjqk": [
{
//
{
"key"
:
"问题类型1"
,
//
"key":"问题类型1",
"sl"
:
"11"
//
"sl":"11"
},
//
},
{
//
{
"key"
:
"问题类型2"
,
//
"key":"问题类型2",
"sl"
:
"11"
//
"sl":"11"
},
//
},
{
//
{
"key"
:
"问题类型3"
,
//
"key":"问题类型3",
"sl"
:
"11"
//
"sl":"11"
}
//
}
]
//
]
},
//
},
"zysszgjl"
:{
//
"zysszgjl":{
"zgcs"
:
""
,
//
"zgcs": "",
"zysszgjlbg"
:
{
//
"zysszgjlbg": {
"titleList"
:[
"整改时间"
,
"位置"
,
"负责人"
,
"整改原因"
,
"状态"
],
//
"titleList":["整改时间", "位置", "负责人", "整改原因", "状态"],
"dataList"
:[
//
"dataList":[
[
"2026.05.12"
,
"T2B岛对面"
,
"罗某"
,
"位置更换"
,
"已完成"
]
//
["2026.05.12", "T2B岛对面", "罗某", "位置更换", "已完成"]
]
//
]
}
//
}
},
//
},
"bpbjsy"
:
[
//
"bpbjsy": [
{
//
{
"key"
:
"备品备件类型1"
,
//
"key": "备品备件类型1",
"value"
:
"2000"
//
"value": "2000"
},
//
},
{
//
{
"key"
:
"备品备件类型2"
,
//
"key": "备品备件类型2",
"value"
:
"20000"
//
"value": "20000"
},
//
},
{
//
{
"key"
:
"备品备件类型3"
,
//
"key": "备品备件类型3",
"value"
:
"30000"
//
"value": "30000"
}
//
}
],
//
],
"zyssghqksl"
:[
//
"zyssghqksl":[
{
//
{
"key"
:
"东交中心"
,
//
"key":"东交中心",
"ygh"
:
"11"
,
//
"ygh":"11",
"ghz"
:
"13"
,
//
"ghz":"13",
"dgh"
:
"13"
//
"dgh":"13"
},
//
},
{
//
{
"key"
:
"T1航站楼"
,
//
"key":"T1航站楼",
"ygh"
:
"11"
,
//
"ygh":"11",
"ghz"
:
"13"
,
//
"ghz":"13",
"dgh"
:
"13"
//
"dgh":"13"
},
//
},
{
//
{
"key"
:
"T2航站楼"
,
//
"key":"T2航站楼",
"ygh"
:
"11"
,
//
"ygh":"11",
"ghz"
:
"13"
,
//
"ghz":"13",
"dgh"
:
"13"
//
"dgh":"13"
}
//
}
],
//
],
"zyssghqkmj"
:[
//
"zyssghqkmj":[
{
//
{
"key"
:
"东交中心"
,
//
"key":"东交中心",
"ygh"
:
"11"
,
//
"ygh":"11",
"ghz"
:
"13"
,
//
"ghz":"13",
"dgh"
:
"13"
//
"dgh":"13"
},
//
},
{
//
{
"key"
:
"T1航站楼"
,
//
"key":"T1航站楼",
"ygh"
:
"11"
,
//
"ygh":"11",
"ghz"
:
"13"
,
//
"ghz":"13",
"dgh"
:
"13"
//
"dgh":"13"
},
//
},
{
//
{
"key"
:
"T2航站楼"
,
//
"key":"T2航站楼",
"ygh"
:
"11"
,
//
"ygh":"11",
"ghz"
:
"13"
,
//
"ghz":"13",
"dgh"
:
"13"
//
"dgh":"13"
}
//
}
]
//
]
}
//
}
//
let ret:any = {};
let
ret
:
any
=
{};
//
let url = `${systemConfig.totalZY}`;
let
url
=
`
${
systemConfig
.
totalZY
}
`
;
//
let totalInfo = await postAxios(url, {}, {});
let
totalInfo
=
await
postAxios
(
url
,
{},
{});
//
ret = totalInfo.body;
ret
=
totalInfo
.
body
;
res
.
send
(
ret
);
res
.
send
(
ret
);
}
}
...
@@ -217,166 +217,166 @@ export async function getTotal(req, res) {
...
@@ -217,166 +217,166 @@ export async function getTotal(req, res) {
* @param res
* @param res
*/
*/
export
async
function
getTerminal
(
req
,
res
)
{
export
async
function
getTerminal
(
req
,
res
)
{
let
ret
=
{
//
let ret = {
"ztsj"
:
{
//
"ztsj": {
"zyzs"
:
"13600"
,
//
"zyzs": "13600",
"zyzmj"
:
"66656.38㎡"
,
//
"zyzmj": "66656.38㎡",
"zyqys"
:
"106"
,
//
"zyqys": "106",
"axzy"
:
"2000"
//
"axzy": "2000"
},
//
},
"zyzygl"
:[
//
"zyzygl":[
{
//
{
"key"
:
"排椅"
,
//
"key": "排椅",
"zys"
:
"40"
,
//
"zys": "40",
"zbs"
:
"25"
,
//
"zbs": "25",
"mj"
:
"31"
//
"mj": "31"
},
//
},
{
//
{
"key"
:
"吧椅"
,
//
"key": "吧椅",
"zys"
:
"40"
,
//
"zys": "40",
"zbs"
:
"25"
,
//
"zbs": "25",
"mj"
:
"31"
//
"mj": "31"
},
//
},
{
//
{
"key"
:
"休闲区"
,
//
"key": "休闲区",
"zys"
:
"40"
,
//
"zys": "40",
"zbs"
:
"25"
,
//
"zbs": "25",
"mj"
:
"31"
//
"mj": "31"
},
//
},
],
//
],
"jqn"
:
"106"
,
//
"jqn": "106",
"jqw"
:
"106"
,
//
"jqw": "106",
"zylx"
:
"10"
,
//
"zylx": "10",
"zylxpb"
:[
//
"zylxpb":[
{
//
{
"key"
:
"排椅"
,
//
"key": "排椅",
"value"
:
"15"
//
"value": "15"
},
//
},
{
//
{
"key"
:
"躺椅"
,
//
"key": "躺椅",
"value"
:
"10"
//
"value": "10"
},
//
},
{
//
{
"key"
:
"沙发椅"
,
//
"key": "沙发椅",
"value"
:
"13"
//
"value": "13"
},
//
},
{
//
{
"key"
:
"长凳"
,
//
"key": "长凳",
"value"
:
"21"
//
"value": "21"
},
//
},
{
//
{
"key"
:
"临时座椅"
,
//
"key": "临时座椅",
"value"
:
"17"
//
"value": "17"
}
//
}
],
//
],
"xxqfwxz"
:{
//
"xxqfwxz":{
"M2-60口-躺椅"
:
{
//
"M2-60口-躺椅": {
"img"
:
`
${
systemConfig
.
imgIp
}
/1.jpg`
,
//
"img": `${systemConfig.imgIp}/1.jpg`,
"wz"
:
"M2层-60登记口"
,
//
"wz": "M2层-60登记口",
"zys"
:
"100"
,
//
"zys":"100",
"mj"
:
"100㎡"
,
//
"mj":"100㎡",
"rjmj"
:
"1㎡"
,
//
"rjmj":"1㎡",
"gg"
:
"5个一排躺椅"
,
//
"gg":"5个一排躺椅",
},
//
},
"M2-71口-云端椅"
:
{
//
"M2-71口-云端椅": {
"img"
:
`
${
systemConfig
.
imgIp
}
/1.jpg`
,
//
"img": `${systemConfig.imgIp}/1.jpg`,
"wz"
:
"M2层-71登记口"
,
//
"wz": "M2层-71登记口",
"zys"
:
"100"
,
//
"zys":"100",
"mj"
:
"100㎡"
,
//
"mj":"100㎡",
"rjmj"
:
"1㎡"
,
//
"rjmj":"1㎡",
"gg"
:
"云端椅"
,
//
"gg":"云端椅",
},
//
},
},
//
},
"cdmbpzfx"
:{
//
"cdmbpzfx":{
"cdbzs"
:
"1654"
,
//
"cdbzs": "1654",
"cdmbfx"
:
[
//
"cdmbfx": [
{
//
{
"key"
:
"普通充"
,
//
"key":"普通充",
"sl"
:
"11"
//
"sl":"11"
},
//
},
{
//
{
"key"
:
"爱心充"
,
//
"key":"爱心充",
"sl"
:
"11"
//
"sl":"11"
},
//
},
{
//
{
"key"
:
"无线充"
,
//
"key":"无线充",
"sl"
:
"11"
//
"sl":"11"
},
//
},
]
//
]
},
//
},
"rcxjgl"
:{
//
"rcxjgl":{
"jcsj"
:
{
//
"jcsj": {
"xjjh"
:
"12"
,
//
"xjjh":"12",
"ywc"
:
"6"
,
//
"ywc":"6",
"wwc"
:
"3"
,
//
"wwc":"3",
"fxwt"
:
"3"
,
//
"fxwt":"3",
},
//
},
"xjqk"
:
[
//
"xjqk": [
{
//
{
"key"
:
"问题类型1"
,
//
"key":"问题类型1",
"sl"
:
"11"
,
//
"sl":"11",
},
//
},
{
//
{
"key"
:
"问题类型2"
,
//
"key":"问题类型2",
"sl"
:
"11"
,
//
"sl":"11",
},
//
},
{
//
{
"key"
:
"问题类型3"
,
//
"key":"问题类型3",
"sl"
:
"11"
,
//
"sl":"11",
},
//
},
]
//
]
},
//
},
"zysszgjl"
:{
//
"zysszgjl":{
"zgcs"
:
""
,
//
"zgcs": "",
"zysszgjlbg"
:
{
//
"zysszgjlbg": {
"titleList"
:[
"整改时间"
,
"位置"
,
"负责人"
,
"整改原因"
,
"状态"
],
//
"titleList":["整改时间", "位置", "负责人", "整改原因", "状态"],
"dataList"
:[
//
"dataList":[
[
"2026.05.12"
,
"T2B岛对面"
,
"罗某"
,
"位置更换"
,
"已完成"
]
//
["2026.05.12", "T2B岛对面", "罗某", "位置更换", "已完成"]
]
//
]
}
//
}
},
//
},
"bpbjsy"
:
[
//
"bpbjsy": [
{
//
{
"key"
:
"备品备件类型1"
,
//
"key": "备品备件类型1",
"value"
:
"2000"
,
//
"value": "2000",
},
//
},
{
//
{
"key"
:
"备品备件类型2"
,
//
"key": "备品备件类型2",
"value"
:
"20000"
//
"value": "20000"
},
//
},
{
//
{
"key"
:
"备品备件类型3"
,
//
"key": "备品备件类型3",
"value"
:
"30000"
//
"value": "30000"
}
//
}
],
//
],
"zyssghqk"
:[
//
"zyssghqk":[
{
//
{
"key"
:
"已规划"
,
//
"key":"已规划",
"sl"
:
"11"
,
//
"sl":"11",
"mj"
:
"13"
//
"mj":"13"
},
//
},
{
//
{
"key"
:
"规划中"
,
//
"key":"规划中",
"sl"
:
"11"
,
//
"sl":"11",
"mj"
:
"13"
//
"mj":"13"
},
//
},
{
//
{
"key"
:
"待规划"
,
//
"key":"待规划",
"sl"
:
"11"
,
//
"sl":"11",
"mj"
:
"13"
//
"mj":"13"
},
//
},
]
//
]
}
//
}
//
let ret:any = {};
let
ret
:
any
=
{};
//
let {ld} = req.body;
let
{
ld
}
=
req
.
body
;
//
let url = `${systemConfig.terminalZY}?ld=${ld}`;
let
url
=
`
${
systemConfig
.
terminalZY
}
?ld=
${
ld
}
`
;
//
let terminalInfo = await postAxios(url, {}, {});
let
terminalInfo
=
await
postAxios
(
url
,
{},
{});
//
ret = terminalInfo.body;
ret
=
terminalInfo
.
body
;
res
.
send
(
ret
);
res
.
send
(
ret
);
}
}
...
@@ -388,167 +388,167 @@ export async function getTerminal(req, res) {
...
@@ -388,167 +388,167 @@ export async function getTerminal(req, res) {
* @param res
* @param res
*/
*/
export
async
function
getFloor
(
req
,
res
)
{
export
async
function
getFloor
(
req
,
res
)
{
let
ret
=
{
//
let ret = {
"ztsj"
:
{
//
"ztsj": {
"zyzs"
:
"13600"
,
//
"zyzs": "13600",
"zyzmj"
:
"66656.38㎡"
,
//
"zyzmj": "66656.38㎡",
"zyqys"
:
"106"
,
//
"zyqys": "106",
"axzy"
:
"2000"
//
"axzy": "2000"
},
//
},
"zyzygl"
:[
//
"zyzygl":[
{
//
{
"key"
:
"排椅"
,
//
"key": "排椅",
"zys"
:
"40"
,
//
"zys": "40",
"zbs"
:
"25"
,
//
"zbs": "25",
"mj"
:
"31"
//
"mj": "31"
},
//
},
{
//
{
"key"
:
"吧椅"
,
//
"key": "吧椅",
"zys"
:
"40"
,
//
"zys": "40",
"zbs"
:
"25"
,
//
"zbs": "25",
"mj"
:
"31"
//
"mj": "31"
},
//
},
{
//
{
"key"
:
"休闲区"
,
//
"key": "休闲区",
"zys"
:
"40"
,
//
"zys": "40",
"zbs"
:
"25"
,
//
"zbs": "25",
"mj"
:
"31"
//
"mj": "31"
},
//
},
],
//
],
"jqn"
:
"106"
,
//
"jqn": "106",
"jqw"
:
"106"
,
//
"jqw": "106",
"zylx"
:
"10"
,
//
"zylx": "10",
"zylxpb"
:[
//
"zylxpb":[
{
//
{
"key"
:
"排椅"
,
//
"key": "排椅",
"value"
:
"15"
//
"value": "15"
},
//
},
{
//
{
"key"
:
"躺椅"
,
//
"key": "躺椅",
"value"
:
"10"
//
"value": "10"
},
//
},
{
//
{
"key"
:
"沙发椅"
,
//
"key": "沙发椅",
"value"
:
"13"
//
"value": "13"
},
//
},
{
//
{
"key"
:
"长凳"
,
//
"key": "长凳",
"value"
:
"21"
//
"value": "21"
},
//
},
{
//
{
"key"
:
"临时座椅"
,
//
"key": "临时座椅",
"value"
:
"17"
//
"value": "17"
}
//
}
],
//
],
"cdmbpzfx"
:{
//
"cdmbpzfx":{
"cdbzs"
:
"1654"
,
//
"cdbzs": "1654",
"cdmbfx"
:
[
//
"cdmbfx": [
{
//
{
"key"
:
"普通充"
,
//
"key":"普通充",
"sl"
:
"11"
//
"sl":"11"
},
//
},
{
//
{
"key"
:
"爱心充"
,
//
"key":"爱心充",
"sl"
:
"11"
//
"sl":"11"
},
//
},
{
//
{
"key"
:
"无线充"
,
//
"key":"无线充",
"sl"
:
"11"
//
"sl":"11"
},
//
},
]
//
]
},
//
},
"rcxjqk"
:{
//
"rcxjqk":{
"jcsj"
:
{
//
"jcsj": {
"xjjh"
:
"12"
,
//
"xjjh":"12",
"ywc"
:
"6"
,
//
"ywc":"6",
"wwc"
:
"3"
,
//
"wwc":"3",
"fxwt"
:
"3"
,
//
"fxwt":"3",
},
//
},
"xjqk"
:
[
//
"xjqk": [
{
//
{
"key"
:
"问题类型1"
,
//
"key":"问题类型1",
"sl"
:
"11"
,
//
"sl":"11",
},
//
},
{
//
{
"key"
:
"问题类型2"
,
//
"key":"问题类型2",
"sl"
:
"11"
,
//
"sl":"11",
},
//
},
{
//
{
"key"
:
"问题类型3"
,
//
"key":"问题类型3",
"sl"
:
"11"
,
//
"sl":"11",
},
//
},
]
//
]
},
//
},
"bxjl"
:{
//
"bxjl":{
"jcsj"
:
{
//
"jcsj": {
"jbxs"
:
"106"
,
//
"jbxs": "106",
"ywc"
:
"21"
,
//
"ywc": "21",
"wwc"
:
"85"
,
//
"wwc": "85",
},
//
},
"bxjlbg"
:
{
//
"bxjlbg": {
"titleList"
:[
"整改时间"
,
"位置"
,
"负责人"
,
"整改原因"
,
"状态"
],
//
"titleList":["整改时间", "位置", "负责人", "整改原因", "状态"],
"dataList"
:[
//
"dataList":[
[
"2026.05.12"
,
"T2B岛对面"
,
"罗某"
,
"座垫破损"
,
"已完成"
]
//
["2026.05.12", "T2B岛对面", "罗某", "座垫破损", "已完成"]
]
//
]
}
//
}
},
//
},
"cqwxjfxyj"
:
[
//
"cqwxjfxyj": [
{
//
{
"key"
:
"≥15天"
,
//
"key": "≥15天",
"value"
:
"2000"
,
//
"value": "2000",
},
//
},
{
//
{
"key"
:
"10-15天"
,
//
"key": "10-15天",
"value"
:
"1320"
//
"value": "1320"
},
//
},
{
//
{
"key"
:
"0-10天"
,
//
"key": "0-10天",
"value"
:
"1000"
//
"value": "1000"
}
//
}
],
//
],
"zysszgjl"
:{
//
"zysszgjl":{
"zgcs"
:
""
,
//
"zgcs": "",
"zysszgjlbg"
:
{
//
"zysszgjlbg": {
"titleList"
:[
"整改时间"
,
"位置"
,
"负责人"
,
"整改原因"
,
"状态"
],
//
"titleList":["整改时间", "位置", "负责人", "整改原因", "状态"],
"dataList"
:[
//
"dataList":[
[
"2026.05.12"
,
"T2B岛对面"
,
"罗某"
,
"位置更换"
,
"已完成"
]
//
["2026.05.12", "T2B岛对面", "罗某", "位置更换", "已完成"]
]
//
]
}
//
}
},
//
},
"zyssghqk"
:[
//
"zyssghqk":[
{
//
{
"key"
:
"已规划"
,
//
"key":"已规划",
"sl"
:
"11"
,
//
"sl":"11",
"mj"
:
"13"
//
"mj":"13"
},
//
},
{
//
{
"key"
:
"规划中"
,
//
"key":"规划中",
"sl"
:
"11"
,
//
"sl":"11",
"mj"
:
"13"
//
"mj":"13"
},
//
},
{
//
{
"key"
:
"待规划"
,
//
"key":"待规划",
"sl"
:
"11"
,
//
"sl":"11",
"mj"
:
"13"
//
"mj":"13"
},
//
},
]
//
]
}
//
}
//
let ret:any = {};
let
ret
:
any
=
{};
//
let {ld, lc} = req.body;
let
{
ld
,
lc
}
=
req
.
body
;
//
let ldStr = ld;
let
ldStr
=
ld
;
//
if (ld == "东交") ldStr = "DJ";
if
(
ld
==
"东交"
)
ldStr
=
"DJ"
;
//
let lcStr = enumConfig[`${ldStr}_ywyf`][lc];
let
lcStr
=
enumConfig
[
`
${
ldStr
}
_ywyf`
][
lc
];
//
let url = `${systemConfig.floorZY}?ld=${ld}&lc=${lcStr}`;
let
url
=
`
${
systemConfig
.
floorZY
}
?ld=
${
ld
}
&lc=
${
lcStr
}
`
;
//
let floorInfo = await postAxios(url, {}, {});
let
floorInfo
=
await
postAxios
(
url
,
{},
{});
//
ret = floorInfo.body;
ret
=
floorInfo
.
body
;
res
.
send
(
ret
);
res
.
send
(
ret
);
}
}
...
@@ -560,88 +560,88 @@ export async function getFloor(req, res) {
...
@@ -560,88 +560,88 @@ export async function getFloor(req, res) {
* @param res
* @param res
*/
*/
export
async
function
getSeat
(
req
,
res
)
{
export
async
function
getSeat
(
req
,
res
)
{
let
ret
=
{
// let ret = {
"zy"
:
{
// "zy": {
"zymc"
:
"公安局门口扶梯下"
,
//座椅名称
// "zymc": "公安局门口扶梯下", //座椅名称
"qy"
:
"禁区外"
,
//区域
// "qy": "禁区外", //区域
"lc"
:
"东交F3"
,
//楼层
// "lc": "东交F3", //楼层
"img"
:
`
${
systemConfig
.
imgIp
}
/tc.jpg`
,
// "img": `${systemConfig.imgIp}/tc.jpg`,
},
// },
"zygl"
:
{
// "zygl": {
"qyxf"
:
"公安局楼梯下"
,
// "qyxf": "公安局楼梯下",
"qy"
:
"禁区外"
,
// "qy": "禁区外",
"lc"
:
"3F"
,
// "lc": "3F",
"zysl"
:
"24个"
,
// "zysl": "24个",
"zbsl"
:
"6个"
,
// "zbsl": "6个",
"cdksl"
:
"6个"
,
// "cdksl": "6个",
"axzy"
:
"3个"
,
// "axzy": "3个",
"zymj"
:
"30㎡"
,
// "zymj": "30㎡",
"zygg"
:
"2座+1桌+2桌、3座+1桌+2座"
,
// "zygg": "2座+1桌+2桌、3座+1桌+2座",
},
// },
"zylx"
:
"10"
,
// "zylx": "10",
"zylxpb"
:[
// "zylxpb":[
{
// {
"key"
:
"排椅"
,
// "key": "排椅",
"value"
:
"15"
// "value": "15"
},
// },
{
// {
"key"
:
"躺椅"
,
// "key": "躺椅",
"value"
:
"10"
// "value": "10"
},
// },
{
// {
"key"
:
"沙发椅"
,
// "key": "沙发椅",
"value"
:
"13"
// "value": "13"
},
// },
{
// {
"key"
:
"长凳"
,
// "key": "长凳",
"value"
:
"21"
// "value": "21"
},
// },
{
// {
"key"
:
"临时座椅"
,
// "key": "临时座椅",
"value"
:
"17"
// "value": "17"
}
// }
],
// ],
"zysszgjl"
:{
// "zysszgjl":{
"zgcs"
:
"106"
,
// "zgcs": "106",
"zysszgjlbg"
:
{
// "zysszgjlbg": {
"titleList"
:[
"整改时间"
,
"位置"
,
"负责人"
,
"整改原因"
,
"状态"
],
// "titleList":["整改时间", "位置", "负责人", "整改原因", "状态"],
"dataList"
:[
// "dataList":[
[
"2026.05.12"
,
"T2B岛对面"
,
"罗某"
,
"位置更换"
,
"已完成"
]
// ["2026.05.12", "T2B岛对面", "罗某", "位置更换", "已完成"]
]
// ]
}
// }
},
// },
"rcxj"
:{
// "rcxj":{
"fxwt"
:
"0"
,
// "fxwt": "0",
"dcl"
:
"1"
,
// "dcl": "1",
},
// },
"xjgd"
:
[
// "xjgd": [
{
// {
"img"
:
`
${
systemConfig
.
imgIp
}
/1.jpg`
,
// "img": `${systemConfig.imgIp}/1.jpg`,
"yhmc"
:
"座椅把手损坏"
,
//隐患名称
// "yhmc": "座椅把手损坏", //隐患名称
"fxsj"
:
"2026-04-24"
,
//发现时间
// "fxsj": "2026-04-24", //发现时间
"yjclsj"
:
"1天"
,
"fzr"
:
"张三"
,
//负责人
},
// {
// "img": "${systemConfig.imgIp}/1.jpg",
// "yhmc": "灯光不亮",
// "fxsj": "2025-07-24", //发现时间
// "yjclsj": "1天",
// "yjclsj": "1天",
// "fzr": "李四",
// "fzr": "张三", //负责人
// },
// // {
// // "img": "${systemConfig.imgIp}/1.jpg",
// // "yhmc": "灯光不亮",
// // "fxsj": "2025-07-24", //发现时间
// // "yjclsj": "1天",
// // "fzr": "李四",
// // }
// ]
// }
// }
]
}
//
let ret:any = {};
let
ret
:
any
=
{};
//
let {zymc} = req.body;
let
{
zymc
}
=
req
.
body
;
//
let url = `${systemConfig.seatZY}?zymc=${zymc}`;
let
url
=
`
${
systemConfig
.
seatZY
}
?zymc=
${
zymc
}
`
;
//
let seatInfo = await postAxios(url, {}, {});
let
seatInfo
=
await
postAxios
(
url
,
{},
{});
//
ret = seatInfo.body;
ret
=
seatInfo
.
body
;
res
.
send
(
ret
);
res
.
send
(
ret
);
}
}
...
...
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