(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-9d4d0752"],{"12f9":function(t,a,e){"use strict";e("e400")},"5b83":function(t,a,e){t.exports=e.p+"system/img/abbreviationBig.8b2693c4.png"},"9efb":function(t,a,e){t.exports=e.p+"system/img/abbreviationSmall.b17dca11.png"},ad20:function(t,a,e){t.exports=e.p+"system/img/abbreviation.a562fab6.png"},af4f:function(t,a,e){"use strict";e.r(a);var s=function(){var t=this,a=t.$createElement,s=t._self._c||a;return s("div",{staticClass:"divBox"},[s("div",[s("el-card",{attrs:{"body-style":{padding:"0 20px 20px"}}},[s("div",{},[s("el-tabs",{on:{"tab-click":t.changeTab},model:{value:t.currentTab,callback:function(a){t.currentTab=a},expression:"currentTab"}},t._l(t.headerList,(function(t,a){return s("el-tab-pane",{key:a,attrs:{label:t.label,name:t.value.toString()}})})),1)],1),t._v(" "),1==t.currentTab?s("el-alert",{attrs:{closable:""}},[s("template",{slot:"title"},[s("p",[t._v("上传图片时会生成缩略图")]),t._v(" "),s("p",[t._v("未设置按照系统默认生成,系统默认:大图800*800,中图300*300,小图150*150")]),t._v(" "),s("p",[t._v("水印只在上传图片时生成,原图,大中小缩略图上都按照比例存在。")]),t._v(" "),s("p",[t._v("若上传图片时未开启水印,则该图在开启水印之后依旧无水印效果。")])])],2):s("el-alert",{attrs:{closable:""}},[s("template",{slot:"title"},[2==t.currentTab?s("p",[t._v("\n 七牛云开通方法:"),s("a",{attrs:{href:"https://doc.crmeb.com/mer/mer2/4541",target:"_blank"}},[t._v("点击查看")])]):t._e(),t._v(" "),3==t.currentTab?s("p",[t._v("\n 阿里云oss开通方法:"),s("a",{attrs:{href:"https://doc.crmeb.com/mer/mer2/4542",target:"_blank"}},[t._v("点击查看")])]):t._e(),t._v(" "),4==t.currentTab?s("p",[t._v("\n 腾讯云cos开通方法:"),s("a",{attrs:{href:"https://doc.crmeb.com/mer/mer2/4543",target:"_blank"}},[t._v("点击查看")])]):t._e(),t._v(" "),7==t.currentTab?s("p",[t._v("\n 京东云cos开通方法:"),s("a",{attrs:{href:"https://doc.crmeb.com/mer/mer2/8516",target:"_blank"}},[t._v("点击查看")])]):t._e(),t._v(" "),6==t.currentTab?s("p",[t._v("\n UC云开通方法:"),s("a",{attrs:{href:"https://doc.crmeb.com/mer/mer2/4545",target:"_blank"}},[t._v("点击查看")])]):t._e(),t._v(" "),5==t.currentTab?s("p",[t._v("\n 华为云cos开通方法:"),s("a",{attrs:{href:"https://doc.crmeb.com/mer/mer2/4544",target:"_blank"}},[t._v("点击查看")])]):t._e(),t._v(" "),8==t.currentTab?s("p",[t._v("\n 天翼云cos开通方法:"),s("a",{attrs:{href:"https://doc.crmeb.com/mer/mer2/8517",target:"_blank"}},[t._v("点击查看")])]):t._e(),t._v(" "),s("p",[t._v("第一步: 添加【存储空间】(空间名称不能重复)")]),t._v(" "),s("p",[t._v("第二步: 开启【使用状态】")]),t._v(" "),2==t.currentTab?[s("p",[t._v("第三步(必选): 选择云存储空间列表上的修改【空间域名操作】")]),t._v(" "),s("p",[t._v("第四步(必选): 选择云存储空间列表上的修改【CNAME配置】,打开后复制记录值到对应的平台解析")])]:[s("p",[t._v("第三步(可选): 选择云存储空间列表上的修改【空间域名操作】")]),t._v(" "),s("p",[t._v("第四步(可选): 选择云存储空间列表上的修改【CNAME配置】,打开后复制记录值到对应的平台解析")])]],2)],2)],1)],1),t._v(" "),1==t.currentTab?s("div",{staticClass:"pt10"},[s("el-card",{staticClass:"ivu-mt",attrs:{bordered:!1,shadow:"never"}},[s("el-row",[s("el-col",{attrs:{span:24}},[s("span",{staticClass:"save-type"},[t._v(" 存储方式: ")]),t._v(" "),s("el-radio-group",{model:{value:t.formValidate.upload_type,callback:function(a){t.$set(t.formValidate,"upload_type",a)},expression:"formValidate.upload_type"}},t._l(t.metholdList,(function(a,e){return s("el-radio",{key:e,attrs:{label:a.value.toString()}},[t._v("\n "+t._s(a.label)+"\n ")])})),1)],1)],1)],1),t._v(" "),s("el-card",{staticClass:"ivu-mt",attrs:{bordered:!1,shadow:"never"}},[s("el-form",{ref:"formValidate",attrs:{model:t.formValidate,rules:t.ruleValidate}},[s("div",{staticClass:"abbreviation"},[s("div",{staticClass:"top"},[s("div",{staticClass:"topBox"},[s("div",{staticClass:"topLeft"},[s("div",{staticClass:"img"},[s("img",{staticClass:"imgs",attrs:{src:e("5b83"),alt:""}})]),t._v(" "),s("div",[t._v("缩略大图")])]),t._v(" "),s("div",{staticClass:"topRight"},[s("el-form-item",{attrs:{label:"宽:"}},[s("el-input",{staticClass:"topIput",attrs:{size:"small",type:"number",placeholder:"请输入宽度"},model:{value:t.formValidate.thumb_big_width,callback:function(a){t.$set(t.formValidate,"thumb_big_width",a)},expression:"formValidate.thumb_big_width"}},[s("span",{attrs:{slot:"append"},slot:"append"},[t._v("px")])])],1),t._v(" "),s("el-form-item",{attrs:{label:"高:"}},[s("el-input",{staticClass:"topIput",attrs:{size:"small",type:"number",placeholder:"请输入高度"},model:{value:t.formValidate.thumb_big_height,callback:function(a){t.$set(t.formValidate,"thumb_big_height",a)},expression:"formValidate.thumb_big_height"}},[s("span",{attrs:{slot:"append"},slot:"append"},[t._v("px")])])],1)],1)]),t._v(" "),s("div",{staticClass:"topBox"},[s("div",{staticClass:"topLeft"},[s("div",{staticClass:"img"},[s("img",{staticClass:"imgs",attrs:{src:e("ad20"),alt:""}})]),t._v(" "),s("div",[t._v("缩略中图")])]),t._v(" "),s("div",{staticClass:"topRight"},[s("el-form-item",{attrs:{label:"宽:"}},[s("el-input",{staticClass:"topIput",attrs:{size:"small",type:"number",placeholder:"请输入宽度"},model:{value:t.formValidate.thumb_mid_width,callback:function(a){t.$set(t.formValidate,"thumb_mid_width",a)},expression:"formValidate.thumb_mid_width"}},[s("span",{attrs:{slot:"append"},slot:"append"},[t._v("px")])])],1),t._v(" "),s("el-form-item",{attrs:{label:"高:"}},[s("el-input",{staticClass:"topIput",attrs:{type:"number",size:"small",placeholder:"请输入高度"},model:{value:t.formValidate.thumb_mid_height,callback:function(a){t.$set(t.formValidate,"thumb_mid_height",a)},expression:"formValidate.thumb_mid_height"}},[s("span",{attrs:{slot:"append"},slot:"append"},[t._v("px")])])],1)],1)]),t._v(" "),s("div",{staticClass:"topBox"},[s("div",{staticClass:"topLeft"},[s("div",{staticClass:"img"},[s("img",{staticClass:"imgs",attrs:{src:e("9efb"),alt:""}})]),t._v(" "),s("div",[t._v("缩略小图")])]),t._v(" "),s("div",{staticClass:"topRight"},[s("el-form-item",{attrs:{label:"宽:"}},[s("el-input",{staticClass:"topIput",attrs:{size:"small",type:"number",placeholder:"请输入宽度"},model:{value:t.formValidate.thumb_small_width,callback:function(a){t.$set(t.formValidate,"thumb_small_width",a)},expression:"formValidate.thumb_small_width"}},[s("span",{attrs:{slot:"append"},slot:"append"},[t._v("px")])])],1),t._v(" "),s("el-form-item",{attrs:{label:"高:"}},[s("el-input",{staticClass:"topIput",attrs:{size:"small",type:"number",placeholder:"请输入高度"},model:{value:t.formValidate.thumb_small_height,callback:function(a){t.$set(t.formValidate,"thumb_small_height",a)},expression:"formValidate.thumb_small_height"}},[s("span",{attrs:{slot:"append"},slot:"append"},[t._v("px")])])],1)],1)])]),t._v(" "),s("el-divider"),t._v(" "),s("div",{staticClass:"content mt20"},[s("el-form-item",{attrs:{label:"是否开启水印:","label-width":"130px"}},[s("el-switch",{attrs:{"active-value":1,"inactive-value":0,"active-text":"开启","inactive-text":"关闭",width:55},model:{value:t.formValidate.image_watermark_status,callback:function(a){t.$set(t.formValidate,"image_watermark_status",a)},expression:"formValidate.image_watermark_status"}})],1),t._v(" "),1==t.formValidate.image_watermark_status?s("div",[s("el-form-item",{attrs:{label:"水印类型:","label-width":"130px"}},[s("el-radio-group",{model:{value:t.formValidate.watermark_type,callback:function(a){t.$set(t.formValidate,"watermark_type",a)},expression:"formValidate.watermark_type"}},[s("el-radio",{attrs:{label:1}},[t._v("图片")]),t._v(" "),s("el-radio",{attrs:{label:2}},[t._v("文字")])],1)],1),t._v(" "),1==t.formValidate.watermark_type?s("div",[s("div",{staticClass:"flex"},[s("el-form-item",{staticClass:"contentIput",attrs:{label:"水印透明度:",prop:"name","label-width":"130px"}},[s("el-input",{staticClass:"topIput",staticStyle:{width:"250px"},attrs:{size:"small",type:"number",placeholder:"请输入水印透明度,0-100,100表示不透明"},model:{value:t.formValidate.watermark_opacity,callback:function(a){t.$set(t.formValidate,"watermark_opacity",a)},expression:"formValidate.watermark_opacity"}})],1),t._v(" "),s("el-form-item",{staticClass:"contentIput",attrs:{label:"水印倾斜度:",prop:"mail","label-width":"130px"}},[s("el-input-number",{staticClass:"topIput",staticStyle:{width:"250px"},attrs:{size:"small",type:"number",min:0,max:360,"controls-position":"right",placeholder:"请输入水印倾斜度"},model:{value:t.formValidate.watermark_rotate,callback:function(a){t.$set(t.formValidate,"watermark_rotate",a)},expression:"formValidate.watermark_rotate"}})],1)],1),t._v(" "),s("div",{staticClass:"flex"},[s("el-form-item",{staticClass:"contentIput",attrs:{label:"水印图片:",prop:"name","label-width":"130px"}},[s("div",{staticClass:"picBox",on:{click:function(a){return t.modalPicTap()}}},[t.formValidate.watermark_image?s("div",{staticClass:"pictrue"},[s("img",{attrs:{src:t.formValidate.watermark_image}})]):s("div",{staticClass:"upLoad acea-row row-center-wrapper"},[s("i",{staticClass:"el-icon-picture-outline",staticStyle:{"font-size":"24px"}})])])]),t._v(" "),s("el-form-item",{staticClass:"contentIput",attrs:{label:"水印位置:",prop:"mail","label-width":"130px"}},[s("div",{staticClass:"conents"},[s("div",{staticClass:"positionBox"},t._l(t.boxs,(function(a,e){return s("div",{key:e,staticClass:"topIput box",class:t.positionId==a.id?"on":"",on:{click:function(e){return t.bindbox(a)}}})})),0),t._v(" "),s("div",{staticClass:"title"},[t._v(t._s(t.positiontlt))])])])],1),t._v(" "),s("div",{staticClass:"flex"},[s("el-form-item",{staticClass:"contentIput",attrs:{label:"水印横坐标偏移量:","label-width":"130px",prop:"name"}},[s("el-input",{staticClass:"topIput",staticStyle:{width:"250px"},attrs:{size:"small",type:"number",placeholder:"请输入水印横坐标偏移量"},model:{value:t.formValidate.watermark_x,callback:function(a){t.$set(t.formValidate,"watermark_x",a)},expression:"formValidate.watermark_x"}},[s("span",{attrs:{slot:"append"},slot:"append"},[t._v("px")])])],1),t._v(" "),s("el-form-item",{staticClass:"contentIput",attrs:{label:"水印纵坐标偏移量:","label-width":"130px",prop:"mail"}},[s("el-input",{staticClass:"topIput",staticStyle:{width:"250px"},attrs:{size:"small",type:"number",placeholder:"请输入水印纵坐标偏移量"},model:{value:t.formValidate.watermark_y,callback:function(a){t.$set(t.formValidate,"watermark_y",a)},expression:"formValidate.watermark_y"}},[s("span",{attrs:{slot:"append"},slot:"append"},[t._v("px")])])],1)],1)]):s("div",[s("div",{staticClass:"flex"},[s("el-form-item",{staticClass:"contentIput",attrs:{label:"水印文字:","label-width":"130px",prop:"name"}},[s("el-input",{staticClass:"topIput",staticStyle:{width:"250px"},attrs:{size:"small",placeholder:"请输入水印文字"},model:{value:t.formValidate.watermark_text,callback:function(a){t.$set(t.formValidate,"watermark_text",a)},expression:"formValidate.watermark_text"}})],1),t._v(" "),s("el-form-item",{staticClass:"contentIput",attrs:{label:"水印文字大小:","label-width":"130px"}},[s("el-input",{staticClass:"topIput",staticStyle:{width:"250px"},attrs:{size:"small",type:"number",placeholder:"请输入水印文字大小"},model:{value:t.formValidate.watermark_text_size,callback:function(a){t.$set(t.formValidate,"watermark_text_size",a)},expression:"formValidate.watermark_text_size"}})],1)],1),t._v(" "),s("div",{staticClass:"flex"},[s("el-form-item",{staticClass:"contentIput",attrs:{label:"水印字体颜色:",prop:"name","label-width":"130px"}},[s("el-color-picker",{attrs:{size:"small"},model:{value:t.formValidate.watermark_text_color,callback:function(a){t.$set(t.formValidate,"watermark_text_color",a)},expression:"formValidate.watermark_text_color"}})],1),t._v(" "),s("el-form-item",{staticClass:"contentIput",attrs:{label:"水印位置:",prop:"mail","label-width":"130px"}},[s("div",{staticClass:"conents"},[s("div",{staticClass:"positionBox"},t._l(t.boxs,(function(a,e){return s("div",{key:e,staticClass:"topIput box",class:t.positionId==a.id?"on":"",on:{click:function(e){return t.bindbox(a)}}})})),0),t._v(" "),s("div",{staticClass:"title"},[t._v(t._s(t.positiontlt))])])])],1),t._v(" "),s("div",{staticClass:"flex"},[s("el-form-item",{staticClass:"contentIput",attrs:{label:"水印字体旋转角度:","label-width":"130px"}},[s("el-input-number",{staticClass:"topIput",staticStyle:{width:"250px"},attrs:{size:"small",type:"number",min:0,max:360,"controls-position":"right",placeholder:"请输入水印字体旋转角度"},model:{value:t.formValidate.watermark_text_angle,callback:function(a){t.$set(t.formValidate,"watermark_text_angle",a)},expression:"formValidate.watermark_text_angle"}})],1),t._v(" "),s("el-form-item",{staticClass:"contentIput",attrs:{label:"水印横坐标偏移量:","label-width":"130px"}},[s("el-input",{staticClass:"topIput",staticStyle:{width:"250px"},attrs:{size:"small",type:"number",placeholder:"请输入水印横坐标偏移量"},model:{value:t.formValidate.watermark_x,callback:function(a){t.$set(t.formValidate,"watermark_x",a)},expression:"formValidate.watermark_x"}},[s("span",{attrs:{slot:"append"},slot:"append"},[t._v("px")])])],1)],1),t._v(" "),s("el-form-item",{staticClass:"contentIput",attrs:{label:"水印纵坐纵偏移量:",prop:"mail","label-width":"130px"}},[s("el-input",{staticClass:"topIput",staticStyle:{width:"250px"},attrs:{size:"small",type:"number",placeholder:"请输入水印纵坐纵偏移量"},model:{value:t.formValidate.watermark_y,callback:function(a){t.$set(t.formValidate,"watermark_y",a)},expression:"formValidate.watermark_y"}},[s("span",{attrs:{slot:"append"},slot:"append"},[t._v("px")])])],1)],1)],1):t._e()],1),t._v(" "),s("el-form-item",[s("el-button",{attrs:{size:"small",type:"primary"},on:{click:function(a){return t.handleSubmit("formValidate")}}},[t._v("保存")])],1)],1)])],1)],1):10==t.currentTab?s("div",{staticClass:"pt10"},[t._v("我去恶趣味我去")]):s("div",{staticClass:"pt10"},[s("el-card",{staticClass:"ivu-mt",attrs:{bordered:!1,shadow:"never"}},[s("el-row",{staticClass:"mb20"},[s("el-col",{attrs:{span:24}},[s("el-button",{attrs:{size:"small",type:"primary"},on:{click:t.addStorageBtn}},[t._v("添加存储空间")]),t._v(" "),s("el-button",{staticStyle:{"margin-left":"20px"},attrs:{size:"small",type:"success"},on:{click:t.synchro}},[t._v("同步存储空间")]),t._v(" "),s("el-button",{staticStyle:{float:"right"},attrs:{size:"small"},on:{click:t.addConfigBtn}},[t._v("修改配置信息")])],1)],1),t._v(" "),s("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],ref:"table",staticClass:"mt14",attrs:{data:t.tableData.data,size:"small"}},[s("el-table-column",{attrs:{label:"储存空间名称","min-width":"120"},scopedSlots:t._u([{key:"default",fn:function(a){return[s("span",[t._v(t._s(a.row.name))])]}}])}),t._v(" "),s("el-table-column",{attrs:{label:"区域","min-width":"90"},scopedSlots:t._u([{key:"default",fn:function(a){return[s("span",[t._v(t._s(a.row.region))])]}}])}),t._v(" "),s("el-table-column",{attrs:{label:"空间域名","min-width":"130"},scopedSlots:t._u([{key:"default",fn:function(a){return[s("span",[t._v(t._s(a.row.domain))])]}}])}),t._v(" "),s("el-table-column",{attrs:{label:"使用状态","min-width":"90"},scopedSlots:t._u([{key:"default",fn:function(a){return[s("el-switch",{staticClass:"defineSwitch",attrs:{"active-value":1,"inactive-value":0,value:a.row.status,size:"large","active-text":"开启","inactive-text":"关闭"},on:{change:function(e){return t.changeSwitch(a.row)}},model:{value:a.row.status,callback:function(e){t.$set(a.row,"status",e)},expression:"scope.row.status"}})]}}])}),t._v(" "),s("el-table-column",{attrs:{label:"创建时间","min-width":"130"},scopedSlots:t._u([{key:"default",fn:function(a){return[s("span",[t._v(t._s(a.row.create_time))])]}}])}),t._v(" "),s("el-table-column",{attrs:{label:"更新时间","min-width":"130"},scopedSlots:t._u([{key:"default",fn:function(a){return[s("span",[t._v(t._s(a.row.update_time))])]}}])}),t._v(" "),s("el-table-column",{attrs:{label:"操作",fixed:"right",width:"220"},scopedSlots:t._u([{key:"default",fn:function(a){return[a.row.domain&&a.row.domain!=a.row.cname?[s("el-button",{attrs:{type:"text",size:"small"},on:{click:function(e){return t.config(a.row)}}},[t._v("CNAME配置")])]:t._e(),t._v(" "),s("el-button",{attrs:{type:"text",size:"small"},on:{click:function(e){return t.edit(a.row)}}},[t._v("修改空间域名")]),t._v(" "),s("el-button",{attrs:{type:"text",size:"small"},on:{click:function(e){return t.del(a.row)}}},[t._v("删除")])]}}])})],1),t._v(" "),s("div",{staticClass:"block"},[s("el-pagination",{attrs:{background:"","page-size":t.tableFrom.limit,"current-page":t.tableFrom.page,layout:"total, prev, pager, next, jumper",total:t.tableData.total},on:{"size-change":t.handleSizeChange,"current-change":t.pageChange}})],1)],1)],1),t._v(" "),s("el-dialog",{attrs:{visible:t.configuModal,title:"CNAME配置",width:"470px"},on:{"update:visible":function(a){t.configuModal=a}}},[s("div",[s("div",{staticClass:"confignv"},[s("span",{staticClass:"configtit"},[t._v("主机记录:")]),t._v(t._s(t.configData.domain))]),t._v(" "),s("div",{staticClass:"confignv"},[s("span",{staticClass:"configtit"},[t._v("记录类型:")]),t._v("CNAME")]),t._v(" "),s("div",{staticClass:"confignv"},[s("span",{staticClass:"configtit"},[t._v("记录值:")]),t._v(t._s(t.configData.name)+"\n "),s("span",{staticClass:"copy copy-data",on:{click:function(a){return t.insertCopy(t.configData.name,a)}}},[t._v("复制")])])])])],1)},i=[],l=(e("c5f6"),e("7f7f"),e("75fc")),r=e("90e7"),o=e("f71e"),n={components:{},data:function(){return{modalPic:!1,saveType:0,isChoice:"单选",gridBtn:{xl:4,lg:8,md:8,sm:8,xs:8},gridPic:{xl:6,lg:8,md:12,sm:12,xs:12},positionId:1,positiontlt:"",formValidate:{},boxs:[{content:"左上",id:1},{content:"上",id:2},{content:"右上",id:3},{content:"左中",id:4},{content:"中",id:5},{content:"右中",id:6},{content:"左下",id:7},{content:"下",id:8},{content:"右下",id:9}],ruleValidate:{},configuModal:!1,configData:"",headerList:[],metholdList:[],total:0,tableFrom:{page:1,limit:15,type:"1"},tableData:{data:[],total:0},currentTab:"1",loading:!1,addData:{input:"",select:"",jurisdiction:"1",type:"1"},confData:{AccessKeyId:"",AccessKeySecret:""},localStorage:!1}},created:function(){var t=this;Object(r["mb"])().then((function(a){t.headerList=[{label:"储存配置",value:"1"}].concat(Object(l["a"])(a.data)),t.metholdList=[{label:"本地储存",value:"1"}].concat(Object(l["a"])(a.data)),t.changeTab()})).catch((function(a){t.$message.error(a)}))},methods:{insertCopy:function(t,a){Object(o["a"])(t,a)},bindbox:function(t){this.positionId=t.id,this.positiontlt=t.content,this.formValidate.watermark_position=t.id},handleSubmit:function(t){var a=this;this.formValidate.image_watermark_status?this.$refs[t].validate((function(t){t?a.postMessage(a.formValidate):a.$message.error("Fail!")})):this.postMessage(this.formValidate)},postMessage:function(t){var a=this;Object(r["M"])(t).then((function(t){a.$message.success(t.message)})).catch((function(t){a.$message.error(t.message)}))},modalPicTap:function(){var t=this;t.$modalUpload((function(a){t.formValidate.watermark_image=a[0]}))},config:function(t){this.configuModal=!0,this.configData=t},synchro:function(){var t=this;Object(r["lb"])(this.currentTab).then((function(a){t.$message.success(a.message),t.getlist()})).catch((function(a){t.$message.error(a.message)}))},addStorageBtn:function(){var t=this;this.$modalForm(Object(r["c"])(this.currentTab)).then((function(){t.getlist()}))},addConfigBtn:function(){var t=this;this.$modalForm(Object(r["z"])(this.currentTab)).then((function(){t.getlist(1)}))},edit:function(t){var a=this;this.$modalForm(Object(r["q"])(t.id)).then((function(){a.getlist()}))},changeSwitch:function(t){var a=this;this.$confirm("您确认要切换使用状态吗?","切换状态",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){Object(r["jb"])(t.id).then((function(t){a.$message.success(t.message),a.getlist()})).catch((function(t){a.$message.error(t.message),a.getlist()}))})).catch((function(){a.$message({type:"info",message:"已取消"}),a.getlist()}))},getlist:function(t){var a=this;this.loading=!0,this.tableFrom.page=t||this.tableFrom.page,Object(r["ib"])(this.currentTab,this.tableFrom).then((function(t){a.tableData.data=t.data.list,a.tableData.total=t.data.count,a.loading=!1}))},pageChange:function(t){this.tableFrom.page=t,this.getList("")},handleSizeChange:function(t){this.tableFrom.limit=t,this.getList(1)},changeTab:function(){this.formValidate.upload_type=this.currentTab,this.tableFrom.page=1,1==this.currentTab?this.getposition():this.getlist()},getposition:function(){var t=this;Object(r["gb"])().then((function(a){1==a.data.type&&(t.localStorage=!0),t.formValidate=a.data,t.formValidate.image_watermark_status=Number(a.data.image_watermark_status),t.formValidate.thumb_big_width=a.data.thumb_big_width||"800",t.formValidate.thumb_big_height=a.data.thumb_big_height||"800",t.formValidate.thumb_mid_width=a.data.thumb_mid_width||"300",t.formValidate.thumb_mid_height=a.data.thumb_mid_height||"300",t.formValidate.thumb_small_width=a.data.thumb_small_width||"150",t.formValidate.thumb_small_height=a.data.thumb_small_height||"150",t.formValidate.watermark_type=a.data.watermark_type||1,t.positionId=a.data.watermark_position;for(var e=0;e