Bläddra i källkod

修复语言类型无法删除的问题;

修复新闻列表栏目未显示、是否下发字段回填不正确的问题;
西昌缴费二期
zhangli 2 år sedan
förälder
incheckning
566688e65e
6 ändrade filer med 13 tillägg och 8 borttagningar
  1. +2
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_OAModule/Controllers/NewsController.cs
  2. +2
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_OAModule/Views/News/Form.cshtml
  3. +2
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_OAModule/Views/News/Form.js
  4. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_OAModule/Views/News/Index.js
  5. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.Language/LGMap/LGMapService.cs
  6. +5
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.OA/News/NewsEntity.cs

+ 2
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_OAModule/Controllers/NewsController.cs Visa fil

@@ -93,7 +93,7 @@ namespace Learun.Application.Web.Areas.LR_OAModule.Controllers
newsIBLL.SaveEntity(keyValue, entity);

#region 发送到网站
if (entity.IsSend == "1")
if (entity.F_IsSendCMS == 1)
{
//获取配置文件
string siteId = ConfigurationManager.AppSettings["SiteId"];
@@ -133,7 +133,7 @@ namespace Learun.Application.Web.Areas.LR_OAModule.Controllers
listCon.Add(con);
AList.contents = listCon;
//AList.reasons = "终审通过";
Util.HttpMethods.HttpPosts("http://"+Ports+"/api/v1/contents/check", AList.ToJson(), ApiId);
Util.HttpMethods.HttpPosts("http://" + Ports + "/api/v1/contents/check", AList.ToJson(), ApiId);
//Util.HttpMethods.HttpPosts("http://"+Ports+"/api/v1/contents/actions/check", AList.ToJson(), ApiId);
}
#endregion


+ 2
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_OAModule/Views/News/Form.cshtml Visa fil

@@ -9,8 +9,8 @@
<input id="F_FullHead" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" placeholder="请输入标题" />
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">是否下发CMS</div>
<div id="IsSend" ></div>
<div class="lr-form-item-title">是否下发CMS</div>
<div id="F_IsSendCMS" ></div>
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">新闻栏目<font face="宋体">*</font></div>


+ 2
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_OAModule/Views/News/Form.js Visa fil

@@ -17,11 +17,11 @@ var bootstrap = function ($, learun) {
page.initData();
},
bind: function () {
$('#IsSend').lrselect({
$('#F_IsSendCMS').lrselect({
data: [{ text: "是", value: "1" }, { text: "否", value: "0" }],
text: "text",
value: "value"
})
});
//新闻栏目
$('#F_CategoryId').lrDataItemSelect({ code: 'NewsCategory', maxHeight: 230 });
//内容编辑器


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_OAModule/Views/News/Index.js Visa fil

@@ -82,7 +82,7 @@ var bootstrap = function ($, learun) {
{ label: '标题', name: 'F_FullHead', width: 500, align: 'left' },
{ label: '作者', name: 'F_AuthorName', width: 100, align: 'left' },
{ label: '小编', name: 'F_CompileName', width: 100, align: 'left' },
{ label: '栏目', name: 'F_Category', width: 100, align: 'left' },
{ label: '栏目', name: 'F_CategoryId', width: 100, align: 'left' },
{
label: "发布时间", name: "F_ReleaseTime", width: 140, align: "left",
formatter: function (cellvalue) {


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.Language/LGMap/LGMapService.cs Visa fil

@@ -67,7 +67,7 @@ namespace Learun.Application.Language
{
try
{
var sql = "select * from LR_Lg_Map where F_TypeCode='" + TypeCode + "' AND t.F_Code <>'' AND t.F_Code<>'undefined'";
var sql = "select * from LR_Lg_Map t where F_TypeCode='" + TypeCode + "' AND t.F_Code <>'' AND t.F_Code<>'undefined'";
return this.BaseRepository().FindList<LGMapEntity>(sql);
}
catch (Exception ex)


+ 5
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.OA/News/NewsEntity.cs Visa fil

@@ -196,6 +196,11 @@ namespace Learun.Application.OA
[Column("F_STATUS")]
public string F_Status { get; set; }

/// <summary>
/// 是否下发到CMS
/// </summary>
[Column("F_ISSENDCMS")]
public int? F_IsSendCMS { get; set; }

/// <summary>
/// 阅读Id


Laddar…
Avbryt
Spara