Toggle navigation
Toggle navigation
This project
Loading...
Sign in
monitor_v3
/
hg-monitor-web
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
鲁尚清
3 years ago
Commit
9dd932931e2220936efa8427fd55ca9c094d17c0
1 parent
6fa5d76f
【1576】 停机管理功能,新增时》》停机模式没有选项-需要配置数据字典,新增时弹框名称显示为新增,编辑显示为编辑
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
hg-monitor-web-base/src/main/resources/static/src/controller/shutdownplanIndex.js
hg-monitor-web-base/src/main/resources/static/src/controller/shutdownplanIndex.js
View file @
9dd9329
...
...
@@ -483,15 +483,18 @@ layui.define(['table', 'form', 'laydate', 'admin', 'layer', 'laytpl', 'common',
function
openEditHtml
(
id
)
{
var
url
=
'baseconfig/shutdownplan/add'
;
var
params
=
{};
//lsq 新增时弹框显示新增,编辑时显示编辑 2022-08-04
let
titleName
=
'新增'
;
if
(
id
)
{
params
[
'cutoverId'
]
=
id
params
[
'cutoverId'
]
=
id
;
titleName
=
'编辑'
;
}
view
(
'commonViewModel'
).
render
(
url
).
then
(
function
(
res
)
{
layer
.
open
({
id
:
'shutdownplanEditHtml'
,
content
:
laytpl
(
res
.
body
).
render
(
JSON
.
stringify
(
params
)),
btn
:
[
'保存'
,
'取消'
],
title
:
`
<
a
class
=
"layui-icon layui-icon-edit win_title_icon"
><
/a>停机计划
编辑`
,
title
:
`
<
a
class
=
"layui-icon layui-icon-edit win_title_icon"
><
/a>停机计划
`+titleName
,
type
:
'1'
,
resize
:
false
,
area
:
[
'80%'
,
'90%'
],
...
...
Please
register
or
login
to post a comment