(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-0aa19fee"],{"5ce8":function(t,e,r){"use strict";r("bddf")},"6dc8":function(t,e,r){"use strict";r.r(e),r("b311");var a=r("b0e7"),n=r("d708"),o=r("90e7"),i={name:"setting_storage",components:{uploadPictures:a.a},data:function(){var t=function(t,e,r){!e||/(^(-)?[0-9]*$)/.test(e)?r():r(new Error("必须为整数"))};return{baseURL:n.a.apiBaseURL.replace(/adminapi/,""),modalPic:!1,isChoice:"单选",gridBtn:{xl:4,lg:8,md:8,sm:8,xs:8},gridPic:{xl:6,lg:8,md:12,sm:12,xs:12},configuModal:!1,configData:"",headerList:[{label:"基础配置",value:"1"},{label:"阿里云储存",value:"3"},{label:"腾讯云储存",value:"4"},{label:"七牛云储存",value:"2"},{label:"京东云储存",value:"5"},{label:"华为云储存",value:"6"},{label:"天翼云储存",value:"7"}],columns:[{title:"储存空间名称",key:"name",align:"center",minWidth:200},{title:"区域",key:"_region",align:"center",minWidth:100},{title:"空间域名",key:"domain",align:"center",minWidth:200},{title:"使用状态",slot:"status",align:"center",width:90},{title:"创建时间",key:"_add_time",align:"center",minWidth:150},{title:"更新时间",key:"_update_time",align:"center",minWidth:150},{title:"操作",slot:"action",width:210,align:"center"}],total:0,list:{page:1,limit:15,type:"1"},levelLists:[],currentTab:"1",loading:!1,addData:{input:"",select:"",jurisdiction:"1",type:"1"},confData:{AccessKeyId:"",AccessKeySecret:""},formData:{upload_type:1,image_watermark_status:0,thumb_big_width:"",thumb_big_height:"",thumb_mid_width:"",thumb_mid_height:"",thumb_small_width:"",thumb_small_height:"",watermark_type:1,watermark_text:"",watermark_text_angle:"",watermark_text_color:"",watermark_text_size:"",watermark_position:1,watermark_image:"",watermark_opacity:"",watermark_rotate:"",watermark_x:"",watermark_y:""},rules:{thumb_big_width:[{validator:t,trigger:"blur"}],thumb_big_height:[{validator:t,trigger:"blur"}],thumb_mid_width:[{validator:t,trigger:"blur"}],thumb_mid_height:[{validator:t,trigger:"blur"}],thumb_small_width:[{validator:t,trigger:"blur"}],thumb_small_height:[{validator:t,trigger:"blur"}],watermark_x:[{validator:t,trigger:"blur"}],watermark_y:[{validator:t,trigger:"blur"}]},visible:!1}},computed:{positionText:function(){return["左上","中上","右上","左中","中","右中","左下","中下","右下"][this.formData.watermark_position-1]}},created:function(){this.getConfigImage()},mounted:function(){},methods:{onCopy:function(){this.$Message.success("复制成功")},onError:function(){this.$Message.error("复制失败")},changeSave:function(t){var e=this;Object(o.V)(t).then((function(t){e.$Message.success(t.msg)})).catch((function(t){e.$Message.error(t.msg)}))},getConfigImage:function(){var t=this;Object(o.s)().then((function(e){var r=e.data;t.formData.upload_type=parseInt(r.upload_type.value),t.formData.image_watermark_status=r.image_watermark_status.value,t.formData.thumb_big_width=r.thumb_big_width.value,t.formData.thumb_big_height=r.thumb_big_height.value,t.formData.thumb_mid_width=r.thumb_mid_width.value,t.formData.thumb_mid_height=r.thumb_mid_height.value,t.formData.thumb_small_width=r.thumb_small_width.value,t.formData.thumb_small_height=r.thumb_small_height.value,t.formData.watermark_type=r.watermark_type.value,t.formData.watermark_text=r.watermark_text.value,t.formData.watermark_text_angle=r.watermark_text_angle.value,t.formData.watermark_text_color=r.watermark_text_color.value,t.formData.watermark_text_size=r.watermark_text_size.value,t.formData.watermark_position=r.watermark_position.value,t.formData.watermark_image=r.watermark_image.value,t.formData.watermark_opacity=r.watermark_opacity.value,t.formData.watermark_rotate=r.watermark_rotate.value,t.formData.watermark_x=r.watermark_x.value,t.formData.watermark_y=r.watermark_y.value}))},handleSubmit:function(t){var e=this;this.$refs[t].validate((function(t){t&&Object(o.U)(e.formData).then((function(t){e.$Message.success(t.msg)})).catch((function(t){e.$Message.error(t.msg)}))}))},modalPicTap:function(){this.modalPic=!0},getPic:function(t){this.formData.watermark_image=t.att_dir,this.modalPic=!1},config:function(t){this.configuModal=!0,this.configData=t},synchro:function(){var t=this;Object(o.ib)(this.currentTab).then((function(e){t.$Message.success(e.msg),t.getlist()})).catch((function(e){t.$Message.error(e.msg)}))},addStorageBtn:function(){var t=this;this.$modalForm(Object(o.b)(this.currentTab)).then((function(){t.getlist()}))},addConfigBtn:function(){var t=this;this.$modalForm(Object(o.a)(this.currentTab)).then((function(){t.getlist()}))},edit:function(t){var e=this;this.$modalForm(Object(o.l)(t.id)).then((function(){e.getlist()}))},changeSwitch:function(t,e){var r=this;return new Promise((function(e){r.$Modal.confirm({title:"切换状态",content:"您确认要切换使用状态吗?",onOk:function(){Object(o.hb)(t.id).then((function(t){r.$Message.success(t.msg),r.getlist()})).catch((function(t){r.$Message.error(t.msg)}))},onCancel:function(){r.$Message.info("已取消"),r.getlist()}})}))},getlist:function(){var t=this;this.loading=!0,Object(o.gb)(this.list).then((function(e){t.total=e.data.count,t.levelLists=e.data.list,t.loading=!1}))},changeTab:function(t){this.currentTab=t,this.list.type=t,this.list.page=1,1==t?this.getConfigImage():this.getlist()},del:function(t,e,r){var a=this,n={title:e,num:r,url:"setting/config/storage/".concat(t.id),method:"DELETE",ids:""};this.$modalSure(n).then((function(t){a.$Message.success(t.msg),a.getlist()})).catch((function(t){a.$Message.error(t.msg)}))},pageChange:function(t){this.list.page=t,this.getlist()},handleView:function(){this.visible=!0},handleRemove:function(){this.formData.watermark_image=""}}},c=(r("5ce8"),r("c348"),r("2877")),u=Object(c.a)(i,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"message"},[e("div",{staticClass:"table-box"},[e("Card",{attrs:{bordered:!1,padding:20,"dis-hover":""}},[e("div",{staticClass:"new_tab"},[e("Tabs",{on:{"on-click":t.changeTab},model:{value:t.currentTab,callback:function(e){t.currentTab=e},expression:"currentTab"}},t._l(t.headerList,(function(t,r){return e("TabPane",{key:r,attrs:{label:t.label,name:t.value.toString()}})})),1)],1),e("div",{staticClass:"table-box explain"},[e("Card",{attrs:{"dis-hover":""}},[e("h3",[t._v("使用说明")]),1==t.currentTab?[e("p",[t._v("上传图片时会生成缩略图")]),e("p",[t._v("未设置按照系统默认生成,系统默认:大图800 * 800px,中图300 * 300px,小图150 * 150px")]),e("p",[t._v("水印只在上传图片时生成,原图,大中小缩略图上都按照比例存在。")]),e("p",[t._v("若上传图片时未开启水印,则该图在开启水印之后依旧无水印效果。")])]:[3==t.currentTab?e("p",[t._v("阿里云oss开通方法:"),e("a",{attrs:{target:"_blank",href:"https://doc.RENZHOU.com/pro/RENZHOUprov2/1213"}},[t._v("点击查看")])]):t._e(),4==t.currentTab?e("p",[t._v("腾讯云oss开通方法:"),e("a",{attrs:{target:"_blank",href:"https://doc.RENZHOU.com/pro/RENZHOUprov2/1214"}},[t._v("点击查看")])]):t._e(),2==t.currentTab?e("p",[t._v("七牛云开通方法:"),e("a",{attrs:{target:"_blank",href:"https://doc.RENZHOU.com/pro/RENZHOUprov2/1215"}},[t._v("点击查看")])]):t._e(),5==t.currentTab?e("p",[t._v("京东云cos开通方法:"),e("a",{attrs:{target:"_blank",href:"https://doc.RENZHOU.com/single/v5/8522"}},[t._v("点击查看")])]):t._e(),6==t.currentTab?e("p",[t._v("华为云cos开通方法:"),e("a",{attrs:{target:"_blank",href:"https://doc.RENZHOU.com/single/v5/8523"}},[t._v("点击查看")])]):t._e(),7==t.currentTab?e("p",[t._v("天翼云cos开通方法:"),e("a",{attrs:{target:"_blank",href:"https://doc.RENZHOU.com/single/v5/8524"}},[t._v("点击查看")])]):t._e(),e("p",[t._v("第一步: 添加【存储空间】(空间名称不能重复)")]),e("p",[t._v("第二步: 开启【使用状态】")]),2==t.currentTab?[e("p",[t._v("第三步(必选): 选择云存储空间列表上的修改【空间域名操作】")]),e("p",[t._v("\r\n\t\t\t\t 第四步(必选):\r\n\t\t\t\t 选择云存储空间列表上的修改【CNAME配置】,打开后复制记录值到对应的平台解析\r\n\t\t\t\t ")])]:[e("p",[t._v("第三步(可选): 选择云存储空间列表上的修改【空间域名操作】")]),e("p",[t._v("\r\n\t\t\t\t 第四步(可选):\r\n\t\t\t\t 选择云存储空间列表上的修改【CNAME配置】,打开后复制记录值到对应的平台解析\r\n\t\t\t\t ")])]]],2)],1),1==t.currentTab?e("div",{staticClass:"table-box"},[e("Card",{attrs:{bordered:!1,padding:0,"dis-hover":""}},[e("Form",{ref:"formValidate",attrs:{model:t.formData,rules:t.rules,"label-width":123}},[e("FormItem",{attrs:{label:"存储类型:","label-width":90}},[e("RadioGroup",{on:{"on-change":t.changeSave},model:{value:t.formData.upload_type,callback:function(e){t.$set(t.formData,"upload_type",e)},expression:"formData.upload_type"}},[e("Radio",{attrs:{label:1}},[t._v("本地存储")]),e("Radio",{attrs:{label:3}},[t._v("阿里云存储")]),e("Radio",{attrs:{label:4}},[t._v("腾讯云存储")]),e("Radio",{attrs:{label:2}},[t._v("七牛云存储")]),e("Radio",{attrs:{label:5}},[t._v("京东云存储")]),e("Radio",{attrs:{label:6}},[t._v("华为云存储")]),e("Radio",{attrs:{label:7}},[t._v("天翼云存储")])],1)],1),e("div",[t._v("缩略图设置:")]),e("div",{staticClass:"thumb-list"},[e("div",{staticClass:"item"},[e("div",{staticClass:"image"},[e("img",{attrs:{src:r("f0c9")}}),e("div",[t._v("缩略大图")])]),e("div",[e("FormItem",{attrs:{label:"宽:","label-width":63,prop:"thumb_big_width"}},[e("Input",{attrs:{placeholder:"请输入宽"},model:{value:t.formData.thumb_big_width,callback:function(e){t.$set(t.formData,"thumb_big_width",e)},expression:"formData.thumb_big_width"}},[e("span",{attrs:{slot:"append"},slot:"append"},[t._v("px")])])],1),e("FormItem",{attrs:{label:"高:","label-width":63,prop:"thumb_big_height"}},[e("Input",{attrs:{placeholder:"请输入高"},model:{value:t.formData.thumb_big_height,callback:function(e){t.$set(t.formData,"thumb_big_height",e)},expression:"formData.thumb_big_height"}},[e("span",{attrs:{slot:"append"},slot:"append"},[t._v("px")])])],1)],1)]),e("div",{staticClass:"item"},[e("div",{staticClass:"image"},[e("img",{attrs:{src:r("fc22")}}),e("div",[t._v("缩略中图")])]),e("div",[e("FormItem",{attrs:{label:"宽:","label-width":63,prop:"thumb_mid_width"}},[e("Input",{attrs:{placeholder:"请输入宽"},model:{value:t.formData.thumb_mid_width,callback:function(e){t.$set(t.formData,"thumb_mid_width",e)},expression:"formData.thumb_mid_width"}},[e("span",{attrs:{slot:"append"},slot:"append"},[t._v("px")])])],1),e("FormItem",{attrs:{label:"高:","label-width":63,prop:"thumb_mid_height"}},[e("Input",{attrs:{placeholder:"请输入高"},model:{value:t.formData.thumb_mid_height,callback:function(e){t.$set(t.formData,"thumb_mid_height",e)},expression:"formData.thumb_mid_height"}},[e("span",{attrs:{slot:"append"},slot:"append"},[t._v("px")])])],1)],1)]),e("div",{staticClass:"item"},[e("div",{staticClass:"image"},[e("img",{attrs:{src:r("fc22")}}),e("div",[t._v("缩略小图")])]),e("div",[e("FormItem",{attrs:{label:"宽:","label-width":63,prop:"thumb_small_width"}},[e("Input",{attrs:{placeholder:"请输入宽"},model:{value:t.formData.thumb_small_width,callback:function(e){t.$set(t.formData,"thumb_small_width",e)},expression:"formData.thumb_small_width"}},[e("span",{attrs:{slot:"append"},slot:"append"},[t._v("px")])])],1),e("FormItem",{attrs:{label:"高:","label-width":63,prop:"thumb_small_height"}},[e("Input",{attrs:{placeholder:"请输入高"},model:{value:t.formData.thumb_small_height,callback:function(e){t.$set(t.formData,"thumb_small_height",e)},expression:"formData.thumb_small_height"}},[e("span",{attrs:{slot:"append"},slot:"append"},[t._v("px")])])],1)],1)])]),e("FormItem",{attrs:{label:"是否开启水印:"}},[e("i-switch",{attrs:{"true-value":1,"false-value":0,size:"large"},model:{value:t.formData.image_watermark_status,callback:function(e){t.$set(t.formData,"image_watermark_status",e)},expression:"formData.image_watermark_status"}},[e("span",{attrs:{slot:"open"},slot:"open"},[t._v("开启")]),e("span",{attrs:{slot:"close"},slot:"close"},[t._v("关闭")])])],1),e("FormItem",{directives:[{name:"show",rawName:"v-show",value:t.formData.image_watermark_status,expression:"formData.image_watermark_status"}],attrs:{label:"水印类型:"}},[e("RadioGroup",{model:{value:t.formData.watermark_type,callback:function(e){t.$set(t.formData,"watermark_type",e)},expression:"formData.watermark_type"}},[e("Radio",{attrs:{label:1}},[t._v("图片")]),e("Radio",{attrs:{label:2}},[t._v("文字")])],1)],1),e("div",{directives:[{name:"show",rawName:"v-show",value:t.formData.image_watermark_status,expression:"formData.image_watermark_status"}],staticClass:"form-item-list"},[1===t.formData.watermark_type?e("FormItem",{key:"watermark_image",attrs:{label:"水印图片:"}},[t.formData.watermark_image?e("div",{staticClass:"upload-list"},[e("img",{directives:[{name:"lazy",rawName:"v-lazy",value:t.formData.watermark_image,expression:"formData.watermark_image"}]}),e("div",{staticClass:"upload-list-cover"},[e("Icon",{attrs:{type:"ios-eye-outline"},nativeOn:{click:function(e){return t.handleView.apply(null,arguments)}}}),e("Icon",{attrs:{type:"ios-trash-outline"},nativeOn:{click:function(e){return t.handleRemove.apply(null,arguments)}}})],1)]):e("div",{staticClass:"upload",on:{click:function(e){return t.modalPicTap("dan")}}},[e("Icon",{attrs:{type:"ios-add",size:"20"}})],1),e("div",[e("Poptip",{attrs:{placement:"bottom",trigger:"hover",width:"256",transfer:"",padding:"8px"}},[e("a",[t._v("查看示例")]),e("div",{staticClass:"exampleImg",attrs:{slot:"content"},slot:"content"},[e("div",{staticStyle:{"margin-bottom":"10px","font-size":"12px","line-height":"18px",color:"#666666"}},[t._v("可在商品图上增加水印,水印可选择多"),e("br"),t._v("种样式,下图仅供参考")]),e("img",{attrs:{src:"".concat(t.baseURL,"/statics/system/watermark.png"),alt:""}})])])],1)]):t._e(),2===t.formData.watermark_type?e("FormItem",{key:"watermark_text",attrs:{label:"水印文字:"}},[e("Input",{attrs:{placeholder:"请输入水印文字"},model:{value:t.formData.watermark_text,callback:function(e){t.$set(t.formData,"watermark_text",e)},expression:"formData.watermark_text"}})],1):t._e(),2===t.formData.watermark_type?e("FormItem",{key:"watermark_text_size",attrs:{label:"水印文字大小:",prop:"watermark_text_size",rules:{validator:function(t,e,r){!e||/(^[1-9]\d*$)/.test(e)?r():r(!1)},message:"必须为正整数",trigger:"blur"}}},[e("Input",{attrs:{placeholder:"请输入水印文字大小"},model:{value:t.formData.watermark_text_size,callback:function(e){t.$set(t.formData,"watermark_text_size",e)},expression:"formData.watermark_text_size"}},[e("span",{attrs:{slot:"append"},slot:"append"},[t._v("px")])])],1):t._e(),2===t.formData.watermark_type?e("FormItem",{key:"watermark_text_color",attrs:{label:"水印字体颜色:"}},[e("ColorPicker",{model:{value:t.formData.watermark_text_color,callback:function(e){t.$set(t.formData,"watermark_text_color",e)},expression:"formData.watermark_text_color"}})],1):t._e(),e("FormItem",{attrs:{label:"水印位置:"}},[e("RadioGroup",{attrs:{type:"button"},model:{value:t.formData.watermark_position,callback:function(e){t.$set(t.formData,"watermark_position",e)},expression:"formData.watermark_position"}},t._l(9,(function(t){return e("Radio",{key:t,attrs:{label:t}})})),1),e("span",{staticClass:"tip"},[t._v(t._s(t.positionText))])],1),1===t.formData.watermark_type?e("FormItem",{key:"watermark_opacity",attrs:{label:"水印透明度:",prop:"watermark_opacity",rules:{validator:function(t,e,r){!e||/^([0-9]{1,2}|100)$/.test(e)?r():r(!1)},message:"必须为0-100的整数",trigger:"blur"}}},[e("Input",{attrs:{placeholder:"请输入水印透明度"},model:{value:t.formData.watermark_opacity,callback:function(e){t.$set(t.formData,"watermark_opacity",e)},expression:"formData.watermark_opacity"}})],1):t._e(),1===t.formData.watermark_type?e("FormItem",{key:"watermark_rotate",attrs:{label:"水印倾斜度:",prop:"watermark_rotate",rules:{validator:function(t,e,r){!e||/^([0-9]{1,2}|360)$/.test(e)?r():r(!1)},message:"必须为0-360的整数",trigger:"blur"}}},[e("Input",{attrs:{placeholder:"请输入水印倾斜度"},model:{value:t.formData.watermark_rotate,callback:function(e){t.$set(t.formData,"watermark_rotate",e)},expression:"formData.watermark_rotate"}})],1):t._e(),2===t.formData.watermark_type?e("FormItem",{key:"watermark_text_angle",attrs:{label:"水印字体旋转角度:"}},[e("Input",{attrs:{placeholder:"请输入水印字体旋转角度"},model:{value:t.formData.watermark_text_angle,callback:function(e){t.$set(t.formData,"watermark_text_angle",e)},expression:"formData.watermark_text_angle"}})],1):t._e(),e("FormItem",{attrs:{label:"水印横坐标偏移量:",prop:"watermark_x"}},[e("Input",{attrs:{placeholder:"请输入横坐标偏移量"},model:{value:t.formData.watermark_x,callback:function(e){t.$set(t.formData,"watermark_x",e)},expression:"formData.watermark_x"}},[e("span",{attrs:{slot:"append"},slot:"append"},[t._v("px")])])],1),e("FormItem",{attrs:{label:"水印纵坐标偏移量:",prop:"watermark_y"}},[e("Input",{attrs:{placeholder:"请输入纵坐标偏移量"},model:{value:t.formData.watermark_y,callback:function(e){t.$set(t.formData,"watermark_y",e)},expression:"formData.watermark_y"}},[e("span",{attrs:{slot:"append"},slot:"append"},[t._v("px")])])],1)],1),e("FormItem",[e("Button",{attrs:{type:"primary"},on:{click:function(e){return t.handleSubmit("formValidate")}}},[t._v("保存")])],1)],1)],1)],1):e("div",{staticClass:"table-box"},[e("Card",{staticClass:"ivu-mt",attrs:{bordered:!1,"dis-hover":""}},[e("Row",{staticClass:"mb20",attrs:{type:"flex"}},[e("Col",{attrs:{span:"24"}},[e("Button",{attrs:{type:"primary"},on:{click:t.addStorageBtn}},[t._v("添加存储空间")]),e("Button",{staticClass:"ml20",attrs:{type:"success"},on:{click:t.synchro}},[t._v("同步存储空间")]),e("Button",{staticStyle:{float:"right"},on:{click:t.addConfigBtn}},[t._v("修改配置信息")])],1)],1),e("Table",{ref:"table",staticClass:"mt25",attrs:{columns:t.columns,data:t.levelLists,loading:t.loading,"highlight-row":"","no-userFrom-text":"暂无数据","no-filtered-userFrom-text":"暂无筛选结果"},scopedSlots:t._u([{key:"status",fn:function(r){var a=r.row,n=r.index;return[e("i-switch",{attrs:{value:a.status,"true-value":1,"false-value":0,size:"large"},on:{"on-change":function(e){return t.changeSwitch(a,n)}},model:{value:a.status,callback:function(e){t.$set(a,"status",e)},expression:"row.status"}},[e("span",{attrs:{slot:"open"},slot:"open"},[t._v("开启")]),e("span",{attrs:{slot:"close"},slot:"close"},[t._v("关闭")])])]}},{key:"action",fn:function(r){var a=r.row,n=r.index;return[a.domain&&a.domain!=a.cname?[e("span",{staticClass:"btn",on:{click:function(e){return t.config(a)}}},[t._v("CNAME配置")]),e("Divider",{attrs:{type:"vertical"}})]:t._e(),e("span",{staticClass:"btn",on:{click:function(e){return t.edit(a)}}},[t._v("修改空间域名")]),e("Divider",{attrs:{type:"vertical"}}),e("span",{staticClass:"btn",on:{click:function(e){return t.del(a,"删除该数据",n)}}},[t._v("删除")])]}}])}),e("div",{staticClass:"acea-row row-right page"},[e("Page",{attrs:{total:t.total,current:t.list.page,"show-elevator":"","show-total":"","page-size":t.list.limit},on:{"on-change":t.pageChange}})],1)],1)],1)])],1),e("Modal",{attrs:{title:"CNAME配置"},model:{value:t.configuModal,callback:function(e){t.configuModal=e},expression:"configuModal"}},[e("div",[e("div",{staticClass:"confignv"},[e("span",{staticClass:"configtit"},[t._v("主机记录:")]),t._v(t._s(t.configData.domain)+"\r\n ")]),e("div",{staticClass:"confignv"},[e("span",{staticClass:"configtit"},[t._v("记录类型:")]),t._v("CNAME\r\n ")]),e("div",{staticClass:"confignv"},[e("span",{staticClass:"configtit"},[t._v("记录值:")]),t._v(t._s(t.configData.cname)+"\r\n"),e("Button",{directives:[{name:"clipboard",rawName:"v-clipboard:copy",value:t.configData.cname,expression:"configData.cname",arg:"copy"},{name:"clipboard",rawName:"v-clipboard:success",value:t.onCopy,expression:"onCopy",arg:"success"},{name:"clipboard",rawName:"v-clipboard:error",value:t.onError,expression:"onError",arg:"error"}],attrs:{size:"small"}},[t._v("复制\r\n ")])],1)]),e("div",{attrs:{slot:"footer"},slot:"footer"})]),e("Modal",{attrs:{width:"960px",scrollable:"","footer-hide":"",closable:"",title:"上传商品图","mask-closable":!1,"z-index":888},model:{value:t.modalPic,callback:function(e){t.modalPic=e},expression:"modalPic"}},[t.modalPic?e("uploadPictures",{attrs:{isChoice:t.isChoice,gridBtn:t.gridBtn,gridPic:t.gridPic},on:{getPic:t.getPic}}):t._e()],1),e("Modal",{model:{value:t.visible,callback:function(e){t.visible=e},expression:"visible"}},[t.visible?e("img",{staticStyle:{width:"100%"},attrs:{src:t.formData.watermark_image}}):t._e()])],1)}),[],!1,null,"f65506b6",null);e.default=u.exports},"90e7":function(t,e,r){"use strict";r.d(e,"u",(function(){return n})),r.d(e,"i",(function(){return o})),r.d(e,"wb",(function(){return i})),r.d(e,"vb",(function(){return c})),r.d(e,"X",(function(){return u})),r.d(e,"c",(function(){return s})),r.d(e,"ab",(function(){return l})),r.d(e,"P",(function(){return m})),r.d(e,"kb",(function(){return d})),r.d(e,"H",(function(){return f})),r.d(e,"jb",(function(){return p})),r.d(e,"p",(function(){return h})),r.d(e,"n",(function(){return g})),r.d(e,"o",(function(){return b})),r.d(e,"q",(function(){return v})),r.d(e,"r",(function(){return _})),r.d(e,"S",(function(){return w})),r.d(e,"T",(function(){return y})),r.d(e,"Q",(function(){return k})),r.d(e,"R",(function(){return x})),r.d(e,"I",(function(){return A})),r.d(e,"B",(function(){return O})),r.d(e,"F",(function(){return j})),r.d(e,"E",(function(){return C})),r.d(e,"w",(function(){return D})),r.d(e,"G",(function(){return T})),r.d(e,"y",(function(){return E})),r.d(e,"D",(function(){return R})),r.d(e,"x",(function(){return I})),r.d(e,"v",(function(){return M})),r.d(e,"h",(function(){return B})),r.d(e,"d",(function(){return K})),r.d(e,"e",(function(){return L})),r.d(e,"xb",(function(){return U})),r.d(e,"yb",(function(){return P})),r.d(e,"zb",(function(){return S})),r.d(e,"Z",(function(){return Q})),r.d(e,"lb",(function(){return F})),r.d(e,"J",(function(){return H})),r.d(e,"nb",(function(){return N})),r.d(e,"mb",(function(){return V})),r.d(e,"ob",(function(){return Z})),r.d(e,"pb",(function(){return q})),r.d(e,"qb",(function(){return G})),r.d(e,"rb",(function(){return W})),r.d(e,"Ab",(function(){return z})),r.d(e,"Bb",(function(){return Y})),r.d(e,"K",(function(){return J})),r.d(e,"f",(function(){return X})),r.d(e,"Cb",(function(){return $})),r.d(e,"bb",(function(){return tt})),r.d(e,"cb",(function(){return et})),r.d(e,"C",(function(){return rt})),r.d(e,"z",(function(){return at})),r.d(e,"Y",(function(){return nt})),r.d(e,"db",(function(){return ot})),r.d(e,"eb",(function(){return it})),r.d(e,"fb",(function(){return ct})),r.d(e,"A",(function(){return ut})),r.d(e,"L",(function(){return st})),r.d(e,"O",(function(){return lt})),r.d(e,"M",(function(){return mt})),r.d(e,"N",(function(){return dt})),r.d(e,"g",(function(){return ft})),r.d(e,"t",(function(){return pt})),r.d(e,"s",(function(){return ht})),r.d(e,"U",(function(){return gt})),r.d(e,"gb",(function(){return bt})),r.d(e,"ib",(function(){return vt})),r.d(e,"b",(function(){return _t})),r.d(e,"hb",(function(){return wt})),r.d(e,"l",(function(){return yt})),r.d(e,"a",(function(){return kt})),r.d(e,"k",(function(){return xt})),r.d(e,"j",(function(){return At})),r.d(e,"sb",(function(){return Ot})),r.d(e,"tb",(function(){return jt})),r.d(e,"ub",(function(){return Ct})),r.d(e,"m",(function(){return Dt})),r.d(e,"V",(function(){return Tt})),r.d(e,"W",(function(){return Et}));var a=r("b6bd");function n(t){return Object(a.a)({url:"setting/config/header_basics",method:"get",params:t})}function o(t,e){return Object(a.a)({url:e,method:"get",params:t})}function i(t){return Object(a.a)({url:t.url,method:"get",params:t.data})}function c(){return Object(a.a)({url:"notify/sms/temp/create",method:"get"})}function u(){return Object(a.a)({url:"serve/info",method:"get"})}function s(t){return Object(a.a)({url:"serve/captcha",method:"post",data:t})}function l(t){return Object(a.a)({url:"serve/meal_list",method:"get",params:t})}function m(t){return Object(a.a)({url:"serve/pay_meal",method:"post",data:t})}function d(){return Object(a.a)({url:"merchant/store",method:"GET"})}function f(){return Object(a.a)({url:"merchant/store/address",method:"GET"})}function p(t){return Object(a.a)({url:"merchant/store/".concat(t.id),method:"POST",data:t})}function h(t){return Object(a.a)({url:"freight/express",method:"get",params:t})}function g(){return Object(a.a)({url:"/freight/express/create",method:"get"})}function b(t){return Object(a.a)({url:"freight/express/".concat(t,"/edit"),method:"get"})}function v(t){return Object(a.a)({url:"freight/express/set_status/".concat(t.id,"/").concat(t.status),method:"PUT"})}function _(){return Object(a.a)({url:"freight/express/sync_express",method:"get"})}function w(t){return Object(a.a)({url:"setting/role",method:"GET",params:t})}function y(t){return Object(a.a)({url:"setting/role/set_status/".concat(t.id,"/").concat(t.status),method:"PUT"})}function k(t){return Object(a.a)({url:"setting/role/".concat(t.id),method:"post",data:t})}function x(t){return Object(a.a)({url:"setting/role/".concat(t,"/edit"),method:"get"})}function A(){return Object(a.a)({url:"setting/role/create",method:"get"})}function O(t){return Object(a.a)({url:"app/wechat/kefu",method:"get",params:t})}function j(t){return Object(a.a)({url:"app/wechat/kefu/create",method:"get",params:t})}function C(){return Object(a.a)({url:"app/wechat/kefu/add",method:"get"})}function D(t){return Object(a.a)({url:"app/wechat/kefu",method:"post",data:t})}function T(t){return Object(a.a)({url:"app/wechat/kefu/set_status/".concat(t.id,"/").concat(t.account_status),method:"PUT"})}function E(t){return Object(a.a)({url:"app/wechat/kefu/".concat(t,"/edit"),method:"GET"})}function R(t,e){return Object(a.a)({url:"app/wechat/kefu/record/".concat(e),method:"GET",params:t})}function I(t){return Object(a.a)({url:"app/wechat/kefu/chat_list",method:"GET",params:t})}function M(){return Object(a.a)({url:"notify/sms/is_login",method:"GET"})}function B(t){return Object(a.a)({url:"setting/city/list/".concat(t),method:"get"})}function K(t){return Object(a.a)({url:"setting/city/add/".concat(t),method:"get"})}function L(t){return Object(a.a)({url:"setting/city/".concat(t,"/edit"),method:"get"})}function U(t){return Object(a.a)({url:"setting/shipping_templates/list",method:"get",params:t})}function P(t){return Object(a.a)({url:"setting/shipping_templates/city_list",method:"get"})}function S(t,e){return Object(a.a)({url:"setting/shipping_templates/save/".concat(t),method:"post",data:e})}function Q(t){return Object(a.a)({url:"setting/shipping_templates/".concat(t,"/edit"),method:"get"})}function F(){return Object(a.a)({url:"merchant/store/get_header",method:"get"})}function H(t){return Object(a.a)({url:"merchant/store",method:"get",params:t})}function N(t,e){return Object(a.a)({url:"merchant/store/set_show/".concat(t,"/").concat(e),method:"put"})}function V(t){return Object(a.a)({url:"merchant/store/get_info/".concat(t),method:"get"})}function Z(t){return Object(a.a)({url:"merchant/store_staff",method:"get",params:t})}function q(){return Object(a.a)({url:"merchant/store_staff/create",method:"get"})}function G(t){return Object(a.a)({url:"merchant/store_staff/".concat(t,"/edit"),method:"get"})}function W(t,e){return Object(a.a)({url:"merchant/store_staff/set_show/".concat(t,"/").concat(e),method:"put"})}function z(t){return Object(a.a)({url:"merchant/verify_order",method:"get",params:t})}function Y(t){return Object(a.a)({url:"merchant/verify/spread_info/".concat(t),method:"get"})}function J(){return Object(a.a)({url:"merchant/store_list",method:"get"})}function X(){return Object(a.a)({url:"setting/city/clean_cache",method:"get"})}function $(t){return Object(a.a)({url:"app/wechat/speechcraft",method:"get",params:t})}function tt(t){return Object(a.a)({url:"app/wechat/speechcraft/create",method:"get",params:t})}function et(t){return Object(a.a)({url:"app/wechat/speechcraft/".concat(t,"/edit"),method:"get"})}function rt(t){return Object(a.a)({url:"app/wechat/kefu/login/".concat(t),method:"get"})}function at(t){return Object(a.a)({url:"app/feedback",method:"get",params:t})}function nt(t){return Object(a.a)({url:"serve/sms/sign",method:"PUT",data:t})}function ot(){return Object(a.a)({url:"app/wechat/speechcraftcate",method:"get"})}function it(){return Object(a.a)({url:"app/wechat/speechcraftcate/create",method:"get"})}function ct(t){return Object(a.a)({url:"app/wechat/speechcraftcate/".concat(t,"/edit"),method:"get"})}function ut(t){return Object(a.a)({url:"app/feedback/".concat(t,"/edit"),method:"get"})}function st(t){return Object(a.a)({url:"setting/system_out/index",method:"get",params:t})}function lt(t,e){return Object(a.a)({url:"setting/system_out/set_status/".concat(t,"/").concat(e),method:"put"})}function mt(t){return Object(a.a)({url:"setting/system_out/save",method:"post",params:t})}function dt(t,e){return Object(a.a)({url:"setting/system_out/update/".concat(t),method:"post",params:e})}function ft(t){return Object(a.a)({url:"city",method:"get",params:t})}function pt(t){return Object(a.a)({url:"setting/config/edit_new_build/"+t,method:"get"})}function ht(){return Object(a.a)({url:"/setting/config/image",method:"get"})}function gt(t){return Object(a.a)({url:"setting/config/save_basics",method:"post",data:t})}function bt(t){return Object(a.a)({url:"/setting/config/storage",method:"get",params:t})}function vt(t){return Object(a.a)({url:"/setting/config/storage/synch/".concat(t),method:"put"})}function _t(t){return Object(a.a)({url:"/setting/config/storage/create/".concat(t),method:"get"})}function wt(t){return Object(a.a)({url:"/setting/config/storage/status/".concat(t),method:"put"})}function yt(t){return Object(a.a)({url:"/setting/config/storage/domain/".concat(t),method:"get"})}function kt(t){return Object(a.a)({url:"/setting/config/storage/form/".concat(t),method:"get"})}function xt(t){return Object(a.a)({url:"/order/delivery_order/list",method:"get",params:t})}function At(t){return Object(a.a)({url:"/order/delivery_order/cancelForm/".concat(t),method:"get"})}function Ot(t,e){return Object(a.a)({url:"/system/form/save/".concat(t),method:"post",data:e})}function jt(t,e){return Object(a.a)({url:"/system/form/info/".concat(t),method:"get",params:e})}function Ct(t){return Object(a.a)({url:"/system/form/index",method:"get",params:t})}function Dt(t,e){return Object(a.a)({url:"system/form/update_name/"+t,method:"post",data:e})}function Tt(t){return Object(a.a)({url:"setting/config/storage/save_type/".concat(t),method:"get"})}function Et(t){return Object(a.a)({url:"/file/scan/upload",method:"post",headers:{"content-type":"multipart/form-data;"},data:t})}},9412:function(t,e,r){},b311:function(t,e,r){ /*! * clipboard.js v2.0.11 * https://clipboardjs.com/ * * Licensed MIT © Zeno Rocha */ var a;a=function(){return function(){var t={686:function(t,e,r){"use strict";r.d(e,{default:function(){return y}});var a=r(279),n=r.n(a),o=r(370),i=r.n(o),c=r(817),u=r.n(c);function s(t){try{return document.execCommand(t)}catch(t){return!1}}var l=function(t){var e=u()(t);return s("cut"),e},m=function(t,e){var r=function(t){var e="rtl"===document.documentElement.getAttribute("dir"),r=document.createElement("textarea");r.style.fontSize="12pt",r.style.border="0",r.style.padding="0",r.style.margin="0",r.style.position="absolute",r.style[e?"right":"left"]="-9999px";var a=window.pageYOffset||document.documentElement.scrollTop;return r.style.top="".concat(a,"px"),r.setAttribute("readonly",""),r.value=t,r}(t);e.container.appendChild(r);var a=u()(r);return s("copy"),r.remove(),a},d=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{container:document.body},r="";return"string"==typeof t?r=m(t,e):t instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(null===t||void 0===t?void 0:t.type)?r=m(t.value,e):(r=u()(t),s("copy")),r};function f(t){return(f="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)}var p=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.action,r=void 0===e?"copy":e,a=t.container,n=t.target,o=t.text;if("copy"!==r&&"cut"!==r)throw new Error('Invalid "action" value, use either "copy" or "cut"');if(void 0!==n){if(!n||"object"!==f(n)||1!==n.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===r&&n.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===r&&(n.hasAttribute("readonly")||n.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes')}return o?d(o,{container:a}):n?"cut"===r?l(n):d(n,{container:a}):void 0};function h(t){return(h="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 g(t,e){for(var r=0;r1&&void 0!==arguments[1]?arguments[1]:{container:document.body};return d(t,e)}},{key:"cut",value:function(t){return l(t)}},{key:"isSupported",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],e="string"==typeof t?[t]:t,r=!!document.queryCommandSupported;return e.forEach((function(t){r=r&&!!document.queryCommandSupported(t)})),r}}],(r=[{key:"resolveOptions",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof t.action?t.action:this.defaultAction,this.target="function"==typeof t.target?t.target:this.defaultTarget,this.text="function"==typeof t.text?t.text:this.defaultText,this.container="object"===h(t.container)?t.container:document.body}},{key:"listenClick",value:function(t){var e=this;this.listener=i()(t,"click",(function(t){return e.onClick(t)}))}},{key:"onClick",value:function(t){var e=t.delegateTarget||t.currentTarget,r=this.action(e)||"copy",a=p({action:r,container:this.container,target:this.target(e),text:this.text(e)});this.emit(a?"success":"error",{action:r,text:a,trigger:e,clearSelection:function(){e&&e.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(t){return w("action",t)}},{key:"defaultTarget",value:function(t){var e=w("target",t);if(e)return document.querySelector(e)}},{key:"defaultText",value:function(t){return w("text",t)}},{key:"destroy",value:function(){this.listener.destroy()}}])&&g(e.prototype,r),a&&g(e,a),c}()},828:function(t){var e=9;if("undefined"!=typeof Element&&!Element.prototype.matches){var r=Element.prototype;r.matches=r.matchesSelector||r.mozMatchesSelector||r.msMatchesSelector||r.oMatchesSelector||r.webkitMatchesSelector}t.exports=function(t,r){for(;t&&t.nodeType!==e;){if("function"==typeof t.matches&&t.matches(r))return t;t=t.parentNode}}},438:function(t,e,r){var a=r(828);function n(t,e,r,n,o){var i=function(t,e,r,n){return function(r){r.delegateTarget=a(r.target,e),r.delegateTarget&&n.call(t,r)}}.apply(this,arguments);return t.addEventListener(r,i,o),{destroy:function(){t.removeEventListener(r,i,o)}}}t.exports=function(t,e,r,a,o){return"function"==typeof t.addEventListener?n.apply(null,arguments):"function"==typeof r?n.bind(null,document).apply(null,arguments):("string"==typeof t&&(t=document.querySelectorAll(t)),Array.prototype.map.call(t,(function(t){return n(t,e,r,a,o)})))}},879:function(t,e){e.node=function(t){return void 0!==t&&t instanceof HTMLElement&&1===t.nodeType},e.nodeList=function(t){var r=Object.prototype.toString.call(t);return void 0!==t&&("[object NodeList]"===r||"[object HTMLCollection]"===r)&&"length"in t&&(0===t.length||e.node(t[0]))},e.string=function(t){return"string"==typeof t||t instanceof String},e.fn=function(t){return"[object Function]"===Object.prototype.toString.call(t)}},370:function(t,e,r){var a=r(879),n=r(438);t.exports=function(t,e,r){if(!t&&!e&&!r)throw new Error("Missing required arguments");if(!a.string(e))throw new TypeError("Second argument must be a String");if(!a.fn(r))throw new TypeError("Third argument must be a Function");if(a.node(t))return function(t,e,r){return t.addEventListener(e,r),{destroy:function(){t.removeEventListener(e,r)}}}(t,e,r);if(a.nodeList(t))return function(t,e,r){return Array.prototype.forEach.call(t,(function(t){t.addEventListener(e,r)})),{destroy:function(){Array.prototype.forEach.call(t,(function(t){t.removeEventListener(e,r)}))}}}(t,e,r);if(a.string(t))return function(t,e,r){return n(document.body,t,e,r)}(t,e,r);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}},817:function(t){t.exports=function(t){var e;if("SELECT"===t.nodeName)t.focus(),e=t.value;else if("INPUT"===t.nodeName||"TEXTAREA"===t.nodeName){var r=t.hasAttribute("readonly");r||t.setAttribute("readonly",""),t.select(),t.setSelectionRange(0,t.value.length),r||t.removeAttribute("readonly"),e=t.value}else{t.hasAttribute("contenteditable")&&t.focus();var a=window.getSelection(),n=document.createRange();n.selectNodeContents(t),a.removeAllRanges(),a.addRange(n),e=a.toString()}return e}},279:function(t){function e(){}e.prototype={on:function(t,e,r){var a=this.e||(this.e={});return(a[t]||(a[t]=[])).push({fn:e,ctx:r}),this},once:function(t,e,r){var a=this;function n(){a.off(t,n),e.apply(r,arguments)}return n._=e,this.on(t,n,r)},emit:function(t){for(var e=[].slice.call(arguments,1),r=((this.e||(this.e={}))[t]||[]).slice(),a=0,n=r.length;a