hotime/example/tpt/wx/js/chunk-4acb9dfe.e02f0fb0.js

2 lines
3.4 KiB
JavaScript
Raw Normal View History

2022-02-28 01:59:05 +00:00
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-4acb9dfe"],{"4fa5":function(t,e,c){},"9d09":function(t,e,c){"use strict";c.r(e);c("b0c0");var s=c("f2bf"),n={class:"Matters"},a={class:"matterList"},i=["onClick"],b={class:"mattertitle flexcenter"},u={key:0,class:"i1"},j={key:1,class:"i2"},o={class:"flexcenter",style:{"justify-content":"space-between"}},l={class:"matterdate"},r={class:"mdate"},O=Object(s["j"])("状态: "),d={key:0,style:{color:"#e6422d"}},f={key:1,style:{color:"#e6422d"}},m={key:2,style:{color:"#e6422d"}},h={key:3,style:{color:"#e6422d"}},k={key:4,style:{color:"#e6422d"}},p={class:"mdate"},v=Object(s["j"])("发文日期:"),g={class:"mdate"},y=Object(s["j"])("截止日期:"),z={key:0,class:"matterbtn mtn1"},w={key:1,class:"matterbtn mtn2"};function L(t,e,c,L,C,q){var _=Object(s["G"])("van-nav-bar");return Object(s["z"])(),Object(s["h"])("div",n,[Object(s["k"])(_,{title:"调研填报","left-arrow":"",onClickLeft:q.onClickLeft},null,8,["onClickLeft"]),Object(s["i"])("div",a,[(Object(s["z"])(!0),Object(s["h"])(s["a"],null,Object(s["F"])(C.info.questions,(function(t,e){return Object(s["z"])(),Object(s["h"])("div",{class:"matterLi",key:e,onClick:function(e){return q.clickLi(t)}},[Object(s["i"])("div",b,[t.status<2||4==t.status?(Object(s["z"])(),Object(s["h"])("i",u)):Object(s["g"])("",!0),2==t.status||3==t.status?(Object(s["z"])(),Object(s["h"])("i",j)):Object(s["g"])("",!0),Object(s["i"])("h1",null,Object(s["K"])(t.name)+"-截止"+Object(s["K"])(q.getTime(t.question.end_time)),1)]),Object(s["i"])("div",o,[Object(s["i"])("div",l,[Object(s["i"])("div",r,[O,0==t.status?(Object(s["z"])(),Object(s["h"])("span",d,"待填报")):Object(s["g"])("",!0),1==t.status?(Object(s["z"])(),Object(s["h"])("span",f,"待上传文件")):Object(s["g"])("",!0),2==t.status?(Object(s["z"])(),Object(s["h"])("span",m,"待审核")):Object(s["g"])("",!0),3==t.status?(Object(s["z"])(),Object(s["h"])("span",h,"填报完成")):Object(s["g"])("",!0),4==t.status?(Object(s["z"])(),Object(s["h"])("span",k,"驳回重填")):Object(s["g"])("",!0)]),Object(s["i"])("div",p,[v,Object(s["i"])("span",null,Object(s["K"])(q.getTime(t.question.start_time)),1)]),Object(s["i"])("div",g,[y,Object(s["i"])("span",null,Object(s["K"])(q.getTime(t.question.end_time)),1)])]),t.status<2||4==t.status?(Object(s["z"])(),Object(s["h"])("div",z,"填报")):Object(s["g"])("",!0),2==t.status||3==t.status?(Object(s["z"])(),Object(s["h"])("div",w,"详情")):Object(s["g"])("",!0)])],8,i)})),128))])])}c("e17f");var C=c("2241"),q=c("c1fb"),_=c("c1df"),K=c.n(_),M={name:"Matters",data:function(){return{loading:!1,finished:!1,refreshing:!1,info:{name:"",avatar:null,company:{name:""},questions:[]}}},mounted:function(){var t=Object(q["b"])("user");null!=t&&(this.info=t)},methods:{clickLi:function(t){if(!(t.status>1&&4!=t.status))return 0==t.status||4==t.status?(Object(q["b"])("question",t),void this.$router.push({path:"matterCon"})):void this.$router.push({path:"matterUp"});Object(C["a"])({message:"你已经完成填报了"})},getTime:function(t){return K()(1e3*t).format("MM月DD日")},setImg:function(t){return null==t||""==t?"./img/logo.png":q["a"]+"/"+t},onClickLeft:function(){return history.back()}}},T=(c("b1f0"),c("d959")),x=c.n(T);const D=x()(M,[["render",L],["__scopeId","data-v-523b5767"]]);e["default"]=D},b1f0:function(t,e,c){"use strict";c("4fa5")}}]);
//# sourceMappingURL=chunk-4acb9dfe.e02f0fb0.js.map