bind-detail-collection.html 14 KB

1
  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([[956],{2203:function(e,i,s){"use strict";var t=s(9242),l=s(3396),a=s(7139);const o={class:"bgcf5f5f5"},n=["src"],c={class:"bind_detail_collection"},d=["src"],A={class:"card_info"},f={class:"df"},r={class:"f14 c333 name"},u={class:"df"},g={class:"f12 c999 content"},h={class:"df"},v={class:"f12 c999 content"},m=(0,l._)("div",{class:"df"},null,-1),w=["src"],z={class:"card_info"},p={class:"df"},D={class:"f14 c333 name"},k={class:"df"},P={class:"f12 c999 content"},E={class:"df"},q={class:"f12 c999 content"},B=(0,l._)("div",{class:"df"},null,-1),_=["src"],I={class:"card_info"},C={class:"df"},H={class:"f14 c333 name"},b={class:"df"},L={class:"f12 c999 content"},Z={class:"df"},R={class:"f12 c999 content"},T=(0,l._)("div",{class:"df"},null,-1),U=["src"],y={class:"card_info"},x={class:"df"},K={class:"f14 c333 name"},O={class:"df"},j={class:"f12 c999 content"},N={class:"df"},S={class:"f12 c999 content"},Q=(0,l._)("div",{class:"df"},null,-1);function J(e,i,t,J,M,Y){const W=(0,l.up)("van-nav-bar"),V=(0,l.up)("van-empty"),X=(0,l.up)("nobr"),F=(0,l.up)("van-list"),G=(0,l.up)("van-pull-refresh"),$=(0,l.up)("van-dialog");return(0,l.wg)(),(0,l.iD)(l.HY,null,[(0,l._)("div",o,[M.toptitleisshow?((0,l.wg)(),(0,l.j4)(W,{key:0,class:"mall_title bottom_line",title:"已绑收款码",placeholder:"",fixed:"",onClickLeft:Y.goback},{left:(0,l.w5)((()=>[(0,l._)("img",{src:s(5786),alt:""},null,8,n)])),_:1},8,["onClickLeft"])):(0,l.kq)("",!0),(0,l.Wm)(G,{modelValue:M.refreshing,"onUpdate:modelValue":i[1]||(i[1]=e=>M.refreshing=e),onRefresh:Y.onRefresh,class:(0,a.C_)(0===M.codelist.length?"isnodata":""),style:{height:"100vh"}},{default:(0,l.w5)((()=>[0===M.codelist.length&&M.flag?((0,l.wg)(),(0,l.j4)(V,{key:0,class:"custom-image",image:"./static/images/no-data.png')",description:"您的门店暂未绑定收款码"})):(0,l.kq)("",!0),(0,l._)("div",c,[(0,l.Wm)(F,{modelValue:M.loading,"onUpdate:modelValue":i[0]||(i[0]=e=>M.loading=e),finished:M.finished,"finished-text":"没有更多了",onLoad:Y.onLoad,"immediate-check":!1},{default:(0,l.w5)((()=>[((0,l.wg)(!0),(0,l.iD)(l.HY,null,(0,l.Ko)(M.codelist,((e,i)=>((0,l.wg)(),(0,l.iD)("div",{class:"bind_detail_collection_card df bgcfff",key:i},[(0,l._)("img",{src:s(3724),alt:""},null,8,d),(0,l._)("div",A,[(0,l._)("div",f,[(0,l._)("div",r,"绑定门店: "+(0,a.zw)(e.MerchantName),1)]),(0,l._)("div",u,[(0,l.Wm)(X,{class:"f12 c999 title"},{default:(0,l.w5)((()=>[(0,l.Uk)("绑定时间")])),_:1}),(0,l._)("div",g,(0,a.zw)(e.BindDate),1)]),(0,l._)("div",h,[(0,l.Wm)(X,{class:"f12 c999 title"},{default:(0,l.w5)((()=>[(0,l.Uk)("SN码")])),_:1}),(0,l._)("div",v,(0,a.zw)(e.SnNo),1)]),m])])))),128)),((0,l.wg)(!0),(0,l.iD)(l.HY,null,(0,l.Ko)(M.codelist,((e,i)=>((0,l.wg)(),(0,l.iD)("div",{class:"bind_detail_collection_card df bgcfff",key:i},[(0,l._)("img",{src:s(3724),alt:""},null,8,w),(0,l._)("div",z,[(0,l._)("div",p,[(0,l._)("div",D,"绑定门店: "+(0,a.zw)(e.MerchantName),1)]),(0,l._)("div",k,[(0,l.Wm)(X,{class:"f12 c999 title"},{default:(0,l.w5)((()=>[(0,l.Uk)("绑定时间")])),_:1}),(0,l._)("div",P,(0,a.zw)(e.BindDate),1)]),(0,l._)("div",E,[(0,l.Wm)(X,{class:"f12 c999 title"},{default:(0,l.w5)((()=>[(0,l.Uk)("SN码")])),_:1}),(0,l._)("div",q,(0,a.zw)(e.SnNo),1)]),B])])))),128)),((0,l.wg)(!0),(0,l.iD)(l.HY,null,(0,l.Ko)(M.codelist,((e,i)=>((0,l.wg)(),(0,l.iD)("div",{class:"bind_detail_collection_card df bgcfff",key:i},[(0,l._)("img",{src:s(3724),alt:""},null,8,_),(0,l._)("div",I,[(0,l._)("div",C,[(0,l._)("div",H,"绑定门店: "+(0,a.zw)(e.MerchantName),1)]),(0,l._)("div",b,[(0,l.Wm)(X,{class:"f12 c999 title"},{default:(0,l.w5)((()=>[(0,l.Uk)("绑定时间")])),_:1}),(0,l._)("div",L,(0,a.zw)(e.BindDate),1)]),(0,l._)("div",Z,[(0,l.Wm)(X,{class:"f12 c999 title"},{default:(0,l.w5)((()=>[(0,l.Uk)("SN码")])),_:1}),(0,l._)("div",R,(0,a.zw)(e.SnNo),1)]),T])])))),128)),((0,l.wg)(!0),(0,l.iD)(l.HY,null,(0,l.Ko)(M.codelist,((e,i)=>((0,l.wg)(),(0,l.iD)("div",{class:"bind_detail_collection_card df bgcfff",key:i},[(0,l._)("img",{src:s(3724),alt:""},null,8,U),(0,l._)("div",y,[(0,l._)("div",x,[(0,l._)("div",K,"绑定门店: "+(0,a.zw)(e.MerchantName),1)]),(0,l._)("div",O,[(0,l.Wm)(X,{class:"f12 c999 title"},{default:(0,l.w5)((()=>[(0,l.Uk)("绑定时间")])),_:1}),(0,l._)("div",j,(0,a.zw)(e.BindDate),1)]),(0,l._)("div",N,[(0,l.Wm)(X,{class:"f12 c999 title"},{default:(0,l.w5)((()=>[(0,l.Uk)("SN码")])),_:1}),(0,l._)("div",S,(0,a.zw)(e.SnNo),1)]),Q])])))),128))])),_:1},8,["modelValue","finished","onLoad"])])])),_:1},8,["modelValue","onRefresh","class"])]),(0,l.Wm)($,{style:{"border-radius":"10px"},"confirm-button-color":"#FD824D",width:"300",theme:"round-button","confirm-button-text":"确定",show:M.examinedialogisshow,"onUpdate:show":i[2]||(i[2]=e=>M.examinedialogisshow=e),title:"解除关联失败",message:"此收款码为音响码,替换后方可解除关联",onConfirm:i[3]||(i[3]=e=>M.examinedialogisshow=!1)},null,8,["show"])],64)}s(7658);var M=s(6539),Y=s(6265),W=s(3753),V={data(){return{flag:!1,toptitleisshow:!1,examinedialogisshow:!1,loading:!1,finished:!1,refreshing:!1,codelist:[],pageinfo:{PageSize:10,PageNum:1},unbindid:""}},created(){this.toptitleisshow=M.Z.isTitle,this.getcollectionlist()},methods:{goback(){M.Z.GoBack({Level:1})},onRefresh(){this.loading=!0,this.refreshing=!0,this.finished=!1,this.pageinfo.PageNum=1,this.onstartcollectionlist("refresh")},onLoad(){this.pageinfo.PageNum++,this.getcollectionlist()},gorelation(e){this.codelist=[],M.Z.putCookieInfo("collectionId",e),M.Z.Goto({Url:"bind-detail-sound-relation"})},async getcollectionlist(){let e=M.Z.getCookieInfo("userId");const i=await(0,W.A_)("/api/v1/merchantqrcode/list",{...this.pageinfo,MerchantId:e});if("1"!==i.status)return Y.Z.tips(i.info);i.data.length<this.pageinfo.PageSize&&(this.finished=!0),this.flag=!0,this.codelist.push(...i.data),this.loading=!1},async onstartcollectionlist(e="onload"){this.pageinfo.PageNum=1;let i=M.Z.getCookieInfo("userId");const s=await(0,W.A_)("/api/v1/merchantqrcode/list",{...this.pageinfo,MerchantId:i});if("1"!==s.status)return Y.Z.tips(s.info);s.data.length<this.pageinfo.PageSize&&(this.finished=!0),"onload"===e?this.codelist.push(...s.data):(this.codelist=s.data,this.refreshing=!1),this.flag=!0,this.loading=!1},removecollection(e){M.Z.putCookieInfo("unbindqrcode",e),M.Z.ShowDialog({Title:"解除关联",Message:"是否解除关联二维码?",ConfirmText:"解除关联",CancelText:"暂不解除",ConfirmAction:"app.removefn()",CanelAction:""})},async removefn(){const e=M.Z.getCookieInfo("unbindqrcode"),i=M.Z.getCookieInfo("userId"),s=await(0,W.j0)("/api/v1/merchantqrcode/remove",{Id:e,MerchantId:i});"1"!==s.status?this.examinedialogisshow=!0:(Y.Z.tips("解除关联成功"),this.codelist.forEach((i=>{i.Id==e&&(i.BindFlag=0)})))}}},X=s(89);const F=(0,X.Z)(V,[["render",J]]);var G=F,$=s(1086);s(6028),s(6931);const ee=(0,t.ri)(G);ee.use($.ZP),ee.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/z7vD0UVx7UV17XmiFX2mGYGuHYWuHYmyIaXKNanOOa3WPfYWdfoeegIifgYqggoqhg4uhhY2jiZGmn6W3oKa4oae5oqi5o6m6pKq7paq7pau7p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CRKj6he0OCMgYICcyuVEXk6Q0Jo6Jz7bIOGUgEj4csIvJ62rc+Irv4+on2lxTkDA8LSXE4rErtxjRwS7ja33GySGtzSBHAnJ6TWgFQk/iYPch4PZiV30Z3j+wThOBPoh4f+bfYYPHPtNvhFYe6HZrAR45XzK6dwNiR+02Y8c2KsLCwvZF4vNzuP1K0oOeIt5LTnxil1ogut9VL0c3eJ11Nnzkreu9VafWROJRJn1iXcm3PHANvLAH0IgvQ9EyzDlAAAAAElFTkSuQmCC"},2480:function(){}},function(e){var i=function(i){return e(e.s=i)};e.O(0,[501,196,445,134,252,580,808,927,854,959,447,116,344,582],(function(){return i(2203)}));e.O()}]);</script><link href="./static/css/npm.vant.chunk.css" rel="stylesheet"><link href="./static/css/SkbChunk.css" rel="stylesheet"><style type="text/css">.bind_detail_collection .bind_detail_collection_card .card_info .name{width:70vw}body{background-color:#f5f5f5;padding-bottom:0}</style></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>