启程易购后端代码
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.
qicheng_shop_backend/public/system/js/chunk-16f94bb3.1ce796ed.js

1 line
9.0 KiB

9 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("el-tabs",{model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[a("el-tab-pane",{attrs:{label:"数据库备份",name:"backup"}}),t._v(" "),a("el-tab-pane",{attrs:{label:"数据库列表备份",name:"list"}})],1),t._v(" "),"list"==t.activeName?a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading1,expression:"listLoading1"}],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("下载")])]}}],null,!1,1891007127)})],1):t._e(),t._v(" "),"backup"==t.activeName?a("div",[a("div",{staticClass:"clearfix mb15"},[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"}],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("详情")])]}}],null,!1,2451431152)})],1)],1):t._e()],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"}],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":"100"}}),t._v(" "),a("el-table-column",{attrs:{prop:"IS_NULLABLE",label:"允许非空","min-width":"90"}}),t._v(" "),a("el-table-column",{attrs:{prop:"EXTRA",label:"自动递增","min-width":"100"}}),t._v(" "),a("el-table-column",{attrs:{prop:"COLUMN_COMME