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
f13946e2
authored
2025-01-10 15:52:38 +0800
by
lxs
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
数据资产登记更新
1 parent
d24705fc
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
23 deletions
src/views/data_asset/registerDetail.vue
src/views/data_asset/registerManagemant.vue
src/views/data_asset/registerStart.vue
src/views/data_asset/registerDetail.vue
View file @
f13946e
This diff is collapsed.
Click to expand it.
src/views/data_asset/registerManagemant.vue
View file @
f13946e
...
...
@@ -23,6 +23,7 @@ import {
getRegisterTenant
,
getExchangeList
}
from
"@/api/modules/dataAsset"
;
import
{
passFlowData
,
rejectFlowData
,
revokeFlowData
}
from
"@/api/modules/workFlowService"
;
import
useDataAssetStore
from
"@/store/modules/dataAsset"
;
import
useUserStore
from
"@/store/modules/user"
;
...
...
@@ -145,7 +146,6 @@ const getTableBtns = (row, includeDetail = true) => {
console
.
log
(
userData
)
let
btnsArr
:
any
[]
=
[];
if
(
row
.
approveState
==
'N'
)
{
//只有草稿中的详情是可以编辑的
includeDetail
&&
btnsArr
.
push
({
label
:
"详情"
,
value
:
"path_detail"
})
includeDetail
&&
btnsArr
.
push
({
label
:
"编辑"
,
value
:
"edit"
})
if
(
row
.
tenantGuid
==
userData
.
tenantGuid
)
{
btnsArr
.
push
({
label
:
"删除"
,
value
:
"delete"
});
...
...
@@ -209,10 +209,11 @@ const tableBtnClick = (scope, btn) => {
}).
then
(()
=>
{
listDataLoading
.
value
=
true
;
let
params
=
{
bizGuid
:
row
.
guid
,
funcCode
:
row
.
funcCode
guid
:
row
.
approveVO
.
approveGuid
,
flowType
:
row
.
approveVO
.
flowType
,
approveStaffGuid
:
userData
.
staffGuid
,
}
re
gisterApproveCancel
(
params
).
then
((
res
:
any
)
=>
{
re
vokeFlowData
(
params
).
then
((
res
:
any
)
=>
{
listDataLoading
.
value
=
false
;
if
(
res
?.
code
==
proxy
.
$passCode
)
{
if
(
res
.
data
)
{
...
...
@@ -424,11 +425,12 @@ const passDialogBtnClick = (btn, info) => {
if
(
btn
.
value
==
'submit'
)
{
listDataLoading
.
value
=
true
;
let
params
=
{
bizGuid
:
currTableData
.
value
.
guid
,
funcCode
:
currTableData
.
value
.
funcCode
,
approveSuggest
:
info
.
approveSuggest
guid
:
currTableData
.
value
.
approveVO
.
approveGuid
,
flowType
:
currTableData
.
value
.
approveVO
.
flowType
,
approveSuggest
:
info
.
approveSuggest
,
approveStaffGuid
:
userData
.
staffGuid
,
}
registerApproveAllow
(
params
).
then
((
res
:
any
)
=>
{
passFlowData
(
params
).
then
((
res
:
any
)
=>
{
listDataLoading
.
value
=
false
;
if
(
res
?.
code
==
proxy
.
$passCode
)
{
if
(
res
.
data
)
{
...
...
@@ -491,11 +493,12 @@ const rejectDialogBtnClick = (btn, info) => {
}
listDataLoading
.
value
=
true
;
let
params
=
{
bizGuid
:
currTableData
.
value
.
guid
,
funcCode
:
currTableData
.
value
.
funcCode
,
approveSuggest
:
info
.
approveSuggest
guid
:
currTableData
.
value
.
approveVO
.
approveGuid
,
flowType
:
currTableData
.
value
.
approveVO
.
flowType
,
approveSuggest
:
info
.
approveSuggest
,
approveStaffGuid
:
userData
.
staffGuid
,
}
re
gisterApproveBackup
(
params
).
then
((
res
:
any
)
=>
{
re
jectFlowData
(
params
).
then
((
res
:
any
)
=>
{
listDataLoading
.
value
=
false
;
if
(
res
?.
code
==
proxy
.
$passCode
)
{
if
(
res
.
data
)
{
...
...
src/views/data_asset/registerStart.vue
View file @
f13946e
...
...
@@ -405,9 +405,10 @@ onBeforeMount(() => {
fullscreenLoading
.
value
=
false
;
if
(
res
.
code
==
proxy
.
$passCode
)
{
const
data
=
res
.
data
||
{}
let
{
approveVO
}
=
data
;
draftDetailInfo
.
value
=
data
;
deploymentId
.
value
=
data
.
camundaDeploymentId
;
processInstanceId
.
value
=
data
.
camundaInstanceId
deploymentId
.
value
=
approveVO
.
camundaDeploymentId
;
processInstanceId
.
value
=
approveVO
.
camundaInstanceId
let
coverageArea
=
''
;
let
coverageAreas
=
[];
let
damTypeItem
=
baseFormItems
.
value
.
find
(
item
=>
item
.
field
==
'damType'
);
...
...
@@ -743,14 +744,6 @@ const baseFormItems: any = ref([
clearable
:
true
,
required
:
true
,
},
{
label
:
"数据时间范围"
,
type
:
"date-picker"
,
field
:
"dateRange"
,
default
:
null
,
placeholder
:
"开始时间~结束时间"
,
clearable
:
true
,
required
:
true
,
},
{
label
:
'病例总数(例)'
,
type
:
'input'
,
placeholder
:
'请输入'
,
...
...
@@ -760,7 +753,6 @@ const baseFormItems: any = ref([
default
:
''
,
required
:
false
},
{
},
{
label
:
'数据覆盖地域'
,
type
:
'checkbox-select'
,
placeholder
:
'全国'
,
...
...
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