2 lines
4.6 KiB
JavaScript
2 lines
4.6 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-14e3b3a2"],{"04b2":function(e,t,n){"use strict";n("6e6e")},"49f9":function(e,t,n){"use strict";n.r(t);n("b0c0");var c=n("f2bf"),a=function(e){return Object(c["C"])("data-v-2616f8d6"),e=e(),Object(c["A"])(),e},i={class:"Matters"},u={class:"matterCon"},o=a((function(){return Object(c["i"])("div",{class:"navslist"},[Object(c["i"])("div",{class:"navli",style:{color:"#fff"}},"基础填报"),Object(c["i"])("div",{class:"navli"},"文件上传"),Object(c["i"])("div",{class:"navli"},"办理成功")],-1)})),l={class:"mmhead"},r={class:"nng"},s={class:"van-multi-ellipsis--l2",style:{margin:"10px 10px","padding-top":"12px"}},b={class:"nextbtn"},d=Object(c["j"])("下一步");function O(e,t,n,a,O,j){var f=Object(c["G"])("van-nav-bar"),p=Object(c["G"])("van-field"),v=Object(c["G"])("van-radio"),m=Object(c["G"])("van-radio-group"),h=Object(c["G"])("van-cell-group"),k=Object(c["G"])("van-button"),q=Object(c["G"])("van-sticky");return Object(c["z"])(),Object(c["h"])("div",i,[Object(c["k"])(f,{title:"调研填报","left-arrow":"",onClickLeft:j.onClickLeft},null,8,["onClickLeft"]),Object(c["i"])("div",u,[o,Object(c["i"])("div",l,[Object(c["i"])("div",r,Object(c["K"])(O.question.name),1)]),Object(c["k"])(h,{ontset:""},{default:Object(c["O"])((function(){return[(Object(c["z"])(!0),Object(c["h"])(c["a"],null,Object(c["F"])(O.question.question_data,(function(e,t){return Object(c["z"])(),Object(c["h"])(c["a"],{key:t},[Object(c["i"])("div",s,[Object(c["j"])(Object(c["K"])(e.label)+" ",1),null!=e.unit&&""!=e.unit?(Object(c["z"])(),Object(c["h"])(c["a"],{key:0},[Object(c["j"])("(单位:"+Object(c["K"])(e.unit)+")",1)],64)):Object(c["g"])("",!0)]),"文本"==e.type?(Object(c["z"])(),Object(c["f"])(p,{key:0,modelValue:e.value,"onUpdate:modelValue":function(t){return e.value=t},placeholder:e.remarks,"label-width":"100px"},null,8,["modelValue","onUpdate:modelValue","placeholder"])):Object(c["g"])("",!0),"数字"==e.type?(Object(c["z"])(),Object(c["f"])(p,{key:1,modelValue:e.value,"onUpdate:modelValue":function(t){return e.value=t},placeholder:e.remarks,type:"number","label-width":"100px"},null,8,["modelValue","onUpdate:modelValue","placeholder"])):Object(c["g"])("",!0),j.checkedType(e)?(Object(c["z"])(),Object(c["f"])(p,{key:2,name:"radio","label-width":"130px"},{input:Object(c["O"])((function(){return[Object(c["k"])(m,{modelValue:e.value,"onUpdate:modelValue":function(t){return e.value=t},direction:"horizontal"},{default:Object(c["O"])((function(){return[(Object(c["z"])(!0),Object(c["h"])(c["a"],null,Object(c["F"])(e.options,(function(e){return Object(c["z"])(),Object(c["f"])(v,{style:{padding:"3px"},key:e,name:e},{default:Object(c["O"])((function(){return[Object(c["j"])(Object(c["K"])(e),1)]})),_:2},1032,["name"])})),128))]})),_:2},1032,["modelValue","onUpdate:modelValue"])]})),_:2},1024)):Object(c["g"])("",!0)],64)})),128))]})),_:1}),Object(c["k"])(q,{"offset-bottom":0,position:"bottom"},{default:Object(c["O"])((function(){return[Object(c["i"])("div",b,[Object(c["k"])(k,{type:"primary",onClick:j.clickNext,block:"",round:"",size:"large",color:"#2f58e4"},{default:Object(c["O"])((function(){return[d]})),_:1},8,["onClick"])])]})),_:1})])])}n("e17f");var j=n("2241"),f=(n("e9c4"),n("c1fb")),p=n("c1df"),v=n.n(p),m={name:"MattersCon",setup:function(){var e=Object(c["E"])(""),t=Object(c["E"])(!1),n=["装备制造1","装备制造2","装备制造3","装备制造4","装备制造5"],a=Object(c["E"])("1"),i=function(n){e.value=n,t.value=!1};return{checked:a,result:e,columns:n,onConfirm:i,showPicker:t}},data:function(){return{loading:!1,finished:!1,refreshing:!1,question:{question_data:[]}}},mounted:function(){this.question=Object(f["b"])("question")},watch:{},methods:{clickNext:function(){for(var e=0;e<this.question.question_data.length;e++)if(null==this.question.question_data[e].value||""==this.question.question_data[e].value)return void Object(j["a"])({message:"你还没有填报“"+this.question.question_data[e].label+"”项内容"});var t=this;Object(f["b"])("question",this.question),Object(f["e"])("app/question/update",{id:this.question.id,status:1,question_data:JSON.stringify(this.question.question_data)}).then((function(){t.$router.push({path:"/matterUp"})}))},checkedType:function(){return!1},getTime:function(e){return v()(1e3*e).format("YYYY-MM-DD HH:mm:ss")},setImg:function(e){return null==e||""==e?"./img/logo.png":f["a"]+"/"+e},onClickLeft:function(){return history.back()}}},h=(n("04b2"),n("d959")),k=n.n(h);const q=k()(m,[["render",O],["__scopeId","data-v-2616f8d6"]]);t["default"]=q},"6e6e":function(e,t,n){}}]);
|
|
//# sourceMappingURL=chunk-14e3b3a2.9c476b85.js.map
|