detail-6653a2c5.js 3.6 KB

12
  1. import{a7 as N,r as n,a1 as T,o as c,b as v,d as s,f as o,a as t,G,O,c as S,a2 as u,u as U,an as Z}from"./index-312d0758.js";/* empty css */import{E as L}from"./el-button-5fd5d56e.js";import{E as P,a as $}from"./el-form-item-103c2f12.js";import"./el-tag-ecd58a65.js";import{a as A,E as H}from"./el-select-3d8aebfc.js";import"./el-scrollbar-c70422fb.js";import"./el-popper-1c70242b.js";import{b as y}from"./route-block-83d24a4e.js";import{_ as J}from"./_plugin-vue_export-helper-c27b6911.js";import{E as K}from"./index-fb232398.js";import"./index-7588b595.js";import"./plugin-vue_export-helper-1cff8a04.js";import"./index-a787320c.js";import"./use-form-item-01b63eaa.js";import"./constants-8ece7a3d.js";import"./index-1da7ed1a.js";import"./use-form-common-props-714f341f.js";import"./castArray-504193a2.js";import"./error-78e43d3e.js";import"./typescript-c7dac87b.js";import"./_baseClone-d8826940.js";import"./_Uint8Array-787ffc9c.js";import"./_initCloneObject-95aefecf.js";import"./isEqual-76463fee.js";import"./hasIn-13c5e7c1.js";import"./event-9519ab40.js";import"./scroll-27bc6409.js";import"./debounce-80ed8290.js";import"./index-1f4b6bfb.js";import"./isUndefined-aa0326a0.js";import"./focus-trap-30782453.js";import"./index-bec297e4.js";const M={class:"h-full relative"},Q={class:"bg-white px-5 pt-18px rounded-6px mb-9px flex justify-between"},W={class:"bg-white p-5 rounded-6px"},X={class:"operateDiv flex justify-between pb-4 border-b-solid border-1 border-hex-e3e3e3"},Y={class:"flex items-center"},ee={class:"flex items-center space-x-4"},z={__name:"detail",props:{type:String,enroll:Boolean},emits:["to"],setup(h,{emit:k}){var f,x;const p=h,E=k,_=(x=(f=N().currentRoute.value)==null?void 0:f.query)==null?void 0:x.year,d=n([{value:"1",label:"公立"},{value:"2",label:"私立(民办)"}]),g=n([{label:"学校",prop:"zzy_sm_name"},{label:"办学类型",prop:"xxlx",fieldDict:d.value},{label:"拟招总人数",prop:"nzzrs"},{label:"报名总人数",prop:"bmzrs",enroll:!1},{label:"已录取人数",prop:"lqzrs",enroll:!1},{label:"实录总人数",prop:"lqzrs",enroll:!0},{label:"操作",prop:"operate",width:100}]),l=n({zzj_zsnf:_,zzy_bmlx:p.type,zzy_xxlx:"",lqall:p.enroll?"1":void 0}),w=n({url:"/zjzs/zslqgl_bmdkyxxx/zsgl_sch_stat",data:l.value,selection:!1,columnData:g.value.filter(r=>r.enroll==null||r.enroll==p.enroll)}),i=n();function V(){i.value.reGetDataToPage1()}function B(){i.value.getExport()}function D({zzy_sm_id:r,xxlx:a}){E("to",_,r,a)}return(r,a)=>{const C=A,q=H,j=P,F=$,m=L,R=K,I=T("bz-table");return c(),v("div",M,[s("div",Q,[o(F,{inline:!0,model:l.value},{default:t(()=>[o(j,null,{default:t(()=>[o(q,{modelValue:l.value.zzy_xxlx,"onUpdate:modelValue":a[0]||(a[0]=e=>l.value.zzy_xxlx=e),placeholder:"请选择办学类型",clearable:""},{default:t(()=>[(c(!0),v(G,null,O(d.value,(e,b)=>(c(),S(C,{key:b,value:e.value,label:e.label},null,8,["value","label"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1},8,["model"])]),s("div",W,[s("div",X,[s("div",Y,[o(m,{type:"primary",onClick:B},{default:t(()=>[u("导出")]),_:1})]),s("div",ee,[o(R,{modelValue:l.value.keyword,"onUpdate:modelValue":a[1]||(a[1]=e=>l.value.keyword=e),placeholder:"请输入搜索的关键词",clearable:"","suffix-icon":U(Z)},null,8,["modelValue","suffix-icon"]),o(m,{type:"primary",onClick:V},{default:t(()=>[u("搜索")]),_:1})])]),o(I,{ref_key:"BZtableRef",ref:i,options:w.value},{operate:t(({scope:e})=>[o(m,{type:"primary",text:"",onClick:b=>D(e.row)},{default:t(()=>[u("进入")]),_:2},1032,["onClick"])]),_:1},8,["options"])])])}}};typeof y=="function"&&y(z);const Ne=J(z,[["__scopeId","data-v-546d1a95"]]);export{Ne as default};