Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
bigDataSystem
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张伯涛
bigDataSystem
Commits
4b0e2ff7
Commit
4b0e2ff7
authored
Dec 09, 2024
by
chenjiahao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
数据要素-API
parent
ca63ef0e
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
48 deletions
+10
-48
editModal.vue
...views/mallResourceDevelopment/API/publicAPI/editModal.vue
+2
-1
editModal.vue
...llResourceDevelopment/dataSet/commonDataSet/editModal.vue
+4
-2
index.vue
...s/mallResourceDevelopment/dataSet/commonDataSet/index.vue
+4
-0
mock.ts
...ews/mallResourceDevelopment/dataSet/commonDataSet/mock.ts
+0
-45
No files found.
src/views/mallResourceDevelopment/API/publicAPI/editModal.vue
View file @
4b0e2ff7
...
@@ -154,12 +154,13 @@
...
@@ -154,12 +154,13 @@
descriptionData
.
value
=
cardList
.
filter
((
item
)
=>
item
.
title
===
data
.
title
);
descriptionData
.
value
=
cardList
.
filter
((
item
)
=>
item
.
title
===
data
.
title
);
console
.
log
(
'descriptionData.value'
,
descriptionData
.
value
);
console
.
log
(
'descriptionData.value'
,
descriptionData
.
value
);
setModalProps
({
confirmLoading
:
false
});
setModalProps
({
confirmLoading
:
false
});
setDescProps
({
data
:
descriptionData
.
value
[
0
]
});
});
});
const
[
const
[
registerApplyForPushNotificationsModal
,
registerApplyForPushNotificationsModal
,
{
openModal
:
openApplyForPushNotificationsModal
},
{
openModal
:
openApplyForPushNotificationsModal
},
]
=
useModal
();
]
=
useModal
();
const
[
register1
]
=
useDescription
({
const
[
register1
,
{
setDescProps
}
]
=
useDescription
({
bordered
:
false
,
bordered
:
false
,
data
:
descriptionData
.
value
[
0
],
data
:
descriptionData
.
value
[
0
],
schema
:
schema
,
schema
:
schema
,
...
...
src/views/mallResourceDevelopment/dataSet/commonDataSet/editModal.vue
View file @
4b0e2ff7
...
@@ -152,14 +152,16 @@
...
@@ -152,14 +152,16 @@
setModalProps
({
confirmLoading
:
true
});
setModalProps
({
confirmLoading
:
true
});
title
.
value
=
data
.
title
;
title
.
value
=
data
.
title
;
descriptionData
.
value
=
cardList
.
filter
((
item
)
=>
item
.
title
===
data
.
title
);
descriptionData
.
value
=
cardList
.
filter
((
item
)
=>
item
.
title
===
data
.
title
);
console
.
log
(
'descriptionData.value'
,
descriptionData
.
value
);
console
.
log
(
'data'
,
data
)
console
.
log
(
'descriptionData.value'
,
descriptionData
.
value
[
0
]);
setModalProps
({
confirmLoading
:
false
});
setModalProps
({
confirmLoading
:
false
});
setDescProps
({
data
:
descriptionData
.
value
[
0
]
});
});
});
const
[
const
[
registerApplyForPushNotificationsModal
,
registerApplyForPushNotificationsModal
,
{
openModal
:
openApplyForPushNotificationsModal
},
{
openModal
:
openApplyForPushNotificationsModal
},
]
=
useModal
();
]
=
useModal
();
const
[
register1
]
=
useDescription
({
const
[
register1
,
{
setDescProps
}
]
=
useDescription
({
bordered
:
false
,
bordered
:
false
,
data
:
descriptionData
.
value
[
0
],
data
:
descriptionData
.
value
[
0
],
schema
:
schema
,
schema
:
schema
,
...
...
src/views/mallResourceDevelopment/dataSet/commonDataSet/index.vue
View file @
4b0e2ff7
...
@@ -265,6 +265,10 @@
...
@@ -265,6 +265,10 @@
// console.log(node);
// console.log(node);
workSpaceName
.
value
=
node
.
workSpaceName
;
workSpaceName
.
value
=
node
.
workSpaceName
;
if
([
101
,
102
].
includes
(
node
.
parentId
))
{
if
([
101
,
102
].
includes
(
node
.
parentId
))
{
openEditModal
(
true
,
cardList
.
find
((
item
)
=>
item
.
title
===
node
.
workSpaceName
),
);
//跳转详情页
//跳转详情页
}
else
{
}
else
{
onSearch
();
onSearch
();
...
...
src/views/mallResourceDevelopment/dataSet/commonDataSet/mock.ts
View file @
4b0e2ff7
...
@@ -169,51 +169,6 @@ export const TreeData: any[] = [
...
@@ -169,51 +169,6 @@ export const TreeData: any[] = [
createTime
:
'2024-10-24 10:04:04'
,
createTime
:
'2024-10-24 10:04:04'
,
createBy
:
'admin'
,
createBy
:
'admin'
,
},
},
{
delFlag
:
'0'
,
flag
:
'1'
,
businessId
:
206
,
parentWorkSpaceName
:
'党建建设'
,
workSpaceName
:
'红色文化展览'
,
parentId
:
101
,
'code:'
:
'003'
,
ancestors
:
'0,100'
,
orderNum
:
1
,
children
:
[],
selectType
:
null
,
createTime
:
'2024-10-24 10:04:04'
,
createBy
:
'admin'
,
},
{
delFlag
:
'0'
,
flag
:
'1'
,
businessId
:
207
,
parentWorkSpaceName
:
'党建建设'
,
workSpaceName
:
'志愿服务活动'
,
parentId
:
101
,
'code:'
:
'003'
,
ancestors
:
'0,100'
,
orderNum
:
1
,
children
:
[],
selectType
:
null
,
createTime
:
'2024-10-24 10:04:04'
,
createBy
:
'admin'
,
},
{
delFlag
:
'0'
,
flag
:
'1'
,
businessId
:
208
,
parentWorkSpaceName
:
'党建建设'
,
workSpaceName
:
'党员风采展示'
,
parentId
:
101
,
'code:'
:
'003'
,
ancestors
:
'0,100'
,
orderNum
:
1
,
children
:
[],
selectType
:
null
,
createTime
:
'2024-10-24 10:04:04'
,
createBy
:
'admin'
,
},
{
{
delFlag
:
'0'
,
delFlag
:
'0'
,
flag
:
'1'
,
flag
:
'1'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment