(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/order/complaint/complaint"],{174:function(e,n,t){"use strict";(function(e){t(5);o(t(4));var n=o(t(175));function o(e){return e&&e.__esModule?e:{default:e}}wx.__webpack_require_UNI_MP_PLUGIN__=t,e(n.default)}).call(this,t(1)["createPage"])},175:function(e,n,t){"use strict";t.r(n);var o=t(176),i=t(178);for(var r in i)"default"!==r&&function(e){t.d(n,e,(function(){return i[e]}))}(r);t(180);var u,c=t(11),s=Object(c["default"])(i["default"],o["render"],o["staticRenderFns"],!1,null,null,null,!1,o["components"],u);s.options.__file="pages/order/complaint/complaint.vue",n["default"]=s.exports},176:function(e,n,t){"use strict";t.r(n);var o=t(177);t.d(n,"render",(function(){return o["render"]})),t.d(n,"staticRenderFns",(function(){return o["staticRenderFns"]})),t.d(n,"recyclableRender",(function(){return o["recyclableRender"]})),t.d(n,"components",(function(){return o["components"]}))},177:function(e,n,t){"use strict";var o;t.r(n),t.d(n,"render",(function(){return i})),t.d(n,"staticRenderFns",(function(){return u})),t.d(n,"recyclableRender",(function(){return r})),t.d(n,"components",(function(){return o}));try{o={uLine:function(){return t.e("uview-ui/components/u-line/u-line").then(t.bind(null,596))},uInput:function(){return Promise.all([t.e("common/vendor"),t.e("uview-ui/components/u-input/u-input")]).then(t.bind(null,588))},uPicker:function(){return Promise.all([t.e("common/vendor"),t.e("uview-ui/components/u-picker/u-picker")]).then(t.bind(null,624))}}}catch(c){if(-1===c.message.indexOf("Cannot find module")||-1===c.message.indexOf(".vue"))throw c;console.error(c.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范，文档：https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范，需手动引入，并在 components 中注册该组件")}var i=function(){var e=this,n=e.$createElement;e._self._c;e._isMounted||(e.e0=function(n){e.show=!0})},r=!1,u=[];i._withStripped=!0},178:function(e,n,t){"use strict";t.r(n);var o=t(179),i=t.n(o);for(var r in o)"default"!==r&&function(e){t.d(n,e,(function(){return o[e]}))}(r);n["default"]=i.a},179:function(e,n,t){"use strict";(function(e){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var t={data:function(){return{show:!1,value:"",type:"textarea",border:!0,indentNumber:"",complaintName:"",typeList:[],IllegalId:"",indentType:""}},onLoad:function(e){console.log(e),this.indentNumber=e.indentNumber,this.indentType=e.indentType,this.getTypeList()},methods:{select:function(e){console.log(e),this.complaintName=this.typeList[e].illegal,this.IllegalId=this.typeList[e].id},getTypeList:function(){var e=this;this.$Request.get("/shop/illegalType/selectIllegalTypeList").then((function(n){0==n.code&&(e.typeList=n.data)}))},bindorder:function(){""!=this.IllegalId?""!=this.value?this.$Request.postJson("/app/tbindent/insertComplaint",{indentNumber:this.indentNumber,wrongExplain:this.value,illegalId:this.IllegalId,indentType:"5",type:"1",userId:e.getStorageSync("userId")}).then((function(n){0==n.code?(e.showToast({title:"提交成功",icon:"none"}),setTimeout((function(){e.navigateBack()}),1e3)):console.log("失败：",n.data)})):e.showToast({title:"请填写投诉原因",icon:"none"}):e.showToast({title:"请选择投诉类型",icon:"none"})}}};n.default=t}).call(this,t(1)["default"])},180:function(e,n,t){"use strict";t.r(n);var o=t(181),i=t.n(o);for(var r in o)"default"!==r&&function(e){t.d(n,e,(function(){return o[e]}))}(r);n["default"]=i.a},181:function(e,n,t){}},[[174,"common/runtime","common/vendor"]]]);
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/pages/order/complaint/complaint.js.map