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
2889c957
authored
2025-12-01 12:57:50 +0800
by
lihua
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
去掉数据提供方创建合约的代码
1 parent
47db0e59
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
18 deletions
src/views/data_smart_contract/smartContractCreate.vue
src/views/data_smart_contract/smartContractCreate.vue
View file @
2889c95
...
...
@@ -516,21 +516,21 @@ const submit = () => {
handleLeft
(
'product-info'
);
return
;
}
if
(
userData
.
superTubeFlag
==
'Y'
)
{
//只有主平台模式下需判断
if
(
baseInfoFormRef
.
value
.
formInline
.
signModeCode
==
'02'
&&
index
>
0
&&
productData
.
value
[
index
].
dataProductEntityId
!=
pd
.
dataProductEntityId
)
{
proxy
.
$ElMessage
.
error
(
'合约标的的数据产品不能来自不同的企业主体'
);
expandInfo
.
value
=
true
;
handleLeft
(
'product-info'
);
return
;
}
else
{
if
(
pd
.
dataProductEntityId
!=
nodeInfoFormRef
.
value
?.
formInline
?.
dataProviderId
)
{
proxy
.
$ElMessage
.
error
(
'合约标的的数据产品所属主体与数据提供方的策略执行者不一致,请检查!'
);
expandInfo
.
value
=
true
;
handleLeft
(
'product-info'
);
return
;
}
}
}
//
if (userData.superTubeFlag == 'Y') { //只有主平台模式下需判断
//
if (baseInfoFormRef.value.formInline.signModeCode == '02' && index > 0 && productData.value[index].dataProductEntityId != pd.dataProductEntityId) {
//
proxy.$ElMessage.error('合约标的的数据产品不能来自不同的企业主体');
//
expandInfo.value = true;
//
handleLeft('product-info');
//
return;
//
} else {
//
if (pd.dataProductEntityId != nodeInfoFormRef.value?.formInline?.dataProviderId) {
//
proxy.$ElMessage.error('合约标的的数据产品所属主体与数据提供方的策略执行者不一致,请检查!');
//
expandInfo.value = true;
//
handleLeft('product-info');
//
return;
//
}
//
}
//
}
index
++
;
}
nodeInfoFormRef
.
value
.
ruleFormRef
?.
validate
((
valid1
,
errorItem1
)
=>
{
...
...
@@ -658,9 +658,9 @@ onBeforeMount(() => {
nodeInfoFormItems
.
value
[
2
].
default
=
provider
.
executionerId
;
nodeInfoFormItems
.
value
[
4
].
default
=
user
.
executionerGuid
;
nodeInfoFormItems
.
value
[
5
].
default
=
user
.
executionerId
;
if
(
baseInfoFormItems
.
value
[
1
].
default
==
'01'
&&
userData
.
superTubeFlag
==
'Y'
)
{
productList
.
value
=
res
.
data
||
[];
}
// if (baseInfoFormItems.value[1].default == '01' && userData.superTubeFlag == 'Y') {//点对点。
//
productList.value = res.data || [];
//
}
productTableInfo
.
value
.
editInfo
.
dataProductId
.
options
=
productList
.
value
;
extendData
.
value
=
detailInfo
.
value
.
contractExpansions
||
[];
extendTableInfo
.
value
.
data
=
extendData
.
value
;
...
...
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