Toggle navigation
Toggle navigation
This project
Loading...
Sign in
liuloulou
/
yohobuy-portal-fe2
·
Commits
Go to a project
GitLab
Go to dashboard
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
linlong
9 years ago
Commit
3f81453ed518db8aeb2a74a327bd4fa56e63d79e
1 parent
9c45ef5b
资讯管理增加BLK字段
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
1 deletions
code/apps/guang/interfaces/info.js
code/apps/guang/views/info/Index.html
code/static/js.jquery/module/guang/info/Index.js
code/apps/guang/interfaces/info.js
View file @
3f81453
...
...
@@ -17,6 +17,7 @@ module.exports={
{
name
:
'orderBy'
,
type
:
'String'
},
{
name
:
'startTime'
,
type
:
'String'
},
{
name
:
'endTime'
,
type
:
'String'
},
{
name
:
'appType'
,
type
:
'Number'
},
{
name
:
'page'
,
type
:
'Number'
},
{
name
:
'size'
,
type
:
'Number'
}
]
...
...
code/apps/guang/views/info/Index.html
View file @
3f81453
...
...
@@ -51,6 +51,14 @@
</div>
<div
class=
"panel-col"
>
<select
id=
"appType"
class=
"form-control"
>
<option
value=
"-1"
>
是否BLK商品
</option>
<option
value=
"1"
>
是BLK
</option>
<option
value=
"0"
>
非BLK
</option>
</select>
</div>
<div
class=
"panel-col"
>
<input
type=
"text"
id=
"starttime"
class=
"form-control panel-input hasDatepicker"
name=
"start_time"
placeholder=
"开始时间"
value=
""
kl_vkbd_parsed=
"true"
>
</div>
...
...
code/static/js.jquery/module/guang/info/Index.js
View file @
3f81453
...
...
@@ -18,6 +18,11 @@ var ENUM = {
1
:
'已发布'
}
BLKEnum
:
{
0
:
'否'
,
1
:
'是'
}
};
//下拉框
...
...
@@ -77,7 +82,8 @@ var g = new common.grid({
status
:
$
(
'#status'
).
val
(),
//common.util.__input('status'),
orderBy
:
common
.
util
.
__input
(
'orderBy'
),
startTime
:
common
.
util
.
__input
(
'starttime'
),
endTime
:
common
.
util
.
__input
(
'endtime'
)
endTime
:
common
.
util
.
__input
(
'endtime'
),
appType
:
common
.
util
.
__input
(
'appType'
)
};
},
columns
:
[{
...
...
@@ -148,6 +154,11 @@ var g = new common.grid({
}
}
},
{
display
:
'BLK'
,
render
:
function
(
item
)
{
return
"<p>"
+
ENUM
.
BLKEnum
[
item
.
appType
]
+
"</p>"
;
}
},{
display
:
'操作'
,
//}
name
:
"status"
,
...
...
Please
register
or
login
to post a comment