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
bd46e8a5
authored
2025-12-12 09:08:17 +0800
by
lihua
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Revert "中介模式可以选择提供方"
This reverts commit
3498562e
.
1 parent
91e2a624
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
src/views/data_smart_contract/smartContractCreate.vue
src/views/data_smart_contract/smartContractCreate.vue
View file @
bd46e8a
...
...
@@ -680,13 +680,13 @@ onBeforeMount(() => {
baseInfoFormItems
.
value
.
forEach
(
item
=>
{
item
.
default
=
detailInfo
.
value
[
item
.
field
];
});
if
(
baseInfoFormItems
.
value
[
1
].
default
==
'01'
)
{
// 默认点对点,数据使用方可以选择
nodeInfoFormItems
.
value
[
1
].
disabled
=
true
;
}
else
{
nodeInfoFormItems
.
value
[
1
].
disabled
=
false
;
}
//
nodeInfoFormItems.value[1].disabled = detailInfo.value.signModeCode == '01';
//
if (baseInfoFormItems.value[1].default == '01') {
//
// 默认点对点,数据使用方可以选择
//
nodeInfoFormItems.value[1].disabled = true;
//
} else {
//
nodeInfoFormItems.value[1].disabled = false;
//
}
//
nodeInfoFormItems.value[1].disabled = detailInfo.value.signModeCode == '01';
let
executionNodes
=
detailInfo
.
value
.
executionNodes
||
[];
let
provider
=
executionNodes
.
find
(
e
=>
e
.
executionerTypeCode
==
'01'
);
let
user
=
executionNodes
.
find
(
e
=>
e
.
executionerTypeCode
==
'02'
);
...
...
@@ -725,14 +725,14 @@ onBeforeMount(() => {
}
else
{
if
(
baseInfoFormItems
.
value
[
1
].
default
==
'01'
)
{
// 默认点对点,数据使用方可以选择
nodeInfoFormItems
.
value
[
1
].
disabled
=
true
;
//
nodeInfoFormItems.value[1].disabled = true;
nodeInfoFormItems
.
value
[
1
].
default
=
userData
.
tenantGuid
;
if
(
tenantList
.
value
.
length
)
{
let
item
=
tenantList
.
value
.
find
(
t
=>
t
.
guid
==
userData
.
tenantGuid
);
nodeInfoFormItems
.
value
[
2
].
default
=
item
?.
socialCreditCode
;
}
}
else
{
nodeInfoFormItems
.
value
[
1
].
disabled
=
false
;
//
nodeInfoFormItems.value[1].disabled = false;
nodeInfoFormItems
.
value
[
1
].
default
=
''
;
//如果是中介的话,不能选择自己吧。
}
}
...
...
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