1 |
- (window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-77060d48"],{"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,a,o,i=new n.a(this.validate),u=(r={},a=this.field,o=this.valueModel,a in r?Object.defineProperty(r,a,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[a]=o,r);i.validate(u,(function(t,r){if(t){var n=t.find((function(t){return t.field===e.field}));e.errorMessage=n?n.message:""}else e.errorMessage=""}))}}}}},"2fdf":function(t,e,r){"use strict";var n=r("7290");r.n(n).a},"347f11":function(t,e,r){"use strict";r.r(e);var n=r("73f5"),a={name:"",mixins:[r("0d2b").a],components:{},props:{},data:function(){return{addresData:[],address:"",valueData:[]}},computed:{},watch:{},created:function(){var t=this;this.cityInfo({pid:0}),this.valueModel.map((function(e){t.valueData.push(e.id)}))},mounted:function(){},methods:{cityInfo:function(t){var e=this;Object(n.e)(t).then((function(t){e.addresData=t.data}))},addchack:function(t,e){this.address=e.map((function(t){return t.label})).join("/"),this.$emit("changeValue",{field:this.field,value:e})},loadData:function(t,e){t.loading=!0,Object(n.e)({pid:t.value}).then((function(r){t.children=r.data,t.loading=!1,e()}))}}},o=(r("2fdf"),r("2877")),i=Object(o.a)(a,(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("Cascader",{staticClass:"inputW",attrs:{data:t.addresData,"load-data":t.loadData},on:{"on-change":t.addchack},model:{value:t.valueData,callback:function(e){t.valueData=e},expression:"valueData"}}),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()])],1)}),[],!1,null,"72db6f08",null);e.default=i.exports},7290:function(t,e,r){},"73f5":function(t,e,r){"use strict";r.d(e,"y",(function(){return a})),r.d(e,"r",(function(){return o})),r.d(e,"n",(function(){return i})),r.d(e,"q",(function(){return u})),r.d(e,"s",(function(){return c})),r.d(e,"t",(function(){return s})),r.d(e,"j",(function(){return d})),r.d(e,"i",(function(){return f})),r.d(e,"P",(function(){return l})),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 _})),r.d(e,"H",(function(){return v})),r.d(e,"E",(function(){return y})),r.d(e,"F",(function(){return j})),r.d(e,"g",(function(){return O})),r.d(e,"B",(function(){return w})),r.d(e,"C",(function(){return x})),r.d(e,"D",(function(){return k})),r.d(e,"O",(function(){return S})),r.d(e,"J",(function(){return q})),r.d(e,"I",(function(){return M})),r.d(e,"e",(function(){return A})),r.d(e,"N",(function(){return D})),r.d(e,"l",(function(){return C})),r.d(e,"K",(function(){return N})),r.d(e,"L",(function(){return J})),r.d(e,"M",(function(){return F})),r.d(e,"k",(function(){return I})),r.d(e,"o",(function(){return P})),r.d(e,"z",(function(){return R})),r.d(e,"m",(function(){return U})),r.d(e,"x",(function(){return V})),r.d(e,"f",(function(){return E})),r.d(e,"A",(function(){return H})),r.d(e,"b",(function(){return $})),r.d(e,"d",(function(){return z})),r.d(e,"c",(function(){return T})),r.d(e,"a",(function(){return B}));var n=r("b6bd");function a(t){return Object(n.a)({url:"merchant/store_list",method:"get",params:t})}function o(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 d(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 l(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 _(t){return Object(n.a)({url:"store/finance_flow/list",method:"get",params:t})}function v(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 j(t){return Object(n.a)({url:"store/finance_flow/fund_record_info",method:"get",params:t})}function O(t){return Object(n.a)({url:"/export/storeFinanceRecord",method:"get",params:t})}function w(t){return Object(n.a)({url:"/store/extract/list",method:"get",params:t})}function x(t,e){return Object(n.a)({url:"store/extract/mark/".concat(t),method:"post",data:e})}function k(t,e){return Object(n.a)({url:"store/extract/verify/".concat(t),method:"post",data:e})}function S(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 M(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 D(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 J(t,e){return Object(n.a)({url:"store/store/set_show/".concat(t,"/").concat(e),method:"put"})}function F(t){return Object(n.a)({url:"store/share/order",method:"post",params:t})}function I(t){return Object(n.a)({url:"store/home/header",method:"get",params:t})}function P(t){return Object(n.a)({url:"store/home/orderChart",method:"get",params:t})}function R(t){return Object(n.a)({url:"store/home/store",method:"get",params:t})}function U(t){return Object(n.a)({url:"store/home/operate",method:"get",params:t})}function V(t){return Object(n.a)({url:"store/store/reset_admin/".concat(t),method:"get"})}function E(t,e,r){return Object(n.a)({url:"export/storeFlowExport?store_id=".concat(t,"&keyword=").concat(e,"&data=").concat(r),method:"get"})}function H(t){return Object(n.a)({url:"/store/category",params:t,method:"get"})}function $(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 T(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"})}}}]);
|