Commit 0ee7e016 authored by 罗林杰's avatar 罗林杰

修改浏览公共资源

parent 5759cf40
......@@ -214,11 +214,17 @@
<span v-if="item.isShare">有条件共享</span>
<span v-else>无条件共享</span>
<div>
<a-button style="padding: 0; border: none; box-shadow: none">
<a-button
style="padding: 0; border: none; box-shadow: none"
@click="information(item)"
>
<Icon icon="icon-park-outline:eyes" />{{ item.view }}</a-button
>
<Divider type="vertical" />
<a-button style="padding: 0; border: none; box-shadow: none">
<a-button
style="padding: 0; border: none; box-shadow: none"
@click="pushNotifications"
>
<Icon icon="icon-park-outline:hand-up" />{{ item.edit }}</a-button
>
</div>
......@@ -359,6 +365,46 @@
reload();
}
function information(item) {
const title = item.title;
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({
path: '/mallResourceDevelopment/dataSet/commonDataSet/applyForPushNotificationsModal',
query: {},
});
}
onMounted(() => {
onSearch();
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment