From 0196abcb449ad3df883de2acafda5229dce01361 Mon Sep 17 00:00:00 2001 From: 马宇豪 <978517621@qq.com> Date: 星期五, 01 十一月 2024 11:12:56 +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