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
4.5 KiB
1 lines
4.5 KiB
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-2207d2ae"],{"0801":function(t,e,i){"use strict";i("4a7f")},"0d2b":function(t,e,i){"use strict";var r=i("2a95");function n(t){return(n="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,i){return(e=function(t){var e=function(t,e){if("object"!=n(t)||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var r=i.call(t,e||"default");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==n(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}i("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 i=t.find((function(t){return t.field===e.field}));this.errorMessage=i?i.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 i=new r.a(this.validate),n=a({},this.field,this.valueModel);i.validate(n,(function(t,i){if(t){var r=t.find((function(t){return t.field===e.field}));e.errorMessage=r?r.message:""}else e.errorMessage=""}))}}}}},"4a7f":function(t,e,i){},abe5:function(t,e,i){"use strict";i.r(e);var r=i("0d2b"),n=i("05f7"),a={name:"tabsBuild",mixins:[r.a],components:{useComponent:n.default},props:{control:{type:Array,default:function(){return[]}}},methods:{changeValue:function(t){this.$emit("changeValue",{field:t.field,value:t.value})}}},s=(i("0801"),i("2877")),o=Object(s.a)(a,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"new_tab"},[e("Tabs",t._l(t.options,(function(i){return e("TabPane",{attrs:{label:i.label}},[e("use-component",{attrs:{validate:t.validate,control:t.control,errorsValidate:t.errorsValidate,rules:i.componentsModel},on:{changeValue:t.changeValue}})],1)})),1)],1)}),[],!1,null,"238ea2ba",null);e.default=o.exports}}]); |