提交 e2249b4f authored 作者: yanpeng's avatar yanpeng

router

上级 259b19f0
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
<el-col :span="16"> <el-col :span="16">
<custom-container titleType="primary" title="最新出口管制政策" :titleIcon="houseIcon" height="450px"> <custom-container titleType="primary" title="最新出口管制政策" :titleIcon="houseIcon" height="450px">
<template #header-right> <template #header-right>
<el-button type="primary" link> <el-button type="primary" link @click="handleClick">
{{ "查看详情 >" }} {{ "查看详情 >" }}
</el-button> </el-button>
</template> </template>
...@@ -520,10 +520,14 @@ ...@@ -520,10 +520,14 @@
import { onMounted, ref, computed } from "vue"; import { onMounted, ref, computed } from "vue";
import * as echarts from "echarts"; import * as echarts from "echarts";
import { DArrowRight, Warning, Search } from "@element-plus/icons-vue"; import { DArrowRight, Warning, Search } from "@element-plus/icons-vue";
import router from "@/router/index"; // import router from "@/router/index";
import EChart from "@/components/Chart/index.vue"; import EChart from "@/components/Chart/index.vue";
import { TAGTYPE } from "@/public/constant"; import { TAGTYPE } from "@/public/constant";
import { useRouter } from "vue-router";
const router = useRouter();
import CustomContainer from "@/components/Container/index.vue"; import CustomContainer from "@/components/Container/index.vue";
import houseIcon from "@/assets/images/icon-house.png"; import houseIcon from "@/assets/images/icon-house.png";
import dangerIcon from "./assets/images/box2-header-icon.png"; import dangerIcon from "./assets/images/box2-header-icon.png";
...@@ -624,6 +628,15 @@ const handleSwithCurBill = name => { ...@@ -624,6 +628,15 @@ const handleSwithCurBill = name => {
curBill.value = billList.value[curBillListIndex.value]; curBill.value = billList.value[curBillListIndex.value];
}; };
const handleClick = () => {
router.push({
path: "/analysis"
// query: {
// billId: curBill.value.billId
// }
});
};
// 发布频度 // 发布频度
const tableData1 = ref([ const tableData1 = ref([
{ {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论