浏览代码

Merge branch '金隅分支' of http://123.57.209.16:3000/bjquanjiang/DigitalScholl into 金隅分支

金隅分支
zhangli 3 年前
父节点
当前提交
5649151330
共有 4 个文件被更改,包括 4 次插入15 次删除
  1. +0
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/FillinFromController.cs
  2. +1
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/FillinFrom/Index.cshtml
  3. +0
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/FillinFrom/Index.js
  4. +3
    -11
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/FillinFrom/FillinFromService.cs

+ 0
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/FillinFromController.cs 查看文件

@@ -32,7 +32,6 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers
public ActionResult Index()
{
var logininfo = LoginUserInfo.Get();
ViewBag.isSystem = logininfo.isSystem;
ViewBag.departmentId = "";
var Model = departmentIBLL.GetEntity(logininfo.companyId, logininfo.departmentId);
if (Model.F_Manager == logininfo.realName)


+ 1
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/FillinFrom/Index.cshtml 查看文件

@@ -3,8 +3,7 @@
Layout = "~/Views/Shared/_Index.cshtml";
}
<script type="text/javascript">
var isSystem = '@ViewBag.isSystem';
var departmentId= '@ViewBag.departmentId'
var departmentId = '@ViewBag.departmentId'
</script>
<div class="lr-layout ">
<div class="lr-layout-center">


+ 0
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/FillinFrom/Index.js 查看文件

@@ -305,7 +305,6 @@ var bootstrap = function ($, learun) {
},
search: function (param) {
param = param || {};
param.isSystem = isSystem;
param.departmentId = departmentId;
$('#gridtable').jfGridSet('reload', { queryJson: JSON.stringify(param) });
}


+ 3
- 11
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/FillinFrom/FillinFromService.cs 查看文件

@@ -78,18 +78,10 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
dp.Add("IsFlag", queryParam["IsFlag"].ToString(), DbType.String);
strSql.Append(" AND t.IsFlag = @IsFlag ");
}
if (queryParam["isSystem"].ToBool() == false)
if (!queryParam["departmentId"].IsEmpty())
{
if (!queryParam["departmentId"].IsEmpty())
{
dp.Add("FillingDept", queryParam["departmentId"].ToString(), DbType.String);
strSql.Append(" AND t.FillingDept = @FillingDept ");
}
else
{
dp.Add("FillingDept", "undefined11", DbType.String);
strSql.Append(" AND t.FillingDept = @FillingDept ");
}
dp.Add("FillingDept", queryParam["departmentId"].ToString(), DbType.String);
strSql.Append(" AND t.FillingDept = @FillingDept ");
}
//sql条件
if (!queryParam["SqlParameter"].IsEmpty())


正在加载...
取消
保存