parent
8e6a2de69e
commit
c4b1ea1b7a
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
2
view/store/node_modules/.cache/babel-loader/4d6f1e4756d37052b2544d3680c336a6.json
generated
vendored
2
view/store/node_modules/.cache/babel-loader/4d6f1e4756d37052b2544d3680c336a6.json
generated
vendored
File diff suppressed because one or more lines are too long
2
view/store/node_modules/.cache/babel-loader/646d3af4711e0cd4aebf93200be54d17.json
generated
vendored
2
view/store/node_modules/.cache/babel-loader/646d3af4711e0cd4aebf93200be54d17.json
generated
vendored
@ -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]} |
2
view/store/node_modules/.cache/babel-loader/9c631b3689014d208b3589bc3d2af55c.json
generated
vendored
2
view/store/node_modules/.cache/babel-loader/9c631b3689014d208b3589bc3d2af55c.json
generated
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in new issue