edy 3 years ago
parent
commit
cf2710e2d4
3 changed files with 8 additions and 10 deletions
  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 View File

@@ -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 View File

@@ -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 View File

@@ -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…
Cancel
Save