网站
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
 
 
 

716 Zeilen
26 KiB

  1. /**
  2. * Created by Administrator on 2021/4/5.
  3. */
  4. define(['jquery', "template", "Tools", "echarts", 'swiper'], function ($, template, Tools, echarts, swiper) {
  5. //数据存储
  6. var module = {
  7. data: {
  8. //服务器地址
  9. serverApi:'',
  10. //焦点图数据
  11. focusList: [],
  12. //焦点图数据
  13. focusListTop: [],
  14. //底部焦点图
  15. focusListNext:[],
  16. //新闻资讯数据
  17. newsInformationList: [],
  18. //政策法规数据
  19. policiesRegulationsList: [],
  20. //交易规则数据
  21. tradingRulesList: [],
  22. //资料下载数据
  23. dataDownloadList: [],
  24. //标的物所在地
  25. deptLocationList:[],
  26. //标的物类型
  27. deptTypeList:[],
  28. //网站配置信息
  29. webConfigInformationList:[],
  30. //底部友情链接
  31. friendsLinksList:[],
  32. //土地林地四荒地数据
  33. landListList:[],
  34. //集体资产数据
  35. collectiveAssetsList:[],
  36. //小型水利设施数据
  37. waterConservancyFacilitiesList:[],
  38. //农业生产设备数据
  39. productionEquipmentList:[],
  40. //挂牌项目总浏览次数
  41. allViewCountList:[],
  42. //成交公示数据
  43. announcementListList:[],
  44. //鉴证公告数据
  45. attestationList:[]
  46. },
  47. //柱状图参数
  48. option: {
  49. xAxis: {
  50. type: 'category',
  51. axisLine: {
  52. show: true,
  53. lineStyle: {
  54. width: 1,
  55. type: "solid"
  56. }
  57. },
  58. axisLabel: { //设置x轴的字
  59. show: true,
  60. interval: 0,//使x轴横坐标全部显示
  61. textStyle: {//x轴字体样式
  62. margin: 15
  63. }
  64. },
  65. data: []
  66. },
  67. yAxis: {
  68. type: 'value',
  69. min: 400,
  70. max: 1000,
  71. splitNumber: 7,
  72. splitLine: {
  73. lineStyle: {
  74. type: 'dashed'
  75. }
  76. },
  77. axisLine: {
  78. show: true,
  79. lineStyle: {
  80. width: 1,
  81. type: "solid"
  82. }
  83. },
  84. },
  85. series: [{
  86. data: [],//实际值减300
  87. type: 'bar',
  88. itemStyle: {
  89. color: '#007b76'
  90. }
  91. }],
  92. grid: {
  93. height: 200,
  94. width: 230,
  95. top: '-5px'
  96. },
  97. tooltip: {
  98. trigger: "axis",
  99. axisPointer: {
  100. // 坐标轴指示器,坐标轴触发有效
  101. type: "shadow", // 默认为直线,可选为:'line' | 'shadow'
  102. },
  103. },
  104. }
  105. };
  106. var tools = new Tools();
  107. module.init = function (page) {
  108. //获取焦点图信息
  109. tools.doGet(websitePicture, {picType:1,status:0,orderByColumn:'picSort',isAsc:'desc'}, module.focusNewsTop , true);
  110. //获取焦点图信息
  111. tools.doGet(websiteNew + '/1/0/4', {}, module.focusNews , true);
  112. //新闻资讯
  113. tools.doGet(websiteNew + '/2/0/6', {}, module.NewsInformation , true);
  114. //政策法规
  115. tools.doGet(websiteNew + '/3/0/6', {}, module.policiesRegulations , true);
  116. //交易规则
  117. tools.doGet(websiteNew + '/4/0/6', {}, module.tradingRules , true);
  118. //资料下载
  119. tools.doGet(websiteNew + '/5/0/6', {}, module.dataDownload, true);
  120. //标的物所在地
  121. // tools.doGet(webDept, {deptId:''}, module.deptLocation , true);
  122. //标的物类型
  123. tools.doGet(webDeptType+"/project_type", {}, module.deptType, true);
  124. //标的物类型下拉菜单
  125. // tools.doGet(webDeptType+"/project_type", {}, module.deptTypeSelect, true);
  126. //网站配置信息(网站名称 底部联系方式 公安备案号 网站备案号)
  127. tools.getWebConfig();
  128. //底部友情链接
  129. tools.doGet(friendsLinks, {}, module.bottomFriendsLinks, true);
  130. //供应项目
  131. tools.doGet(itemsList, {projectNumber:'',pageSize:'5',pageNum:'1'}, module.itemList, true);
  132. //需求项目
  133. tools.doGet(needProjectList, {projectNumber:'',pageSize:'5',pageNum:'1'}, module.itemLists, true);
  134. //农业生产设备
  135. // tools.doGet(webListing + '/9/0/5', {}, module.productionEquipment, true);
  136. //小型水利设施
  137. // tools.doGet(webListing + '/8/0/5', {}, module.waterConservancyFacilities, true);
  138. //查询挂牌项目浏览总次数
  139. // tools.doGet(allViewCount + '/100', {}, module.allViewCount, true);
  140. //查询挂牌项目浏览总次数
  141. tools.doGet(announcementList + '/0/4', {}, module.announcementList, true);
  142. //查询挂牌项目浏览总次数
  143. tools.doGet(biddingHallList + '/0/10', {}, module.biddingHallList, true);
  144. //查询挂牌项目浏览总次数
  145. tools.doGet(attestationList + '/0/5', {}, module.attestationList, true);
  146. //个人供求
  147. tools.doGet(supplyDemand + '/100/1/5', {}, module.supplyDemand, true);
  148. tools.doGet(supplyDemand + '/100/2/5', {}, module.supplyDemand2, true);
  149. //互动交流
  150. tools.doGet(communicateList + '/100/5/notnull', {}, module.communicateList, true);
  151. //土地挂牌价格走势统计图
  152. // tools.doGet(statistics, {deptId: 100}, module.statisticsContent, true);
  153. //竞价大厅-滚动
  154. module.hallRolling();
  155. setTimeout(function(){
  156. //主题图片切换
  157. module.switchTheme();
  158. },500)
  159. };
  160. //主题图片切换
  161. module.switchTheme = function(){
  162. if(themeColor == 'red'){
  163. document.getElementById('centerBanner').src = './static/images/centerBanner_red.jpg'
  164. document.getElementById('bannerBottom').src = './static/images/bannerBottom_red.jpg'
  165. }else if(themeColor == 'green'){
  166. document.getElementById('centerBanner').src = './static/images/centerBanner.jpg'
  167. document.getElementById('bannerBottom').src = './static/images/bannerBottom.jpg'
  168. }
  169. }
  170. //焦点图数据
  171. module.focusNewsTop = function (data) {
  172. if (data.code == 200) {
  173. module.data.focusListTop = data.data;
  174. var bannerFocusDataTop = template('bannerFocusDataTop', module.data);
  175. $("#bannerFocusTopContent").html(bannerFocusDataTop);
  176. new Swiper('#bannerFocusWrapTop', {
  177. paginationClickable: true,
  178. autoplay : 4000,
  179. loop:true
  180. })
  181. }
  182. }
  183. //焦点图数据
  184. module.focusNews = function (data) {
  185. if (data.code == 200) {
  186. var content = data.data;
  187. var focusList = [];
  188. for (var i = 0; i < content.length; i++) {
  189. var imgStrs = content[i].content.match(/<img.*?>/g)
  190. var title = content[i].title;
  191. var id = content[i].id;
  192. if (imgStrs != null && imgStrs != '') {
  193. focusList.push({img:imgStrs[0],title:title,id:id})
  194. }
  195. }
  196. //console.log(focusList)
  197. module.data.focusList = focusList;
  198. var bannerFocusData = template('bannerFocusData', module.data);
  199. $("#bannerFocusContent").html(bannerFocusData);
  200. new Swiper('#bannerFocusWrap', {
  201. pagination: '.page-pagination',
  202. paginationClickable: true,
  203. autoplay : 2000,
  204. loop:true
  205. })
  206. }
  207. }
  208. module.statisticsContent = function(data){
  209. //console.log(module.option)
  210. //console.log(data)
  211. module.data.nowPriceAvg = data.nowPriceAvg;
  212. module.data.priceRate = data.priceRate;
  213. var statisticsData = template('statisticsData', module.data);
  214. $("#statisticsContent").html(statisticsData);
  215. for (var i = 0 ; i < data.priceAvgList.length ; i++){
  216. module.option.xAxis.data[i] = data.priceAvgList[i].year
  217. module.option.series[0].data[i] = data.priceAvgList[i].price
  218. }
  219. // 柱状图绘制
  220. var chartDom = document.getElementById('chart');
  221. var myChart = echarts.init(chartDom);
  222. module.option && myChart.setOption(module.option);
  223. }
  224. //互动交流
  225. module.communicateList = function (data) {
  226. if (data.code == 200) {
  227. //console.log(data.data)
  228. var content = data.data;
  229. module.data.communicateList = content;
  230. var communicateData = template('communicateData', module.data);
  231. $("#communicateContent").html(communicateData);
  232. }
  233. }
  234. //新闻资讯数据
  235. module.NewsInformation = function (data) {
  236. if (data.code == 200) {
  237. var content = data.data;
  238. //console.log(content)
  239. module.data.newsInformationList = content;
  240. var NewsInformationData = template('NewsInformationData', module.data);
  241. $("#NewsInformationContent").html(NewsInformationData);
  242. }
  243. }
  244. //政策法规
  245. module.policiesRegulations = function (data) {
  246. if (data.code == 200) {
  247. var content = data.data;
  248. module.data.policiesRegulationsList = content;
  249. var policiesRegulationsData = template('policiesRegulationsData', module.data);
  250. $("#policiesRegulationsContent").html(policiesRegulationsData);
  251. }
  252. }
  253. //交易规则
  254. module.tradingRules = function (data) {
  255. if (data.code == 200) {
  256. var content = data.data;
  257. module.data.tradingRulesList = content;
  258. var tradingRulesData = template('tradingRulesData', module.data);
  259. $("#tradingRulesContent").html(tradingRulesData);
  260. }
  261. }
  262. //资料下载
  263. module.dataDownload = function (data) {
  264. if (data.code == 200) {
  265. var content = data.data;
  266. module.data.dataDownloadList = content;
  267. var dataDownloadData = template('dataDownloadData', module.data);
  268. $("#dataDownloadContent").html(dataDownloadData);
  269. }
  270. }
  271. //标的物所在地
  272. module.deptLocation = function (data) {
  273. console.log(data)
  274. if (data.code == 200) {
  275. var content = data.data ;
  276. var contentList = [];
  277. for (var i = 0 ; i < 5&&i<content.length ; i++){
  278. contentList[i] = content[i];
  279. }
  280. module.data.deptLocationList = contentList;
  281. var deptLocationData = template('deptLocationData', module.data);
  282. $("#deptLocationContent").html(deptLocationData);
  283. }
  284. }
  285. //标的物类型
  286. module.deptType = function (data) {
  287. if (data.code == 200) {
  288. var content = [] ;
  289. for (var i = 0 ; i < 4 ; i++){
  290. content[i] = data.data[i];
  291. }
  292. module.data.deptTypeList = content;
  293. var deptTypeData = template('deptTypeData', module.data);
  294. $("#deptTypeContent").html(deptTypeData);
  295. module.data.deptTypeList1 = content;
  296. var deptTypeData1 = template('deptTypeData1', module.data);
  297. $("#deptTypeContent1").html(deptTypeData1);
  298. }
  299. }
  300. //网站配置信息
  301. module.webConfigInformation = function (data) {
  302. if (data.code == 200) {
  303. var content = data.data;
  304. //console.log(content)
  305. $("#webConfigName").html(content[0].configValue);
  306. $("#webConfigRecord").html(content[1].configValue + content[2].configValue);
  307. $("#webConfigAddress").html(content[0].configValue+'&nbsp;'+content[3].configValue);
  308. }
  309. }
  310. //查询挂牌项目浏览总次数
  311. module.allViewCount = function (data) {
  312. if (data.code == 200) {
  313. var content = data.data;
  314. module.data.allViewCountList = content.toString().split("");
  315. var allViewCountData = template('allViewCountData', module.data);
  316. $("#allViewCount").html(allViewCountData);
  317. }
  318. }
  319. //底部友情链接
  320. module.bottomFriendsLinks = function (data) {
  321. if (data.code == 200) {
  322. var content = data.data;
  323. //console.log(content)
  324. module.data.friendsLinksList = content;
  325. var friendsLinksData = template('friendsLinksData', module.data);
  326. $("#friendsLinksContent").html(friendsLinksData);
  327. }
  328. }
  329. //土地林地四荒地
  330. module.landList = function (data) {
  331. if (data.code == 200) {
  332. module.data.serverApi = serverApi;
  333. var content = data.data;
  334. module.data.landListList = content;
  335. var landListData = template('landListData', module.data);
  336. $("#landListContent").html(landListData);
  337. }
  338. }
  339. module.itemList = function (data) {
  340. if (data.code == 200) {
  341. //console.log(data)
  342. module.data.serverApi = serverApi;
  343. var content = data.rows;
  344. module.data.landListList = content;
  345. var landListData = template('landListData', module.data);
  346. $("#landListContent").html(landListData);
  347. }
  348. }
  349. module.itemLists = function (data) {
  350. if (data.code == 200) {
  351. //console.log(data)
  352. module.data.serverApi = serverApi;
  353. var content = data.rows;
  354. module.data.collectiveAssetsList = content;
  355. var collectiveAssetsData = template('collectiveAssetsData', module.data);
  356. $("#collectiveAssetsContent").html(collectiveAssetsData);
  357. }
  358. }
  359. //土地林地四荒地
  360. goListingChange = function (id) {
  361. $('#deptTypeContent').children('span').removeClass('active') ;
  362. document.getElementById('tab'+id).className = 'm-r-20 active';
  363. if (id == 0){
  364. tools.doGet(itemsList, {projectNumber:'',pageSize:'5',pageNum:'1'}, module.itemList, true);
  365. }else{
  366. //土地
  367. tools.doGet(webListing + '/'+id+'/0/5', {}, module.landList, true);
  368. }
  369. }
  370. //土地林地四荒地
  371. goListingChanges = function (id) {
  372. $('#deptTypeContent1').children('span').removeClass('active') ;
  373. document.getElementById('tabs'+id).className = 'm-r-20 active';
  374. tools.doGet(needProjectList, {projectNumber:id==0?'':id,pageSize:'5',pageNum:'1'}, module.itemLists, true);
  375. }
  376. //集体资产
  377. module.collectiveAssets = function (data) {
  378. if (data.code == 200) {
  379. module.data.serverApi = serverApi;
  380. var content = data.data;
  381. module.data.collectiveAssetsList = content;
  382. var collectiveAssetsData = template('collectiveAssetsData', module.data);
  383. $("#collectiveAssetsContent").html(collectiveAssetsData);
  384. }
  385. }
  386. //小型水利设施
  387. module.waterConservancyFacilities = function (data) {
  388. if (data.code == 200) {
  389. module.data.serverApi = serverApi;
  390. var content = data.data;
  391. module.data.waterConservancyFacilitiesList = content;
  392. var waterConservancyFacilitiesData = template('waterConservancyFacilitiesData', module.data);
  393. $("#waterConservancyFacilitiesContent").html(waterConservancyFacilitiesData);
  394. }
  395. }
  396. //农业生产设备
  397. module.productionEquipment = function (data) {
  398. if (data.code == 200) {
  399. module.data.serverApi = serverApi;
  400. var content = data.data;
  401. module.data.productionEquipmentList = content;
  402. var productionEquipmentData = template('productionEquipmentData', module.data);
  403. $("#productionEquipmentContent").html(productionEquipmentData);
  404. }
  405. }
  406. //成交公示列表
  407. module.announcementList = function (data) {
  408. if (data.code == 200) {
  409. var content = data.data;
  410. module.data.announcementListList = content;
  411. var announcementListData = template('announcementListData', module.data);
  412. $("#announcementListContent").html(announcementListData);
  413. }
  414. }
  415. //鉴证公告列表
  416. module.attestationList = function (data) {
  417. if (data.code == 200) {
  418. var content = data.data;
  419. module.data.attestationList = content;
  420. var attestationData = template('attestationData', module.data);
  421. $("#attestationContent").html(attestationData);
  422. }
  423. }
  424. //竞价大厅列表
  425. module.biddingHallList = function (data) {
  426. if (data.code == 200) {
  427. var content = data.data;
  428. //console.log(content)
  429. module.data.biddingHallListList = content;
  430. for(var i = 0 ; i < content.length ; i++){
  431. if(content[i].biddingStopTime == null || content[i].biddingStartTime == null){continue;}
  432. var endTimes=content[i].biddingStopTime.substring(0,10).split('-');
  433. var biddingStopTime=endTimes[1]+'/'+endTimes[2]+'/'+endTimes[0]+' '+content[i].biddingStopTime.substring(10,19);
  434. var startTimes=content[i].biddingStartTime.substring(0,10).split('-');
  435. var biddingStartTime=startTimes[1]+'/'+startTimes[2]+'/'+startTimes[0]+' '+content[i].biddingStartTime.substring(10,19);
  436. var nowTime = Date.parse(new Date());
  437. var leftTime = Date.parse(biddingStopTime)-nowTime;
  438. var rightTime = Date.parse(biddingStartTime)-nowTime;
  439. //console.log(biddingStopTime)
  440. //console.log(leftTime)
  441. if(leftTime>0){
  442. //console.log('进行中')
  443. content[i].timeType = '进行中'
  444. }
  445. if(leftTime<0){
  446. //console.log('已结束')
  447. content[i].timeType = '已结束'
  448. }
  449. if(rightTime>0){
  450. //console.log('未开始')
  451. content[i].timeType = '未开始'
  452. }
  453. }
  454. //console.log(content)
  455. var biddingHallListData = template('biddingHallListData', module.data);
  456. $("#biddingHallListContent").html(biddingHallListData);
  457. }
  458. }
  459. ///竞价大厅-滚动
  460. module.hallRolling = function () {
  461. var divScroll = document.getElementById('tableList');
  462. window.onmousewheel = divScroll.onmousewheel = function () { return false }
  463. module.timeInter(divScroll);
  464. divScroll.onmouseover = function () {
  465. clearInterval(time);
  466. }
  467. divScroll.onmouseout = function () {
  468. module.timeInter(divScroll);
  469. }
  470. }
  471. //个人供求
  472. module.supplyDemand = function (data) {
  473. if (data.code == 200) {
  474. //console.log(data)
  475. var content = data.data;
  476. module.data.supplyDemandList = content;
  477. var supplyDemandData = template('supplyDemandData', module.data);
  478. $("#supply").html(supplyDemandData);
  479. }
  480. }
  481. //个人供求
  482. module.supplyDemand2 = function (data) {
  483. if (data.code == 200) {
  484. //console.log(data)
  485. var content = data.data;
  486. module.data.supplyDemand2List = content;
  487. var supplyDemand2Data = template('supplyDemand2Data', module.data);
  488. $("#demand").html(supplyDemand2Data);
  489. tools.doGet(supplyDemandRecommend + '/100/5', {}, module.supplyDemandRecommend, true);
  490. }
  491. }
  492. module.supplyDemandRecommend = function(data){
  493. var focusListNext = module.data.focusListNext;
  494. for (var i = 0; i < data.data.length; i++) {
  495. var imgStrs = data.data[i].fileUrl
  496. if (imgStrs != null && imgStrs != '') {
  497. focusListNext.push({img:serverApi+imgStrs,title:data.data[i].projectName,id:data.data[i].id})
  498. }
  499. }
  500. console.log(data)
  501. module.data.focusListNext = focusListNext;
  502. var bannerFocusBottomData = template('bannerFocusBottomData', module.data);
  503. $("#bannerFocusNextContent").html(bannerFocusBottomData);
  504. new Swiper('#bannerFocusNextWrap', {
  505. paginationClickable: true,
  506. pagination: '.a2',
  507. autoplay : 2000,
  508. loop:true
  509. })
  510. }
  511. module.supplyImages = function(){
  512. var focusListNext = module.data.focusListNext;
  513. //console.log(module.data.supplyDemandList)
  514. for (var i = 0; i < module.data.supplyDemandList.length; i++) {
  515. var imgStrs = module.data.supplyDemandList[i].projectContent.match(/<img.*?>/g)
  516. var title = module.data.supplyDemandList[i].projectName
  517. if (imgStrs != null && imgStrs != '') {
  518. focusListNext.push({img:imgStrs[0],title:title})
  519. }
  520. }
  521. for (var i = 0; i < module.data.supplyDemand2List.length; i++) {
  522. var imgStrs = module.data.supplyDemand2List[i].projectContent.match(/<img.*?>/g)
  523. var title = module.data.supplyDemand2List[i].projectName
  524. if (imgStrs != null && imgStrs != '') {
  525. focusListNext.push({img:imgStrs[0],title:title})
  526. }
  527. }
  528. module.data.focusListNext = focusListNext;
  529. var bannerFocusBottomData = template('bannerFocusBottomData', module.data);
  530. $("#bannerFocusNextContent").html(bannerFocusBottomData);
  531. new Swiper('#bannerFocusNextWrap', {
  532. pagination: '.page-pagination1',
  533. paginationClickable: true
  534. })
  535. }
  536. module.timeInter = function (divScroll) {
  537. time = setInterval(function () {
  538. var oldTop = divScroll.scrollTop;
  539. var newTop = oldTop + 1;
  540. divScroll.scrollTop = newTop;
  541. var counst = divScroll.scrollHeight - divScroll.scrollTop - divScroll.clientHeight;
  542. if (1 > counst) {
  543. divScroll.scrollTop = 0;
  544. }
  545. }, 30)
  546. }
  547. //证书查询
  548. goSearchKeyWord = function(){
  549. var type = $('input[name="transaction"]:checked').val();
  550. var searchKeyWord = $('#searchKeyWord').val();
  551. //console.log($('#searchKeyWord').val())
  552. //console.log(type)
  553. if($('#searchKeyWord').val() == '' && type== 'warrant'){
  554. tools.initDialog('提示', '经营权证编号不可为空', function () {
  555. return;
  556. }, '确定')
  557. return;
  558. }
  559. if(type == 'warrant'){
  560. tools.skip('view/announcement/warrantDetail.html?type='+type+'&searchKeyWord='+searchKeyWord)
  561. }else{
  562. tools.skip('view/announcement/announcement.html?type='+type+'&searchKeyWord='+searchKeyWord)
  563. }
  564. }
  565. //项目查询
  566. searchProject = function(){
  567. var projectNum = $('#projectNum').val();
  568. var projectName = $('#projectName').val();
  569. var deptTypeSelect = $("select[name='deptTypeSelect']").val();
  570. tools.skip('view/listingItems/itemsList.html?projectCode='+projectNum+'&projectName='+projectName+'&projectNumber='+deptTypeSelect)
  571. }
  572. //标的物类型
  573. module.deptTypeSelect = function (data) {
  574. if (data.code == 200) {
  575. //console.log(data);
  576. var content = data.data ;
  577. module.data.deptTypeSelectList = content;
  578. var deptTypeSelectData = template('deptTypeSelectData', module.data);
  579. $("#deptTypeSelectContent").html(deptTypeSelectData);
  580. }
  581. }
  582. //切换
  583. tabCheck = function (type) {
  584. if(type == 'supply'){
  585. document.getElementById('demand').style.display = 'none';
  586. document.getElementById('demandBtn').className = '';
  587. }
  588. if(type == 'demand'){
  589. document.getElementById('supply').style.display = 'none';
  590. document.getElementById('supplyBtn').className = '';
  591. }
  592. document.getElementById(type).style.display = 'inline-table';
  593. document.getElementById(type+'Btn').className = 'active';
  594. }
  595. //切换
  596. tabClick = function (type) {
  597. document.getElementById('cjgg').style.display = 'none';
  598. document.getElementById('jzgg').style.display = 'none';
  599. document.getElementById('cjggBtn').className = '';
  600. document.getElementById('jzggBtn').className = '';
  601. document.getElementById(type).style.display = 'block';
  602. document.getElementById(type+'Btn').className = 'active';
  603. }
  604. goDetail = function (id) {
  605. tools.skip('view/listingItems/itemsDetail.html?id='+id);
  606. }
  607. goUserInteract = function () {
  608. tools.skip('view/user/user.html?type=goInteract')
  609. }
  610. goListing = function (clickType,dictSort,dictCode) {
  611. tools.skip('view/listingItems/itemsList.html?clickType='+clickType+'&dictSort='+dictSort+'&dictCode='+dictCode);
  612. }
  613. goAnnouncementList = function (type) {
  614. tools.skip('view/announcement/announcement.html?type='+type+'&searchKeyWord=');
  615. }
  616. goNewList = function () {
  617. tools.skip('view/new/newList.html');
  618. }
  619. goPolicy = function (type) {
  620. tools.skip('view/policy/policy.html?type='+type);
  621. }
  622. goBidding = function(){
  623. tools.skip('view/bidding/biddingList.html');
  624. }
  625. goDemand = function(){
  626. tools.skip('view/demand/demand.html');
  627. }
  628. goInteraction = function(){
  629. tools.skip('view/interact/interactList.html');
  630. }
  631. goInteractSearch = function(){
  632. tools.skip('view/interact/interactList.html?keyWord='+$('#interactInput').val());
  633. }
  634. return module;
  635. });