fix:修改链接二维码与精准投放的位置

This commit is contained in:
du.meimei
2025-03-26 19:58:39 +08:00
parent 2f963cbc7e
commit 768f7c5a50
3 changed files with 14 additions and 9 deletions

View File

@@ -376,7 +376,7 @@ const constantRoutes = [
{
path: 'publish',
name: 'publish',
redirect: '/survey/publish/link-code',
redirect: '/survey/publish/accurate',
component: () => import(/* webpackChunkName: "publish" */ '@/views/Publish/index'),
children: [
{

View File

@@ -40,8 +40,11 @@
<a-button class="custom-button" type="link" @click="handleJumpTo($event, 'design', record.sn, record)"
>编辑</a-button
>
<a-button class="custom-button" type="link" @click="handleJumpTo($event, 'linkCode', record.sn, record)"
>投放</a-button
<!-- <a-button class="custom-button" type="link" @click="handleJumpTo($event, 'linkCode', record.sn, record)"-->
<!-- >投放</a-button-->
<!-- >-->
<a-button class="custom-button" type="link" @click="handleJumpTo($event, 'accurate', record.sn, record)"
>投放</a-button
>
<a-button class="custom-button" type="link" @click="handleJumpTo($event, 'particulars', record.sn, record)"
>分析</a-button
@@ -675,6 +678,7 @@ export default defineComponent({
const urlJson = {
design: `/survey/planet/design?sn=${sn}&page=${page.value}`,
link: `/survey/publish/link?sn=${sn}&page=${page.value}`,
accurate: `/survey/publish/accurate?sn=${sn}&page=${page.value}`,
linkCode: `/survey/publish/link-code?sn=${sn}&page=${page.value}`,
particulars: `/survey/analyse/diagram?sn=${sn}&page=${page.value}`,
insight: `/survey/analyse/insight?sn=${sn}&page=${page.value}`

View File

@@ -38,18 +38,19 @@ export default defineComponent({
// children: [],
// path: '/survey/publish/link-source'
// }
{
name: '链接二维码',
icon: '&#xe7aa;',
children: [],
path: '/survey/publish/link-code'
},
{
name: '精准投放',
icon: '&#xe7a1;',
children: [],
path: '/survey/publish/accurate'
},
{
name: '链接二维码',
icon: '&#xe7aa;',
children: [],
path: '/survey/publish/link-code'
},
// {
// name: '精准投放',
// icon: '&#xe7a1;',