1 |
- require('../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/subPackages/meetingroom/confirm"],{"04ba":function(t,e,n){"use strict";var a=n("4afc"),i=n.n(a);i.a},"22cf":function(t,e,n){"use strict";(function(t,e){var a=n("4ea4");n("89bd"),n("4a2a");a(n("66fd"));var i=a(n("a49f"));t.__webpack_require_UNI_MP_PLUGIN__=n,e(i.default)}).call(this,n("bc2e")["default"],n("543d")["createPage"])},"40b5":function(t,e,n){"use strict";(function(t){var a=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=a(n("2eee")),o=a(n("c973")),r=n("44c6"),c={components:{TelNum:function(){n.e("pages/subPackages/components/tel-number/index").then(function(){return resolve(n("909c"))}.bind(null,n)).catch(n.oe)},vanRadio:function(){n.e("common/vendor").then(function(){return resolve(n("faf0"))}.bind(null,n)).catch(n.oe)},vanRadioGroup:function(){n.e("common/vendor").then(function(){return resolve(n("aad2"))}.bind(null,n)).catch(n.oe)}},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(t){this.currUser=(0,r.getUserLocalStorageInfo)().user,this.appointId=t.id,this.readOnlyType="1"==t.readOnlyType,this.getByCodes()},methods:{getByCodes:function(){var t=this;return(0,o.default)(i.default.mark((function e(){var n;return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,(0,r.getByCodes)(JSON.stringify(t.dic_key));case 2:n=e.sent,t.dic_SelectList=t.$common.handleDicList(n),t.getOrderDetail();case 5:case"end":return e.stop()}}),e)})))()},getBizMain:function(){var t=this,e={id:this.oderDetial.createdId};(0,r.getAppUserMain)(e).then((function(e){200==e.key&&(t.bizInfo=e.data.qymc)}))},getOrderDetail:function(){var t=this,e={id:this.appointId};(0,r.getDetial)(e).then((function(e){var n;200==e.key&&(console.log(e.data.oderDetial.state),n=4==e.data.oderDetial.state||3==e.data.oderDetial.state?"1":5==e.data.oderDetial.state?"2":null,console.log("radioradioradioradioradio",n),t.roomDetial=e.data.roomDetial,t.oderDetial=e.data.oderDetial,t.radio=n,t.$forceUpdate(),console.log(t.roomDetial),t.processedAnnexList=JSON.parse(e.data.oderDetial.payProof),t.getBizMain())}))},submitFrom:function(){var e=this,n={id:this.appointId,confirmType:this.radio,reason:this.reason,userId:this.currUser.id};(0,r.confirmAudit)(n).then((function(n){console.log("获取提交详情_:",n),200==n.key&&(e.$showToast("确认成功!"),t.navigateBack({success:function(){beforePage.getAppointList("1,3")}}))}))},formatTime:function(t){return console.log(t),this.$common.formatDate(t,"day")},startTimeCancel:function(){this.showStartPicker=!1},startTimeConfirml:function(t){this.formatStartTime=formatDate(t,"day"),this.showStartPicker=!1},endTimeCancel:function(){this.showEndPicker=!1},endTimeConfirml:function(t){this.formatEndTime=formatDate(t,"day"),this.showEndPicker=!1}}};e.default=c}).call(this,n("543d")["default"])},"4afc":function(t,e,n){},"8a23":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return a}));var a={uniEasyinput:function(){return n.e("uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput").then(n.bind(null,"83a1"))}},i=function(){var t=this.$createElement;this._self._c},o=[]},a49f:function(t,e,n){"use strict";n.r(e);var a=n("8a23"),i=n("abaf");for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);n("04ba");var r=n("f0c5"),c=Object(r["a"])(i["default"],a["b"],a["c"],!1,null,"cde9195e",null,!1,a["a"],void 0);e["default"]=c.exports},abaf:function(t,e,n){"use strict";n.r(e);var a=n("40b5"),i=n.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(o);e["default"]=i.a}},[["22cf","common/runtime","common/vendor"]]]);
|