1 line
8.2 KiB
Plaintext
1 line
8.2 KiB
Plaintext
{"version":3,"sources":["webpack:///./src/components/Matters.vue","webpack:///./src/components/Matters.vue?b7c9","webpack:///./src/components/Matters.vue?787f"],"names":["class","style","title","left-arrow","onClickLeft","info","questions","q","index","key","clickLi","status","name","getTime","question","end_time","start_time","data","loading","finished","refreshing","avatar","company","mounted","this","methods","$router","push","path","message","unixTime","format","setImg","src","history","back","__exports__","render"],"mappings":"+KACOA,MAAM,W,GAEJA,MAAM,c,iBAEFA,MAAM,0B,SACNA,MAAM,M,SACNA,MAAM,M,GAGNA,MAAM,aAAaC,MAAA,qC,GACjBD,MAAM,c,GACJA,MAAM,S,iBAAQ,Q,SACXC,MAAA,mB,SACAA,MAAA,mB,SACAA,MAAA,mB,SACAA,MAAA,mB,SACAA,MAAA,mB,GAGHD,MAAM,S,iBAAQ,S,GACdA,MAAM,S,iBAAQ,S,SAEhBA,MAAM,kB,SACNA,MAAM,kB,oFAvBnB,eA2CM,MA3CN,EA2CM,CA1CJ,eAA+E,GAAlEE,MAAM,OAAOC,aAAA,GAAa,YAAY,EAAAC,a,wBACnD,eAuCM,MAvCN,EAuCM,E,mBAtCJ,eAsBM,2BAtBoC,EAAAC,KAAKC,WAAS,SAA1BC,EAAEC,G,wBAAhC,eAsBM,OAtBDR,MAAM,WAAgDS,IAAKD,EAAQ,QAAK,mBAAE,EAAAE,QAAQH,K,CACrF,eAIM,MAJN,EAIM,CAHgBA,EAAEI,OAAM,GAAY,GAARJ,EAAEI,Q,iBAAlC,eAAiD,IAAjD,I,sBAC4B,GAARJ,EAAEI,QAAmB,GAARJ,EAAEI,Q,iBAAnC,eAAkD,IAAlD,I,sBACA,eAAsD,yBAAhDJ,EAAEK,MAAM,MAAG,eAAE,EAAAC,QAAQN,EAAEO,SAASC,WAAQ,KAEhD,eAeM,MAfN,EAeM,CAdJ,eAWM,MAXN,EAWM,CAVJ,eAMM,MANN,EAMM,C,EALuC,GAARR,EAAEI,Q,iBAArC,eAA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AM8B,QAAQC,U,iCC/F/B,MAAMC,EAA2B,IAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAE1E,gB,kCCTf","file":"js/chunk-4acb9dfe.e02f0fb0.js","sourcesContent":["<template>\r\n <div class=\"Matters\">\r\n <van-nav-bar title=\"调研填报\" left-arrow @click-left=\"onClickLeft\"> </van-nav-bar>\r\n <div class=\"matterList\">\r\n <div class=\"matterLi\" v-for=\"(q,index) in info.questions\" :key=\"index\" @click=\"clickLi(q)\">\r\n <div class=\"mattertitle flexcenter\">\r\n <i class=\"i1\" v-if=\"q.status<2||q.status==4\"></i>\r\n <i class=\"i2\" v-if=\"q.status==2||q.status==3\"></i>\r\n <h1>{{q.name}}-截止{{getTime(q.question.end_time)}}</h1>\r\n </div>\r\n <div class=\"flexcenter\" style=\"justify-content: space-between\">\r\n <div class=\"matterdate\">\r\n <div class=\"mdate\">状态:\r\n <span style=\"color: #e6422d\" v-if=\"q.status==0\">待填报</span>\r\n <span style=\"color: #e6422d\" v-if=\"q.status==1\">待上传文件</span>\r\n <span style=\"color: #e6422d\" v-if=\"q.status==2\">待审核</span>\r\n <span style=\"color: #e6422d\" v-if=\"q.status==3\">填报完成</span>\r\n <span style=\"color: #e6422d\" v-if=\"q.status==4\">驳回重填</span>\r\n </div>\r\n\r\n <div class=\"mdate\">发文日期:<span>{{getTime(q.question.start_time)}}</span></div>\r\n <div class=\"mdate\">截止日期:<span>{{getTime(q.question.end_time)}}</span></div>\r\n </div>\r\n <div class=\"matterbtn mtn1\" v-if=\"q.status<2||q.status==4\">填报</div>\r\n <div class=\"matterbtn mtn2\" v-if=\"q.status==2||q.status==3\">详情</div>\r\n </div>\r\n </div>\r\n<!-- <div class=\"matterLi\">-->\r\n<!-- <div class=\"mattertitle flexcenter\">-->\r\n<!-- <i class=\"i2\"></i><h1>企业信息特项申报填报-截止1月31日</h1>-->\r\n<!-- </div>-->\r\n<!-- <div class=\"flexcenter\" style=\"justify-content: space-between\">-->\r\n<!-- <div class=\"matterdate\">-->\r\n<!-- <div class=\"mdate\">状态:<span style=\"color:#42b983\">待填报</span></div>-->\r\n<!-- <div class=\"mdate\">发文日期:<span>2022/01/20</span></div>-->\r\n<!-- <div class=\"mdate\">截止日期:<span>2022/01/20</span></div>-->\r\n<!-- </div>-->\r\n<!-- <div class=\"matterbtn mtn2\">详情</div>-->\r\n<!-- </div>-->\r\n\r\n<!-- </div>-->\r\n\r\n </div>\r\n\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport {baseUrl, cache} from \"../api/http\"\r\nimport {Dialog} from \"vant\";\r\nimport moment from 'moment';\r\n\r\nexport default {\r\n name: \"Matters\",\r\n\r\n data() {\r\n return {\r\n loading: false,\r\n finished: false,\r\n refreshing: false,\r\n info:{\r\n name:\"\",\r\n avatar:null,\r\n company:{\r\n name:\"\",\r\n },\r\n questions:[],\r\n\r\n }\r\n }\r\n },\r\n mounted() {\r\n var info=cache(\"user\")\r\n if(info!=null){\r\n this.info=info\r\n }\r\n },\r\n methods: {\r\n clickLi(question){\r\n if(question.status>1&&question.status!=4){\r\n Dialog({message:\"你已经完成填报了\"})\r\n return\r\n }\r\n\r\n if(question.status==0||question.status==4){\r\n cache(\"question\",question)\r\n this.$router.push({path:\"matterCon\"})\r\n return;\r\n }\r\n this.$router.push({path:\"matterUp\"})\r\n\r\n },\r\n getTime(unixTime){\r\n\r\n return moment(unixTime * 1000).format(\"MM月DD日\");\r\n },\r\n setImg(src) {\r\n if (src == null || src == \"\") {\r\n return \"./img/logo.png\"\r\n }\r\n return baseUrl + \"/\" + src\r\n },\r\n onClickLeft: () => history.back(),\r\n\r\n },\r\n}\r\n</script>\r\n\r\n<style scoped>\r\n.flexcenter{display: flex;align-items: center}\r\n.matterList{}\r\n.matterLi{background: #fff;padding: 0 20px;margin-top: 10px;}\r\n.i1{display: block;width: 20px;height: 20px;flex-shrink:0;background: url(\"../assets/img/load.png\")no-repeat;background-size: 100% 100%;margin-right: 5px}\r\n.i2{display: block;width: 20px;height: 20px;flex-shrink:0;background: url(\"../assets/img/over.png\")no-repeat;background-size: 100% 100%;margin-right: 5px}\r\n.mattertitle h1{font-size: 16px;overflow: hidden;white-space: nowrap;text-overflow: ellipsis }\r\n.mattertitle{padding: 10px 0;border-bottom: 1px solid #eee}\r\n.matterdate{padding: 10px 30px}\r\n.mdate{font-size: 15px;padding: 5px 0;color: #666}\r\n.mdate span{font-size: 14px;margin-left: 10px}\r\n.matterbtn{width:50px;height:50px;color: #fff;border-radius: 12px;text-align: center;line-height: 50px}\r\n.mtn1{background: #e6422d;}\r\n.mtn2{background: #42b983;}\r\n</style>\r\n","import { render } from \"./Matters.vue?vue&type=template&id=523b5767&scoped=true\"\nimport script from \"./Matters.vue?vue&type=script&lang=js\"\nexport * from \"./Matters.vue?vue&type=script&lang=js\"\n\nimport \"./Matters.vue?vue&type=style&index=0&id=523b5767&scoped=true&lang=css\"\n\nimport exportComponent from \"D:\\\\work\\\\zqclj\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-523b5767\"]])\n\nexport default __exports__","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./Matters.vue?vue&type=style&index=0&id=523b5767&scoped=true&lang=css\""],"sourceRoot":""} |