PageSourceSearch

https://www.tkbgo.com.tw/tkbgo/toBookKeeperTest2.qTxe4TLJ.js

js tkbgo.com.tw collected 2026-10-05 11:45:27 UTC 4,223 bytes, 1 lines download raw bytes

1import{T as Y}from"./components.CxMGzDeP.js";import{p as j,b as w,v as z,a as J,d as Q,H as W,s as X}from"./entry.CGgvWIq9.js";import{u as Z}from"./useGetScrollTo.DiIrMTxz.js";import ee from"./ZoneTemplate.Wk1vPksv.js";import ae from"./ZoneBankTestAuthBar.CuqaKl-1.js";import{_ as te}from"./ZoneBankTestTitle.L8JDUjEY.js";import{_ as oe}from"./ZoneMailTestQuizItem.B9HGiMaB.js";import{_ as se}from"./ZoneBankTestOptionText.CVEEJsrh.js";import{_ as A}from"./ButtonS3.C-Nhwewq.js";import{a as b,r as c,aq as S,w as ne,k as ie,p as u,ab as re,b as me,ae as ce,V as B,u as o,_,F as s,$ as n,a1 as i,G as C,ag as d,a3 as pe,E as x,a4 as le,Y as N,av as V}from"./swiper-vue.-M1go58E.js";import"./BreadcrumbS2.DoZAsBxO.js";import"./el-breadcrumb.BxF5wXK6.js";import"./ZoneMenuAdd.o2hnnoPa.js";import"./DefaultXlModal.BLfKnLaa.js";import"./el-popper.Cao3bRPC.js";import"./el-tooltip.l0sNRNKZ.js";import"./delay.2S0BUUWF.js";import"./DefaultLgModal.Bilyb9mC.js";const ue={class:"p-3 md:p-8"},_e={key:1},de=C("div",{class:"py-5 text-xl font-bold text-secondary-500"}," 因本站暫不支援申論題型,請至新試界平台參加測驗,謝謝! ",-1),Ve={__name:"toBookKeeperTest2",async setup(xe){let a,p;const{headerHeight:G}=Z(),f=b(!0),v=j(),t=b();t.value=v.query.exam_type_id||3128;const M=c([{examId:"15186434",examName:"簡章下載",examIcon:["fas","paste"],toSrc:`/examData/toexamListRegulations?exam_type_id=${t.value}`},{examId:"81985168",examName:"考古題",examIcon:["fas","paste"],toSrc:`/govArchaeology/toDownloadList?exam_type_id=${t.value}`},{examId:"35832739",examName:"專業證照<br>線上測驗",examIcon:["fas","map"],isActive:!0,toSrc:`/examData/toBookKeeperTest?exam_type_id=${t.value}`}]);let h=c([]);const{data:R}=([a,p]=S(()=>w("/api/exam-section/exam-types/exams",{query:{examTypeId:t.value}})),a=await a,p(),a);h=R.value.data;const F=h.exams,K=c(F.map(e=>({...e,examIcon:["fas","school"],isModal:!1,toSrc:`/examData/toIntroduction?exam_data_id=${e.examId}&exam_type_id=${t.value}`})));let k=c([]);const{data:P}=([a,p]=S(()=>w("/api/exam-section/exam-types/type")),a=await a,p(),a);k=P.value.data.examTypes;const D=b(null);ne(()=>{const e=ie(()=>k.filter(r=>r.examTypeId===parseInt(t.value)));D.value=[{name:e.value[0].examTypeName,path:"/examData/toExamList?exam_type_id="+t.value}]}),u("passbreadcrumb",D),u("passmainmenu",K),u("passsubmenu",M),u("passmainmenuwidth","md:w-[280px] lg:w-[820px] pr-4");const{paper_uuid:I}=v.query,T=c({questions:[],questionListData:[],examInfo:{}});(async()=>{const e=W(),{isLogin:r}=e;if(!r)return;const{data:y}=await w("/api/onlineExam/getExamPreview",{query:{paperUuid:I}});Object.assign(T,y.value.data),f.value=!1})();const{questions:$,questionListData:l,examInfo:E}=re(T);me([l,E],()=>{$.value=l.value.map(e=>({...e,isAnswerVisible:!1}))},{deep:!0});const U=e=>{e.isAnswerVisible=!0},H=()=>{X({path:"/examData/toBookKeeperTest3",query:{...v.query}})};return(e,r)=>{const y=Y,L=ce("font-awesome-icon"),O=J,q=z;return B((s(),_(ee,null,{default:n(()=>[i(y,null,{default:n(()=>[d(pe(`${new Date().getFullYear()}專業證照線上測驗-最新年度考古題|歷屆試題`),1)]),_:1}),C("div",ue,[i(ae),i(te,{"exam-info":o(E)},null,8,["exam-info"]),B((s(),x("div",{class:"sticky text-center",style:le({top:o(G)+"px"})},[o(l)&&o(l).length>0?(s(),_(A,{key:0,"bg-color":"bg-danger-700",onClick:r[0]||(r[0]=m=>H())},{default:n(()=>[d(" 開始測驗 "),i(L,{icon:["fa","circle-arrow-right"]})]),_:1})):(s(),x("div",_e,[i(O,{target:"_blank",to:"https://exam.dasoedu.com.tw/",class:"inline-block"},{default:n(()=>[i(A,{"bg-color":"bg-danger-700"},{default:n(()=>[d(" 查看新試界 "),i(L,{icon:["fa","circle-arrow-right"]})]),_:1})]),_:1},8,["to"]),de]))],4)),[[q,o(f)]]),(s(!0),x(N,null,V(o($),m=>(s(),_(oe,{key:m.UUID,question:m,"paper-uuid":o(I)},{OptionGroup:n(()=>[(s(!0),x(N,null,V(m.optionList,g=>(s(),_(se,{ref_for:!0,ref:"option",key:g.ID,option:g,"is-answer-visible":m.isAnswerVisible},null,8,["option","is-answer-visible"]))),128))]),ButtonGroup:n(()=>[i(Q,{"bg-color":"bg-secondary-600",onClick:g=>U(m)},{default:n(()=>[d("看解答")]),_:2},1032,["onClick"])]),_:2},1032,["question","paper-uuid"]))),128))])]),_:1})),[[q,o(f)]])}}};export{Ve as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.