bdc72733 by xukangle

fix

1 parent 71924fdc
...@@ -32,7 +32,7 @@ import { ...@@ -32,7 +32,7 @@ import {
32 import { TableColumnWidth } from "@/utils/enum"; 32 import { TableColumnWidth } from "@/utils/enum";
33 import router from "@/router"; 33 import router from "@/router";
34 import { download } from "@/utils/common"; 34 import { download } from "@/utils/common";
35 import { ca } from "element-plus/es/locale"; 35
36 36
37 const currentPath = ref<string[]>([]); 37 const currentPath = ref<string[]>([]);
38 const currentDatabasePath = ref<string[]>([]); 38 const currentDatabasePath = ref<string[]>([]);
...@@ -598,7 +598,7 @@ const dataBaseTableInfo = ref({ ...@@ -598,7 +598,7 @@ const dataBaseTableInfo = ref({
598 fields: [ 598 fields: [
599 { label: "序号", type: "index", width: 56, align: "center" }, 599 { label: "序号", type: "index", width: 56, align: "center" },
600 { label: "数据源", field: "databaseChName", width: 140 }, 600 { label: "数据源", field: "databaseChName", width: 140 },
601 { label: "表名称", field: "tableChName", width: 120 }, 601 { label: "主题表名称", field: "tableChName", width: 120 },
602 { label: "数据库表", field: "tableName", width: 120 }, 602 { label: "数据库表", field: "tableName", width: 120 },
603 { 603 {
604 label: "新建方式", field: "foundMode", width: 140, getName: (scope) => { 604 label: "新建方式", field: "foundMode", width: 140, getName: (scope) => {
...@@ -1741,7 +1741,7 @@ onActivated(async () => { ...@@ -1741,7 +1741,7 @@ onActivated(async () => {
1741 1741
1742 const gradeTreeRef = ref<any>(); 1742 const gradeTreeRef = ref<any>();
1743 const treeSelectNodeClick = (node, item) => { 1743 const treeSelectNodeClick = (node, item) => {
1744 console.log('treeSelectNodeClick', node, item); 1744 console.log('treeSelectNodeClick', gradeTreeRef.value.treeRef);
1745 classifyDetailGuidInfo.value = node.classifyDetailGuid; 1745 classifyDetailGuidInfo.value = node.classifyDetailGuid;
1746 treeInfo.value.expandedKey = []; 1746 treeInfo.value.expandedKey = [];
1747 treeInfo.value.expandedKey.push(node.classifyDetailGuid); 1747 treeInfo.value.expandedKey.push(node.classifyDetailGuid);
......
...@@ -974,7 +974,7 @@ onActivated(() => { ...@@ -974,7 +974,7 @@ onActivated(() => {
974 <!-- 表名称列 --> 974 <!-- 表名称列 -->
975 <el-table-column prop="tableName" label="表名称" width="180"> 975 <el-table-column prop="tableName" label="表名称" width="180">
976 <template #header> 976 <template #header>
977 <span>表名称</span> 977 <span>数据库表</span>
978 <span style="color:red;margin-left: 2px;">*</span> 978 <span style="color:red;margin-left: 2px;">*</span>
979 </template> 979 </template>
980 <template #default="scope"> 980 <template #default="scope">
...@@ -985,7 +985,7 @@ onActivated(() => { ...@@ -985,7 +985,7 @@ onActivated(() => {
985 <!-- 数据库表列 --> 985 <!-- 数据库表列 -->
986 <el-table-column prop="tableChName" label="数据库表" width="280"> 986 <el-table-column prop="tableChName" label="数据库表" width="280">
987 <template #header> 987 <template #header>
988 <span>数据库表</span> 988 <span>主题表名称</span>
989 <span style="color:red;margin-left: 2px;">*</span> 989 <span style="color:red;margin-left: 2px;">*</span>
990 </template> 990 </template>
991 <template #default="scope"> 991 <template #default="scope">
......
...@@ -501,7 +501,7 @@ const formInfo = ref({ ...@@ -501,7 +501,7 @@ const formInfo = ref({
501 default: [], 501 default: [],
502 limit: 1, 502 limit: 1,
503 block: true, 503 block: true,
504 required: true, 504 required: false,
505 visible: true 505 visible: true
506 }, 506 },
507 { 507 {
...@@ -515,7 +515,7 @@ const formInfo = ref({ ...@@ -515,7 +515,7 @@ const formInfo = ref({
515 default: [], 515 default: [],
516 limit: 1, 516 limit: 1,
517 block: true, 517 block: true,
518 required: true, 518 required: false,
519 visible: true 519 visible: true
520 }, 520 },
521 { 521 {
...@@ -529,7 +529,7 @@ const formInfo = ref({ ...@@ -529,7 +529,7 @@ const formInfo = ref({
529 default: [], 529 default: [],
530 limit: 1, 530 limit: 1,
531 block: true, 531 block: true,
532 required: true, 532 required: false,
533 visible: true 533 visible: true
534 }, 534 },
535 { 535 {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!