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)
};


Loading…
取消
儲存