update : 分类分级 和 标签管理的chName
Showing
7 changed files
with
22 additions
and
5 deletions
| ... | @@ -757,8 +757,8 @@ export const createTableSql = (data) => request({ | ... | @@ -757,8 +757,8 @@ export const createTableSql = (data) => request({ |
| 757 | * @param {no params} | 757 | * @param {no params} |
| 758 | * @path /cg-dir/export | 758 | * @path /cg-dir/export |
| 759 | */ | 759 | */ |
| 760 | export const exportCgDir = () => request({ | 760 | export const exportCgDir = (params) => request({ |
| 761 | url: `${import.meta.env.VITE_APP_CHECK_BASEURL}/cg-dir/export`, | 761 | url: `${import.meta.env.VITE_APP_CHECK_BASEURL}/cg-dir/export?execGuid=${params.execGuid}`, |
| 762 | method: 'post', | 762 | method: 'post', |
| 763 | responseType: 'blob', | 763 | responseType: 'blob', |
| 764 | }) | 764 | }) |
| ... | @@ -785,6 +785,21 @@ export const getDbDirDetail = (params) => request({ | ... | @@ -785,6 +785,21 @@ export const getDbDirDetail = (params) => request({ |
| 785 | method: 'get', | 785 | method: 'get', |
| 786 | }) | 786 | }) |
| 787 | 787 | ||
| 788 | /** | ||
| 789 | * 数据库目录修改规划数据资产 | ||
| 790 | * @param {Object} | ||
| 791 | * @path /db-dir/table/update-data-asset | ||
| 792 | * | ||
| 793 | */ | ||
| 794 | |||
| 795 | export const updateDataAsset = (data) => request({ | ||
| 796 | url: `${import.meta.env.VITE_APP_CHECK_BASEURL}/db-dir/table/update-data-asset`, | ||
| 797 | method: 'post', | ||
| 798 | data | ||
| 799 | }) | ||
| 800 | |||
| 801 | |||
| 802 | |||
| 788 | /*********************业务规则配置 ************数据库目录************************* */ | 803 | /*********************业务规则配置 ************数据库目录************************* */ |
| 789 | 804 | ||
| 790 | /** | 805 | /** | ... | ... |
| ... | @@ -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