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 line
8.9 KiB
1 line
8.9 KiB
12 months ago
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-16f94bb3"],{ab19:function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"divBox"},[a("el-card",{staticClass:"box-card mb20"},[a("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[a("span",[t._v("数据库备份记录")])]),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading1,expression:"listLoading1"}],staticStyle:{width:"100%"},attrs:{data:t.tableData.data,size:"small","highlight-current-row":""}},[a("el-table-column",{attrs:{prop:"filename",label:"备份名称",sortable:"","min-width":"200"}}),t._v(" "),a("el-table-column",{attrs:{prop:"part",label:"part","min-width":"100"}}),t._v(" "),a("el-table-column",{attrs:{prop:"size",label:"大小","min-width":"150"}}),t._v(" "),a("el-table-column",{attrs:{prop:"compress",label:"compress","min-width":"100"}}),t._v(" "),a("el-table-column",{attrs:{prop:"backtime",label:"时间","min-width":"150"}}),t._v(" "),a("el-table-column",{attrs:{label:"操作","min-width":"100",fixed:"right"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){return t.handleDelete(e.row.time,e.$index)}}},[t._v("删除")]),t._v(" "),a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){return t.download(e.row.time)}}},[t._v("下载")])]}}])})],1)],1),t._v(" "),a("el-card",{staticClass:"box-card"},[a("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[a("span",{staticClass:"mr10"},[t._v("数据库表列表")]),t._v(" "),a("el-button",{attrs:{size:"small",type:"primary"},on:{click:t.getBackup}},[t._v("备份")]),t._v(" "),a("el-button",{attrs:{size:"small",type:"primary"},on:{click:t.getOptimize}},[t._v("优化表")]),t._v(" "),a("el-button",{attrs:{size:"small",type:"primary"},on:{click:t.getRepair}},[t._v("修复表")])],1),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],staticStyle:{width:"100%"},attrs:{data:t.databaseData.data,size:"small","highlight-current-row":""},on:{"selection-change":t.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"55"}}),t._v(" "),a("el-table-column",{attrs:{prop:"name",label:"表名称","min-width":"200",sortable:""}}),t._v(" "),a("el-table-column",{attrs:{prop:"comment",label:"备注","min-width":"200"}}),t._v(" "),a("el-table-column",{attrs:{prop:"engine",label:"类型","min-width":"130",sortable:""}}),t._v(" "),a("el-table-column",{attrs:{prop:"data_length",label:"大小",sortable:"","min-width":"130"}}),t._v(" "),a("el-table-column",{attrs:{prop:"update_time",label:"更新时间",sortable:"","min-width":"150"}}),t._v(" "),a("el-table-column",{attrs:{prop:"rows",label:"行数",sortable:"","min-width":"100"}}),t._v(" "),a("el-table-column",{attrs:{label:"操作","min-width":"100",fixed:"right"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){return t.Info(e.row)}}},[t._v("详情")])]}}])})],1)],1),t._v(" "),a("el-dialog",{attrs:{title:"[ "+t.rows.name+" ]"+t.rows.comment,visible:t.dialogVisible},on:{"update:visible":function(e){t.dialogVisible=e}}},[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],staticStyle:{width:"100%"},attrs:{data:t.tabList,size:"small","max-height":"500","highlight-current-row":""}},[a("el-table-column",{attrs:{prop:"COLUMN_NAME",label:"字段名","min-width":"80"}}),t._v(" "),a("el-table-column",{attrs:{prop:"COLUMN_TYPE",label:"数据类型","min-width":"120"}}),t._v(" "),a("el-table-column",{attrs:{prop:"COLUMN_DEFAULT",label:"默认值","min-width":"130"}}),t._v(" "),a("el-table-column",{attrs:{prop:"IS_NULLABLE",label:"允许非空","min-width":"130"}}),t._v(" "),a("el-table-column",{attrs:{prop:"EXTRA",label:"自动递增","min-width":"150"}}),t._v(" "),a("el-table-column",{attrs:{prop:"COLUMN_COMMENT",label:"备注","m
|