分级分类任务更新
Showing
5 changed files
with
107 additions
and
63 deletions
| ... | @@ -34,7 +34,7 @@ const routes: RouteRecordRaw[] = [ | ... | @@ -34,7 +34,7 @@ const routes: RouteRecordRaw[] = [ |
| 34 | cache: true, | 34 | cache: true, |
| 35 | reuse: true, | 35 | reuse: true, |
| 36 | editPage: true, | 36 | editPage: true, |
| 37 | activeMenu: '/data-inventory/classify-grade-manage/template-config' | 37 | activeMenu: '/data-inventory/classify-grade-manage/task-config' |
| 38 | }, | 38 | }, |
| 39 | beforeEnter: (to, from) => { | 39 | beforeEnter: (to, from) => { |
| 40 | if (to.query.name) { | 40 | if (to.query.name) { |
| ... | @@ -45,6 +45,46 @@ const routes: RouteRecordRaw[] = [ | ... | @@ -45,6 +45,46 @@ const routes: RouteRecordRaw[] = [ |
| 45 | } | 45 | } |
| 46 | }, | 46 | }, |
| 47 | { | 47 | { |
| 48 | path: 'task-detail', | ||
| 49 | name: 'taskDetail', | ||
| 50 | component: () => import('@/views/data_inventory/taskDetail.vue'), | ||
| 51 | meta: { | ||
| 52 | title: '结果-', | ||
| 53 | sidebar: false, | ||
| 54 | breadcrumb: false, | ||
| 55 | cache: true, | ||
| 56 | reuse: true, | ||
| 57 | editPage: true, | ||
| 58 | activeMenu: '/data-inventory/classify-grade-manage/task-config' | ||
| 59 | }, | ||
| 60 | beforeEnter: (to, from) => { | ||
| 61 | if (to.query.type == 'confirm') { | ||
| 62 | to.meta.title = `${to.query.name}-结果确认`; | ||
| 63 | } else { | ||
| 64 | to.meta.title = `${to.query.name}-结果修改`; | ||
| 65 | } | ||
| 66 | } | ||
| 67 | }, | ||
| 68 | { | ||
| 69 | path: 'task-log', | ||
| 70 | name: 'taskLog', | ||
| 71 | component: () => import('@/views/data_inventory/taskLog.vue'), | ||
| 72 | meta: { | ||
| 73 | title: '分级分类日志', | ||
| 74 | sidebar: false, | ||
| 75 | breadcrumb: false, | ||
| 76 | cache: true, | ||
| 77 | reuse: true, | ||
| 78 | editPage: true, | ||
| 79 | activeMenu: '/data-inventory/classify-grade-manage/task-config' | ||
| 80 | }, | ||
| 81 | beforeEnter: (to, from) => { | ||
| 82 | // if (to.query.name) { | ||
| 83 | // to.meta.title = `编辑-${to.query.name}`; | ||
| 84 | // } | ||
| 85 | } | ||
| 86 | }, | ||
| 87 | { | ||
| 48 | path: 'template-config', | 88 | path: 'template-config', |
| 49 | name: 'templateConfig', | 89 | name: 'templateConfig', |
| 50 | component: () => import('@/views/data_inventory/templateConfig.vue'), | 90 | component: () => import('@/views/data_inventory/templateConfig.vue'), | ... | ... |
This diff is collapsed.
Click to expand it.
src/views/data_inventory/taskDetail.vue
0 → 100644
This diff is collapsed.
Click to expand it.
| ... | @@ -20,68 +20,7 @@ const userStore = useUserStore(); | ... | @@ -20,68 +20,7 @@ const userStore = useUserStore(); |
| 20 | const userData = JSON.parse(userStore.userData); | 20 | const userData = JSON.parse(userStore.userData); |
| 21 | const assetStore = useDataAssetStore(); | 21 | const assetStore = useDataAssetStore(); |
| 22 | 22 | ||
| 23 | const step = ref(0); | 23 | const data1 = [ |
| 24 | const selectIndex = ref(0); | ||
| 25 | const asideSearchInput = ref(""); | ||
| 26 | const permissionList: any = ref([]) | ||
| 27 | const listLoading = ref(false) | ||
| 28 | const listPage = ref({ | ||
| 29 | limit: 50, | ||
| 30 | curr: 1, | ||
| 31 | totalPages: 0 | ||
| 32 | }) | ||
| 33 | const currpermissionList: any = ref([ | ||
| 34 | { | ||
| 35 | "guid": "62d01ad586774db2bb3955dfb2d18366", | ||
| 36 | "productGuid": null, | ||
| 37 | "productName": null, | ||
| 38 | "dataPermissionName": "当前用户", | ||
| 39 | "bizState": "Y", | ||
| 40 | "createUserName": "数往知来管理员", | ||
| 41 | "createTime": "2024-01-24 14:08:43", | ||
| 42 | "sqlScript": null, | ||
| 43 | "dataSourceGuid": null | ||
| 44 | }, | ||
| 45 | { | ||
| 46 | "guid": "d68a27c1998540a2b8e8f22a2d5eebef", | ||
| 47 | "productGuid": null, | ||
| 48 | "productName": null, | ||
| 49 | "dataPermissionName": "组织权限", | ||
| 50 | "bizState": "Y", | ||
| 51 | "createUserName": "数往知来管理员", | ||
| 52 | "createTime": "2024-01-24 11:47:02", | ||
| 53 | "sqlScript": null, | ||
| 54 | "dataSourceGuid": null | ||
| 55 | } | ||
| 56 | ]) | ||
| 57 | const templateInfo = ref({ | ||
| 58 | title: '医疗数据分类分级模板', | ||
| 59 | descGroup: [ | ||
| 60 | { label: '模型确认人', value: '管理员 ' }, | ||
| 61 | { label: '模型确认时间', value: '2021-12-12 09:12:13' }, | ||
| 62 | ], | ||
| 63 | tags: [ | ||
| 64 | { type: 'info', name: '医疗行业分类' }, | ||
| 65 | { type: 'success', name: '五级' }, | ||
| 66 | { type: 'primary', name: 'V5' }, | ||
| 67 | ], | ||
| 68 | desc: '适用于各级医疗机构、卫生健康管理部门、公共卫生服务机构、相关专项业务服务机构、相关信息技术服务机构等开展医疗健康数据分类分级。适用于各级医疗机构、卫生健康管理部门、公共卫生服务机构、相关专项业务服务机构、相关信息技术服务机构等开展医疗健康数据分类分级。适用于各级医疗机构、卫生健康。' | ||
| 69 | }) | ||
| 70 | const treeIndex: any = ref({}) | ||
| 71 | |||
| 72 | const treeInfo = ref({ | ||
| 73 | id: "data-pickup-tree", | ||
| 74 | filter: true, | ||
| 75 | queryValue: "", | ||
| 76 | queryPlaceholder: "输入组织名称搜索", | ||
| 77 | props: { | ||
| 78 | label: "organisationName", | ||
| 79 | value: "guid", | ||
| 80 | }, | ||
| 81 | nodeKey: 'guid', | ||
| 82 | expandedKey: [], | ||
| 83 | expandOnNodeClick: false, | ||
| 84 | data: [ | ||
| 85 | { | 24 | { |
| 86 | "children": [ | 25 | "children": [ |
| 87 | { | 26 | { |
| ... | @@ -363,7 +302,70 @@ const treeInfo = ref({ | ... | @@ -363,7 +302,70 @@ const treeInfo = ref({ |
| 363 | "levelCode": "8", | 302 | "levelCode": "8", |
| 364 | "displayCreateTime": "2024-01-16 11:38:24" | 303 | "displayCreateTime": "2024-01-16 11:38:24" |
| 365 | } | 304 | } |
| 305 | ] | ||
| 306 | |||
| 307 | const step = ref(0); | ||
| 308 | const selectIndex = ref(0); | ||
| 309 | const asideSearchInput = ref(""); | ||
| 310 | const permissionList: any = ref([]) | ||
| 311 | const listLoading = ref(false) | ||
| 312 | const listPage = ref({ | ||
| 313 | limit: 50, | ||
| 314 | curr: 1, | ||
| 315 | totalPages: 0 | ||
| 316 | }) | ||
| 317 | const currpermissionList: any = ref([ | ||
| 318 | { | ||
| 319 | "guid": "62d01ad586774db2bb3955dfb2d18366", | ||
| 320 | "productGuid": null, | ||
| 321 | "productName": null, | ||
| 322 | "dataPermissionName": "当前用户", | ||
| 323 | "bizState": "Y", | ||
| 324 | "createUserName": "数往知来管理员", | ||
| 325 | "createTime": "2024-01-24 14:08:43", | ||
| 326 | "sqlScript": null, | ||
| 327 | "dataSourceGuid": null | ||
| 328 | }, | ||
| 329 | { | ||
| 330 | "guid": "d68a27c1998540a2b8e8f22a2d5eebef", | ||
| 331 | "productGuid": null, | ||
| 332 | "productName": null, | ||
| 333 | "dataPermissionName": "组织权限", | ||
| 334 | "bizState": "Y", | ||
| 335 | "createUserName": "数往知来管理员", | ||
| 336 | "createTime": "2024-01-24 11:47:02", | ||
| 337 | "sqlScript": null, | ||
| 338 | "dataSourceGuid": null | ||
| 339 | } | ||
| 340 | ]) | ||
| 341 | const templateInfo = ref({ | ||
| 342 | title: '医疗数据分类分级模板', | ||
| 343 | descGroup: [ | ||
| 344 | { label: '模型确认人', value: '管理员 ' }, | ||
| 345 | { label: '模型确认时间', value: '2021-12-12 09:12:13' }, | ||
| 366 | ], | 346 | ], |
| 347 | tags: [ | ||
| 348 | { type: 'info', name: '医疗行业分类' }, | ||
| 349 | { type: 'success', name: '五级' }, | ||
| 350 | { type: 'primary', name: 'V5' }, | ||
| 351 | ], | ||
| 352 | desc: '适用于各级医疗机构、卫生健康管理部门、公共卫生服务机构、相关专项业务服务机构、相关信息技术服务机构等开展医疗健康数据分类分级。适用于各级医疗机构、卫生健康管理部门、公共卫生服务机构、相关专项业务服务机构、相关信息技术服务机构等开展医疗健康数据分类分级。适用于各级医疗机构、卫生健康。' | ||
| 353 | }) | ||
| 354 | const treeIndex: any = ref({}) | ||
| 355 | |||
| 356 | const treeInfo = ref({ | ||
| 357 | id: "data-pickup-tree", | ||
| 358 | filter: true, | ||
| 359 | queryValue: "", | ||
| 360 | queryPlaceholder: "输入组织名称搜索", | ||
| 361 | props: { | ||
| 362 | label: "organisationName", | ||
| 363 | value: "guid", | ||
| 364 | }, | ||
| 365 | nodeKey: 'guid', | ||
| 366 | expandedKey: [], | ||
| 367 | expandOnNodeClick: false, | ||
| 368 | data: data1 || [], | ||
| 367 | }); | 369 | }); |
| 368 | 370 | ||
| 369 | const expand1 = ref(true) | 371 | const expand1 = ref(true) |
| ... | @@ -436,6 +438,8 @@ const tableInfo = ref({ | ... | @@ -436,6 +438,8 @@ const tableInfo = ref({ |
| 436 | 438 | ||
| 437 | const metadataTableInfo = ref({ | 439 | const metadataTableInfo = ref({ |
| 438 | id: "metadata-table", | 440 | id: "metadata-table", |
| 441 | multiple: true, | ||
| 442 | rowKey: 'guid', | ||
| 439 | fields: [ | 443 | fields: [ |
| 440 | { label: "序号", type: "index", width: 56, align: "center", fixed: "left" }, | 444 | { label: "序号", type: "index", width: 56, align: "center", fixed: "left" }, |
| 441 | { label: "数据库名称", field: "damCode", width: 200 }, | 445 | { label: "数据库名称", field: "damCode", width: 200 }, | ... | ... |
src/views/data_inventory/taskLog.vue
0 → 100644
This diff is collapsed.
Click to expand it.
-
Please register or sign in to post a comment