Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
csbr-daop
/
fe-data-trusted-space
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
1150f554
authored
2024-12-10 13:51:52 +0800
by
lxs
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
分级分类任务更新
1 parent
8407c03e
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
41 deletions
src/utils/request.ts
src/views/data_inventory/taskConfig.vue
src/views/data_inventory/taskDetail.vue
src/views/data_inventory/taskEdit.vue
src/views/data_inventory/taskLog.vue
src/utils/request.ts
View file @
1150f55
...
...
@@ -31,7 +31,7 @@ service.interceptors.request.use(
* 为每一次请求生成一个cancleToken
*/
const
source
=
axios
.
CancelToken
.
source
();
config
.
headers
.
tenant
=
'
6646dcad76c411eea911fa163e419da9
'
;
//会员guid先写死
config
.
headers
.
tenant
=
'
9e5b9d7bfd8c4f4f8079e05de19bf7e0
'
;
//会员guid先写死
config
.
cancelToken
=
source
.
token
;
if
(
config
.
method
===
"postfile"
)
{
config
.
method
=
"post"
;
...
...
src/views/data_inventory/taskConfig.vue
View file @
1150f55
...
...
@@ -349,25 +349,20 @@ const tableInfo = ref({
id
:
"mapping-table"
,
fields
:
[
{
label
:
"序号"
,
type
:
"index"
,
width
:
56
,
align
:
"center"
,
fixed
:
"left"
},
{
label
:
"任务名称"
,
field
:
"
ch
Name"
,
width
:
96
},
{
label
:
"任务名称"
,
field
:
"
task
Name"
,
width
:
96
},
{
label
:
"目录名称"
,
field
:
"
dataTypeValu
e"
,
width
:
120
,
type
:
"text_btn"
,
columClass
:
'text_btn'
,
click
:
(
scope
)
=>
{
label
:
"目录名称"
,
field
:
"
cgDirNam
e"
,
width
:
120
,
type
:
"text_btn"
,
columClass
:
'text_btn'
,
click
:
(
scope
)
=>
{
router
.
push
({
name
:
"templateConfig"
,
query
:
{
guid
:
scope
.
row
.
damGuid
},
});
}
},
{
label
:
"分类分级模板"
,
field
:
"dataTypeValue"
,
width
:
200
},
{
label
:
"元数据"
,
field
:
"fieldStandardCode"
,
width
:
200
},
// {
// label: "是否公共数据", field: "isPublicData", width: 120, getName: (scope) => {
// return scope.row.isPublicData == 'Y' ? '是' : '否';
// }
// },
{
label
:
"分类分级模板"
,
field
:
"cgTemplateName"
,
width
:
200
},
{
label
:
"元数据"
,
field
:
"metaNames"
,
width
:
200
},
{
label
:
"执行状态"
,
field
:
"
approveState
"
,
width
:
TableColumnWidth
.
STATE
,
align
:
'center'
,
type
:
"tag"
,
getName
:
(
scope
)
=>
{
return
filterVal
(
scope
.
row
.
approveState
,
'approveState
'
);
label
:
"执行状态"
,
field
:
"
status
"
,
width
:
TableColumnWidth
.
STATE
,
align
:
'center'
,
type
:
"tag"
,
getName
:
(
scope
)
=>
{
return
filterVal
(
scope
.
row
.
status
,
'status
'
);
}
},
{
label
:
"任务修改人"
,
field
:
"dataCategory"
,
width
:
120
},
...
...
src/views/data_inventory/taskDetail.vue
View file @
1150f55
This diff is collapsed.
Click to expand it.
src/views/data_inventory/taskEdit.vue
View file @
1150f55
...
...
@@ -339,7 +339,7 @@ const currpermissionList: any = ref([
}
])
const
templateInfo
=
ref
({
title
:
'医疗数据分类
分级模板
'
,
title
:
'医疗数据分类'
,
descGroup
:
[
{
label
:
'模型确认人'
,
value
:
'管理员 '
},
{
label
:
'模型确认时间'
,
value
:
'2021-12-12 09:12:13'
},
...
...
@@ -611,7 +611,7 @@ onBeforeMount(() => {
<
template
>
<div
class=
"container_wrap full flex"
>
<div
class=
"aside_wrap"
v-show=
"step == 0"
>
<div
class=
"aside_title"
>
选择分类
分级模板
</div>
<div
class=
"aside_title"
>
选择分类
</div>
<div
class=
"aside_search"
>
<el-input
v-model
.
trim=
"asideSearchInput"
placeholder=
"请输入关键字"
:prefix-icon=
"Search"
clearable
@
change=
"querySearch"
/>
...
...
src/views/data_inventory/taskLog.vue
View file @
1150f55
...
...
@@ -360,16 +360,6 @@ const tableInfo = ref({
},
{
label
:
"分类分级模板"
,
field
:
"dataTypeValue"
,
width
:
200
},
{
label
:
"元数据"
,
field
:
"fieldStandardCode"
,
width
:
200
},
// {
// label: "是否公共数据", field: "isPublicData", width: 120, getName: (scope) => {
// return scope.row.isPublicData == 'Y' ? '是' : '否';
// }
// },
{
label
:
"执行状态"
,
field
:
"approveState"
,
width
:
TableColumnWidth
.
STATE
,
align
:
'center'
,
type
:
"tag"
,
getName
:
(
scope
)
=>
{
return
filterVal
(
scope
.
row
.
approveState
,
'approveState'
);
}
},
{
label
:
"任务修改人"
,
field
:
"dataCategory"
,
width
:
120
},
{
label
:
"修改时间"
,
field
:
"updateTime"
,
width
:
TableColumnWidth
.
DATETIME
},
{
label
:
"确认次数"
,
field
:
"fieldLength"
,
width
:
96
,
align
:
'right'
},
...
...
@@ -391,14 +381,10 @@ const tableInfo = ref({
actionInfo
:
{
label
:
"操作"
,
type
:
"btn"
,
width
:
28
0
,
width
:
10
0
,
btns
:
(
scope
)
=>
{
let
row
=
scope
.
row
,
btnArr
:
any
=
[
{
label
:
"结果确认"
,
value
:
"confirm"
},
{
label
:
"结果修改"
,
value
:
"modify"
},
{
label
:
"编辑"
,
value
:
"edit"
},
{
label
:
"日志"
,
value
:
"log"
},
{
label
:
"删除"
,
value
:
"delete"
}
{
label
:
"查看结果"
,
value
:
"path"
},
];
// if (row.approveState == 'Y') {
// if (row.listingStatus == 'Y') {
...
...
@@ -441,7 +427,7 @@ const tableBtnClick = (scope, btn) => {
const
type
=
btn
.
value
;
const
row
=
scope
.
row
;
currTableData
.
value
=
row
;
if
(
type
==
"
detail"
||
type
===
"edit
"
)
{
if
(
type
==
"
path
"
)
{
toPath
(
type
);
}
else
if
(
type
===
"delete"
)
{
open
(
"此操作将永久删除,是否继续?"
,
"warning"
);
...
...
@@ -449,23 +435,14 @@ const tableBtnClick = (scope, btn) => {
};
const
toPath
=
(
type
)
=>
{
if
(
type
==
'add'
)
{
router
.
push
({
name
:
"taskEdit"
,
query
:
{
type
},
});
}
else
{
router
.
push
({
name
:
"taskEdit
"
,
name
:
"taskDetail
"
,
query
:
{
guid
:
currTableData
.
value
.
guid
,
name
:
currTableData
.
value
.
damName
,
type
},
});
}
}
const
tablePageChange
=
(
info
)
=>
{
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment