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
d2a68af8
authored
2025-03-05 18:01:23 +0800
by
lxs
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
数据资产登记更新
1 parent
5e4ce3cc
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
45 additions
and
17 deletions
src/views/data_asset/registerDetail.vue
src/views/data_asset/registerManagemant.vue
src/views/data_asset/valueEvaluate.vue
src/views/data_asset/registerDetail.vue
View file @
d2a68af
...
...
@@ -943,7 +943,7 @@ const passDialogInfo = ref({
footer
:
{
btns
:
[
{
type
:
"default"
,
label
:
"取消"
,
value
:
"cancel"
},
{
type
:
"primary"
,
label
:
"确定"
,
value
:
"submit"
},
{
type
:
"primary"
,
label
:
"确定"
,
value
:
"submit"
,
loading
:
false
},
],
},
});
...
...
@@ -975,6 +975,7 @@ const passDialogBtnClick = (btn, info) => {
if
(
submitPromise
.
value
)
{
return
;
}
passDialogInfo
.
value
.
footer
.
btns
[
1
].
loading
=
true
;
let
params
=
{
guid
:
detailInfo
.
value
.
approveVO
.
approveGuid
,
flowType
:
detailInfo
.
value
.
approveVO
.
flowType
,
...
...
@@ -983,6 +984,7 @@ const passDialogBtnClick = (btn, info) => {
}
submitPromise
.
value
=
passFlowData
(
params
,
tenantGuid
).
then
((
res
:
any
)
=>
{
submitPromise
.
value
=
null
;
passDialogInfo
.
value
.
footer
.
btns
[
1
].
loading
=
false
;
if
(
res
?.
code
==
proxy
.
$passCode
)
{
if
(
res
.
data
)
{
ElMessage
.
success
(
'审批成功'
);
...
...
@@ -995,11 +997,14 @@ const passDialogBtnClick = (btn, info) => {
}
else
{
ElMessage
.
error
(
res
.
msg
);
}
}).
catch
(()
=>
{
passDialogInfo
.
value
.
footer
.
btns
[
1
].
loading
=
false
;
});
}
else
if
(
detailType
.
value
==
'qualityEvaluate'
)
{
if
(
submitPromise
.
value
)
{
return
;
}
passDialogInfo
.
value
.
footer
.
btns
[
1
].
loading
=
true
;
submitPromise
.
value
=
qualityAllow
({
bizGuid
:
detailInfo
.
value
.
guid
,
flowType
:
detailInfo
.
value
.
approveVO
.
flowType
,
...
...
@@ -1017,6 +1022,7 @@ const passDialogBtnClick = (btn, info) => {
})
||
[],
},
tenantGuid
).
then
((
res
:
any
)
=>
{
submitPromise
.
value
=
null
;
passDialogInfo
.
value
.
footer
.
btns
[
1
].
loading
=
false
;
if
(
res
?.
code
==
proxy
.
$passCode
)
{
if
(
res
.
data
)
{
ElMessage
.
success
(
'审批成功'
);
...
...
@@ -1029,11 +1035,14 @@ const passDialogBtnClick = (btn, info) => {
}
else
{
ElMessage
.
error
(
res
.
msg
);
}
}).
catch
(()
=>
{
passDialogInfo
.
value
.
footer
.
btns
[
1
].
loading
=
false
;
});
}
else
if
(
detailType
.
value
==
'costAssess'
)
{
if
(
submitPromise
.
value
)
{
return
;
}
passDialogInfo
.
value
.
footer
.
btns
[
1
].
loading
=
true
;
submitPromise
.
value
=
costAssessAllow
({
bizGuid
:
detailInfo
.
value
.
guid
,
flowType
:
detailInfo
.
value
.
approveVO
.
flowType
,
...
...
@@ -1050,6 +1059,7 @@ const passDialogBtnClick = (btn, info) => {
})
||
[]
},
tenantGuid
).
then
((
res
:
any
)
=>
{
submitPromise
.
value
=
null
;
passDialogInfo
.
value
.
footer
.
btns
[
1
].
loading
=
false
;
if
(
res
?.
code
==
proxy
.
$passCode
)
{
if
(
res
.
data
)
{
ElMessage
.
success
(
'审批成功'
);
...
...
@@ -1062,11 +1072,14 @@ const passDialogBtnClick = (btn, info) => {
}
else
{
ElMessage
.
error
(
res
.
msg
);
}
}).
catch
(()
=>
{
passDialogInfo
.
value
.
footer
.
btns
[
1
].
loading
=
false
;
});
}
else
if
(
detailType
.
value
==
'certificate'
)
{
if
(
submitPromise
.
value
)
{
return
;
}
passDialogInfo
.
value
.
footer
.
btns
[
1
].
loading
=
true
;
submitPromise
.
value
=
updateCertificate
({
guid
:
certificateGuid
.
value
,
tenantGuid
:
userData
.
tenantGuid
,
...
...
@@ -1075,6 +1088,7 @@ const passDialogBtnClick = (btn, info) => {
documentFile
:
info
.
documentFile
?.
map
(
f
=>
f
.
url
)
||
[]
}).
then
((
res
:
any
)
=>
{
submitPromise
.
value
=
null
;
passDialogInfo
.
value
.
footer
.
btns
[
1
].
loading
=
false
;
if
(
res
?.
code
==
proxy
.
$passCode
)
{
ElMessage
.
success
(
'该资产发证确认成功'
);
passDialogInfo
.
value
.
visible
=
false
;
...
...
@@ -1083,7 +1097,9 @@ const passDialogBtnClick = (btn, info) => {
}
else
{
ElMessage
.
error
(
res
.
msg
);
}
})
}).
catch
(()
=>
{
passDialogInfo
.
value
.
footer
.
btns
[
1
].
loading
=
false
;
});
}
}
else
if
(
btn
.
value
==
'cancel'
)
{
passDialogInfo
.
value
.
visible
=
false
;
...
...
@@ -1154,7 +1170,10 @@ const rejectDialogBtnClick = (btn, info) => {
}
else
{
ElMessage
.
error
(
res
.
msg
);
}
});
}).
catch
(()
=>
{
rejectDialogInfo
.
value
.
footer
.
btns
[
1
].
loading
=
false
;
})
;
}
else
if
(
btn
.
value
==
'cancel'
)
{
rejectDialogInfo
.
value
.
visible
=
false
;
}
...
...
@@ -1238,6 +1257,8 @@ const passCommonDialogBtnClick = (btn, info) => {
}
else
{
ElMessage
.
error
(
res
.
msg
);
}
}).
catch
(()
=>
{
passCommonDialogInfo
.
value
.
footer
.
btns
[
1
].
loading
=
false
;
})
}
else
if
(
btn
.
value
==
'cancel'
)
{
passCommonDialogInfo
.
value
.
visible
=
false
;
...
...
@@ -1264,7 +1285,7 @@ const passCommonDialogBtnClick = (btn, info) => {
<div
v-if=
"assetDetailInfo.dataSensitivityLevelName?.length"
class=
"dataLabel"
>
{{
(
assetDetailInfo
.
dataSensitivityLevelName
?.
filter
(
u
=>
u
!=
'其他'
)?.
join
(
'、'
)
+
`${assetDetailInfo.dataSensitivityLevelOther || ''
}
`
)
}}
}}
<
/div
>
<
div
v
-
if
=
"assetDetailInfo.bizOwnName?.length"
class
=
"dataLabel"
>
{{
assetDetailInfo
.
bizOwnName
?.
filter
(
u
=>
u
!=
'其他'
)?.
join
(
'、'
)
+
(
assetDetailInfo
.
bizOwn
?.
includes
(
4
)
...
...
@@ -1807,7 +1828,7 @@ const passCommonDialogBtnClick = (btn, info) => {
<
span
class
=
"item_label"
>
产权期限
:
<
/span
>
<
span
class
=
"item_value"
v
-
if
=
"assetDetailInfo.propertyTerm != 'Y'"
>
无
<
/span
>
<
span
class
=
"item_value"
v
-
else
>
{{
`${assetDetailInfo.propertyTermSdate ?? '--'
}
至
${assetDetailInfo.propertyTermEdate ?? '--'
}
`
}}
<
/span
>
${assetDetailInfo.propertyTermEdate ?? '--'
}
`
}}
<
/span
>
<
/div
>
<
div
class
=
"list_item"
>
<
span
class
=
"item_label"
>
公司名称
:
<
/span
>
...
...
src/views/data_asset/registerManagemant.vue
View file @
d2a68af
...
...
@@ -417,14 +417,14 @@ const passDialogInfo = ref({
footer
:
{
btns
:
[
{
type
:
"default"
,
label
:
"取消"
,
value
:
"cancel"
},
{
type
:
"primary"
,
label
:
"确定"
,
value
:
"submit"
},
{
type
:
"primary"
,
label
:
"确定"
,
value
:
"submit"
,
loading
:
false
},
],
},
});
const
passDialogBtnClick
=
(
btn
,
info
)
=>
{
if
(
btn
.
value
==
'submit'
)
{
loading
.
value
=
true
;
passDialogInfo
.
value
.
footer
.
btns
[
1
].
loading
=
true
;
let
params
=
{
guid
:
currTableData
.
value
.
approveVO
.
approveGuid
,
flowType
:
currTableData
.
value
.
approveVO
.
flowType
,
...
...
@@ -432,7 +432,7 @@ const passDialogBtnClick = (btn, info) => {
approveStaffGuid
:
userData
.
staffGuid
,
}
passFlowData
(
params
,
currTableData
.
value
.
tenantGuid
).
then
((
res
:
any
)
=>
{
loading
.
value
=
false
;
passDialogInfo
.
value
.
footer
.
btns
[
1
].
loading
=
false
;
if
(
res
?.
code
==
proxy
.
$passCode
)
{
if
(
res
.
data
)
{
ElMessage
.
success
(
'审批成功'
);
...
...
@@ -445,7 +445,7 @@ const passDialogBtnClick = (btn, info) => {
ElMessage
.
error
(
res
.
msg
);
}
}).
catch
(()
=>
{
loading
.
value
=
false
;
passDialogInfo
.
value
.
footer
.
btns
[
1
].
loading
=
false
;
});
}
else
if
(
btn
.
value
==
'cancel'
)
{
passDialogInfo
.
value
.
visible
=
false
;
...
...
@@ -483,7 +483,7 @@ const rejectDialogInfo = ref({
footer
:
{
btns
:
[
{
type
:
"default"
,
label
:
"取消"
,
value
:
"cancel"
},
{
type
:
"primary"
,
label
:
"确定"
,
value
:
"submit"
},
{
type
:
"primary"
,
label
:
"确定"
,
value
:
"submit"
,
loading
:
false
},
],
},
});
...
...
@@ -494,7 +494,7 @@ const rejectDialogBtnClick = (btn, info) => {
ElMessage
.
error
(
'请填写驳回理由'
);
return
}
loading
.
value
=
true
;
rejectDialogInfo
.
value
.
footer
.
btns
[
1
].
loading
=
true
;
let
params
=
{
guid
:
currTableData
.
value
.
approveVO
.
approveGuid
,
flowType
:
currTableData
.
value
.
approveVO
.
flowType
,
...
...
@@ -502,7 +502,7 @@ const rejectDialogBtnClick = (btn, info) => {
approveStaffGuid
:
userData
.
staffGuid
,
}
rejectFlowData
(
params
,
currTableData
.
value
.
tenantGuid
).
then
((
res
:
any
)
=>
{
loading
.
value
=
false
;
rejectDialogInfo
.
value
.
footer
.
btns
[
1
].
loading
=
false
;
if
(
res
?.
code
==
proxy
.
$passCode
)
{
if
(
res
.
data
)
{
ElMessage
.
success
(
'驳回成功'
);
...
...
@@ -515,7 +515,7 @@ const rejectDialogBtnClick = (btn, info) => {
ElMessage
.
error
(
res
.
msg
);
}
}).
catch
(()
=>
{
loading
.
value
=
false
;
rejectDialogInfo
.
value
.
footer
.
btns
[
1
].
loading
=
false
;
});
}
else
if
(
btn
.
value
==
'cancel'
)
{
rejectDialogInfo
.
value
.
visible
=
false
;
...
...
src/views/data_asset/valueEvaluate.vue
View file @
d2a68af
...
...
@@ -991,16 +991,16 @@ const passDialogInfo = ref({
footer
:
{
btns
:
[
{
type
:
"default"
,
label
:
"取消"
,
value
:
"cancel"
},
{
type
:
"primary"
,
label
:
"确定"
,
value
:
"submit"
},
{
type
:
"primary"
,
label
:
"确定"
,
value
:
"submit"
,
loading
:
false
},
],
},
});
const
passDialogBtnClick
=
(
btn
,
info
)
=>
{
let
params
:
any
=
{}
console
.
log
(
'btn'
,
btn
,
info
,
currTableData
.
value
);
//
console.log('btn', btn, info, currTableData.value);
if
(
btn
.
value
==
'submit'
)
{
passDialogInfo
.
value
.
footer
.
btns
[
1
].
loading
=
true
;
costAssessAllow
({
guid
:
currTableData
.
value
.
approveVO
.
approveGuid
,
bizGuid
:
currTableData
.
value
.
guid
,
...
...
@@ -1016,6 +1016,7 @@ const passDialogBtnClick = (btn, info) => {
}
})
||
[]
},
currTableData
.
value
.
tenantGuid
).
then
((
res
:
any
)
=>
{
passDialogInfo
.
value
.
footer
.
btns
[
1
].
loading
=
false
;
if
(
res
?.
code
==
proxy
.
$passCode
)
{
if
(
res
.
data
)
{
ElMessage
.
success
(
'审批成功'
);
...
...
@@ -1027,6 +1028,8 @@ const passDialogBtnClick = (btn, info) => {
}
else
{
ElMessage
.
error
(
res
.
msg
);
}
}).
catch
(()
=>
{
passDialogInfo
.
value
.
footer
.
btns
[
1
].
loading
=
false
;
})
}
else
if
(
btn
.
value
==
'cancel'
)
{
passDialogInfo
.
value
.
visible
=
false
;
...
...
@@ -1113,7 +1116,7 @@ const rejectDialogBtnClick = (btn, info) => {
ElMessage
.
error
(
'请填写驳回理由'
);
return
}
console
.
log
(
'currTableData'
,
currTableData
.
value
,
info
);
//
console.log('currTableData', currTableData.value, info);
rejectDialogInfo
.
value
.
footer
.
btns
[
1
].
loading
=
true
;
let
params
=
{
guid
:
currTableData
.
value
.
approveVO
.
approveGuid
,
...
...
@@ -1134,6 +1137,8 @@ const rejectDialogBtnClick = (btn, info) => {
}
else
{
ElMessage
.
error
(
res
.
msg
);
}
}).
catch
(()
=>
{
rejectDialogInfo
.
value
.
footer
.
btns
[
1
].
loading
=
false
;
})
}
else
if
(
btn
.
value
==
'cancel'
)
{
rejectDialogInfo
.
value
.
visible
=
false
;
...
...
@@ -1162,6 +1167,8 @@ const passCommonDialogBtnClick = (btn, info) => {
}
else
{
ElMessage
.
error
(
res
.
msg
);
}
}).
catch
(()
=>
{
passCommonDialogInfo
.
value
.
footer
.
btns
[
1
].
loading
=
false
;
})
}
else
if
(
btn
.
value
==
'cancel'
)
{
passCommonDialogInfo
.
value
.
visible
=
false
;
...
...
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