提交修改
This commit is contained in:
parent
69133f6d97
commit
6e77054dde
|
@ -2,7 +2,7 @@ import { getAction, deleteAction, putAction, postAction } from '@/api/manage'
|
|||
|
||||
const metaDataTypeTree = (params)=>getAction("/dataManager/getAllTable",params);
|
||||
const metaViewDataTypeTree = (params)=>getAction("/dataManager/getAllTableView",params);
|
||||
const metaDatalist = (params)=>getAction("/dataManager/getTableColumns",params);
|
||||
const metaDatalist = (params)=>getAction("/dataManager/getTableViewColumns",params);
|
||||
const tableDataList = (params)=>getAction("/dataManager/getTableData",params);
|
||||
const tableIndexes = (params)=>getAction("/tableIndex/getTableIndexes",params);
|
||||
const DmExportTool = (params)=>postAction("/dataManager/DmExportTool",params);
|
||||
|
|
|
@ -121,6 +121,11 @@ export default {
|
|||
align: "center",
|
||||
dataIndex: 'tableMessName'
|
||||
},
|
||||
{
|
||||
title: '数据量',
|
||||
align: "center",
|
||||
dataIndex: 'dataNum'
|
||||
},
|
||||
{
|
||||
title: '开始时间',
|
||||
align: "center",
|
||||
|
|
|
@ -178,7 +178,7 @@ export default {
|
|||
title: '确认删除',
|
||||
content: '是否删除选中索引?',
|
||||
onOk: function () {
|
||||
postAction("/tableIndex/dropIndex?schemaMass="+that.tableParams.schemaMass+"&tableName="+that.tableParams.tableName+"&indexName="+item.indexName+"&columns="+item.columnName+"&indexTypeCode="+item.indexType,{}).then(res => {
|
||||
postAction("/tableIndex/dropIndex?schemaMass="+that.tableParams.schemaMass+"&tableName="+that.tableParams.tableName+"&indexName="+item.indexName,{}).then(res => {
|
||||
if (res.success) {
|
||||
that.$message.success(res.message);
|
||||
that.getTableIndexList();
|
||||
|
|
Loading…
Reference in New Issue
Block a user