wangmingchuan321@qq.com 3 months ago
parent c4b1ea1b7a
commit d5e8ae1ce1
  1. 13
      app/controller/cashier/Table.php
  2. 6
      view/store/.idea/inspectionProfiles/Project_Default.xml
  3. 28
      view/store/.idea/workspace.xml
  4. 1
      view/store/dist/view_store/css/chunk-d98b4464.af973a07.css
  5. 15
      view/store/dist/view_store/js/app.aa314370.js
  6. 1
      view/store/dist/view_store/js/chunk-1d77140c.d049b4fe.js
  7. 1
      view/store/dist/view_store/js/chunk-1e494c6a.f2cb7f49.js
  8. 28
      view/store/dist/view_store/js/chunk-24fdc56c.05a00a36.js
  9. 1
      view/store/dist/view_store/js/chunk-2d0a4477.0567e2f0.js
  10. 1
      view/store/dist/view_store/js/chunk-3f394228.7826db70.js
  11. 1
      view/store/dist/view_store/js/chunk-47104510.76262e1a.js
  12. 1
      view/store/dist/view_store/js/chunk-47faecc2.574b272d.js
  13. 1
      view/store/dist/view_store/js/chunk-5a9d1c2a.2c812ac7.js
  14. 1
      view/store/dist/view_store/js/chunk-6d97ff27.2c1b6ba8.js
  15. 1
      view/store/dist/view_store/js/chunk-728cabf6.b5d4a761.js
  16. 1
      view/store/dist/view_store/js/chunk-769e8726.15d525fe.js
  17. 1
      view/store/dist/view_store/js/chunk-81a598ee.3c1bce34.js
  18. 1
      view/store/dist/view_store/js/chunk-8d95f6c6.2774e6cd.js
  19. 1
      view/store/dist/view_store/js/chunk-d98b4464.1ecedab5.js
  20. 432
      view/store/dist/view_store/js/chunk-vendors.d1fe3319.js
  21. 1
      view/store/node_modules/.cache/babel-loader/93affe72f92530ed9660fa2495c3f881.json
  22. 1
      view/store/node_modules/.cache/babel-loader/a6e4bea0634e6f2dd005740aa39a1a0a.json
  23. BIN
      view/store/node_modules/.cache/eslint-loader/0016bf5d495fa9620f9e7b4f24ee5fe7cd77a373.json.gz
  24. BIN
      view/store/node_modules/.cache/eslint-loader/036a5ff03c09217acff36a2cf91e5df6d6ac7ef2.json.gz
  25. BIN
      view/store/node_modules/.cache/eslint-loader/05984d9227b34f1e427b11c90a8c47517c0edfa9.json.gz
  26. BIN
      view/store/node_modules/.cache/eslint-loader/08233d0404b1e77ca55b422e1dc0bc99de8be202.json.gz
  27. BIN
      view/store/node_modules/.cache/eslint-loader/0ab1bf938a16e244e162d7ff80675b047a7f9dc5.json.gz
  28. BIN
      view/store/node_modules/.cache/eslint-loader/0fdb0227752bba3abe7b84f870c9f5e984c67b0e.json.gz
  29. BIN
      view/store/node_modules/.cache/eslint-loader/14200bdbd900a310cfcce0e42265a378206a6f04.json.gz
  30. BIN
      view/store/node_modules/.cache/eslint-loader/1466d4a378f780b3faaf1506e8e8f44ccc34a9c0.json.gz
  31. BIN
      view/store/node_modules/.cache/eslint-loader/194eb6a9fcd0f0196606f181dc7c5c3c316d3dc1.json.gz
  32. BIN
      view/store/node_modules/.cache/eslint-loader/1ef3e6bb29fd812b133adfd60627f8a1dcc658a8.json.gz
  33. BIN
      view/store/node_modules/.cache/eslint-loader/22a7c5c7a704fd0f39c1ea68550cfbdf610463ca.json.gz
  34. BIN
      view/store/node_modules/.cache/eslint-loader/2734309e0bede16e8e6f4a6863759c099e597253.json.gz
  35. BIN
      view/store/node_modules/.cache/eslint-loader/2b8d09b5d559e6d4b7f9647f14c04b98907992e0.json.gz
  36. BIN
      view/store/node_modules/.cache/eslint-loader/2d0163b620f737b6b5271e26d2dd1d9acbc449a1.json.gz
  37. BIN
      view/store/node_modules/.cache/eslint-loader/2eba57137300d7a2f6b14058d3a5e7ecddb24df9.json.gz
  38. BIN
      view/store/node_modules/.cache/eslint-loader/31fd3abd5a474a9b2746b89d244630a6ed7ce134.json.gz
  39. BIN
      view/store/node_modules/.cache/eslint-loader/32531b6ab5dbf1112af48e5a30906c8eb647954b.json.gz
  40. BIN
      view/store/node_modules/.cache/eslint-loader/34ba6669269fe3a288cbc9cd7e4dc8e5dd1327e3.json.gz
  41. BIN
      view/store/node_modules/.cache/eslint-loader/35d6a67e563eba372dd2527e578f94f10da95e26.json.gz
  42. BIN
      view/store/node_modules/.cache/eslint-loader/3718301b54d8b392c319d3c8195f5d65f7ae7592.json.gz
  43. BIN
      view/store/node_modules/.cache/eslint-loader/373d0c49b2c668d5e16c8348ac03e1a6efabb9ec.json.gz
  44. BIN
      view/store/node_modules/.cache/eslint-loader/3e958556613c7a9d744f1c0435ff02298ced7530.json.gz
  45. BIN
      view/store/node_modules/.cache/eslint-loader/44bbeb9b3bb9f1b4623f68068f2ee807d835dd55.json.gz
  46. BIN
      view/store/node_modules/.cache/eslint-loader/46e3f695dd483cb6d281699b191bcdf24356812c.json.gz
  47. BIN
      view/store/node_modules/.cache/eslint-loader/4b775b565e6b45a83f54577be53f2fdbb4346f98.json.gz
  48. BIN
      view/store/node_modules/.cache/eslint-loader/4fa7f0d53168ce3c7ea560eaefdbb261ff97f3bc.json.gz
  49. BIN
      view/store/node_modules/.cache/eslint-loader/5c8658c1dfb7922359cfca822ff8ace63c369e3a.json.gz
  50. BIN
      view/store/node_modules/.cache/eslint-loader/63f2610691e02e02c0b7588b961ed6cbd47d5d44.json.gz
  51. BIN
      view/store/node_modules/.cache/eslint-loader/78308c298f1a6771363b6038197a0dc2142fdc2a.json.gz
  52. BIN
      view/store/node_modules/.cache/eslint-loader/7b1a1a65a96a095be37d264d6c897b95bf51c909.json.gz
  53. BIN
      view/store/node_modules/.cache/eslint-loader/7bdac971f74b9409adbe26a1cd85438270cabb96.json.gz
  54. BIN
      view/store/node_modules/.cache/eslint-loader/7bf5f892cd17417c1c249344bbef1c41e4ff9436.json.gz
  55. BIN
      view/store/node_modules/.cache/eslint-loader/7d9650a89aaa6d64d7de0bba13d262d35a61bba3.json.gz
  56. BIN
      view/store/node_modules/.cache/eslint-loader/8472427ec9d1016925849ccf75ebe0d54c18c954.json.gz
  57. BIN
      view/store/node_modules/.cache/eslint-loader/8523bca5f5efb50488fcac794df51b97d59fb477.json.gz
  58. BIN
      view/store/node_modules/.cache/eslint-loader/85ba643baaee209560fd05608dcbfd7fc4419ed3.json.gz
  59. BIN
      view/store/node_modules/.cache/eslint-loader/863ddf3e3f4fc5d028c555b11755ad4b1fddf77b.json.gz
  60. BIN
      view/store/node_modules/.cache/eslint-loader/8670397101ce21ff1591475f6836b420a12675b1.json.gz
  61. BIN
      view/store/node_modules/.cache/eslint-loader/8b55f7ae80575e5c8e735af2a58889b0aba293c3.json.gz
  62. BIN
      view/store/node_modules/.cache/eslint-loader/8c449d7d9f8dd79bbe97c71802f1be6dc480e10f.json.gz
  63. BIN
      view/store/node_modules/.cache/eslint-loader/90865e8cf069a2c80f1544f2a04ae0a4aef19ce6.json.gz
  64. BIN
      view/store/node_modules/.cache/eslint-loader/92b762b3b4807517934f39cf854cdde43e912a06.json.gz
  65. BIN
      view/store/node_modules/.cache/eslint-loader/933322d3e710a830f0c47e69e116d14c669b07db.json.gz
  66. BIN
      view/store/node_modules/.cache/eslint-loader/975b46c43a3ca290d3835a4c5d02d494185f3440.json.gz
  67. BIN
      view/store/node_modules/.cache/eslint-loader/982b79f6977f048322e5edd47eb5a76b58621548.json.gz
  68. BIN
      view/store/node_modules/.cache/eslint-loader/9e966fae3e4faaa8c9fee39e507b31ebb0cf8136.json.gz
  69. BIN
      view/store/node_modules/.cache/eslint-loader/a1cf403466d93aa9c8ef30b67c4f8c64eea7c602.json.gz
  70. BIN
      view/store/node_modules/.cache/eslint-loader/af7011ca816f120739dcf62b95bf6656d2435992.json.gz
  71. BIN
      view/store/node_modules/.cache/eslint-loader/b4671d1df6dfe5286427afa337e86081edda75e7.json.gz
  72. BIN
      view/store/node_modules/.cache/eslint-loader/b5b28db7d8512bd9973574b4c98a80fed17be2c1.json.gz
  73. BIN
      view/store/node_modules/.cache/eslint-loader/b74c0c1cc3a01d128f253f8ad9835a0017d298a4.json.gz
  74. BIN
      view/store/node_modules/.cache/eslint-loader/b9560150cf9bbdd5482c8352a2e16f8bb100b9a2.json.gz
  75. BIN
      view/store/node_modules/.cache/eslint-loader/b9eacc2a836dbdf914499cef0897f1ab850962dd.json.gz
  76. BIN
      view/store/node_modules/.cache/eslint-loader/ba74c4a78b01a58419e9158579859c752c010463.json.gz
  77. BIN
      view/store/node_modules/.cache/eslint-loader/ba97e08df9d464496015aa741aa33bc40e5670d5.json.gz
  78. BIN
      view/store/node_modules/.cache/eslint-loader/bf435c62b99fca3a73a1964768d2fb5a5b862f0f.json.gz
  79. BIN
      view/store/node_modules/.cache/eslint-loader/bfff371b606ed91dc3697060f29fafcbf8eb05d0.json.gz
  80. BIN
      view/store/node_modules/.cache/eslint-loader/c4a9314a081479b3c01334a1fab6a1fd7ed55d2d.json.gz
  81. BIN
      view/store/node_modules/.cache/eslint-loader/cc8d58deb61d1ae39f8dbd0f7624cd56f96e3566.json.gz
  82. BIN
      view/store/node_modules/.cache/eslint-loader/cdb7c08e6da6227e6ff7810327500f2e2c9c0da8.json.gz
  83. BIN
      view/store/node_modules/.cache/eslint-loader/d083e29cae11bcc94f6323a157b83850acab3118.json.gz
  84. BIN
      view/store/node_modules/.cache/eslint-loader/d0e63dcaf76703b8df062cc573ad4d73b77c2101.json.gz
  85. BIN
      view/store/node_modules/.cache/eslint-loader/d544f3b4d8afc1aa4de44de4b62d81f2ce382510.json.gz
  86. BIN
      view/store/node_modules/.cache/eslint-loader/d9be700713bade8c8c0a1a254568e18cc1a4f157.json.gz
  87. BIN
      view/store/node_modules/.cache/eslint-loader/df381f44ceb9df7b5c91084c8151d68dc8ed0ae2.json.gz
  88. BIN
      view/store/node_modules/.cache/eslint-loader/df44431144930d20b0d6f7091b680423e6f7a997.json.gz
  89. BIN
      view/store/node_modules/.cache/eslint-loader/e39f4b0d05cd13c96abac25cf22ffa4c094126f6.json.gz
  90. BIN
      view/store/node_modules/.cache/eslint-loader/e818e92903335df784ac30741f50a7aa2a40c834.json.gz
  91. BIN
      view/store/node_modules/.cache/eslint-loader/ec06b288a21df42d2cb68c6c677b3f6d785b81a3.json.gz
  92. BIN
      view/store/node_modules/.cache/eslint-loader/eed607ae258153475f63c2f29bd9a84306fc1f1d.json.gz
  93. BIN
      view/store/node_modules/.cache/eslint-loader/f09b2766cdf6f55367ce11660311ef7787838ccd.json.gz
  94. BIN
      view/store/node_modules/.cache/eslint-loader/f386665f40743f0aef320b4e046477787363ee0c.json.gz
  95. BIN
      view/store/node_modules/.cache/eslint-loader/f735f353bec1c2eb39babbbad620f9a332f58a59.json.gz
  96. BIN
      view/store/node_modules/.cache/eslint-loader/f7ad140a0ea77b2551bb9dca68df6fe373440b1d.json.gz
  97. BIN
      view/store/node_modules/.cache/eslint-loader/fba6a309d198a37bc0414231204f6fe56c706c86.json.gz
  98. BIN
      view/store/node_modules/.cache/eslint-loader/fbd2c031a9a570d0c2205a20cbe0758be163a0a4.json.gz
  99. 1
      view/store/node_modules/.cache/terser-webpack-plugin/content-v2/sha512/39/9d/16b87258a379d14671b2c8a96f6b8ffd5fdb24f48fff016cf34f5bbde128351ee1de8a823e97c19be5b99c2b367bb2cba66ede8cc4a24388fc5da6d9a681
  100. 1
      view/store/node_modules/.cache/terser-webpack-plugin/content-v2/sha512/3e/e1/c284dc4de85528b0f0f7d9edd09498c1fad1a16c62126e11ed55ec5e1e13ebd365a74c914cc8d1ceb681d238e0407db53f0070e4cd7747d1a1a661979e23
  101. Some files were not shown because too many files have changed in this diff Show More

@ -23,6 +23,7 @@ use app\services\other\queue\QueueServices;
use app\services\other\QrcodeServices;
use app\services\activity\collage\UserCollageCodeServices;
use app\services\activity\collage\UserCollagePartakeServices;
use think\facade\Db;
/**
* 收银台桌码
@ -43,7 +44,19 @@ class Table extends AuthController
{
$where = ['type' => 1, 'relation_id' => $this->storeId, 'group' => 6, 'is_show' => 1];
$list = $services->getTableCodeCateList($where, ['id', 'relation_id', 'name', 'group'], ['tableQrcode']);
foreach ($list as &$v){
foreach ($v['tableQrcode'] as &$v2){
if($v2['is_use'] == 2){
$yuyue = Db::name('table_yuding')->where('table_id',$v2['id'])->order('id desc')->find();
$v2['yingxiaojingli'] = db::name('user')->where('uid',$yuyue['admin_id'])->value('nickname') ?? '无';
$v2['yuyueshijian'] = $yuyue['yuding_date'].' '.$yuyue['come_date'];
}
}
}
return $this->success($list);
}

@ -0,0 +1,6 @@
<component name="InspectionProjectProfileManager">
<profile version="1.0">
<option name="myName" value="Project Default" />
<inspection_tool class="Eslint" enabled="true" level="WARNING" enabled_by_default="true" />
</profile>
</component>

@ -2,32 +2,10 @@
<project version="4">
<component name="ChangeListManager">
<list default="true" id="12822943-fe9c-4b5b-8a98-673c8d57ebcd" name="变更" comment="">
<change beforePath="$PROJECT_DIR$/../../app/controller/api/v2/activity/StoreCoupons.php" beforeDir="false" afterPath="$PROJECT_DIR$/../../app/controller/api/v2/activity/StoreCoupons.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/../../app/controller/store/table/TableCode.php" beforeDir="false" afterPath="$PROJECT_DIR$/../../app/controller/store/table/TableCode.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/../../route/api.php" beforeDir="false" afterPath="$PROJECT_DIR$/../../route/api.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/../../route/store.php" beforeDir="false" afterPath="$PROJECT_DIR$/../../route/store.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/../../app/controller/cashier/Table.php" beforeDir="false" afterPath="$PROJECT_DIR$/../../app/controller/cashier/Table.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/dist/store.html" beforeDir="false" afterPath="$PROJECT_DIR$/dist/store.html" afterDir="false" />
<change beforePath="$PROJECT_DIR$/dist/view_store/js/app.7062477d.js" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/dist/view_store/js/chunk-1d77140c.866f4166.js" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/dist/view_store/js/chunk-1e494c6a.923fa002.js" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/dist/view_store/js/chunk-24fdc56c.d448e6a1.js" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/dist/view_store/js/chunk-2d0a4477.a1675ba9.js" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/dist/view_store/js/chunk-3f394228.fc0a2227.js" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/dist/view_store/js/chunk-47104510.4119530d.js" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/dist/view_store/js/chunk-47faecc2.3a6d2465.js" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/dist/view_store/js/chunk-5a9d1c2a.7eca0723.js" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/dist/view_store/js/chunk-6d97ff27.777f936f.js" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/dist/view_store/js/chunk-728cabf6.168190cd.js" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/dist/view_store/js/chunk-769e8726.37838c48.js" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/dist/view_store/js/chunk-81a598ee.9f81a0e2.js" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/dist/view_store/js/chunk-8d95f6c6.ee476524.js" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/dist/view_store/js/chunk-vendors.f807b2f3.js" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/node_modules/.cache/babel-loader/4d6f1e4756d37052b2544d3680c336a6.json" beforeDir="false" afterPath="$PROJECT_DIR$/node_modules/.cache/babel-loader/4d6f1e4756d37052b2544d3680c336a6.json" afterDir="false" />
<change beforePath="$PROJECT_DIR$/node_modules/.cache/babel-loader/646d3af4711e0cd4aebf93200be54d17.json" beforeDir="false" afterPath="$PROJECT_DIR$/node_modules/.cache/babel-loader/646d3af4711e0cd4aebf93200be54d17.json" afterDir="false" />
<change beforePath="$PROJECT_DIR$/node_modules/.cache/babel-loader/9c631b3689014d208b3589bc3d2af55c.json" beforeDir="false" afterPath="$PROJECT_DIR$/node_modules/.cache/babel-loader/9c631b3689014d208b3589bc3d2af55c.json" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/api/setting.js" beforeDir="false" afterPath="$PROJECT_DIR$/src/api/setting.js" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/router/modules/set.js" beforeDir="false" afterPath="$PROJECT_DIR$/src/router/modules/set.js" afterDir="false" />
<change beforePath="$PROJECT_DIR$/../../收银台/cashier/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/../../收银台/cashier/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/../../收银台/cashier/src/pages/table/index.vue" beforeDir="false" afterPath="$PROJECT_DIR$/../../收银台/cashier/src/pages/table/index.vue" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />

@ -0,0 +1 @@
[data-v-2beb38ea] .ivu-modal-content{border-radius:10px}[data-v-2beb38ea] .ivu-modal-header{border-radius:10px 10px 0 0;background-color:#fff}[data-v-2beb38ea] .ivu-modal-body{padding:30px 25px 29px 0}.ivu-modal-wrap .tag[data-v-2beb38ea]{width:80px;border-color:#ddd;margin:0 10px 10px 0;background:none;text-align:center}.ivu-modal-wrap .input[data-v-2beb38ea]{width:80px;margin:0 10px 10px 0}.ivu-modal-wrap .btn[data-v-2beb38ea]{margin:0 10px 10px 0}.ivu-modal-wrap .footer[data-v-2beb38ea]{text-align:right}.tabBox_img[data-v-2beb38ea]{width:36px;height:36px;border-radius:4px;cursor:pointer}.tabBox_img img[data-v-2beb38ea]{width:100%;height:100%}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -0,0 +1 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0a4477"],{"0683":function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("Card",{staticClass:"ivu-mt",attrs:{bordered:!1,"dis-hover":"",padding:0}},[i("div",{staticClass:"new_card_pd"},[i("Form",{ref:"levelFrom",attrs:{model:e.levelFrom,inline:"","label-width":e.labelWidth,"label-position":e.labelPosition},nativeOn:{submit:function(e){e.preventDefault()}}},[i("FormItem",{attrs:{label:"搜索:","label-for":"keyword"}},[i("Input",{staticClass:"input-add mr14",attrs:{placeholder:"请输入模板名称"},model:{value:e.levelFrom.name,callback:function(t){e.$set(e.levelFrom,"name",t)},expression:"levelFrom.name"}}),i("Button",{staticClass:"btnOn",attrs:{type:"primary"},on:{click:e.userSearchs}},[e._v("查询")])],1)],1)],1)]),i("Card",{staticClass:"ivu-mt",attrs:{bordered:!1,"dis-hover":""}},[i("Button",{attrs:{type:"primary"},on:{click:e.freight}},[e._v("添加运费模板")]),i("Table",{ref:"table",staticClass:"mt25",attrs:{columns:e.columns1,data:e.levelLists,loading:e.loading,"highlight-row":"","no-userFrom-text":"暂无数据","no-filtered-userFrom-text":"暂无筛选结果"},scopedSlots:e._u([{key:"icons",fn:function(e){var t=e.row;return[i("viewer",[i("div",{staticClass:"tabBox_img"},[i("img",{directives:[{name:"lazy",rawName:"v-lazy",value:t.icon,expression:"row.icon"}]})])])]}},{key:"action",fn:function(t){var n=t.row,r=t.index;return[i("a",{on:{click:function(t){return e.edit(n.id)}}},[e._v("修改")]),1!==n.id?i("Divider",{attrs:{type:"vertical"}}):e._e(),1!==n.id?i("a",{on:{click:function(t){return e.del(n,"删除运费模板",r)}}},[e._v("删除")]):e._e()]}}])}),i("div",{staticClass:"acea-row row-right page"},[i("Page",{attrs:{total:e.total,current:e.levelFrom.page,"show-elevator":"","show-total":"","page-size":e.levelFrom.limit},on:{"on-change":e.pageChange}})],1)],1),i("freight-template",{ref:"template"})],1)},r=[],a=i("a34a"),o=i.n(a),l=i("2f62"),s=i("90e7"),c=i("5334");function u(e,t,i,n,r,a,o){try{var l=e[a](o),s=l.value}catch(c){return void i(c)}l.done?t(s):Promise.resolve(s).then(n,r)}function d(e){return function(){var t=this,i=arguments;return new Promise((function(n,r){var a=e.apply(t,i);function o(e){u(a,n,r,o,l,"next",e)}function l(e){u(a,n,r,o,l,"throw",e)}o(void 0)}))}}function m(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,n)}return i}function p(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?m(i,!0).forEach((function(t){h(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):m(i).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}function h(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}var f={name:"setting_templates",components:{freightTemplate:c["a"]},data:function(){return{grid:{xl:7,lg:7,md:12,sm:24,xs:24},loading:!1,columns1:[{title:"ID",key:"id",width:80},{title:"模板名称",key:"name",minWidth:100},{title:"计费方式",key:"type",minWidth:120},{title:"指定包邮",key:"appoint",minWidth:120},{title:"排序",key:"sort",minWidth:120},{title:"添加时间",key:"add_time",minWidth:120},{title:"操作",slot:"action",fixed:"right",minWidth:120}],levelFrom:{name:"",page:1,limit:15},levelLists:[],total:0,FromData:null}},created:function(){this.getList()},computed:p({},Object(l["e"])("admin/layout",["isMobile"]),{labelWidth:function(){return this.isMobile?void 0:75},labelPosition:function(){return this.isMobile?"top":"right"}}),methods:{freight:function(){this.$refs.template.id=0,this.$refs.template.isTemplate=!0},del:function(e,t,i){var n=this,r={title:t,num:i,url:"setting/shipping_templates/del/".concat(e.id),method:"DELETE",ids:""};this.$modalSure(r).then((function(e){n.$Message.success(e.msg),n.levelLists.splice(i,1),n.levelLists.length||(n.levelFrom.page=1==n.levelFrom.page?1:n.levelFrom.page-1),n.getList()})).catch((function(e){n.$Message.error(e.msg)}))},getList:function(){var e=this;this.loading=!0,Object(s["J"])(this.levelFrom).then(function(){var t=d(o.a.mark((function t(i){var n;return o.a.wrap((function(t){while(1)switch(t.prev=t.next){case 0:n=i.data,e.levelLists=n.data,e.total=n.count,e.loading=!1;case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()).catch((function(t){e.loading=!1,e.$Message.error(t.msg)}))},pageChange:function(e){this.levelFrom.page=e,this.getList()},edit:function(e){this.$refs.template.isTemplate=!0,this.$refs.template.editFrom(e)},userSearchs:function(){this.levelFrom.page=1,this.getList()}}},v=f,g=i("2877"),b=Object(g["a"])(v,n,r,!1,null,null,null);t["default"]=b.exports}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -0,0 +1 @@
{"remainingRequest":"D:\\codeeeeee\\酒水代码\\view\\store\\node_modules\\thread-loader\\dist\\cjs.js!D:\\codeeeeee\\酒水代码\\view\\store\\node_modules\\babel-loader\\lib\\index.js!D:\\codeeeeee\\酒水代码\\view\\store\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\codeeeeee\\酒水代码\\view\\store\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\codeeeeee\\酒水代码\\view\\store\\node_modules\\iview-loader\\index.js??ref--0-2!D:\\codeeeeee\\酒水代码\\view\\store\\src\\pages\\setting\\tableCode\\yuding.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\codeeeeee\\酒水代码\\view\\store\\src\\pages\\setting\\tableCode\\yuding.vue","mtime":1729842960291},{"path":"D:\\codeeeeee\\酒水代码\\view\\store\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1729046406806},{"path":"D:\\codeeeeee\\酒水代码\\view\\store\\node_modules\\thread-loader\\dist\\cjs.js","mtime":1729046413043},{"path":"D:\\codeeeeee\\酒水代码\\view\\store\\node_modules\\babel-loader\\lib\\index.js","mtime":1729046406587},{"path":"D:\\codeeeeee\\酒水代码\\view\\store\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1729046406806},{"path":"D:\\codeeeeee\\酒水代码\\view\\store\\node_modules\\vue-loader\\lib\\index.js","mtime":1729046413411},{"path":"D:\\codeeeeee\\酒水代码\\view\\store\\node_modules\\iview-loader\\index.js","mtime":1729046409925}],"contextDependencies":[],"result":["//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\nimport { getyuding } from '@/api/setting';\nexport default {\n data: function data() {\n return {\n columns: [{\n type: 'selection',\n width: 60,\n align: 'center'\n }, {\n title: '桌码名称',\n key: 'table_number'\n }, {\n title: '预定用户',\n key: 'user_name'\n }, {\n title: '手机号',\n key: 'phone'\n }, {\n title: '预定时间',\n key: 'yuding_date'\n }, {\n title: '来店时间',\n key: 'come_date'\n }, {\n title: '营销经理',\n key: 'admin_name'\n }, {\n title: '备注',\n key: 'remark'\n }, {\n title: '状态',\n key: 'status'\n }, {\n title: '操作',\n slot: 'caozuo'\n }],\n tableQRCodeList: [],\n total: 0,\n limit: 10,\n page: 1,\n modal: false,\n tableCateList: [],\n tableSeatsList: [],\n formValidate: {\n cate_id: 0,\n seat_num: 0,\n number: [],\n is_using: 0,\n remarks: ''\n },\n number: 1,\n id: 0,\n loading: false,\n QRCodeSelected: []\n };\n },\n created: function created() {\n this.getTableQRCodeList();\n },\n methods: {\n onSelectionChange: function onSelectionChange(selection) {\n this.QRCodeSelected = selection;\n },\n // 获取桌码列表\n getTableQRCodeList: function getTableQRCodeList() {\n var _this = this;\n\n this.loading = true;\n getyuding({\n page: this.page,\n limit: this.limit\n }).then(function (res) {\n _this.loading = false;\n _this.tableQRCodeList = res.data.data;\n _this.total = res.data.count;\n });\n },\n // 分页\n onChange: function onChange(page) {\n this.page = page;\n this.getTableQRCodeList();\n },\n // 取消预约\n quxiao: function quxiao(id) {\n var _this2 = this;\n\n this.$modalSure({\n title: '取消预约',\n url: \"/table/getyuding2?id=\" + id,\n method: 'get',\n ids: {\n id: id\n }\n }).then(function (res) {\n if (res.msg == '操作失败') {\n _this2.$Message.error(res.msg);\n\n return;\n }\n\n _this2.$Message.success(res.msg);\n\n if (_this2.page > 1 && _this2.tableQRCodeList.length == 1) {\n _this2.page--;\n }\n\n _this2.getTableQRCodeList();\n });\n }\n }\n};",null]}

@ -0,0 +1 @@
{"remainingRequest":"D:\\codeeeeee\\酒水代码\\view\\store\\node_modules\\babel-loader\\lib\\index.js!D:\\codeeeeee\\酒水代码\\view\\store\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\codeeeeee\\酒水代码\\view\\store\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\codeeeeee\\酒水代码\\view\\store\\node_modules\\iview-loader\\index.js??ref--0-2!D:\\codeeeeee\\酒水代码\\view\\store\\src\\pages\\setting\\tableCode\\yuding.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\codeeeeee\\酒水代码\\view\\store\\src\\pages\\setting\\tableCode\\yuding.vue","mtime":1729842546629},{"path":"D:\\codeeeeee\\酒水代码\\view\\store\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1729046406806},{"path":"D:\\codeeeeee\\酒水代码\\view\\store\\node_modules\\babel-loader\\lib\\index.js","mtime":1729046406587},{"path":"D:\\codeeeeee\\酒水代码\\view\\store\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1729046406806},{"path":"D:\\codeeeeee\\酒水代码\\view\\store\\node_modules\\vue-loader\\lib\\index.js","mtime":1729046413411},{"path":"D:\\codeeeeee\\酒水代码\\view\\store\\node_modules\\iview-loader\\index.js","mtime":1729046409925}],"contextDependencies":[],"result":["//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\nimport { getyuding } from '@/api/setting';\nexport default {\n data: function data() {\n return {\n columns: [{\n type: 'selection',\n width: 60,\n align: 'center'\n }, {\n title: '桌码名称',\n key: 'table_number'\n }, {\n title: '预定用户',\n key: 'user_name'\n }, {\n title: '手机号',\n key: 'phone'\n }, {\n title: '预定时间',\n key: 'yuding_date'\n }, {\n title: '来店时间',\n key: 'come_date'\n }, {\n title: '营销经理',\n key: 'admin_name'\n }, {\n title: '备注',\n key: 'remark'\n }, {\n title: '操作',\n slot: 'caozuo'\n }],\n tableQRCodeList: [],\n total: 0,\n limit: 10,\n page: 1,\n modal: false,\n tableCateList: [],\n tableSeatsList: [],\n formValidate: {\n cate_id: 0,\n seat_num: 0,\n number: [],\n is_using: 0,\n remarks: ''\n },\n number: 1,\n id: 0,\n loading: false,\n QRCodeSelected: []\n };\n },\n created: function created() {\n this.getTableQRCodeList();\n },\n methods: {\n onSelectionChange: function onSelectionChange(selection) {\n this.QRCodeSelected = selection;\n },\n // 获取桌码列表\n getTableQRCodeList: function getTableQRCodeList() {\n var _this = this;\n\n this.loading = true;\n getyuding({\n page: this.page,\n limit: this.limit\n }).then(function (res) {\n _this.loading = false;\n _this.tableQRCodeList = res.data.data;\n _this.total = res.data.count;\n });\n },\n // 分页\n onChange: function onChange(page) {\n this.page = page;\n this.getTableQRCodeList();\n },\n // 取消预约\n quxiao: function quxiao(id) {\n var _this2 = this;\n\n this.$modalSure({\n title: '取消预约',\n url: \"/table/getyuding2?id=\" + id,\n method: 'get',\n ids: {\n id: id\n }\n }).then(function (res) {\n if (res.status == 400) {\n _this2.$Message.error(res.msg);\n\n return;\n }\n\n _this2.$Message.success(res.msg);\n\n if (_this2.page > 1 && _this2.tableQRCodeList.length == 1) {\n _this2.page--;\n }\n\n _this2.getTableQRCodeList();\n });\n }\n }\n};",null]}

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save