This commit is contained in:
2019-04-15 17:36:06 +08:00
parent fe3ea393ba
commit 9a7953aa47
23 changed files with 325 additions and 536 deletions

View File

@@ -1,12 +1,12 @@
const table = {
_sheets({cate, filePath, dbAccount, dbPlatId, catalogs}) {
return red.postX('/_table/sheets',{cate, filePath, dbAccount, dbPlatId, catalogs})
_sheets({cate, filePath, dbAccount, dbPlatId, catalog}) {
return red.postX('/_table/sheets',{cate, filePath, dbAccount, dbPlatId, catalog})
},
sheetsExcel({filePath}) {
return table._sheets({cate: "excel", filePath})
},
sheetMySql({dbPlatId, catalogs}) {
return table._sheets({cate: "mysql", dbPlatId, catalogs: JSON.stringify(catalogs)})
sheetMySql({dbPlatId, catalog}) {
return table._sheets({cate: "mysql", dbPlatId, catalog})
},
saveTable({dbPlatId, catalog, tableArr}) {