1 |
- "use strict";(self["webpackChunkdisaster1"]=self["webpackChunkdisaster1"]||[]).push([[920],{6920:function(e,a,n){n.r(a),n.d(a,{default:function(){return b}});var t=n(6252),l=n(2931),o=n(2201),r=n(686);const u=e=>((0,t.dD)("data-v-1851df8c"),e=e(),(0,t.Cn)(),e),i={class:"left_container"},s=(0,t.Uk)("跳转到目标页"),c={class:"mian-content"},d={class:"demo-pagination-block"},g=u((()=>(0,t._)("div",{class:"demonstration"},"Jump to",-1))),p={class:"demo-pagination-block"},v=u((()=>(0,t._)("div",{class:"demonstration"},"Total item count",-1)));var m={setup(e){const a=(0,l.iH)(5),n=((0,l.iH)(5),(0,l.iH)(5)),u=((0,l.iH)(4),(0,l.iH)(100),(0,l.iH)(100)),m=((0,l.iH)(100),(0,l.iH)(!1)),C=(0,l.iH)(1e3),h=(0,l.iH)(!1),b=(0,l.iH)(!1);function f(){console.log(`${val} items per page`)}function H(){const e={transCode:"C00001",page:1,count:5,searchtag:"",userId:"5f06c8bc77234f969d13e160b54c27e3"};(0,r.WY)(e).then((e=>{console.log(e)})).catch((e=>{}))}return(0,t.bv)((()=>{})),(e,r)=>{const k=(0,t.up)("el-pagination");return(0,t.wg)(),(0,t.iD)("div",null,[(0,t._)("div",i,[(0,t._)("h2",{onClick:r[0]||(r[0]=e=>H())}," 我是路由"),(0,t.Wm)((0,l.SU)(o.rH),{to:{path:"/myHome"}},{default:(0,t.w5)((()=>[s])),_:1})]),(0,t._)("div",c,[(0,t._)("div",d,[g,(0,t.Wm)(k,{"current-page":n.value,"onUpdate:current-page":r[1]||(r[1]=e=>n.value=e),"page-size":u.value,"onUpdate:page-size":r[2]||(r[2]=e=>u.value=e),small:m.value,disabled:b.value,background:h.value,layout:"prev,total, pager, next, jumper",total:C.value,onSizeChange:f,onCurrentChange:e.handleCurrentChange},null,8,["current-page","page-size","small","disabled","background","total","onCurrentChange"])]),(0,t._)("div",p,[v,(0,t.Wm)(k,{"current-page":a.value,"onUpdate:current-page":r[3]||(r[3]=e=>a.value=e),"page-size":100,small:m.value,disabled:b.value,background:h.value,layout:"total, prev, pager, next,jumpersizes,",total:1e3,onSizeChange:f,onCurrentChange:e.handleCurrentChange},null,8,["current-page","small","disabled","background","onCurrentChange"])]),(0,t.Wm)((0,l.SU)(o.MA))])])}}},C=n(3744);const h=(0,C.Z)(m,[["__scopeId","data-v-1851df8c"]]);var b=h}}]);
|