Merge branch 'dev_20241202_xukangle' into develop
Showing
7 changed files
with
22 additions
and
5 deletions
| ... | @@ -764,8 +764,8 @@ export const createTableSql = (data) => request({ | ... | @@ -764,8 +764,8 @@ export const createTableSql = (data) => request({ |
| 764 | * @param {no params} | 764 | * @param {no params} |
| 765 | * @path /cg-dir/export | 765 | * @path /cg-dir/export |
| 766 | */ | 766 | */ |
| 767 | export const exportCgDir = () => request({ | 767 | export const exportCgDir = (params) => request({ |
| 768 | url: `${import.meta.env.VITE_APP_CHECK_BASEURL}/cg-dir/export`, | 768 | url: `${import.meta.env.VITE_APP_CHECK_BASEURL}/cg-dir/export?execGuid=${params.execGuid}`, |
| 769 | method: 'post', | 769 | method: 'post', |
| 770 | responseType: 'blob', | 770 | responseType: 'blob', |
| 771 | }) | 771 | }) |
| ... | @@ -792,6 +792,21 @@ export const getDbDirDetail = (params) => request({ | ... | @@ -792,6 +792,21 @@ export const getDbDirDetail = (params) => request({ |
| 792 | method: 'get', | 792 | method: 'get', |
| 793 | }) | 793 | }) |
| 794 | 794 | ||
| 795 | /** | ||
| 796 | * 数据库目录修改规划数据资产 | ||
| 797 | * @param {Object} | ||
| 798 | * @path /db-dir/table/update-data-asset | ||
| 799 | * | ||
| 800 | */ | ||
| 801 | |||
| 802 | export const updateDataAsset = (data) => request({ | ||
| 803 | url: `${import.meta.env.VITE_APP_CHECK_BASEURL}/db-dir/table/update-data-asset`, | ||
| 804 | method: 'post', | ||
| 805 | data | ||
| 806 | }) | ||
| 807 | |||
| 808 | |||
| 809 | |||
| 795 | /*********************业务规则配置 ************数据库目录************************* */ | 810 | /*********************业务规则配置 ************数据库目录************************* */ |
| 796 | 811 | ||
| 797 | /** | 812 | /** | ... | ... |
| ... | @@ -235,8 +235,8 @@ const routes: RouteRecordRaw[] = [ | ... | @@ -235,8 +235,8 @@ const routes: RouteRecordRaw[] = [ |
| 235 | reuse: true | 235 | reuse: true |
| 236 | }, | 236 | }, |
| 237 | beforeEnter: (to, from) => { | 237 | beforeEnter: (to, from) => { |
| 238 | if (to.query.domainName) { | 238 | if (to.query.editOpt) { |
| 239 | to.meta.title = `已有表新建(${to.query.domainName})`; | 239 | to.meta.title = `编辑-(${to.query.tableChName})`; |
| 240 | to.meta.editPage = true; | 240 | to.meta.editPage = true; |
| 241 | } | 241 | } |
| 242 | } | 242 | } | ... | ... |
This diff is collapsed.
Click to expand it.
| ... | @@ -13,6 +13,7 @@ const fullPath = route.fullPath; | ... | @@ -13,6 +13,7 @@ const fullPath = route.fullPath; |
| 13 | const userStore = useUserStore(); | 13 | const userStore = useUserStore(); |
| 14 | const bizRuleConfigData = ref<any>() | 14 | const bizRuleConfigData = ref<any>() |
| 15 | const getBizRuleConfigDetailData = async () => { | 15 | const getBizRuleConfigDetailData = async () => { |
| 16 | tableFieldsLoading.value = true | ||
| 16 | const params = { | 17 | const params = { |
| 17 | tableGuid: router.currentRoute.value.query.tableGuid, | 18 | tableGuid: router.currentRoute.value.query.tableGuid, |
| 18 | execGuid: router.currentRoute.value.query.execGuid | 19 | execGuid: router.currentRoute.value.query.execGuid |
| ... | @@ -25,6 +26,7 @@ const getBizRuleConfigDetailData = async () => { | ... | @@ -25,6 +26,7 @@ const getBizRuleConfigDetailData = async () => { |
| 25 | item.isEdit = false | 26 | item.isEdit = false |
| 26 | }) | 27 | }) |
| 27 | tableData.value = bizRuleConfigData.value | 28 | tableData.value = bizRuleConfigData.value |
| 29 | tableFieldsLoading.value = false | ||
| 28 | } else { | 30 | } else { |
| 29 | proxy.$message.error(res.msg) | 31 | proxy.$message.error(res.msg) |
| 30 | } | 32 | } | ... | ... |
| ... | @@ -798,7 +798,7 @@ const positionOptions = [ | ... | @@ -798,7 +798,7 @@ const positionOptions = [ |
| 798 | ]; | 798 | ]; |
| 799 | // 语言options | 799 | // 语言options |
| 800 | const languageOptions = [ | 800 | const languageOptions = [ |
| 801 | { label: '中文名', value: 'zhName' }, | 801 | { label: '中文名', value: 'chName' }, |
| 802 | { label: '英文名', value: 'enName' }, | 802 | { label: '英文名', value: 'enName' }, |
| 803 | ]; | 803 | ]; |
| 804 | // 当前悬停的行索引 | 804 | // 当前悬停的行索引 | ... | ... |
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
-
Please register or sign in to post a comment