Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
SooonerHotel
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
吴贤德
SooonerHotel
Commits
d783f55e
Commit
d783f55e
authored
Oct 11, 2019
by
吴贤德
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
后台:修改酒店片库列表注入状态字段显示逻辑(下线统一显示已删除,上线非已注入成功统一显示注入中:实际状态码)
parent
f507c7dd
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
6 deletions
+10
-6
index.html
SooonerHotel/App/Tpl/Media/zh-cn/Hotel/index.html
+10
-6
No files found.
SooonerHotel/App/Tpl/Media/zh-cn/Hotel/index.html
View file @
d783f55e
...
@@ -187,13 +187,17 @@ function InputAction(value, row, index) {
...
@@ -187,13 +187,17 @@ function InputAction(value, row, index) {
return
'<a href="javascript:void(0)" id="mb'
+
index
+
'" class="easyui-menubutton" menu="#mm1" iconCls="icon-list" onmouseover="setSelectRow('
+
index
+
')">'
+
this
.
title
+
'</a>'
;
return
'<a href="javascript:void(0)" id="mb'
+
index
+
'" class="easyui-menubutton" menu="#mm1" iconCls="icon-list" onmouseover="setSelectRow('
+
index
+
')">'
+
this
.
title
+
'</a>'
;
}
}
function
StatusInjectAction
(
value
,
row
,
index
){
function
StatusInjectAction
(
value
,
row
,
index
){
if
(
value
==
0
){
var
str
=
"--"
;
return
"注入中"
;
if
(
row
.
status
==
1
){
}
else
if
(
value
==
1
){
if
(
value
==
1
){
return
"<font color=green>已注入</font>"
;
str
=
"已注入"
;
}
else
if
(
value
==
2
){
}
else
{
return
"<font color=red>注入失败</font>"
;
str
=
"注入中:"
+
value
;
}
}
else
{
str
=
"已删除:"
+
value
;
}
}
return
str
;
}
}
function
setSelectRow
(
index
)
{
function
setSelectRow
(
index
)
{
$
(
'#dg'
).
datagrid
(
'unselectAll'
);
$
(
'#dg'
).
datagrid
(
'unselectAll'
);
...
...
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