hotime/example/tpt/wx/js/chunk-997b756c.e15a06b7.js.map
2022-03-03 21:23:57 +08:00

1 line
11 KiB
Plaintext

{"version":3,"sources":["webpack:///./src/components/Matters.vue?d01d","webpack:///./src/components/Matters.vue","webpack:///./src/components/Matters.vue?b7c9"],"names":["class","style","title","left-arrow","onClickLeft","info","questions","q","index","key","clickLi","status","name","getTime","question","end_time","start_time","show","showPreview","question_data","li","i","label","unit","value","fileNum","files","f","width","previewImg","url","height","src","setImg","type","size","data","loading","finished","refreshing","avatar","company","mounted","this","methods","$router","push","path","unixTime","format","history","back","__exports__","render"],"mappings":"kHAAA,W,gLCCOA,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,GAuBRA,MAAM,QAAQC,MAAA,qC,uBACjB,eAA6E,MAAzEA,MAAA,kEAA8D,UAAM,M,GAEnEA,MAAA,yB,SAAqDA,MAAA,sB,GACrDA,MAAA,wB,2BAQ0F,M,8MA1DvG,eA8DM,MA9DN,EA8DM,CA7DJ,eAA+E,GAAlEC,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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AAPA,EACV,iBAEF,OAAU,IAAMA,GAEzB5B,YAAa,kBAAM8C,QAAQC,U,iCCzH/B,MAAMC,EAA2B,IAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAE1E","file":"js/chunk-997b756c.e15a06b7.js","sourcesContent":["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=20853d5f&scoped=true&lang=css\"","<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 <van-overlay :show=\"showPreview\" @click=\"showPreview = false\">\r\n\r\n <div class=\"wrapper\" @click.stop style=\"background: white;width: 90vw;height: 80vh;margin: 10vh 5vw;overflow-y: auto;display: block;position: absolute\">\r\n\r\n <div class=\"block\" style=\"margin: 20px;margin-top: 40px;\">\r\n <h1 style=\"font-size: 2em;text-align: center;margin-bottom: 10px\">查看填报内容</h1>\r\n <template v-for=\"(li,i) in question.question_data\" :key=\"i\">\r\n <p style=\"margin-bottom: 2px\">{{i+1}}、{{li.label}}<span style=\"display: contents\" v-if=\"li.unit!=null&&li.unit !=''\">(单位:{{ li.unit }})</span></p>\r\n <p style=\"margin-left: 10px\">你填报的内容是:{{li.value}}</p>\r\n <p v-if=\"li.fileNum!=0&&li.value!='否'\">\r\n <template v-for=\"f in li.files\" :key=\"f\">\r\n <van-image width=\"100\" @click=\"previewImg(f.url)\" height=\"100\" :src=\"setImg(f.url)\" style=\"margin-left: 15px\"/>\r\n </template>\r\n </p>\r\n </template>\r\n </div>\r\n <van-button type=\"primary\" @click=\"showPreview=false\" size=\"large\" style=\"position: absolute;\" >关闭</van-button>\r\n </div>\r\n <van-icon name=\"cross\" @click=\"showPreview=false\" style=\"right: 6vw;top:11vh;position: absolute\" />\r\n </van-overlay>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport {baseUrl, cache} from \"../api/http\"\r\n\r\nimport moment from 'moment';\r\nimport {ImagePreview} from \"vant\";\r\n\r\nexport default {\r\n name: \"Matters\",\r\n\r\n data() {\r\n return {\r\n showPreview:false,\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 previewImg(url){\r\n ImagePreview([this.setImg(url)]);\r\n },\r\n clickLi(question){\r\n if(question.status>1&&question.status!=4){\r\n // Dialog({message:\"你已经完成填报了\"})\r\n this.question=question\r\n this.showPreview=true\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=20853d5f&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=20853d5f&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-20853d5f\"]])\n\nexport default __exports__"],"sourceRoot":""}