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 lines
9.9 KiB

{"version":3,"sources":["webpack:///./src/views/noticeBoard/index.vue?e6f8","webpack:///src/views/noticeBoard/index.vue","webpack:///./src/views/noticeBoard/index.vue?35d3","webpack:///./src/views/noticeBoard/index.vue","webpack:///./src/views/noticeBoard/index.vue?acc8"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","staticStyle","attrs","path","_v","dataSheetList","length","_l","item","key","lawId","on","$event","tapJumpDetail","id","_s","title","createDate","pageObj","total","handleCurrentChange","_e","staticRenderFns","name","data","keyword","date","pageIndex","pageSize","created","getQueryPublicNotice","mounted","computed","methods","selectqueryPublicNotice","res","filter","forEach","ele","curPage","$router","push","query","type","component"],"mappings":"yHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,QAAQ,CAACF,EAAG,MAAM,CAACE,YAAY,gBAAgB,CAACF,EAAG,MAAM,CAACE,YAAY,gBAAgBF,EAAG,MAAM,CAACE,YAAY,iBAAiBC,YAAY,CAAC,SAAW,YAAY,CAACH,EAAG,MAAM,CAACE,YAAY,gBAAgB,CAACF,EAAG,gBAAgB,CAACI,MAAM,CAAC,UAAY,MAAM,CAACJ,EAAG,qBAAqB,CAACI,MAAM,CAAC,GAAK,CAAEC,KAAM,OAAQ,CAACT,EAAIU,GAAG,QAAQN,EAAG,qBAAqB,CAACJ,EAAIU,GAAG,UAAU,IAAI,GAAIV,EAAIW,cAAcC,OAAS,EAAGR,EAAG,MAAM,CAACE,YAAY,iBAAiB,CAACF,EAAG,MAAM,CAACE,YAAY,gBAAgB,CAACF,EAAG,KAAK,CAACE,YAAY,WAAWN,EAAIa,GAAIb,EAAiB,eAAE,SAASc,GAAM,OAAOV,EAAG,KAAK,CAACW,IAAID,EAAKE,MAAMV,Y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J,SA8BA,GACMlB,KAAK6C,QAAQC,KAAK,CAChBlB,KAAR,UACQmB,MAAO,CACL5B,GAAV,EACU6B,KAAM,eCxH8U,I,wBCQ1VC,EAAY,eACd,EACAnD,EACA6B,GACA,EACA,KACA,WACA,MAIa,aAAAsB,E,kECnBf","file":"js/chunk-0f363383.9112012c.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"join\"},[_c('div',{staticClass:\"join-wrapper\"},[_c('div',{staticClass:\"join-banner\"}),_c('div',{staticClass:\"zlxc-container\",staticStyle:{\"overflow\":\"visible\"}},[_c('div',{staticClass:\"bread-crumbs\"},[_c('el-breadcrumb',{attrs:{\"separator\":\"/\"}},[_c('el-breadcrumb-item',{attrs:{\"to\":{ path: '/' }}},[_vm._v(\"首页\")]),_c('el-breadcrumb-item',[_vm._v(\"公示栏\")])],1)],1),(_vm.dataSheetList.length > 0)?_c('div',{staticClass:\"join-concrete\"},[_c('div',{staticClass:\"list-content\"},[_c('ul',{staticClass:\"list-ul\"},_vm._l((_vm.dataSheetList),function(item){return _c('li',{key:item.lawId,staticClass:\"list-li\",on:{\"click\":function($event){return _vm.tapJumpDetail(item.id)}}},[_c('div',{staticClass:\"li-detail\"},[_c('p',{staticClass:\"detail-line\"}),_c('p',{staticClass:\"detail-writing\"},[_vm._v(_vm._s(item.title))])]),_c('div',{staticClass:\"li-date\"},[_vm._v(_vm._s(item.createDate))])])}),0),_c('div',{staticClass:\"newest-page\"},[_c('el-pagination',{attrs:{\"background\":\"\",\"layout\":\"prev, pager, next\",\"total\":_vm.pageObj.total},on:{\"current-change\":_vm.handleCurrentChange}})],1)]),_c('div',{staticClass:\"filter-content\"})]):_vm._e()])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"join\">\r\n <div class=\"join-wrapper\">\r\n <div class=\"join-banner\"></div>\r\n <div class=\"zlxc-container\" style=\"overflow: visible\">\r\n <div class=\"bread-crumbs\">\r\n <el-breadcrumb separator=\"/\">\r\n <el-breadcrumb-item :to=\"{ path: '/' }\">首页</el-breadcrumb-item>\r\n <el-breadcrumb-item>公示栏</el-breadcrumb-item>\r\n </el-breadcrumb>\r\n </div>\r\n <div class=\"join-concrete\" v-if=\"dataSheetList.length > 0\">\r\n <div class=\"list-content\">\r\n <ul class=\"list-ul\">\r\n <li class=\"list-li\" v-for=\"item in dataSheetList\" :key=\"item.lawId\" @click=\"tapJumpDetail(item.id)\">\r\n <div class=\"li-detail\">\r\n <p class=\"detail-line\"></p>\r\n <p class=\"detail-writing\">{{item.title}}</p>\r\n </div>\r\n <div class=\"li-date\">{{item.createDate}}</div>\r\n </li>\r\n </ul>\r\n <div class=\"newest-page\">\r\n <el-pagination\r\n background\r\n layout=\"prev, pager, next\"\r\n :total=\"pageObj.total\"\r\n @current-change=\"handleCurrentChange\">\r\n </el-pagination>\r\n </div>\r\n </div>\r\n <div class=\"filter-content\">\r\n <!-- <div class=\"filter-title\">公示栏查询</div>\r\n <div class=\"form\">\r\n <el-input\r\n class=\"form-input\"\r\n prefix-icon=\"el-icon-search\"\r\n placeholder=\"请输入您要查询的关键词\"\r\n v-model=\"keyword\"\r\n clearable>\r\n </el-input>\r\n <el-date-picker\r\n class=\"form-input\"\r\n v-model=\"date\"\r\n type=\"date\"\r\n value-format=\"yyyy-MM-dd\"\r\n placeholder=\"请选择您要查询的日期\">\r\n </el-date-picker>\r\n </div>\r\n <div class=\"filter-btn\" @click=\"selectqueryPublicNotice()\">查询</div> -->\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport { queryPublicNotice } from '@/api/herbalMedicine'\r\nimport { formatTime } from '@/utils/common.js'\r\n\r\nexport default {\r\n name: 'Notice',\r\n data () {\r\n return {\r\n // 查询关键词\r\n keyword: '',\r\n // 查询日期\r\n date: '',\r\n // 分页信息\r\n pageObj: {\r\n pageIndex: 1,\r\n pageSize: 10,\r\n total: 0\r\n },\r\n // 公示栏列表\r\n dataSheetList: [],\r\n }\r\n },\r\n created() {\r\n // 公示栏列表\r\n this.getQueryPublicNotice()\r\n },\r\n mounted() {},\r\n computed: {},\r\n methods: {\r\n // 公示栏筛选\r\n selectqueryPublicNotice () {\r\n this.pageObj.pageIndex = 1\r\n this.getQueryPublicNotice()\r\n },\r\n // 公示栏列表\r\n getQueryPublicNotice () {\r\n queryPublicNotice({\r\n pageIndex: this.pageObj.pageIndex,\r\n pageSize: this.pageObj.pageSize,\r\n }).then(res => {\r\n if (res.data.length > 0) {\r\n res.data = res.data.filter(ele => ele.title ? true : false)\r\n res.data.forEach(ele => {\r\n ele.createDate = formatTime(ele.createDate)\r\n })\r\n this.dataSheetList = res.data\r\n this.pageObj.total = res.count\r\n } else {\r\n this.showMessage('未找到结果', \"error\");\r\n }\r\n })\r\n },\r\n // 当前currentPage 改变时会触发\r\n handleCurrentChange (curPage) {\r\n this.pageObj.pageIndex = curPage\r\n this.getQueryPublicNotice()\r\n },\r\n // 跳转详情页\r\n tapJumpDetail (id) {\r\n this.$router.push({\r\n name:'Details',\r\n query: {\r\n id,\r\n type: 'notice'\r\n }\r\n })\r\n },\r\n }\r\n}\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n@import \"./index.scss\";\r\n</style>\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=19ca2f5a&scoped=true&\"\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&id=19ca2f5a&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"19ca2f5a\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&id=19ca2f5a&lang=scss&scoped=true&\""],"sourceRoot":""}