index.ee98ce56.js 19 KB

1
  1. import{d as k,c as t,q as l,ah as J,ag as $,r as C,$ as W,f as K,bd as X,_ as Q,o as j,F as P,b6 as h,B as v,P as I,m as c,bg as Z,bo as ee,l as te,be as se}from"./index.332c7f08.js";import{h as ae,s as a,a as oe,b as re,i as ne,c as le,d as ie,e as ue,f as ce}from"./icon-checkbox-active.56a5cf15.js";import{O as de}from"./index.d7c1b6ac.js";import{O as x}from"./index.a8f5f4b5.js";import{F as pe}from"./index.f74c7b35.js";import{C as f}from"./index.324108a5.js";import{F as d}from"./index.1ed6273e.js";import{R as q,a as b}from"./index.a4155be3.js";import{T as S}from"./index.98482791.js";import{C as B}from"./index.91135ff9.js";import{I as w}from"./index.96a8db5e.js";import{C as ge}from"./index.2e331ab5.js";import{s as me}from"./function-call.3db51140.js";import{P as A}from"./index.656e257f.js";import"./Checker.1af5496e.js";import"./ImagePreview.e5b44a77.js";import"./index.1e2dfe6e.js";import"./Picker.e56f94bd.js";import"./index.7c580591.js";import"./use-tab-status.9d769af8.js";import"./index.4aa8e076.js";var fe="./assets/icon-head.d20f814d.png";const ye="_inspectModal_5ytn8_1",he="_content_5ytn8_13";var N={inspectModal:ye,content:he},Ie=k({name:"inspect-modal",props:{describe:{type:String,default:""}},setup(i){return()=>t("div",{class:N.inspectModal},[t("h2",null,[l("\u4E50\u5668\u4FDD\u969C\u670D\u52A1\u8BF4\u660E")]),t("div",{class:N.content,innerHTML:i.describe},null)])}});const G=[];for(let i=1;i<=40;i++)G.push({text:i+"\u73ED",value:i});var Ve=k({name:"pre-goods-apply",setup(){const i=J(),T=$(),D=localStorage.getItem("read-tool-image"),e=C({code:"",detail:{},toolImgStatus:!!D,currentGrade:[{text:"\u4E00\u5E74\u7EA7",value:1},{text:"\u4E8C\u5E74\u7EA7",value:2},{text:"\u4E09\u5E74\u7EA7",value:3},{text:"\u56DB\u5E74\u7EA7",value:4},{text:"\u4E94\u5E74\u7EA7",value:5},{text:"\u516D\u5E74\u7EA7",value:6},{text:"\u4E03\u5E74\u7EA7",value:7},{text:"\u516B\u5E74\u7EA7",value:8},{text:"\u4E5D\u5E74\u7EA7",value:9}],classList:G,subjectList:[],instrumentsInspectionDescribe:"",inspectPopupStatus:!1,gradeStatus:!1,classStatus:!1,subjectStatus:!1,registerInfo:{},goodsInfo:{},textBookInfo:{},inspectInfo:{},vipYearInfo:{},inspectStatus:!0,testIsWeixin:!1,details:[],pattern:/^1(3|4|5|6|7|8|9)\d{9}$/,nameReg:/^[\u4E00-\u9FA5]+$/,paymentType:"",musicPaymentType:"",studentReadStatus:!1,dialogStatus:!1,dialogMessage:"",dialogOrchestraStatus:!1,dialogConfig:{},orderInfo:{needPrice:0,originalPrice:0},submitStatus:!1}),o=C({username:null,sex:null,currentGrade:null,currentGradeTxt:null,currentClass:"",currentClassTxt:null,registerSubjectId:"",registerSubjectTxt:null,parentName:null,groupBuyType:"",phone:null,learningTools:null,instrumentsBrand:null}),p=C({toolPlan:{title:"",groupTitle:"",groupDesc:"",selfTitle:"",selfDesc:""},leBao:{show:1,selected:1}}),R=async()=>{try{const{data:s}=await c.get("/api-student/orchestraRegister/register/"+i.query.id),r=s||{};e.detail=r;const n=e.currentGrade.find(m=>m.value==r.currentGrade),u=e.classList.find(m=>m.value==r.currentClass),g=e.subjectList.find(m=>m.value==r.registerSubjectId);o.username=r.username,o.sex=r.sex?1:0,o.currentGrade=r.currentGrade,o.currentGradeTxt=n?n.text:"",o.currentClass=r.currentClass,o.currentClassTxt=u?u.text:"",o.registerSubjectId=g?g.value:"",o.registerSubjectTxt=g?g.text:"",o.parentName=r.parentName,o.phone=r.phone,o.instrumentsBrand=r.instrumentsBrand,o.learningTools=r.learningTools,r.registerSubjectId&&r.registerSubjectId!==999&&await U(),o.groupBuyType=r.groupBuyType}catch(s){console.log(s)}},V=async()=>{try{((await c.post("/api-student/open/orchestraSubjectConfig/pageByOrchestraId",{data:{orchestraId:i.query.id,page:1,rows:100}})).data.rows||[]).forEach(n=>{e.subjectList.push({text:n.name,value:n.subjectId})})}catch{}},L=s=>e.nameReg.test(s)&&s.length>=2&&s.length<=15,M=s=>s?e.nameReg.test(s)?s.length<2||s.length>15?"\u5B66\u5458\u59D3\u540D\u5FC5\u987B\u4E3A2~15\u4E2A\u5B57":"":"\u5B66\u5458\u59D3\u540D\u5FC5\u987B\u4E3A\u4E2D\u6587":"\u8BF7\u586B\u5199\u5B66\u5458\u771F\u5B9E\u59D3\u540D",F=async()=>{try{const s={orchestraId:i.query.id,schoolId:e.detail.schoolId,...o};await c.post("/api-student/orchestraRegister/save",{hideLoading:!1,data:{...s,code:e.code}}),o.groupBuyType==="SELF"&&T.push({path:"/preGoodsSuccess"})}catch(s){return Promise.reject(s)}},_=async()=>{try{if(o.groupBuyType==="SELF"){e.submitStatus=!0;return}await F(),y();const s=[],r=e.textBookInfo;s.push({goodsId:r.goodsId,goodsNum:1,goodsType:r.goodsType,paymentCashAmount:r.currentPrice,paymentCouponAmount:0});const n=e.goodsInfo;if(s.push({goodsId:n.goodsId,goodsNum:1,goodsType:n.goodsType,paymentCashAmount:n.currentPrice,paymentCouponAmount:0}),e.inspectStatus){const m=e.inspectInfo;s.push({goodsId:m.goodsId,goodsNum:1,goodsType:m.goodsType,paymentCashAmount:m.currentPrice,paymentCouponAmount:0})}const u=e.vipYearInfo;s.push({goodsId:u.goodsId,goodsNum:1,goodsType:u.goodsType,paymentCashAmount:u.currentPrice,paymentCouponAmount:0});const{data:g}=await c.post("/api-student/userPaymentOrder/executeOrder",{hideLoading:!1,data:{paymentType:e.musicPaymentType||e.paymentType,bizId:i.query.id,orderType:"ORCHESTRA",paymentCashAmount:e.orderInfo.needPrice||0,paymentCouponAmount:0,goodsInfos:s,orderName:"\u4E50\u56E2\u62A5\u540D\u7F34\u8D39",orderDesc:"\u4E50\u56E2\u62A5\u540D\u7F34\u8D39"}});console.log(g),T.push({path:"/orderDetail",query:{pm:1,config:JSON.stringify({...g.paymentConfig,paymentType:g.paymentType}),orderNo:g.orderNo}})}catch{}},E=async()=>{var s;try{const{data:r}=await c.get("/api-student/orchestraRegister/registerStatus/"+i.query.id);e.registerInfo=r||{};const n=r.trainingToolsConfig?JSON.parse(r.trainingToolsConfig):{};p.toolPlan=n;const u=r.musicalInstrumentConfig?JSON.parse(r.musicalInstrumentConfig):{};p.leBao=u,e.inspectStatus=!!u.selected,(s=r.learningOrchestra)!=null&&s.length&&(e.studentReadStatus=!0)}catch{}},Y=async()=>{try{const{data:s}=await c.get("/api-student/open/paramConfig/wechatAppId");s&&Z(s)}catch{}},H=async()=>{try{const{data:s}=await c.get("/api-student/userPaymentOrder/unpaid",{params:{orchestraId:i.query.id}});s.id&&(s.orchestraId!==i.query.id?(e.dialogMessage="\u60A8\u5728\u5176\u5B83\u4E50\u56E2\u5B58\u5728\u5F85\u652F\u4ED8\u8BA2\u5355\uFF0C\u53D6\u6D88\u540E\u624D\u53EF\u7EE7\u7EED\u62A5\u540D\uFF0C\u662F\u5426\u786E\u8BA4\u53D6\u6D88\uFF1F",e.dialogStatus=!0,e.dialogOrchestraStatus=!0,e.dialogConfig=s):(e.dialogMessage="\u60A8\u6709\u5F85\u652F\u4ED8\u7684\u8BA2\u5355\uFF0C\u662F\u5426\u7EE7\u7EED\u652F\u4ED8",e.dialogStatus=!0,e.dialogConfig=s))}catch{}},z=async()=>{try{const{data:s}=await c.get("/api-student/sysParamConfig/queryByParamName",{params:{paramName:"payment_service_provider"}});e.paymentType=s.paramValue||""}catch{}},U=async()=>{try{const{data:s}=await c.get("/api-student/orchestraRegister/registerGoods/"+i.query.id,{params:{subjectId:o.registerSubjectId}});e.musicPaymentType=s.paymentServiceProvider||"";const r=s.details||[];r.forEach(n=>{if(n.goodsType==="INSTRUMENTS"){const u=n.goodsUrl?n.goodsUrl.split(",")[0]:"";e.goodsInfo={...n,goodsUrl:u},e.instrumentsInspectionDescribe=n.instrumentsInspectionDescribe}else if(n.goodsType==="TEXTBOOK"){const u=n.goodsUrl?n.goodsUrl.split(",")[0]:"";e.textBookInfo={...n,goodsUrl:u}}else n.goodsType==="INSTRUMENT_INSPECT"?e.inspectInfo={...n}:n.goodsType==="VIP_YEAR"&&(e.vipYearInfo={...n});e.details=r}),y()}catch{}},y=()=>{const s={needPrice:0,originalPrice:0};s.needPrice+=parseFloat(e.goodsInfo.currentPrice||0),s.originalPrice+=parseFloat(e.goodsInfo.originalPrice||0),s.needPrice+=parseFloat(e.vipYearInfo.currentPrice||0),s.originalPrice+=parseFloat(e.vipYearInfo.originalPrice||0),s.needPrice+=parseFloat(e.textBookInfo.currentPrice||0),s.originalPrice+=parseFloat(e.textBookInfo.originalPrice||0),e.inspectStatus&&(s.needPrice+=parseFloat(e.inspectInfo.currentPrice||0),s.originalPrice+=parseFloat(e.inspectInfo.originalPrice||0)),e.orderInfo=s},O=()=>{ee(),te();const s={returnUrl:i.path,...i.query};window.location.href=window.location.origin+window.location.pathname+"#/loginMusic?"+se.stringify(s)};if(W(async()=>{await V(),await R(),z(),H()}),e.testIsWeixin)E();else if(K().weixin){const s=X();s?(e.code=s,E()):Y()}else O();return()=>t("div",{class:a.goodsApply},[t("img",{src:ae,class:a.headBg},null),t("div",{class:a.goodsHeader},[t("div",{class:a.orchestraTitle},[t("img",{class:a.headTitle,src:oe},null),t("p",{class:[a.name,"van-multi-ellipsis--l3"]},[e.registerInfo.orchestraName])]),t("img",{src:re,class:a.headPhone},null)]),t(pe,{validateFirst:!0,errorMessageAlign:"right",scrollToError:!0,onSubmit:_,onFailed:s=>{Q(()=>{var n;(n=document.getElementsByClassName("van-field__error-message")[0])==null||n.scrollIntoView({block:"center",behavior:"smooth"})})},ref:"form",class:a.form},{default:()=>[t(f,{class:a.applyCellGroup,border:!1},{default:()=>[t("div",{class:[a.title,a.titleApply]},null),t(d,{required:!0,label:"\u5B66\u5458\u4FE1\u606F",placeholder:"\u8BF7\u586B\u5199\u5B66\u5458\u771F\u5B9E\u59D3\u540D",inputAlign:"right",modelValue:o.username,"onUpdate:modelValue":s=>o.username=s,maxlength:15,rules:[{validator:L,message:M}]},null),t(d,{required:!0,label:"\u6027\u522B",inputAlign:"right",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u6027\u522B"}]},{input:()=>t(q,{modelValue:o.sex,"onUpdate:modelValue":s=>o.sex=s},{default:()=>[t(S,{size:"large",type:"primary",class:[a.radioSection,o.sex===1?a.active:""]},{default:()=>[t(b,{class:a.radioItem,name:1},null),l("\u7537\u751F")]}),t(S,{size:"large",type:"primary",class:[a.radioSection,o.sex===0?a.active:""]},{default:()=>[t(b,{class:a.radioItem,name:0},null),l("\u5973\u751F")]})]})}),t(d,{required:!0,label:"\u5E74\u7EA7",inputAlign:"right",readonly:!0,isLink:!0,clickable:!1,placeholder:"\u8BF7\u9009\u62E9\u5E74\u7EA7",modelValue:o.currentGradeTxt,"onUpdate:modelValue":s=>o.currentGradeTxt=s,onClick:()=>e.gradeStatus=!0,rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5E74\u7EA7"}]},null),t(d,{required:!0,label:"\u73ED\u7EA7",inputAlign:"right",readonly:!0,isLink:!0,clickable:!1,placeholder:"\u8BF7\u9009\u62E9\u73ED\u7EA7",modelValue:o.currentClassTxt,"onUpdate:modelValue":s=>o.currentClassTxt=s,onClick:()=>e.classStatus=!0,rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u73ED\u7EA7"}]},null),t(d,{required:!0,label:"\u5165\u9009\u58F0\u90E8",inputAlign:"right",readonly:!0,isLink:!0,clickable:!1,placeholder:"\u8BF7\u9009\u62E9\u5165\u9009\u58F0\u90E8",modelValue:o.registerSubjectTxt,"onUpdate:modelValue":s=>o.registerSubjectTxt=s,onClick:()=>{if(e.subjectList.length<=0){j("\u6682\u65E0\u62A5\u540D\u5165\u9009\u58F0\u90E8");return}e.subjectStatus=!0},rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5165\u9009\u58F0\u90E8"}]},null)]}),t(f,{class:a.applyCellGroup,border:!1},{default:()=>[t("div",{class:[a.title,a.titleParent]},null),t(d,{required:!0,label:"\u5BB6\u957F\u59D3\u540D",inputAlign:"right",placeholder:"\u8BF7\u586B\u5199\u5BB6\u957F\u771F\u5B9E\u59D3\u540D",modelValue:o.parentName,"onUpdate:modelValue":s=>o.parentName=s,maxlength:15,rules:[{required:!0,message:"\u8BF7\u586B\u5199\u5BB6\u957F\u771F\u5B9E\u59D3\u540D"}]},null),t(d,{required:!0,label:"\u624B\u673A\u53F7",inputAlign:"right",placeholder:"\u8BF7\u8F93\u5165\u624B\u673A\u53F7",modelValue:o.phone,"onUpdate:modelValue":s=>o.phone=s,maxlength:11,type:"tel",rules:[{pattern:e.pattern,message:"\u8F93\u5165\u76D1\u62A4\u4EBA\u624B\u673A\u53F7\u7801\u6709\u8BEF"}]},null)]}),t(f,{class:a.applyCellGroup,border:!1},{default:()=>[t("div",{class:[a.title,a.titleTips]},null),t("div",{class:a.tipsContainer,innerHTML:e.registerInfo.joinNotice},null)]}),t(f,{class:a.applyCellGroup,border:!1},{default:()=>[t("div",{class:[a.title,a.titleTool]},null),t(d,{required:!0,label:p.toolPlan.title,labelAlign:"top",rules:[{required:!0,message:p.toolPlan.title}]},{input:()=>t(q,{modelValue:o.groupBuyType,"onUpdate:modelValue":s=>o.groupBuyType=s,class:a.toolRadioGroup},{default:()=>[t(S,{size:"large",type:"primary",class:[a.radioSectionTag,a.radioSection,o.groupBuyType==="GROUP_BUY"?a.active:""]},{default:()=>[t(b,{class:a.radioItem,name:"GROUP_BUY",disabled:!o.registerSubjectId,onClick:()=>{if(!o.registerSubjectId){j("\u8BF7\u9009\u62E9\u5165\u9009\u58F0\u90E8");return}}},null),p.toolPlan.groupTitle,t("p",{class:a.radioTip},[p.toolPlan.groupDesc])]}),t(S,{size:"large",type:"primary",class:[a.radioSectionTag,a.radioSection,o.groupBuyType==="SELF"?a.active:""]},{default:()=>[t(b,{class:a.radioItem,name:"SELF"},null),p.toolPlan.selfTitle,t("p",{class:a.radioTip},[p.toolPlan.selfDesc])]})]})})]}),o.groupBuyType==="GROUP_BUY"&&t(P,null,[t(f,{class:[a.applyCellGroup,a.groupBuy],border:!1},{default:()=>[t("div",{class:[a.title,a.titleIntrumentTool]},null),t(B,{border:!1},{icon:()=>t(w,{src:e.vipYearInfo.goodsUrl,class:a.goodsImg},null),value:()=>t("div",{class:a.vipYearInfo},[t("div",{class:a.goodsTitle},[e.vipYearInfo.goodsName,l(" "),t("img",{src:ne},null)]),t("p",{class:a.goodsTips},[l("\u4E50\u56E2\u9996\u6B21\u8BAD\u7EC3\u4E4B\u65E5\u8D77\u751F\u6548")]),t("p",{class:[a.goodsMemo,"van-multi-ellipsis--l2"]},[e.vipYearInfo.description]),t("div",{class:a.goodsPrice},[t("div",{class:a.priceGroup},[l("\u56E2\u8D2D\u4EF7:"),t("p",null,[t("span",null,[l("\xA5")]),l(" "),h(e.vipYearInfo.currentPrice)])])])])}),t(B,{border:!1},{icon:()=>t(w,{src:e.goodsInfo.goodsUrl,class:a.goodsImg},null),value:()=>t("div",{class:a.goodsInfo},[t("div",{class:a.goodsTitle},[e.goodsInfo.goodsName,e.goodsInfo.currentPrice<=0?t("img",{src:le},null):""]),t("p",{class:[a.goodsMemo,"van-multi-ellipsis--l2"]},[e.goodsInfo.description]),t("div",{class:a.goodsPrice},[t("div",{class:a.priceGroup},[l("\u56E2\u8D2D\u4EF7:"),t("p",null,[e.goodsInfo.currentPrice<=0?t("del",null,[t("span",null,[l("\xA5")]),l(" "),h(e.goodsInfo.groupPrice)]):t(P,null,[t("span",null,[l("\xA5")]),l(" "),h(e.goodsInfo.currentPrice)])])])])])}),p.leBao.show?t(B,{class:a.inspectCell,style:{backgroundColor:e.inspectStatus?"#FFF3EA":"#f4f4f4"}},{icon:()=>t("img",{src:ie,class:a.iconBao,onClick:()=>{e.instrumentsInspectionDescribe&&(e.inspectPopupStatus=!0)}},null),value:()=>t("div",{class:a.baoContainer},[t("div",{class:a.baoTitle,onClick:()=>{e.instrumentsInspectionDescribe&&(e.inspectPopupStatus=!0)}},[l("\u4E0B\u6821\u68C0\u67E5\u4E50\u5668 1-2\u6B21/\u5B66\u671F")]),t("div",{class:a.baoPrice},[t("p",{onClick:()=>{e.inspectStatus=!e.inspectStatus,y()}},[t("span",{class:a.prefix},[l("\xA5")]),l(" "),e.inspectInfo.currentPrice,t("span",{class:a.suffix},[l("/\u5E74")])]),t(ge,{modelValue:e.inspectStatus,"onUpdate:modelValue":s=>e.inspectStatus=s,onClick:()=>{y()}},{icon:s=>t("img",{class:a.checkboxImg,src:s.checked?ue:ce},null)})])])}):""]}),t(de,{position:"bottom"},{default:()=>[t("div",{class:a.paymentContainer},[t("div",{class:a.payemntPrice},[t("p",{class:a.needPrice},[l("\u603B\u8BA1\uFF1A"),t("span",{class:a.numFont},[t("span",null,[l("\xA5 ")]),h(e.orderInfo.needPrice)])])]),t("div",{class:a.paymentBtn},[t(v,{color:"linear-gradient(135deg, #FF8C4A 0%, #FF531C 100%)",round:!0,"native-type":"submit"},{default:()=>[l("\u56E2\u8D2D\u652F\u4ED8")]})])])]})]),o.groupBuyType==="SELF"&&t(P,null,[t(f,{class:[a.applyCellGroup,a.self],border:!1},{default:()=>{var s;return[t("div",{class:a.toolImg,onClick:()=>{var r;me([(r=e.registerInfo)==null?void 0:r.instrumentPriceImg]),localStorage.setItem("read-tool-image","1"),e.toolImgStatus=!0}},[t(w,{src:(s=e.registerInfo)==null?void 0:s.instrumentPriceImg},null),!e.toolImgStatus&&t("div",{class:a.toolImgOverflow},[t(v,null,{default:()=>[l("\u70B9\u51FB\u67E5\u770B\u300A\u4E50\u56E2\u8BAD\u7EC3\u5DE5\u5177\u6807\u51C6\u914D\u7F6E\u8868\u300B")]}),t("img",{src:fe,class:a.iconHead},null)])]),t(d,{required:!0,label:"\u60A8\u8BA1\u5212\u914D\u7F6E\u7684\u4E50\u5668\u54C1\u724C",labelAlign:"top",border:!1,placeholder:"\u8BF7\u586B\u5199\u60A8\u8BA1\u5212\u914D\u7F6E\u7684\u4E50\u5668\u54C1\u724C",modelValue:o.instrumentsBrand,"onUpdate:modelValue":r=>o.instrumentsBrand=r,maxlength:20,class:a.toolInput,rules:[{required:!0,message:"\u8BF7\u586B\u5199\u60A8\u8BA1\u5212\u914D\u7F6E\u7684\u4E50\u5668\u54C1\u724C"}]},null),t(d,{style:"padding-top: 0;",required:!0,label:"\u60A8\u8BA1\u5212\u914D\u7F6E\u7684AI\u5B66\u7EC3\u5DE5\u5177\u54C1\u724C",labelAlign:"top",border:!1,class:a.toolInput,placeholder:"\u8BF7\u586B\u5199\u60A8\u8BA1\u5212\u914D\u7F6E\u7684AI\u5B66\u7EC3\u5DE5\u5177\u54C1\u724C",modelValue:o.learningTools,"onUpdate:modelValue":r=>o.learningTools=r,maxlength:20,rules:[{required:!0,message:"\u8BF7\u586B\u5199\u60A8\u8BA1\u5212\u914D\u7F6E\u7684AI\u5B66\u7EC3\u5DE5\u5177\u54C1\u724C"}]},null)]}}),t("div",{class:"btnGroup",style:{paddingTop:"30px"}},[t(v,{type:"primary",color:"linear-gradient(135deg, #FF8C4A 0%, #FF531C 100%)",round:!0,block:!0,"native-type":"submit"},{default:()=>[l("\u63D0\u4EA4")]})])])]}),t(I,{show:e.gradeStatus,"onUpdate:show":s=>e.gradeStatus=s,position:"bottom",round:!0,safeAreaInsetBottom:!0,lazyRender:!1,class:"popupBottomSearch"},{default:()=>[t(A,{showToolbar:!0,columns:e.currentGrade,onCancel:()=>e.gradeStatus=!1,onConfirm:s=>{const r=s.selectedOptions[0];o.currentGrade=r.value,o.currentGradeTxt=r.text,e.gradeStatus=!1}},null)]}),t(I,{show:e.classStatus,"onUpdate:show":s=>e.classStatus=s,position:"bottom",round:!0,class:"popupBottomSearch"},{default:()=>[t(A,{showToolbar:!0,columns:e.classList,onCancel:()=>e.classStatus=!1,onConfirm:s=>{const r=s.selectedOptions[0];o.currentClass=r.value,o.currentClassTxt=r.text,e.classStatus=!1}},null)]}),t(I,{show:e.subjectStatus,"onUpdate:show":s=>e.subjectStatus=s,position:"bottom",round:!0,class:"popupBottomSearch"},{default:()=>[t(A,{showToolbar:!0,columns:e.subjectList,onCancel:()=>e.subjectStatus=!1,onConfirm:async s=>{const r=s.selectedOptions[0];o.registerSubjectId=r.value,o.registerSubjectTxt=r.text,e.subjectStatus=!1,await U()}},null)]}),t(I,{show:e.inspectPopupStatus,"onUpdate:show":s=>e.inspectPopupStatus=s,round:!0,closeable:!0,class:a.inspectPopup},{default:()=>[t(Ie,{describe:e.instrumentsInspectionDescribe},null)]}),t(x,{title:"\u786E\u8BA4\u4FE1\u606F",show:e.submitStatus,"onUpdate:show":s=>e.submitStatus=s,message:'<p style="text-align: left;">\u8BF7\u786E\u8BA4\u60A8\u51C6\u5907\u7684\u4E50\u5668\u548CAI\u5B66\u7EC3\u5DE5\u5177\u7B26\u5408<span style="color: #F67146;font-weight: bold;">\u300A\u4E50\u56E2\u8BAD\u7EC3\u5DE5\u5177\u6807\u51C6\u914D\u7F6E\u8868\u300B</span></p>',class:a.dialogSubmit,allowHtml:!0,confirmButtonText:"\u8FD4\u56DE",cancelButtonText:"\u786E\u8BA4",showCancelButton:!0,onConfirm:()=>{e.submitStatus=!1},onCancel:async()=>{F()}},null),t(x,{title:"\u63D0\u793A",show:e.studentReadStatus,"onUpdate:show":s=>e.studentReadStatus=s,message:"\u60A8\u5DF2\u5728\u5176\u4ED6\u4E50\u56E2\u5728\u8BFB\uFF0C\u8BF7\u9000\u56E2\u518D\u62A5\u540D\u8BE5\u4E50\u56E2\u3002",confirmButtonText:"\u786E\u8BA4",showCancelButton:!1,onConfirm:()=>{O()}},null),t(x,{title:"\u63D0\u793A",show:e.dialogStatus,"onUpdate:show":s=>e.dialogStatus=s,message:e.dialogMessage,confirmButtonText:e.dialogOrchestraStatus?"\u786E\u8BA4\u53D6\u6D88":"\u7EE7\u7EED\u652F\u4ED8",cancelButtonText:"\u53D6\u6D88\u8BA2\u5355",showCancelButton:!e.dialogOrchestraStatus,messageAlign:e.dialogOrchestraStatus?"left":"center",onConfirm:async()=>{if(e.dialogOrchestraStatus)try{await c.post("/api-student/userPaymentOrder/cancelPayment/"+e.dialogConfig.orderNo)}catch{}else{const s=e.dialogConfig.paymentConfig;T.push({path:"/orderDetail",query:{pm:1,config:JSON.stringify({...s.paymentConfig,paymentType:s.paymentType}),orderNo:s.orderNo}})}},onCancel:async()=>{try{await c.post("/api-student/userPaymentOrder/cancelPayment/"+e.dialogConfig.orderNo)}catch{}}},null)])}});export{Ve as default};