Files

2 lines
19 KiB
JavaScript

import{_ as E}from"./index.76a66f15.js";import{bj as _,C as g,D as k,aJ as a,b2 as s,aV as u,bE as J,bF as L,bL as K,a$ as D,E as F,b3 as C,bo as O,bs as A,bS as T,bT as G,bU as N,bV as V,aG as I,b4 as P,b1 as x,bI as z,bJ as M,bP as R,cf as q}from"./arco.f3c60d68.js";const U={components:{Modal:_},data(){return{visibleModal:!1,form:{name:"",p_id:0,course_id:0},edit:{id:0},dirList:[]}},props:{id:{type:String},visible:{type:Boolean,default:!1}},methods:{handleEditOk(){var t="admin/app/testpaper/group/add",e={row:this.form};this.edit.id&&(t="admin/app/testpaper/group/edit",e.ids=this.edit.id),this.$request.post(t,e).then(o=>{this.$message.success(o.msg),this.$emit("ok",!1)}).catch(o=>{this.$message.error(o.msg)})},handleCancel(){this.$emit("cancel",!1)}},watch:{id:function(){this.edit.id=this.id},visible:function(){this.edit.id=this.id,this.visibleModal=this.visible,this.form.name="",this.visible&&this.id&&this.$request.post("admin/app/testpaper/group/detail",{id:this.id}).then(t=>{this.form.name=t.data.name}).catch(t=>{this.$message.error(t.msg),this.handleCancel()})}}};function j(t,e,o,n,i,l){const y=J,d=L,h=K,c=_;return g(),k("div",null,[a(c,{visible:i.visibleModal,onOk:l.handleEditOk,onCancel:l.handleCancel,"title-align":"start",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",unmountOnClose:""},{title:s(()=>[...e[1]||(e[1]=[u(" \u5206\u7EC4 ",-1)])]),default:s(()=>[a(h,{bordered:!1},{default:s(()=>[a(d,{field:"post",label:"\u5206\u7EC4\u540D\u79F0"},{default:s(()=>[a(y,{placeholder:"\u8BF7\u8F93\u5165\u5206\u7EC4\u540D\u79F0",modelValue:i.form.name,"onUpdate:modelValue":e[0]||(e[0]=m=>i.form.name=m),"max-length":20,onPressEnter:l.handleEditOk,"show-word-limit":""},null,8,["modelValue","onPressEnter"])]),_:1})]),_:1})]),_:1},8,["visible","onOk","onCancel"])])}const Q=E(U,[["render",j]]),H={components:{groupNameModal:Q},data(){return{dataTotal:0,disabledIdList:[],tableCheckedList:[],edit:{show:!1,name:"",id:""},visible:this.isShow,loading:!1,columns:[{title:"\u5206\u7EC4\u540D\u79F0",dataIndex:"name"},{title:"\u8BD5\u5377\u6570\u91CF",dataIndex:"testpaper_count"},{title:"\u64CD\u4F5C",slotName:"operations",width:100}],data:[],rowSelection:{type:this.selectionType,showCheckedAll:!0,onlyCurrent:!1,defaultSelectedRowKeys:[]},searchParams:{sort:"",order:"desc",offset:0,limit:10},searchFieldType:{name:"LIKE"},searchFilter:{name:""}}},props:{isShow:{type:Boolean,default:!1},selectionType:{type:String,default:"checkbox"},selectIds:{type:Array,default:[]},disabledIds:{type:Array,default:[]}},methods:{editgroup(t){this.edit={show:!0,id:t}},handleNameCancel(){this.edit.show=!1},handleNameOk(){this.edit.show=!1,this.getData()},handleOk(){if(this.tableCheckedList.length==0){this.$emit("ok",[]);return}var t={order:"desc",offset:0,limit:this.tableCheckedList.length,op:JSON.stringify({id:"IN"}),filter:JSON.stringify({id:this.tableCheckedList})};this.$request.post("admin/app/testpaper/group/index",t).then(e=>{var o=[];if(e.data.rows)for(var n in e.data.rows)this.tableCheckedList.includes(e.data.rows[n].id)&&o.push(e.data.rows[n]);this.$emit("ok",o)}).catch(e=>{this.$emit("ok",[]),this.$message.warning("\u52A0\u8F7D\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5")})},handleCancel(){this.$emit("cancel",!1)},tablecheckedChange(t){this.tableCheckedList=t},delAlone(t){this.del([t])},delBatch(){this.del(this.tableCheckedList)},del(t){if(!t)return this.$message.warning("\u8BF7\u5148\u9009\u62E9\u8981\u5220\u9664\u7684\u6570\u636E"),!1;_.warning({title:"\u63D0\u793A",titleAlign:"start",content:"\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6570\u636E\u5417",hideCancel:!1,onOk:()=>{this.$request.post("admin/app/testpaper/group/del",{ids:t}).then(e=>{this.$message.success(e.msg),this.getData()}).catch(e=>{this.$message.error(e.msg)})}})},refresh(){this.searchParams.offset=0,this.getData()},getSearchParams(){this.searchParams.op="",this.searchParams.filter="";var t=this.searchParams,e={},o={};if(this.searchFilter){for(var n in this.searchFilter)this.searchFilter[n]!==""&&(n=="createtime"&&this.searchFilter[n]?e[n]=this.searchFilter[n].join(" - "):e[n]=this.searchFilter[n],o[n]=this.searchFieldType[n]);JSON.stringify(e)!=="{}"&&(t.op=JSON.stringify(o),t.filter=JSON.stringify(e))}return t},getData(){this.$request.post("admin/app/testpaper/group/index",this.getSearchParams()).then(t=>{var e=[];if(t.data.rows)for(var o in t.data.rows){var n=t.data.rows[o];this.disabledIdList.length>0&&this.disabledIdList.includes(n.id)&&(n.disabled=!0),e[o]=n}this.data=e,this.dataTotal=t.data.total}).catch(t=>{this.$message.error(t.msg)})},pageChange(t){this.searchParams.offset=t,this.getData()},pageSizeChange(t){this.searchParams.limit=t,this.refresh()},handleChange(t,e,o){e.type=="sorter"&&e.sorter&&(this.searchParams.order=e.sorter.direction=="ascend"?"asc":"desc",this.searchParams.sort=e.sorter.field,this.refresh())}},watch:{isShow:function(){this.visible=this.isShow,this.isShow&&(this.disabledIdList=this.disabledIds,this.rowSelection.defaultSelectedRowKeys=this.selectIds,this.tableCheckedList=this.selectIds,this.refresh())},selectIds:function(){this.rowSelection.defaultSelectedRowKeys=this.selectIds,this.tableCheckedList=this.selectIds},disabledIds:function(){this.disabledIdList=this.disabledIds},selectionType:function(){this.rowSelection.type=this.selectionType}},mounted(){}},W={style:{width:"100%"}};function X(t,e,o,n,i,l){const y=D("icon-refresh"),d=O,h=A,c=T,m=G,f=N,v=V,S=D("group-name-modal"),w=_;return g(),k("div",null,[a(w,{visible:i.visible,onOk:l.handleOk,onCancel:l.handleCancel,"title-align":"start",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",unmountOnClose:"",width:600},{title:s(()=>[...e[4]||(e[4]=[u(" \u8BD5\u5377\u5206\u7EC4 ",-1)])]),default:s(()=>[a(f,{class:"grid-demo",style:{"margin-bottom":"16px"}},{default:s(()=>[a(c,{flex:"100px"},{default:s(()=>[a(h,null,{default:s(()=>[a(d,{type:"primary",onClick:l.getData},{icon:s(()=>[a(y)]),_:1},8,["onClick"]),a(d,{type:"primary",onClick:e[0]||(e[0]=p=>l.editgroup(0))},{default:s(()=>[...e[5]||(e[5]=[u("\u65B0\u589E\u5206\u7EC4",-1)])]),_:1})]),_:1})]),_:1}),a(c,{flex:"auto"}),a(c,{flex:"300px",align:"right"},{default:s(()=>[a(h,null,{default:s(()=>[a(m,{style:{width:"200px"},placeholder:"\u5206\u7EC4\u540D\u79F0",modelValue:i.searchFilter.name,"onUpdate:modelValue":e[1]||(e[1]=p=>i.searchFilter.name=p),onSearch:e[2]||(e[2]=p=>l.refresh()),onPressEnter:e[3]||(e[3]=p=>l.refresh())},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),a(v,{"row-key":"id",pagination:{total:i.dataTotal,defaultPageSize:i.searchParams.limit,showTotal:!0,showPageSize:!0,showJumper:!0},onPageChange:l.pageChange,onPageSizeChange:l.pageSizeChange,onChange:l.handleChange,"row-selection":i.rowSelection,onSelectionChange:l.tablecheckedChange,bordered:!1,columns:i.columns,data:i.data},{createtime:s(({record:p})=>[F("span",null,C(t.$format.formatDate(p.createtime)),1)]),operations:s(({record:p})=>[a(h,{size:4},{default:s(()=>[a(d,{disabled:p.id==0,style:{padding:"0"},type:"text",size:"small",onClick:B=>l.editgroup(p.id)},{default:s(()=>[...e[6]||(e[6]=[u(" \u7F16\u8F91 ",-1)])]),_:1},8,["disabled","onClick"]),a(d,{disabled:p.id==0,style:{padding:"0"},type:"text",size:"small",onClick:B=>l.delAlone(p.id)},{default:s(()=>[...e[7]||(e[7]=[u(" \u5220\u9664 ",-1)])]),_:1},8,["disabled","onClick"])]),_:2},1024)]),"pagination-left":s(()=>[F("div",W,[a(f,{gutter:24},{default:s(()=>[a(c,{span:20},{default:s(()=>[a(h,null,{default:s(()=>[F("span",null,"\u5DF2\u9009\u4E2D "+C(i.tableCheckedList.length)+" \u6761\u6570\u636E",1),a(d,{onClick:l.delBatch,disabled:i.tableCheckedList.length==0},{default:s(()=>[...e[8]||(e[8]=[u(" \u5220\u9664\u9009\u4E2D ",-1)])]),_:1},8,["onClick","disabled"])]),_:1})]),_:1})]),_:1})])]),_:1},8,["pagination","onPageChange","onPageSizeChange","onChange","row-selection","onSelectionChange","columns","data"]),a(S,{visible:i.edit.show,id:i.edit.id,onOk:l.handleNameOk,onCancel:l.handleNameCancel},null,8,["visible","id","onOk","onCancel"])]),_:1},8,["visible","onOk","onCancel"])])}const Y=E(H,[["render",X]]),Z={components:{},data(){return{loading:!1,group_id:0,warehouseGroupList:[],visible:this.isShow}},props:{isShow:{type:Boolean,default:!1},ids:{type:Array,default:[]}},methods:{handleOk(){var t={group_id:this.group_id,ids:this.ids},e="admin/app/testpaper/testpaper/move";this.loading=!0,this.$request.post(e,t).then(o=>{this.$message.success(o.msg),this.$emit("ok",!1)}).catch(o=>{this.loading=!1,this.$message.warning("\u52A0\u8F7D\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5")})},handleCancel(){this.$emit("cancel",!1)},getGroup(){this.loading=!0,this.$request.post("admin/app/testpaper/group/index",{}).then(t=>{this.warehouseGroupList=t.data.rows,this.loading=!1}).catch(t=>{this.loading=!1,this.$message.warning("\u52A0\u8F7D\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5")})}},watch:{isShow:function(){this.visible=this.isShow,this.isShow&&this.getGroup()}},mounted(){}};function $(t,e,o,n,i,l){const y=z,d=M,h=L,c=R,m=_;return g(),k("div",null,[a(m,{visible:i.visible,onOk:l.handleOk,onCancel:l.handleCancel,"title-align":"start",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",unmountOnClose:""},{title:s(()=>[...e[1]||(e[1]=[u(" \u5206\u7EC4\u8F6C\u79FB ",-1)])]),default:s(()=>[a(c,{style:{width:"100%"},tip:"\u52A0\u8F7D\u4E2D",loading:i.loading},{default:s(()=>[a(h,{label:"\u76EE\u6807\u5206\u7EC4"},{default:s(()=>[a(d,{style:{width:"320px"},placeholder:"\u8BF7\u9009\u62E9\u5206\u7EC4",modelValue:i.group_id,"onUpdate:modelValue":e[0]||(e[0]=f=>i.group_id=f)},{default:s(()=>[(g(!0),k(I,null,P(i.warehouseGroupList,(f,v)=>(g(),x(y,{value:f.id},{default:s(()=>[u(C(f.name),1)]),_:2},1032,["value"]))),256))]),_:1},8,["modelValue"])]),_:1})]),_:1},8,["loading"])]),_:1},8,["visible","onOk","onCancel"])])}const ee=E(Z,[["render",$]]),te={components:{Modal:_,testpaperGroupModal:Y,testpaperGroupMoveModal:ee},data(){return{testpaperGroupMoveIds:[],tableLoading:!1,courseShow:!1,attr:{status:[],random_type:[]},testpaperGroupSelect:["-"],modal:{importQuestion:!1,testpaperGroup:!1,testpaperGroupMove:!1},collapsed:!1,rowSelection:{type:this.selectionType,showCheckedAll:!0,onlyCurrent:!1,defaultSelectedRowKeys:[]},scroll:{x:1400},columns:[{title:"\u8BD5\u5377",dataIndex:"name",fixed:"left",width:"300"},{title:"\u968F\u673A\u9009\u9898",slotName:"random_type"},{title:"\u5206\u7EC4",slotName:"group"},{title:"\u9898\u76EE\u6570\u91CF",dataIndex:"question_amount"},{title:"\u603B\u5206",dataIndex:"score_amount"},{title:"\u6700\u8FD1\u66F4\u65B0",dataIndex:"updatetime",slotName:"createtime",sortable:{sortDirections:["ascend","descend"]},width:230},{title:"\u64CD\u4F5C",dataIndex:"operations",slotName:"operations",align:"right",fixed:"right",width:"240"}],data:[],dataTotal:0,searchParams:{sort:"createtime",order:"desc",offset:0,limit:10},searchFieldType:{name:"LIKE",status:"=",group_id:"=",random_type:"=",createtime:"RANGE"},searchFilter:{name:"",status:"",group_id:"",random_type:"",createtime:""},tableCheckedList:[],pageParams:{},testpaperGroupList:[]}},props:{testpaperGroupChecked:{type:[Number,String],default:"-"},testpaperGroupIds:{type:[String,Array],default:"-"},selectionType:{type:String,default:"checkbox"},selectIds:{type:Array,default:[]},disabledIds:{type:Array,default:[]}},watch:{testpaperGroupChecked:function(t){console.log("val",t),this.refresh()},testpaperGroupIds:function(){},selectionType:function(){this.rowSelection.type=this.selectionType},selectIds:function(){this.rowSelection.defaultSelectedRowKeys=this.selectIds,this.rowSelection.selectedRowKeys=this.selectIds,this.tableCheckedList=this.selectIds},disabledIds:function(){this.disabledIdList=this.disabledIds}},methods:{uploadFileSuccess(){this.refresh(),this.uploadFileModalShow=!1},handletestpaperGroupMoveOk(){this.modal.testpaperGroupMove=!1,this.refresh()},handleImportQuestionOk(){this.modal.importQuestion=!1,this.refresh()},getSearchParams(){this.searchParams.op="",this.searchParams.filter="";var t=this.searchParams,e={},o={};if(this.testpaperGroupChecked=="-"?(this.searchFilter.group_id="",this.searchFieldType.group_id="="):this.testpaperGroupChecked==0?(this.searchFilter.group_id=this.testpaperGroupIds,this.searchFieldType.group_id="NOT IN"):(this.searchFieldType.group_id="=",this.searchFilter.group_id=this.testpaperGroupChecked),this.searchFilter){for(var n in this.searchFilter)this.searchFilter[n]!==""&&(n=="createtime"&&this.searchFilter[n]?e[n]=this.searchFilter[n].join(" - "):e[n]=this.searchFilter[n],o[n]=this.searchFieldType[n]);JSON.stringify(e)!=="{}"&&(t.op=JSON.stringify(o),t.filter=JSON.stringify(e))}return t},getData(){this.tableLoading=!0,this.$request.post("admin/app/testpaper/testpaper/index",this.getSearchParams()).then(t=>{this.data=t.data.rows,this.attr=t.data.attr,this.dataTotal=t.data.total,this.tableLoading=!1})},pageChange(t){this.searchParams.offset=t,this.getData()},pageSizeChange(t){this.searchParams.limit=t,this.refresh()},handleChange(t,e,o){e.type=="sorter"&&e.sorter&&(this.searchParams.order=e.sorter.direction=="ascend"?"asc":"desc",this.searchParams.sort=e.sorter.field,this.refresh())},refresh(){this.searchParams.offset=0,this.getData(),this.$emit("refresh",!1)},edit:function(t=0,e=0){this.$router.push({name:"app.testpaper.edit",params:{id:t,copy:e}})},delAlone(t){this.del([t])},delBatch(){this.del(this.tableCheckedList)},del(t){if(!t)return this.$message.warning("\u8BF7\u5148\u9009\u62E9\u8981\u5220\u9664\u7684\u6570\u636E"),!1;_.warning({title:"\u63D0\u793A",titleAlign:"start",content:"\u786E\u5B9A\u8981\u5220\u9664\u9009\u4E2D\u6570\u636E\u5417",hideCancel:!1,onOk:()=>{this.$request.post("admin/app/testpaper/testpaper/del",{ids:t}).then(e=>{this.$message.success(e.msg),this.refresh()}).catch(e=>{this.$message.error(e.msg)})}})},moveAlone(t){this.move([t])},moveBatch(){this.move(this.tableCheckedList)},move(t){if(!t)return this.$message.warning("\u8BF7\u5148\u9009\u62E9\u8981\u8F6C\u79FB\u7684\u6570\u636E"),!1;this.testpaperGroupMoveIds=t,this.modal.testpaperGroupMove=!0},copyAlone(t){this.copy([t])},copyBatch(){this.copy(this.tableCheckedList)},copy(t){if(!t)return this.$message.warning("\u8BF7\u5148\u9009\u62E9\u8981\u590D\u5236\u7684\u6570\u636E"),!1;_.warning({title:"\u63D0\u793A",titleAlign:"start",content:"\u786E\u5B9A\u8981\u590D\u5236\u9009\u4E2D\u6570\u636E\u5417",hideCancel:!1,onOk:()=>{this.$request.post("admin/app/testpaper/testpaper/copy",{ids:t}).then(e=>{this.$message.success(e.msg),this.refresh()}).catch(e=>{this.$message.error(e.msg)})}})},tablecheckedChange(t){this.tableCheckedList=t,this.rowSelection.defaultSelectedRowKeys=t,this.rowSelection.selectedRowKeys=t,this.$emit("tablecheckedChange",t)}},mounted(){this.pageParams=this.$route.params,this.rowSelection.defaultSelectedRowKeys=this.selectIds,this.rowSelection.selectedRowKeys=this.selectIds,this.tableCheckedList=this.selectIds,this.refresh()}},se={class:"container"},ae={style:{width:"100%"}};function ie(t,e,o,n,i,l){const y=D("icon-refresh"),d=O,h=A,c=T,m=z,f=M,v=G,S=N,w=q,p=V,B=D("testpaper-group-move-modal");return g(),k("div",se,[a(S,{style:{"margin-bottom":"16px"}},{default:s(()=>[a(c,{span:6},{default:s(()=>[a(h,null,{default:s(()=>[a(d,{type:"primary",onClick:l.refresh},{icon:s(()=>[a(y)]),_:1},8,["onClick"]),a(d,{type:"primary",onClick:e[0]||(e[0]=r=>l.edit(0))},{default:s(()=>[...e[4]||(e[4]=[u(" \u65B0\u5EFA\u8BD5\u5377 ",-1)])]),_:1})]),_:1})]),_:1}),a(c,{span:18,style:{display:"flex","align-items":"center","justify-content":"end"}},{default:s(()=>[a(h,null,{default:s(()=>[a(f,{onChange:l.refresh,modelValue:i.searchFilter.status,"onUpdate:modelValue":e[1]||(e[1]=r=>i.searchFilter.status=r),placeholder:"\u72B6\u6001"},{default:s(()=>[a(m,{value:""},{default:s(()=>[...e[5]||(e[5]=[u("\u5168\u90E8\u72B6\u6001",-1)])]),_:1}),(g(!0),k(I,null,P(i.attr.status,(r,b)=>(g(),x(m,{value:b},{default:s(()=>[u(C(r),1)]),_:2},1032,["value"]))),256))]),_:1},8,["onChange","modelValue"]),a(f,{onChange:l.refresh,modelValue:i.searchFilter.random_type,"onUpdate:modelValue":e[2]||(e[2]=r=>i.searchFilter.random_type=r),placeholder:"\u968F\u673A\u7C7B\u578B"},{default:s(()=>[a(m,{value:""},{default:s(()=>[...e[6]||(e[6]=[u("\u5168\u90E8\u968F\u673A\u7C7B\u578B",-1)])]),_:1}),(g(!0),k(I,null,P(i.attr.random_type,(r,b)=>(g(),x(m,{value:b},{default:s(()=>[u(C(r),1)]),_:2},1032,["value"]))),256))]),_:1},8,["onChange","modelValue"]),a(v,{onPressEnter:l.refresh,style:{width:"320px"},modelValue:i.searchFilter.name,"onUpdate:modelValue":e[3]||(e[3]=r=>i.searchFilter.name=r),placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u540D\u79F0"},null,8,["onPressEnter","modelValue"]),a(d,{type:"primary",onClick:l.refresh},{default:s(()=>[...e[7]||(e[7]=[u("\u641C\u7D22",-1)])]),_:1},8,["onClick"])]),_:1})]),_:1})]),_:1}),a(p,{"row-key":"id",scroll:i.scroll,pagination:{total:i.dataTotal,showTotal:!0,pageSize:i.searchParams.limit,current:i.searchParams.offset>0?i.searchParams.offset:1,showPageSize:!0,showJumper:!0},"row-selection":i.rowSelection,bordered:!1,columns:i.columns,data:i.data,loading:i.tableLoading,onPageChange:l.pageChange,onPageSizeChange:l.pageSizeChange,onChange:l.handleChange,onSelectionChange:l.tablecheckedChange},{group:s(({record:r})=>[a(w,null,{default:s(()=>[u(C(r.group&&r.group.name?r.group.name:"\u672A\u5206\u7EC4"),1)]),_:2},1024)]),random_type:s(({record:r})=>[a(w,null,{default:s(()=>[u(C(i.attr.random_type[r.random_type]?i.attr.random_type[r.random_type]:"-"),1)]),_:2},1024)]),status:s(({record:r})=>[a(w,null,{default:s(()=>[u(C(i.attr.status[r.status]?i.attr.status[r.status]:"-"),1)]),_:2},1024)]),createtime:s(({record:r})=>[F("span",null,C(r.updatetime?t.$format.formatDate(r.updatetime):"-"),1)]),operations:s(({record:r})=>[a(h,{size:10},{default:s(()=>[a(d,{style:{padding:"0"},type:"text",size:"small",onClick:b=>l.edit(r.id)},{default:s(()=>[...e[8]||(e[8]=[u(" \u7F16\u8F91 ",-1)])]),_:1},8,["onClick"]),a(d,{style:{padding:"0"},type:"text",size:"small",onClick:b=>l.moveAlone(r.id)},{default:s(()=>[...e[9]||(e[9]=[u(" \u8F6C\u79FB ",-1)])]),_:1},8,["onClick"]),a(d,{style:{padding:"0"},type:"text",size:"small",onClick:b=>l.edit(r.id,1)},{default:s(()=>[...e[10]||(e[10]=[u(" \u590D\u5236 ",-1)])]),_:1},8,["onClick"]),a(d,{style:{padding:"0"},type:"text",size:"small",onClick:b=>l.delAlone(r.id)},{default:s(()=>[...e[11]||(e[11]=[u(" \u5220\u9664 ",-1)])]),_:1},8,["onClick"])]),_:2},1024)]),"pagination-left":s(()=>[F("div",ae,[a(S,{gutter:24},{default:s(()=>[a(c,{span:20},{default:s(()=>[a(h,null,{default:s(()=>[a(d,{onClick:l.delBatch,disabled:i.tableCheckedList.length==0},{default:s(()=>[...e[12]||(e[12]=[u(" \u5BFC\u51FA ",-1)])]),_:1},8,["onClick","disabled"]),a(d,{onClick:l.moveBatch,disabled:i.tableCheckedList.length==0},{default:s(()=>[...e[13]||(e[13]=[u(" \u8F6C\u79FB ",-1)])]),_:1},8,["onClick","disabled"]),a(d,{onClick:l.delBatch,disabled:i.tableCheckedList.length==0},{default:s(()=>[...e[14]||(e[14]=[u(" \u5220\u9664 ",-1)])]),_:1},8,["onClick","disabled"])]),_:1})]),_:1})]),_:1})])]),_:1},8,["scroll","pagination","row-selection","columns","data","loading","onPageChange","onPageSizeChange","onChange","onSelectionChange"]),a(B,{ids:i.testpaperGroupMoveIds,"is-show":i.modal.testpaperGroupMove,onOk:l.handletestpaperGroupMoveOk,onCancel:l.handletestpaperGroupMoveOk},null,8,["ids","is-show","onOk","onCancel"])])}const re=E(te,[["render",ie]]);export{Y as a,ee as b,re as t};