wangmingchuan321@qq.com 6 months ago
parent 865519d63e
commit e39856ba28
  1. 2
      route/admin.php
  2. 8
      view/store/.idea/.gitignore
  3. 6
      view/store/.idea/inspectionProfiles/Project_Default.xml
  4. 8
      view/store/.idea/modules.xml
  5. 8
      view/store/.idea/store.iml
  6. 6
      view/store/.idea/vcs.xml
  7. 1
      view/store/node_modules/.cache/babel-loader/32830e63643180f4ab433ea159441c6f.json
  8. 2
      view/store/node_modules/.cache/babel-loader/646d3af4711e0cd4aebf93200be54d17.json
  9. 2
      view/store/node_modules/.cache/babel-loader/c4696f412f5c1f7c91a52b8714a12c78.json
  10. BIN
      view/store/node_modules/.cache/eslint-loader/038c8ed46a482c47463614398511793daa944cbc.json.gz
  11. BIN
      view/store/node_modules/.cache/eslint-loader/044eb2c8084c5230f332b222807bc40fe57c9130.json.gz
  12. BIN
      view/store/node_modules/.cache/eslint-loader/0a4cfd908ff53a02b362830d3960be4d887f796f.json.gz
  13. BIN
      view/store/node_modules/.cache/eslint-loader/0b69fc5aeec522e0fb588a60099923f38c5069b3.json.gz
  14. BIN
      view/store/node_modules/.cache/eslint-loader/0e13b8c5cca096f132e058424f82c64eb68e3050.json.gz
  15. BIN
      view/store/node_modules/.cache/eslint-loader/0f8ed1c49c10720e33000434dc5adbad3c8895a3.json.gz
  16. BIN
      view/store/node_modules/.cache/eslint-loader/11af74a02a365b96125d381c1e543472c900e40c.json.gz
  17. BIN
      view/store/node_modules/.cache/eslint-loader/135c214c53dfb63d3de0e24104cba9c59a228383.json.gz
  18. BIN
      view/store/node_modules/.cache/eslint-loader/1dfb0169e118fcf1938a938bfda6ba2c73bae509.json.gz
  19. BIN
      view/store/node_modules/.cache/eslint-loader/201d80f415e4e2852202f6acccafada4ef7775ed.json.gz
  20. BIN
      view/store/node_modules/.cache/eslint-loader/20ea1144d12109f937dad33db1b6acd2573000c0.json.gz
  21. BIN
      view/store/node_modules/.cache/eslint-loader/24302dc17b1df67fc77c277ba08108a01b2e3d01.json.gz
  22. BIN
      view/store/node_modules/.cache/eslint-loader/2da660b35e49f9429fdce126ec6d337cbd4b6197.json.gz
  23. BIN
      view/store/node_modules/.cache/eslint-loader/38c08c303465897c9ba31d0eff16eefe995aa404.json.gz
  24. BIN
      view/store/node_modules/.cache/eslint-loader/3a491a54ad07ffb0496dd75249e5a466f69891f1.json.gz
  25. BIN
      view/store/node_modules/.cache/eslint-loader/3c56b638eac4a6f7a3f29f0087b34c9dac034900.json.gz
  26. BIN
      view/store/node_modules/.cache/eslint-loader/4096929c04ad2f0a0a07b4545fb95d484241704b.json.gz
  27. BIN
      view/store/node_modules/.cache/eslint-loader/4257298caf54ad7bcb31175facdca9883439e020.json.gz
  28. BIN
      view/store/node_modules/.cache/eslint-loader/49201d29a93190660c6a6e65de8ebe107651306c.json.gz
  29. BIN
      view/store/node_modules/.cache/eslint-loader/4e32c7af754452be3685c94327a8fec0f2d4620f.json.gz
  30. BIN
      view/store/node_modules/.cache/eslint-loader/5de95153ad1a8bd4bc5e413cb6a84488a5b3fa02.json.gz
  31. BIN
      view/store/node_modules/.cache/eslint-loader/63eaadd09e2a3e00d88815a1b0ddfb5919bdec88.json.gz
  32. BIN
      view/store/node_modules/.cache/eslint-loader/68f42ba083305b68bac690bdf5f438badcbd1ed5.json.gz
  33. BIN
      view/store/node_modules/.cache/eslint-loader/6ce05b969152f1d9c29fac05bb561b1d00c9f619.json.gz
  34. BIN
      view/store/node_modules/.cache/eslint-loader/744d167771d25a65eafb5857051cb0e1e2d8eaca.json.gz
  35. BIN
      view/store/node_modules/.cache/eslint-loader/75e8753389cfe129d075a8c700640952a88bc7d2.json.gz
  36. BIN
      view/store/node_modules/.cache/eslint-loader/899b95f55acfca791fe2f5d23f0156b070b34c3a.json.gz
  37. BIN
      view/store/node_modules/.cache/eslint-loader/9cd7324a5397c837b674d0455be5e48774db1570.json.gz
  38. BIN
      view/store/node_modules/.cache/eslint-loader/9da2c55e8bd38f7bc0d8a12e5e29cdda7fc0545b.json.gz
  39. BIN
      view/store/node_modules/.cache/eslint-loader/9f041e45942724b14c715ba9da98c53347bed7fd.json.gz
  40. BIN
      view/store/node_modules/.cache/eslint-loader/a3e5b8bd1e0dda70fc81d4ad3945e3d6d0a49e39.json.gz
  41. BIN
      view/store/node_modules/.cache/eslint-loader/a7c9457c8d512f330f8902bb7762c43b430ae3a2.json.gz
  42. BIN
      view/store/node_modules/.cache/eslint-loader/a83ced3f1204f092bcc3d075d9a56fa110e58022.json.gz
  43. BIN
      view/store/node_modules/.cache/eslint-loader/a990b5bfb9de85f7521ccb9bea1545d168f5b59f.json.gz
  44. BIN
      view/store/node_modules/.cache/eslint-loader/abc2fb5622ae163de88d754275682223cba550f1.json.gz
  45. BIN
      view/store/node_modules/.cache/eslint-loader/ad094f6aad5036b3212d9963d792f9745a927e49.json.gz
  46. BIN
      view/store/node_modules/.cache/eslint-loader/ad37e68d541f84bc359733c8c1c01aa00b1501b5.json.gz
  47. BIN
      view/store/node_modules/.cache/eslint-loader/ad74803010c03684c18ef3182e654385483347c9.json.gz
  48. BIN
      view/store/node_modules/.cache/eslint-loader/b4776384310320ecb5960c58e17c420d2641b872.json.gz
  49. BIN
      view/store/node_modules/.cache/eslint-loader/bb3adbf135124659fbdb526a2be805c0422ca5a7.json.gz
  50. BIN
      view/store/node_modules/.cache/eslint-loader/c0eb61c28f20d3f190e28c849921c075c3dec843.json.gz
  51. BIN
      view/store/node_modules/.cache/eslint-loader/c1ce725aec7d1b3295912c76caf5915a967abbe7.json.gz
  52. BIN
      view/store/node_modules/.cache/eslint-loader/c6dec9e1e19f8b3f57207bb754539c2457bbb242.json.gz
  53. BIN
      view/store/node_modules/.cache/eslint-loader/d23cd31e6183dd4b103f873324f7eefac6c2476b.json.gz
  54. BIN
      view/store/node_modules/.cache/eslint-loader/d71e8df8e007a8b8446801d45bb170668265c0d5.json.gz
  55. BIN
      view/store/node_modules/.cache/eslint-loader/d91e4c2fada15e3123a0dd85c7831024b03072a4.json.gz
  56. BIN
      view/store/node_modules/.cache/eslint-loader/daebfc8778fa9da6faee399141315e294c369ead.json.gz
  57. BIN
      view/store/node_modules/.cache/eslint-loader/dc07f52e4d4b6a3a53c6895ced687423f2135051.json.gz
  58. BIN
      view/store/node_modules/.cache/eslint-loader/de0a5062aaa70517681f2d22fea2cd7e14b0ba62.json.gz
  59. BIN
      view/store/node_modules/.cache/eslint-loader/df720cf3a29155cc1dd66874fb2e7fca3613b012.json.gz
  60. BIN
      view/store/node_modules/.cache/eslint-loader/e1210ffb45e61ba255d78f21aa7be4945dad8684.json.gz
  61. BIN
      view/store/node_modules/.cache/eslint-loader/e7b1d961a6fe1f834684bd381b680bbeaa7d65d3.json.gz
  62. BIN
      view/store/node_modules/.cache/eslint-loader/f53d910d3912c0156896a38b990fad6206e256ae.json.gz
  63. BIN
      view/store/node_modules/.cache/eslint-loader/f56e46f73d18385c46e90c6ff036cef384e123be.json.gz
  64. BIN
      view/store/node_modules/.cache/eslint-loader/fe11c887411f08e442461f5fb7642e9e0fa77378.json.gz
  65. 1
      view/store/node_modules/.cache/vue-loader/2ff7e99784ae563c4e164872376d6cce.json
  66. 1
      view/store/node_modules/.cache/vue-loader/805e0294d94cf1f6352a4059d482575a.json
  67. 1
      view/store/node_modules/.cache/vue-loader/8c203f4a1c50eeb5d160bc22fe4c3be0.json
  68. 1
      view/store/node_modules/.cache/vue-loader/d3d88ab5fb849a1f85dae6ed0cac322a.json
  69. 1
      view/store/node_modules/.cache/vue-loader/f03e13b2e98934dd705bc40808bdd6b5.json
  70. 47
      view/store/src/api/setting.js
  71. 159
      view/store/src/pages/setting/tableCode/config.vue
  72. 183
      view/store/src/router/modules/set.js

@ -1305,7 +1305,7 @@ Route::group('adminapi', function () {
Route::group('order', function () {
//打印订单
Route::get('print/:id', 'v1.order.StoreOrder/order_print')->name('StoreOrderPrint')->option(['real_name' => '打印订单']);
Route::get("printlist", 'v1.order.StoreOrder/printlist')->name("printlist")->option(["real_name" => "打印订单列表"])
Route::get("printlist", 'v1.order.StoreOrder/printlist')->name("printlist")->option(["real_name" => "打印订单列表"]);
//订单列表
Route::get('list', 'v1.order.StoreOrder/lst')->name('StoreOrderList')->option(['real_name' => '订单列表']);
//订单头部数据

@ -0,0 +1,8 @@
# 默认忽略的文件
/shelf/
/workspace.xml
# 基于编辑器的 HTTP 客户端请求
/httpRequests/
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml

@ -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>

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/store.iml" filepath="$PROJECT_DIR$/.idea/store.iml" />
</modules>
</component>
</project>

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="WEB_MODULE" version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$/../.." vcs="Git" />
</component>
</project>

@ -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\\config.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\codeeeeee\\酒水代码\\view\\store\\src\\pages\\setting\\tableCode\\config.vue","mtime":1729503614991},{"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//\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//\n//\n//\nimport { getConfig2, submitConfig } from '@/api/setting';\nexport default {\n data: function data() {\n return {\n tableSeatsList: [],\n modal: false,\n formData: {\n baoxiang: 2,\n kazuo: '1',\n santai: '1',\n tongzhuo: '1'\n },\n id: 0,\n number: 1\n };\n },\n created: function created() {\n this.getConfig();\n },\n methods: {\n getConfig: function getConfig() {\n var _this = this;\n\n getConfig2('store_table_confi111g').then(function (res) {\n if (res.data.constructor.name === 'Array') {\n return;\n }\n\n _this.formData = res.data;\n });\n },\n // 提交桌码配置\n handleSubmit: function handleSubmit(name) {\n var _this2 = this;\n\n this.$refs[name].validate(function (valid) {\n if (valid) {\n submitConfig('store_table_code', _this2.formData).then(function (res) {\n _this2.$Message.success(res.msg);\n });\n }\n });\n }\n }\n};",null]}

@ -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":1729046414579},{"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/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":1729496425995},{"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: '桌码设置222',\n auth: ['store-set-table_code-config']\n },\n component: function component() {\n return import('@/pages/setting/tableCode/index');\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

@ -0,0 +1 @@
{"remainingRequest":"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\\config.vue?vue&type=template&id=982a4e4e&scoped=true&","dependencies":[{"path":"D:\\codeeeeee\\酒水代码\\view\\store\\src\\pages\\setting\\tableCode\\config.vue","mtime":1729503614991},{"path":"D:\\codeeeeee\\酒水代码\\view\\store\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1729046406806},{"path":"D:\\codeeeeee\\酒水代码\\view\\store\\node_modules\\vue-loader\\lib\\loaders\\templateLoader.js","mtime":1729046413411},{"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<div>\n <Card :bordered=\"false\" dis-hover>\n <Row>\n <Col span=\"20\">\n <Form ref=\"form\" :model=\"formData\" :label-width=\"110\">\n\n <FormItem label=\"包厢预约:\">\n <RadioGroup v-model=\"formData.baoxiang\">\n <Radio label=\"1\" class=\"mr20\">押金</Radio>\n <Radio label=\"2\">免押金</Radio>\n </RadioGroup>\n\n </FormItem>\n\n <FormItem v-show=\"formData.baoxiang == 1\">\n <input style=\"height: 20px;width: 100px\" type=\"number\"></input>\n </FormItem>\n\n\n <FormItem label=\"卡座预约:\">\n <RadioGroup v-model=\"formData.kazuo\">\n <Radio label=\"1\" class=\"mr20\">押金</Radio>\n <Radio label=\"2\">免押金</Radio>\n </RadioGroup>\n\n </FormItem>\n\n <FormItem v-show=\"formData.kazuo == 1\">\n <input style=\"height: 20px;width: 100px\" type=\"number\"></input>\n </FormItem>\n\n <FormItem label=\"散台预约:\">\n <RadioGroup v-model=\"formData.santai\">\n <Radio label=\"1\" class=\"mr20\">押金</Radio>\n <Radio label=\"2\">免押金</Radio>\n </RadioGroup>\n\n </FormItem>\n\n <FormItem v-show=\"formData.santai == 1\">\n <input style=\"height: 20px;width: 100px\" type=\"number\"></input>\n </FormItem>\n\n <FormItem label=\"通桌预约:\">\n <RadioGroup v-model=\"formData.tongzhuo\">\n <Radio label=\"1\" class=\"mr20\">押金</Radio>\n <Radio label=\"2\">免押金</Radio>\n </RadioGroup>\n\n </FormItem>\n\n <FormItem v-show=\"formData.tongzhuo == 1\">\n <input style=\"height: 20px;width: 100px\" type=\"number\"></input>\n </FormItem>\n\n\n <FormItem label=\"预约锁定时长:\">\n <input style=\"height: 20px;width: 100px\" type=\"number\"></input>\n </FormItem>\n\n\n </Form>\n </Col>\n </Row>\n <div class=\"footer acea-row row-center-wrapper\">\n <Button type=\"primary\" class=\"ml20\" @click=\"handleSubmit('form')\">提交</Button>\n </div>\n </Card>\n\n</div>\n",null]}

@ -0,0 +1 @@
{"remainingRequest":"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\\config.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\codeeeeee\\酒水代码\\view\\store\\src\\pages\\setting\\tableCode\\config.vue","mtime":1729503614991},{"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//\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//\n//\n//\n\r\nimport {getConfig2, submitConfig} from '@/api/setting';\r\n\r\nexport default {\r\n data() {\r\n return {\r\n\r\n tableSeatsList: [],\r\n modal: false,\r\n formData: {\r\n baoxiang: 2,\r\n kazuo: '1',\r\n santai: '1',\r\n tongzhuo: '1',\r\n },\r\n id: 0,\r\n number: 1,\r\n };\r\n },\r\n created() {\r\n this.getConfig();\r\n\r\n },\r\n methods: {\r\n getConfig() {\r\n getConfig2('store_table_confi111g').then((res) => {\r\n if (res.data.constructor.name === 'Array') {\r\n return;\r\n }\r\n this.formData = res.data;\r\n });\r\n },\r\n\r\n // 提交桌码配置\r\n handleSubmit(name) {\r\n this.$refs[name].validate((valid) => {\r\n if (valid) {\r\n submitConfig('store_table_code', this.formData).then((res) => {\r\n this.$Message.success(res.msg);\r\n });\r\n }\r\n });\r\n },\r\n\r\n },\r\n};\r\n",null]}

File diff suppressed because one or more lines are too long

@ -0,0 +1 @@
{"remainingRequest":"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\\node_modules\\eslint-loader\\index.js??ref--13-0!D:\\codeeeeee\\酒水代码\\view\\store\\src\\pages\\setting\\tableCode\\config.vue","dependencies":[{"path":"D:\\codeeeeee\\酒水代码\\view\\store\\src\\pages\\setting\\tableCode\\config.vue","mtime":1729503614991},{"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},{"path":"D:\\codeeeeee\\酒水代码\\view\\store\\node_modules\\eslint-loader\\index.js","mtime":1729046409050}],"contextDependencies":[],"result":["import { render, staticRenderFns } from \"./config.vue?vue&type=template&id=982a4e4e&scoped=true&\"\nimport script from \"./config.vue?vue&type=script&lang=js&\"\nexport * from \"./config.vue?vue&type=script&lang=js&\"\nimport style0 from \"./config.vue?vue&type=style&index=0&id=982a4e4e&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"982a4e4e\",\n null\n \n)\n\n/* hot reload */\nif (module.hot) {\n var api = require(\"D:\\\\codeeeeee\\\\酒水代码\\\\view\\\\store\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!api.isRecorded('982a4e4e')) {\n api.createRecord('982a4e4e', component.options)\n } else {\n api.reload('982a4e4e', component.options)\n }\n module.hot.accept(\"./config.vue?vue&type=template&id=982a4e4e&scoped=true&\", function () {\n api.rerender('982a4e4e', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"src/pages/setting/tableCode/config.vue\"\nexport default component.exports"]}

@ -0,0 +1 @@
{"remainingRequest":"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\\config.vue?vue&type=style&index=0&id=982a4e4e&lang=less&scoped=true&","dependencies":[{"path":"D:\\codeeeeee\\酒水代码\\view\\store\\src\\pages\\setting\\tableCode\\config.vue","mtime":1729503614991},{"path":"D:\\codeeeeee\\酒水代码\\view\\store\\node_modules\\css-loader\\index.js","mtime":1729046407873},{"path":"D:\\codeeeeee\\酒水代码\\view\\store\\node_modules\\vue-loader\\lib\\loaders\\stylePostLoader.js","mtime":1729046413411},{"path":"D:\\codeeeeee\\酒水代码\\view\\store\\node_modules\\less-loader\\dist\\cjs.js","mtime":1729046410386},{"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\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\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\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\n/deep/ .ivu-modal-content {\r\n border-radius: 10px;\r\n}\r\n\r\n/deep/ .ivu-modal-header {\r\n border-radius: 10px 10px 0 0;\r\n background-color: #ffffff;\r\n}\r\n\r\n/deep/ .ivu-modal-body {\r\n padding: 28px 31px 31px 0;\r\n}\r\n\r\n/deep/ .ivu-input-number {\r\n width: 100%;\r\n}\r\n\r\n.add-modal-wrap {\r\n .footer {\r\n height: auto;\r\n margin-top: 0;\r\n box-shadow: none;\r\n text-align: right;\r\n }\r\n}\r\n\r\n.footer {\r\n width: 100%;\r\n height: 50px;\r\n box-shadow: 0px -2px 4px 0px rgba(0, 0, 0, 0.05);\r\n margin-top: 50px;\r\n}\r\n\r\n/deep/ .ivu-card-body {\r\n padding-bottom: 0;\r\n}\r\n",null]}

@ -241,11 +241,18 @@ export function getConfig(type) {
});
}
export function getConfig2(type) {
return request({
url: `/system/tableconfig`,
method: 'get'
});
}
/**
* 保存门店配置
* @param {*} type
* @param {*} data
* @returns
* @param {*} type
* @param {*} data
* @returns
*/
export function submitConfig(type, data) {
return request({
@ -257,7 +264,7 @@ export function submitConfig(type, data) {
/**
* 获取餐桌座位数列表
* @returns
* @returns
*/
export function getTableSeatsList() {
return request({
@ -268,9 +275,9 @@ export function getTableSeatsList() {
/**
* 添加编辑餐桌座位数
* @param {*} id
* @param {*} params
* @returns
* @param {*} id
* @param {*} params
* @returns
*/
export function addSeats(id, params) {
return request({
@ -282,8 +289,8 @@ export function addSeats(id, params) {
/**
* 获取桌码分类列表
* @param {*} params
* @returns
* @param {*} params
* @returns
*/
export function getTableCateList(params) {
return request({
@ -295,9 +302,9 @@ export function getTableCateList(params) {
/**
* 添加编辑桌码分类
* @param {*} id
* @param {*} params
* @returns
* @param {*} id
* @param {*} params
* @returns
*/
export function addTableCate(id, params) {
return request({
@ -309,8 +316,8 @@ export function addTableCate(id, params) {
/**
* 获取桌码列表
* @param {*} params
* @returns
* @param {*} params
* @returns
*/
export function getTableQRCodeList(params) {
return request({
@ -322,9 +329,9 @@ export function getTableQRCodeList(params) {
/**
* 桌码添加编辑
* @param {*} id
* @param {*} data
* @returns
* @param {*} id
* @param {*} data
* @returns
*/
export function addTableQRCode(id, data) {
return request({
@ -349,9 +356,9 @@ export function cashierMenusList() {
/**
* 桌码操作启用
* @param {*} id
* @param {*} params
* @returns
* @param {*} id
* @param {*} params
* @returns
*/
export function updateTableUsing(id, params) {
return request({

@ -0,0 +1,159 @@
<template>
<div>
<Card :bordered="false" dis-hover>
<Row>
<Col span="20">
<Form ref="form" :model="formData" :label-width="110">
<FormItem label="包厢预约:">
<RadioGroup v-model="formData.baoxiang">
<Radio label="1" class="mr20">押金</Radio>
<Radio label="2">免押金</Radio>
</RadioGroup>
</FormItem>
<FormItem v-show="formData.baoxiang == 1">
<input style="height: 20px;width: 100px" type="number"></input>
</FormItem>
<FormItem label="卡座预约:">
<RadioGroup v-model="formData.kazuo">
<Radio label="1" class="mr20">押金</Radio>
<Radio label="2">免押金</Radio>
</RadioGroup>
</FormItem>
<FormItem v-show="formData.kazuo == 1">
<input style="height: 20px;width: 100px" type="number"></input>
</FormItem>
<FormItem label="散台预约:">
<RadioGroup v-model="formData.santai">
<Radio label="1" class="mr20">押金</Radio>
<Radio label="2">免押金</Radio>
</RadioGroup>
</FormItem>
<FormItem v-show="formData.santai == 1">
<input style="height: 20px;width: 100px" type="number"></input>
</FormItem>
<FormItem label="通桌预约:">
<RadioGroup v-model="formData.tongzhuo">
<Radio label="1" class="mr20">押金</Radio>
<Radio label="2">免押金</Radio>
</RadioGroup>
</FormItem>
<FormItem v-show="formData.tongzhuo == 1">
<input style="height: 20px;width: 100px" type="number"></input>
</FormItem>
<FormItem label="预约锁定时长:">
<input style="height: 20px;width: 100px" type="number"></input>
</FormItem>
</Form>
</Col>
</Row>
<div class="footer acea-row row-center-wrapper">
<Button type="primary" class="ml20" @click="handleSubmit('form')">提交</Button>
</div>
</Card>
</div>
</template>
<script>
import {getConfig2, submitConfig} from '@/api/setting';
export default {
data() {
return {
tableSeatsList: [],
modal: false,
formData: {
baoxiang: 2,
kazuo: '1',
santai: '1',
tongzhuo: '1',
},
id: 0,
number: 1,
};
},
created() {
this.getConfig();
},
methods: {
getConfig() {
getConfig2('store_table_confi111g').then((res) => {
if (res.data.constructor.name === 'Array') {
return;
}
this.formData = res.data;
});
},
//
handleSubmit(name) {
this.$refs[name].validate((valid) => {
if (valid) {
submitConfig('store_table_code', this.formData).then((res) => {
this.$Message.success(res.msg);
});
}
});
},
},
};
</script>
<style lang="less" scoped>
/deep/ .ivu-modal-content {
border-radius: 10px;
}
/deep/ .ivu-modal-header {
border-radius: 10px 10px 0 0;
background-color: #ffffff;
}
/deep/ .ivu-modal-body {
padding: 28px 31px 31px 0;
}
/deep/ .ivu-input-number {
width: 100%;
}
.add-modal-wrap {
.footer {
height: auto;
margin-top: 0;
box-shadow: none;
text-align: right;
}
}
.footer {
width: 100%;
height: 50px;
box-shadow: 0px -2px 4px 0px rgba(0, 0, 0, 0.05);
margin-top: 50px;
}
/deep/ .ivu-card-body {
padding-bottom: 0;
}
</style>

@ -13,91 +13,100 @@ import Setting from "@/setting";
const pre = 'set_';
export default {
path: `${Setting.routePre}/set/`,
name: 'set',
header: 'set',
meta: {
// 授权标识
auth: ['store-set']
},
redirect: {
name: `${pre}set`
},
component: BasicLayout,
children: [{
path: 'store',
name: `${pre}set`,
meta: {
title: '门店设置',
auth: ['store-set-store']
},
component: () => import('@/pages/setting/index')
},
{
path: 'index',
name: `${pre}setting`,
meta: {
title: '电子面单打印',
auth: ['store-set-index']
},
props: {
typeMole: 'third'
},
component: () => import('@/components/fromSubmit/commonForm.vue')
},
{
path: 'hardware/ticket',
name: `${pre}ticket`,
meta: {
title: '小票打印',
auth: ['store-set-hardware-ticket']
},
component: () => import('@/pages/setting/ticket/index')
},
{
path: 'delivery/record',
name: `${pre}setting`,
meta: {
title: '配送记录',
auth: ['store-set-delivery-record']
},
component: () => import('@/pages/setting/deliveryRecord/index')
},
{
path: `${Setting.routePre}/admin/index`,
name: `${pre}admin`,
meta: {
title: '管理员列表',
auth: ['store-admin-index']
},
component: () => import('@/pages/setting/admin/index')
},
{
path: `${Setting.routePre}/set/table_code/index`,
name: `${pre}table_code`,
meta: {
title: '桌码设置',
auth: ['store-set-table_code-index']
},
component: () => import('@/pages/setting/tableCode/index')
},
{
path: `${Setting.routePre}/set/table_code/classify`,
name: `${pre}tableCodeClassify`,
meta: {
title: '桌码分类',
auth: ['store-set-table_code-classify']
},
component: () => import('@/pages/setting/tableCode/classify')
},
{
path: `${Setting.routePre}/set/table_code/list`,
name: `${pre}tableCodeList`,
meta: {
title: '桌码列表',
auth: ['store-set-table_code-list']
},
component: () => import('@/pages/setting/tableCode/list')
}
]
path: `${Setting.routePre}/set/`,
name: 'set',
header: 'set',
meta: {
// 授权标识
auth: ['store-set']
},
redirect: {
name: `${pre}set`
},
component: BasicLayout,
children: [{
path: 'store',
name: `${pre}set`,
meta: {
title: '门店设置',
auth: ['store-set-store']
},
component: () => import('@/pages/setting/index')
},
{
path: 'index',
name: `${pre}setting`,
meta: {
title: '电子面单打印',
auth: ['store-set-index']
},
props: {
typeMole: 'third'
},
component: () => import('@/components/fromSubmit/commonForm.vue')
},
{
path: 'hardware/ticket',
name: `${pre}ticket`,
meta: {
title: '小票打印',
auth: ['store-set-hardware-ticket']
},
component: () => import('@/pages/setting/ticket/index')
},
{
path: 'delivery/record',
name: `${pre}setting`,
meta: {
title: '配送记录',
auth: ['store-set-delivery-record']
},
component: () => import('@/pages/setting/deliveryRecord/index')
},
{
path: `${Setting.routePre}/admin/index`,
name: `${pre}admin`,
meta: {
title: '管理员列表',
auth: ['store-admin-index']
},
component: () => import('@/pages/setting/admin/index')
},
{
path: `${Setting.routePre}/set/table_code/index`,
name: `${pre}table_code`,
meta: {
title: '桌码设置',
auth: ['store-set-table_code-index']
},
component: () => import('@/pages/setting/tableCode/index')
},
{
path: `${Setting.routePre}/set/table_code/config`,
name: `${pre}table_code`,
meta: {
title: '桌码押金',
auth: ['store-set-table_code-index']
},
component: () => import('@/pages/setting/tableCode/config')
},
{
path: `${Setting.routePre}/set/table_code/classify`,
name: `${pre}tableCodeClassify`,
meta: {
title: '桌码分类',
auth: ['store-set-table_code-classify']
},
component: () => import('@/pages/setting/tableCode/classify')
},
{
path: `${Setting.routePre}/set/table_code/list`,
name: `${pre}tableCodeList`,
meta: {
title: '桌码列表',
auth: ['store-set-table_code-list']
},
component: () => import('@/pages/setting/tableCode/list')
}
]
};

Loading…
Cancel
Save