Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-convertor-view
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
station
amos-convertor-view
Commits
502bdccc
Commit
502bdccc
authored
Dec 02, 2020
by
KeYong
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev_upgrade' of
http://172.16.10.76/station/amos-convertor-view
into dev
parents
106f3ecf
b36fefe4
Show whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
84 additions
and
41 deletions
+84
-41
amos.config.js
amos.config.js
+1
-0
FileUtils.js
src/utils/FileUtils.js
+2
-2
request.js
src/utils/request.js
+2
-2
EquipmentFireEquipmentAdd.js
...ew/equipmentLedger/Equipment/EquipmentFireEquipmentAdd.js
+20
-9
MatchEquipment.js
src/view/bizview/equipmentLedger/Equipment/MatchEquipment.js
+18
-6
index.js
src/view/bizview/equipmentLedger/Equipment/index.js
+2
-2
FireEquipmentToolBar.js
...edger/FireResources/FireEquipment/FireEquipmentToolBar.js
+2
-2
PointToolBar.js
...uipmentLedger/FireResources/FireEquipment/PointToolBar.js
+2
-2
fireStation.js
.../equipmentLedger/FireResources/FireStation/fireStation.js
+25
-6
FireTruckDetailInfo.js
...mentLedger/FireResources/FireTruck/FireTruckDetailInfo.js
+2
-2
FireWaterToolBar.js
...w/equipmentLedger/FireResources/water/FireWaterToolBar.js
+2
-2
index.js
src/view/bizview/equipmentLedger/Monitor/index.js
+2
-2
index.js
src/view/bizview/fireRectification/index.js
+2
-2
index.js
src/view/planMgmt/cusVizLib/index.js
+2
-2
No files found.
amos.config.js
View file @
502bdccc
...
@@ -32,6 +32,7 @@
...
@@ -32,6 +32,7 @@
},
},
// 系统配置信息 主要是为了区分各子系统
// 系统配置信息 主要是为了区分各子系统
sysConf
:
{
sysConf
:
{
sessionOrgCode
:
'10*11'
,
needHeartBeat
:
true
,
needHeartBeat
:
true
,
//是否自动打开业务屏,true是,false否
//是否自动打开业务屏,true是,false否
isAutoOpenBussiness
:
true
,
isAutoOpenBussiness
:
true
,
...
...
src/utils/FileUtils.js
View file @
502bdccc
...
@@ -66,8 +66,8 @@ export const downLoadFilePost = (url,searchParam)=>{
...
@@ -66,8 +66,8 @@ export const downLoadFilePost = (url,searchParam)=>{
'Content-Type'
:
'application/json; charset=utf-8'
,
'Content-Type'
:
'application/json; charset=utf-8'
,
'X-Api-Key'
:
_amosTool
.
Store
.
getCookieByName
(
apiKey
),
'X-Api-Key'
:
_amosTool
.
Store
.
getCookieByName
(
apiKey
),
'X-Access-Token'
:
ls
.
read
(
token
),
'X-Access-Token'
:
ls
.
read
(
token
),
'appKey'
:
'CONVERTER_STATION'
,
'appKey'
:
window
.
appKey
,
'product'
:
'CONVERTER_STATION_WEB'
,
'product'
:
window
.
product
,
'token'
:
ls
.
read
(
token
)
'token'
:
ls
.
read
(
token
)
},
},
body
:
JSON
.
stringify
(
searchParam
)
body
:
JSON
.
stringify
(
searchParam
)
...
...
src/utils/request.js
View file @
502bdccc
...
@@ -14,8 +14,8 @@ const defaultPageable = {
...
@@ -14,8 +14,8 @@ const defaultPageable = {
};
};
const
defaultHeaders
=
{
const
defaultHeaders
=
{
appKey
:
'CONVERTER_STATION'
,
appKey
:
window
.
appKey
,
product
:
'CONVERTER_STATION_WEB'
,
product
:
window
.
product
,
channelType
:
'3dpage'
channelType
:
'3dpage'
};
};
...
...
src/view/bizview/equipmentLedger/Equipment/EquipmentFireEquipmentAdd.js
View file @
502bdccc
...
@@ -23,32 +23,43 @@ const fireEquipmentTableColumns = self => {
...
@@ -23,32 +23,43 @@ const fireEquipmentTableColumns = self => {
title
:
'编号'
,
title
:
'编号'
,
dataIndex
:
'code'
,
dataIndex
:
'code'
,
key
:
'code'
,
key
:
'code'
,
width
:
'1
5
%'
width
:
'1
0
%'
},
},
{
{
title
:
'名称'
,
title
:
'名称'
,
dataIndex
:
'name'
,
dataIndex
:
'name'
,
key
:
'name'
,
key
:
'name'
,
width
:
'1
5
%'
width
:
'1
0
%'
},
},
{
{
title
:
'分类'
,
title
:
'分类'
,
dataIndex
:
'type'
,
dataIndex
:
'type'
,
key
:
'type'
,
key
:
'type'
,
width
:
'1
5
%'
width
:
'1
0
%'
},
},
{
{
title
:
'状态'
,
title
:
'所属系统'
,
dataIndex
:
'isbind'
,
dataIndex
:
'systemName'
,
key
:
'isbind'
,
key
:
'systemName'
,
width
:
'10%'
,
width
:
'10%'
render
:
text
=>
text
===
'YES'
?
'已绑定设备'
:
''
},
{
title
:
'物联编码'
,
dataIndex
:
'iotCode'
,
key
:
'iotCode'
,
width
:
'10%'
},
{
title
:
'编码'
,
dataIndex
:
'specificCode'
,
key
:
'specificCode'
,
width
:
'10%'
},
},
{
{
title
:
'位置'
,
title
:
'位置'
,
dataIndex
:
'address'
,
dataIndex
:
'address'
,
key
:
'address'
,
key
:
'address'
,
width
:
'
20
%'
width
:
'
15
%'
},
},
{
{
title
:
'数量'
,
title
:
'数量'
,
...
...
src/view/bizview/equipmentLedger/Equipment/MatchEquipment.js
View file @
502bdccc
...
@@ -26,22 +26,34 @@ const matchEquipmentTableColumns = self => {
...
@@ -26,22 +26,34 @@ const matchEquipmentTableColumns = self => {
render
:
(
text
,
record
,
index
)
=>
`
${
index
+
1
}
`
render
:
(
text
,
record
,
index
)
=>
`
${
index
+
1
}
`
},
},
{
{
title
:
'编号'
,
title
:
'
装备
编号'
,
dataIndex
:
'
c
ode'
,
dataIndex
:
'
specificC
ode'
,
key
:
'
c
ode'
,
key
:
'
specificC
ode'
,
width
:
'
30
%'
width
:
'
15
%'
},
},
{
{
title
:
'名称'
,
title
:
'名称'
,
dataIndex
:
'name'
,
dataIndex
:
'name'
,
key
:
'name'
,
key
:
'name'
,
width
:
'30%'
width
:
'15%'
},
{
title
:
'IOT编码'
,
dataIndex
:
'iotCode'
,
key
:
'iotCode'
,
width
:
'15%'
},
{
title
:
'系统名称'
,
dataIndex
:
'systemName'
,
key
:
'systemName'
,
width
:
'15%'
},
},
{
{
title
:
'位置'
,
title
:
'位置'
,
dataIndex
:
'address'
,
dataIndex
:
'address'
,
key
:
'address'
,
key
:
'address'
,
width
:
'
40
%'
width
:
'
15
%'
}
}
];
];
};
};
...
...
src/view/bizview/equipmentLedger/Equipment/index.js
View file @
502bdccc
...
@@ -293,8 +293,8 @@ class Equipment extends Component {
...
@@ -293,8 +293,8 @@ class Equipment extends Component {
'Accept'
:
'application/json;charset=UTF-8'
,
'Accept'
:
'application/json;charset=UTF-8'
,
'X-Api-Key'
:
_amosTool
.
Store
.
getCookieByName
(
apiKey
),
'X-Api-Key'
:
_amosTool
.
Store
.
getCookieByName
(
apiKey
),
'X-Access-Token'
:
ls
.
read
(
token
),
'X-Access-Token'
:
ls
.
read
(
token
),
'appKey'
:
'CONVERTER_STATION'
,
'appKey'
:
window
.
appKey
,
'product'
:
'CONVERTER_STATION_WEB'
,
'product'
:
window
.
product
,
'token'
:
ls
.
read
(
token
)
'token'
:
ls
.
read
(
token
)
},
},
body
:
formData
body
:
formData
...
...
src/view/bizview/equipmentLedger/FireResources/FireEquipment/FireEquipmentToolBar.js
View file @
502bdccc
...
@@ -70,8 +70,8 @@ class FireEquipmentToolBar extends Component {
...
@@ -70,8 +70,8 @@ class FireEquipmentToolBar extends Component {
headers
:
{
headers
:
{
'Accept'
:
'application/json;charset=UTF-8'
,
'Accept'
:
'application/json;charset=UTF-8'
,
'X-Access-Token'
:
lsTool
.
read
(
SysConsts
.
token
),
'X-Access-Token'
:
lsTool
.
read
(
SysConsts
.
token
),
'appKey'
:
'CONVERTER_STATION'
,
'appKey'
:
window
.
appKey
,
'product'
:
'CONVERTER_STATION_WEB'
,
'product'
:
window
.
product
,
'token'
:
lsTool
.
read
(
SysConsts
.
token
)
'token'
:
lsTool
.
read
(
SysConsts
.
token
)
},
},
onChange
(
info
)
{
onChange
(
info
)
{
...
...
src/view/bizview/equipmentLedger/FireResources/FireEquipment/PointToolBar.js
View file @
502bdccc
...
@@ -66,8 +66,8 @@ class PointToolBar extends Component {
...
@@ -66,8 +66,8 @@ class PointToolBar extends Component {
headers
:
{
headers
:
{
'Accept'
:
'application/json;charset=UTF-8'
,
'Accept'
:
'application/json;charset=UTF-8'
,
'X-Access-Token'
:
lsTool
.
read
(
SysConsts
.
token
),
'X-Access-Token'
:
lsTool
.
read
(
SysConsts
.
token
),
'appKey'
:
'CONVERTER_STATION'
,
'appKey'
:
window
.
appKey
,
'product'
:
'CONVERTER_STATION_WEB'
,
'product'
:
window
.
product
,
'token'
:
lsTool
.
read
(
SysConsts
.
token
)
'token'
:
lsTool
.
read
(
SysConsts
.
token
)
},
},
onChange
(
info
)
{
onChange
(
info
)
{
...
...
src/view/bizview/equipmentLedger/FireResources/FireStation/fireStation.js
View file @
502bdccc
...
@@ -30,28 +30,47 @@ const fireStationTableColumns = self => {
...
@@ -30,28 +30,47 @@ const fireStationTableColumns = self => {
render
:
(
text
,
record
,
index
)
=>
`
${
index
+
1
}
`
render
:
(
text
,
record
,
index
)
=>
`
${
index
+
1
}
`
},
},
{
{
title
:
'编号'
,
title
:
'
装备
编号'
,
dataIndex
:
'
c
ode'
,
dataIndex
:
'
specificC
ode'
,
key
:
'
c
ode'
,
key
:
'
specificC
ode'
,
width
:
'10%'
width
:
'10%'
},
},
{
{
title
:
'名称'
,
title
:
'名称'
,
dataIndex
:
'name'
,
dataIndex
:
'name'
,
key
:
'name'
,
key
:
'name'
,
width
:
'25%'
width
:
'15%'
},
{
title
:
'状态'
,
dataIndex
:
'isbind'
,
key
:
'isbind'
,
width
:
'10%'
,
render
:
text
=>
text
===
'YES'
?
'已绑定设备'
:
''
},
{
title
:
'IOT编码'
,
dataIndex
:
'iotCode'
,
key
:
'iotCode'
,
width
:
'10%'
},
},
{
{
title
:
'所属区域'
,
title
:
'所属区域'
,
dataIndex
:
'riskSourceName'
,
dataIndex
:
'riskSourceName'
,
key
:
'riskSourceName'
,
key
:
'riskSourceName'
,
width
:
'25%'
width
:
'15%'
},
{
title
:
'系统名称'
,
dataIndex
:
'systemName'
,
key
:
'systemName'
,
width
:
'10%'
},
},
{
{
title
:
'位置'
,
title
:
'位置'
,
dataIndex
:
'address'
,
dataIndex
:
'address'
,
key
:
'address'
,
key
:
'address'
,
width
:
'
24
%'
width
:
'
15
%'
},
},
{
{
title
:
'配套设备'
,
title
:
'配套设备'
,
...
...
src/view/bizview/equipmentLedger/FireResources/FireTruck/FireTruckDetailInfo.js
View file @
502bdccc
...
@@ -209,8 +209,8 @@ class FireTruckDetailInfo extends Component {
...
@@ -209,8 +209,8 @@ class FireTruckDetailInfo extends Component {
Accept: '
application
/
json
;
charset
=
UTF
-
8
',
Accept: '
application
/
json
;
charset
=
UTF
-
8
',
'
X
-
Api
-
Key
': _amosTool.Store.getCookieByName(apiKey),
'
X
-
Api
-
Key
': _amosTool.Store.getCookieByName(apiKey),
'
X
-
Access
-
Token
': ls.read(token),
'
X
-
Access
-
Token
': ls.read(token),
'
appKey
':
'
CONVERTER_STATION
'
,
'
appKey
':
window.appKey
,
'
product
':
'
CONVERTER_STATION_WEB
'
,
'
product
':
window.product
,
'
token
':ls.read(token)
'
token
':ls.read(token)
},
},
body: formData
body: formData
...
...
src/view/bizview/equipmentLedger/FireResources/water/FireWaterToolBar.js
View file @
502bdccc
...
@@ -50,8 +50,8 @@ class FireWaterToolBar extends Component {
...
@@ -50,8 +50,8 @@ class FireWaterToolBar extends Component {
headers
:
{
headers
:
{
'Accept'
:
'application/json;charset=UTF-8'
,
'Accept'
:
'application/json;charset=UTF-8'
,
'X-Access-Token'
:
lsTool
.
read
(
SysConsts
.
token
),
'X-Access-Token'
:
lsTool
.
read
(
SysConsts
.
token
),
'appKey'
:
'CONVERTER_STATION'
,
'appKey'
:
window
.
appKey
,
'product'
:
'CONVERTER_STATION_WEB'
,
'product'
:
window
.
product
,
'token'
:
lsTool
.
read
(
SysConsts
.
token
)
'token'
:
lsTool
.
read
(
SysConsts
.
token
)
},
},
onChange
(
info
)
{
onChange
(
info
)
{
...
...
src/view/bizview/equipmentLedger/Monitor/index.js
View file @
502bdccc
...
@@ -287,8 +287,8 @@ class Monitor extends Component {
...
@@ -287,8 +287,8 @@ class Monitor extends Component {
headers
:
{
headers
:
{
'Accept'
:
'application/json;charset=UTF-8'
,
'Accept'
:
'application/json;charset=UTF-8'
,
'X-Access-Token'
:
lsTool
.
read
(
SysConsts
.
token
),
'X-Access-Token'
:
lsTool
.
read
(
SysConsts
.
token
),
'appKey'
:
'CONVERTER_STATION'
,
'appKey'
:
window
.
appKey
,
'product'
:
'CONVERTER_STATION_WEB'
,
'product'
:
window
.
product
,
'token'
:
lsTool
.
read
(
SysConsts
.
token
)
'token'
:
lsTool
.
read
(
SysConsts
.
token
)
},
},
onChange
(
info
)
{
onChange
(
info
)
{
...
...
src/view/bizview/fireRectification/index.js
View file @
502bdccc
...
@@ -393,8 +393,8 @@ class FireRectification extends Component {
...
@@ -393,8 +393,8 @@ class FireRectification extends Component {
Accept
:
'application/json;charset=UTF-8'
,
Accept
:
'application/json;charset=UTF-8'
,
'X-Api-Key'
:
_amosTool
.
Store
.
getCookieByName
(
apiKey
),
'X-Api-Key'
:
_amosTool
.
Store
.
getCookieByName
(
apiKey
),
'X-Access-Token'
:
ls
.
read
(
token
),
'X-Access-Token'
:
ls
.
read
(
token
),
'appKey'
:
'CONVERTER_STATION'
,
'appKey'
:
window
.
appKey
,
'product'
:
'CONVERTER_STATION_WEB'
,
'product'
:
window
.
product
,
'token'
:
ls
.
read
(
token
)
'token'
:
ls
.
read
(
token
)
},
},
body
:
formData
body
:
formData
...
...
src/view/planMgmt/cusVizLib/index.js
View file @
502bdccc
...
@@ -77,8 +77,8 @@ class CusVizLib extends Component {
...
@@ -77,8 +77,8 @@ class CusVizLib extends Component {
'Accept'
:
'application/json;charset=UTF-8'
,
'Accept'
:
'application/json;charset=UTF-8'
,
'X-Api-Key'
:
_amosTool
.
Store
.
getCookieByName
(
apiKey
),
'X-Api-Key'
:
_amosTool
.
Store
.
getCookieByName
(
apiKey
),
'X-Access-Token'
:
ls
.
read
(
token
),
'X-Access-Token'
:
ls
.
read
(
token
),
'appKey'
:
'CONVERTER_STATION'
,
'appKey'
:
window
.
appKey
,
'product'
:
'CONVERTER_STATION_WEB'
,
'product'
:
window
.
product
,
'token'
:
ls
.
read
(
token
)
'token'
:
ls
.
read
(
token
)
},
},
body
:
formData
body
:
formData
...
...
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