TransFlow/dist/static/js/chunk-584a0fa2.e887737f.js

2 lines
3.6 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-584a0fa2"],{"299c7":function(e,t,a){},"3f1d":function(e,t,a){"use strict";var n=a("e41a"),l=a.n(n);l.a},"6f10":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"content-box"},[a("div",{staticClass:"container"},[a("el-form",{ref:"form",attrs:{model:e.sizeForm,"label-width":"140px"}},[a("p",[e._v("主机")]),a("el-form-item",{attrs:{label:"名称:","label-width":e.formLabelWidth}},[a("el-input",{staticStyle:{width:"50%"},attrs:{autocomplete:"off"},model:{value:e.sizeForm.name,callback:function(t){e.$set(e.sizeForm,"name",t)},expression:"sizeForm.name"}})],1),a("el-form-item",{attrs:{label:"时间:","label-width":e.formLabelWidth}},[a("el-date-picker",{staticStyle:{width:"50%"},attrs:{type:"date",placeholder:"选择日期",autocomplete:"off"},model:{value:e.sizeForm.date1,callback:function(t){e.$set(e.sizeForm,"date1",t)},expression:"sizeForm.date1"}}),a("el-button",{staticStyle:{"margin-left":"10px"},attrs:{type:"primary",size:"small"}},[e._v("自动校验")])],1),a("p",[e._v("备份&恢复")]),a("el-form-item",{attrs:{label:"备份服务器设置:"}},[a("el-col",{attrs:{span:12}},[a("el-button",{attrs:{type:"primary",size:"small"}},[e._v("备份")])],1)],1),a("el-form-item",{attrs:{label:"还原服务器设置:"}},[a("el-col",{attrs:{span:3}},[a("el-button",{attrs:{type:"primary",disabled:"",size:"small"}},[e._v("备份")])],1),a("el-col",{attrs:{span:4}},[a("el-upload",{staticClass:"upload-demo",attrs:{action:"https://jsonplaceholder.typicode.com/posts/","on-preview":e.handlePreview,"on-remove":e.handleRemove,"before-remove":e.beforeRemove,multiple:"",limit:3,"on-exceed":e.handleExceed,"file-list":e.fileList}},[a("el-button",{attrs:{size:"small",type:"primary"}},[e._v("点击上传")])],1)],1)],1),a("p",[e._v("出厂默认值")]),a("el-form-item",{attrs:{label:"还原服务器设置:"}},[a("el-col",{attrs:{span:12}},[a("el-button",{attrs:{type:"primary",size:"small"},on:{click:function(t){return e.handleReset()}}},[e._v("重置默认值")])],1)],1),a("p",[e._v("重新启动")]),a("el-form-item",{attrs:{label:"重新启动系统:"}},[a("el-col",{attrs:{span:12}},[a("el-button",{attrs:{type:"primary",size:"small"},on:{click:function(t){return e.handleagain()}}},[e._v("重新启动")])],1)],1)],1)],1)])},l=[],o=(a("7f7f"),{data:function(){return{formLabelWidth:"120px",sizeForm:{name:"",region:"",date1:"",date2:"",delivery:!1,type:[],resource:"",desc:""},fileList:[]}},methods:{handleagain:function(){var e=this;this.$confirm("此操作将重新启动系统, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){})).catch((function(){e.$message({type:"info",message:"已取消"})}))},handleReset:function(){var e=this;this.$confirm("此操作将重置默认值, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){})).catch((function(){e.$message({type:"info",message:"已取消重置"})}))},handleRemove:function(e,t){console.log(e,t)},handlePreview:function(e){console.log(e)},handleExceed:function(e,t){this.$message.warning("当前限制选择 3 个文件,本次选择了 ".concat(e.length," 个文件,共选择了 ").concat(e.length+t.length," 个文件"))},beforeRemove:function(e,t){return this.$confirm("确定移除 ".concat(e.name,""))}}}),i=o,s=(a("f1ca"),a("3f1d"),a("2877")),r=Object(s["a"])(i,n,l,!1,null,"8e157892",null);t["default"]=r.exports},e41a:function(e,t,a){},f1ca:function(e,t,a){"use strict";var n=a("299c7"),l=a.n(n);l.a}}]);
//# sourceMappingURL=chunk-584a0fa2.e887737f.js.map