12 |
- require('../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/subPackages/meetingroom/confirm"],{315:function(e,t,n){"use strict";(function(e,t){var o=n(4);n(26),n(27);o(n(25));var i=o(n(316));e.__webpack_require_UNI_MP_PLUGIN__=n,t(i.default)}).call(this,n(1)["default"],n(2)["createPage"])},316:function(e,t,n){"use strict";n.r(t);var o=n(317),i=n(319);for(var r in i)["default"].indexOf(r)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(r);n(321);var a,s=n(46),c=Object(s["default"])(i["default"],o["render"],o["staticRenderFns"],!1,null,"62a74d9c",null,!1,o["components"],a);c.options.__file="pages/subPackages/meetingroom/confirm.vue",t["default"]=c.exports},317:function(e,t,n){"use strict";n.r(t);var o=n(318);n.d(t,"render",(function(){return o["render"]})),n.d(t,"staticRenderFns",(function(){return o["staticRenderFns"]})),n.d(t,"recyclableRender",(function(){return o["recyclableRender"]})),n.d(t,"components",(function(){return o["components"]}))},318:function(e,t,n){"use strict";var o;n.r(t),n.d(t,"render",(function(){return i})),n.d(t,"staticRenderFns",(function(){return a})),n.d(t,"recyclableRender",(function(){return r})),n.d(t,"components",(function(){return o}));try{o={uniEasyinput:function(){return n.e("uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput").then(n.bind(null,472))}}}catch(s){if(-1===s.message.indexOf("Cannot find module")||-1===s.message.indexOf(".vue"))throw s;console.error(s.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,t=e.$createElement;e._self._c},r=!1,a=[];i._withStripped=!0},319:function(e,t,n){"use strict";n.r(t);var o=n(320),i=n.n(o);for(var r in o)["default"].indexOf(r)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(r);t["default"]=i.a},320:function(e,t,n){"use strict";(function(e){var o=n(4);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=o(n(29)),r=o(n(32)),a=n(67),s=function(){n.e("common/vendor").then(function(){return resolve(n(487))}.bind(null,n)).catch(n.oe)},c=function(){n.e("common/vendor").then(function(){return resolve(n(489))}.bind(null,n)).catch(n.oe)},d=function(){n.e("pages/subPackages/components/tel-number/index").then(function(){return resolve(n(443))}.bind(null,n)).catch(n.oe)},u={components:{TelNum:d,vanRadio:s,vanRadioGroup:c},data:function(){return{active:"",dic_SelectList:{},dic_key:["timeSlot","payType"],currUser:{},bizInfo:"",roomDetial:{},oderDetial:{},appointId:"",readOnlyType:!1,lotInfo:{},seatList:[],num:-1,radio:"1",reason:"",showStartPicker:!1,showEndPicker:!1,startTime:"",formatStartTime:"",endTime:"",formatEndTime:"",dateList:[{date:"8/1",typeList:["1","3","4"]},{date:"8/2",typeList:["1","2","4"]},{date:"8/3",typeList:["4","2","1"]}],timeList:["9:00-12:00","13:00-18:00","18:00-22:00"],processedAnnexList:[]}},onLoad:function(e){this.currUser=(0,a.getUserLocalStorageInfo)().user,this.appointId=e.id,this.readOnlyType="1"==e.readOnlyType,this.getByCodes()},methods:{getByCodes:function(){var e=this;return(0,r.default)(i.default.mark((function t(){var n;return i.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,(0,a.getByCodes)(JSON.stringify(e.dic_key));case 2:n=t.sent,e.dic_SelectList=e.$common.handleDicList(n),e.getOrderDetail();case 5:case"end":return t.stop()}}),t)})))()},getBizMain:function(){var e=this,t={id:this.oderDetial.createdId};(0,a.getAppUserMain)(t).then((function(t){200==t.key&&(e.bizInfo=t.data.qymc)}))},getOrderDetail:function(){var e=this,t={id:this.appointId};(0,a.getDetial)(t).then((function(t){var n;200==t.key&&(console.log(t.data.oderDetial.state),n=4==t.data.oderDetial.state||3==t.data.oderDetial.state?"1":5==t.data.oderDetial.state?"2":null,console.log("radioradioradioradioradio",n),e.roomDetial=t.data.roomDetial,e.oderDetial=t.data.oderDetial,e.radio=n,e.$forceUpdate(),console.log(e.roomDetial),e.processedAnnexList=JSON.parse(t.data.oderDetial.payProof),e.getBizMain())}))},submitFrom:function(){var t=this,n={id:this.appointId,confirmType:this.radio,reason:this.reason,userId:this.currUser.id};(0,a.confirmAudit)(n).then((function(n){console.log("获取提交详情_:",n),200==n.key&&(t.$showToast("确认成功!"),e.navigateBack({success:function(){beforePage.getAppointList("1,3")}}))}))},formatTime:function(e){return console.log(e),this.$common.formatDate(e,"day")},startTimeCancel:function(){this.showStartPicker=!1},startTimeConfirml:function(e){this.formatStartTime=formatDate(e,"day"),this.showStartPicker=!1},endTimeCancel:function(){this.showEndPicker=!1},endTimeConfirml:function(e){this.formatEndTime=formatDate(e,"day"),this.showEndPicker=!1}}};t.default=u}).call(this,n(2)["default"])},321:function(e,t,n){"use strict";n.r(t);var o=n(322),i=n.n(o);for(var r in o)["default"].indexOf(r)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(r);t["default"]=i.a},322:function(e,t,n){}},[[315,"common/runtime","common/vendor"]]]);
- //# sourceMappingURL=../../../../.sourcemap/mp-weixin/pages/subPackages/meetingroom/confirm.js.map
|