|
|
|
@ -78,13 +78,6 @@ export default {
|
|
|
|
value={row.link_table_name}
|
|
|
|
value={row.link_table_name}
|
|
|
|
on={{
|
|
|
|
on={{
|
|
|
|
['change']:async e => {
|
|
|
|
['change']:async e => {
|
|
|
|
if(row.parameter_id) {
|
|
|
|
|
|
|
|
this.$message({
|
|
|
|
|
|
|
|
type: 'warning',
|
|
|
|
|
|
|
|
message: `${row.local_key || ''}已选择关联数据字典`
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
return
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
row.link_table_name = e
|
|
|
|
row.link_table_name = e
|
|
|
|
if (e) {
|
|
|
|
if (e) {
|
|
|
|
this.foreignFields = await this.getFields(e)
|
|
|
|
this.foreignFields = await this.getFields(e)
|
|
|
|
@ -112,13 +105,6 @@ export default {
|
|
|
|
value={row.parameter_id}
|
|
|
|
value={row.parameter_id}
|
|
|
|
on={{
|
|
|
|
on={{
|
|
|
|
['change']:async e => {
|
|
|
|
['change']:async e => {
|
|
|
|
if(row.link_table_name) {
|
|
|
|
|
|
|
|
this.$message({
|
|
|
|
|
|
|
|
type: 'warning',
|
|
|
|
|
|
|
|
message: `${row.local_key || ''}已选择关联表`
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
return
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
row.parameter_id = e
|
|
|
|
row.parameter_id = e
|
|
|
|
if (e) {
|
|
|
|
if (e) {
|
|
|
|
this.foreignFields = await this.getFields('parameters')
|
|
|
|
this.foreignFields = await this.getFields('parameters')
|
|
|
|
@ -165,7 +151,6 @@ export default {
|
|
|
|
customFn: (row) => {
|
|
|
|
customFn: (row) => {
|
|
|
|
return (
|
|
|
|
return (
|
|
|
|
<el-select size="mini"
|
|
|
|
<el-select size="mini"
|
|
|
|
disabled={!!row.parameter_id}
|
|
|
|
|
|
|
|
value={row.link_relation}
|
|
|
|
value={row.link_relation}
|
|
|
|
on={{
|
|
|
|
on={{
|
|
|
|
['change']:e => {
|
|
|
|
['change']:e => {
|
|
|
|
|