PageSourceSearch

https://taekwondo.org.cn/assets/index-a0b05c9a.js

js taekwondo.org.cn collected 2026-10-02 17:12:32 UTC 6,813 bytes, 1 lines download raw bytes

1import{z as X,g as Z,p as y,ad as ee,aw as te,ax as le,o as ae,r as a,aK as oe,c,e as v,ae as g,f as e,a9 as l,i as u,aa as ne,ag as m,bc as se,ai as R,C as ie,aj as T,aA as b,ak as ue}from"./vuedraggable.umd-1c0f3a69.js";import{l as de,c as re,a as me}from"./level-806feb57.js";import ce from"./view-39d6afce.js";import"./imgView-6db14b2b.js";const _e={class:"app-container"},pe={class:"from-Card"},fe={class:"po-r-btns"},we={class:"table"},ve={key:0},ge={key:1},ye={key:2,class:"text-success"},be={key:3,class:"text-danger"},he={key:4,class:"text-warning"},ke={__name:"index",setup(Ce){const{proxy:_}=Z(),z=y(new Date(0,0,0,23,59,59)),k=y(0),C=y([]),p=y(!1),M=ee(),Y=te({queryParams:{pageNum:1,pageSize:10},form:{}}),i=y([null,null]),{queryParams:n}=le(Y);ae(()=>{f()});const U=({row:s,rowIndex:o})=>{if(s.status==2)return"success-row"};function x(){n.value.pageNum=1,f()}async function f(){if(i.value[0]==null&&i.value[1]!=null||i.value[1]==null&&i.value[0]!=null)return _.$modal.msgError("请完善提交日期范围");n.value.commitTimeRange=i.value[0]!=null?i.value.toString():null,p.value=!0;const s=await de(n.value);C.value=s.rows,k.value=s.total,p.value=!1}function B(s){M.push({path:"/member/addLevel",query:{rangeId:s.id}})}function I(){n.value={pageNum:1,pageSize:10},i.value=[null,null],f()}function q(s){_.$refs.viewRef.open(s.id)}async function H(s){(await re(s.id)).code==200?_.$modal.msgSuccess("提交成功!"):_.$modal.msgError("提交失败!"),await f()}function K(s){_.$modal.confirm('是否确认变更单号为"'+s.code+'"的数据项?').then(function(){return p.value=!0,me([s.id])}).then(()=>{p.value=!0,C.value.length==1&&n.value.pageNum!=1&&n.value.pageNum--,f(),_.$modal.msgSuccess("删除成功")}).catch(()=>{}).finally(()=>{p.value=!1})}return(s,o)=>{const E=a("el-input"),h=a("el-form-item"),V=a("el-col"),w=a("el-option"),L=a("el-select"),$=a("el-date-picker"),d=a("el-button"),D=a("el-row"),P=a("el-form"),j=a("router-link"),r=a("el-table-column"),A=a("arrow-down"),F=a("el-icon"),S=a("el-dropdown-item"),G=a("el-dropdown-menu"),J=a("el-dropdown"),O=a("el-table"),Q=a("pagination"),W=oe("loading");return c(),v("div",_e,[g("div",pe,[e(P,{ref:"queryRef",size:"small",model:u(n),inline:!0,"label-position":"top"},{default:l(()=>[e(D,{style:{width:"100%"}},{default:l(()=>[e(V,{span:4},{default:l(()=>[e(h,{label:"变更单号",prop:"code"},{default:l(()=>[e(E,{modelValue:u(n).code,"onUpdate:modelValue":o[0]||(o[0]=t=>u(n).code=t),modelModifiers:{trim:!0},placeholder:"变更单号",clearable:"",style:{width:"100%"},onKeyup:ne(x,["enter"])},null,8,["modelValue","onKeyup"])]),_:1})]),_:1}),e(V,{span:4},{default:l(()=>[e(h,{label:"状态",prop:"status"},{default:l(()=>[e(L,{modelValue:u(n).status,"onUpdate:modelValue":o[1]||(o[1]=t=>u(n).status=t),style:{width:"100%"},onChange:x},{default:l(()=>[e(w,{label:"全部",value:""}),e(w,{label:"待提交",value:"0"}),e(w,{label:"审核中",value:"1"}),e(w,{label:"审核通过",value:"2"}),e(w,{label:"审核拒绝",value:"3"}),e(w,{label:"已撤回",value:"4"})]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(V,{span:8,style:{display:"flex"}},{default:l(()=>[e(h,{style:{width:"100%"},label:"提交时间",prop:"commitTime"},{default:l(()=>[e($,{modelValue:i.value[0],"onUpdate:modelValue":o[2]||(o[2]=t=>i.value[0]=t),type:"date","value-format":"YYYY-MM-DD HH:mm:ss",placeholder:"开始时间",style:{width:"100%"}},null,8,["modelValue"])]),_:1}),e(h,{style:{width:"100%"},label:"提交时间",prop:"commitTime"},{default:l(()=>[e($,{modelValue:i.value[1],"onUpdate:modelValue":o[3]||(o[3]=t=>i.value[1]=t),type:"date","value-format":"YYYY-MM-DD HH:mm:ss",placeholder:"结束时间",style:{width:"100%"},"default-time":z.value},null,8,["modelValue","default-time"])]),_:1})]),_:1}),g("div",fe,[e(d,{size:"small",type:"primary",icon:"Search",onClick:o[4]||(o[4]=t=>x())},{default:l(()=>[m("查询")]),_:1}),e(d,{size:"small",icon:"Refresh",onClick:I},{default:l(()=>[m("重置")]),_:1})])]),_:1})]),_:1},8,["model"]),e(D,{justify:"space-between"},{default:l(()=>[g("div",null,[e(j,{class:"router",to:"/member/addLevel"},{default:l(()=>[e(d,{type:"primary",icon:u(se)},{default:l(()=>[m("新建级位变更 ")]),_:1},8,["icon"])]),_:1})])]),_:1})]),g("div",we,[R((c(),ie(O,{"row-class-name":U,data:C.value,border:"",style:{width:"100%"}},{default:l(()=>[e(r,{label:"序号",align:"center",type:"index",width:"55"}),e(r,{label:"变更单号",align:"center",prop:"code","min-width":"140","show-overflow-tooltip":!0}),e(r,{label:"省协会",align:"center",prop:"shenMemName","min-width":"140","show-overflow-tooltip":!0}),e(r,{label:"变更人数",align:"center",prop:"count","min-width":"90"},{default:l(t=>[g("span",null,T(t.row.count)+"人",1)]),_:1}),e(r,{label:"状态",align:"center",prop:"status","min-width":"100"},{default:l(t=>[t.row.status==0?(c(),v("div",ve," 待提交")):b("",!0),t.row.status==1?(c(),v("div",ge,"审核中")):b("",!0),t.row.status==2?(c(),v("div",ye," 审核通过")):b("",!0),t.row.status==3?(c(),v("div",be," 审核拒绝")):b("",!0),t.row.status==4?(c(),v("div",he,"已撤回")):b("",!0)]),_:1}),e(r,{label:"提交时间",align:"center",prop:"commitTime","min-width":"100"},{default:l(t=>[g("span",null,T(s.parseTime(t.row.commitTime,"{y}-{m}-{d}")),1)]),_:1}),e(r,{label:"备注",align:"center",prop:"reason","min-width":"100"}),e(r,{label:"操作",align:"center",fixed:"right",width:"260"},{default:l(t=>[e(d,{type:"primary",onClick:N=>q(t.row)},{default:l(()=>[m("查看")]),_:2},1032,["onClick"]),e(d,{disabled:!(t.row.status==0||t.row.status==3||t.row.status==4),color:"#13B5B1",style:{"--el-color-black":"#fff"},onClick:N=>H(t.row)},{default:l(()=>[m("提交审核")]),_:2},1032,["disabled","onClick"]),e(J,{class:"poptdmore"},{dropdown:l(()=>[e(G,null,{default:l(()=>[e(S,null,{default:l(()=>[e(d,{disabled:!(t.row.status==0||t.row.status==3||t.row.status==4),type:"warning",onClick:N=>B(t.row)},{default:l(()=>[m("编辑")]),_:2},1032,["disabled","onClick"])]),_:2},1024),e(S,null,{default:l(()=>[e(d,{disabled:!(t.row.status==0||t.row.status==3||t.row.status==4),type:"danger",onClick:N=>K(t.row)},{default:l(()=>[m("删除")]),_:2},1032,["disabled","onClick"])]),_:2},1024)]),_:2},1024)]),default:l(()=>[e(d,{type:"primary",plain:"",disabled:!(t.row.status==0||t.row.status==3||t.row.status==4)},{default:l(()=>[m("更多 "),e(F,{class:"el-icon--right"},{default:l(()=>[e(A)]),_:1})]),_:2},1032,["disabled"])]),_:2},1024)]),_:1})]),_:1},8,["data"])),[[W,p.value]]),R(e(Q,{page:u(n).pageNum,"onUpdate:page":o[5]||(o[5]=t=>u(n).pageNum=t),limit:u(n).pageSize,"onUpdate:limit":o[6]||(o[6]=t=>u(n).pageSize=t),total:k.value,onPagination:f},null,8,["page","limit","total"]),[[ue,k.value>0]])]),e(ce,{ref:"viewRef"},null,512)])}}}
1,De=X(ke,[["__scopeId","data-v-90aa5714"]]);export{De 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.