update
This commit is contained in:
1
.env
1
.env
@@ -2,3 +2,4 @@ VITE_API_URL=http://admin.ceshi.guo123.cn
|
|||||||
VITE_TINYMCE_KEY=agmu6i1c6k7bcp36oenzyz7yi1yplptq7goyx88y1g6ofnqu
|
VITE_TINYMCE_KEY=agmu6i1c6k7bcp36oenzyz7yi1yplptq7goyx88y1g6ofnqu
|
||||||
VITE_AES_KEY=st123456654321st
|
VITE_AES_KEY=st123456654321st
|
||||||
VITE_WEB_HOST=http://business.ceshi.guo123.cn
|
VITE_WEB_HOST=http://business.ceshi.guo123.cn
|
||||||
|
VITE_WEB_MEMBER_HOST=http://member.ceshi.guo123.cn
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ import {reactive} from "vue";
|
|||||||
import useTableQuery from "../../../../hooks/useTableQuery.js";
|
import useTableQuery from "../../../../hooks/useTableQuery.js";
|
||||||
import Api from "../../../../api/index.js";
|
import Api from "../../../../api/index.js";
|
||||||
import EditExpertInfoModal from "./components/EditExpertInfoModal.vue";
|
import EditExpertInfoModal from "./components/EditExpertInfoModal.vue";
|
||||||
|
import AESCrypto from "../../../../utils/AESCrypto.js";
|
||||||
|
|
||||||
const columns = [
|
const columns = [
|
||||||
{
|
{
|
||||||
@@ -134,6 +135,11 @@ const {loading, pagination, initFetchData, fetchData} = useTableQuery({
|
|||||||
Object.assign(vo, data);
|
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>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
@@ -163,7 +169,7 @@ const {loading, pagination, initFetchData, fetchData} = useTableQuery({
|
|||||||
<template v-slot:action="{record}">
|
<template v-slot:action="{record}">
|
||||||
<div class="flex gap-[20px]">
|
<div class="flex gap-[20px]">
|
||||||
<EditExpertInfoModal :id="record.id" @success="fetchData"></EditExpertInfoModal>
|
<EditExpertInfoModal :id="record.id" @success="fetchData"></EditExpertInfoModal>
|
||||||
<a-link :hoverable="false">快速进入</a-link>
|
<a-link :hoverable="false" @click="fastInput(record)">快速进入</a-link>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</a-table>
|
</a-table>
|
||||||
|
|||||||
Reference in New Issue
Block a user