This commit is contained in:
parent
6dcd94499f
commit
391dc99d08
|
@ -112,6 +112,9 @@ import {
|
||||||
nextTick,
|
nextTick,
|
||||||
} from "vue";
|
} from "vue";
|
||||||
import { CircleCloseFilled } from "@element-plus/icons-vue";
|
import { CircleCloseFilled } from "@element-plus/icons-vue";
|
||||||
|
import { useRouter, useRoute } from "vue-router";
|
||||||
|
const router = useRouter();
|
||||||
|
const routers = useRoute();
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
dialogShow: {
|
dialogShow: {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
|
@ -146,6 +149,9 @@ const emit = defineEmits(["close", "handle"]);
|
||||||
const handleRowClick = (row, column, event) => {
|
const handleRowClick = (row, column, event) => {
|
||||||
// row 是当前行的数据
|
// row 是当前行的数据
|
||||||
console.log(row);
|
console.log(row);
|
||||||
|
router.push({
|
||||||
|
path: `/home/index/person`,
|
||||||
|
});
|
||||||
};
|
};
|
||||||
// 详情弹框
|
// 详情弹框
|
||||||
const dialogShow = ref();
|
const dialogShow = ref();
|
||||||
|
@ -308,8 +314,6 @@ const handle = (current) => {
|
||||||
}
|
}
|
||||||
|
|
||||||
.custom-table-font {
|
.custom-table-font {
|
||||||
|
|
||||||
font-size: 10px;
|
font-size: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|
Loading…
Reference in New Issue