index-36f5cdf1.js 2.6 KB

12
  1. import{r as o,a7 as k,a1 as g,o as w,b as C,d as a,f as l,a as i,a2 as _,u as m,an as B,a0 as V}from"./index-312d0758.js";/* empty css */import{E as $}from"./el-button-5fd5d56e.js";import"./request-ae682a54.js";/* empty css *//* empty css */import{b as u}from"./route-block-83d24a4e.js";import{_ as j}from"./_plugin-vue_export-helper-c27b6911.js";import{E}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"./axios-87b33878.js";import"./index-8db4c46a.js";import"./typescript-c7dac87b.js";import"./event-9519ab40.js";import"./index-bec297e4.js";import"./error-78e43d3e.js";const G={class:"userManager"},N={class:"listContent"},R={class:"funcArea"},A={style:{"flex-grow":"1",display:"flex","justify-content":"flex-end"}},D={class:"listArea"},d={__name:"index",setup(I){let r=o({zys_sfyh:"1",zyx_sm_name:""});o({zyx_sm_name:""});const f=o({url:"/zjzs/yhgl_school/index",data:r.value,columnData:[{label:"摇号学校",prop:"zyx_sm_name"},{label:"摇号选中数量",prop:"zys_lqrs"},{label:"学生数量",prop:"zys_xsrs"},{label:"操作",prop:"operation",width:240}]});let c=o([]);const p=o(null);o(null);function y(){p.value.reGetDataToPage1()}const x=k();function z(e){x.push({path:"/back/ju/lottery/each",query:{zys_id:e.zys_id,zyx_sm_name:e.zyx_sm_name}})}function v(){c.value=p.value.getSelectionRows();const e=[];c.value.map(n=>{e.push(n.zys_id)});const t=`${window.GLOBAL_CONFIG.api}/zjzs/yhgl_school/index?api=xls&page=1&limit=10000&token=${V.value.token}&zys_sfyh=1&zys_id=${e==null?void 0:e.join(",")}`;window.open(t,"_blank")}return o(0),(e,t)=>{const n=$,b=E,h=g("bz-table");return w(),C("div",G,[a("div",N,[a("div",R,[a("div",null,[l(n,{type:"primary",onClick:t[0]||(t[0]=s=>v())},{default:i(()=>[_(" 导出 ")]),_:1})]),a("div",A,[l(b,{modelValue:m(r).zyx_sm_name,"onUpdate:modelValue":t[1]||(t[1]=s=>m(r).zyx_sm_name=s),clearable:"",style:{width:"160px","margin-right":"10px"},placeholder:"请输入搜索关键词","suffix-icon":m(B)},null,8,["modelValue","suffix-icon"]),l(n,{type:"primary",onClick:t[2]||(t[2]=s=>y())},{default:i(()=>[_(" 搜索 ")]),_:1})])]),a("div",D,[l(h,{ref_key:"BZtableRef",ref:p,options:f.value},{operation:i(({scope:s})=>[l(n,{type:"primary",link:"",onClick:L=>z(s.row)},{default:i(()=>[_(" 进入 ")]),_:2},1032,["onClick"])]),_:1},8,["options"])])])])}}};typeof u=="function"&&u(d);const le=j(d,[["__scopeId","data-v-5ec80e18"]]);export{le as default};