瀏覽代碼

科研项目 添加附件 删除金额 评价回显

怀来职教中心中职
ndbs 1 年之前
父節點
當前提交
7849a44031
共有 4 個文件被更改,包括 40 次插入37 次删除
  1. +4
    -4
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/SRProject/Form.cshtml
  2. +1
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/SRProject/Form.js
  3. +33
    -33
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/SRProject/Index.js
  4. +2
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/PersonnelManagement/SRProject/SRProjectEntity.cs

+ 4
- 4
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/SRProject/Form.cshtml 查看文件

@@ -31,14 +31,14 @@
<div class="lr-form-item-title">结题时间<font face="宋体">*</font></div>
<input id="EndTime" type="text" class="form-control lr-input-wdatepicker" onfocus="WdatePicker({ dateFmt:'yyyy-MM-dd',onpicked: function () { $('#EndTime').trigger('change'); } })" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item" data-table="SRProject">
<div class="lr-form-item-title">奖励金额</div>
<input id="Amount" type="number" class="form-control" />
</div>
<div class="col-xs-6 lr-form-item" data-table="SRProject">
<div class="lr-form-item-title">成果形式</div>
<input id="ResultForm" type="text" class="form-control" />
</div>
<div class="col-xs-12 lr-form-item" data-table="SRProject">
<div class="lr-form-item-title">附件</div>
<div id="Path" isvalid="yes" checkexpession="NotNull"></div>
</div>
<div class="col-xs-12 lr-form-item" data-table="SRProject">
<div class="lr-form-item-title">备注</div>
<textarea id="Remark" class="form-control" style="height:100px;"></textarea>


+ 1
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/SRProject/Form.js 查看文件

@@ -18,6 +18,7 @@ var bootstrap = function ($, learun) {
$('#DepartmentId').lrDataSourceSelect({ code: 'classdata', value: 'id', text: 'name' });
$('#Compere').lrDataSourceSelect({ code: 'TeacherInfo', value: 'f_account', text: 'f_realname' });
$('#Participant').lrUserSelect(1);
$('#Path').lrUploader();
},
initData: function () {
if (!!keyValue) {


+ 33
- 33
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/SRProject/Index.js 查看文件

@@ -174,39 +174,39 @@ var bootstrap = function ($, learun) {
});
}
},
{
label: "审批部门", name: "AuditDepartment", width: 100, align: "left",
formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'classdata',
key: value,
keyId: 'id',
callback: function (_data) {
callback(_data['name']);
}
});
}
},
{
label: "审批用户", name: "AuditUser", width: 100, align: "left",
formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'TeacherInfo',
key: value,
keyId: 'f_userid',
callback: function (_data) {
callback(_data['f_realname']);
}
});
}
},
{
label: "审批时间", name: "AuditTime", width: 100, align: "left"
, formatter: function (cellvalue) {
return learun.formatDate(cellvalue, 'yyyy-MM-dd hh-mm-ss');
}
},
{ label: "审批备注", name: "AuditRemark", width: 100, align: "left" },
//{
// label: "审批部门", name: "AuditDepartment", width: 100, align: "left",
// formatterAsync: function (callback, value, row, op, $cell) {
// learun.clientdata.getAsync('custmerData', {
// url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'classdata',
// key: value,
// keyId: 'id',
// callback: function (_data) {
// callback(_data['name']);
// }
// });
// }
//},
//{
// label: "审批用户", name: "AuditUser", width: 100, align: "left",
// formatterAsync: function (callback, value, row, op, $cell) {
// learun.clientdata.getAsync('custmerData', {
// url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'TeacherInfo',
// key: value,
// keyId: 'f_userid',
// callback: function (_data) {
// callback(_data['f_realname']);
// }
// });
// }
//},
//{
// label: "审批时间", name: "AuditTime", width: 100, align: "left"
// , formatter: function (cellvalue) {
// return learun.formatDate(cellvalue, 'yyyy-MM-dd hh-mm-ss');
// }
//},
//{ label: "审批备注", name: "AuditRemark", width: 100, align: "left" },
],
mainId: 'ID',
isPage: true,


+ 2
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/PersonnelManagement/SRProject/SRProjectEntity.cs 查看文件

@@ -69,6 +69,8 @@ namespace Learun.Application.TwoDevelopment.PersonnelManagement
public string AuditRemark { get; set; }
[Column("AUDITTIME")]
public DateTime? AuditTime { get; set; }
[Column("PATH")]
public string Path { get; set; }
#endregion

#region 扩展操作


Loading…
取消
儲存