...
|
...
|
@@ -5,11 +5,12 @@ webpackJsonp([107],[ |
|
|
var $ = __webpack_require__(1),
|
|
|
common = __webpack_require__(2),
|
|
|
util = __webpack_require__(10);
|
|
|
datepicker = __webpack_require__(9);
|
|
|
|
|
|
new common.dropDown({el: "#subject-type"});
|
|
|
new common.dropDown({el: "#subject-paltform"});
|
|
|
new common.dropDown({el: "#subject-status"});
|
|
|
|
|
|
new common.dropDown({el: "#subject-isShow"});
|
|
|
var yhChannelArr = ["男生", "女生", "儿童", "创意生活"];
|
|
|
|
|
|
var g = new common.grid({
|
...
|
...
|
@@ -18,7 +19,11 @@ webpackJsonp([107],[ |
|
|
return {
|
|
|
sort: common.util.__input('subject-type'),
|
|
|
plateform: common.util.__input('subject-paltform'),
|
|
|
status: common.util.__input('subject-status')
|
|
|
status: common.util.__input('subject-status'),
|
|
|
isShow: common.util.__input('subject-isShow'),
|
|
|
startTimeStr:common.util.__input('subject-startTimeStr'),
|
|
|
endTimeStr:common.util.__input('subject-endTimeStr'),
|
|
|
title:common.util.__input('subject-title'),
|
|
|
};
|
|
|
},
|
|
|
columns: [
|
...
|
...
|
@@ -77,6 +82,10 @@ webpackJsonp([107],[ |
|
|
item.endTime = common.util.__dateFormat(new Date(item.endTime*1000), "yyyy-MM-dd hh:mm:ss");
|
|
|
return item.startTime + "~<br>" + item.endTime;
|
|
|
}},
|
|
|
{display: "前端展示",name:"isShow", render: function (item) {
|
|
|
if(item.isShow == 1) return "是";
|
|
|
else if(item.isShow == 0) return "否";
|
|
|
}},
|
|
|
{
|
|
|
display: "操作", name: "", render: function (item) {
|
|
|
var arr = [];
|
...
|
...
|
@@ -91,6 +100,13 @@ webpackJsonp([107],[ |
|
|
|
|
|
]
|
|
|
});
|
|
|
/**
|
|
|
* 日期插件
|
|
|
*/
|
|
|
$('.hasDatepicker').fdatepicker({
|
|
|
format: 'yyyy-mm-dd hh:ii:ss',
|
|
|
pickTime: true
|
|
|
});
|
|
|
|
|
|
g.init('/runManage/subjectManage/subjectList');
|
|
|
|
...
|
...
|
|