Browse Source

通知公告 自定义通知信息来源改为部门

长阳分支推送专用
ndbs 2 years ago
parent
commit
270c55eaa1
5 changed files with 20 additions and 4 deletions
  1. +2
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_OAModule/Views/Notice/FormFlow.cshtml
  2. +1
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_OAModule/Views/Notice/FormFlow.js
  3. +3
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_OAModule/Views/Notice/FormFlowView.cshtml
  4. +1
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_OAModule/Views/Notice/FormFlowView.js
  5. +13
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_OAModule/Views/Notice/IndexFlow.js

+ 2
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_OAModule/Views/Notice/FormFlow.cshtml View File

@@ -23,7 +23,8 @@
</div>
<div class="col-xs-6 lr-form-item" data-table="OANews">
<div class="lr-form-item-title">信息来源<font face="宋体">*</font></div>
<input id="F_SourceName" type="text" isvalid="yes" checkexpession="NotNull" class="form-control" />
@*<input id="F_SourceName" type="text" isvalid="yes" checkexpession="NotNull" class="form-control" />*@
<div id="F_SourceName" isvalid="yes" checkexpession="NotNull"></div>
</div>
<div class="col-xs-6 lr-form-item" data-table="OANews">
<div class="lr-form-item-title">来源地址</div>


+ 1
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_OAModule/Views/Notice/FormFlow.js View File

@@ -42,6 +42,7 @@ var bootstrap = function ($, learun) {
}
}
});
$('#F_SourceName').lrDepartmentSelect();
$('#F_NewsImage').lrUploader({ extensions:'gif,jpeg,jpg,png,bmp'});
$('#F_IsSendFX').lrDataItemSelect({ code: 'YesOrNoBit' });
$('#F_SendDeptId').lrDepartmentSelect({ type: 'treemultiple' });


+ 3
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_OAModule/Views/Notice/FormFlowView.cshtml View File

@@ -22,8 +22,9 @@
<input id="F_ReleaseTime" type="text" class="form-control lr-input-wdatepicker" onfocus="WdatePicker({ dateFmt: 'yyyy/MM/dd HH:mm' })" isvalid="yes" readonly="readonly" checkexpession="NotNull" value="@Learun.Util.Time.GetToday("yyyy/MM/dd HH:mm")" />
</div>
<div class="col-xs-6 lr-form-item" data-table="OANews">
<div class="lr-form-item-title">信息来源</div>
<input id="F_SourceName" readonly="readonly" type="text" class="form-control" />
<div class="lr-form-item-title">信息来源<font face="宋体">*</font></div>
@*<input id="F_SourceName" type="text" isvalid="yes" checkexpession="NotNull" class="form-control" />*@
<div id="F_SourceName" isvalid="yes" checkexpession="NotNull"></div>
</div>
<div class="col-xs-6 lr-form-item" data-table="OANews">
<div class="lr-form-item-title">来源地址</div>


+ 1
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_OAModule/Views/Notice/FormFlowView.js View File

@@ -41,6 +41,7 @@ var bootstrap = function ($, learun) {
}
}
});
$('#F_SourceName').lrDepartmentSelect();
$('#F_NewsImage').lrUploader();
$('#F_IsSendFX').lrDataItemSelect({ code: 'YesOrNoBit' });
$('#F_SendDeptId').lrDepartmentSelect({ type: 'treemultiple' });


+ 13
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_OAModule/Views/Notice/IndexFlow.js View File

@@ -172,7 +172,19 @@ var bootstrap = function ($, learun) {
return learun.formatDate(cellvalue, 'yyyy-MM-dd hh:mm');
}
},
{ label: '信息来源', name: 'F_SourceName', index: 'F_SourceName', width: 100, align: 'center' },
{
label: '信息来源', name: 'F_SourceName', index: 'F_SourceName', width: 100, align: 'center',
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'] || value);
}
});
}
},
{ label: '阅读次数', name: 'F_PV', index: 'F_PV', width: 80, align: 'center' },
{
label: "审核状态", name: "F_Status", width: 100, align: "left",


Loading…
Cancel
Save