(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1d70da6c"],{3619:function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"gzbxApp app"},[a("header-app"),a("p",{staticClass:"topTitle"}),a("van-cell-group",[a("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"}}),a("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"}}),a("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"}}),a("van-field",{attrs:{type:"text",clearable:"",label:"举报内容",placeholder:"请输入举报内容",required:""},model:{value:e.from.repairType,callback:function(t){e.$set(e.from,"repairType",t)},expression:"from.repairType"}}),a("van-cell-group",[a("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),a("div",{staticClass:"up_load"},[a("van-cell",{attrs:{value:""}},[a("template",{slot:"title"},[a("span",{staticClass:"custom-text"},[e._v("上传图片")]),a("span",{staticClass:"input_tip"},[e._v("请上传现场照片")])])],2),a("up-Upload",{attrs:{fileList:e.fileList,uploadUrl:"Upload/UploadFile",data:e.pppss},on:{remove:e.remove}})],1),a("div",{staticClass:"query"},[a("van-button",{attrs:{size:"large"},on:{click:function(t){return e.khfwApply()}}},[e._v("提交")])],1)],1)},l=[],n=(a("96cf"),a("3b8d")),s=a("ff32"),o=a("4ec3"),i=a("cf45"),c=a("fe7b"),p=a("b970"),u={components:{upUpload:c["a"],headerApp:s["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}},created:function(){this.pppss.batchId=Object(i["a"])(),this.from.batchId=Object(i["a"])()},methods:{onConfirm:function(e){this.value=e,this.showPicker=!1},remove:function(){var e=Object(n["a"])(regeneratorRuntime.mark(function e(t,a){var r;return regeneratorRuntime.wrap(function(e){while(1)switch(e.prev=e.next){case 0:return console.log(t,a),e.next=3,Object(o["k"])({uploadId:t.uid});case 3:r=e.sent,console.log(r);case 5:case"end":return e.stop()}},e)}));function t(t,a){return e.apply(this,arguments)}return t}(),khfwApply:function(){var e=Object(n["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(o["i"])(this.from);case 15:t=e.sent,"00"==t.code&&this.$message({message:"提交成功！",type:"success"});case 17:case"end":return e.stop()}},e,this)}));function t(){return e.apply(this,arguments)}return t}()}},f=u,d=(a("87bc"),a("2877")),m=Object(d["a"])(f,r,l,!1,null,null,null);t["default"]=m.exports},"4c63":function(e,t,a){},"87bc":function(e,t,a){"use strict";var r=a("4c63"),l=a.n(r);l.a}}]);
//# sourceMappingURL=chunk-1d70da6c.8c90e0c5.js.map