edy 3 年前
父节点
当前提交
cf2710e2d4
共有 3 个文件被更改,包括 8 次插入10 次删除
  1. +8
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/DispatchController.cs
  2. +0
    -5
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Dispatch/Form.js
  3. +0
    -5
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Dispatch/FormView.js

+ 8
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/DispatchController.cs 查看文件

@@ -149,6 +149,14 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers
{
DispatchEntity entity = strEntity.ToObject<DispatchEntity>();
entity.FlowNo = "0";
if (entity.DisOffice == "1")
{
entity.WorkName = "1";
}
else
{
entity.WorkName = "2";
}
dispatchIBLL.SaveEntity(keyValue, entity);

if (string.IsNullOrEmpty(keyValue))


+ 0
- 5
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Dispatch/Form.js 查看文件

@@ -98,11 +98,6 @@ var bootstrap = function ($, learun) {
if (!!processId) {
formData.FlowNo = processId;
}
if (formData.DisOffice == "1") {
formData.WorkName = "1";
} else {
formData.WorkName = "2";
}
var postData = {
strEntity: JSON.stringify(formData)
};


+ 0
- 5
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Dispatch/FormView.js 查看文件

@@ -99,11 +99,6 @@ var bootstrap = function ($, learun) {
if (!!processId) {
formData.FlowNo = processId;
}
if (formData.DisOffice == "1") {
formData.WorkName = "1";
} else {
formData.WorkName = "2";
}
var postData = {
strEntity: JSON.stringify(formData)
};


正在加载...
取消
保存