Merge branch 'dev_20241202_xukangle' into develop
Showing
2 changed files
with
18 additions
and
2 deletions
| ... | @@ -335,6 +335,7 @@ const tableInfo = ref({ | ... | @@ -335,6 +335,7 @@ const tableInfo = ref({ |
| 335 | fields: [ | 335 | fields: [ |
| 336 | { label: "序号", type: "index", width: 56, align: "center" }, | 336 | { label: "序号", type: "index", width: 56, align: "center" }, |
| 337 | { label: "字段名", field: "fieldName", width: 140 }, | 337 | { label: "字段名", field: "fieldName", width: 140 }, |
| 338 | { label: "字段中文名", field: "fieldChName", width: 180 }, | ||
| 338 | { label: "分类", field: "classifyDetailName", width: 120 }, | 339 | { label: "分类", field: "classifyDetailName", width: 120 }, |
| 339 | { label: "分级", field: "gradeDetailName", width: 80 }, | 340 | { label: "分级", field: "gradeDetailName", width: 80 }, |
| 340 | { label: "标签", field: "label", width: 140 }, | 341 | { label: "标签", field: "label", width: 140 }, |
| ... | @@ -342,7 +343,7 @@ const tableInfo = ref({ | ... | @@ -342,7 +343,7 @@ const tableInfo = ref({ |
| 342 | { label: "表名", field: "tableName", width: 120, align: 'center' }, | 343 | { label: "表名", field: "tableName", width: 120, align: 'center' }, |
| 343 | { label: "表中文名", field: "tableChName", width: 120, align: 'center' }, | 344 | { label: "表中文名", field: "tableChName", width: 120, align: 'center' }, |
| 344 | { label: "数据库名", field: "database", width: 120, align: 'center' }, | 345 | { label: "数据库名", field: "database", width: 120, align: 'center' }, |
| 345 | { label: "数据类型", field: "databaseChName", width: 120, align: 'center' }, | 346 | { label: "数据库中文名", field: "databaseChName", width: 120, align: 'center' }, |
| 346 | 347 | ||
| 347 | ], | 348 | ], |
| 348 | data: [], | 349 | data: [], |
| ... | @@ -1245,7 +1246,6 @@ const treeSelectNodeChange = (node, item) => { | ... | @@ -1245,7 +1246,6 @@ const treeSelectNodeChange = (node, item) => { |
| 1245 | // 这里应该是onActivated 钩子,路由从configure-路由从configure-rules跳转过来要重新请求数据、 | 1246 | // 这里应该是onActivated 钩子,路由从configure-路由从configure-rules跳转过来要重新请求数据、 |
| 1246 | onActivated(async () => { | 1247 | onActivated(async () => { |
| 1247 | if (route.query.reload === 'true') { | 1248 | if (route.query.reload === 'true') { |
| 1248 | console.log('重新请求数据'); | ||
| 1249 | await getExecGuid(); | 1249 | await getExecGuid(); |
| 1250 | activeName.value = 'second'; | 1250 | activeName.value = 'second'; |
| 1251 | getDataBaseTreeData(); | 1251 | getDataBaseTreeData(); | ... | ... |
| ... | @@ -833,6 +833,22 @@ const inputLengthKeyUp = (regexp, scope, field, max: any = null, min: any = null | ... | @@ -833,6 +833,22 @@ const inputLengthKeyUp = (regexp, scope, field, max: any = null, min: any = null |
| 833 | scope.row[field] = min; | 833 | scope.row[field] = min; |
| 834 | } | 834 | } |
| 835 | } | 835 | } |
| 836 | |||
| 837 | onActivated(() => { | ||
| 838 | const tableChName = route.query.tableChName; | ||
| 839 | let tab: any = userStore.tabbar.find((tab: any) => tab.fullPath === fullPath); | ||
| 840 | if (tab) { | ||
| 841 | if (tableChName) { | ||
| 842 | tab.meta.title = `编辑-(${tableChName})`; | ||
| 843 | } | ||
| 844 | if (fullPath === route.fullPath) { | ||
| 845 | document.title = tab.meta.title; | ||
| 846 | } | ||
| 847 | } | ||
| 848 | }); | ||
| 849 | |||
| 850 | |||
| 851 | |||
| 836 | </script> | 852 | </script> |
| 837 | 853 | ||
| 838 | <template> | 854 | <template> | ... | ... |
-
Please register or sign in to post a comment