1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/likeadmin-likeadmin_java

Присоединиться к Gitlife
Откройте для себя и примите участие в публичных проектах с открытым исходным кодом с участием более 10 миллионов разработчиков. Приватные репозитории также полностью бесплатны :)
Присоединиться бесплатно
Это зеркальный репозиторий, синхронизируется ежедневно с исходного репозитория.
Клонировать/Скачать
index.0bd772c6.js 4.8 КБ
Копировать Редактировать Исходные данные Просмотреть построчно История
Jason Отправлено 2 лет назад c64d015
import{Z as I,C as O,D as j,Q as q,R as z,w as J,F as M,I as Q,J as Z,K as G,L as H}from"./element-plus.dc25723c.js";import{u as W,_ as X}from"./usePaging.a52dcef9.js";import{f as g,b as Y}from"./index.4333e73f.js";import{d as V,s as ee,r as te,a0 as oe,ag as ae,o as i,c as le,V as e,M as t,aa as k,u as l,a as h,O as F,L as c,T as m,U as se,k as ne,S as ue,n as D}from"./@vue.cab01781.js";import{c as ie,d as me}from"./post.5fc8658d.js";import{_ as re}from"./edit.vue_vue_type_script_setup_true_lang.0f9f6084.js";import"./@vueuse.724ed0af.js";import"./@element-plus.92b4185f.js";import"./lodash-es.29c53eac.js";import"./dayjs.37ec2129.js";import"./axios.fd02a783.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./lodash.75518cf9.js";import"./vue-router.5046cc50.js";import"./pinia.e85e8286.js";import"./vue-demi.bfae2336.js";import"./css-color-function.a8f9466d.js";import"./color.903ca10f.js";import"./clone.9d64bb7a.js";import"./color-convert.69e17089.js";import"./color-string.e356f5de.js";import"./color-name.e7a4e1d3.js";import"./nprogress.748450be.js";import"./vue-clipboard3.049f28db.js";import"./clipboard.6e731210.js";import"./echarts.6ad8c478.js";import"./zrender.f91f2f01.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.0ab41b7b.js";import"./index.857546d9.js";const pe={class:"post-lists"},de=m("\u67E5\u8BE2"),ce=m("\u91CD\u7F6E"),_e=m(" \u65B0\u589E "),fe=m(" \u7F16\u8F91 "),Ce=m(" \u5220\u9664 "),ve={class:"flex justify-end mt-4"},Fe=V({name:"post"}),et=V({...Fe,setup(be){const _=ee(),f=te(!1),s=oe({code:"",name:"",isStop:""}),{pager:r,getLists:C,resetPage:b,resetParams:B}=W({fetchFun:me,params:s}),S=async()=>{var n;f.value=!0,await D(),(n=_.value)==null||n.open("add")},x=async n=>{var o,p;f.value=!0,await D(),(o=_.value)==null||o.open("edit"),(p=_.value)==null||p.getDetail(n)},T=async n=>{await g.confirm("\u786E\u5B9A\u8981\u5220\u9664\uFF1F"),await ie({id:n}),g.msgSuccess("\u5220\u9664\u6210\u529F"),C()};return C(),(n,o)=>{const p=O,v=j,y=q,$=z,d=J,K=M,w=Q,R=Y,u=Z,L=I,P=G,U=X,E=ae("perms"),N=H;return i(),le("div",pe,[e(w,{class:"!border-none",shadow:"never"},{default:t(()=>[e(K,{ref:"formRef",class:"mb-[-16px]",model:s,inline:!0},{default:t(()=>[e(v,{label:"\u5C97\u4F4D\u7F16\u7801"},{default:t(()=>[e(p,{class:"w-[280px]",modelValue:s.code,"onUpdate:modelValue":o[0]||(o[0]=a=>s.code=a),clearable:"",onKeyup:k(l(b),["enter"])},null,8,["modelValue","onKeyup"])]),_:1}),e(v,{label:"\u5C97\u4F4D\u540D\u79F0"},{default:t(()=>[e(p,{class:"w-[280px]",modelValue:s.name,"onUpdate:modelValue":o[1]||(o[1]=a=>s.name=a),clearable:"",onKeyup:k(l(b),["enter"])},null,8,["modelValue","onKeyup"])]),_:1}),e(v,{label:"\u5C97\u4F4D\u72B6\u6001"},{default:t(()=>[e($,{class:"w-[280px]",modelValue:s.isStop,"onUpdate:modelValue":o[2]||(o[2]=a=>s.isStop=a)},{default:t(()=>[e(y,{label:"\u5168\u90E8",value:""}),e(y,{label:"\u6B63\u5E38",value:0}),e(y,{label:"\u505C\u7528",value:1})]),_:1},8,["modelValue"])]),_:1}),e(v,null,{default:t(()=>[e(d,{type:"primary",onClick:l(b)},{default:t(()=>[de]),_:1},8,["onClick"]),e(d,{onClick:l(B)},{default:t(()=>[ce]),_:1},8,["onClick"])]),_:1})]),_:1},8,["model"])]),_:1}),e(w,{class:"!border-none mt-4",shadow:"never"},{default:t(()=>[h("div",null,[F((i(),c(d,{type:"primary",onClick:o[3]||(o[3]=a=>S())},{icon:t(()=>[e(R,{name:"el-icon-Plus"})]),default:t(()=>[_e]),_:1})),[[E,["system:post:add"]]])]),F((i(),c(P,{class:"mt-4",size:"large",data:l(r).lists},{default:t(()=>[e(u,{label:"\u5C97\u4F4D\u7F16\u7801",prop:"code","min-width":"100"}),e(u,{label:"\u5C97\u4F4D\u540D\u79F0",prop:"name","min-width":"100"}),e(u,{label:"\u6392\u5E8F",prop:"sort","min-width":"100"}),e(u,{label:"\u5907\u6CE8",prop:"remarks","min-width":"100","show-overflow-tooltip":""}),e(u,{label:"\u6DFB\u52A0\u65F6\u95F4",prop:"createTime","min-width":"180"}),e(u,{label:"\u5C97\u4F4D\u72B6\u6001",prop:"isStop","min-width":"100"},{default:t(({row:a})=>[e(L,{class:"ml-2",type:a.isStop?"danger":""},{default:t(()=>[m(se(a.isStop?"\u505C\u7528":"\u6B63\u5E38"),1)]),_:2},1032,["type"])]),_:1}),e(u,{label:"\u64CD\u4F5C",width:"120",fixed:"right"},{default:t(({row:a})=>[F((i(),c(d,{type:"primary",link:"",onClick:A=>x(a)},{default:t(()=>[fe]),_:2},1032,["onClick"])),[[E,["system:post:edit"]]]),F((i(),c(d,{type:"danger",link:"",onClick:A=>T(a.id)},{default:t(()=>[Ce]),_:2},1032,["onClick"])),[[E,["system:post:del"]]])]),_:1})]),_:1},8,["data"])),[[N,l(r).loading]]),h("div",ve,[e(U,{modelValue:l(r),"onUpdate:modelValue":o[4]||(o[4]=a=>ne(r)?r.value=a:null),onChange:l(C)},null,8,["modelValue","onChange"])])]),_:1}),f.value?(i(),c(re,{key:0,ref_key:"editRef",ref:_,onSuccess:l(C),onClose:o[5]||(o[5]=a=>f.value=!1)},null,8,["onSuccess"])):ue("",!0)])}}});export{et as default};

Комментарий ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://gitlife.ru/oschina-mirror/likeadmin-likeadmin_java.git
git@gitlife.ru:oschina-mirror/likeadmin-likeadmin_java.git
oschina-mirror
likeadmin-likeadmin_java
likeadmin-likeadmin_java
1.3.4