1 line
34 KiB
JavaScript
1 line
34 KiB
JavaScript
![]() |
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-280c16e0"],{"0cac":function(e,t,a){"use strict";a.r(t);var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"heighthv rel"},[a("div",{staticClass:"flex-bet flex-y-top tableMainBox"},[a("div",{staticClass:"tableMain heighthv bflex-8",staticStyle:{width:"70%"}},[a("div",{staticClass:"tableType ba_f bor_rad10"},[a("el-scrollbar",{staticClass:"flex-g-1 tableType_wrap_scor"},[a("div",{staticClass:"flex"},e._l(e.areaList,(function(t,s){return a("div",{key:s,staticClass:"typeList pad_20 curs bor_rad10",class:{typeHover:s==e.typeListHover},on:{click:function(a){return e.selectType(t,s)}}},[e._v(" "+e._s(t.name)+" ")])})),0)])],1),a("div",{staticClass:"flex-bet mar_t20 flex-y-top ba_f leftMain"},[a("div",{directives:[{name:"show",rawName:"v-show",value:e.tablesList&&e.tablesList.length>0,expression:"tablesList && tablesList.length>0"}],staticClass:"leibie flex-g-0 heighthv fon_14"},e._l(e.tablesList,(function(t,s){return a("div",{key:s,staticClass:"leibieli t_l",class:{leibieHover:s==e.jListHover},on:{click:function(a){return e.clickjList(t,s)}}},[a("span",{directives:[{name:"show",rawName:"v-show",value:t.name,expression:"J.name"}]},[e._v(e._s(t.name)+"("+e._s(t.num)+")")])])})),0),a("div",{staticClass:"zuozi heighthv flex-g-1"},[e.tablesList&&e.tablesList.length>0&&e.tablesList[0].tableInfo?a("div",{staticClass:"zuoziWrap flex-wrap flex flex-y-top"},e._l(e.tablesList[e.jListHover].tableInfo,(function(t,s){return a("div",{key:s,staticClass:"zuozili flex-colbt",class:{zuoziliHover:s==e.kListHover},on:{click:function(a){return e.orderDl(t,s)}}},[a("div",{directives:[{name:"show",rawName:"v-show",value:"1"==t.state,expression:"K.state=='1'"}],staticClass:"zuoziliT flex-bet"},[a("div",[e._v(e._s(t.name))])]),a("div",{directives:[{name:"show",rawName:"v-show",value:"2"==t.state,expression:"K.state=='2'"}],staticClass:"zuoziliT zuozili1 flex-bet"},[a("div",[e._v(e._s(t.name))]),a("div",{staticClass:"mar_r10",on:{click:function(a){return a.stopPropagation(),e.deletePreview(t)}}},[e._m(0,!0)])]),a("div",{directives:[{name:"show",rawName:"v-show",value:"3"==t.state,expression:"K.state=='3'"}],staticClass:"zuoziliT zuozili2 flex-bet"},[a("div",[e._v(e._s(t.name))]),a("div",{staticClass:"mar_r10",on:{click:function(a){return a.stopPropagation(),e.deletePreview(t)}}},[e._m(1,!0)])]),a("div",[a("span",{directives:[{name:"show",rawName:"v-show",value:"1"==t.state,expression:"K.state=='1'"}]},[e._v("未开台")]),a("span",{directives:[{name:"show",rawName:"v-show",value:"2"==t.state,expression:"K.state=='2'"}]},[e._v("已开台")]),a("span",{directives:[{name:"show",rawName:"v-show",value:"3"==t.state,expression:"K.state=='3'"}]},[e._v("就餐中")])]),a("div",{directives:[{name:"show",rawName:"v-show",value:"2"==t.state&&"0"==t.selStatus,expression:"K.state=='2' && K.selStatus=='0'"}]},[a("span",{staticClass:"color_9"},[e._v("未下单")])]),a("div",{directives:[{name:"show",rawName:"v-show",value:"2"==t.state&&"1"==t.selStatus,expression:"K.state=='2' && K.selStatus=='1'"}]},[a("span",{staticClass:"color_rb"},[e._v("已下单")])]),a("div",{directives:[{name:"show",rawName:"v-show",value:"1"==t.state,expression:"K.state=='1'"}],staticClass:"flex-bet pad_lr_10"},[a("div"),a("div",{staticClass:"color_9"},[e._v(e._s(t.maxNum)+"座")])]),a("div",{directives:[{name:"show",rawName:"v-show",value:"3"==t.state&&t.orderInfo.people,expression:"K.state=='3' && K.orderInfo.people"}],staticClass:"flex-bet pad_lr_10"},[a("div",{directives:[{name:"show",rawName:"v-show",value:t.orderInfo.receiptAt,expression:"K.orderInfo.receiptAt"}]},[e._v(e._s(e.timeStamp(Math.round((new Date).getTime()/1e3).toString()-t.orderInfo.receiptAt))+" ")]),a("div",{staticClass:"color_9"},[e._v(e._s(t.orderInfo.people)+"人")])])])})),0):e._e(),a("div",{staticClass:"flex-bet fon_14"},[e._m(2),a("div",{staticClass:"flex"},[a("div",{staticClass:"mar_r10"},[a("el-button",{attrs:{type:"primary",size:"medium"},on:{click:e.sxin}},[e._v("刷新")])],1),a("div",{staticClass:"flex ma
|