@@ -18,6 +18,10 @@ | |||||
<div class="lr-form-item-title">审核状态</div> | <div class="lr-form-item-title">审核状态</div> | ||||
<div id="CheckStatus"></div> | <div id="CheckStatus"></div> | ||||
</div> | </div> | ||||
<div class="col-xs-12 lr-form-item"> | |||||
<div class="lr-form-item-title">姓名</div> | |||||
<input id="StuName" type="text" class="form-control" /> | |||||
</div> | |||||
</div> | </div> | ||||
</div> | </div> | ||||
</div> | </div> | ||||
@@ -17,7 +17,11 @@ var bootstrap = function ($, learun) { | |||||
page.search(queryJson); | page.search(queryJson); | ||||
}, 220, 400); | }, 220, 400); | ||||
$('#LeaveType').lrDataItemSelect({ code: 'LeaveType' }); | $('#LeaveType').lrDataItemSelect({ code: 'LeaveType' }); | ||||
$('#CheckStatus').lrDataItemSelect({ code: 'LeaveCheck' }); | |||||
$('#CheckStatus').lrselect({ | |||||
data: [{ text: "草稿", value: "0" }, { text: "审核中", value: "1" }, { text: "审核通过", value: "1" }, { text: "审核未通过", value: "1" }], | |||||
text: "text", | |||||
value: "value" | |||||
}) | |||||
// 刷新 | // 刷新 | ||||
$('#lr_refresh').on('click', function () { | $('#lr_refresh').on('click', function () { | ||||
location.reload(); | location.reload(); | ||||
@@ -132,6 +132,11 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration | |||||
dp.Add("StuNo", queryParam["StuNo"].ToString(), DbType.String); | dp.Add("StuNo", queryParam["StuNo"].ToString(), DbType.String); | ||||
strSql.Append(" AND t.CreateUserNo = @StuNo "); | strSql.Append(" AND t.CreateUserNo = @StuNo "); | ||||
} | } | ||||
if (!queryParam["StuName"].IsEmpty()) | |||||
{ | |||||
dp.Add("StuName", "%" + queryParam["StuName"].ToString() + "%", DbType.String); | |||||
strSql.Append(" AND s.StuName like @StuName "); | |||||
} | |||||
//班级班主任/辅导员/系主任 | //班级班主任/辅导员/系主任 | ||||
var ClassManagerNo = LoginUserInfo.Get().account; | var ClassManagerNo = LoginUserInfo.Get().account; | ||||
if (!string.IsNullOrEmpty(ClassManagerNo)) | if (!string.IsNullOrEmpty(ClassManagerNo)) | ||||
@@ -645,7 +650,7 @@ and a.lessondate between '{startTime}' and '{endTime}'"); | |||||
data.ClassTutorNo = classlist.ClassTutorNo; | data.ClassTutorNo = classlist.ClassTutorNo; | ||||
} | } | ||||
} | } | ||||
return data; | |||||
return data; | |||||
} | } | ||||
catch (Exception ex) | catch (Exception ex) | ||||
{ | { | ||||
@@ -24,10 +24,10 @@ | |||||
{{ displayListItem(item, "CheckRemark") }} | {{ displayListItem(item, "CheckRemark") }} | ||||
</view> --> | </view> --> | ||||
<view class="customlist-item-field"> | |||||
<!-- <view class="customlist-item-field"> | |||||
<text class="customlist-item-field-title">审核人:</text> | <text class="customlist-item-field-title">审核人:</text> | ||||
{{ displayListItem(item, "CheckUserNo") }} | {{ displayListItem(item, "CheckUserNo") }} | ||||
</view> | |||||
</view> --> | |||||
<view class="customlist-item-field"> | <view class="customlist-item-field"> | ||||
<text class="customlist-item-field-title">请假类型:</text> | <text class="customlist-item-field-title">请假类型:</text> | ||||
@@ -18,7 +18,7 @@ | |||||
v-if="!edit" | v-if="!edit" | ||||
/> | /> | ||||
<l-textarea | |||||
<!-- <l-textarea | |||||
@input="setValue('StuLeaveManagement.CheckRemark', $event)" | @input="setValue('StuLeaveManagement.CheckRemark', $event)" | ||||
:value="getValue('StuLeaveManagement.CheckRemark')" | :value="getValue('StuLeaveManagement.CheckRemark')" | ||||
title="审核备注" | title="审核备注" | ||||
@@ -32,7 +32,7 @@ | |||||
title="审核人" | title="审核人" | ||||
v-if="!edit" | v-if="!edit" | ||||
:disabled="!edit" | :disabled="!edit" | ||||
/> | |||||
/> --> | |||||
<l-select | <l-select | ||||
@input="setValue('StuLeaveManagement.LeaveType', $event)" | @input="setValue('StuLeaveManagement.LeaveType', $event)" | ||||
:value="getValue('StuLeaveManagement.LeaveType')" | :value="getValue('StuLeaveManagement.LeaveType')" | ||||