c75437b7 by lxs

Merge branch 'release-test' of http://117.78.60.236:8000/csbr-daop/fe-data-asset…

…-management into release-test
2 parents 36d5d6ac ad0bf64f
...@@ -4,6 +4,7 @@ VITE_APP_TITLE = 数据资产管理系统 ...@@ -4,6 +4,7 @@ VITE_APP_TITLE = 数据资产管理系统
4 # VITE_API_BASEURL = https://www.zgsjzc.com/api 4 # VITE_API_BASEURL = https://www.zgsjzc.com/api
5 # VITE_API_BASEURL = https://swzl-test.csbr.cn/api 5 # VITE_API_BASEURL = https://swzl-test.csbr.cn/api
6 VITE_API_BASEURL = http://192.168.6.20:28052/ 6 VITE_API_BASEURL = http://192.168.6.20:28052/
7 # VITE_API_BASEURL = http://192.168.6.20:8052/
7 8
8 VITE_IDASS_BASEURL = https://daop-test.zgsjzc.com/portalLogin 9 VITE_IDASS_BASEURL = https://daop-test.zgsjzc.com/portalLogin
9 10
...@@ -82,6 +83,9 @@ VITE_APP_ATTACHMENT_TEMPLATE = ms-daop-personel-service ...@@ -82,6 +83,9 @@ VITE_APP_ATTACHMENT_TEMPLATE = ms-daop-personel-service
82 #人员服务 83 #人员服务
83 VITE_APP_PERSONAL_URL = 'ms-daop-personel-service' 84 VITE_APP_PERSONAL_URL = 'ms-daop-personel-service'
84 85
86 #元数据标准
87 VITE_APP_STANDARD_URL = 'ms-daop-meta-standard-service'
88
85 #流通平台地址 89 #流通平台地址
86 VITE_APP_CIRCULATION = https://daop-lt-test.zgsjzc.com/ 90 VITE_APP_CIRCULATION = https://daop-lt-test.zgsjzc.com/
87 # 测试环境访问地址 91 # 测试环境访问地址
......
...@@ -110,6 +110,9 @@ VITE_API_ASSET_BASEURL = ms-swzl-data-dam-service ...@@ -110,6 +110,9 @@ VITE_API_ASSET_BASEURL = ms-swzl-data-dam-service
110 #数据同步接口地址 110 #数据同步接口地址
111 VITE_API_DATA_SYNC = ms-swzl-data-sync-service 111 VITE_API_DATA_SYNC = ms-swzl-data-sync-service
112 112
113 #元数据标准
114 VITE_APP_STANDARD_URL = 'ms-daop-meta-standard-service'
115
113 #消息接口 116 #消息接口
114 VITE_API_MESSAGE = ms-daop-message-service 117 VITE_API_MESSAGE = ms-daop-message-service
115 118
......
...@@ -248,4 +248,68 @@ export const syncChangeDetail = (guid) => request({ ...@@ -248,4 +248,68 @@ export const syncChangeDetail = (guid) => request({
248 export const delMetaDataSource = (databaseGuid) => request({ 248 export const delMetaDataSource = (databaseGuid) => request({
249 url: `${import.meta.env.VITE_APP_PLAN_BASEURL}/meta-collect-task/del-by-database-guid?databaseGuid=${databaseGuid}`, 249 url: `${import.meta.env.VITE_APP_PLAN_BASEURL}/meta-collect-task/del-by-database-guid?databaseGuid=${databaseGuid}`,
250 method: 'delete', 250 method: 'delete',
251 })
252
253 /** 元数据-标准代码分页查询 */
254 export const getStandardCodeList = (params) => request({
255 url: `${import.meta.env.VITE_APP_STANDARD_URL}/standard-code/page-list`,
256 method: 'post',
257 data: params
258 })
259 /** 元数据-标准代码新增 */
260 export const saveStandardCode = (params) => request({
261 url: `${import.meta.env.VITE_APP_STANDARD_URL}/standard-code/save`,
262 method: 'post',
263 data: params
264 })
265 /** 元数据-标准代码修改 */
266 export const updateStandardCode = (params) => request({
267 url: `${import.meta.env.VITE_APP_STANDARD_URL}/standard-code/update`,
268 method: 'put',
269 data: params
270 })
271 /** 元数据-标准代码详情 */
272 export const getStandardCodeDetail = (guid) => request({
273 url: `${import.meta.env.VITE_APP_STANDARD_URL}/standard-code/detail?guid=${guid}`,
274 method: 'get',
275 })
276 /** 元数据-标准代码删除 */
277 export const deleteStandardCode = (params) => request({
278 url: `${import.meta.env.VITE_APP_STANDARD_URL}/standard-code/delete`,
279 method: 'delete',
280 data: params
281 })
282 /** 元数据-查询标准列表 */
283 export const getStandardCodeStandard = (standardTypeCode) => request({
284 url: `${import.meta.env.VITE_APP_STANDARD_URL}/standard-code/get-standard?standardTypeCode=${standardTypeCode}`,
285 method: 'get'
286 })
287 /** 元数据-查询代码列表 */
288 export const getStandardCodeDataList = (params) => request({
289 url: `${import.meta.env.VITE_APP_STANDARD_URL}/standard-code/data/get-data`,
290 method: 'post',
291 data: params
292 })
293 /** 元数据-查询代码字段数据 */
294 export const getStandardCodeFields = (standardGuid) => request({
295 url: `${import.meta.env.VITE_APP_STANDARD_URL}/standard-code/get-field?standardGuid=${standardGuid}`,
296 method: 'get'
297 })
298 /** 元数据-保存标准代码数据 */
299 export const saveStandardCodeFieldsData = (params) => request({
300 url: `${import.meta.env.VITE_APP_STANDARD_URL}/standard-code/data/save-data`,
301 method: 'post',
302 data: params
303 })
304 /** 元数据-删除标准代码数据 */
305 export const deleteStandardCodeFieldsData = (params) => request({
306 url: `${import.meta.env.VITE_APP_STANDARD_URL}/standard-code/data/remove-data`,
307 method: 'post',
308 data: params
309 })
310 /** 元数据-导出 */
311 export const exportStandardCodeData = (params) => request({
312 url: `${import.meta.env.VITE_APP_STANDARD_URL}/standard-code/data/data-export`,
313 method: 'post',
314 data: params
251 }) 315 })
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -156,6 +156,29 @@ const routes: RouteRecordRaw[] = [ ...@@ -156,6 +156,29 @@ const routes: RouteRecordRaw[] = [
156 } 156 }
157 ] 157 ]
158 }, 158 },
159 {
160 path: '/data-meta/reports',
161 component: Layout,
162 meta: {
163 title: '资源目录',
164 icon: 'ep:grid',
165 },
166 children: [
167 {
168 path: 'iframePage',
169 name: 'iframePage',
170 component: () => import('@/views/data_meta/budgetDataIndex.vue'),
171 meta: {
172 title: '',
173 sidebar: true,
174 breadcrumb: false,
175 cache: true,
176 reuse: true,
177 activeMenu: '/data-meta/reports/iframePage',
178 },
179 }
180 ]
181 },
159 { 182 {
160 path: '/data-meta/reports', 183 path: '/data-meta/reports',
161 component: Layout, 184 component: Layout,
...@@ -200,6 +223,54 @@ const routes: RouteRecordRaw[] = [ ...@@ -200,6 +223,54 @@ const routes: RouteRecordRaw[] = [
200 }, 223 },
201 } 224 }
202 ] 225 ]
226 },
227 {
228 path: '/data-meta/metadata-standard',
229 component: Layout,
230 meta: { title: '元数据标准', icon: 'ep:grid' },
231 children: [
232 {
233 path: '',
234 name: 'metadataStandard',
235 component: () => import('@/views/data_meta/standard.vue'),
236 meta: {
237 title: '元数据标准管理',
238 breadcrumb: false,
239 cache: true
240 }
241 },
242 {
243 path: 'standard-query',
244 name: 'metadataStandardQuery',
245 component: () => import('@/views/data_meta/standard-query.vue'),
246 meta: {
247 title: '元数据标准查询',
248 breadcrumb: false,
249 cache: true
250 }
251 },
252 {
253 path: 'standard-codetable',
254 name: 'metadataStandardCodetable',
255 component: () => import('@/views/data_meta/standard-codetable.vue'),
256 meta: {
257 title: '标准代码表',
258 breadcrumb: false,
259 cache: true
260 }
261 },
262 {
263 path: 'standard-import',
264 name: 'metadataStandardImport',
265 component: () => import('@/views/data_meta/standard-import.vue'),
266 meta: {
267 title: '标准代码导入',
268 breadcrumb: false,
269 cache: true,
270 activeMenu: '/data-meta/metadata-standard/standard-codetable'
271 }
272 }
273 ]
203 } 274 }
204 ] 275 ]
205 276
......
...@@ -1293,6 +1293,7 @@ const loadDrawer = async () => { ...@@ -1293,6 +1293,7 @@ const loadDrawer = async () => {
1293 drawerInfo.value.footer.btns.at(-2).visible = false 1293 drawerInfo.value.footer.btns.at(-2).visible = false
1294 drawerInfo.value.footer.btns.at(-3).visible = false 1294 drawerInfo.value.footer.btns.at(-3).visible = false
1295 drawerInfo.value.visible = true 1295 drawerInfo.value.visible = true
1296 console.log('table', formTable.value)
1296 }; 1297 };
1297 1298
1298 const batching = (type) => { 1299 const batching = (type) => {
......
1 <template>
2 <div>元数据标准查询</div>
3 </template>
4
5 <script>
6 export default {
7 }
8 </script>
9
10 <style>
11 </style>
...\ No newline at end of file ...\ No newline at end of file
1 <template>
2 <div>元数据标准</div>
3 </template>
4
5 <script>
6 export default {
7 }
8 </script>
9
10 <style>
11 </style>
...\ No newline at end of file ...\ No newline at end of file
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!