(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d20ee11"],{b0f3:function(e,t,o){"use strict";o.r(t);var a=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"app-container"},[o("el-row",{attrs:{gutter:24}},[o("el-col",{attrs:{span:24}},[o("el-card",{attrs:{shadow:"always"}},[o("el-form",{ref:"form",attrs:{model:e.form,rules:e.rules,"label-width":"100px"}},[o("el-form-item",{attrs:{label:"网站名称",prop:"webName"}},[o("el-input",{attrs:{placeholder:"请输入网站名称",maxlength:"60","show-word-limit":""},model:{value:e.form.webName,callback:function(t){e.$set(e.form,"webName",t)},expression:"form.webName"}})],1),o("el-form-item",{attrs:{label:"网站LOGO",prop:"webLogo"}},[o("image-upload",{attrs:{limit:1},model:{value:e.form.webLogo,callback:function(t){e.$set(e.form,"webLogo",t)},expression:"form.webLogo"}})],1),o("el-form-item",{attrs:{label:"网站描述",prop:"webDepict"}},[o("el-input",{attrs:{type:"textarea",placeholder:"请输入网站描述",maxlength:"200","show-word-limit":""},model:{value:e.form.webDepict,callback:function(t){e.$set(e.form,"webDepict",t)},expression:"form.webDepict"}})],1),o("el-form-item",{attrs:{label:"SEO关键词",prop:"webSeo"}},[o("el-input",{attrs:{type:"textarea",placeholder:"请输入SEO关键词（多个关键词用“,”隔开）",maxlength:"500","show-word-limit":""},model:{value:e.form.webSeo,callback:function(t){e.$set(e.form,"webSeo",t)},expression:"form.webSeo"}})],1),o("el-form-item",{attrs:{label:"底部信息",prop:"bottomInfo"}},[o("el-input",{attrs:{placeholder:"请输入底部信息",maxlength:"120","show-word-limit":""},model:{value:e.form.bottomInfo,callback:function(t){e.$set(e.form,"bottomInfo",t)},expression:"form.bottomInfo"}})],1)],1),o("div",{staticStyle:{width:"100%","text-align":"center"}},[o("el-button",{staticStyle:{width:"200px"},attrs:{size:"medium",type:"primary"},on:{click:e.submitForm}},[e._v("保 存")])],1)],1)],1)],1)],1)},r=[],l=o("b775");function i(e){return Object(l["a"])({url:"/system/basicConfig/"+e,method:"get"})}function n(e){return Object(l["a"])({url:"/system/basicConfig",method:"put",data:e})}var m={name:"BasicConfig",data:function(){return{form:{},rules:{}}},created:function(){this.getData()},methods:{getData:function(){var e=this;i(1).then((function(t){e.form=t.data}))},submitForm:function(){var e=this;this.$refs["form"].validate((function(t){t&&n(e.form).then((function(t){e.$modal.msgSuccess("修改成功")}))}))}}},s=m,c=o("2877"),f=Object(c["a"])(s,a,r,!1,null,null,null);t["default"]=f.exports}}]);