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
c439b88d
Commit
c439b88d
authored
Nov 21, 2020
by
KeYong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改换流站首页信息展示
parent
8e351250
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
index.js
src/view/bizview/stationMainten/index.js
+7
-0
No files found.
src/view/bizview/stationMainten/index.js
View file @
c439b88d
...
...
@@ -258,6 +258,11 @@ class StationMainten extends Component {
this
.
setState
({
isClick
:
false
});
//将isClick 变成false,将不会执行处理事件
this
.
model
.
validate
((
valid
,
dataValues
)
=>
{
if
(
valid
)
{
const
{
allUserList
}
=
this
.
state
;
const
stationChargeName
=
allUserList
.
filter
(
item
=>
item
.
userId
===
dataValues
.
stationChargeUserId
)[
0
].
realName
;
const
safetyChargeName
=
allUserList
.
filter
(
item
=>
item
.
userId
===
dataValues
.
safetyChargeUserId
)[
0
].
realName
;
dataValues
.
stationChargeUserName
=
stationChargeName
;
dataValues
.
safetyChargeUserName
=
safetyChargeName
;
let
param
=
dataValues
;
addStationMaintenAction
(
param
).
then
(
data
=>
{
...
...
@@ -475,6 +480,7 @@ class StationMainten extends Component {
<
Row
style
=
{{
width
:
'400px'
}}
>
<
Col
span
=
{
9
}
>
<
Select
data
=
{
allUserList
}
field
=
"stationChargeName"
className
=
"left-station-select"
disabled
=
{
!
editable
}
value
=
{
form
.
stationChargeUserId
}
...
...
@@ -486,6 +492,7 @@ class StationMainten extends Component {
<
Col
span
=
{
15
}
>
<
FormItem
label
=
{
<
span
>
安全负责人
<
/span>} field="safetyChargeUserName" {...formItemV3Layout}
>
<
Select
data
=
{
allUserList
}
field
=
"safetyChargeName"
className
=
"left-station-select"
disabled
=
{
!
editable
}
value
=
{
form
.
safetyChargeUserId
}
...
...
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