forked from golang/hotime
2 lines
5.5 KiB
JavaScript
2 lines
5.5 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-997b756c"],{"6ff3":function(t,e,c){"use strict";c("9032")},9032:function(t,e,c){},"9d09":function(t,e,c){"use strict";c.r(e);c("b0c0");var n=c("f2bf"),i=function(t){return Object(n["C"])("data-v-20853d5f"),t=t(),Object(n["A"])(),t},s={class:"Matters"},a={class:"matterList"},b=["onClick"],o={class:"mattertitle flexcenter"},u={key:0,class:"i1"},r={key:1,class:"i2"},l={class:"flexcenter",style:{"justify-content":"space-between"}},j={class:"matterdate"},O={class:"mdate"},f=Object(n["j"])("状态: "),h={key:0,style:{color:"#e6422d"}},d={key:1,style:{color:"#e6422d"}},m={key:2,style:{color:"#e6422d"}},v={key:3,style:{color:"#e6422d"}},p={key:4,style:{color:"#e6422d"}},g={class:"mdate"},k=Object(n["j"])("发文日期:"),y={class:"mdate"},w=Object(n["j"])("截止日期:"),z={key:0,class:"matterbtn mtn1"},C={key:1,class:"matterbtn mtn2"},q={class:"block",style:{margin:"20px","margin-top":"40px"}},x=i((function(){return Object(n["i"])("h1",{style:{"font-size":"2em","text-align":"center","margin-bottom":"10px"}},"查看填报内容",-1)})),K={style:{"margin-bottom":"2px"}},L={key:0,style:{display:"contents"}},P={style:{"margin-left":"10px"}},_={key:0},I=Object(n["j"])("关闭");function G(t,e,c,i,G,M){var T=Object(n["G"])("van-nav-bar"),F=Object(n["G"])("van-image"),D=Object(n["G"])("van-button"),J=Object(n["G"])("van-icon"),$=Object(n["G"])("van-overlay");return Object(n["z"])(),Object(n["h"])("div",s,[Object(n["k"])(T,{title:"调研填报","left-arrow":"",onClickLeft:M.onClickLeft},null,8,["onClickLeft"]),Object(n["i"])("div",a,[(Object(n["z"])(!0),Object(n["h"])(n["a"],null,Object(n["F"])(G.info.questions,(function(t,e){return Object(n["z"])(),Object(n["h"])("div",{class:"matterLi",key:e,onClick:function(e){return M.clickLi(t)}},[Object(n["i"])("div",o,[t.status<2||4==t.status?(Object(n["z"])(),Object(n["h"])("i",u)):Object(n["g"])("",!0),2==t.status||3==t.status?(Object(n["z"])(),Object(n["h"])("i",r)):Object(n["g"])("",!0),Object(n["i"])("h1",null,Object(n["K"])(t.name)+"-截止"+Object(n["K"])(M.getTime(t.question.end_time)),1)]),Object(n["i"])("div",l,[Object(n["i"])("div",j,[Object(n["i"])("div",O,[f,0==t.status?(Object(n["z"])(),Object(n["h"])("span",h,"待填报")):Object(n["g"])("",!0),1==t.status?(Object(n["z"])(),Object(n["h"])("span",d,"待上传文件")):Object(n["g"])("",!0),2==t.status?(Object(n["z"])(),Object(n["h"])("span",m,"待审核")):Object(n["g"])("",!0),3==t.status?(Object(n["z"])(),Object(n["h"])("span",v,"填报完成")):Object(n["g"])("",!0),4==t.status?(Object(n["z"])(),Object(n["h"])("span",p,"驳回重填")):Object(n["g"])("",!0)]),Object(n["i"])("div",g,[k,Object(n["i"])("span",null,Object(n["K"])(M.getTime(t.question.start_time)),1)]),Object(n["i"])("div",y,[w,Object(n["i"])("span",null,Object(n["K"])(M.getTime(t.question.end_time)),1)])]),t.status<2||4==t.status?(Object(n["z"])(),Object(n["h"])("div",z,"填报")):Object(n["g"])("",!0),2==t.status||3==t.status?(Object(n["z"])(),Object(n["h"])("div",C,"详情")):Object(n["g"])("",!0)])],8,b)})),128))]),Object(n["k"])($,{show:G.showPreview,onClick:e[3]||(e[3]=function(t){return G.showPreview=!1})},{default:Object(n["P"])((function(){return[Object(n["i"])("div",{class:"wrapper",onClick:e[1]||(e[1]=Object(n["R"])((function(){}),["stop"])),style:{background:"white",width:"90vw",height:"80vh",margin:"10vh 5vw","overflow-y":"auto",display:"block",position:"absolute"}},[Object(n["i"])("div",q,[x,(Object(n["z"])(!0),Object(n["h"])(n["a"],null,Object(n["F"])(t.question.question_data,(function(t,e){return Object(n["z"])(),Object(n["h"])(n["a"],{key:e},[Object(n["i"])("p",K,[Object(n["j"])(Object(n["K"])(e+1)+"、"+Object(n["K"])(t.label),1),null!=t.unit&&""!=t.unit?(Object(n["z"])(),Object(n["h"])("span",L,"(单位:"+Object(n["K"])(t.unit)+")",1)):Object(n["g"])("",!0)]),Object(n["i"])("p",P,"你填报的内容是:"+Object(n["K"])(t.value),1),0!=t.fileNum&&"否"!=t.value?(Object(n["z"])(),Object(n["h"])("p",_,[(Object(n["z"])(!0),Object(n["h"])(n["a"],null,Object(n["F"])(t.files,(function(t){return Object(n["z"])(),Object(n["f"])(F,{key:t,width:"100",onClick:function(e){return M.previewImg(t.url)},height:"100",src:M.setImg(t.url),style:{"margin-left":"15px"}},null,8,["onClick","src"])})),128))])):Object(n["g"])("",!0)],64)})),128))]),Object(n["k"])(D,{type:"primary",onClick:e[0]||(e[0]=function(t){return G.showPreview=!1}),size:"large",style:{position:"absolute"}},{default:Object(n["P"])((function(){return[I]})),_:1})]),Object(n["k"])(J,{name:"cross",onClick:e[2]||(e[2]=function(t){return G.showPreview=!1}),style:{right:"6vw",top:"11vh",position:"absolute"}})]})),_:1},8,["show"])])}c("4662");var M=c("28a2"),T=c("c1fb"),F=c("c1df"),D=c.n(F),J={name:"Matters",data:function(){return{showPreview:!1,loading:!1,finished:!1,refreshing:!1,info:{name:"",avatar:null,company:{name:""},questions:[]}}},mounted:function(){var t=Object(T["b"])("user");null!=t&&(this.info=t)},methods:{previewImg:function(t){Object(M["a"])([this.setImg(t)])},clickLi:function(t){return t.status>1&&4!=t.status?(this.question=t,void(this.showPreview=!0)):0==t.status||4==t.status?(Object(T["b"])("question",t),void this.$router.push({path:"matterCon"})):void this.$router.push({path:"matterUp"})},getTime:function(t){return D()(1e3*t).format("MM月DD日")},setImg:function(t){return null==t||""==t?"./img/logo.png":T["a"]+"/"+t},onClickLeft:function(){return history.back()}}},$=(c("6ff3"),c("d959")),A=c.n($);const N=A()(J,[["render",G],["__scopeId","data-v-20853d5f"]]);e["default"]=N}}]);
|
|
//# sourceMappingURL=chunk-997b756c.e15a06b7.js.map
|