|
@@ -25,6 +25,11 @@ var bootstrap = function ($, learun) { |
|
|
// 访问数据接口地址 |
|
|
// 访问数据接口地址 |
|
|
url: top.$.rootUrl + '/StudentWork/SW_Ask_Type/GetAllTree?IsSetBatch=false&BatchTypeList=null' |
|
|
url: top.$.rootUrl + '/StudentWork/SW_Ask_Type/GetAllTree?IsSetBatch=false&BatchTypeList=null' |
|
|
}); |
|
|
}); |
|
|
|
|
|
$('#StudentMainStatus').lrselect({ |
|
|
|
|
|
data: [{ value: '0', text: '草稿' }, { value: '1', text: '审批中' }, { value: '2', text: '审批通过' }, { value: '3', text: '审批未通过' }], |
|
|
|
|
|
value: "value", |
|
|
|
|
|
text: "text" |
|
|
|
|
|
}); |
|
|
// 刷新 |
|
|
// 刷新 |
|
|
$('#lr_refresh').on('click', function () { |
|
|
$('#lr_refresh').on('click', function () { |
|
|
location.reload(); |
|
|
location.reload(); |
|
@@ -80,6 +85,7 @@ var bootstrap = function ($, learun) { |
|
|
}, |
|
|
}, |
|
|
search: function (param) { |
|
|
search: function (param) { |
|
|
param = param || {}; |
|
|
param = param || {}; |
|
|
|
|
|
param.TId == "-1" ? param.TId = "" : param.TId; |
|
|
param.UserId = UserId; |
|
|
param.UserId = UserId; |
|
|
$('#gridtable').jfGridSet('reload', { queryJson: JSON.stringify(param) }); |
|
|
$('#gridtable').jfGridSet('reload', { queryJson: JSON.stringify(param) }); |
|
|
} |
|
|
} |
|
|