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
4352b373
authored
2025-12-05 14:51:23 +0800
by
lihua
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
解决对比策略
1 parent
ae9eaa39
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
src/views/data_smart_contract/smartContractDetail.vue
src/views/data_smart_contract/smartContractDetail.vue
View file @
4352b37
...
...
@@ -468,8 +468,8 @@ const disableConfirmBtn = computed(() => {
let
oldItem
=
originValue
[
index
];
if
(
newItem
.
action
!=
oldItem
.
action
||
newItem
.
constraintEnName
!=
oldItem
.
constraintEnName
||
newItem
.
constraintOperatorCode
!=
oldItem
.
constraintOperatorCode
||
newItem
.
constraintValue
!=
oldItem
.
constraintValue
||
(
newItem
.
constraintEnName
==
'dataField'
&&
!
isEqual
(
newItem
.
constraintFieldValue
,
oldItem
.
additionValue
))
||
((
newItem
.
constraintEnName
==
'limitedDeliveryConnector'
||
newItem
.
constraintEnName
==
'limitedUseConnector'
)
&&
!
isEqual
(
newItem
.
constraintConnectorValue
,
oldItem
.
constraintConnectorValue
)))
{
(
newItem
.
constraintEnName
==
'dataField'
&&
!
isEqual
(
newItem
.
constraintFieldValue
,
oldItem
.
additionValue
?.
map
(
a
=>
a
.
enName
)
))
||
((
newItem
.
constraintEnName
==
'limitedDeliveryConnector'
||
newItem
.
constraintEnName
==
'limitedUseConnector'
)
&&
!
isEqual
(
newItem
.
constraintConnectorValue
,
oldItem
.
additionValue
?.
map
(
a
=>
a
.
guid
)
)))
{
return
true
;
}
index
++
;
...
...
@@ -1068,7 +1068,8 @@ onBeforeMount(() => {
productTableInfo
.
value
.
data
=
detailInfo
.
value
.
contractSubjects
||
[];
let
productGuid
=
productTableInfo
.
value
.
data
?.[
0
]?.
dataProductGuid
;
if
(
productGuid
&&
detailType
.
value
==
'consult'
)
{
getDamFieldsByProductGuid
(
productGuid
,
isDataUse
.
value
?
'Y'
:
'N'
).
then
((
res
:
any
)
=>
{
//当前用户不等于数据提供方就要传N.
getDamFieldsByProductGuid
(
productGuid
,
provider
.
executionerGuid
!=
userData
.
tenantGuid
?
'Y'
:
'N'
).
then
((
res
:
any
)
=>
{
if
(
res
?.
code
==
proxy
.
$passCode
)
{
productFieldList
.
value
=
res
.
data
||
initProductFieldValue
.
value
;
}
else
{
...
...
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