1 |
- import{d,aV as r,ag as A,r as m,$ as E,c as e,q as l,F as p,m as C}from"./index.ffe80dbe.js";import{C as a}from"./index.ea031708.js";import{I as F}from"./index.7e972106.js";const T="_unitDetail_6ilbd_1",g="_cellGroup_6ilbd_4",x="_cellTitle_6ilbd_7",v="_img_6ilbd_42",U="_unitSection_6ilbd_48",D="_unitTitle_6ilbd_55",I="_examSite_6ilbd_66";var i={unitDetail:T,cellGroup:g,cellTitle:x,img:v,unitSection:U,unitTitle:D,examSite:I},_="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAAAXNSR0IArs4c6QAAAeJJREFUWEftmL9PFFEQxz+zx4/zgpES/A8ulpQ2R0A7G8mx0lFhaG2g4t5hQYeFiYWl1cU1FhSEQhNotJEWEho7CIlUwIXj2B1y5IJw7N3bdySXGHfb+c68735mdpN5guVRMztM/8UDm+46Xq8diQnOE+tbhNIuUUv+czxWUZ64FZdxMZXNuBwtzzxDwznQkphgJ04Ta0jLryZQ3QD63Mw01J0MTU+h8gU4wYsKshRst9ZvY8j/hTLmbiaxIUC3xHwuWA2pKQ6AnIG0bWdno4kIgRCih1kxmxc36905VE1xCLzj7ui4EGpoo4digpP/15Ca6UnwqmIqPxoUtHw91E0ovSCknk+//iTUdyhToIp4n6jJAoPRS5QPf1vUC0Noc0il9ZdxjpBByfTYkMvn0BNCqSEXAjZt2rKUkI2ALZ7OUErIRsAWT2coJWQjYIunM/RvEdqDfF6MiVzWoHUy0RtCftve1TlugrqAJthcX+Qgd3olFJmUUuW782H3SIjf7Y1/AIwAX+HQb11373GeNTXe0LK/SMRKk9IR6L61krNAdliqzIjcblsbQsaD3feg891fOlgd/mH00WN5/bHecahvBvWtnyfkKZC1lk8qEGkM8j7Z6jdZWLtzqdHllUvS0911l5/+KjT5Jl7ZAAAAAElFTkSuQmCC",h=d({name:"unit-detail",setup(){const n=r(),s=A(),t=m({id:n.query.id,name:"",courseTypeCode:"",visiableNotice:!1,list:[]}),o=async()=>{try{const{data:u}=await C.post("/api-student/unitExamination/queryKnowledgePoint",{requestType:"form",data:{unitExaminationId:t.id}});t.list=u.lists||[],t.name=u.unitExaminationName,t.courseTypeCode=u.courseTypeCode,console.log(u)}catch{}},c=u=>{s.push({path:"/practice-mode",query:{examId:t.id,id:u.id,courseTypeCode:t.courseTypeCode,name:t.name}})};return E(()=>{o()}),()=>e("div",{class:i.unitDetail},[e(a,{center:!0,class:i.unitSection},{title:()=>e("div",{class:i.unitTitle},[t.name]),label:()=>e("div",{class:i.examSite},[e("p",null,[l("1\u3001\u5728\u7EC3\u4E60\u6A21\u5F0F\u4E2D\u53EF\u4EE5\u5BF9\u672C\u6B21\u6D4B\u9A8C\u76F8\u5173\u8003\u70B9\u8FDB\u884C\u53CD\u590D\u7EC3\u4E60;")]),e("p",null,[l("2\u3001\u4E3A\u4E86\u6D4B\u9A8C\u8FBE\u5230\u7406\u60F3\u6210\u7EE9\uFF0C\u5145\u5206\u7EC3\u4E60\u540E\u518D\u8FDB\u884C\u6B63\u5F0F\u6D4B\u9A8C\u5427\uFF01")])])}),e("div",{class:i.cellGroup},[e("div",{class:i.cellTitle},[e("i",null,null),l("\u8003\u70B9")]),t.list.map(u=>e(a,{center:!0,isLink:!0,titleClass:["van-ellipsis"],onClick:()=>c(u)},{icon:()=>e(F,{src:_,class:i.img},null),title:()=>e(p,null,[u.name]),value:()=>e("span",null,[l("\u53BB\u7EC3\u4E60")])}))])])}});export{h as default};
|