提交66 76
This commit is contained in:
parent
65943c1612
commit
1bc5c4c448
|
@ -172,6 +172,7 @@ export default {
|
|||
// this.$refs.modalForm.eidt(record, this.queryParam.dataType);
|
||||
// this.$refs.modalForm.title = "配置";
|
||||
this.$refs.subPage.queryParam.tableName = record.tableName
|
||||
this.$refs.subPage.queryParam.schemaName = record.schemaName
|
||||
this.$refs.subPage.datetypeF = this.queryParam.dataType
|
||||
this.$refs.subPage.title = "配置";
|
||||
this.$refs.subPage.pagevisible = true
|
||||
|
|
|
@ -47,7 +47,8 @@ export default {
|
|||
form: {
|
||||
tableName: null,
|
||||
transfFileds: null,
|
||||
transfStrategy: null
|
||||
transfStrategy: null,
|
||||
schemaName:""
|
||||
},
|
||||
rules: {
|
||||
tableName: [{ required: true, message: '请输入表名', trigger: 'blur' }],
|
||||
|
@ -91,12 +92,13 @@ export default {
|
|||
|
||||
}
|
||||
},
|
||||
add(tableName, dataType) {
|
||||
add(schemaName,tableName, dataType) {
|
||||
this.getQuerytableColumns(dataType, tableName)
|
||||
this.form = {
|
||||
tableName: tableName,
|
||||
transfFileds: null,
|
||||
transfStrategy: null
|
||||
transfStrategy: null,
|
||||
schemaName :schemaName
|
||||
}
|
||||
this.checkedList = []
|
||||
this.visible = true;
|
||||
|
@ -114,7 +116,8 @@ export default {
|
|||
id: null,
|
||||
tableName: record.tableName,
|
||||
transfFileds: null,
|
||||
transfStrategy: null
|
||||
transfStrategy: null,
|
||||
schemaName:record.schemaName
|
||||
}
|
||||
}
|
||||
this.getQuerytableColumns(dataType1, record.tableName)
|
||||
|
|
|
@ -117,7 +117,7 @@ export default {
|
|||
})
|
||||
},
|
||||
handleAdd() {
|
||||
this.$refs.modalForm.add( this.queryParam.tableName, this.datetypeF);
|
||||
this.$refs.modalForm.add(this.queryParam.schemaName,this.queryParam.tableName, this.datetypeF);
|
||||
this.$refs.modalForm.title = "新增";
|
||||
},
|
||||
handleEdit(record) {
|
||||
|
|
|
@ -172,6 +172,7 @@ export default {
|
|||
// this.$refs.modalForm.eidt(record, this.queryParam.dataType);
|
||||
// this.$refs.modalForm.title = "配置";
|
||||
this.$refs.subPage.queryParam.tableName = record.tableName
|
||||
this.$refs.subPage.queryParam.schemaName = record.schemaName
|
||||
this.$refs.subPage.datetypeF = this.queryParam.dataType
|
||||
this.$refs.subPage.title = "配置";
|
||||
this.$refs.subPage.pagevisible = true
|
||||
|
|
|
@ -54,7 +54,8 @@ export default {
|
|||
tableName: null,
|
||||
columnName: null,
|
||||
dataType: null,
|
||||
dataPrecision: null
|
||||
dataPrecision: null,
|
||||
schemaName:null
|
||||
},
|
||||
rules: {
|
||||
tableName: [{ required: true, message: '请输入表名', trigger: 'blur' }],
|
||||
|
@ -97,13 +98,14 @@ export default {
|
|||
|
||||
}
|
||||
},
|
||||
add(tableName, dataType) {
|
||||
add(schemaName,tableName, dataType) {
|
||||
this.getQuerytableColumns(dataType, tableName)
|
||||
this.form = {
|
||||
tableName: tableName,
|
||||
columnName: null,
|
||||
dataType: null,
|
||||
dataPrecision: null
|
||||
dataPrecision: null,
|
||||
schemaName:schemaName
|
||||
}
|
||||
this.visible = true;
|
||||
},
|
||||
|
@ -119,7 +121,8 @@ export default {
|
|||
tableName: record.tableName,
|
||||
columnName: null,
|
||||
dataType: null,
|
||||
dataPrecision: null
|
||||
dataPrecision: null,
|
||||
schemaName:record.schemaName
|
||||
}
|
||||
}
|
||||
this.getQuerytableColumns(dataType1, record.tableName)
|
||||
|
|
|
@ -126,7 +126,7 @@ export default {
|
|||
})
|
||||
},
|
||||
handleAdd() {
|
||||
this.$refs.modalForm.add( this.queryParam.tableName, this.datetypeF);
|
||||
this.$refs.modalForm.add(this.queryParam.schemaName,this.queryParam.tableName, this.datetypeF);
|
||||
this.$refs.modalForm.title = "新增";
|
||||
},
|
||||
handleEdit(record) {
|
||||
|
|
|
@ -60,7 +60,8 @@ export default {
|
|||
form: {
|
||||
tableName: null,
|
||||
duplicationType: 1,
|
||||
judgmentField: null
|
||||
judgmentField: null,
|
||||
schemaName:null
|
||||
},
|
||||
rules: {
|
||||
tableName: [{ required: true, message: '请输入表名', trigger: 'blur' }],
|
||||
|
@ -106,7 +107,8 @@ export default {
|
|||
this.form = {
|
||||
tableName: null,
|
||||
duplicationType: 1,
|
||||
judgmentField: null
|
||||
judgmentField: null,
|
||||
schemaName:null
|
||||
}
|
||||
this.dataType = dataType
|
||||
this.checkedList =[]
|
||||
|
@ -117,7 +119,8 @@ export default {
|
|||
id: null,
|
||||
tableName: record.tableName,
|
||||
duplicationType: 1,
|
||||
judgmentField: null
|
||||
judgmentField: null,
|
||||
schemaName:record.schemaName
|
||||
}
|
||||
if (record.id) {
|
||||
queryById({ id: record.id }).then(res => {
|
||||
|
|
|
@ -57,7 +57,8 @@ export default {
|
|||
tableName: null,
|
||||
stringStrategy: null,
|
||||
digitStrategy: null,
|
||||
dateTimeStrategy: null
|
||||
dateTimeStrategy: null,
|
||||
schemaName:null
|
||||
},
|
||||
rules: {
|
||||
tableName: [{ required: true, message: '请输入表名', trigger: 'blur' }],
|
||||
|
@ -84,7 +85,8 @@ export default {
|
|||
tableName: null,
|
||||
stringStrategy: null,
|
||||
digitStrategy: null,
|
||||
dateTimeStrategy: null
|
||||
dateTimeStrategy: null,
|
||||
schemaName:null
|
||||
}
|
||||
this.visible = true;
|
||||
},
|
||||
|
@ -101,7 +103,8 @@ export default {
|
|||
tableName: record.tableName,
|
||||
stringStrategy: null,
|
||||
digitStrategy: null,
|
||||
dateTimeStrategy: null
|
||||
dateTimeStrategy: null,
|
||||
schemaName:record.schemaName
|
||||
}
|
||||
}
|
||||
this.visible = true;
|
||||
|
|
|
@ -88,7 +88,8 @@ export default {
|
|||
add(dataType) {
|
||||
this.form = {
|
||||
tableName: null,
|
||||
mergTables: []
|
||||
mergTables: [],
|
||||
schemaName:record.schemaName
|
||||
}
|
||||
this.dataType = dataType
|
||||
this.visible = true;
|
||||
|
@ -98,7 +99,8 @@ export default {
|
|||
this.form = {
|
||||
id: null,
|
||||
tableName: record.tableName,
|
||||
mergTables: null
|
||||
mergTables: null,
|
||||
schemaName:record.schemaName
|
||||
}
|
||||
if (record.id) {
|
||||
queryById({ id: record.id }).then(res => {
|
||||
|
|
|
@ -172,6 +172,7 @@ export default {
|
|||
// this.$refs.modalForm.eidt(record, this.queryParam.dataType);
|
||||
// this.$refs.modalForm.title = "配置";
|
||||
this.$refs.subPage.queryParam.tableName = record.tableName
|
||||
this.$refs.subPage.queryParam.schemaName = record.schemaName
|
||||
this.$refs.subPage.datetypeF = this.queryParam.dataType
|
||||
this.$refs.subPage.title = "配置";
|
||||
this.$refs.subPage.pagevisible = true
|
||||
|
|
|
@ -93,13 +93,14 @@ export default {
|
|||
}
|
||||
})
|
||||
},
|
||||
add(tableName, dataType) {
|
||||
add(schemaName,tableName, dataType) {
|
||||
this.form = {
|
||||
tableName: tableName,
|
||||
strategy: null,
|
||||
maxVal: null,
|
||||
minVal: null,
|
||||
field:null
|
||||
field:null,
|
||||
schemaName:schemaName
|
||||
},
|
||||
this.visible = true;
|
||||
this.dataType = dataType
|
||||
|
@ -119,7 +120,8 @@ export default {
|
|||
maxVal: null,
|
||||
minVal: null,
|
||||
field:null,
|
||||
tableName: record.tableName
|
||||
tableName: record.tableName,
|
||||
schemaName:record.schemaName
|
||||
}
|
||||
}
|
||||
this.getQuerytableColumns(dataType, record.tableName)
|
||||
|
|
|
@ -129,7 +129,7 @@ export default {
|
|||
})
|
||||
},
|
||||
handleAdd() {
|
||||
this.$refs.modalForm.add( this.queryParam.tableName, this.datetypeF);
|
||||
this.$refs.modalForm.add(this.queryParam.schemaName,this.queryParam.tableName, this.datetypeF);
|
||||
this.$refs.modalForm.title = "新增";
|
||||
},
|
||||
handleEdit(record) {
|
||||
|
|
|
@ -84,7 +84,8 @@ export default {
|
|||
tableName: null,
|
||||
stringStrategy: null,
|
||||
digitStrategy: null,
|
||||
dateTimeStrategy: null
|
||||
dateTimeStrategy: null,
|
||||
schemaName: null
|
||||
}
|
||||
this.visible = true;
|
||||
},
|
||||
|
@ -101,7 +102,8 @@ export default {
|
|||
tableName: record.tableName,
|
||||
stringStrategy: null,
|
||||
digitStrategy: null,
|
||||
dateTimeStrategy: null
|
||||
dateTimeStrategy: null,
|
||||
schemaName: record.schemaName
|
||||
}
|
||||
}
|
||||
this.visible = true;
|
||||
|
|
|
@ -172,6 +172,7 @@ export default {
|
|||
// this.$refs.modalForm.eidt(record, this.queryParam.dataType);
|
||||
// this.$refs.modalForm.title = "配置";
|
||||
this.$refs.subPage.queryParam.tableName = record.tableName
|
||||
this.$refs.subPage.queryParam.schemaName = record.schemaName
|
||||
this.$refs.subPage.datetypeF = this.queryParam.dataType
|
||||
this.$refs.subPage.title = "配置";
|
||||
this.$refs.subPage.pagevisible = true
|
||||
|
|
|
@ -97,12 +97,13 @@ export default {
|
|||
handleChange(value) {
|
||||
this.getQuerytableColumns(this.dataType, this.form.tableName)
|
||||
},
|
||||
add(tableName, dataType) {
|
||||
add(schemaName,tableName, dataType) {
|
||||
this.form = {
|
||||
id: null,
|
||||
tableName: tableName,
|
||||
type: 1,
|
||||
fields: null
|
||||
fields: null,
|
||||
schemaName:schemaName
|
||||
}
|
||||
this.dataType = dataType
|
||||
this.checkedList =[]
|
||||
|
@ -114,7 +115,8 @@ export default {
|
|||
id: null,
|
||||
tableName: record.tableName,
|
||||
type: 1,
|
||||
fields: null
|
||||
fields: null,
|
||||
schemaName:record.schemaName
|
||||
}
|
||||
if (record.id) {
|
||||
queryById({ id: record.id }).then(res => {
|
||||
|
|
|
@ -117,7 +117,7 @@ export default {
|
|||
})
|
||||
},
|
||||
handleAdd() {
|
||||
this.$refs.modalForm.add( this.queryParam.tableName, this.datetypeF);
|
||||
this.$refs.modalForm.add(this.queryParam.schemaName,this.queryParam.tableName, this.datetypeF);
|
||||
this.$refs.modalForm.title = "新增";
|
||||
},
|
||||
handleEdit(record) {
|
||||
|
|
|
@ -57,7 +57,8 @@ export default {
|
|||
tableName: null,
|
||||
stringStrategy: null,
|
||||
digitStrategy: null,
|
||||
dateTimeStrategy: null
|
||||
dateTimeStrategy: null,
|
||||
schemaName: null
|
||||
},
|
||||
rules: {
|
||||
tableName: [{ required: true, message: '请输入表名', trigger: 'blur' }],
|
||||
|
@ -101,7 +102,8 @@ export default {
|
|||
tableName: record.tableName,
|
||||
stringStrategy: null,
|
||||
digitStrategy: null,
|
||||
dateTimeStrategy: null
|
||||
dateTimeStrategy: null,
|
||||
schemaName: record.schemaName
|
||||
}
|
||||
}
|
||||
this.visible = true;
|
||||
|
|
Loading…
Reference in New Issue
Block a user