Browse Source

Merge branch 'rongxin_dev' of http://218.59.175.43:3000/zhangzl/nsgk_web into rongxin_dev

rongxin_dev
961867786 2 days ago
parent
commit
43153ad634
2 changed files with 4 additions and 3 deletions
  1. +3
    -2
      infoport/static/js/project/discussions.js
  2. +1
    -1
      infoport/static/js/project/discussionsDetail.js

+ 3
- 2
infoport/static/js/project/discussions.js View File

@@ -280,7 +280,7 @@ define(['jquery', "template", "Tools", 'swiper'], function ($, template, Tools,

searchChange = function () {
console.log(1111111111);
tools.doGet(listSiyigongkai, {pageNum:1,pageSize:8,openName:$("#searchInput").val()}, module.newsList , true);
tools.doGet(listSiyigongkai, {pageNum:1,pageSize:8,openName:$("#searchInput").val(), isAsc:'desc', orderByColumn:'createTime'}, module.newsList , true);
}

submitUser = function () {
@@ -413,7 +413,8 @@ define(['jquery', "template", "Tools", 'swiper'], function ($, template, Tools,
pageNum:module.data.pageNum4,
pageSize:10,
bookId: JSON.parse(tools.getCookie('user')).bookId,
deptId: JSON.parse(tools.getCookie('user')).deptId
deptId: JSON.parse(tools.getCookie('user')).deptId,
isAsc:'desc', orderByColumn:'createTime'
}, module.newsList4 , true);
break;



+ 1
- 1
infoport/static/js/project/discussionsDetail.js View File

@@ -18,7 +18,7 @@ define(['jquery', "template", "Tools"], function ($, template, Tools) {
//新闻详情
tools.doGet(siyigongkaiDetail, {id:getQueryVariable('id')}, module.newsDetail , true);
//新闻列表
tools.doGet(listSiyigongkai, {pageNum:1,pageSize:8}, module.newsList , true);
tools.doGet(listSiyigongkai, {pageNum:1,pageSize:8, isAsc:'desc', orderByColumn:'createTime'}, module.newsList , true);
tools.doGet(webList, {}, module.webList , true);
};



Loading…
Cancel
Save