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
5eb39d8e
Commit
5eb39d8e
authored
Dec 09, 2024
by
罗林杰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改浏览公共资源
parent
3161bf89
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
39 deletions
+16
-39
index.vue
src/views/OverviewMallResources/publicResources/index.vue
+16
-39
No files found.
src/views/OverviewMallResources/publicResources/index.vue
View file @
5eb39d8e
...
@@ -223,7 +223,7 @@
...
@@ -223,7 +223,7 @@
<Divider
type=
"vertical"
/>
<Divider
type=
"vertical"
/>
<a-button
<a-button
style=
"padding: 0; border: none; box-shadow: none"
style=
"padding: 0; border: none; box-shadow: none"
@
click=
"pushNotifications"
@
click=
"pushNotifications
(item)
"
>
>
<Icon
icon=
"icon-park-outline:hand-up"
/>
{{
item
.
edit
}}
</a-button
<Icon
icon=
"icon-park-outline:hand-up"
/>
{{
item
.
edit
}}
</a-button
>
>
...
@@ -251,6 +251,8 @@
...
@@ -251,6 +251,8 @@
/>
/>
</div>
</div>
</template>
</template>
<ApplyForPushNotificationsModal
@
register=
"registerApplyForPushNotificationsModal"
/>
<EditModal
@
register=
"registerEditModal"
/>
</PageWrapper>
</PageWrapper>
</div>
</div>
</template>
</template>
...
@@ -281,14 +283,15 @@
...
@@ -281,14 +283,15 @@
import
{
useRouter
}
from
'vue-router'
;
import
{
useRouter
}
from
'vue-router'
;
import
{
Columns
}
from
'./commonDataSet.data'
;
import
{
Columns
}
from
'./commonDataSet.data'
;
import
{
router
}
from
'@/router'
;
import
{
router
}
from
'@/router'
;
import
{
useModal
}
from
'@/components/Modal'
;
import
EditModal
from
'@/views/mallResourceDevelopment/dataSet/commonDataSet/editModal.vue'
;
import
ApplyForPushNotificationsModal
from
'@/views/mallResourceDevelopment/dataSet/commonDataSet/applyForPushNotificationsModal.vue'
;
const
{
createMessage
,
createConfirm
}
=
useMessage
();
const
{
createMessage
,
createConfirm
}
=
useMessage
();
const
route
=
useRouter
();
const
value
=
ref
(
'cardList'
);
const
value
=
ref
(
'cardList'
);
const
params
=
ref
(
''
);
const
params
=
ref
(
''
);
const
selectValue
=
ref
(
''
);
const
selectValue
=
ref
(
''
);
const
sortOrder
=
ref
(
'latest'
);
const
sortOrder
=
ref
(
'latest'
);
const
selectedCard
=
reactive
([]
as
any
[]);
const
cardListData
=
ref
([]);
const
cardListData
=
ref
([]);
const
workSpaceName
=
ref
(
'党建建设'
);
const
workSpaceName
=
ref
(
'党建建设'
);
...
@@ -307,6 +310,12 @@
...
@@ -307,6 +310,12 @@
},
},
]);
]);
const
[
registerApplyForPushNotificationsModal
,
{
openModal
:
openApplyForPushNotificationsModal
},
]
=
useModal
();
const
[
registerEditModal
,
{
openModal
:
openEditModal
}]
=
useModal
();
const
[
registerTable
,
{
reload
}]
=
useTable
({
const
[
registerTable
,
{
reload
}]
=
useTable
({
api
:
async
()
=>
{
api
:
async
()
=>
{
onSearch
();
onSearch
();
...
@@ -366,44 +375,12 @@
...
@@ -366,44 +375,12 @@
}
}
function
information
(
item
)
{
function
information
(
item
)
{
const
title
=
item
.
title
;
openEditModal
(
true
,
item
);
if
(
title
===
'党建工作总结'
)
{
router
.
push
({
path
:
'/mallResourceDevelopment/dataSet/commonDataSet/columnInformation'
,
query
:
{},
});
}
if
(
title
===
'党史知识竞赛'
)
{
router
.
push
({
path
:
'/mallResourceDevelopment/dataSet/commonDataSet/partyHistoryKnowledgeCompetition'
,
query
:
{},
});
}
if
(
title
===
'主题教育活动'
)
{
router
.
push
({
path
:
'/mallResourceDevelopment/dataSet/commonDataSet/themeEducationActivities'
,
query
:
{},
});
}
if
(
title
===
'党员发展计划'
)
{
router
.
push
({
path
:
'/mallResourceDevelopment/dataSet/commonDataSet/partyMemberDevelopmentPlan'
,
query
:
{},
});
}
if
(
title
===
'基本信息'
)
{
router
.
push
({
path
:
'/mallResourceDevelopment/dataSet/commonDataSet/essentialInformation'
,
query
:
{},
});
}
}
}
function
pushNotifications
()
{
/**批量推送推送*/
router
.
push
({
function
pushNotifications
(
record
)
{
path
:
'/mallResourceDevelopment/dataSet/commonDataSet/applyForPushNotificationsModal'
,
openApplyForPushNotificationsModal
(
true
,
record
);
query
:
{},
});
}
}
onMounted
(()
=>
{
onMounted
(()
=>
{
onSearch
();
onSearch
();
...
...
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