canyin-project/ybcy/views/channel/index/static/js/chunk-4121b5f0.214c2ad2.js
2024-11-01 16:07:54 +08:00

1 line
14 KiB
JavaScript

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-4121b5f0"],{2725:function(t,e,n){t.exports=n.p+"static/img/tishi1.543c73f7.png"},7083:function(t,e,n){},"7b42":function(t,e,n){t.exports=n.p+"static/img/tishi4.901e4850.png"},"7d6f":function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"outmain ba_f"},[t._m(0),a("div",{staticClass:"flex mar_t20"},[a("div",{staticClass:"flex-g-1 mar_lr20 t_c card"},[a("div",{staticClass:"fon_16 lh16 wei"},[t._v("点单码")]),a("div",{staticClass:"color_6 mar_t20 fon_14"},[t._v("门店点单二维码,用于用户扫码点单")]),a("div",{staticClass:"mar_t40"},[a("img",{staticClass:"codeimg",attrs:{src:t.goods.url}})]),a("div",{staticClass:"flex-center"},[a("div",{staticClass:"flex"},[a("div",[t._v("二维码链接:")]),a("div",[a("el-button",{attrs:{type:"text"},on:{click:function(e){return t.copyText(t.goods.data)}}},[t._v("复制")])],1)]),a("div",{staticClass:"flex mar_l20"},[a("div",[t._v("小程序链接:")]),a("div",[a("el-button",{attrs:{type:"text"},on:{click:function(e){return t.copyText("yb_wm/index/goods")}}},[t._v("复制")])],1)])]),a("div",{staticClass:"mar_t20"},[a("a",{attrs:{href:t.downloadCode(t.goods.downUrl)}},[a("el-button",{attrs:{type:"primary"}},[t._v("下载聚合码")])],1),a("el-button",{staticClass:"mar_l20",on:{click:t.wxDdmcode}},[t._v("微信小程序码")]),a("el-button",{on:{click:t.zfbDdmCode}},[t._v("支付宝小程序码")])],1)]),a("div",{staticClass:"flex-g-1 mar_lr20 t_c card"},[a("div",{staticClass:"fon_16 lh16 wei"},[t._v("快餐码")]),a("div",{staticClass:"color_6 mar_t20 fon_14"},[t._v("门店快餐二维码,用于用户扫码下单")]),a("div",{staticClass:"mar_t40"},[a("img",{staticClass:"codeimg",attrs:{src:t.fastOrder.url}})]),a("div",{staticClass:"flex-x-center"},[a("div",{staticClass:"flex"},[a("div",[t._v("二维码链接:")]),a("div",[a("el-button",{attrs:{type:"text"},on:{click:function(e){return t.copyText(t.fastOrder.data)}}},[t._v("复制")])],1)]),a("div",{staticClass:"flex mar_l20"},[a("div",[t._v("小程序链接:")]),a("div",[a("el-button",{attrs:{type:"text"},on:{click:function(e){return t.copyText("yb_wm/shop/ffmode/goods")}}},[t._v("复制")])],1)])]),a("div",{staticClass:"mar_t20"},[a("a",{attrs:{href:t.downloadCode(t.fastOrder.downUrl)}},[a("el-button",{attrs:{type:"primary"}},[t._v("下载聚合码")])],1),a("el-button",{staticClass:"mar_l20",on:{click:t.wxKccode}},[t._v("微信小程序码")]),a("el-button",{on:{click:t.zfbKcCode}},[t._v("支付宝小程序码")])],1)]),a("div",{staticClass:"flex-g-1 mar_lr20 t_c card"},[a("div",{staticClass:"fon_16 lh16 wei"},[t._v("当面付")]),a("div",{staticClass:"color_6 mar_t20 fon_14"},[t._v("门店自己的收银二维码,用于用户扫码付款")]),a("div",{staticClass:"mar_t40"},[a("img",{staticClass:"codeimg",attrs:{src:t.cashier.url}})]),a("div",{staticClass:"flex-x-center"},[a("div",{staticClass:"flex"},[a("div",[t._v("二维码链接:")]),a("div",[a("el-button",{attrs:{type:"text"},on:{click:function(e){return t.copyText(t.cashier.data)}}},[t._v("复制")])],1)]),a("div",{staticClass:"flex mar_l20"},[a("div",[t._v("小程序链接:")]),a("div",[a("el-button",{attrs:{type:"text"},on:{click:function(e){return t.copyText("yb_wm/shop/in/dmf")}}},[t._v("复制")])],1)])]),a("div",{staticClass:"mar_t20"},[a("a",{attrs:{href:t.downloadCode(t.cashier.downUrl)}},[a("el-button",{attrs:{type:"primary"}},[t._v("下载聚合码")])],1),a("el-button",{staticClass:"mar_l20",on:{click:t.wxDmfcode}},[t._v("微信小程序码")]),a("el-button",{staticClass:"mar_l20",on:{click:t.zfbDmfCode}},[t._v("支付宝小程序码")])],1)])]),a("el-dialog",{staticClass:"tishidialog",attrs:{title:"操作提示",visible:t.dialogTableVisible4,"close-on-click-modal":!1,width:"1300px"},on:{"update:visible":function(e){t.dialogTableVisible4=e}}},[a("div",{staticClass:"t_c"},[a("div",{directives:[{name:"show",rawName:"v-show",value:"1"==t.tishiType,expression:"tishiType=='1'"}],staticClass:"t_l"},[a("img",{staticClass:"mar_l20",attrs:{src:n("2725")}})]),a("div",{directives:[{name:"show",rawName:"v-show",value:"2"==t.tishiType,expression:"tishiType=='2'"}],staticClass:"t_c"},[a("img",{staticClass:"mar_l20",attrs:{src:n("d425")}})]),a("div",{directives:[{name:"show",rawName:"v-show",value:"3"==t.tishiType,expression:"tishiType=='3'"}],staticClass:"t_c"},[a("img",{staticClass:"mar_l20",attrs:{src:n("ecca")}})]),a("div",{directives:[{name:"show",rawName:"v-show",value:"4"==t.tishiType,expression:"tishiType=='4'"}],staticClass:"t_l"},[a("img",{staticClass:"mar_l20",attrs:{src:n("7b42")}})])])]),a("el-dialog",{attrs:{title:"二维码",visible:t.dialogVisiblecode,"close-on-click-modal":!1,width:"40%"},on:{"update:visible":function(e){t.dialogVisiblecode=e}}},[a("div",{staticClass:"t_c"},["1"==t.codeType?a("img",{staticClass:"wid imgCode",attrs:{src:t.wxDdmcodeImg}}):t._e(),"2"==t.codeType?a("img",{staticClass:"wid imgCode",attrs:{src:t.wxKccodeImg}}):t._e(),"3"==t.codeType?a("img",{staticClass:"wid imgCode",attrs:{src:t.wxDmfcodeImg}}):t._e(),"4"==t.codeType?a("img",{staticClass:"wid imgCode2",attrs:{src:t.zfbDdmcodeImg}}):t._e(),"5"==t.codeType?a("img",{staticClass:"wid imgCode2",attrs:{src:t.zfbKccodeImg}}):t._e(),"6"==t.codeType?a("img",{staticClass:"wid imgCode2",attrs:{src:t.zfbDmfcodeImg}}):t._e()]),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{attrs:{size:"medium"},on:{click:function(e){t.dialogVisiblecode=!1}}},[t._v("取 消")]),a("el-button",{attrs:{type:"primary",size:"medium"},on:{click:function(e){t.dialogVisiblecode=!1}}},[t._v("确 定")])],1)])],1)},r=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"shuju_title mar_b20"},[n("div",{staticClass:"shuju_title_text"},[n("span",[t._v("门店二维码管理")])])])}],i=(n("96cf"),n("1da1")),s=n("5530"),o=n("9cde"),c=n("2f62"),d=n("294d"),u={computed:Object(s["a"])({},Object(c["d"])(["storeId"])),created:function(){this.fetchData()},data:function(){return{activeName:"1",fastOrder:"",cashier:"",dialogTableVisible4:!1,tishiType:"",goods:"",wxDdmcodeImg:"",zfbDdmcodeImg:"",wxKccodeImg:"",zfbKccodeImg:"",wxDmfcodeImg:"",zfbDmfcodeImg:"",dialogVisiblecode:!1,codeType:""}},methods:{copyText:function(t){var e=t,n=document.createElement("input");n.value=e,console.log(n.value),document.body.appendChild(n),n.select(),document.execCommand("Copy"),n.className="oInput",n.style.display="none",this.$message({message:"复制成功",type:"success"})},fetchData:function(){var t=this;return Object(i["a"])(regeneratorRuntime.mark((function e(){var n,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(o["s"])({storeId:t.storeId});case 2:n=e.sent,a=n.data,t.fastOrder=a.fastOrder,t.cashier=a.cashier,t.goods=a.goods;case 7:case"end":return e.stop()}}),e)})))()},wxDdmcode:function(){var t=this;return Object(i["a"])(regeneratorRuntime.mark((function e(){var n,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(d["n"])({ident:"goods",page:"yb_wm/index/goods",storeId:t.storeId});case 2:n=e.sent,a=n.data,a&&(t.wxDdmcodeImg=a),t.codeType=1,t.dialogVisiblecode=!0;case 7:case"end":return e.stop()}}),e)})))()},wxKccode:function(){var t=this;return Object(i["a"])(regeneratorRuntime.mark((function e(){var n,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(d["n"])({ident:"fastOrder",page:"yb_wm/shop/ffmode/goods",storeId:t.storeId});case 2:n=e.sent,a=n.data,a&&(t.wxKccodeImg=a),t.codeType=2,t.dialogVisiblecode=!0;case 7:case"end":return e.stop()}}),e)})))()},wxDmfcode:function(){var t=this;return Object(i["a"])(regeneratorRuntime.mark((function e(){var n,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(d["n"])({ident:"dmf",page:"yb_wm/shop/in/dmf",storeId:t.storeId});case 2:n=e.sent,a=n.data,a&&(t.wxDmfcodeImg=a),t.codeType=3,t.dialogVisiblecode=!0;case 7:case"end":return e.stop()}}),e)})))()},zfbDdmCode:function(){var t=this;Object(d["k"])({page:"yb_wm/index/goods",pageType:"ali",storeId:this.storeId}).then((function(e){1==e.code&&(1==e.data.code&&(t.zfbDdmcodeImg="".concat(e.data.data,"+.jpg")),t.codeType=4,t.dialogVisiblecode=!0)}))},zfbKcCode:function(){var t=this;Object(d["k"])({page:"yb_wm/shop/ffmode/goods",pageType:"ali",storeId:this.storeId}).then((function(e){1==e.code&&(1==e.data.code&&(t.zfbKccodeImg="".concat(e.data.data,"+.jpg")),t.codeType=5,t.dialogVisiblecode=!0)}))},zfbDmfCode:function(){var t=this;Object(d["k"])({page:"yb_wm/shop/in/dmf",pageType:"ali",storeId:this.storeId}).then((function(e){1==e.code&&(1==e.data.code&&(t.zfbDmfcodeImg="".concat(e.data.data,"+.jpg")),t.codeType=6,t.dialogVisiblecode=!0)}))},tishiImg:function(t){this.tishiType=t,this.dialogTableVisible4=!0},downloadCode:function(t){return t}}},l=u,m=(n("ca3a"),n("2877")),f=Object(m["a"])(l,a,r,!1,null,"c29052ea",null);e["default"]=f.exports},"9cde":function(t,e,n){"use strict";n.d(e,"F",(function(){return r})),n.d(e,"n",(function(){return i})),n.d(e,"z",(function(){return s})),n.d(e,"a",(function(){return o})),n.d(e,"x",(function(){return c})),n.d(e,"J",(function(){return d})),n.d(e,"l",(function(){return u})),n.d(e,"H",(function(){return l})),n.d(e,"p",(function(){return m})),n.d(e,"C",(function(){return f})),n.d(e,"K",(function(){return p})),n.d(e,"I",(function(){return h})),n.d(e,"q",(function(){return b})),n.d(e,"v",(function(){return g})),n.d(e,"D",(function(){return v})),n.d(e,"b",(function(){return _})),n.d(e,"e",(function(){return y})),n.d(e,"c",(function(){return w})),n.d(e,"d",(function(){return C})),n.d(e,"G",(function(){return x})),n.d(e,"o",(function(){return j})),n.d(e,"t",(function(){return O})),n.d(e,"i",(function(){return T})),n.d(e,"g",(function(){return I})),n.d(e,"h",(function(){return k})),n.d(e,"j",(function(){return D})),n.d(e,"A",(function(){return z})),n.d(e,"k",(function(){return V})),n.d(e,"s",(function(){return K})),n.d(e,"u",(function(){return R})),n.d(e,"y",(function(){return N})),n.d(e,"B",(function(){return E})),n.d(e,"f",(function(){return J})),n.d(e,"r",(function(){return U})),n.d(e,"m",(function(){return $})),n.d(e,"w",(function(){return q})),n.d(e,"E",(function(){return A}));var a=n("b775");function r(t){return Object(a["a"])({url:"channel/in-store/save-area",method:"post",data:t})}function i(t){return Object(a["a"])({url:"channel/in-store/save-area",method:"get",params:t})}function s(t){return Object(a["a"])({url:"channel/in-store/modify-area",method:"post",data:t})}function o(t){return Object(a["a"])({url:"channel/in-store/area-list",method:"get",params:t})}function c(t){return Object(a["a"])({url:"channel/in-store/goods-type",method:"get",params:t})}function d(t){return Object(a["a"])({url:"channel/in-store/table-list",method:"get",params:t})}function u(t){return Object(a["a"])({url:"channel/in-store/get-area",method:"get",params:t})}function l(t){return Object(a["a"])({url:"channel/in-store/save-table",method:"post",data:t})}function m(t){return Object(a["a"])({url:"channel/in-store/save-table",method:"get",params:t})}function f(t){return Object(a["a"])({url:"channel/in-store/modify-table",method:"post",data:t})}function p(t){return Object(a["a"])({url:"channel/in-store/type-list",method:"get",params:t})}function h(t){return Object(a["a"])({url:"channel/in-store/save-type",method:"post",data:t})}function b(t){return Object(a["a"])({url:"channel/in-store/save-type",method:"get",params:t})}function g(t){return Object(a["a"])({url:"channel/in-store/get-type",method:"get",params:t})}function v(t){return Object(a["a"])({url:"channel/in-store/modify-type",method:"post",data:t})}function _(t){return Object(a["a"])({url:"channel/in-store/batch-table",method:"post",data:t})}function y(t){return Object(a["a"])({url:"channel/in-store/cashier-statistics",method:"get",params:t})}function w(t){return Object(a["a"])({url:"channel/in-store/cashier-order-list",method:"get",params:t})}function C(t){return Object(a["a"])({url:"channel/in-store/cashier-print",method:"post",data:t})}function x(t){return Object(a["a"])({url:"channel/in-store/save-code",method:"post",data:t})}function j(t){return Object(a["a"])({url:"channel/in-store/save-code",method:"get",params:t})}function O(t){return Object(a["a"])({url:"channel/in-store/get-table",method:"get",params:t})}function T(t){return Object(a["a"])({url:"channel/in-store/establish-code",method:"post",data:t})}function I(t){return Object(a["a"])({url:"channel/in-store/code-list",method:"get",params:t})}function k(t){return Object(a["a"])({url:"channel/in-store/del-code",method:"post",data:t})}function D(t){return Object(a["a"])({url:"channel/in-store/fast-order-list",method:"get",params:t})}function z(t){return Object(a["a"])({url:"channel/in-store/modify-fast-order",method:"post",data:t})}function V(t){return Object(a["a"])({url:"channel/screen/fast-screen",method:"post",data:t})}function K(t){return Object(a["a"])({url:"channel/in-store/get-store-code",method:"get",params:t})}function R(t){return Object(a["a"])({url:"channel/in-store/table-order",method:"get",params:t})}function N(t){return Object(a["a"])({url:"channel/in-store/in-store-order-list",method:"get",params:t})}function E(t){return Object(a["a"])({url:"channel/in-store/modify-in-store-order",method:"post",data:t})}function J(t){return Object(a["a"])({url:"channel/in-store/clean-table",method:"post",data:t})}function U(t){return Object(a["a"])({url:"channel/in-store/statistics",method:"get",params:t})}function $(t){return Object(a["a"])({url:"channel/pay-vip/order-statistics",method:"get",params:t})}function q(t){return Object(a["a"])({url:"channel/pay-vip/order-list",method:"get",params:t})}function A(t){return Object(a["a"])({url:"channel/in-store/out-order-list",method:"get",params:t})}},ca3a:function(t,e,n){"use strict";var a=n("7083"),r=n.n(a);r.a},d425:function(t,e,n){t.exports=n.p+"static/img/tishi2.6e6d698b.png"},ecca:function(t,e,n){t.exports=n.p+"static/img/tishi3.19edf52a.jpg"}}]);