You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
20 KiB
1 lines
20 KiB
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-e6bf0a6c"],{"0d2b":function(t,e,r){"use strict";var n=r("2a95");function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e,r){return(e=function(t){var e=function(t,e){if("object"!=o(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=o(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==o(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}r("8237"),e.a={props:{options:{type:Array,default:function(){return[]}},value:{type:String|Number|Array,default:""},placeholder:{type:String,default:""},title:{type:String,default:""},type:{type:String,default:"text"},suffix:{type:String,default:""},prefix:{type:String,default:""},styleModel:{type:String,default:""},className:{type:String,default:""},field:{type:String,default:""},timerType:{type:String,default:"timerange"},timerFormat:{type:String,default:"HH:mm:ss"},info:{type:String,default:""},on:{type:Object,default:function(){return{}}},validate:{type:Object,default:function(){return{}}},errorsValidate:{type:Array,default:function(){return[]}}},data:function(){return{valueModel:this.value,errorMessage:"",exampleImage:{site_logo:"/statics/system/adminSet01.png",site_logo_square:"/statics/system/adminSet02.png",login_logo:"/statics/system/adminSet03.png",admin_login_slide:"/statics/system/adminSet04.png",start_login_logo:"/statics/system/adminSet05.png",wap_login_logo:"/statics/system/mobileSet01.png",wechat_share_img:"/statics/system/mobileSet02.png",pc_logo:"/statics/system/pcSet01.png",pay_weixin_client_cert:{text:'更多详情请查看:<br><a href="https://kf.qq.com/faq/161222NneAJf161222U7fARv.html" target="_blank" rel="noopener noreferrer">https://kf.qq.com/faq/161222NneAJf161222U7fARv.html</a>',image:"/statics/system/wxSet01.png"},pay_weixin_client_key:{text:'更多详情请查看:<br><a href="https://kf.qq.com/faq/161222NneAJf161222U7fARv.html" target="_blank" rel="noopener noreferrer">https://kf.qq.com/faq/161222NneAJf161222U7fARv.html</a>',image:"/statics/system/wxSet01.png"},terminal_number:"/statics/system/yilianyunPrinter.png",config_export_siid:"/statics/system/kuadi100Dump.png",product_poster_title:"/statics/system/productSharePoster.png",product_video_status:"/statics/system/productVideo.png"},exampleSize:{site_logo:364,site_logo_square:364,login_logo:364,admin_login_slide:364,start_login_logo:364,wap_login_logo:256,wechat_share_img:256,pc_logo:364,terminal_number:364,config_export_siid:364,product_poster_title:256}}},watch:{errorsValidate:{handler:function(t){var e=this;if(t){var r=t.find((function(t){return t.field===e.field}));this.errorMessage=r?r.message:""}else this.errorMessage=""},deep:!0}},methods:{getClassName:function(){var t=["input-build-"+this.field];return this.errorMessage&&t.push("ivu-form-item-error"),(this.validate[this.field]?this.validate[this.field].filter((function(t){return!0===t.required})):[]).length&&t.push("ivu-form-item-required"),t},changeEvent:function(t,e){"change"===t&&this.$emit("changeValue",{field:this.field,value:this.valueModel}),this.on[t]&&this.on[t](e),this.validator(t)},validator:function(t){var e=this;if((this.validate[this.field]?this.validate[this.field].filter((function(e){return e.trigger===t})):[]).length){var r=new n.a(this.validate),o=a({},this.field,this.valueModel);r.validate(o,(function(t,r){if(t){var n=t.find((function(t){return t.field===e.field}));e.errorMessage=n?n.message:""}else e.errorMessage=""}))}}}}},"1b21":function(t,e,r){},"2ee3":function(t,e,r){"use strict";r("1b21")},"47b9":function(t,e,r){"use strict";r.r(e);var n=r("c7fc"),o=r("0d2b"),a=r("73f5");function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function u(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */u=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},c=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function f(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,r){return t[e]=r}}function d(t,e,r,n){var a=e&&e.prototype instanceof b?e:b,i=Object.create(a.prototype),u=new P(n||[]);return o(i,"_invoke",{value:M(t,r,u)}),i}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=d;var p="suspendedStart",m="suspendedYield",g="executing",y="completed",v={};function b(){}function w(){}function _(){}var j={};f(j,c,(function(){return this}));var O=Object.getPrototypeOf,x=O&&O(O(A([])));x&&x!==r&&n.call(x,c)&&(j=x);var S=_.prototype=b.prototype=Object.create(j);function k(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function L(t,e){function r(o,a,u,c){var s=h(t[o],t,a);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==i(f)&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,u,c)}),(function(t){r("throw",t,u,c)})):e.resolve(f).then((function(t){l.value=t,u(l)}),(function(t){return r("throw",t,u,c)}))}c(s.arg)}var a;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return a=a?a.then(o,o):o()}})}function M(e,r,n){var o=p;return function(a,i){if(o===g)throw Error("Generator is already running");if(o===y){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var u=n.delegate;if(u){var c=E(u,n);if(c){if(c===v)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===p)throw o=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=g;var s=h(e,r,n);if("normal"===s.type){if(o=n.done?y:m,s.arg===v)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=y,n.method="throw",n.arg=s.arg)}}}function E(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,E(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var a=h(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,v;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,v):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function q(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function N(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(q,this),this.reset(!0)}function A(e){if(e||""===e){var r=e[c];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(i(e)+" is not iterable")}return w.prototype=_,o(S,"constructor",{value:_,configurable:!0}),o(_,"constructor",{value:w,configurable:!0}),w.displayName=f(_,l,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===w||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,_):(t.__proto__=_,f(t,l,"GeneratorFunction")),t.prototype=Object.create(S),t},e.awrap=function(t){return{__await:t}},k(L.prototype),f(L.prototype,s,(function(){return this})),e.AsyncIterator=L,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new L(d(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},k(S),f(S,l,"Generator"),f(S,c,(function(){return this})),f(S,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=A,P.prototype={constructor:P,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(N),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return u.type="throw",u.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],u=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(c&&s){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.finallyLoc,v):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),N(r),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;N(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:A(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),v}},e}function c(t,e,r,n,o,a,i){try{var u=t[a](i),c=u.value}catch(t){return void r(t)}u.done?e(c):Promise.resolve(c).then(n,o)}var s={name:"",mixins:[o.a],components:{Maps:n.a},data:function(){return{modalMap:!1,latitude:"",longitude:"",showMap:!1,keyUrl:""}},computed:{},watch:{},created:function(){this.getKey()},mounted:function(){window.addEventListener("message",(function(t){var e=t.data;e&&"locationPicker"===e.module&&window.parent.selectAdderss(e)}),!1),window.selectAdderss=this.selectAdderss},methods:{selectAdderss:function(t){this.valueModel=t.latlng.lat+","+t.latlng.lng,this.modalMap=!1,this.$emit("changeValue",{field:this.field,value:this.valueModel})},onSearch:function(t){this.modalMap=!0,this.valueModel=""},getKey:function(){var t=this;Object(a.o)().then(function(){var e,r=(e=u().mark((function e(r){var n;return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=r.data.key,t.keyUrl="https://apis.map.qq.com/tools/locpicker?type=1&key=".concat(n,"&referer=myapp");case 2:case"end":return e.stop()}}),e)})),function(){var t=this,r=arguments;return new Promise((function(n,o){var a=e.apply(t,r);function i(t){c(a,n,o,i,u,"next",t)}function u(t){c(a,n,o,i,u,"throw",t)}i(void 0)}))});return function(t){return r.apply(this,arguments)}}()).catch((function(e){t.$Message.error(e.msg)}))}}},l=(r("2ee3"),r("2877")),f=Object(l.a)(s,(function(){var t=this,e=t._self._c;return e("div",[e("FormItem",{staticClass:"input-build",class:t.getClassName(),attrs:{label:t.title}},[e("div",{staticClass:"input-error-wrapper"},[e("Input",{staticClass:"inputW",attrs:{search:"","enter-button":"查找位置",placeholder:t.placeholder},on:{"on-search":function(e){return t.onSearch(t.valueModel)}},model:{value:t.valueModel,callback:function(e){t.valueModel=e},expression:"valueModel"}}),t.errorMessage&&!t.copy?e("div",{staticClass:"error-wrapper"},[t._v("\n "+t._s(t.errorMessage)+"\n ")]):t._e()],1),t.info?e("div",{staticClass:"info-wrapper"},[t._v(t._s(t.info))]):t._e()]),e("Col",{attrs:{span:"16"}},[e("Modal",{staticClass:"mapBox",attrs:{scrollable:"","footer-hide":"",closable:"","mask-closable":!1,"z-index":1,title:"请选择地址"},model:{value:t.modalMap,callback:function(e){t.modalMap=e},expression:"modalMap"}},[e("iframe",{attrs:{id:"mapPage",width:"100%",height:"550px",frameborder:"0",src:t.keyUrl}})])],1)],1)}),[],!1,null,"7109b4a3",null);e.default=f.exports},"73f5":function(t,e,r){"use strict";r.d(e,"D",(function(){return o})),r.d(e,"u",(function(){return a})),r.d(e,"q",(function(){return i})),r.d(e,"t",(function(){return u})),r.d(e,"v",(function(){return c})),r.d(e,"x",(function(){return s})),r.d(e,"j",(function(){return l})),r.d(e,"i",(function(){return f})),r.d(e,"U",(function(){return d})),r.d(e,"h",(function(){return h})),r.d(e,"z",(function(){return p})),r.d(e,"y",(function(){return m})),r.d(e,"A",(function(){return g})),r.d(e,"w",(function(){return y})),r.d(e,"m",(function(){return v})),r.d(e,"B",(function(){return b})),r.d(e,"s",(function(){return w})),r.d(e,"L",(function(){return _})),r.d(e,"M",(function(){return j})),r.d(e,"J",(function(){return O})),r.d(e,"K",(function(){return x})),r.d(e,"g",(function(){return S})),r.d(e,"G",(function(){return k})),r.d(e,"H",(function(){return L})),r.d(e,"I",(function(){return M})),r.d(e,"T",(function(){return E})),r.d(e,"O",(function(){return q})),r.d(e,"N",(function(){return N})),r.d(e,"e",(function(){return P})),r.d(e,"S",(function(){return A})),r.d(e,"o",(function(){return C})),r.d(e,"P",(function(){return F})),r.d(e,"Q",(function(){return T})),r.d(e,"R",(function(){return G})),r.d(e,"n",(function(){return U})),r.d(e,"r",(function(){return I})),r.d(e,"E",(function(){return J})),r.d(e,"p",(function(){return K})),r.d(e,"C",(function(){return $})),r.d(e,"f",(function(){return R})),r.d(e,"F",(function(){return V})),r.d(e,"b",(function(){return z})),r.d(e,"d",(function(){return B})),r.d(e,"c",(function(){return D})),r.d(e,"a",(function(){return H})),r.d(e,"k",(function(){return Y})),r.d(e,"l",(function(){return Q}));var n=r("b6bd");function o(t){return Object(n.a)({url:"merchant/store_list",method:"get",params:t})}function a(t){return Object(n.a)({url:"store/order/list",method:"get",params:t})}function i(t){return Object(n.a)({url:"store/order/chart",method:"get",params:t})}function u(t){return Object(n.a)({url:"store/order/header",method:"get"})}function c(t){return Object(n.a)({url:"store/recharge",method:"get",params:t})}function s(t){return Object(n.a)({url:"store/vip_order",method:"get",params:t})}function l(t){return Object(n.a)({url:"store/order/edit/".concat(t),method:"get"})}function f(t){return Object(n.a)({url:"store/order/distribution/".concat(t),method:"get"})}function d(t){return Object(n.a)({url:"store/order/write_update/".concat(t),method:"put"})}function h(t){return Object(n.a)({url:"store/order/info/".concat(t),method:"get"})}function p(t){return Object(n.a)({url:"order/remark/".concat(t.id),method:"put",data:t.remark})}function m(t){return Object(n.a)({url:"store/recharge/remark/".concat(t.id),method:"put",data:t.remark})}function g(t){return Object(n.a)({url:"store/vip/remark/".concat(t.id),method:"put",data:t.remark})}function y(t){return Object(n.a)({url:"store/refund/list",method:"get",params:t})}function v(t){return Object(n.a)({url:"/order/no_refund/".concat(t),method:"get"})}function b(t){return Object(n.a)({url:"/order/refund_integral/".concat(t),method:"get"})}function w(t,e){return Object(n.a)({url:"store/order/export/".concat(e),method:"post",data:t})}function _(t){return Object(n.a)({url:"store/finance_flow/list",method:"get",params:t})}function j(t,e){return Object(n.a)({url:"store/finance_flow/mark/".concat(t),method:"put",params:e})}function O(t){return Object(n.a)({url:"store/finance_flow/fund_record",method:"get",params:t})}function x(t){return Object(n.a)({url:"store/finance_flow/fund_record_info",method:"get",params:t})}function S(t){return Object(n.a)({url:"/export/storeFinanceRecord",method:"get",params:t})}function k(t){return Object(n.a)({url:"/store/extract/list",method:"get",params:t})}function L(t,e){return Object(n.a)({url:"store/extract/mark/".concat(t),method:"post",data:e})}function M(t,e){return Object(n.a)({url:"store/extract/verify/".concat(t),method:"post",data:e})}function E(t){return Object(n.a)({url:"store/extract/transfer/".concat(t),method:"get"})}function q(t){return Object(n.a)({url:"store/store",method:"get",params:t})}function N(t){return Object(n.a)({url:"store/store/get_info/".concat(t),method:"get"})}function P(t){return Object(n.a)({url:"city",method:"get",params:t})}function A(t,e){return Object(n.a)({url:"store/store/".concat(t),method:"post",data:e})}function C(){return Object(n.a)({url:"store/store/address",method:"get"})}function F(t){return Object(n.a)({url:"store/store/login/".concat(t),method:"get"})}function T(t,e){return Object(n.a)({url:"store/store/set_show/".concat(t,"/").concat(e),method:"put"})}function G(t){return Object(n.a)({url:"store/share/order",method:"post",params:t})}function U(t){return Object(n.a)({url:"store/home/header",method:"get",params:t})}function I(t){return Object(n.a)({url:"store/home/orderChart",method:"get",params:t})}function J(t){return Object(n.a)({url:"store/home/store",method:"get",params:t})}function K(t){return Object(n.a)({url:"store/home/operate",method:"get",params:t})}function $(t){return Object(n.a)({url:"store/store/reset_admin/".concat(t),method:"get"})}function R(t,e,r){return Object(n.a)({url:"export/storeFlowExport?store_id=".concat(t,"&keyword=").concat(e,"&data=").concat(r),method:"get"})}function V(t){return Object(n.a)({url:"/store/category",params:t,method:"get"})}function z(t){return Object(n.a)({url:"/store/category/create/".concat(t),method:"get"})}function B(t){return Object(n.a)({url:"/store/category/tree/".concat(t),method:"get"})}function D(t){return Object(n.a)({url:"/store/category/set_show/".concat(t.id,"/").concat(t.is_show),method:"PUT"})}function H(t){return Object(n.a)({url:"store/category/cascader_list/".concat(t),method:"get"})}function Y(t){return Object(n.a)({url:"/store/refund/detail/".concat(t),method:"get"})}function Q(t){return Object(n.a)({url:"/store/refund/refund/".concat(t),method:"get"})}},c7fc:function(t,e,r){"use strict";var n={props:{lat:{type:Number,default:34.34127},lon:{type:Number,default:108.93984},mapKey:{tyep:String},address:{tyep:String}},data:function(){return{geocoder:void 0,marker:null,resultDatail:{}}},created:function(){this.getLocation(this.address||"陕西省西安市")},methods:{searchKeyword:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"西安";this.getLocation(t)},getLocation:function(t){var e=this,r=this;r.$jsonp("https://apis.map.qq.com/ws/geocoder/v1?",{address:"".concat(t),key:r.mapKey,output:"jsonp"}).then((function(t){var n;0===t.status?((n=r.mapKey,new Promise((function(t,e){window.init=function(){t(window.qq)};var r=document.createElement("script");r.type="text/javascript",r.src="https://map.qq.com/api/js?v=2.exp&callback=init&key=".concat(n),r.onerror=e,document.head.appendChild(r)}))).then((function(e){var r=new e.maps.LatLng(t.result.location.lat,t.result.location.lng);new e.maps.Map(document.getElementById("container"),{center:r,zoom:15})})),e.$emit("getCoordinates",t.result)):r.$Message.error(t.message)})).catch((function(t){r.$Message.error("获取城市编码失败")}))}}},o=r("2877"),a=Object(o.a)(n,(function(){return this._self._c,this._m(0)}),[function(){var t=this._self._c;return t("div",[t("div",{staticStyle:{width:"100%",height:"450px"},attrs:{id:"container"}})])}],!1,null,"48ce3c82",null);e.a=a.exports}}]); |