edy 3 anni fa
parent
commit
cf2710e2d4
3 ha cambiato i file con 8 aggiunte e 10 eliminazioni
  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 Vedi 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 Vedi 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 Vedi 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)
};


Caricamento…
Annulla
Salva