|
|
@ -12,7 +12,7 @@ import { axios } from '@/utils/request'
|
|
|
|
* @author yubaoshan
|
|
|
|
* @author yubaoshan
|
|
|
|
* @date 2020/12/23 15:00
|
|
|
|
* @date 2020/12/23 15:00
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
export function codeGeneratePage (parameter) {
|
|
|
|
export function codeGeneratePage(parameter) {
|
|
|
|
return axios({
|
|
|
|
return axios({
|
|
|
|
url: '/codeGenerate/page',
|
|
|
|
url: '/codeGenerate/page',
|
|
|
|
method: 'get',
|
|
|
|
method: 'get',
|
|
|
@ -26,7 +26,7 @@ export function codeGeneratePage (parameter) {
|
|
|
|
* @author yubaoshan
|
|
|
|
* @author yubaoshan
|
|
|
|
* @date 2020/12/23 15:00
|
|
|
|
* @date 2020/12/23 15:00
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
export function codeGenerateAdd (parameter) {
|
|
|
|
export function codeGenerateAdd(parameter) {
|
|
|
|
return axios({
|
|
|
|
return axios({
|
|
|
|
url: '/codeGenerate/add',
|
|
|
|
url: '/codeGenerate/add',
|
|
|
|
method: 'post',
|
|
|
|
method: 'post',
|
|
|
@ -40,7 +40,7 @@ export function codeGenerateAdd (parameter) {
|
|
|
|
* @author yubaoshan
|
|
|
|
* @author yubaoshan
|
|
|
|
* @date 2020/12/23 15:00
|
|
|
|
* @date 2020/12/23 15:00
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
export function codeGenerateEdit (parameter) {
|
|
|
|
export function codeGenerateEdit(parameter) {
|
|
|
|
return axios({
|
|
|
|
return axios({
|
|
|
|
url: '/codeGenerate/edit',
|
|
|
|
url: '/codeGenerate/edit',
|
|
|
|
method: 'post',
|
|
|
|
method: 'post',
|
|
|
@ -54,7 +54,7 @@ export function codeGenerateEdit (parameter) {
|
|
|
|
* @author yubaoshan
|
|
|
|
* @author yubaoshan
|
|
|
|
* @date 2020/12/23 15:00
|
|
|
|
* @date 2020/12/23 15:00
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
export function codeGenerateDelete (parameter) {
|
|
|
|
export function codeGenerateDelete(parameter) {
|
|
|
|
return axios({
|
|
|
|
return axios({
|
|
|
|
url: '/codeGenerate/delete',
|
|
|
|
url: '/codeGenerate/delete',
|
|
|
|
method: 'post',
|
|
|
|
method: 'post',
|
|
|
@ -68,7 +68,7 @@ export function codeGenerateDelete (parameter) {
|
|
|
|
* @author yubaoshan
|
|
|
|
* @author yubaoshan
|
|
|
|
* @date 2020/12/23 15:00
|
|
|
|
* @date 2020/12/23 15:00
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
export function codeGenerateInformationList (parameter) {
|
|
|
|
export function codeGenerateInformationList(parameter) {
|
|
|
|
return axios({
|
|
|
|
return axios({
|
|
|
|
url: '/codeGenerate/InformationList',
|
|
|
|
url: '/codeGenerate/InformationList',
|
|
|
|
method: 'get',
|
|
|
|
method: 'get',
|
|
|
@ -83,7 +83,7 @@ export function codeGenerateInformationList (parameter) {
|
|
|
|
* @param {*} tableName 表名
|
|
|
|
* @param {*} tableName 表名
|
|
|
|
* @return {*}
|
|
|
|
* @return {*}
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
export function codeGenerateColumnList (tableName) {
|
|
|
|
export function codeGenerateColumnList(tableName) {
|
|
|
|
return axios({
|
|
|
|
return axios({
|
|
|
|
url: `/codeGenerate/ColumnList/${tableName}`,
|
|
|
|
url: `/codeGenerate/ColumnList/${tableName}`,
|
|
|
|
method: 'get'
|
|
|
|
method: 'get'
|
|
|
@ -96,7 +96,7 @@ export function codeGenerateColumnList (tableName) {
|
|
|
|
* @author yubaoshan
|
|
|
|
* @author yubaoshan
|
|
|
|
* @date 2020/12/23 15:00
|
|
|
|
* @date 2020/12/23 15:00
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
export function codeGenerateRunLocal (parameter) {
|
|
|
|
export function codeGenerateRunLocal(parameter) {
|
|
|
|
return axios({
|
|
|
|
return axios({
|
|
|
|
url: '/codeGenerate/runLocal',
|
|
|
|
url: '/codeGenerate/runLocal',
|
|
|
|
method: 'post',
|
|
|
|
method: 'post',
|
|
|
@ -110,7 +110,7 @@ export function codeGenerateRunLocal (parameter) {
|
|
|
|
* @author yubaoshan
|
|
|
|
* @author yubaoshan
|
|
|
|
* @date 2020/12/23 15:00
|
|
|
|
* @date 2020/12/23 15:00
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
export function codeGenerateRunDown (parameter) {
|
|
|
|
export function codeGenerateRunDown(parameter) {
|
|
|
|
return axios({
|
|
|
|
return axios({
|
|
|
|
url: '/codeGenerate/runDown',
|
|
|
|
url: '/codeGenerate/runDown',
|
|
|
|
method: 'get',
|
|
|
|
method: 'get',
|
|
|
|