update
This commit is contained in:
@@ -4,6 +4,7 @@ import {reactive} from "vue";
|
||||
import useTableQuery from "../../../../hooks/useTableQuery.js";
|
||||
import Api from "../../../../api/index.js";
|
||||
import EditExpertInfoModal from "./components/EditExpertInfoModal.vue";
|
||||
import AESCrypto from "../../../../utils/AESCrypto.js";
|
||||
|
||||
const columns = [
|
||||
{
|
||||
@@ -134,6 +135,11 @@ const {loading, pagination, initFetchData, fetchData} = useTableQuery({
|
||||
Object.assign(vo, data);
|
||||
}
|
||||
});
|
||||
|
||||
const fastInput = (item) => {
|
||||
const po = new URLSearchParams(AESCrypto.encrypt(`${item.id}`)).toString();
|
||||
window.open(`${import.meta.env.VITE_API_URL}/pages/fastInput/index?${po}`);
|
||||
}
|
||||
</script>
|
||||
|
||||
<template>
|
||||
@@ -163,7 +169,7 @@ const {loading, pagination, initFetchData, fetchData} = useTableQuery({
|
||||
<template v-slot:action="{record}">
|
||||
<div class="flex gap-[20px]">
|
||||
<EditExpertInfoModal :id="record.id" @success="fetchData"></EditExpertInfoModal>
|
||||
<a-link :hoverable="false">快速进入</a-link>
|
||||
<a-link :hoverable="false" @click="fastInput(record)">快速进入</a-link>
|
||||
</div>
|
||||
</template>
|
||||
</a-table>
|
||||
|
||||
Reference in New Issue
Block a user