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
4f29accc
authored
2025-02-14 13:43:08 +0800
by
lxs
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'develop' into release-test
2 parents
3ebae481
c85b71a3
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
4 deletions
src/layouts/components/Tabbar/index.vue
src/views/data_product/productListingDetail.vue
src/layouts/components/Tabbar/index.vue
View file @
4f29acc
...
...
@@ -26,7 +26,7 @@ watch(
if
(
tab
.
fullPath
.
includes
(
jionPath
))
{
pathIndex
.
value
=
index
}
return
tab
.
fullPath
===
newRouter
.
fullPath
return
tab
.
fullPath
===
decodeURIComponent
(
newRouter
.
fullPath
);
});
if
(
isExist
.
length
==
0
)
{
if
(
pathIndex
.
value
!=
-
1
&&
routerLength
>
3
)
{
...
...
@@ -58,7 +58,7 @@ watch(
// }
// })
tabbarList
.
value
=
list
;
tabbarActive
.
value
=
newRouter
.
fullPath
;
tabbarActive
.
value
=
decodeURIComponent
(
newRouter
.
fullPath
)
;
userStore
.
setTabbar
(
tabbarList
.
value
);
userStore
.
setActiveTabbar
(
combPath
,
newRouter
.
fullPath
);
// nextTick(() => {
...
...
@@ -79,7 +79,6 @@ const changeTab = (pane: any, ev: any) => {
};
const
removeTab
=
(
targetName
)
=>
{
// const tabs = tabbarList.value.filter(item => item.visible ?? true);
debugger
const
tabs
=
tabbarList
.
value
;
let
activeName
=
tabbarActive
.
value
,
nextTab
:
any
=
{};
const
setTabs
=
(
activeTab
)
=>
{
...
...
src/views/data_product/productListingDetail.vue
View file @
4f29acc
...
...
@@ -508,6 +508,14 @@ const formInfo = ref<any>({
default
:
''
,
col
:
'hide'
,
},
{
label
:
""
,
type
:
"input"
,
placeholder
:
"请输入"
,
field
:
"subjectDomain"
,
default
:
''
,
col
:
'hide'
,
},
],
rules
:
{
damName
:
[
...
...
@@ -1226,7 +1234,8 @@ const selectChange = async (val, row, info) => {
formInfo
.
value
.
items
.
at
(
4
).
default
=
data
.
length
&&
data
[
0
].
dataScale
!=
null
?
changeNum
(
data
[
0
].
dataScale
,
0
)
:
''
;
formInfo
.
value
.
items
.
at
(
5
).
defaultValue
=
data
.
length
?
data
[
0
].
caseNumber
:
''
;
formInfo
.
value
.
items
.
at
(
5
).
default
=
data
.
length
&&
data
[
0
].
caseNumber
!=
null
?
changeNum
(
data
[
0
].
caseNumber
,
0
)
:
''
;
formInfo
.
value
.
items
.
at
(
-
1
).
default
=
data
.
length
?
data
[
0
].
damGuid
:
''
;
formInfo
.
value
.
items
.
at
(
-
2
).
default
=
data
.
length
?
data
[
0
].
damGuid
:
''
;
formInfo
.
value
.
items
.
at
(
-
1
).
default
=
data
.
length
?
data
[
0
].
subjectDomain
:
''
;
// formInfo.value.items.at(-3).required = data[0].damType != '1' && data[0].damType != '2';
// formInfo.value.items.at(-4).required = data[0].damType != '1' && data[0].damType != '2';
if
(
data
.
length
&&
data
[
0
].
coverageArea
?.[
0
]?.[
0
]
!=
'all'
&&
data
[
0
].
coverageArea
)
{
...
...
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