(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1d70da6c"],{3619:function(e,t,r){"use strict";r.r(t);var a=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"gzbxApp app"},[r("header-app"),r("p",{staticClass:"topTitle"}),r("van-cell-group",[r("van-field",{attrs:{clearable:"",label:"你的名字",placeholder:"请输入姓名",type:"number"},model:{value:e.from.clientName,callback:function(t){e.$set(e.from,"clientName",t)},expression:"from.clientName"}}),r("van-field",{attrs:{type:"text",clearable:"",label:"联系电话",placeholder:"请输入联系电话",required:""},model:{value:e.from.mobile,callback:function(t){e.$set(e.from,"mobile",t)},expression:"from.mobile"}}),r("van-field",{attrs:{type:"text",clearable:"",label:"联系地址",placeholder:"请输入联系地址",required:""},model:{value:e.from.address,callback:function(t){e.$set(e.from,"address",t)},expression:"from.address"}}),r("van-field",{attrs:{readonly:"",clickable:"",label:"举报内容",value:e.from.repairType,placeholder:"请选择举报内容","is-link":"",required:""},on:{click:function(t){e.showPicker=!0}}}),r("van-cell-group",[r("van-field",{attrs:{label:"具体情况",type:"textarea",placeholder:"请输入具体情况",rows:"1",autosize:"",clickable:""},model:{value:e.from.remark,callback:function(t){e.$set(e.from,"remark",t)},expression:"from.remark"}})],1)],1),r("div",{staticClass:"up_load"},[r("van-cell",{attrs:{value:""}},[r("template",{slot:"title"},[r("span",{staticClass:"custom-text"},[e._v("上传图片")]),r("span",{staticClass:"input_tip"},[e._v("请上传现场照片")])])],2),r("up-Upload",{attrs:{fileList:e.fileList,uploadUrl:"khfw/upload",data:e.pppss},on:{remove:e.remove}})],1),r("div",{staticClass:"query"},[r("van-button",{attrs:{size:"large"},on:{click:function(t){return e.khfwApply()}}},[e._v("提交")])],1),r("van-popup",{attrs:{position:"bottom"},model:{value:e.showPicker,callback:function(t){e.showPicker=t},expression:"showPicker"}},[r("van-picker",{attrs:{"show-toolbar":"",columns:e.columns},on:{cancel:function(t){e.showPicker=!1},confirm:e.onConfirm}})],1)],1)},n=[],o=(r("96cf"),r("3b8d")),l=r("ff32"),s=r("4ec3"),c=r("cf45"),i=r("fe7b"),p=r("b970"),u={components:{upUpload:i["a"],headerApp:l["a"]},data:function(){return{from:{categoryId:"4003",projectName:"违章举报",clientName:"",mobile:"",address:"",repairType:"",remark:"",batchId:""},fileList:[],pppss:{batchId:"",fileTag:"违章举报"},url:baseUrl+"Upload/UploadFile",value:"",showPicker:!1,columns:[{text:"无表用水"},{text:"私用消防水"},{text:"拆表自接"},{text:"私自换表"},{text:"其他"}]}},created:function(){var e=Object(c["a"])();this.pppss.batchId=e,this.from.batchId=e},methods:{onConfirm:function(e){this.from.repairType=e.text,this.showPicker=!1},remove:function(){var e=Object(o["a"])(regeneratorRuntime.mark(function e(t,r){var a;return regeneratorRuntime.wrap(function(e){while(1)switch(e.prev=e.next){case 0:return console.log(t,r),e.next=3,Object(s["n"])({uploadId:t.uid});case 3:a=e.sent,console.log(a);case 5:case"end":return e.stop()}},e)}));function t(t,r){return e.apply(this,arguments)}return t}(),khfwApply:function(){var e=Object(o["a"])(regeneratorRuntime.mark(function e(){var t;return regeneratorRuntime.wrap(function(e){while(1)switch(e.prev=e.next){case 0:if(""!=this.from.mobile){e.next=5;break}return p["a"].fail("联系电话不能为空"),e.abrupt("return");case 5:if(""!=this.from.newAddress){e.next=10;break}return p["a"].fail("联系地址不能为空"),e.abrupt("return");case 10:if(""!=this.from.repairType){e.next=13;break}return p["a"].fail("举报类型"),e.abrupt("return");case 13:return e.next=15,Object(s["l"])(this.from);case 15:t=e.sent,"00"==t.code&&this.$router.push("/successTipsApp");case 17:case"end":return e.stop()}},e,this)}));function t(){return e.apply(this,arguments)}return t}()}},f=u,d=(r("87bc"),r("2877")),m=Object(d["a"])(f,a,n,!1,null,null,null);t["default"]=m.exports},"4c63":function(e,t,r){},"87bc":function(e,t,r){"use strict";var a=r("4c63"),n=r.n(a);n.a}}]);
//# sourceMappingURL=chunk-1d70da6c.ee8ece03.js.map