From 91645e9d87249621aa358ef519111ea72679d959 Mon Sep 17 00:00:00 2001 From: zhouwx <1175765986@qq.com> Date: 星期五, 11 十月 2024 13:34:05 +0800 Subject: [PATCH] 修改 --- src/views/onlineEducation/learnRecord/index.vue | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/src/views/onlineEducation/learnRecord/index.vue b/src/views/onlineEducation/learnRecord/index.vue index cb8b32e..2280bc9 100644 --- a/src/views/onlineEducation/learnRecord/index.vue +++ b/src/views/onlineEducation/learnRecord/index.vue @@ -39,6 +39,7 @@ <script> import detailDialog from './components/detailDialog.vue' import { listRecord, listStudent } from '@/api/onlineEducation/student' +import Cookies from 'js-cookie' export default { name: "nPeopleManage", dicts: [], @@ -60,10 +61,16 @@ }; }, created() { - this.getList({}); + if(Cookies.get('learnRecord')){ + + }else{ + this.getList({}); + } + }, methods: { getList(data){ + console.log('data',data) if(data){ this.queryParams.idcard = data.idcard this.expertList = [] -- Gitblit v1.9.2