1 |
- <!doctype html><html><head><meta charset="utf-8"><title>替换音响码</title><meta name="keywords" content="替换音响码"><meta name="description" content="替换音响码"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,minimum-scale=1,maximum-scale=1,shrink-to-fit=no,user-scalable=no" viewport="cover"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"><meta content="telephone=no" name="format-detection"><meta content="email=no" name="format-detection"><meta name="apple-mobile-web-app-title" content="替换音响码"><meta http-equiv="Cache-Control" content="no-siteapp"><link rel="icon" href="favicon.ico"><script>(function(){"use strict";var n={},r={};function t(e){var o=r[e];if(void 0!==o)return o.exports;var u=r[e]={exports:{}};return n[e].call(u.exports,u,u.exports,t),u.exports}t.m=n,function(){var n=[];t.O=function(r,e,o,u){if(!e){var i=1/0;for(l=0;l<n.length;l++){e=n[l][0],o=n[l][1],u=n[l][2];for(var f=!0,c=0;c<e.length;c++)(!1&u||i>=u)&&Object.keys(t.O).every((function(n){return t.O[n](e[c])}))?e.splice(c--,1):(f=!1,u<i&&(i=u));if(f){n.splice(l--,1);var a=o();void 0!==a&&(r=a)}}return r}u=u||0;for(var l=n.length;l>0&&n[l-1][2]>u;l--)n[l]=n[l-1];n[l]=[e,o,u]}}(),function(){t.n=function(n){var r=n&&n.__esModule?function(){return n["default"]}:function(){return n};return t.d(r,{a:r}),r}}(),function(){t.d=function(n,r){for(var e in r)t.o(r,e)&&!t.o(n,e)&&Object.defineProperty(n,e,{enumerable:!0,get:r[e]})}}(),function(){t.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(n){if("object"===typeof window)return window}}()}(),function(){t.o=function(n,r){return Object.prototype.hasOwnProperty.call(n,r)}}(),function(){t.p=""}(),function(){var n={86:0,582:0};t.O.j=function(r){return 0===n[r]};var r=function(r,e){var o,u,i=e[0],f=e[1],c=e[2],a=0;if(i.some((function(r){return 0!==n[r]}))){for(o in f)t.o(f,o)&&(t.m[o]=f[o]);if(c)var l=c(t)}for(r&&r(e);a<i.length;a++)u=i[a],t.o(n,u)&&n[u]&&n[u][0](),n[u]=0;return t.O(l)},e=self["webpackChunkskb"]=self["webpackChunkskb"]||[];e.forEach(r.bind(null,0)),e.push=r.bind(null,e.push.bind(e))}()})();</script><script defer="defer" src="./static/js/public.chunk.js"></script><script defer="defer" src="./static/js/npm.vant.chunk.js"></script><script defer="defer" src="./static/js/npm.vue.chunk.js"></script><script defer="defer" src="./static/js/npm.crypto-js.chunk.js"></script><script defer="defer" src="./static/js/npm.axios.chunk.js"></script><script defer="defer" src="./static/js/npm.core-js.chunk.js"></script><script defer="defer" src="./static/js/npm.md5.chunk.js"></script><script defer="defer" src="./static/js/npm.crypt.chunk.js"></script><script defer="defer" src="./static/js/npm.charenc.chunk.js"></script><script defer="defer" src="./static/js/npm.is-buffer.chunk.js"></script><script defer="defer" src="./static/js/npm.babel.chunk.js"></script><script defer="defer" src="./static/js/npm.vue-loader.chunk.js"></script><script defer="defer" src="./static/js/npm.form-data.chunk.js"></script><script>(self["webpackChunkskb"]=self["webpackChunkskb"]||[]).push([[611],{7103:function(e,o,t){"use strict";var s=t(9242),i=t(3396),l=t(7139);const A={class:"bgcf5f5f5 pb0 ovh",style:{"padding-top":"0",height:"100vh"}},n={id:"app"},a=["src"],c={class:"ovx-y"},d=["onClick"],r={class:"bind_detail_collection_card df bgcfff replacebl"},u=["src"],h={class:"card_info"},g={class:"df"},f={class:"f12 c999 content"},v={class:"df"},m={class:"f12 c999 content"};function p(e,o,s,p,P,w){const z=(0,i.up)("van-nav-bar"),k=(0,i.up)("van-empty"),D=(0,i.up)("van-radio"),E=(0,i.up)("nobr"),q=(0,i.up)("van-list"),B=(0,i.up)("van-radio-group"),C=(0,i.up)("van-pull-refresh"),I=(0,i.up)("van-goods-action-button"),L=(0,i.up)("van-goods-action"),H=(0,i.up)("van-dialog");return(0,i.wg)(),(0,i.iD)("div",A,[(0,i._)("div",n,[P.toptitleisshow?((0,i.wg)(),(0,i.j4)(z,{key:0,class:"mall_title bottom_line",title:"替换音响码",onClickLeft:w.goback},{left:(0,i.w5)((()=>[(0,i._)("img",{src:t(5786),alt:""},null,8,a)])),_:1},8,["onClickLeft"])):(0,i.kq)("",!0),(0,i._)("div",c,[(0,i.Wm)(C,{modelValue:P.refreshing,"onUpdate:modelValue":o[2]||(o[2]=e=>P.refreshing=e),onRefresh:w.onRefresh,style:{"min-height":"90vh",height:"100%"},class:(0,l.C_)(0===P.codelist.length?"isnodata":"")},{default:(0,i.w5)((()=>[0===P.codelist.length?((0,i.wg)(),(0,i.j4)(k,{key:0,class:"custom-image",image:t(6256),description:"您的门店暂未绑定音响"},null,8,["image"])):(0,i.kq)("",!0),(0,i.Wm)(B,{modelValue:P.result,"onUpdate:modelValue":o[1]||(o[1]=e=>P.result=e)},{default:(0,i.w5)((()=>[(0,i.Wm)(q,{modelValue:P.loading,"onUpdate:modelValue":o[0]||(o[0]=e=>P.loading=e),finished:P.finished,"finished-text":"没有更多了",onLoad:w.onLoad,"immediate-check":!1},{default:(0,i.w5)((()=>[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(P.codelist,((e,o)=>((0,i.wg)(),(0,i.iD)("div",{class:"bind_detail_collection bgcfff",key:o,onClick:e=>w.toggle(o)},[(0,i._)("div",r,[(0,i.Wm)(D,{name:e,ref_for:!0,ref:"checkboxes","checked-color":"#FD824D"},null,8,["name"]),(0,i._)("img",{src:t(3724),alt:""},null,8,u),(0,i._)("div",h,[(0,i._)("div",g,[(0,i.Wm)(E,{class:"f12 c999 title"},{default:(0,i.w5)((()=>[(0,i.Uk)("绑定时间")])),_:1}),(0,i._)("div",f,(0,l.zw)(e.BindingTime),1)]),(0,i._)("div",v,[(0,i.Wm)(E,{class:"f12 c999 title"},{default:(0,i.w5)((()=>[(0,i.Uk)("SN码")])),_:1}),(0,i._)("div",m,(0,l.zw)(e.PosSn),1)])])])],8,d)))),128))])),_:1},8,["modelValue","finished","onLoad"])])),_:1},8,["modelValue"])])),_:1},8,["modelValue","onRefresh","class"])]),(0,i.Wm)(L,{class:"mall-bottom"},{default:(0,i.w5)((()=>[(0,i.Wm)(I,{color:"#FD824D",text:"确认替换",onClick:w.onClickButton},null,8,["onClick"])])),_:1}),(0,i.Wm)(H,{class:"option",style:{"border-radius":"4px"},show:P.dialogisshow,"onUpdate:show":o[3]||(o[3]=e=>P.dialogisshow=e),message:"确认替换音响码?",width:"300","confirm-button-text":"确认替换","show-cancel-button":"",onConfirm:w.replace,onCancel:o[4]||(o[4]=e=>P.dialogisshow=!1)},null,8,["show","onConfirm"])])])}t(7658);var P=t(6539),w=t(6265),z=t(3753),k={data(){return{roundisshow:"",result:[],dialogisshow:!1,toptitleisshow:!1,loading:!1,finished:!1,refreshing:!1,codelist:[],qrcodeId:"",pageinfo:{PageSize:10,PageNum:1}}},created(){this.toptitleisshow=P.Z.isTitle,this.qrcodeId=P.Z.getCookieInfo("collectionId"),this.getsoundcodelist()},methods:{goback(){P.Z.GoBack({Level:1})},onRefresh(){this.loading=!1,this.refreshing=!0,this.onLoad()},onLoad(){this.refreshing&&(this.codelist=[],this.refreshing=!1,this.pageinfo.PageNum=0),this.pageinfo.PageNum++,this.getsoundcodelist()},roundisshowfn(e){if(console.log(e),e===this.roundisshow)return this.roundisshow="";this.roundisshow=e},toggle(e){this.$refs.checkboxes[e].toggle()},onClickButton(){0!==this.result.length&&(this.dialogisshow=!0)},replace(){this.onreplacecode()},async getsoundcodelist(){let e=P.Z.getCookieInfo("userId");const o=await(0,z.A_)("/api/v1/posmachines/replacemachines",{...this.pageinfo,BindMerchantId:e});if("1"!==o.status)return w.Z.tips(o.info);o.data.length<this.pageinfo.PageSize&&(this.finished=!0),this.codelist.push(...o.data),this.loading=!1},async onreplacecode(){let e=P.Z.getCookieInfo("userId");const o=await(0,z.j0)("/api/v1/merchantqrcode/confirmreplace",{MerchantId:e,MachineId:this.qrcodeId,QrCodeId:this.result.Id});if("1"!==o.status)return w.Z.tips(o.info);w.Z.tips("替换音响码成功!")}}},D=t(89);const E=(0,D.Z)(k,[["render",p]]);var q=E,B=t(1086);t(6028),t(6931);const C=(0,s.ri)(q);C.use(B.ZP),C.mount("#app")},3724:function(e){"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKgAAACoCAMAAABDlVWGAAAAAXNSR0IArs4c6QAAAddQTFRFAAAA////////////6Ojo7u7u7+/v8fH/6Ojz6en09vb27+/36vHx7vPz7fL27fL28vL27u7x7u717O/07e/17fD17vDz7vH17/H17/H07e/07u/17PDz7fDz7u/07/D17u/z7u/07vDy7vD07u/z7vH17u/z7u/z7/D17e/07O/z7O/z7vDz7vD07vD07e/z7e/z7fDz7O/z7vDz7vD07vD07e/07e/z7vD0UVx7UV17XmiFX2mGYGuHYWuHYmyIaXKNanOOa3WPfYWdfoeegIifgYqggoqhg4uhhY2jiZGmn6W3oKa4oae5oqi5o6m6pKq7paq7pau7p6y9p62+qK2+qK6+qq/AqrDAq7C/q7DAq7HBrLHArLHBrLLBrbPCrrPCrrPDrrTDsLbEsrfGtLjHtLnHtbrIt7zJt7zKt73KuL3Ku7/MvsLPvsPPv8TQwMTQwsbSxMjUxMnUx8vWyc3XzdHaz9Pc0NTd0dTd1Nfg1djh19ri2Nri2Nvj2dzj2t3k297l3eDm3eDn3+Ho4OLp4OPp4ePp4ePq4uXq4+Xr4+br5Obs5eft5eju5uju5+nu5+rv6Orv6Orw6uzw6uzx6u3x6+3x6+3y6+7y7O7y7O/z7e/zW91TkwAAADl0Uk5TAAEEBwsPEBIWFx0gJCw5OjpJSWBiZmlqgY2RlJWboaqxtLa2wMPNztvg6Orq6+zt8vf4+Pj7/f7+OMO4fgAABIJJREFUeNrt3Xdb2lAUBvAo7ong3qiI4t4iBtyze+9lp621W7u0tHbgqtpSLT0ftmDAagIk2F5yj73vn+l5kt8TCyQXcg7HhY4mISUtM6+ssqq2FQiktbaqsiwvMy0lQcP9RWLSswsqatqBeNprKgqy02P2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KFYkhOYvAE7gy7yElecB3+cSvBwSWEJovvtv4F0krABvLIEIoPmLePoek+Y9j70E+GtoXoeX82IsITR/icdhPQbs9mSDvYhselzLxu8Vo5OYQ0q7jQ6jLHhNyPUihK7i+UH/Aq7tgneh1tbWvSsrK+MATvg8/xP7Mvv8E9eAN84fKAf8k0GgYGf4x5vaBUsolUot19XVfWHBLqJQqihQosins7q6+uPs7Oy4KRiTcQUT0CLpdHqysrIyDegOkdA92ii1vaqqKgWJF7pXjGJEQMAymcyYwAq0SOTyQSQ6amtr4ZguCgljAiIhT0s2Au0jUYrdXlNTk4HEmPq5LIEICJg0D9gZzE6PBLZItEFujt+T6ueqBCYgYHh6nJz4kMuJaC6xs5GAxIxIbmkCAkdOTJAT03hekciSUEREymVOWImA5108PYnH3wP8kEeC37ycmHWRE1YJiIhIkBPvMPOREAlqB/etk7BOAKDKiZfI5i1mPhKSE9ft3J/jd2uJ7YRAjsQUYN9gH/bk5CPxCRKj6he0OCMgYICcyuVEXk6Q0Jo6Jz7bIOGUgEj4csIvJ62rc+Irv4+on2lxTkDA8LSXE4rErtxjRwS7ja33GySGtzSBHAnJ6TWgFQk/iYPch4PZiV30Z3j+wThOBPoh4f+bfYYPHPtNvhFYe6HZrAR45XzK6dwNiR+02Y8c2KsLCwvZF4vNzuP1K0oOeIt5LTnxil1ogut9VL0c3eJ11Nnzkreu9VafWROJRJn1iXcm3PHANvLAH0IgvQ9EyzDlAAAAAElFTkSuQmCC"},6256:function(e,o,t){"use strict";e.exports=t.p+"static/img/no-data.png"},2480:function(){}},function(e){var o=function(o){return e(e.s=o)};e.O(0,[501,196,445,134,252,580,808,927,854,959,447,116,344,582],(function(){return o(7103)}));e.O()}]);</script><link href="./static/css/npm.vant.chunk.css" rel="stylesheet"><link href="./static/css/SkbChunk.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but 替换音响码 doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html>
|