edy преди 3 години
родител
ревизия
66dfa3eb4a
променени са 2 файла, в които са добавени 6 реда и са изтрити 2 реда
  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 Целия файл

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


+ 5
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Dispatch/FormView.js Целия файл

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


Зареждане…
Отказ
Запис