Parcourir la source

【修改】固定资产:审批拒绝修改为草稿;老师列表仅看审核通过的;

新疆体育高职分支
dyy il y a 1 an
Parent
révision
472a665666
3 fichiers modifiés avec 7 ajouts et 1 suppressions
  1. +1
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_FixAssets/IndexOfTeacher.js
  2. +5
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/AssetManagementSystem/Ass_FixAssets/Ass_FixAssetsService.cs
  3. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.WorkFlow/NodeMethod/Ass_FixAssetsMethod.cs

+ 1
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_FixAssets/IndexOfTeacher.js Voir le fichier

@@ -308,6 +308,7 @@ var bootstrap = function ($, learun) {
search: function (param) {
param = param || {};
param.IsTeacher = "1";//控制老师查看的参数
param.Status = "2";//审核通过
$('#gridtable').jfGridSet('reload', { queryJson: JSON.stringify(param) });
}
};


+ 5
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/AssetManagementSystem/Ass_FixAssets/Ass_FixAssetsService.cs Voir le fichier

@@ -109,6 +109,11 @@ namespace Learun.Application.TwoDevelopment.AssetManagementSystem
dp.Add("DepreciationStatus", queryParam["DepreciationStatus"].ToString(), DbType.String);
strSql.Append(" AND t.DepreciationStatus = @DepreciationStatus ");
}
if (!queryParam["Status"].IsEmpty())
{
dp.Add("Status", queryParam["Status"].ToString(), DbType.String);
strSql.Append(" AND t.Status = @Status ");
}

//判断是否是普通教师的列表:若是,则二级判断;若不是,则无;
//二级判断登录用户是否是部门负责人:若是,则使用部门=本部门,或者使用人=本人;若不是,则使用人=本人;


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.WorkFlow/NodeMethod/Ass_FixAssetsMethod.cs Voir le fichier

@@ -20,7 +20,7 @@ namespace Learun.Application.WorkFlow
}
else
{
asset.ChangeStatusByProcessId(parameter.processId, 3);
asset.ChangeStatusByProcessId(parameter.processId, 0);
}
}
}


Chargement…
Annuler
Enregistrer