You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
3.0 KiB

  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-27678a2f"],{"17c4":function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"join"},[a("div",{staticClass:"join-wrapper"},[a("div",{staticClass:"join-banner"}),a("div",{staticClass:"zlxc-container",staticStyle:{overflow:"visible"}},[a("div",{staticClass:"bread-crumbs"},[a("el-breadcrumb",{attrs:{separator:"/"}},[a("el-breadcrumb-item",{attrs:{to:{path:"/"}}},[t._v("首页")]),a("el-breadcrumb-item",[t._v("政策法规")])],1)],1),t.dataSheetList.length>0?a("div",{staticClass:"join-concrete"},[a("div",{staticClass:"list-content"},[a("ul",{staticClass:"list-ul"},t._l(t.dataSheetList,(function(e){return a("li",{key:e.id,staticClass:"list-li",on:{click:function(a){return t.tapJumpDetail(e.id)}}},[a("div",{staticClass:"li-detail"},[a("p",{staticClass:"detail-line"}),a("p",{staticClass:"detail-writing"},[t._v(t._s(e.title))])]),a("div",{staticClass:"li-date"},[t._v(t._s(e.createDate))])])})),0),a("div",{staticClass:"newest-page"},[a("el-pagination",{attrs:{background:"",layout:"prev, pager, next",total:t.pageObj.total},on:{"current-change":t.handleCurrentChange}})],1)]),a("div",{staticClass:"filter-content"},[a("div",{staticClass:"filter-title"},[t._v("政策法规查询")]),a("div",{staticClass:"form"},[a("el-input",{staticClass:"form-input",attrs:{"prefix-icon":"el-icon-search",placeholder:"请输入您要查询的关键词",clearable:""},model:{value:t.keyword,callback:function(e){t.keyword=e},expression:"keyword"}}),a("el-date-picker",{staticClass:"form-input",attrs:{type:"date","value-format":"yyyy-MM-dd",placeholder:"请选择您要查询的日期"},model:{value:t.date,callback:function(e){t.date=e},expression:"date"}})],1),a("div",{staticClass:"filter-btn",on:{click:function(e){return t.selectQuerySimpleLaws()}}},[t._v("查询")])])]):t._e()])])])},s=[],l=(a("d3b7"),a("159b"),a("1825")),n=a("cf45"),c={name:"Join",data:function(){return{keyword:"",date:"",pageObj:{pageNo:1,pageSize:10,total:0},dataSheetList:[]}},created:function(){this.getQuerySimpleLaws()},mounted:function(){},computed:{},methods:{selectQuerySimpleLaws:function(){this.pageObj.pageNo=1,this.getQuerySimpleLaws()},getQuerySimpleLaws:function(){var t=this;Object(l["x"])({type:2,pageNo:this.pageObj.pageNo,pageSize:this.pageObj.pageSize,createTime:this.date,title:this.keyword}).then((function(e){e.data.list.length>0?(e.data.list.forEach((function(t){t.createDate=Object(n["a"])(t.createTime)})),t.dataSheetList=e.data.list,t.pageObj.total=e.data.total):t.showMessage("未找到结果","error")}))},handleCurrentChange:function(t){this.pageObj.pageNo=t,this.getQuerySimpleLaws()},tapJumpDetail:function(t){this.$router.push({name:"Details",query:{id:t,type:"legislation"}})}}},r=c,o=(a("b00e"),a("2877")),d=Object(o["a"])(r,i,s,!1,null,"5dbb88a2",null);e["default"]=d.exports},"75ac":function(t,e,a){},b00e:function(t,e,a){"use strict";a("75ac")}}]);
  2. //# sourceMappingURL=chunk-27678a2f.3c713b48.js.map