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
40 KiB
1 lines
40 KiB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-3d4b9e12"],{"0591":function(e,t,a){},"0c6d":function(e,t,a){},"21ec":function(e,t,a){"use strict";a("f36f")},"25fe":function(e,t,a){e.exports=a.p+"static/img/suwork.3b63c80a.png"},"5bf4":function(e,t,a){e.exports=a.p+"static/img/zhanzhang.9e1a82f9.png"},"5fa0":function(e,t,a){e.exports=a.p+"static/img/sitemap.837950e3.png"},"6c26":function(e,t,a){"use strict";a("0591")},"77e8":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADoAAAA6CAYAAADhu0ooAAAACXBIWXMAAAsTAAALEwEAmpwYAAAG52lUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDUgNzkuMTYzNDk5LCAyMDE4LzA4LzEzLTE2OjQwOjIyICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtbG5zOnN0RXZ0PSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VFdmVudCMiIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2J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zIrFB1lXPy43+WCMnXMksXC7mblsN7+8UIeqTIpGvm0Z/rNEjFqQOkdyPFj09TSxOo0RuOVAcP+wSQcA6saH9gTiO2JfWkFzrw+QmoyW02WgJbTZaQpuN/43QfwDm1OM8IvXTPgAAAABJRU5ErkJggg=="},"7f0c":function(e,t,a){},8403:function(e,t,a){"use strict";a("93cdf")},"93cdf":function(e,t,a){},"9c26":function(e,t,a){"use strict";a("0c6d")},bd10:function(e,t,a){e.exports=a.p+"static/img/ali.71fa5a24.png"},ce20:function(e,t,a){e.exports=a.p+"static/img/yi.119666ca.png"},ef53:function(e,t,a){"use strict";a.r(t);var o=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"container",attrs:{id:"email"}},[a("el-tabs",{staticClass:"tab-card tabs-white",attrs:{type:"card"},on:{"tab-click":e.handleClick},model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},[a("el-tab-pane",{attrs:{label:e.tabList.company_setting,name:"first"}},[a("el-form",{attrs:{model:e.companyForm,"label-position":"top"}},[a("el-form-item",{attrs:{label:e.$t("公司名称"),prop:"company_name"}},[a("el-input",{model:{value:e.companyForm.company_name,callback:function(t){e.$set(e.companyForm,"company_name",t)},expression:"companyForm.company_name"}})],1),a("el-form-item",{attrs:{label:e.$t("公司电话"),prop:"company_phone"}},[a("el-input",{model:{value:e.companyForm.company_phone,callback:function(t){e.$set(e.companyForm,"company_phone",t)},expression:"companyForm.company_phone"}})],1),a("el-form-item",{attrs:{label:e.$t("公司邮箱"),prop:"company_email"}},[a("el-input",{model:{value:e.companyForm.company_email,callback:function(t){e.$set(e.companyForm,"company_email",t)},expression:"companyForm.company_email"}})],1),a("el-form-item",{attrs:{label:e.$t("公司地址"),prop:"company_address"}},[a("el-input",{model:{value:e.companyForm.company_address,callback:function(t){e.$set(e.companyForm,"company_address",t)},expression:"companyForm.company_address"}})],1),a("el-form-item",{attrs:{label:e.$t("版权标识"),prop:"huocms_powerby"}},[a("el-input",{model:{value:e.companyForm.huocms_powerby,callback:function(t){e.$set(e.companyForm,"huocms_powerby",t)},expression:"companyForm.huocms_powerby"}})],1),a("el-button",{staticClass:"save",attrs:{type:"primary"},on:{click:e.saveCompany}},[e._v(" "+e._s(e.$t("保存"))+" ")])],1)],1),a("el-tab-pane",{attrs:{label:e.tabList.sys_email_setting,name:"second"}},["second"==e.activeName?a("Email",{attrs:{data:e.tabPaneData.sys_email_setting}}):e._e()],1),a("el-tab-pane",{attrs:{label:e.tabList.upload_setting,name:"third"}},["third"==e.activeName?a("Files",{attrs:{data:e.tabPaneData.upload_setting}}):e._e()],1),a("el-tab-pane",{attrs:{label:e.tabList.other_settings,name:"fifth"}},["fifth"==e.activeName?a("Others",{attrs:{data:e.tabPaneData.other_settings}}):e._e()],1),a("el-tab-pane",{attrs:{label:"密码配置",name:"sixth"}},["sixth"==e.activeName?a("Password"):e._e()],1)],1)],1)},s=[],i=a("5530"),r=a("c7eb"),l=a("1da1"),c=(a("d3b7"),a("159b"),a("531f")),n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{attrs:{id:"files"}},[a("el-form",{staticClass:"files flex-form",attrs:{model:e.uploadForm,rules:e.upload,"label-position":"top"}},[a("el-form-item",{staticClass:"row",attrs:{label:e.$t("存储方式"),prop:"storage"}},[a("el-radio-group",{on:{change:e.chooseStorage},model:{value:e.uploadForm.storage,callback:function(t){e.$set(e.uploadForm,"storage",t)},expression:"uploadForm.storage"}},[a("el-radio",{attrs:{label:"local"}},[e._v(e._s(e.$t("本地存储")))]),a("el-radio",{attrs:{label:"aliyun"}},[e._v(e._s(e.$t("阿里云oss")))]),a("el-radio",{attrs:{label:"qiniu"}},[e._v(e._s(e.$t("七牛云oss")))]),a("el-radio",{attrs:{label:"tencent"}},[e._v(e._s(e.$t("腾讯云oss")))])],1)],1),a("el-form-item",{attrs:{label:e.$t("文件大小"),prop:"file_size"}},[a("el-input",{staticClass:"left",attrs:{placeholder:e.$t("请输入文件大小")},model:{value:e.uploadForm.file_size,callback:function(t){e.$set(e.uploadForm,"file_size",t)},expression:"uploadForm.file_size"}})],1),a("el-form-item",{attrs:{label:e.$t("文件格式"),prop:"file_ext"}},[a("el-input",{staticClass:"right",attrs:{placeholder:e.$t("请输入文件格式")},model:{value:e.uploadForm.file_ext,callback:function(t){e.$set(e.uploadForm,"file_ext",t)},expression:"uploadForm.file_ext"}})],1),a("el-form-item",{attrs:{label:e.$t("分片大小"),prop:"chunk_size"}},[a("el-input",{model:{value:e.uploadForm.chunk_size,callback:function(t){e.$set(e.uploadForm,"chunk_size",t)},expression:"uploadForm.chunk_size"}})],1),a("el-form-item",{attrs:{label:e.$t("分片触发条件"),prop:"chunk_condition"}},[a("el-input",{model:{value:e.uploadForm.chunk_condition,callback:function(t){e.$set(e.uploadForm,"chunk_condition",t)},expression:"uploadForm.chunk_condition"}})],1),a("el-form-item",{attrs:{label:e.$t("图片大小"),prop:"image_size"}},[a("el-input",{staticClass:"left",attrs:{placeholder:e.$t("请输入图片大小")},model:{value:e.uploadForm.image_size,callback:function(t){e.$set(e.uploadForm,"image_size",t)},expression:"uploadForm.image_size"}})],1),a("el-form-item",{attrs:{label:e.$t("图片格式"),prop:"image_ext"}},[a("el-input",{staticClass:"right",attrs:{required:"",placeholder:e.$t("请输入图片格式")},model:{value:e.uploadForm.image_ext,callback:function(t){e.$set(e.uploadForm,"image_ext",t)},expression:"uploadForm.image_ext"}})],1),a("el-form-item",{attrs:{label:e.$t("视频大小"),prop:"video_size"}},[a("el-input",{staticClass:"left",attrs:{placeholder:e.$t("请输入视频大小")},model:{value:e.uploadForm.video_size,callback:function(t){e.$set(e.uploadForm,"video_size",t)},expression:"uploadForm.video_size"}})],1),a("el-form-item",{attrs:{label:e.$t("视频格式"),prop:"video_ext"}},[a("el-input",{staticClass:"right",attrs:{placeholder:e.$t("请输入视频格式")},model:{value:e.uploadForm.video_ext,callback:function(t){e.$set(e.uploadForm,"video_ext",t)},expression:"uploadForm.video_ext"}})],1),a("el-form-item",{attrs:{label:e.$t("音频大小"),prop:"audio_size"}},[a("el-input",{staticClass:"left",attrs:{placeholder:e.$t("请输入音频大小")},model:{value:e.uploadForm.audio_size,callback:function(t){e.$set(e.uploadForm,"audio_size",t)},expression:"uploadForm.audio_size"}})],1),a("el-form-item",{attrs:{label:e.$t("音频格式"),prop:"audio_ext"}},[a("el-input",{staticClass:"right",attrs:{placeholder:e.$t("请输入音频格式")},model:{value:e.uploadForm.audio_ext,callback:function(t){e.$set(e.uploadForm,"audio_ext",t)},expression:"uploadForm.audio_ext"}})],1),a("el-form-item",{attrs:{label:e.$t("压缩包大小"),prop:"zip_size"}},[a("el-input",{staticClass:"left",attrs:{placeholder:e.$t("请输入压缩包大小")},model:{value:e.uploadForm.zip_size,callback:function(t){e.$set(e.uploadForm,"zip_size",t)},expression:"uploadForm.zip_size"}})],1),a("el-form-item",{attrs:{label:e.$t("压缩包格式"),prop:"zip_ext"}},[a("el-input",{staticClass:"right",attrs:{placeholder:e.$t("请输入压缩包格式")},model:{value:e.uploadForm.zip_ext,callback:function(t){e.$set(e.uploadForm,"zip_ext",t)},expression:"uploadForm.zip_ext"}})],1),"local"==e.uploadForm.storage?a("div",{staticClass:"flex-form"},[a("el-form-item",{attrs:{label:"开启水印"}},[a("el-switch",{attrs:{"active-value":"1","inactive-value":"2"},model:{value:e.uploadForm.water_status,callback:function(t){e.$set(e.uploadForm,"water_status",t)},expression:"uploadForm.water_status"}})],1),a("el-form-item",{attrs:{label:"水印文字"}},[a("el-input",{model:{value:e.uploadForm.water_text,callback:function(t){e.$set(e.uploadForm,"water_text",t)},expression:"uploadForm.water_text"}})],1),a("el-form-item",{attrs:{label:"水印文字大小"}},[a("el-input",{model:{value:e.uploadForm.water_font_size,callback:function(t){e.$set(e.uploadForm,"water_font_size",t)},expression:"uploadForm.water_font_size"}})],1),a("el-form-item",{attrs:{label:"水印颜色"}},[a("el-color-picker",{model:{value:e.uploadForm.water_font_color,callback:function(t){e.$set(e.uploadForm,"water_font_color",t)},expression:"uploadForm.water_font_color"}})],1),a("el-form-item",{attrs:{label:"水印位置"}},[a("el-select",{model:{value:e.uploadForm.water_font_path,callback:function(t){e.$set(e.uploadForm,"water_font_path",t)},expression:"uploadForm.water_font_path"}},[a("el-option",{attrs:{value:"左上",label:e.$t("左上")}}),a("el-option",{attrs:{value:"上居中",label:e.$t("上居中")}}),a("el-option",{attrs:{value:"右上",label:e.$t("右上")}}),a("el-option",{attrs:{value:"左居中",label:e.$t("左居中")}}),a("el-option",{attrs:{value:"居中",label:e.$t("居中")}}),a("el-option",{attrs:{value:"右居中",label:e.$t("右居中")}}),a("el-option",{attrs:{value:"左下",label:e.$t("左下")}}),a("el-option",{attrs:{value:"下居中",label:e.$t("下居中")}}),a("el-option",{attrs:{value:"右下",label:e.$t("右下")}})],1)],1)],1):e._e(),"tencent"==e.uploadForm.storage?a("div",{staticClass:"flex-form"},[a("el-form-item",{attrs:{label:e.$t("接收秘钥ID"),prop:"tencent_accessKeyId"}},[a("el-input",{attrs:{type:"password"},model:{value:e.uploadForm.tencent_accessKeyId,callback:function(t){e.$set(e.uploadForm,"tencent_accessKeyId",t)},expression:"uploadForm.tencent_accessKeyId"}})],1),a("el-form-item",{attrs:{label:e.$t("接收秘钥密码"),prop:"tencent_accessKeySecret"}},[a("el-input",{attrs:{type:"password"},model:{value:e.uploadForm.tencent_accessKeySecret,callback:function(t){e.$set(e.uploadForm,"tencent_accessKeySecret",t)},expression:"uploadForm.tencent_accessKeySecret"}})],1),a("el-form-item",{attrs:{label:e.$t("地区"),prop:"tencent_region"}},[a("el-input",{model:{value:e.uploadForm.tencent_region,callback:function(t){e.$set(e.uploadForm,"tencent_region",t)},expression:"uploadForm.tencent_region"}})],1),a("el-form-item",{attrs:{label:e.$t("协议头"),prop:"tencent_protocolHeader"}},[a("el-input",{model:{value:e.uploadForm.tencent_protocolHeader,callback:function(t){e.$set(e.uploadForm,"tencent_protocolHeader",t)},expression:"uploadForm.tencent_protocolHeader"}})],1),a("el-form-item",{attrs:{label:e.$t("容器名"),prop:"tencent_bucket"}},[a("el-input",{model:{value:e.uploadForm.tencent_bucket,callback:function(t){e.$set(e.uploadForm,"tencent_bucket",t)},expression:"uploadForm.tencent_bucket"}})],1)],1):e._e(),"aliyun"==e.uploadForm.storage?a("div",{staticClass:"flex-form"},[a("el-form-item",{attrs:{label:e.$t("接收秘钥ID"),prop:"aliyun_accessKeyId"}},[a("el-input",{attrs:{type:"password"},model:{value:e.uploadForm.aliyun_accessKeyId,callback:function(t){e.$set(e.uploadForm,"aliyun_accessKeyId",t)},expression:"uploadForm.aliyun_accessKeyId"}})],1),a("el-form-item",{attrs:{label:e.$t("接收秘钥密码"),prop:"aliyun_accessKeySecret"}},[a("el-input",{attrs:{type:"password"},model:{value:e.uploadForm.aliyun_accessKeySecret,callback:function(t){e.$set(e.uploadForm,"aliyun_accessKeySecret",t)},expression:"uploadForm.aliyun_accessKeySecret"}})],1),a("el-form-item",{attrs:{label:e.$t("根地址"),prop:"aliyun_storageRoot"}},[a("el-input",{model:{value:e.uploadForm.aliyun_storageRoot,callback:function(t){e.$set(e.uploadForm,"aliyun_storageRoot",t)},expression:"uploadForm.aliyun_storageRoot"}})],1),a("el-form-item",{attrs:{label:e.$t("容器名"),prop:"aliyun_bucket"}},[a("el-input",{model:{value:e.uploadForm.aliyun_bucket,callback:function(t){e.$set(e.uploadForm,"aliyun_bucket",t)},expression:"uploadForm.aliyun_bucket"}})],1)],1):e._e(),"qiniu"==e.uploadForm.storage?a("div",{staticClass:"flex-form"},[a("el-form-item",{attrs:{label:e.$t("接收秘钥ID"),prop:"qiniu_accessKeyId"}},[a("el-input",{attrs:{type:"password"},model:{value:e.uploadForm.qiniu_accessKeyId,callback:function(t){e.$set(e.uploadForm,"qiniu_accessKeyId",t)},expression:"uploadForm.qiniu_accessKeyId"}})],1),a("el-form-item",{attrs:{label:e.$t("接收秘钥密码"),prop:"qiniu_accessKeySecret"}},[a("el-input",{attrs:{type:"password"},model:{value:e.uploadForm.qiniu_accessKeySecret,callback:function(t){e.$set(e.uploadForm,"qiniu_accessKeySecret",t)},expression:"uploadForm.qiniu_accessKeySecret"}})],1),a("el-form-item",{attrs:{label:e.$t("根地址"),prop:"qiniu_storageRoot"}},[a("el-input",{model:{value:e.uploadForm.qiniu_storageRoot,callback:function(t){e.$set(e.uploadForm,"qiniu_storageRoot",t)},expression:"uploadForm.qiniu_storageRoot"}})],1),a("el-form-item",{attrs:{label:e.$t("容器名"),prop:"qiniu_bucket"}},[a("el-input",{model:{value:e.uploadForm.qiniu_bucket,callback:function(t){e.$set(e.uploadForm,"qiniu_bucket",t)},expression:"uploadForm.qiniu_bucket"}})],1)],1):e._e(),a("el-button",{staticClass:"save",attrs:{type:"primary"},on:{click:e.saveUpload}},[e._v(" "+e._s(e.$t("保存"))+" ")])],1)],1)},u=[],m={props:["data"],data:function(){return{filesData:"",form_title:"",uploadType:"",group:"",uploadForm:{group:this.data.group,chunk_size:"",chunk_condition:"",storage:"",file_size:"",file_ext:"",image_size:"",image_ext:"",video_size:"",video_ext:"",audio_size:"",audio_ext:"",zip_size:"",zip_ext:"",tencent_accessKeyId:"",tencent_accessKeySecret:"",tencent_region:"",tencent_protocolHeader:"",tencent_bucket:"",aliyun_storageRoot:"",aliyun_accessKeyId:"",aliyun_accessKeySecret:"",aliyun_bucket:"",qiniu_storageRoot:"",qiniu_bucket:"",qiniu_protocolHeader:"",qiniu_accessKeySecret:"",qiniu_accessKeyId:"",water_font_color:"#E0E0E0",water_status:"2",water_font_size:"20",water_text:"HuoCMS",water_font_path:"左上"},tecentData:[],aliData:[],qiniuData:[],upload:{chunk_size:[{required:"true",message:this.$t("请输入分片大小"),trigger:"blur"}],chunk_condition:[{required:"true",message:this.$t("请输入分片上传触发条件"),trigger:"blur"}],storage:[{required:"true",message:this.$t("请选择存储方式"),trigger:"change"}],file_size:[{required:"true",message:this.$t("请输入文件大小"),trigger:"blur"}],file_ext:[{required:"true",message:this.$t("请输入文件格式"),trigger:"blur"}],image_size:[{required:"true",message:this.$t("请输入图片大小"),trigger:"blur"}],image_ext:[{required:"true",message:this.$t("请输入图片格式"),trigger:"blur"}],video_size:[{required:"true",message:this.$t("请输入视频大小"),trigger:"blur"}],video_ext:[{required:"true",message:this.$t("请输入视频格式"),trigger:"blur"}],audio_size:[{required:"true",message:this.$t("请输入音频大小"),trigger:"blur"}],audio_ext:[{required:"true",message:this.$t("请输入音频格式"),trigger:"blur"}],zip_size:[{required:"true",message:this.$t("请输入压缩包大小"),trigger:"blur"}],zip_ext:[{required:"true",message:this.$t("请输入压缩包格式"),trigger:"blur"}],tencent_accessKeyId:[{required:"true",message:this.$t("请输入接收秘钥ID"),trigger:"blur"}],tencent_accessKeySecret:[{required:"true",message:this.$t("请输入接收秘钥密码"),trigger:"blur"}],tencent_region:[{required:"true",message:this.$t("请输入地区"),trigger:"blur"}],tencent_protocolHeader:[{required:"true",message:this.$t("请输入协议头"),trigger:"blur"}],tencent_bucket:[{required:"true",message:this.$t("请输入容器名"),trigger:"blur"}],aliyun_accessKeyId:[{required:"true",message:this.$t("请输入接收秘钥ID"),trigger:"blur"}],aliyun_accessKeySecret:[{required:"true",message:this.$t("请输入接收秘钥密码"),trigger:"blur"}],aliyun_storageRoot:[{required:"true",message:this.$t("请输入根地址"),trigger:"blur"}],aliyun_bucket:[{required:"true",message:this.$t("请输入容器名"),trigger:"blur"}],qiniu_accessKeyId:[{required:"true",message:this.$t("请输入接收秘钥ID"),trigger:"blur"}],qiniu_accessKeySecret:[{required:"true",message:this.$t("请输入接收秘钥密码"),trigger:"blur"}],qiniu_storageRoot:[{required:"true",message:this.$t("请输入根地址"),trigger:"blur"}],qiniu_bucket:[{required:"true",message:this.$t("请输入容器名"),trigger:"blur"}]}}},created:function(){var e=this;this.filesData=this.data.children,this.data.children[0].children.forEach((function(t){59==t.id?e.tecentData=t.children:15==t.id?e.aliData=t.children:16==t.id&&(e.qiniuData=t.children)})),this.group=this.data.group,this.filesData.forEach((function(t){e.uploadForm[t.title]=t.value})),this.tecentData.forEach((function(t){e.uploadForm[t.title]=t.value})),this.aliData.forEach((function(t){e.uploadForm[t.title]=t.value})),this.qiniuData.forEach((function(t){e.uploadForm[t.title]=t.value}))},methods:{chooseStorage:function(e){},saveUpload:function(){var e=this,t={};t="tencent"==this.uploadForm.storage?{group:this.data.group,storage:this.uploadForm.storage,file_size:this.uploadForm.file_size,file_ext:this.uploadForm.file_ext,image_size:this.uploadForm.image_size,image_ext:this.uploadForm.image_ext,video_size:this.uploadForm.video_size,video_ext:this.uploadForm.video_ext,audio_size:this.uploadForm.audio_size,audio_ext:this.uploadForm.audio_ext,zip_size:this.uploadForm.zip_size,zip_ext:this.uploadForm.zip_ext,chunk_size:this.uploadForm.chunk_size,chunk_condition:this.uploadForm.chunk_condition,tencent_accessKeyId:this.uploadForm.tencent_accessKeyId,tencent_accessKeySecret:this.uploadForm.tencent_accessKeySecret,tencent_region:this.uploadForm.tencent_region,tencent_protocolHeader:this.uploadForm.tencent_protocolHeader,tencent_bucket:this.uploadForm.tencent_bucket}:"aliyun"==this.uploadForm.storage?{group:this.data.group,storage:this.uploadForm.storage,file_size:this.uploadForm.file_size,file_ext:this.uploadForm.file_ext,image_size:this.uploadForm.image_size,image_ext:this.uploadForm.image_ext,video_size:this.uploadForm.video_size,video_ext:this.uploadForm.video_ext,audio_size:this.uploadForm.audio_size,audio_ext:this.uploadForm.audio_ext,zip_size:this.uploadForm.zip_size,zip_ext:this.uploadForm.zip_ext,chunk_size:this.uploadForm.chunk_size,chunk_condition:this.uploadForm.chunk_condition,aliyun_storageRoot:this.uploadForm.aliyun_storageRoot,aliyun_accessKeyId:this.uploadForm.aliyun_accessKeyId,aliyun_accessKeySecret:this.uploadForm.aliyun_accessKeySecret,aliyun_bucket:this.uploadForm.aliyun_bucket}:"qiniu"==this.uploadForm.storage?{group:this.data.group,storage:this.uploadForm.storage,file_size:this.uploadForm.file_size,file_ext:this.uploadForm.file_ext,image_size:this.uploadForm.image_size,image_ext:this.uploadForm.image_ext,video_size:this.uploadForm.video_size,video_ext:this.uploadForm.video_ext,audio_size:this.uploadForm.audio_size,audio_ext:this.uploadForm.audio_ext,zip_size:this.uploadForm.zip_size,zip_ext:this.uploadForm.zip_ext,chunk_size:this.uploadForm.chunk_size,chunk_condition:this.uploadForm.chunk_condition,qiniu_storageRoot:this.uploadForm.qiniu_storageRoot,qiniu_bucket:this.uploadForm.qiniu_bucket,qiniu_protocolHeader:this.uploadForm.qiniu_protocolHeader,qiniu_accessKeySecret:this.uploadForm.qiniu_accessKeySecret,qiniu_accessKeyId:this.uploadForm.qiniu_accessKeyId}:{group:this.data.group,storage:this.uploadForm.storage,file_size:this.uploadForm.file_size,file_ext:this.uploadForm.file_ext,image_size:this.uploadForm.image_size,image_ext:this.uploadForm.image_ext,video_size:this.uploadForm.video_size,video_ext:this.uploadForm.video_ext,audio_size:this.uploadForm.audio_size,audio_ext:this.uploadForm.audio_ext,zip_size:this.uploadForm.zip_size,zip_ext:this.uploadForm.zip_ext,chunk_size:this.uploadForm.chunk_size,chunk_condition:this.uploadForm.chunk_condition,water_font_color:this.uploadForm.water_font_color,water_status:this.uploadForm.water_status,water_font_size:this.uploadForm.water_font_size,water_text:this.uploadForm.water_text,water_font_path:this.uploadForm.water_font_path},c["a"].sysUpdate(t).then((function(t){0==t.code&&e.$message.success(t.msg)}))}}},p=m,d=(a("8403"),a("2877")),_=Object(d["a"])(p,n,u,!1,null,"9d67583c",null),h=_.exports,b=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"others-main"},[o("el-tooltip",{staticClass:"item",attrs:{effect:"dark",placement:"top"}},[o("p",{staticClass:"tooltip",attrs:{slot:"content"},slot:"content"},[e._v(" "+e._s(e.$t("Suwork简介"))+" ")]),o("div",{staticClass:"card",class:"suwork"==e.activeItem?"active":"",on:{click:function(t){return t.stopPropagation(),e.openFrom("suwork")}}},[o("img",{attrs:{src:a("25fe"),alt:""}}),o("div",{staticClass:"text"},[o("h4",[e._v("Suwork")]),o("p",[e._v(" "+e._s(e.$t("Suwork简介"))+" ")])])])]),o("el-tooltip",{staticClass:"item",attrs:{effect:"dark",placement:"top"}},[o("p",{staticClass:"tooltip",attrs:{slot:"content"},slot:"content"},[e._v(" "+e._s(e.$t("百度翻译简介"))+" ")]),o("div",{staticClass:"card",class:"translate"==e.activeItem?"active":"",on:{click:function(t){return e.openFrom("translate")}}},[o("img",{attrs:{src:a("ce20"),alt:""}}),o("div",{staticClass:"text"},[o("h4",[e._v(e._s(e.$t("百度翻译")))]),o("p",[e._v(" "+e._s(e.$t("百度翻译简介"))+" ")])])])]),o("el-tooltip",{staticClass:"item",attrs:{effect:"dark",placement:"top"}},[o("p",{staticClass:"tooltip",attrs:{slot:"content"},slot:"content"},[e._v(" "+e._s(e.$t("Sitemap简介"))+" ")]),o("div",{staticClass:"card",class:"sitemMap"==e.activeItem?"active":"",on:{click:function(t){return e.openFrom("sitemMap")}}},[o("img",{attrs:{src:a("5fa0"),alt:""}}),o("div",{staticClass:"text"},[o("h4",[e._v("Sitemap")]),o("p",[e._v(" "+e._s(e.$t("Sitemap简介"))+" ")])])])]),o("el-tooltip",{staticClass:"item",attrs:{effect:"dark",placement:"top"}},[o("p",{staticClass:"tooltip",attrs:{slot:"content"},slot:"content"},[e._v(" "+e._s(e.$t("站长之家简介"))+" ")]),o("div",{staticClass:"card",class:"zhanzhang"==e.activeItem?"active":"",on:{click:function(t){return e.openFrom("zhanzhang")}}},[o("img",{attrs:{src:a("5bf4"),alt:""}}),o("div",{staticClass:"text"},[o("h4",[e._v(e._s(e.$t("关键词排名查询配置")))]),o("p",[e._v(" "+e._s(e.$t("站长之家简介"))+" ")])])])]),o("el-tooltip",{staticClass:"item",attrs:{effect:"dark",placement:"top"}},[o("p",{staticClass:"tooltip",attrs:{slot:"content"},slot:"content"},[e._v(" "+e._s(e.$t("词爪简介"))+" ")]),o("div",{staticClass:"card",class:"cizhua"==e.activeItem?"active":"",on:{click:function(t){return e.openFrom("cizhua")}}},[o("img",{attrs:{src:a("77e8"),alt:""}}),o("div",{staticClass:"text"},[o("h4",[e._v(e._s(e.$t("词爪")))]),o("p",[e._v(" "+e._s(e.$t("词爪简介"))+" ")])])])]),o("el-tooltip",{staticClass:"item",attrs:{effect:"dark",placement:"top"}},[o("p",{staticClass:"tooltip",attrs:{slot:"content"},slot:"content"},[e._v(" "+e._s(e.$t("阿里短信简介"))+" ")]),o("div",{staticClass:"card",class:"ali"==e.activeItem?"active":"",on:{click:function(t){return e.openFrom("ali")}}},[o("img",{attrs:{src:a("bd10"),alt:""}}),o("div",{staticClass:"text"},[o("h4",[e._v(e._s(e.$t("阿里短信")))]),o("p",[e._v(" "+e._s(e.$t("阿里短信简介"))+" ")])])])]),o("div",{staticClass:"card none el-tooltip"}),o("div",{staticClass:"card none el-tooltip"}),o("BaseDialog",{attrs:{title:e.dialogTitle,width:"60","dialog-show":e.dialogShow,footer:""},on:{"update:dialogShow":function(t){e.dialogShow=t},"update:dialog-show":function(t){e.dialogShow=t},submit:e.saveOthers}},[o("el-form",{staticClass:"others",attrs:{model:e.othersForm,rules:e.others,"label-position":"top"}},["suwork"==e.activeItem?o("div",[o("el-form-item",{attrs:{label:"Suwork API",prop:e.othersForm.baidu_others_account||e.othersForm.baidu_others_password||e.othersForm.baidu_others_token?"baidu_others_password":" "}},[o("el-input",{staticClass:"right",attrs:{placeholder:e.$t("请配置接口地址"),type:"text"},model:{value:e.othersForm.suwork_api,callback:function(t){e.$set(e.othersForm,"suwork_api",t)},expression:"othersForm.suwork_api"}})],1),o("el-form-item",{attrs:{label:"Suwork APPID",prop:e.othersForm.baidu_others_account||e.othersForm.baidu_others_password||e.othersForm.baidu_others_token?"baidu_others_account":" "}},[o("el-input",{staticClass:"left",attrs:{placeholder:e.$t("请输入appid"),type:"password"},model:{value:e.othersForm.suwork_appid,callback:function(t){e.$set(e.othersForm,"suwork_appid",t)},expression:"othersForm.suwork_appid"}})],1),o("el-form-item",{attrs:{label:e.$t("Suwork密钥"),prop:e.othersForm.baidu_others_account||e.othersForm.baidu_others_password||e.othersForm.baidu_others_token?"baidu_others_password":" "}},[o("el-input",{staticClass:"right",attrs:{placeholder:e.$t("请输入密钥"),type:"password"},model:{value:e.othersForm.suwork_secret,callback:function(t){e.$set(e.othersForm,"suwork_secret",t)},expression:"othersForm.suwork_secret"}})],1)],1):e._e(),"translate"==e.activeItem?o("div",[o("el-form-item",{attrs:{label:e.$t("百度翻译APPID")}},[o("el-input",{attrs:{type:"password"},model:{value:e.othersForm.baidu_translate_appid,callback:function(t){e.$set(e.othersForm,"baidu_translate_appid",t)},expression:"othersForm.baidu_translate_appid"}})],1),o("el-form-item",{attrs:{label:e.$t("百度翻译Token")}},[o("el-input",{attrs:{type:"password"},model:{value:e.othersForm.baidu_translate_token,callback:function(t){e.$set(e.othersForm,"baidu_translate_token",t)},expression:"othersForm.baidu_translate_token"}})],1)],1):e._e(),"sitemMap"==e.activeItem?o("div",[o("el-form-item",{attrs:{label:e.$t("百度密钥")}},[o("el-input",{attrs:{type:"password"},model:{value:e.othersForm.baidu_sitemap_token,callback:function(t){e.$set(e.othersForm,"baidu_sitemap_token",t)},expression:"othersForm.baidu_sitemap_token"}})],1)],1):e._e(),"zhanzhang"==e.activeItem?o("div",[o("el-form-item",{attrs:{label:e.$t("自动查询频率")}},[o("el-select",{model:{value:e.othersForm.keywords_search_time,callback:function(t){e.$set(e.othersForm,"keywords_search_time",t)},expression:"othersForm.keywords_search_time"}},[o("el-option",{attrs:{label:e.$t("每小时"),value:"hour"}}),o("el-option",{attrs:{label:e.$t("每天"),value:"day"}}),o("el-option",{attrs:{label:e.$t("每周"),value:"week"}})],1)],1),o("el-form-item",{attrs:{label:e.$t("站长之家Token")}},[o("el-input",{attrs:{type:"password"},model:{value:e.othersForm.chinaz_token,callback:function(t){e.$set(e.othersForm,"chinaz_token",t)},expression:"othersForm.chinaz_token"}})],1)],1):e._e(),"cizhua"==e.activeItem?o("div",[o("el-form-item",{attrs:{label:e.$t("词爪密钥"),prop:e.othersForm.cizhua_secret}},[o("el-input",{staticClass:"right",attrs:{placeholder:e.$t("请输入词爪密钥"),type:"password"},model:{value:e.othersForm.cizhua_secret,callback:function(t){e.$set(e.othersForm,"cizhua_secret",t)},expression:"othersForm.cizhua_secret"}})],1)],1):e._e(),"ali"==e.activeItem?o("div",[o("el-form-item",{attrs:{label:"AccessKeyid",prop:e.othersForm.ali_access_key_id}},[o("el-input",{staticClass:"right",attrs:{placeholder:e.$t("请输入阿里短信AccessKeyid")},model:{value:e.othersForm.ali_access_key_id,callback:function(t){e.$set(e.othersForm,"ali_access_key_id",t)},expression:"othersForm.ali_access_key_id"}})],1),o("el-form-item",{attrs:{label:"AccessKeySecret",prop:e.othersForm.ali_access_key_secret}},[o("el-input",{staticClass:"right",attrs:{placeholder:e.$t("请输入阿里短信AccessKeySecret")},model:{value:e.othersForm.ali_access_key_secret,callback:function(t){e.$set(e.othersForm,"ali_access_key_secret",t)},expression:"othersForm.ali_access_key_secret"}})],1),o("el-form-item",{attrs:{label:e.$t("模板Code"),prop:e.othersForm.ali_template_code}},[o("el-input",{staticClass:"right",attrs:{placeholder:e.$t("请输入阿里短信模板Code")},model:{value:e.othersForm.ali_template_code,callback:function(t){e.$set(e.othersForm,"ali_template_code",t)},expression:"othersForm.ali_template_code"}})],1),o("el-form-item",{attrs:{label:e.$t("签名名称"),prop:e.othersForm.ali_sign_name}},[o("el-input",{staticClass:"right",attrs:{placeholder:e.$t("请输入阿里短信签名名称")},model:{value:e.othersForm.ali_sign_name,callback:function(t){e.$set(e.othersForm,"ali_sign_name",t)},expression:"othersForm.ali_sign_name"}})],1)],1):e._e()])],1)],1)},g=[],F={props:["data"],data:function(){return{dialogTitle:"",dialogShow:!1,activeItem:"",othersForm:{group:this.data.group,suwork_api:"",suwork_appid:"",suwork_secret:"",keywords_search_time:"",five_baidu_pc:"",five_baidu_mob:"",haosou_pc:"",sougou_mob:"",baidu_translate_appid:"",baidu_translate_token:"",baidu_sitemap_token:"",google_sitemap_token:"",three_sitemap_token:"",sogou_sitemap_token:"",cizhua_appid:"",cizhua_secret:"",chinaz_token:"",ali_access_key_id:"",ali_access_key_secret:"",ali_template_code:"",ali_sign_name:""},others:{},filesData:""}},created:function(){var e=this;this.filesData=this.data.children,this.filesData.forEach((function(t){t.children.length>0?t.children.forEach((function(t){t.children.length>0?t.children.forEach((function(t){e.othersForm[t.title]=t.value})):e.othersForm[t.title]=t.value})):0==t.children.length&&(e.othersForm[t.title]=t.value)}))},methods:{openFrom:function(e){switch(this.activeItem=e,e){case"suwork":this.dialogTitle=this.$t("Suwork配置");break;case"translate":this.dialogTitle=this.$t("百度翻译配置");break;case"sitemMap":this.dialogTitle=this.$t("SitemMap配置");break;case"zhanzhang":this.dialogTitle=this.$t("关键词排名查询配置");break;case"cizhua":this.dialogTitle=this.$t("词爪配置");break;case"ali":this.dialogTitle=this.$t("阿里短信");break}this.dialogShow=!0},saveOthers:function(){var e=this;c["a"].sysUpdate(Object(i["a"])({},this.othersForm)).then((function(t){0==t.code&&e.$message.success(t.msg)}))}}},f=F,v=(a("f4bb"),Object(d["a"])(f,b,g,!1,null,"54e11d11",null)),k=v.exports,y=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-form",{attrs:{model:e.emailForm,rules:e.email,"label-position":"top"}},[a("el-form-item",{attrs:{label:e.$t("发件邮箱账号"),prop:"email_send_account"}},[a("el-input",{model:{value:e.emailForm.email_send_account,callback:function(t){e.$set(e.emailForm,"email_send_account",t)},expression:"emailForm.email_send_account"}})],1),a("el-form-item",{attrs:{label:e.$t("邮箱密码"),prop:"email_password"}},[a("el-input",{attrs:{type:"password"},model:{value:e.emailForm.email_password,callback:function(t){e.$set(e.emailForm,"email_password",t)},expression:"emailForm.email_password"}})],1),a("el-form-item",{attrs:{label:e.$t("邮箱类型"),prop:"email_type"}},[a("el-select",{model:{value:e.emailForm.email_type,callback:function(t){e.$set(e.emailForm,"email_type",t)},expression:"emailForm.email_type"}},e._l(e.emailType,(function(e){return a("el-option",{key:e.id,attrs:{value:e.value,label:e.form_title}})})),1)],1),a("el-form-item",{attrs:{label:e.$t("收件邮箱账号"),prop:"email_get_account"}},[a("el-input",{model:{value:e.emailForm.email_get_account,callback:function(t){e.$set(e.emailForm,"email_get_account",t)},expression:"emailForm.email_get_account"}})],1),a("el-button",{staticClass:"save",attrs:{type:"primary"},on:{click:e.saveEmail}},[e._v(" "+e._s(e.$t("保存"))+" ")]),a("el-button",{staticClass:"save blue",attrs:{type:"primary"},on:{click:e.clearEmail}},[e._v(" "+e._s(e.$t("重置"))+" ")])],1)},z=[],w={props:["data"],data:function(){return{emailForm:{email_get_account:"",email_send_account:"",email_password:"",email_type:"",group:this.data.group},email:{email_send_account:[{required:"true",message:this.$t("请输入发件箱账号"),trigger:"blur"}],email_password:[{required:"true",message:this.$t("请输入发件箱密码"),trigger:"blur"}],email_type:[{required:"true",message:this.$t("请输入发件邮箱类型"),trigger:"blur"}],email_get_account:[{required:"true",message:this.$t("请输入收件箱账号"),trigger:"blur"}]},emailData:[],emailType:[]}},created:function(){var e=this;this.emailData=this.data.children,this.emailType=this.data.children[3].children,this.emailData.forEach((function(t){e.emailForm[t.title]=t.value}))},methods:{saveEmail:function(){var e=this;c["a"].sysUpdate(Object(i["a"])({},this.emailForm)).then((function(t){0==t.code&&e.$message.success(t.msg)}))},clearEmail:function(){var e=this;c["a"].emailClear().then((function(t){0==t.code&&(e.$message.success(t.msg),e.emailForm={email_get_account:"",email_send_account:"",email_password:"",email_type:"",group:e.data.group})}))}}},x=w,$=Object(d["a"])(x,y,z,!1,null,"56268019",null),I=$.exports,C=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("el-form",{attrs:{"label-position":"top"}},[a("el-form-item",{attrs:{label:"间隔时长(月)"}},[a("div",{staticClass:"flex"},[a("el-input",{attrs:{placeholder:"月"},model:{value:e.passwordForm.change_duration,callback:function(t){e.$set(e.passwordForm,"change_duration",t)},expression:"passwordForm.change_duration"}})],1)]),a("el-form-item",{attrs:{label:"字符配置"}},[a("el-checkbox-group",{model:{value:e.passwordForm.string_type,callback:function(t){e.$set(e.passwordForm,"string_type",t)},expression:"passwordForm.string_type"}},[a("el-checkbox",{attrs:{label:"lower_char"}},[e._v("a-z")]),a("el-checkbox",{attrs:{label:"upper_char"}},[e._v("A-Z")]),a("el-checkbox",{attrs:{label:"num"}},[e._v("0-9")])],1)],1),a("el-form-item",{attrs:{label:"特殊字符"}},[a("el-input",{model:{value:e.passwordForm.special_char,callback:function(t){e.$set(e.passwordForm,"special_char",t)},expression:"passwordForm.special_char"}})],1),a("el-form-item",{attrs:{label:"密码长度"}},[a("div",{staticClass:"flex"},[a("el-select",{attrs:{placeholder:"请选择多少密码长度"},model:{value:e.passwordForm.length,callback:function(t){e.$set(e.passwordForm,"length",t)},expression:"passwordForm.length"}},e._l(16,(function(e){return a("el-option",{key:e,attrs:{label:e,value:e}})})),1)],1)]),a("el-form-item",{attrs:{label:"开启状态"}},[a("el-switch",{attrs:{"active-value":1,"inactive-value":2},model:{value:e.passwordForm.status,callback:function(t){e.$set(e.passwordForm,"status",t)},expression:"passwordForm.status"}})],1)],1),a("el-button",{attrs:{type:"primary"},on:{click:e.handleSubmit}},[e._v("保存")])],1)},D=[],S={data:function(){return{passwordForm:{length:0,status:1,string_type:[],special_char:"",change_duration:"",group:"password"}}},created:function(){this.getPassConfig()},methods:{getPassConfig:function(){var e=this;return Object(l["a"])(Object(r["a"])().mark((function t(){var a;return Object(r["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,c["a"].passInfo();case 2:a=t.sent,0==a.code&&(e.passwordForm=Object(i["a"])(Object(i["a"])({},a.data.value),{},{length:a.data.value["length"],group:"password",status:a.data.status}));case 4:case"end":return t.stop()}}),t)})))()},handleSubmit:function(){var e=this;return Object(l["a"])(Object(r["a"])().mark((function t(){var a;return Object(r["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,c["a"].setPasswordConfig(e.passwordForm);case 2:a=t.sent,0===a.code&&e.$message.success(a.msg);case 4:case"end":return t.stop()}}),t)})))()}}},R=S,A=(a("6c26"),Object(d["a"])(R,C,D,!1,null,"21b61401",null)),M=A.exports,N={components:{Files:h,Others:k,Email:I,Password:M},data:function(){return{companyForm:{group:"",company_name:"",company_address:"",company_phone:"",company_email:"",huocms_powerby:"Powered by HuoCMS"},menu:"",activeName:"first",enailData:[],filesData:[],othersData:[],statisticsData:[],companyData:[],tabList:{},tabPaneData:{}}},created:function(){this.getList()},mounted:function(){},methods:{getList:function(){var e=this;return Object(l["a"])(Object(r["a"])().mark((function t(){var a,o;return Object(r["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,c["a"].sysList();case 2:a=t.sent,0==a.code&&(a.data.forEach((function(t){e.tabList[t.title]=t.form_title,e.tabPaneData[t.title]=t,"company_setting"==t.title&&(e.companyForm.group=t.group)})),o=e.tabPaneData.company_setting.children,o.forEach((function(t){e.companyForm[t.title]=t.value})));case 4:case"end":return t.stop()}}),t)})))()},saveCompany:function(){var e=this;c["a"].sysUpdate(Object(i["a"])({},this.companyForm)).then((function(t){0==t.code&&e.$message.success(t.msg)}))},handleClick:function(e,t){}}},E=N,j=(a("9c26"),a("21ec"),Object(d["a"])(E,o,s,!1,null,"24272b48",null));t["default"]=j.exports},f36f:function(e,t,a){},f4bb:function(e,t,a){"use strict";a("7f0c")}}]);
|