wangmingchuan321@qq.com 1 month ago
parent 8e6a2de69e
commit c4b1ea1b7a
  1. 86
      app/controller/api/v2/activity/StoreCoupons.php
  2. 47
      app/controller/store/table/TableCode.php
  3. 5
      route/api.php
  4. 4
      route/store.php
  5. 41
      view/store/.idea/workspace.xml
  6. 2
      view/store/dist/store.html
  7. 15
      view/store/dist/view_store/js/app.7062477d.js
  8. 1
      view/store/dist/view_store/js/chunk-1d77140c.866f4166.js
  9. 1
      view/store/dist/view_store/js/chunk-1e494c6a.923fa002.js
  10. 28
      view/store/dist/view_store/js/chunk-24fdc56c.d448e6a1.js
  11. 1
      view/store/dist/view_store/js/chunk-2d0a4477.a1675ba9.js
  12. 1
      view/store/dist/view_store/js/chunk-3f394228.fc0a2227.js
  13. 1
      view/store/dist/view_store/js/chunk-47104510.4119530d.js
  14. 1
      view/store/dist/view_store/js/chunk-47faecc2.3a6d2465.js
  15. 1
      view/store/dist/view_store/js/chunk-5a9d1c2a.7eca0723.js
  16. 1
      view/store/dist/view_store/js/chunk-6d97ff27.777f936f.js
  17. 1
      view/store/dist/view_store/js/chunk-728cabf6.168190cd.js
  18. 1
      view/store/dist/view_store/js/chunk-769e8726.37838c48.js
  19. 1
      view/store/dist/view_store/js/chunk-81a598ee.9f81a0e2.js
  20. 1
      view/store/dist/view_store/js/chunk-8d95f6c6.ee476524.js
  21. 432
      view/store/dist/view_store/js/chunk-vendors.f807b2f3.js
  22. 2
      view/store/node_modules/.cache/babel-loader/4d6f1e4756d37052b2544d3680c336a6.json
  23. 2
      view/store/node_modules/.cache/babel-loader/646d3af4711e0cd4aebf93200be54d17.json
  24. 2
      view/store/node_modules/.cache/babel-loader/9c631b3689014d208b3589bc3d2af55c.json
  25. 13
      view/store/src/api/setting.js
  26. 9
      view/store/src/router/modules/set.js

@ -10,6 +10,7 @@
// +----------------------------------------------------------------------
namespace app\controller\api\v2\activity;
use app\controller\store\AuthController;
use app\services\activity\coupon\StoreCouponIssueServices;
use app\services\product\product\StoreProductCouponServices;
use think\facade\Db;
@ -21,7 +22,7 @@ use think\Request;
* Class StoreCoupons
* @package app\controller\api\v2\store
*/
class StoreCoupons
class StoreCoupons extends AuthController
{
protected $services;
@ -121,7 +122,7 @@ class StoreCoupons
public function getTableDetail(Request $request, $id)
{
$info = Db::name('table_qrcode')
->where('cate_id', $id)
->where('id', $id)
->find();
//营销经理列表
@ -137,9 +138,9 @@ class StoreCoupons
public function tableYuDing(Request $request)
{
$uid = (int)$request->uid();
if(!$uid){
return app('json')->fail('预定失败,请先登录');
}
// if(!$uid){
// return app('json')->fail('预定失败,请先登录');
// }
$post = $request->postMore([
['table_id', 0],
@ -150,19 +151,90 @@ class StoreCoupons
['create', time()],
['admin_id', ''],
['remark', ''],
['store_id','']
['store_id',1]
]);
//校验这个桌子有无在使用
// return app('json')->fail('预定失败,该台桌正在使用中');
$info = Db::name('table_qrcode')
->where('id', $post['table_id'])
->find();
if(!$info){
return app('json')->fail('预定失败');
}
if($info['is_use'] != 0){
return app('json')->fail('预定失败,台桌正在使用中');
}
//插入预定表
Db::name('table_yuding')->insert($post);
//改桌子状态
Db::name('table_qrcode')->where('id',$post['table_id'])->update(['is_use'=>2]);
return app('json')->success('预定成功');
}
//存酒记录
public function getcunjiu(Request $request)
{
$uid = (int)$request->uid();
if(!$uid){
$list = [];
}else{
$list = Db::name('store_drink_save')
->order('id desc')
->where('uid', $uid)
->select()->toArray();
foreach ($list as &$v){
$v['table_number'] = Db::name('table_qrcode')
->where('id', $v['table_id'])
->value('table_number');
$v['c_time'] = date('Y-m-d H:i:s',$v['create']);
}
}
return app('json')->success('ok', $list);
}
//取酒记录
public function getqujiu(Request $request)
{
$uid = (int)$request->uid();
if(!$uid){
$list = [];
}else{
$list = Db::name('store_drink_log')
->alias('a')
->order('a.id desc')
->leftJoin('eb_store_drink_save b', 'a.pid = b.id')
->field('b.*,a.content')
->where('a.uid', $uid)
->where('a.type',2)
->select()->toArray();
foreach ($list as &$v){
$v['table_number'] = Db::name('table_qrcode')
->where('id', $v['table_id'])
->value('table_number');
$v['c_time'] = date('Y-m-d H:i:s',$v['create']);
$str = $v['content'];
$startPos = strpos($str, '】');
$endPos = strpos($str, '瓶', $startPos);
if ($startPos!== false && $endPos!== false) {
$number = substr($str, $startPos + 5, $endPos - $startPos - 5);
}
$v['num'] = $number;
}
}
return app('json')->success('操作成功',$list);
}

@ -116,6 +116,7 @@ class TableCode extends AuthController
$itme['add_time'] = date('Y-m-d H:i:s', $itme['add_time']);
$itme['sum'] = $this->qrcodeServices->count(['cate_id' => $itme['id'], 'store_id' => $this->storeId, 'is_del' => 0]);
}
return app('json')->successful($list);
}
@ -294,7 +295,6 @@ class TableCode extends AuthController
public function setconfig()
{
$data['baoxiang'] = input('baoxiang');
$data['kazuo'] = input('kazuo');
$data['santai'] = input('santai');
@ -309,4 +309,49 @@ class TableCode extends AuthController
return app('json')->success('操作成功');
}
public function getyuding()
{
$data = Db::name('table_yuding')->where('store_id', $this->storeId)->select()->toArray();
$list['count'] = Db::name('table_yuding')->where('is_del', 0)->where('store_id', $this->storeId)->count();
foreach ($data as &$v) {
$table = Db::name('table_qrcode')->where('id', $v['table_id'])->find();
$v['table_number'] = $table['table_number'];
$v['user_name'] = '游客';
if (!empty($v['user_id'])) {
$v['user_name'] = Db::name('user')->where('uid', $v['user_id'])->value('nickname');
}
$v['admin_name'] = '无';
if (!empty($v['admin_id'])) {
$v['admin_name'] = Db::name('user')->where('uid', $v['admin_id'])->value('nickname');
}
if($v['is_del'] == 0){
$v['status']='正常';
}else{
$v['status'] = '已取消';
}
}
$list['data'] = $data;
return app('json')->success('操作成功', $list);
}
public function quxiaoyuding()
{
$id = input('id');
$info = Db::name('table_yuding')->where('id', $id)->find();
$table = Db::name('table_qrcode')->where('id', $info['table_id'])->find();
if ($table['is_use'] != 2) {
return app('json')->success('操作失败');
}
Db::name('table_qrcode')->where('id', $id)->update(['is_use' => 0]);
Db::name('table_yuding')->where('id', $id)->update(['is_del' => 1]);
return app('json')->success('操作成功');
}
}

@ -646,6 +646,11 @@ Route::group('api', function () {
Route::get('getTableDetail/:id', 'v2.activity.StoreCoupons/getTableDetail');
//提交预定表单
Route::post('tableYuDing', 'v2.activity.StoreCoupons/tableYuDing');
//存酒记录
Route::get('getcunjiu', 'v2.activity.StoreCoupons/getcunjiu');
//取酒记录
Route::get('getqujiu', 'v2.activity.StoreCoupons/getqujiu');
})->middleware(AuthTokenMiddleware::class, false);
})->middleware(StationOpenMiddleware::class);

@ -184,6 +184,10 @@ Route::group('storeapi', function () {
Route::get('tableconfig', 'table.TableCode/tableconfig')->option(['real_name' => '获取桌码配置']);
//设置桌码配置
Route::post('setconfig', 'table.TableCode/setconfig')->option(['real_name' => '设置桌码配置']);
//获取预定信息
Route::get('getyuding', 'table.TableCode/getyuding')->option(['real_name' => '获取预定信息']);
Route::get('getyuding2', 'table.TableCode/quxiaoyuding')->option(['real_name' => '取消预定']);
})->middleware([AuthTokenMiddleware::class, StoreCkeckRoleMiddleware::class, StoreLogMiddleware::class]);

@ -1,7 +1,34 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ChangeListManager">
<list default="true" id="9c417491-8335-4cea-8a68-07f69eb1afbf" name="变更" comment="" />
<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$/.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" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
@ -16,7 +43,7 @@
<component name="MarkdownSettingsMigration">
<option name="stateVersion" value="1" />
</component>
<component name="ProjectId" id="2npZOCtfWXTmQ1CwdHi5bAIoQiN" />
<component name="ProjectId" id="2nuWUT9ZidTj2b9MGscTD70ta87" />
<component name="ProjectLevelVcsManager" settingsEditedManually="true" />
<component name="ProjectViewState">
<option name="hideEmptyMiddlePackages" value="true" />
@ -29,19 +56,17 @@
<property name="node.js.detected.package.eslint" value="true" />
<property name="node.js.selected.package.eslint" value="(autodetect)" />
<property name="nodejs_package_manager_path" value="yarn" />
<property name="ts.external.directory.path" value="D:\BaiduNetdiskDownload\phpstormls_jb51(1)\PhpStorm_2021.3_Portable\plugins\JavaScriptLanguage\jsLanguageServicesImpl\external" />
<property name="vue.rearranger.settings.migration" value="true" />
</component>
<component name="SpellCheckerSettings" RuntimeDictionaries="0" Folders="0" CustomDictionaries="0" DefaultDictionary="应用程序级" UseSingleDictionary="true" transferred="true" />
<component name="TaskManager">
<task active="true" id="Default" summary="默认任务">
<changelist id="9c417491-8335-4cea-8a68-07f69eb1afbf" name="变更" comment="" />
<created>1729671943222</created>
<changelist id="12822943-fe9c-4b5b-8a98-673c8d57ebcd" name="变更" comment="" />
<created>1729823457127</created>
<option name="number" value="Default" />
<option name="presentableId" value="Default" />
<updated>1729671943222</updated>
<workItem from="1729671944415" duration="2436000" />
<workItem from="1729731667920" duration="77000" />
<updated>1729823457127</updated>
<workItem from="1729823459761" duration="7376000" />
</task>
<servers />
</component>

@ -1,4 +1,4 @@
<!DOCTYPE html><html><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1,user-scalable=no"><link rel="shortcut icon" href=/favicon.ico><title>CRMEB</title><link href=/view_store/css/chunk-vendors.0f797c04.css rel=stylesheet><link href=/view_store/css/app.85b98d7b.css rel=stylesheet></head><body><noscript><strong>请开启 JavaScript 功能来使用 CRMEB。</strong></noscript><iframe id=IEIframe style="display: none;" width=100% height=100% src=/static/ie.html frameborder=0></iframe><div id=app></div><script src=/view_store/js/chunk-vendors.f807b2f3.js></script><script src=/view_store/js/app.7062477d.js></script></body><script>function IEVersion() {
<!DOCTYPE html><html><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1,user-scalable=no"><link rel="shortcut icon" href=/favicon.ico><title>CRMEB</title><link href=/view_store/css/chunk-vendors.0f797c04.css rel=stylesheet><link href=/view_store/css/app.85b98d7b.css rel=stylesheet></head><body><noscript><strong>请开启 JavaScript 功能来使用 CRMEB。</strong></noscript><iframe id=IEIframe style="display: none;" width=100% height=100% src=/static/ie.html frameborder=0></iframe><div id=app></div><script src=/view_store/js/chunk-vendors.d1fe3319.js></script><script src=/view_store/js/app.aa314370.js></script></body><script>function IEVersion() {
var userAgent = navigator.userAgent; //取得浏览器的userAgent字符串
var isIE =
userAgent.indexOf("compatible") > -1 && userAgent.indexOf("MSIE") > -1; //判断是否IE<11浏览器

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

@ -1 +0,0 @@
(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["I"])(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

@ -1 +1 @@
{"remainingRequest":"D:\\codeeeeee\\酒水代码\\view\\store\\node_modules\\babel-loader\\lib\\index.js!D:\\codeeeeee\\酒水代码\\view\\store\\node_modules\\eslint-loader\\index.js??ref--13-0!D:\\codeeeeee\\酒水代码\\view\\store\\src\\router\\modules\\set.js","dependencies":[{"path":"D:\\codeeeeee\\酒水代码\\view\\store\\src\\router\\modules\\set.js","mtime":1729496480117},{"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\\eslint-loader\\index.js","mtime":1729046409050}],"contextDependencies":[],"result":["// +----------------------------------------------------------------------\n// | CRMEB [ CRMEB赋能开发者,助力企业发展 ]\n// +----------------------------------------------------------------------\n// | Copyright (c) 2016~2021 https://www.crmeb.com All rights reserved.\n// +----------------------------------------------------------------------\n// | Licensed CRMEB并不是自由软件,未经许可不能去掉CRMEB相关版权\n// +----------------------------------------------------------------------\n// | Author: CRMEB Team <admin@crmeb.com>\n// +----------------------------------------------------------------------\nimport BasicLayout from '@/layouts/basic-layout';\nimport Setting from \"@/setting\";\nvar pre = 'set_';\nexport default {\n path: \"\".concat(Setting.routePre, \"/set/\"),\n name: 'set',\n header: 'set',\n meta: {\n // 授权标识\n auth: ['store-set']\n },\n redirect: {\n name: \"\".concat(pre, \"set\")\n },\n component: BasicLayout,\n children: [{\n path: 'store',\n name: \"\".concat(pre, \"set\"),\n meta: {\n title: '门店设置',\n auth: ['store-set-store']\n },\n component: function component() {\n return import('@/pages/setting/index');\n }\n }, {\n path: 'index',\n name: \"\".concat(pre, \"setting\"),\n meta: {\n title: '电子面单打印',\n auth: ['store-set-index']\n },\n props: {\n typeMole: 'third'\n },\n component: function component() {\n return import('@/components/fromSubmit/commonForm.vue');\n }\n }, {\n path: 'hardware/ticket',\n name: \"\".concat(pre, \"ticket\"),\n meta: {\n title: '小票打印',\n auth: ['store-set-hardware-ticket']\n },\n component: function component() {\n return import('@/pages/setting/ticket/index');\n }\n }, {\n path: 'delivery/record',\n name: \"\".concat(pre, \"setting\"),\n meta: {\n title: '配送记录',\n auth: ['store-set-delivery-record']\n },\n component: function component() {\n return import('@/pages/setting/deliveryRecord/index');\n }\n }, {\n path: \"\".concat(Setting.routePre, \"/admin/index\"),\n name: \"\".concat(pre, \"admin\"),\n meta: {\n title: '管理员列表',\n auth: ['store-admin-index']\n },\n component: function component() {\n return import('@/pages/setting/admin/index');\n }\n }, {\n path: \"\".concat(Setting.routePre, \"/set/table_code/index\"),\n name: \"\".concat(pre, \"table_code\"),\n meta: {\n title: '桌码设置',\n auth: ['store-set-table_code-index']\n },\n component: function component() {\n return import('@/pages/setting/tableCode/index');\n }\n }, {\n path: \"\".concat(Setting.routePre, \"/set/table_code/config\"),\n name: \"\".concat(pre, \"table_code\"),\n meta: {\n title: '桌码押金',\n auth: ['store-set-table_code-index']\n },\n component: function component() {\n return import('@/pages/setting/tableCode/config');\n }\n }, {\n path: \"\".concat(Setting.routePre, \"/set/table_code/classify\"),\n name: \"\".concat(pre, \"tableCodeClassify\"),\n meta: {\n title: '桌码分类',\n auth: ['store-set-table_code-classify']\n },\n component: function component() {\n return import('@/pages/setting/tableCode/classify');\n }\n }, {\n path: \"\".concat(Setting.routePre, \"/set/table_code/list\"),\n name: \"\".concat(pre, \"tableCodeList\"),\n meta: {\n title: '桌码列表',\n auth: ['store-set-table_code-list']\n },\n component: function component() {\n return import('@/pages/setting/tableCode/list');\n }\n }]\n};",null]}
{"remainingRequest":"D:\\codeeeeee\\酒水代码\\view\\store\\node_modules\\babel-loader\\lib\\index.js!D:\\codeeeeee\\酒水代码\\view\\store\\node_modules\\eslint-loader\\index.js??ref--13-0!D:\\codeeeeee\\酒水代码\\view\\store\\src\\router\\modules\\set.js","dependencies":[{"path":"D:\\codeeeeee\\酒水代码\\view\\store\\src\\router\\modules\\set.js","mtime":1729823516858},{"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\\eslint-loader\\index.js","mtime":1729046409050}],"contextDependencies":[],"result":["// +----------------------------------------------------------------------\n// | CRMEB [ CRMEB赋能开发者,助力企业发展 ]\n// +----------------------------------------------------------------------\n// | Copyright (c) 2016~2021 https://www.crmeb.com All rights reserved.\n// +----------------------------------------------------------------------\n// | Licensed CRMEB并不是自由软件,未经许可不能去掉CRMEB相关版权\n// +----------------------------------------------------------------------\n// | Author: CRMEB Team <admin@crmeb.com>\n// +----------------------------------------------------------------------\nimport BasicLayout from '@/layouts/basic-layout';\nimport Setting from \"@/setting\";\nvar pre = 'set_';\nexport default {\n path: \"\".concat(Setting.routePre, \"/set/\"),\n name: 'set',\n header: 'set',\n meta: {\n // 授权标识\n auth: ['store-set']\n },\n redirect: {\n name: \"\".concat(pre, \"set\")\n },\n component: BasicLayout,\n children: [{\n path: 'store',\n name: \"\".concat(pre, \"set\"),\n meta: {\n title: '门店设置',\n auth: ['store-set-store']\n },\n component: function component() {\n return import('@/pages/setting/index');\n }\n }, {\n path: 'index',\n name: \"\".concat(pre, \"setting\"),\n meta: {\n title: '电子面单打印',\n auth: ['store-set-index']\n },\n props: {\n typeMole: 'third'\n },\n component: function component() {\n return import('@/components/fromSubmit/commonForm.vue');\n }\n }, {\n path: 'hardware/ticket',\n name: \"\".concat(pre, \"ticket\"),\n meta: {\n title: '小票打印',\n auth: ['store-set-hardware-ticket']\n },\n component: function component() {\n return import('@/pages/setting/ticket/index');\n }\n }, {\n path: 'delivery/record',\n name: \"\".concat(pre, \"setting\"),\n meta: {\n title: '配送记录',\n auth: ['store-set-delivery-record']\n },\n component: function component() {\n return import('@/pages/setting/deliveryRecord/index');\n }\n }, {\n path: \"\".concat(Setting.routePre, \"/admin/index\"),\n name: \"\".concat(pre, \"admin\"),\n meta: {\n title: '管理员列表',\n auth: ['store-admin-index']\n },\n component: function component() {\n return import('@/pages/setting/admin/index');\n }\n }, {\n path: \"\".concat(Setting.routePre, \"/set/table_code/index\"),\n name: \"\".concat(pre, \"table_code\"),\n meta: {\n title: '桌码设置',\n auth: ['store-set-table_code-index']\n },\n component: function component() {\n return import('@/pages/setting/tableCode/index');\n }\n }, {\n path: \"\".concat(Setting.routePre, \"/set/table_code/config\"),\n name: \"\".concat(pre, \"table_code\"),\n meta: {\n title: '桌码押金',\n auth: ['store-set-table_code-index']\n },\n component: function component() {\n return import('@/pages/setting/tableCode/config');\n }\n }, {\n path: \"\".concat(Setting.routePre, \"/set/table_code/yuding\"),\n name: \"\".concat(pre, \"table_code\"),\n meta: {\n title: '台桌预定',\n auth: ['store-set-table_code-index']\n },\n component: function component() {\n return import('@/pages/setting/tableCode/yuding');\n }\n }, {\n path: \"\".concat(Setting.routePre, \"/set/table_code/classify\"),\n name: \"\".concat(pre, \"tableCodeClassify\"),\n meta: {\n title: '桌码分类',\n auth: ['store-set-table_code-classify']\n },\n component: function component() {\n return import('@/pages/setting/tableCode/classify');\n }\n }, {\n path: \"\".concat(Setting.routePre, \"/set/table_code/list\"),\n name: \"\".concat(pre, \"tableCodeList\"),\n meta: {\n title: '桌码列表',\n auth: ['store-set-table_code-list']\n },\n component: function component() {\n return import('@/pages/setting/tableCode/list');\n }\n }]\n};",null]}

File diff suppressed because one or more lines are too long

@ -335,6 +335,19 @@ export function getTableQRCodeList(params) {
});
}
/**
* 获取桌码列表
* @param {*} params
* @returns
*/
export function getyuding(params) {
return request({
url: `/table/getyuding`,
method: 'get',
params
});
}
/**
* 桌码添加编辑
* @param {*} id

@ -90,6 +90,15 @@ export default {
},
component: () => import('@/pages/setting/tableCode/config')
},
{
path: `${Setting.routePre}/set/table_code/yuding`,
name: `${pre}table_code`,
meta: {
title: '台桌预定',
auth: ['store-set-table_code-index']
},
component: () => import('@/pages/setting/tableCode/yuding')
},
{
path: `${Setting.routePre}/set/table_code/classify`,
name: `${pre}tableCodeClassify`,

Loading…
Cancel
Save