edy 3 years ago
parent
commit
66dfa3eb4a
2 changed files with 6 additions and 2 deletions
  1. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Dispatch/Form.js
  2. +5
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Dispatch/FormView.js

+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Dispatch/Form.js View File

@@ -98,7 +98,7 @@ var bootstrap = function ($, learun) {
if (!!processId) { if (!!processId) {
formData.FlowNo = processId; formData.FlowNo = processId;
} }
if (formData.WorkName == "1") {
if (formData.DisOffice == "1") {
formData.WorkName = "1"; formData.WorkName = "1";
} else { } else {
formData.WorkName = "2"; formData.WorkName = "2";


+ 5
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Dispatch/FormView.js View File

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


Loading…
Cancel
Save