chunk-3a5b9f06.5e025c78.js 12 KB

1
  1. (window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-3a5b9f06"],{"0d29":function(t,e,r){"use strict";var n=r("8296");r.n(n).a},"0d2b":function(t,e,r){"use strict";var n=r("2a95");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,o,a,i=new n.a(this.validate),c=(r={},o=this.field,a=this.valueModel,o in r?Object.defineProperty(r,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[o]=a,r);i.validate(c,(function(t,r){if(t){var n=t.find((function(t){return t.field===e.field}));e.errorMessage=n?n.message:""}else e.errorMessage=""}))}}}}},"47b9":function(t,e,r){"use strict";r.r(e);var n=r("a34a"),o=r.n(n),a=r("c7fc"),i=r("0d2b"),c=r("73f5");function u(t,e,r,n,o,a,i){try{var c=t[a](i),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var s={name:"",mixins:[i.a],components:{Maps:a.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(c.l)().then(function(){var e,r=(e=o.a.mark((function e(r){var n;return o.a.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){u(a,n,o,i,c,"next",t)}function c(t){u(a,n,o,i,c,"throw",t)}i(void 0)}))});return function(t){return r.apply(this,arguments)}}()).catch((function(e){t.$Message.error(e.msg)}))}}},d=(r("0d29"),r("2877")),l=Object(d.a)(s,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[r("FormItem",{staticClass:"input-build",class:t.getClassName(),attrs:{label:t.title}},[r("div",{staticClass:"input-error-wrapper"},[r("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?r("div",{staticClass:"error-wrapper"},[t._v("\n "+t._s(t.errorMessage)+"\n ")]):t._e()],1),t.info?r("div",{staticClass:"info-wrapper"},[t._v(t._s(t.info))]):t._e()]),r("Col",{attrs:{span:"16"}},[r("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"}},[r("iframe",{attrs:{id:"mapPage",width:"100%",height:"550px",frameborder:"0",src:t.keyUrl}})])],1)],1)}),[],!1,null,"7109b4a3",null);e.default=l.exports},"73f5":function(t,e,r){"use strict";r.d(e,"y",(function(){return o})),r.d(e,"r",(function(){return a})),r.d(e,"n",(function(){return i})),r.d(e,"q",(function(){return c})),r.d(e,"s",(function(){return u})),r.d(e,"t",(function(){return s})),r.d(e,"j",(function(){return d})),r.d(e,"i",(function(){return l})),r.d(e,"P",(function(){return f})),r.d(e,"h",(function(){return m})),r.d(e,"v",(function(){return p})),r.d(e,"u",(function(){return h})),r.d(e,"w",(function(){return g})),r.d(e,"p",(function(){return b})),r.d(e,"G",(function(){return v})),r.d(e,"H",(function(){return _})),r.d(e,"E",(function(){return y})),r.d(e,"F",(function(){return w})),r.d(e,"g",(function(){return j})),r.d(e,"B",(function(){return O})),r.d(e,"C",(function(){return k})),r.d(e,"D",(function(){return M})),r.d(e,"O",(function(){return x})),r.d(e,"J",(function(){return S})),r.d(e,"I",(function(){return q})),r.d(e,"e",(function(){return A})),r.d(e,"N",(function(){return L})),r.d(e,"l",(function(){return C})),r.d(e,"K",(function(){return N})),r.d(e,"L",(function(){return P})),r.d(e,"M",(function(){return E})),r.d(e,"k",(function(){return U})),r.d(e,"o",(function(){return J})),r.d(e,"z",(function(){return $})),r.d(e,"m",(function(){return K})),r.d(e,"x",(function(){return F})),r.d(e,"f",(function(){return I})),r.d(e,"A",(function(){return R})),r.d(e,"b",(function(){return V})),r.d(e,"d",(function(){return z})),r.d(e,"c",(function(){return D})),r.d(e,"a",(function(){return B}));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 c(t){return Object(n.a)({url:"store/order/header",method:"get"})}function u(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 d(t){return Object(n.a)({url:"store/order/edit/".concat(t),method:"get"})}function l(t){return Object(n.a)({url:"store/order/distribution/".concat(t),method:"get"})}function f(t){return Object(n.a)({url:"store/order/write_update/".concat(t),method:"put"})}function m(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 h(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 b(t,e){return Object(n.a)({url:"store/order/export/".concat(e),method:"post",data:t})}function v(t){return Object(n.a)({url:"store/finance_flow/list",method:"get",params:t})}function _(t,e){return Object(n.a)({url:"store/finance_flow/mark/".concat(t),method:"put",params:e})}function y(t){return Object(n.a)({url:"store/finance_flow/fund_record",method:"get",params:t})}function w(t){return Object(n.a)({url:"store/finance_flow/fund_record_info",method:"get",params:t})}function j(t){return Object(n.a)({url:"/export/storeFinanceRecord",method:"get",params:t})}function O(t){return Object(n.a)({url:"/store/extract/list",method:"get",params:t})}function k(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 x(t){return Object(n.a)({url:"store/extract/transfer/".concat(t),method:"get"})}function S(t){return Object(n.a)({url:"store/store",method:"get",params:t})}function q(t){return Object(n.a)({url:"store/store/get_info/".concat(t),method:"get"})}function A(t){return Object(n.a)({url:"city",method:"get",params:t})}function L(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 N(t){return Object(n.a)({url:"store/store/login/".concat(t),method:"get"})}function P(t,e){return Object(n.a)({url:"store/store/set_show/".concat(t,"/").concat(e),method:"put"})}function E(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 J(t){return Object(n.a)({url:"store/home/orderChart",method:"get",params:t})}function $(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 F(t){return Object(n.a)({url:"store/store/reset_admin/".concat(t),method:"get"})}function I(t,e,r){return Object(n.a)({url:"export/storeFlowExport?store_id=".concat(t,"&keyword=").concat(e,"&data=").concat(r),method:"get"})}function R(t){return Object(n.a)({url:"/store/category",params:t,method:"get"})}function V(t){return Object(n.a)({url:"/store/category/create/".concat(t),method:"get"})}function z(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 B(t){return Object(n.a)({url:"store/category/cascader_list/".concat(t),method:"get"})}},8296:function(t,e,r){},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.initMap()},methods:{initMap:function(){var t,e=this;(t=this.mapKey,new Promise((function(e,r){window.init=function(){e(window.qq)};var n=document.createElement("script");n.type="text/javascript",n.src="https://map.qq.com/api/js?v=2.exp&callback=init&key=".concat(t),n.onerror=r,document.head.appendChild(n)}))).then((function(t){var r,n=new t.maps.LatLng(e.lat,e.lon);r=new t.maps.Map(document.getElementById("container"),{zoom:15}),e.geocoder=new t.maps.Geocoder({complete:function(n){r.setCenter(n.detail.location),e.marker=new t.maps.Marker({map:r,position:n.detail.location}),e.resultDatail=n.detail,e.$emit("getCoordinates",n.detail)}}),e.geocoder.getAddress(n),t.maps.event.addListener(r,"click",(function(r){e.marker.setMap(null),e.marker.position={lat:r.latLng.getLat(),lng:r.latLng.getLng()};var n=new t.maps.LatLng(r.latLng.getLat(),r.latLng.getLng());e.geocoder.getAddress(n)}))}))},searchKeyword:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"西安";this.marker.setMap(null),this.geocoder.getLocation(t)}}},o=r("2877"),a=Object(o.a)(n,(function(){return this.$createElement,this._self._c,this._m(0)}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",[e("div",{staticStyle:{width:"100%",height:"450px"},attrs:{id:"container"}})])}],!1,null,"7361a2d8",null);e.a=a.exports}}]);