|
|
var $ = require('jquery'),
|
|
|
common = require('../../../common/common'),
|
|
|
util = require('../../../common/util');
|
|
|
datepicker = require('../../../common/util/datepicker');
|
|
|
|
|
|
new common.dropDown({el: "#subject-type"});
|
|
|
new common.dropDown({el: "#subject-paltform"});
|
...
|
...
|
@@ -16,6 +17,9 @@ var g = new common.grid({ |
|
|
plateform: common.util.__input('subject-paltform'),
|
|
|
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: [
|
...
|
...
|
@@ -92,6 +96,13 @@ var g = new common.grid({ |
|
|
|
|
|
]
|
|
|
});
|
|
|
/**
|
|
|
* 日期插件
|
|
|
*/
|
|
|
$('.hasDatepicker').fdatepicker({
|
|
|
format: 'yyyy-mm-dd hh:ii:ss',
|
|
|
pickTime: true
|
|
|
});
|
|
|
|
|
|
g.init('/runManage/subjectManage/subjectList');
|
|
|
|
...
|
...
|
|