(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2ee4c1a3"],{"77d0":function(e,t,a){"use strict";var r=a("795b6"),l=a.n(r);l.a},"795b6":function(e,t,a){},f447: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"},[e._v("故障报修")]),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:"请输入原用户地址"},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.relation,callback:function(t){e.$set(e.from,"relation",t)},expression:"from.relation"}}),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.newAddress,callback:function(t){e.$set(e.from,"newAddress",t)},expression:"from.newAddress"}}),a("van-field",{attrs:{readonly:"",clickable:"",label:"报修类型",value:e.from.repairType,placeholder:"请选择故障类型","is-link":"",required:""},on:{click:function(t){e.showPicker=!0}}}),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:"khfw/upload",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),a("van-popup",{attrs:{position:"bottom"},model:{value:e.showPicker,callback:function(t){e.showPicker=t},expression:"showPicker"}},[a("van-picker",{attrs:{"show-toolbar":"",columns:e.columns},on:{cancel:function(t){e.showPicker=!1},confirm:e.onConfirm}})],1)],1)},l=[],o=(a("96cf"),a("3b8d")),n=a("ff32"),s=a("cf45"),c=a("fe7b"),i=a("4ec3"),p={components:{upUpload:c["a"],headerApp:n["a"]},data:function(){return{from:{categoryId:"4001",projectName:"故障报修",clientName:"",address:"",relation:"",mobile:"",newAddress:"",repairType:"",remark:"",batchId:""},fileList:[],pppss:{batchId:"",fileTag:"故障报修"},columns:[{text:"无表用水"},{text:"私用消防水"},{text:"拆表自接"},{text:"私自换表"},{text:"其他"}],url:baseUrl+"Upload/UploadFile",showPicker:!1}},created:function(){this.pppss.batchId=Object(s["a"])(),this.from.batchId=Object(s["a"])()},methods:{onConfirm:function(e){this.from.repairType=e.text,this.showPicker=!1},remove:function(){var e=Object(o["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(i["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(o["a"])(regeneratorRuntime.mark(function e(){var t;return regeneratorRuntime.wrap(function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(i["i"])(this.from);case 2:t=e.sent,"00"==t.code&&this.$message({message:"提交成功！",type:"success"});case 4:case"end":return e.stop()}},e,this)}));function t(){return e.apply(this,arguments)}return t}()}},u=p,d=(a("77d0"),a("2877")),f=Object(d["a"])(u,r,l,!1,null,null,null);t["default"]=f.exports}}]);
//# sourceMappingURL=chunk-2ee4c1a3.e8cfee56.js.map