mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-06-30 09:24:46 +08:00
chore: update
This commit is contained in:
parent
9ba545ae3b
commit
d0c45b7995
10
dist/index.html
vendored
10
dist/index.html
vendored
@ -13,7 +13,7 @@
|
||||
<script src="https://cdn.bootcdn.net/ajax/libs/vue-router/4.1.6/vue-router.global.min.js"></script>
|
||||
<script src="https://cdn.bootcdn.net/ajax/libs/vue-i18n/9.2.2/vue-i18n.runtime.global.prod.min.js"></script>
|
||||
<script src="https://cdn.bootcdn.net/ajax/libs/vue-demi/0.13.11/index.iife.min.js"></script>
|
||||
<script src="https://cdn.bootcdn.net/ajax/libs/pinia/2.0.28/pinia.iife.min.js"></script>
|
||||
<script src="https://cdn.bootcdn.net/ajax/libs/pinia/2.0.30/pinia.iife.min.js"></script>
|
||||
<script src="https://cdn.bootcdn.net/ajax/libs/element-plus/2.2.28/index.full.min.js"></script>
|
||||
<script src="https://cdn.bootcdn.net/ajax/libs/axios/1.2.2/axios.min.js"></script>
|
||||
<script src="https://cdn.bootcdn.net/ajax/libs/dayjs/1.11.7/dayjs.min.js"></script>
|
||||
@ -22,20 +22,20 @@
|
||||
<script>
|
||||
window.process = {};
|
||||
</script>
|
||||
<script type="module" crossorigin src="/vue-pure-admin/static/js/index-744f21dd.js"></script>
|
||||
<script type="module" crossorigin src="/vue-pure-admin/static/js/index-f84af6c4.js"></script>
|
||||
<link rel="modulepreload" crossorigin href="/vue-pure-admin/static/js/index-8c77f9cd.js">
|
||||
<link rel="modulepreload" crossorigin href="/vue-pure-admin/static/js/_commonjsHelpers-042e6b4d.js">
|
||||
<link rel="modulepreload" crossorigin href="/vue-pure-admin/static/js/hot-cf4dcfeb.js">
|
||||
<link rel="modulepreload" crossorigin href="/vue-pure-admin/static/js/index-5e5694dd.js">
|
||||
<link rel="modulepreload" crossorigin href="/vue-pure-admin/static/js/multiTags-d9cd5aad.js">
|
||||
<link rel="modulepreload" crossorigin href="/vue-pure-admin/static/js/index-4b83e049.js">
|
||||
<link rel="modulepreload" crossorigin href="/vue-pure-admin/static/js/index-5ecdd2b7.js">
|
||||
<link rel="modulepreload" crossorigin href="/vue-pure-admin/static/js/index-cd980a4b.js">
|
||||
<link rel="modulepreload" crossorigin href="/vue-pure-admin/static/js/index-b5591886.js">
|
||||
<link rel="modulepreload" crossorigin href="/vue-pure-admin/static/js/index-e3206f59.js">
|
||||
<link rel="modulepreload" crossorigin href="/vue-pure-admin/static/js/_plugin-vue_export-helper-c27b6911.js">
|
||||
<link rel="modulepreload" crossorigin href="/vue-pure-admin/static/js/mitt-7f99bbc0.js">
|
||||
<link rel="modulepreload" crossorigin href="/vue-pure-admin/static/js/index-02c38b19.js">
|
||||
<link rel="stylesheet" href="/vue-pure-admin/static/css/index-338d9b1d.css">
|
||||
<link rel="stylesheet" href="/vue-pure-admin/static/css/index-b7c8fb76.css">
|
||||
<link rel="stylesheet" href="/vue-pure-admin/static/css/index-94f56aec.css">
|
||||
<link rel="stylesheet" href="/vue-pure-admin/assets/layout-theme-default.css" id="theme-link-tag">
|
||||
</head>
|
||||
|
||||
|
1
dist/static/css/high-22b8a205.css
vendored
1
dist/static/css/high-22b8a205.css
vendored
@ -1 +0,0 @@
|
||||
[data-v-d5915e8d] .el-tabs__nav-wrap:after{height:1px}[data-v-d5915e8d] .el-tabs__header{margin-top:10px}[data-v-d5915e8d] .el-alert__title{font-size:16px}[data-v-d5915e8d] .el-tabs__nav-next,[data-v-d5915e8d] .el-tabs__nav-prev{color:var(--el-text-color-primary);font-size:16px}[data-v-d5915e8d] .el-tabs__nav-next.is-disabled,[data-v-d5915e8d] .el-tabs__nav-prev.is-disabled{opacity:.5}
|
1
dist/static/css/high-a7f66ab2.css
vendored
Normal file
1
dist/static/css/high-a7f66ab2.css
vendored
Normal file
@ -0,0 +1 @@
|
||||
[data-v-55ad1747] .el-tabs__nav-wrap:after{height:1px}[data-v-55ad1747] .el-tabs__header{margin-top:10px}[data-v-55ad1747] .el-alert__title{font-size:16px}[data-v-55ad1747] .el-tabs__nav-next,[data-v-55ad1747] .el-tabs__nav-prev{color:var(--el-text-color-primary);font-size:16px}[data-v-55ad1747] .el-tabs__nav-next.is-disabled,[data-v-55ad1747] .el-tabs__nav-prev.is-disabled{opacity:.5}
|
1
dist/static/css/index-015a8a72.css
vendored
Normal file
1
dist/static/css/index-015a8a72.css
vendored
Normal file
@ -0,0 +1 @@
|
||||
[data-v-b621463f] .el-timeline-item{margin:6px 0 0 6px}.main-content[data-v-b621463f]{margin:0!important}.welcome[data-v-b621463f]{height:100%}.welcome .top-content[data-v-b621463f]{background:var(--el-bg-color);height:60px;justify-content:space-between}.welcome .top-content[data-v-b621463f],.welcome .top-content .left-mark[data-v-b621463f]{align-items:center;display:flex}.welcome .top-content .left-mark img[data-v-b621463f]{border-radius:50%;cursor:pointer;display:block;height:50px;margin-right:10px;width:50px}.welcome .top-content .left-mark span[data-v-b621463f]{font-size:14px}
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
dist/static/css/index-381aea6f.css
vendored
1
dist/static/css/index-381aea6f.css
vendored
@ -1 +0,0 @@
|
||||
[data-v-09790d56] .el-tabs__nav-wrap:after{height:1px}[data-v-09790d56] .el-tabs__header{margin-top:10px}[data-v-09790d56] .el-alert__title{font-size:16px}[data-v-09790d56] .el-tabs__nav-next,[data-v-09790d56] .el-tabs__nav-prev{color:var(--el-text-color-primary);font-size:16px}[data-v-09790d56] .el-tabs__nav-next.is-disabled,[data-v-09790d56] .el-tabs__nav-prev.is-disabled{opacity:.5}
|
1
dist/static/css/index-45f753f9.css
vendored
1
dist/static/css/index-45f753f9.css
vendored
@ -1 +0,0 @@
|
||||
[data-v-ca10ff9a] .el-timeline-item{margin:6px 0 0 6px}.main-content[data-v-ca10ff9a]{margin:0!important}.welcome[data-v-ca10ff9a]{height:100%}.welcome .top-content[data-v-ca10ff9a]{background:var(--el-bg-color);height:60px;justify-content:space-between}.welcome .top-content[data-v-ca10ff9a],.welcome .top-content .left-mark[data-v-ca10ff9a]{align-items:center;display:flex}.welcome .top-content .left-mark img[data-v-ca10ff9a]{border-radius:50%;cursor:pointer;display:block;height:50px;margin-right:10px;width:50px}.welcome .top-content .left-mark span[data-v-ca10ff9a]{font-size:14px}
|
1
dist/static/css/index-94f56aec.css
vendored
Normal file
1
dist/static/css/index-94f56aec.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
dist/static/css/index-b7c8fb76.css
vendored
1
dist/static/css/index-b7c8fb76.css
vendored
File diff suppressed because one or more lines are too long
1
dist/static/css/index-ead85773.css
vendored
Normal file
1
dist/static/css/index-ead85773.css
vendored
Normal file
@ -0,0 +1 @@
|
||||
[data-v-fde7d744] .el-tabs__nav-wrap:after{height:1px}[data-v-fde7d744] .el-tabs__header{margin-top:10px}[data-v-fde7d744] .el-alert__title{font-size:16px}[data-v-fde7d744] .el-tabs__nav-next,[data-v-fde7d744] .el-tabs__nav-prev{color:var(--el-text-color-primary);font-size:16px}[data-v-fde7d744] .el-tabs__nav-next.is-disabled,[data-v-fde7d744] .el-tabs__nav-prev.is-disabled{opacity:.5}
|
1
dist/static/css/print-c2cebb79.css
vendored
1
dist/static/css/print-c2cebb79.css
vendored
@ -1 +0,0 @@
|
||||
[data-v-1835d616] .el-table__row.warning-row{--el-table-tr-bg-color:var(--el-color-warning-light-9)}[data-v-1835d616] .el-table__row.success-row{--el-table-tr-bg-color:var(--el-color-success-light-9)}.card-header[data-v-1835d616]{align-items:center;display:flex;justify-content:space-between}
|
1
dist/static/css/print-eb39a66b.css
vendored
Normal file
1
dist/static/css/print-eb39a66b.css
vendored
Normal file
@ -0,0 +1 @@
|
||||
[data-v-01600ca1] .el-table__row.warning-row{--el-table-tr-bg-color:var(--el-color-warning-light-9)}[data-v-01600ca1] .el-table__row.success-row{--el-table-tr-bg-color:var(--el-color-success-light-9)}.card-header[data-v-01600ca1]{align-items:center;display:flex;justify-content:space-between}
|
1
dist/static/css/swiper-25add3cb.css
vendored
Normal file
1
dist/static/css/swiper-25add3cb.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
dist/static/css/swiper-efb61a8f.css
vendored
1
dist/static/css/swiper-efb61a8f.css
vendored
File diff suppressed because one or more lines are too long
1
dist/static/js/base-e68b2290.js
vendored
1
dist/static/js/base-e68b2290.js
vendored
@ -1 +0,0 @@
|
||||
import{_ as o}from"./base.vue_vue_type_script_setup_true_lang-05788134.js";import"./data-c667adbf.js";import"./index-8c77f9cd.js";export{o as default};
|
1
dist/static/js/base-fc6c4113.js
vendored
Normal file
1
dist/static/js/base-fc6c4113.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
import{_ as o}from"./base.vue_vue_type_script_setup_true_lang-7f30a0a5.js";import"./data-ec6a9b49.js";import"./index-8c77f9cd.js";export{o as default};
|
@ -1 +1 @@
|
||||
import{t as o}from"./data-c667adbf.js";const l=Vue.defineComponent({__name:"base",setup(t){const e=[{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"}];return(n,p)=>{const a=Vue.resolveComponent("pure-table");return Vue.openBlock(),Vue.createBlock(a,{data:Vue.unref(o),columns:e},null,8,["data"])}}});export{l as _};
|
||||
import{t as o}from"./data-ec6a9b49.js";const l=Vue.defineComponent({__name:"base",setup(t){const e=[{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"}];return(n,p)=>{const a=Vue.resolveComponent("pure-table");return Vue.openBlock(),Vue.createBlock(a,{data:Vue.unref(o),columns:e},null,8,["data"])}}});export{l as _};
|
@ -1 +1 @@
|
||||
import{_ as o}from"./border.vue_vue_type_script_setup_true_lang-3ba99cf4.js";import"./data-c667adbf.js";import"./index-8c77f9cd.js";export{o as default};
|
||||
import{_ as o}from"./border.vue_vue_type_script_setup_true_lang-fc5c029a.js";import"./data-ec6a9b49.js";import"./index-8c77f9cd.js";export{o as default};
|
@ -1 +1 @@
|
||||
import{t as a}from"./data-c667adbf.js";const l=Vue.defineComponent({__name:"border",setup(r){const e=[{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"}];return(t,n)=>{const o=Vue.resolveComponent("pure-table");return Vue.openBlock(),Vue.createBlock(o,{data:Vue.unref(a),columns:e,border:""},null,8,["data"])}}});export{l as _};
|
||||
import{t as a}from"./data-ec6a9b49.js";const l=Vue.defineComponent({__name:"border",setup(r){const e=[{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"}];return(t,n)=>{const o=Vue.resolveComponent("pure-table");return Vue.openBlock(),Vue.createBlock(o,{data:Vue.unref(a),columns:e,border:""},null,8,["data"])}}});export{l as _};
|
@ -1 +1 @@
|
||||
import{m as s}from"./message-7116a117.js";import{b as r}from"./data-fe7da62c.js";import"./index-8c77f9cd.js";function m(a){const t=Vue.ref(""),o=[{label:"ID",prop:"id",width:80},{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"}],n=Vue.reactive({pageSize:5,currentPage:1,layout:"prev, pager, next",total:r.length,background:!0,small:!0});function l({row:{name:e}}){return{cursor:"pointer",background:e===t.value?"#f5f7fa":""}}function u(e){t.value=e.name,a.value.blur(),s(`当前选中行的数据为:${JSON.stringify(e)}`,{type:"success"})}return{columns:o,pagination:n,selectValue:t,tableDataEdit:r,rowStyle:l,onRowClick:u}}export{m as useColumns};
|
||||
import{m as s}from"./message-7116a117.js";import{b as r}from"./data-11b60b52.js";import"./index-8c77f9cd.js";function m(a){const t=Vue.ref(""),o=[{label:"ID",prop:"id",width:80},{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"}],n=Vue.reactive({pageSize:5,currentPage:1,layout:"prev, pager, next",total:r.length,background:!0,small:!0});function l({row:{name:e}}){return{cursor:"pointer",background:e===t.value?"#f5f7fa":""}}function u(e){t.value=e.name,a.value.blur(),s(`当前选中行的数据为:${JSON.stringify(e)}`,{type:"success"})}return{columns:o,pagination:n,selectValue:t,tableDataEdit:r,rowStyle:l,onRowClick:u}}export{m as useColumns};
|
1
dist/static/js/columns-0b473494.js
vendored
Normal file
1
dist/static/js/columns-0b473494.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
function i(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Vue.isVNode(e)}function s(){const{pkg:e,lastBuildTime:t}={pkg:{dependencies:{"@amap/amap-jsapi-loader":"^1.0.1","@howdyjs/mouse-menu":"^2.0.5","@logicflow/core":"^1.1.30","@logicflow/extension":"^1.1.30","@pureadmin/descriptions":"^1.1.0","@pureadmin/table":"^2.0.0","@pureadmin/utils":"^1.8.5","@vueuse/core":"^9.12.0","@vueuse/motion":"2.0.0-beta.12","@wangeditor/editor":"^5.1.21","@wangeditor/editor-for-vue":"^5.1.12","animate.css":"^4.1.1",axios:"^1.2.2","china-area-data":"^5.0.1",cropperjs:"^1.5.12",dayjs:"^1.11.7",echarts:"^5.4.1","el-table-infinite-scroll":"^3.0.1","element-plus":"2.2.28","element-resize-detector":"^1.2.4","intro.js":"^6.0.0","js-cookie":"^3.0.1",jsbarcode:"^3.11.5","md-editor-v3":"^2.7.2",mitt:"^3.0.0",mockjs:"^1.1.0",nprogress:"^0.2.0",path:"^0.12.7",pinia:"^2.0.30",qrcode:"^1.5.1",qs:"^6.11.0","responsive-storage":"^2.1.0",sortablejs:"^1.15.0",swiper:"^9.0.3",typeit:"^8.7.1","v-contextmenu":"3.0.0",vue:"^3.2.45","vue-i18n":"^9.2.2","vue-json-pretty":"^2.2.3","vue-pdf-embed":"^1.1.5","vue-router":"^4.1.6","vue-types":"^4.2.1","vue-virtual-scroller":"2.0.0-beta.7","vue3-danmaku":"^1.2.0",vuedraggable:"^4.1.0",xgplayer:"^2.32.2",xlsx:"^0.18.5"},devDependencies:{"@commitlint/cli":"13.1.0","@commitlint/config-conventional":"13.1.0","@iconify-icons/ep":"^1.2.10","@iconify-icons/ri":"^1.2.4","@iconify/vue":"^4.0.2","@intlify/unplugin-vue-i18n":"^0.8.1","@pureadmin/theme":"^3.0.0","@types/element-resize-detector":"1.1.3","@types/intro.js":"^5.1.0","@types/js-cookie":"^3.0.1","@types/mockjs":"^1.0.7","@types/node":"^18.11.9","@types/nprogress":"0.2.0","@types/qrcode":"^1.4.2","@types/qs":"^6.9.7","@types/sortablejs":"^1.15.0","@typescript-eslint/eslint-plugin":"^5.43.0","@typescript-eslint/parser":"^5.43.0","@vitejs/plugin-vue":"^4.0.0","@vitejs/plugin-vue-jsx":"^3.0.0","@vue/eslint-config-prettier":"^7.0.0","@vue/eslint-config-typescript":"^11.0.2",autoprefixer:"^10.4.13",cloc:"^2.11.0",cssnano:"^5.1.14",eslint:"^8.8.0","eslint-plugin-prettier":"^4.0.0","eslint-plugin-vue":"^9.7.0",husky:"^7.0.4","lint-staged":"11.1.2",picocolors:"^1.0.0",postcss:"^8.4.21","postcss-html":"^1.5.0","postcss-import":"^15.1.0","postcss-scss":"^4.0.6",prettier:"^2.5.1","pretty-quick":"3.1.1",rimraf:"3.0.2","rollup-plugin-visualizer":"^5.9.0",sass:"^1.57.1","sass-loader":"^13.2.0",stylelint:"^14.3.0","stylelint-config-html":"^1.0.0","stylelint-config-prettier":"^9.0.3","stylelint-config-recommended":"^9.0.0","stylelint-config-standard":"^29.0.0","stylelint-order":"^5.0.0",svgo:"^3.0.2",tailwindcss:"^3.2.4",terser:"^5.16.1",typescript:"^4.9.4","unplugin-vue-define-options":"^1.0.0",vite:"^4.1.1","vite-plugin-cdn-import":"^0.3.5","vite-plugin-compression":"^0.5.1","vite-plugin-mock":"^2.9.6","vite-plugin-remove-console":"^1.3.0","vite-svg-loader":"^4.0.0","vue-eslint-parser":"^9.1.0","vue-tsc":"^1.0.22"},name:"vue-pure-admin",version:"3.9.7"},lastBuildTime:"2023-02-08 18:10:27"},{version:r}=e;return{columns:[{label:"版本",cellRenderer:()=>Vue.createVNode(Vue.resolveComponent("el-tag"),{size:"small"},i(r)?r:{default:()=>[r]})},{label:"最后编译时间",cellRenderer:()=>Vue.createVNode(Vue.resolveComponent("el-tag"),{size:"small"},i(t)?t:{default:()=>[t]})},{label:"文档地址",cellRenderer:()=>Vue.createVNode("a",{href:"https://yiming_chang.gitee.io/pure-admin-doc",target:"_blank"},[Vue.createVNode("span",{style:"color: var(--el-color-primary)"},[Vue.createTextVNode("文档地址")])])},{label:"预览地址",cellRenderer:()=>Vue.createVNode("a",{href:"https://yiming_chang.gitee.io/vue-pure-admin",target:"_blank"},[Vue.createVNode("span",{style:"color: var(--el-color-primary)"},[Vue.createTextVNode("预览地址")])])},{label:"Github",cellRenderer:()=>Vue.createVNode("a",{href:"https://github.com/pure-admin/vue-pure-admin",target:"_blank"},[Vue.createVNode("span",{style:"color: var(--el-color-primary)"},[Vue.createTextVNode("Github")])])},{label:"QQ交流群",cellRenderer:()=>Vue.createVNode("a",{href:"https://jq.qq.com/?_wv=1027&k=E9fwmFGr",target:"_blank"},[Vue.createVNode("span",{style:"color: var(--el-color-primary)"},[Vue.createTextVNode("点击链接加入群聊【Pure Admin】")])])}]}}export{s as useColumns};
|
@ -1,4 +1,4 @@
|
||||
import{t as g}from"./data-fe7da62c.js";import{I as r,d as p}from"./index-8c77f9cd.js";function V(){const l=Vue.ref([]),a=Vue.ref(!0),t=Vue.ref("nohide"),u=Vue.ref("default"),s=Vue.ref(!1),o=Vue.ref("right"),f=[{label:"日期",prop:"date",hide:()=>t.value==="hideDate"},{label:"姓名",prop:"name",hide:()=>t.value==="hideName"},{label:"地址",prop:"address",hide:()=>t.value==="hideAddress"}],n=Vue.reactive({pageSize:10,currentPage:1,pageSizes:[10,15,20],total:0,align:"right",background:!0,small:!1}),i=Vue.reactive({text:"正在加载第一页...",viewBox:"-10, -10, 50, 50",spinner:`
|
||||
import{t as g}from"./data-11b60b52.js";import{I as r,d as p}from"./index-8c77f9cd.js";function V(){const l=Vue.ref([]),a=Vue.ref(!0),t=Vue.ref("nohide"),u=Vue.ref("default"),s=Vue.ref(!1),o=Vue.ref("right"),f=[{label:"日期",prop:"date",hide:()=>t.value==="hideDate"},{label:"姓名",prop:"name",hide:()=>t.value==="hideName"},{label:"地址",prop:"address",hide:()=>t.value==="hideAddress"}],n=Vue.reactive({pageSize:10,currentPage:1,pageSizes:[10,15,20],total:0,align:"right",background:!0,small:!1}),i=Vue.reactive({text:"正在加载第一页...",viewBox:"-10, -10, 50, 50",spinner:`
|
||||
<path class="path" d="
|
||||
M 30 15
|
||||
L 28 17
|
@ -1 +1 @@
|
||||
import{b as l}from"./data-fe7da62c.js";import"./index-8c77f9cd.js";function d(r,o){const n=Vue.ref([]),c=[{type:"selection",align:"left"},{label:"ID",prop:"id",width:80},{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"}],s=Vue.reactive({pageSize:10,currentPage:1,layout:"prev, pager, next",total:l.length,background:!0,small:!0});return{columns:c,pagination:s,selectValue:n,tableDataEdit:l,onSure:()=>{r.value.blur()},onClear:()=>{const{clearSelection:e}=o.value.getTableRef();e()},removeTag:e=>{const{toggleRowSelection:a}=o.value.getTableRef();a(l.filter(t=>t.name===e)[0],!1)},handleSelectionChange:e=>{const a=[];e.forEach(t=>{a.push(t.name)}),n.value=a}}}export{d as useColumns};
|
||||
import{b as l}from"./data-11b60b52.js";import"./index-8c77f9cd.js";function d(r,o){const n=Vue.ref([]),c=[{type:"selection",align:"left"},{label:"ID",prop:"id",width:80},{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"}],s=Vue.reactive({pageSize:10,currentPage:1,layout:"prev, pager, next",total:l.length,background:!0,small:!0});return{columns:c,pagination:s,selectValue:n,tableDataEdit:l,onSure:()=>{r.value.blur()},onClear:()=>{const{clearSelection:e}=o.value.getTableRef();e()},removeTag:e=>{const{toggleRowSelection:a}=o.value.getTableRef();a(l.filter(t=>t.name===e)[0],!1)},handleSelectionChange:e=>{const a=[];e.forEach(t=>{a.push(t.name)}),n.value=a}}}export{d as useColumns};
|
@ -1 +1 @@
|
||||
import{u as t,w as u}from"./xlsx-e927f539.js";import{a as m}from"./data-fe7da62c.js";import{d as i}from"./index-8c77f9cd.js";import{m as f}from"./message-7116a117.js";function w(){const r=Vue.ref(i(m,!0)),e=[{label:"ID",prop:"id"},{label:"日期",prop:"date"},{label:"姓名",prop:"name"}];return{columns:e,dataList:r,exportExcel:()=>{const s=r.value.map(o=>{const n=[];return e.forEach(c=>{n.push(o[c.prop])}),n}),a=[];e.forEach(o=>{a.push(o.label)}),s.unshift(a);const l=t.aoa_to_sheet(s),p=t.book_new();t.book_append_sheet(p,l,"数据报表"),u(p,"pure-admin-table.xlsx"),f("导出成功",{type:"success"})}}}export{w as useColumns};
|
||||
import{u as t,w as u}from"./xlsx-e927f539.js";import{a as m}from"./data-11b60b52.js";import{d as i}from"./index-8c77f9cd.js";import{m as f}from"./message-7116a117.js";function w(){const r=Vue.ref(i(m,!0)),e=[{label:"ID",prop:"id"},{label:"日期",prop:"date"},{label:"姓名",prop:"name"}];return{columns:e,dataList:r,exportExcel:()=>{const s=r.value.map(o=>{const n=[];return e.forEach(c=>{n.push(o[c.prop])}),n}),a=[];e.forEach(o=>{a.push(o.label)}),s.unshift(a);const l=t.aoa_to_sheet(s),p=t.book_new();t.book_append_sheet(p,l,"数据报表"),u(p,"pure-admin-table.xlsx"),f("导出成功",{type:"success"})}}}export{w as useColumns};
|
@ -1 +1 @@
|
||||
import{P as f}from"./print-a6e42845.js";import{b}from"./data-fe7da62c.js";import{d as c}from"./index-8c77f9cd.js";function m(e){const a=Vue.ref(c(b,!0)),t=[{label:"ID",prop:"id"},{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"}],o=()=>{f(e.value.getTableDoms().tableWrapper).toPrint};function n({column:{property:r},rowIndex:d}){if(r==="id")return d<3?{background:"#87baf9"}:{background:"#87e8de"}}function l({columnIndex:r}){return r===0?{background:"#f3b2d0"}:{background:"#fafafa"}}function u({rowIndex:r}){return r%2===1?{background:"#ffa39e"}:{background:"#91d5ff"}}return{columns:t,dataList:a,print:o,rowStyle:u,cellStyle:n,headerCellStyle:l}}export{m as useColumns};
|
||||
import{P as f}from"./print-a6e42845.js";import{b}from"./data-11b60b52.js";import{d as c}from"./index-8c77f9cd.js";function m(e){const a=Vue.ref(c(b,!0)),t=[{label:"ID",prop:"id"},{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"}],o=()=>{f(e.value.getTableDoms().tableWrapper).toPrint};function n({column:{property:r},rowIndex:d}){if(r==="id")return d<3?{background:"#87baf9"}:{background:"#87e8de"}}function l({columnIndex:r}){return r===0?{background:"#f3b2d0"}:{background:"#fafafa"}}function u({rowIndex:r}){return r%2===1?{background:"#ffa39e"}:{background:"#91d5ff"}}return{columns:t,dataList:a,print:o,rowStyle:u,cellStyle:n,headerCellStyle:l}}export{m as useColumns};
|
@ -1 +1 @@
|
||||
import{S as c}from"./sortable.esm-679e0872.js";import{d as s}from"./index-8c77f9cd.js";import{a as u}from"./data-fe7da62c.js";function b(){const e=Vue.ref(s(u,!0)),n=o=>{o.preventDefault(),Vue.nextTick(()=>{const r=document.querySelector(".el-table__body-wrapper tbody");c.create(r,{animation:300,handle:".drag-btn",onEnd:({newIndex:t,oldIndex:a})=>{const l=e.value.splice(a,1)[0];e.value.splice(t,0,l)}})})};return{columns:[{label:"ID",prop:"id",cellRenderer:({row:o})=>Vue.createVNode("div",{class:"flex items-center"},[Vue.createVNode(Vue.resolveComponent("iconify-icon-online"),{icon:"icon-park-outline:drag",class:"drag-btn cursor-grab",onMouseenter:r=>n(r)},null),Vue.createVNode("p",{class:"ml-[16px]"},[o.id])])},{label:"日期",prop:"date"},{label:"姓名",prop:"name"}],dataList:e}}export{b as useColumns};
|
||||
import{S as c}from"./sortable.esm-679e0872.js";import{d as s}from"./index-8c77f9cd.js";import{a as u}from"./data-11b60b52.js";function b(){const e=Vue.ref(s(u,!0)),n=o=>{o.preventDefault(),Vue.nextTick(()=>{const r=document.querySelector(".el-table__body-wrapper tbody");c.create(r,{animation:300,handle:".drag-btn",onEnd:({newIndex:t,oldIndex:a})=>{const l=e.value.splice(a,1)[0];e.value.splice(t,0,l)}})})};return{columns:[{label:"ID",prop:"id",cellRenderer:({row:o})=>Vue.createVNode("div",{class:"flex items-center"},[Vue.createVNode(Vue.resolveComponent("iconify-icon-online"),{icon:"icon-park-outline:drag",class:"drag-btn cursor-grab",onMouseenter:r=>n(r)},null),Vue.createVNode("p",{class:"ml-[16px]"},[o.id])])},{label:"日期",prop:"date"},{label:"姓名",prop:"name"}],dataList:e}}export{b as useColumns};
|
@ -1 +1 @@
|
||||
import{d as i,z as n,e as p}from"./index-8c77f9cd.js";import{a as c}from"./data-fe7da62c.js";import{m as u}from"./message-7116a117.js";import{t as f}from"./index-56f0b8e1.js";import"./index-5ecdd2b7.js";function w(){const e=Vue.ref(i(c,!0).splice(0,4)),t=[{label:"ID",prop:"id"},{label:"姓名",prop:"name"},{label:"日期",prop:"date"},{label:"echarts图表",slot:"echart"}],{isDark:r}=n(),s=Vue.computed(()=>r.value?"dark":"light");return e.value.forEach((h,a)=>{const{setOptions:o}=p(f(`PieChartRef${a}`),{theme:s});o({tooltip:{trigger:"item",confine:!0},series:[{name:"Github信息",type:"pie",data:[{value:1067,name:"watchers"},{value:4037,name:"star"},{value:859,name:"forks"}],emphasis:{itemStyle:{shadowBlur:10,shadowOffsetX:0,shadowColor:"rgba(0, 0, 0, 0.5)"}}}]},{name:"click",callback:({data:{name:l,value:m}})=>{u(`您点击了第 ${a+1} 行,图表标题为${l},图表数据为:${m}`,{type:"success"})}})}),{columns:t,dataList:e}}export{w as useColumns};
|
||||
import{d as i,z as n,e as p}from"./index-8c77f9cd.js";import{a as c}from"./data-11b60b52.js";import{m as u}from"./message-7116a117.js";import{t as f}from"./index-08272cc7.js";import"./index-b5591886.js";function w(){const e=Vue.ref(i(c,!0).splice(0,4)),t=[{label:"ID",prop:"id"},{label:"姓名",prop:"name"},{label:"日期",prop:"date"},{label:"echarts图表",slot:"echart"}],{isDark:r}=n(),s=Vue.computed(()=>r.value?"dark":"light");return e.value.forEach((h,a)=>{const{setOptions:o}=p(f(`PieChartRef${a}`),{theme:s});o({tooltip:{trigger:"item",confine:!0},series:[{name:"Github信息",type:"pie",data:[{value:1067,name:"watchers"},{value:4037,name:"star"},{value:859,name:"forks"}],emphasis:{itemStyle:{shadowBlur:10,shadowOffsetX:0,shadowColor:"rgba(0, 0, 0, 0.5)"}}}]},{name:"click",callback:({data:{name:l,value:m}})=>{u(`您点击了第 ${a+1} 行,图表标题为${l},图表数据为:${m}`,{type:"success"})}})}),{columns:t,dataList:e}}export{w as useColumns};
|
@ -1 +1 @@
|
||||
import{b as m}from"./data-fe7da62c.js";import{m as d}from"./message-7116a117.js";import{d as h,I as b}from"./index-8c77f9cd.js";import{d as g}from"./edit-pen-37b5ced2.js";import{C}from"./check-f53d8364.js";function y(){const a=Vue.ref({}),t=Vue.ref({}),o=Vue.ref(-1),r=Vue.ref(h(m,!0)),s=Vue.computed(()=>u=>{var e;return(e=a.value[u])==null?void 0:e.value}),l=Vue.computed(()=>u=>{var e;return(e=t.value[u])==null?void 0:e.editing}),n=Vue.computed(()=>(u,e=!1)=>["cursor-pointer","ml-2","transition","delay-100",e?["hover:scale-110","hover:text-red-500"]:l.value(u)&&["scale-150","text-red-500"]]),c=[{label:"ID(可编辑)",prop:"id",cellRenderer:({row:u,index:e})=>Vue.createVNode("div",{class:"flex-bc w-full h-[32px]",onMouseenter:()=>o.value=e,onMouseleave:()=>i(e)},[Vue.withDirectives(Vue.createVNode("p",null,[u.id]),[[Vue.vShow,!l.value(e)]]),Vue.createVNode(Vue.Transition,{"enter-active-class":"animate__animated animate__fadeInUp animate__faster"},{default:()=>[Vue.withDirectives(Vue.createVNode(Vue.resolveComponent("el-input"),{modelValue:s.value(e),onInput:f=>V(f,e)},null),[[Vue.vShow,l.value(e)]])]}),Vue.withDirectives(Vue.createVNode(Vue.resolveComponent("iconify-icon-offline"),{icon:C,class:n.value(e),onClick:()=>p(e)},null),[[Vue.vShow,l.value(e)]]),Vue.withDirectives(Vue.createVNode(Vue.resolveComponent("iconify-icon-offline"),{icon:g,class:n.value(e,!0),onClick:()=>v(u,e)},null),[[Vue.vShow,o.value===e&&!l.value(e)]])])},{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"}];function v({id:u},e){a.value[e]=Object.assign({},a.value[e],{value:u}),t.value[e]=Object.assign({},t.value[e],{editing:!0})}function i(u){var e;(e=a.value[u])!=null&&e.value?o.value=u:o.value=-1}function V(u,e){a.value[e].value=u}function p(u){r.value[u].id=a.value[u].value,d(`您编辑了第 ${u+1} 行,编辑后数据为:${JSON.stringify(r.value[u])}`,{type:"success"}),t.value[u]=Object.assign({},t.value[u],{editing:!1}),b().then(()=>a.value[u].value=null)}return{columns:c,dataList:r}}export{y as useColumns};
|
||||
import{b as m}from"./data-11b60b52.js";import{m as d}from"./message-7116a117.js";import{d as h,I as b}from"./index-8c77f9cd.js";import{d as g}from"./edit-pen-37b5ced2.js";import{C}from"./check-f53d8364.js";function y(){const a=Vue.ref({}),t=Vue.ref({}),o=Vue.ref(-1),r=Vue.ref(h(m,!0)),s=Vue.computed(()=>u=>{var e;return(e=a.value[u])==null?void 0:e.value}),l=Vue.computed(()=>u=>{var e;return(e=t.value[u])==null?void 0:e.editing}),n=Vue.computed(()=>(u,e=!1)=>["cursor-pointer","ml-2","transition","delay-100",e?["hover:scale-110","hover:text-red-500"]:l.value(u)&&["scale-150","text-red-500"]]),c=[{label:"ID(可编辑)",prop:"id",cellRenderer:({row:u,index:e})=>Vue.createVNode("div",{class:"flex-bc w-full h-[32px]",onMouseenter:()=>o.value=e,onMouseleave:()=>i(e)},[Vue.withDirectives(Vue.createVNode("p",null,[u.id]),[[Vue.vShow,!l.value(e)]]),Vue.createVNode(Vue.Transition,{"enter-active-class":"animate__animated animate__fadeInUp animate__faster"},{default:()=>[Vue.withDirectives(Vue.createVNode(Vue.resolveComponent("el-input"),{modelValue:s.value(e),onInput:f=>V(f,e)},null),[[Vue.vShow,l.value(e)]])]}),Vue.withDirectives(Vue.createVNode(Vue.resolveComponent("iconify-icon-offline"),{icon:C,class:n.value(e),onClick:()=>p(e)},null),[[Vue.vShow,l.value(e)]]),Vue.withDirectives(Vue.createVNode(Vue.resolveComponent("iconify-icon-offline"),{icon:g,class:n.value(e,!0),onClick:()=>v(u,e)},null),[[Vue.vShow,o.value===e&&!l.value(e)]])])},{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"}];function v({id:u},e){a.value[e]=Object.assign({},a.value[e],{value:u}),t.value[e]=Object.assign({},t.value[e],{editing:!0})}function i(u){var e;(e=a.value[u])!=null&&e.value?o.value=u:o.value=-1}function V(u,e){a.value[e].value=u}function p(u){r.value[u].id=a.value[u].value,d(`您编辑了第 ${u+1} 行,编辑后数据为:${JSON.stringify(r.value[u])}`,{type:"success"}),t.value[u]=Object.assign({},t.value[u],{editing:!1}),b().then(()=>a.value[u].value=null)}return{columns:c,dataList:r}}export{y as useColumns};
|
@ -1 +1 @@
|
||||
import{S as c}from"./sortable.esm-679e0872.js";import{d as s}from"./index-8c77f9cd.js";import{a as m}from"./data-fe7da62c.js";function f(){const o=Vue.ref(s(m,!0)),e=Vue.ref([{label:"ID",prop:"id"},{label:"日期",prop:"date"},{label:"姓名",prop:"name"}]),t=Vue.ref([{label:"ID",prop:r=>e.value[r].prop},{label:"日期",prop:r=>e.value[r].prop},{label:"姓名",prop:r=>e.value[r].prop}]),l=r=>{r.preventDefault(),Vue.nextTick(()=>{const p=document.querySelector(".el-table__header-wrapper tr");c.create(p,{animation:300,delay:0,onEnd:({newIndex:n,oldIndex:a})=>{const u=e.value[a];e.value.splice(a,1),e.value.splice(n,0,u)}})})};return Vue.onMounted(()=>{Vue.nextTick(()=>{l(event)})}),{columns:t,dataList:o,columnsDrag:e}}export{f as useColumns};
|
||||
import{S as c}from"./sortable.esm-679e0872.js";import{d as s}from"./index-8c77f9cd.js";import{a as m}from"./data-11b60b52.js";function f(){const o=Vue.ref(s(m,!0)),e=Vue.ref([{label:"ID",prop:"id"},{label:"日期",prop:"date"},{label:"姓名",prop:"name"}]),t=Vue.ref([{label:"ID",prop:r=>e.value[r].prop},{label:"日期",prop:r=>e.value[r].prop},{label:"姓名",prop:r=>e.value[r].prop}]),l=r=>{r.preventDefault(),Vue.nextTick(()=>{const p=document.querySelector(".el-table__header-wrapper tr");c.create(p,{animation:300,delay:0,onEnd:({newIndex:n,oldIndex:a})=>{const u=e.value[a];e.value.splice(a,1),e.value.splice(n,0,u)}})})};return Vue.onMounted(()=>{Vue.nextTick(()=>{l(event)})}),{columns:t,dataList:o,columnsDrag:e}}export{f as useColumns};
|
1
dist/static/js/columns-a50527d9.js
vendored
1
dist/static/js/columns-a50527d9.js
vendored
@ -1 +0,0 @@
|
||||
function i(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Vue.isVNode(e)}function s(){const{pkg:e,lastBuildTime:t}={pkg:{dependencies:{"@amap/amap-jsapi-loader":"^1.0.1","@howdyjs/mouse-menu":"^2.0.5","@logicflow/core":"^1.1.30","@logicflow/extension":"^1.1.30","@pureadmin/descriptions":"^1.1.0","@pureadmin/table":"^1.9.0","@pureadmin/utils":"^1.8.5","@vueuse/core":"^9.10.0","@vueuse/motion":"2.0.0-beta.12","@wangeditor/editor":"^5.1.21","@wangeditor/editor-for-vue":"^5.1.12","animate.css":"^4.1.1",axios:"^1.2.2","china-area-data":"^5.0.1",cropperjs:"^1.5.12",dayjs:"^1.11.7",echarts:"^5.4.1","el-table-infinite-scroll":"^3.0.1","element-plus":"^2.2.28","element-resize-detector":"^1.2.4","intro.js":"^6.0.0","js-cookie":"^3.0.1",jsbarcode:"^3.11.5","md-editor-v3":"^2.7.2",mitt:"^3.0.0",mockjs:"^1.1.0",nprogress:"^0.2.0",path:"^0.12.7",pinia:"^2.0.28",qrcode:"^1.5.1",qs:"^6.11.0","responsive-storage":"^2.1.0",sortablejs:"^1.15.0",swiper:"^8.4.5",typeit:"^8.7.1","v-contextmenu":"3.0.0",vue:"^3.2.45","vue-i18n":"^9.2.2","vue-json-pretty":"^2.2.3","vue-pdf-embed":"^1.1.5","vue-router":"^4.1.6","vue-types":"^4.2.1","vue-virtual-scroller":"2.0.0-beta.7","vue3-danmaku":"^1.2.0",vuedraggable:"^4.1.0",xgplayer:"^2.32.2",xlsx:"^0.18.5"},devDependencies:{"@commitlint/cli":"13.1.0","@commitlint/config-conventional":"13.1.0","@iconify-icons/ep":"^1.2.10","@iconify-icons/ri":"^1.2.4","@iconify/vue":"^4.0.2","@intlify/unplugin-vue-i18n":"^0.8.1","@pureadmin/theme":"^3.0.0","@types/element-resize-detector":"1.1.3","@types/intro.js":"^5.1.0","@types/js-cookie":"^3.0.1","@types/mockjs":"^1.0.7","@types/node":"^18.11.9","@types/nprogress":"0.2.0","@types/qrcode":"^1.4.2","@types/qs":"^6.9.7","@types/sortablejs":"^1.15.0","@typescript-eslint/eslint-plugin":"^5.43.0","@typescript-eslint/parser":"^5.43.0","@vitejs/plugin-vue":"^4.0.0","@vitejs/plugin-vue-jsx":"^3.0.0","@vue/eslint-config-prettier":"^7.0.0","@vue/eslint-config-typescript":"^11.0.2",autoprefixer:"^10.4.13",cloc:"^2.11.0",cssnano:"^5.1.14",eslint:"^8.8.0","eslint-plugin-prettier":"^4.0.0","eslint-plugin-vue":"^9.7.0",husky:"^7.0.4","lint-staged":"11.1.2",picocolors:"^1.0.0",postcss:"^8.4.21","postcss-html":"^1.5.0","postcss-import":"^15.1.0","postcss-scss":"^4.0.6",prettier:"^2.5.1","pretty-quick":"3.1.1",rimraf:"3.0.2","rollup-plugin-visualizer":"^5.9.0",sass:"^1.57.1","sass-loader":"^13.2.0",stylelint:"^14.3.0","stylelint-config-html":"^1.0.0","stylelint-config-prettier":"^9.0.3","stylelint-config-recommended":"^9.0.0","stylelint-config-standard":"^29.0.0","stylelint-order":"^5.0.0",svgo:"^3.0.2",tailwindcss:"^3.2.4",terser:"^5.16.1",typescript:"^4.9.4","unplugin-vue-define-options":"^1.0.0",vite:"^4.0.4","vite-plugin-cdn-import":"^0.3.5","vite-plugin-compression":"^0.5.1","vite-plugin-mock":"^2.9.6","vite-plugin-remove-console":"^1.3.0","vite-svg-loader":"^4.0.0","vue-eslint-parser":"^9.1.0","vue-tsc":"^1.0.22"},name:"vue-pure-admin",version:"3.9.7"},lastBuildTime:"2023-01-08 16:12:35"},{version:r}=e;return{columns:[{label:"版本",cellRenderer:()=>Vue.createVNode(Vue.resolveComponent("el-tag"),{size:"small"},i(r)?r:{default:()=>[r]})},{label:"最后编译时间",cellRenderer:()=>Vue.createVNode(Vue.resolveComponent("el-tag"),{size:"small"},i(t)?t:{default:()=>[t]})},{label:"文档地址",cellRenderer:()=>Vue.createVNode("a",{href:"https://yiming_chang.gitee.io/pure-admin-doc",target:"_blank"},[Vue.createVNode("span",{style:"color: var(--el-color-primary)"},[Vue.createTextVNode("文档地址")])])},{label:"预览地址",cellRenderer:()=>Vue.createVNode("a",{href:"https://yiming_chang.gitee.io/vue-pure-admin",target:"_blank"},[Vue.createVNode("span",{style:"color: var(--el-color-primary)"},[Vue.createTextVNode("预览地址")])])},{label:"Github",cellRenderer:()=>Vue.createVNode("a",{href:"https://github.com/xiaoxian521/vue-pure-admin",target:"_blank"},[Vue.createVNode("span",{style:"color: var(--el-color-primary)"},[Vue.createTextVNode("Github")])])},{label:"QQ交流群",cellRenderer:()=>Vue.createVNode("a",{href:"https://jq.qq.com/?_wv=1027&k=E9fwmFGr",target:"_blank"},[Vue.createVNode("span",{style:"color: var(--el-color-primary)"},[Vue.createTextVNode("点击链接加入群聊【Pure Admin】")])])}]}}export{s as useColumns};
|
@ -1,4 +1,4 @@
|
||||
import{a as F}from"./data-fe7da62c.js";import{d as W}from"./index-8c77f9cd.js";import{m as $}from"./message-7116a117.js";/*! *****************************************************************************
|
||||
import{a as F}from"./data-11b60b52.js";import{d as W}from"./index-8c77f9cd.js";import{m as $}from"./message-7116a117.js";/*! *****************************************************************************
|
||||
Copyright (c) Microsoft Corporation.
|
||||
|
||||
Permission to use, copy, modify, and/or distribute this software for any
|
@ -1 +1 @@
|
||||
import{m as a}from"./message-7116a117.js";import{t as u}from"./data-c667adbf.js";import"./index-8c77f9cd.js";function i(){const t=Vue.ref(""),o=Vue.computed(()=>u.filter(e=>!t.value||e.name.toLowerCase().includes(t.value.toLowerCase()))),r=(e,l)=>{a(`您编辑了第 ${e} 行,数据为:${JSON.stringify(l)}`,{type:"success"})},n=(e,l)=>{a(`您删除了第 ${e} 行,数据为:${JSON.stringify(l)}`)};return{columns:[{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"},{align:"right",headerRenderer:()=>Vue.createVNode(Vue.resolveComponent("el-input"),{modelValue:t.value,"onUpdate:modelValue":e=>t.value=e,size:"small",clearable:!0,placeholder:"Type to search"},null),cellRenderer:({index:e,row:l})=>Vue.createVNode(Vue.Fragment,null,[Vue.createVNode(Vue.resolveComponent("el-button"),{size:"small",onClick:()=>r(e+1,l)},{default:()=>[Vue.createTextVNode("Edit")]}),Vue.createVNode(Vue.resolveComponent("el-button"),{size:"small",type:"danger",onClick:()=>n(e+1,l)},{default:()=>[Vue.createTextVNode("Delete")]})])}],filterTableData:o}}export{i as useColumns};
|
||||
import{m as a}from"./message-7116a117.js";import{t as u}from"./data-ec6a9b49.js";import"./index-8c77f9cd.js";function i(){const t=Vue.ref(""),o=Vue.computed(()=>u.filter(e=>!t.value||e.name.toLowerCase().includes(t.value.toLowerCase()))),r=(e,l)=>{a(`您编辑了第 ${e} 行,数据为:${JSON.stringify(l)}`,{type:"success"})},n=(e,l)=>{a(`您删除了第 ${e} 行,数据为:${JSON.stringify(l)}`)};return{columns:[{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"},{align:"right",headerRenderer:()=>Vue.createVNode(Vue.resolveComponent("el-input"),{modelValue:t.value,"onUpdate:modelValue":e=>t.value=e,size:"small",clearable:!0,placeholder:"Type to search"},null),cellRenderer:({index:e,row:l})=>Vue.createVNode(Vue.Fragment,null,[Vue.createVNode(Vue.resolveComponent("el-button"),{size:"small",onClick:()=>r(e+1,l)},{default:()=>[Vue.createTextVNode("Edit")]}),Vue.createVNode(Vue.resolveComponent("el-button"),{size:"small",type:"danger",onClick:()=>n(e+1,l)},{default:()=>[Vue.createTextVNode("Delete")]})])}],filterTableData:o}}export{i as useColumns};
|
@ -1 +1 @@
|
||||
import{b as r}from"./data-fe7da62c.js";import{d as l,I as p,l as s}from"./index-8c77f9cd.js";function i(e){const t=Vue.ref(l(r,!0)),a=[{label:"ID",prop:"id"},{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"}];return Vue.onMounted(()=>{p().then(()=>{const{setWatermark:o}=s(e.value.getTableDoms().tableWrapper);o("编程即艺术",{font:"16px Microsoft YaHei",globalAlpha:.8,forever:!0,width:252,height:80})})}),{columns:a,dataList:t}}export{i as useColumns};
|
||||
import{b as r}from"./data-11b60b52.js";import{d as l,I as p,l as s}from"./index-8c77f9cd.js";function i(e){const t=Vue.ref(l(r,!0)),a=[{label:"ID",prop:"id"},{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"}];return Vue.onMounted(()=>{p().then(()=>{const{setWatermark:o}=s(e.value.getTableDoms().tableWrapper);o("编程即艺术",{font:"16px Microsoft YaHei",globalAlpha:.8,forever:!0,width:252,height:80})})}),{columns:a,dataList:t}}export{i as useColumns};
|
@ -1 +1 @@
|
||||
import{m as l}from"./message-7116a117.js";import{t as r}from"./data-c667adbf.js";import"./index-8c77f9cd.js";function s(){const o=[{label:"日期",prop:"date",cellRenderer:({row:e})=>Vue.createVNode("div",{style:"display: flex; align-items: center"},[Vue.createVNode(Vue.resolveComponent("iconify-icon-online"),{icon:"ep:timer"},null),Vue.createVNode("span",{style:"margin-left: 10px"},[e.date])])},{label:"姓名",prop:"name",cellRenderer:({row:e})=>Vue.createVNode(Vue.resolveComponent("el-popover"),{effect:"light",trigger:"hover",placement:"top",width:"auto"},{default:()=>Vue.createVNode(Vue.Fragment,null,[Vue.createVNode("div",null,[Vue.createTextVNode("name: "),e.name]),Vue.createVNode("div",null,[Vue.createTextVNode("address: "),e.address])]),reference:()=>Vue.createVNode(Vue.resolveComponent("el-tag"),null,{default:()=>[e.name]})})},{label:"地址",prop:"address"},{label:"操作",cellRenderer:({index:e,row:t})=>Vue.createVNode(Vue.Fragment,null,[Vue.createVNode(Vue.resolveComponent("el-button"),{size:"small",onClick:()=>a(e+1,t)},{default:()=>[Vue.createTextVNode("Edit")]}),Vue.createVNode(Vue.resolveComponent("el-button"),{size:"small",type:"danger",onClick:()=>n(e+1,t)},{default:()=>[Vue.createTextVNode("Delete")]})])}],a=(e,t)=>{l(`您编辑了第 ${e} 行,数据为:${JSON.stringify(t)}`,{type:"success"})},n=(e,t)=>{l(`您删除了第 ${e} 行,数据为:${JSON.stringify(t)}`)};return{columns:o,tableData:r}}export{s as useColumns};
|
||||
import{m as l}from"./message-7116a117.js";import{t as r}from"./data-ec6a9b49.js";import"./index-8c77f9cd.js";function s(){const o=[{label:"日期",prop:"date",cellRenderer:({row:e})=>Vue.createVNode("div",{style:"display: flex; align-items: center"},[Vue.createVNode(Vue.resolveComponent("iconify-icon-online"),{icon:"ep:timer"},null),Vue.createVNode("span",{style:"margin-left: 10px"},[e.date])])},{label:"姓名",prop:"name",cellRenderer:({row:e})=>Vue.createVNode(Vue.resolveComponent("el-popover"),{effect:"light",trigger:"hover",placement:"top",width:"auto"},{default:()=>Vue.createVNode(Vue.Fragment,null,[Vue.createVNode("div",null,[Vue.createTextVNode("name: "),e.name]),Vue.createVNode("div",null,[Vue.createTextVNode("address: "),e.address])]),reference:()=>Vue.createVNode(Vue.resolveComponent("el-tag"),null,{default:()=>[e.name]})})},{label:"地址",prop:"address"},{label:"操作",cellRenderer:({index:e,row:t})=>Vue.createVNode(Vue.Fragment,null,[Vue.createVNode(Vue.resolveComponent("el-button"),{size:"small",onClick:()=>a(e+1,t)},{default:()=>[Vue.createTextVNode("Edit")]}),Vue.createVNode(Vue.resolveComponent("el-button"),{size:"small",type:"danger",onClick:()=>n(e+1,t)},{default:()=>[Vue.createTextVNode("Delete")]})])}],a=(e,t)=>{l(`您编辑了第 ${e} 行,数据为:${JSON.stringify(t)}`,{type:"success"})},n=(e,t)=>{l(`您删除了第 ${e} 行,数据为:${JSON.stringify(t)}`)};return{columns:o,tableData:r}}export{s as useColumns};
|
@ -1 +1 @@
|
||||
import{_ as o}from"./customIndex.vue_vue_type_script_setup_true_lang-9b87a8c9.js";import"./data-c667adbf.js";import"./index-8c77f9cd.js";export{o as default};
|
||||
import{_ as o}from"./customIndex.vue_vue_type_script_setup_true_lang-0e1c5acd.js";import"./data-ec6a9b49.js";import"./index-8c77f9cd.js";export{o as default};
|
@ -1 +1 @@
|
||||
import{t as o}from"./data-c667adbf.js";const u=Vue.defineComponent({__name:"customIndex",setup(a){const t=[{type:"index",index:e=>e*2},{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"}];return(e,p)=>{const n=Vue.resolveComponent("pure-table");return Vue.openBlock(),Vue.createBlock(n,{data:Vue.unref(o),columns:t},null,8,["data"])}}});export{u as _};
|
||||
import{t as o}from"./data-ec6a9b49.js";const u=Vue.defineComponent({__name:"customIndex",setup(a){const t=[{type:"index",index:e=>e*2},{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"}];return(e,p)=>{const n=Vue.resolveComponent("pure-table");return Vue.openBlock(),Vue.createBlock(n,{data:Vue.unref(o),columns:t},null,8,["data"])}}});export{u as _};
|
@ -1,4 +1,4 @@
|
||||
import{a as B}from"./index-4b83e049.js";import{e as H}from"./mitt-7f99bbc0.js";import{r as x}from"./index-8c77f9cd.js";import{a as Q,o as A,c as L,r as U,q as W}from"./index-cd980a4b.js";import{u as q}from"./app-29e8e368.js";import{u as $}from"./epTheme-80ea1c2b.js";import{a as J,r as K}from"./multiTags-d9cd5aad.js";function X(){const{$storage:t,$config:e}=x(),o=()=>{J().multiTagsCache&&(!t.tags||t.tags.length===0)&&(t.tags=K),t.locale||(t.locale={locale:(e==null?void 0:e.Locale)??"zh"},VueI18n.useI18n().locale.value=(e==null?void 0:e.Locale)??"zh"),t.layout||(t.layout={layout:(e==null?void 0:e.Layout)??"vertical",theme:(e==null?void 0:e.Theme)??"default",darkMode:(e==null?void 0:e.DarkMode)??!1,sidebarStatus:(e==null?void 0:e.SidebarStatus)??!0,epThemeColor:(e==null?void 0:e.EpThemeColor)??"#409EFF"}),t.configure||(t.configure={grey:(e==null?void 0:e.Grey)??!1,weak:(e==null?void 0:e.Weak)??!1,hideTabs:(e==null?void 0:e.HideTabs)??!1,showLogo:(e==null?void 0:e.ShowLogo)??!0,showModel:(e==null?void 0:e.ShowModel)??"smart",multiTagsCache:(e==null?void 0:e.MultiTagsCache)??!1})},n=Vue.computed(()=>t==null?void 0:t.layout.layout),a=Vue.computed(()=>t.layout);return{layout:n,layoutTheme:a,initStorage:o}}const _="当前路由配置不正确,请检查配置";function Y(){var V;const t=q(),e=VueRouter.useRouter().options.routes,{wholeMenus:o}=Pinia.storeToRefs(Q()),n=((V=B())==null?void 0:V.TooltipEffect)??"light",a=Vue.computed(()=>{var u;return(u=A())==null?void 0:u.username}),s=Vue.computed(()=>(u,c)=>({background:u===c?$().epThemeColor:"",color:u===c?"#f4f4f5":"#000"})),d=Vue.computed(()=>(u,c)=>u===c?"":"dark:hover:!text-primary"),h=Vue.computed(()=>a.value?{marginRight:"10px"}:""),f=Vue.computed(()=>!t.getSidebarStatus),T=Vue.computed(()=>t.getDevice),{$storage:i,$config:r}=x(),l=Vue.computed(()=>{var u;return(u=i==null?void 0:i.layout)==null?void 0:u.layout}),m=Vue.computed(()=>r.Title);function b(u){const c=B().Title;c?document.title=`${L(u.title)} | ${c}`:document.title=L(u.title)}function y(){A().logOut()}function P(){U.push("/welcome")}function R(){H.emit("openPanel")}function D(){t.toggleSideBar()}function j(u){u==null||u.handleResize()}function O(u){var v;if(!u.children)return console.error(_);const c=/^http(s?):\/\//,p=(v=u.children[0])==null?void 0:v.path;return c.test(p)?u.path+"/"+p:p}function F(u,c){if(o.value.length===0||G(u))return;let p="";const v=u.lastIndexOf("/");v>0&&(p=u.slice(0,v));function C(M,w){return w?w.map(g=>{g.path===M?g.redirect?C(g.redirect,g.children):H.emit("changLayoutRoute",{indexPath:M,parentPath:p}):g.children&&C(M,g.children)}):console.error(_)}C(u,c)}function G(u){return W.includes(u)}return{title:m,device:T,layout:l,logout:y,routers:e,$storage:i,backHome:P,onPanel:R,changeTitle:b,toggleSideBar:D,menuSelect:F,handleResize:j,resolvePath:O,isCollapse:f,pureApp:t,username:a,avatarsStyle:h,tooltipEffect:n,getDropdownItemStyle:s,getDropdownItemClass:d}}function ke(t){const{$storage:e,changeTitle:o,handleResize:n}=Y(),{locale:a,t:s}=VueI18n.useI18n(),d=VueRouter.useRoute();function h(){e.locale={locale:"zh"},a.value="zh",t&&n(t.value)}function f(){e.locale={locale:"en"},a.value="en",t&&n(t.value)}return Vue.watch(()=>a.value,()=>{o(d.meta)}),{t:s,route:d,locale:a,translationCh:h,translationEn:f}}const Z={xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em","aria-hidden":"true",class:"globalization",viewBox:"0 0 512 512"},ee=Vue.createElementVNode("path",{fill:"currentColor",d:"m478.33 433.6-90-218a22 22 0 0 0-40.67 0l-90 218a22 22 0 1 0 40.67 16.79L316.66 406h102.67l18.33 44.39A22 22 0 0 0 458 464a22 22 0 0 0 20.32-30.4zM334.83 362 368 281.65 401.17 362zm-66.99-19.08a22 22 0 0 0-4.89-30.7c-.2-.15-15-11.13-36.49-34.73 39.65-53.68 62.11-114.75 71.27-143.49H330a22 22 0 0 0 0-44H214V70a22 22 0 0 0-44 0v20H54a22 22 0 0 0 0 44h197.25c-9.52 26.95-27.05 69.5-53.79 108.36-31.41-41.68-43.08-68.65-43.17-68.87a22 22 0 0 0-40.58 17c.58 1.38 14.55 34.23 52.86 83.93.92 1.19 1.83 2.35 2.74 3.51-39.24 44.35-77.74 71.86-93.85 80.74a22 22 0 1 0 21.07 38.63c2.16-1.18 48.6-26.89 101.63-85.59 22.52 24.08 38 35.44 38.93 36.1a22 22 0 0 0 30.75-4.9z"},null,-1),te=[ee];function ne(t,e){return Vue.openBlock(),Vue.createElementBlock("svg",Z,te)}const xe={render:ne},k={outputDir:"",defaultScopeName:"",includeStyleWithColors:[],extract:!0,themeLinkTagId:"theme-link-tag",themeLinkTagInjectTo:"head",removeCssScopeName:!1,customThemeCssFileName:null,arbitraryMode:!1,defaultPrimaryColor:"",customThemeOutputPath:"C:/Users/Administrator/Desktop/vue-pure-admin/node_modules/.pnpm/@pureadmin+theme@3.0.0/node_modules/@pureadmin/theme/setCustomTheme.js",styleTagId:"custom-theme-tagid",InjectDefaultStyleTagToHtml:!0,hueDiffControls:{low:0,high:0},multipleScopeVars:[{scopeName:"layout-theme-default",varsContent:`
|
||||
import{a as T}from"./index-4b83e049.js";import{e as H}from"./mitt-7f99bbc0.js";import{r as x}from"./index-8c77f9cd.js";import{a as Q,o as L,c as A,r as U,q as W}from"./index-e3206f59.js";import{u as q}from"./app-29e8e368.js";import{u as $}from"./epTheme-80ea1c2b.js";import{a as J,r as K}from"./multiTags-d9cd5aad.js";function X(){const{$storage:t,$config:e}=x(),o=()=>{J().multiTagsCache&&(!t.tags||t.tags.length===0)&&(t.tags=K),t.locale||(t.locale={locale:(e==null?void 0:e.Locale)??"zh"},VueI18n.useI18n().locale.value=(e==null?void 0:e.Locale)??"zh"),t.layout||(t.layout={layout:(e==null?void 0:e.Layout)??"vertical",theme:(e==null?void 0:e.Theme)??"default",darkMode:(e==null?void 0:e.DarkMode)??!1,sidebarStatus:(e==null?void 0:e.SidebarStatus)??!0,epThemeColor:(e==null?void 0:e.EpThemeColor)??"#409EFF"}),t.configure||(t.configure={grey:(e==null?void 0:e.Grey)??!1,weak:(e==null?void 0:e.Weak)??!1,hideTabs:(e==null?void 0:e.HideTabs)??!1,showLogo:(e==null?void 0:e.ShowLogo)??!0,showModel:(e==null?void 0:e.ShowModel)??"smart",multiTagsCache:(e==null?void 0:e.MultiTagsCache)??!1})},n=Vue.computed(()=>t==null?void 0:t.layout.layout),a=Vue.computed(()=>t.layout);return{layout:n,layoutTheme:a,initStorage:o}}const _="当前路由配置不正确,请检查配置";function Y(){var V;const t=q(),e=VueRouter.useRouter().options.routes,{wholeMenus:o}=Pinia.storeToRefs(Q()),n=((V=T())==null?void 0:V.TooltipEffect)??"light",a=Vue.computed(()=>{var u;return(u=L())==null?void 0:u.username}),s=Vue.computed(()=>(u,c)=>({background:u===c?$().epThemeColor:"",color:u===c?"#f4f4f5":"#000"})),f=Vue.computed(()=>(u,c)=>u===c?"":"dark:hover:!text-primary"),h=Vue.computed(()=>a.value?{marginRight:"10px"}:""),d=Vue.computed(()=>!t.getSidebarStatus),b=Vue.computed(()=>t.getDevice),{$storage:i,$config:r}=x(),l=Vue.computed(()=>{var u;return(u=i==null?void 0:i.layout)==null?void 0:u.layout}),m=Vue.computed(()=>r.Title);function y(u){const c=T().Title;c?document.title=`${A(u.title)} | ${c}`:document.title=A(u.title)}function C(){L().logOut()}function P(){U.push("/welcome")}function R(){H.emit("openPanel")}function D(){t.toggleSideBar()}function j(u){u==null||u.handleResize()}function O(u){var v;if(!u.children)return console.error(_);const c=/^http(s?):\/\//,g=(v=u.children[0])==null?void 0:v.path;return c.test(g)?u.path+"/"+g:g}function F(u,c){if(o.value.length===0||G(u))return;let g="";const v=u.lastIndexOf("/");v>0&&(g=u.slice(0,v));function M(B,w){return w?w.map(p=>{p.path===B?p.redirect?M(p.redirect,p.children):H.emit("changLayoutRoute",{indexPath:B,parentPath:g}):p.children&&M(B,p.children)}):console.error(_)}M(u,c)}function G(u){return W.includes(u)}return{title:m,device:b,layout:l,logout:C,routers:e,$storage:i,backHome:P,onPanel:R,changeTitle:y,toggleSideBar:D,menuSelect:F,handleResize:j,resolvePath:O,isCollapse:d,pureApp:t,username:a,avatarsStyle:h,tooltipEffect:n,getDropdownItemStyle:s,getDropdownItemClass:f}}function ke(t){const{$storage:e,changeTitle:o,handleResize:n}=Y(),{locale:a,t:s}=VueI18n.useI18n(),f=VueRouter.useRoute();function h(){e.locale={locale:"zh"},a.value="zh",t&&n(t.value)}function d(){e.locale={locale:"en"},a.value="en",t&&n(t.value)}return Vue.watch(()=>a.value,()=>{o(f.meta)}),{t:s,route:f,locale:a,translationCh:h,translationEn:d}}const Z={xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em","aria-hidden":"true",class:"globalization",viewBox:"0 0 512 512"},ee=Vue.createElementVNode("path",{fill:"currentColor",d:"m478.33 433.6-90-218a22 22 0 0 0-40.67 0l-90 218a22 22 0 1 0 40.67 16.79L316.66 406h102.67l18.33 44.39A22 22 0 0 0 458 464a22 22 0 0 0 20.32-30.4zM334.83 362 368 281.65 401.17 362zm-66.99-19.08a22 22 0 0 0-4.89-30.7c-.2-.15-15-11.13-36.49-34.73 39.65-53.68 62.11-114.75 71.27-143.49H330a22 22 0 0 0 0-44H214V70a22 22 0 0 0-44 0v20H54a22 22 0 0 0 0 44h197.25c-9.52 26.95-27.05 69.5-53.79 108.36-31.41-41.68-43.08-68.65-43.17-68.87a22 22 0 0 0-40.58 17c.58 1.38 14.55 34.23 52.86 83.93.92 1.19 1.83 2.35 2.74 3.51-39.24 44.35-77.74 71.86-93.85 80.74a22 22 0 1 0 21.07 38.63c2.16-1.18 48.6-26.89 101.63-85.59 22.52 24.08 38 35.44 38.93 36.1a22 22 0 0 0 30.75-4.9z"},null,-1),te=[ee];function ne(t,e){return Vue.openBlock(),Vue.createElementBlock("svg",Z,te)}const xe={render:ne},k={outputDir:"",defaultScopeName:"",includeStyleWithColors:[],extract:!0,themeLinkTagId:"theme-link-tag",themeLinkTagInjectTo:"head",removeCssScopeName:!1,customThemeCssFileName:null,arbitraryMode:!1,defaultPrimaryColor:"",customThemeOutputPath:"/Users/zhangyi/Desktop/vue-pure-admin/node_modules/.pnpm/@pureadmin+theme@3.0.0/node_modules/@pureadmin/theme/setCustomTheme.js",styleTagId:"custom-theme-tagid",InjectDefaultStyleTagToHtml:!0,hueDiffControls:{low:0,high:0},multipleScopeVars:[{scopeName:"layout-theme-default",varsContent:`
|
||||
$subMenuActiveText: #fff !default;
|
||||
$menuBg: #001529 !default;
|
||||
$menuHover: #4091f7 !default;
|
||||
@ -88,4 +88,4 @@ import{a as B}from"./index-4b83e049.js";import{e as H}from"./mitt-7f99bbc0.js";i
|
||||
$sidebarLogo: #1f0c38 !default;
|
||||
$menuTitleHover: #fff !default;
|
||||
$menuActiveBefore: #693ac9 !default;
|
||||
`}]},oe="/vue-pure-admin/",ue="assets";function z(t){let e=t.replace("#","").match(/../g);for(let o=0;o<3;o++)e[o]=parseInt(e[o],16);return e}function I(t,e,o){let n=[t.toString(16),e.toString(16),o.toString(16)];for(let a=0;a<3;a++)n[a].length==1&&(n[a]=`0${n[a]}`);return`#${n.join("")}`}function ae(t,e){let o=z(t);for(let n=0;n<3;n++)o[n]=Math.floor(o[n]*(1-e));return I(o[0],o[1],o[2])}function le(t,e){let o=z(t);for(let n=0;n<3;n++)o[n]=Math.floor((255-o[n])*e+o[n]);return I(o[0],o[1],o[2])}function S(t){return`(^${t}\\s+|\\s+${t}\\s+|\\s+${t}$|^${t}$)`}function E({scopeName:t,multipleScopeVars:e}){const o=Array.isArray(e)&&e.length?e:k.multipleScopeVars;let n=document.documentElement.className;new RegExp(S(t)).test(n)||(o.forEach(a=>{n=n.replace(new RegExp(S(a.scopeName),"g"),` ${t} `)}),document.documentElement.className=n.replace(/(^\s+|\s+$)/g,""))}function N({id:t,href:e}){const o=document.createElement("link");return o.rel="stylesheet",o.href=e,o.id=t,o}function re(t){const e={scopeName:"theme-default",customLinkHref:s=>s,...t},o=e.themeLinkTagId||k.themeLinkTagId;let n=document.getElementById(o);const a=e.customLinkHref(`${oe.replace(/\/$/,"")}${`/${ue}/${e.scopeName}.css`.replace(/\/+(?=\/)/g,"")}`);if(n){n.id=`${o}_old`;const s=N({id:o,href:a});n.nextSibling?n.parentNode.insertBefore(s,n.nextSibling):n.parentNode.appendChild(s),s.onload=()=>{setTimeout(()=>{n.parentNode.removeChild(n),n=null},60),E(e)};return}n=N({id:o,href:a}),E(e),document[(e.themeLinkTagInjectTo||k.themeLinkTagInjectTo||"").replace("-prepend","")].appendChild(n)}function Ve(){var i;const{layoutTheme:t,layout:e}=X(),o=Vue.ref([{color:"#1b2a47",themeColor:"default"},{color:"#ffffff",themeColor:"light"},{color:"#f5222d",themeColor:"dusk"},{color:"#fa541c",themeColor:"volcano"},{color:"#fadb14",themeColor:"yellow"},{color:"#13c2c2",themeColor:"mingQing"},{color:"#52c41a",themeColor:"auroraGreen"},{color:"#eb2f96",themeColor:"pink"},{color:"#722ed1",themeColor:"saucePurple"}]),{$storage:n}=x(),a=Vue.ref((i=n==null?void 0:n.layout)==null?void 0:i.darkMode),s=document.documentElement;function d(r="default"){var l,m;if(t.value.theme=r,re({scopeName:`layout-theme-${r}`}),n.layout={layout:e.value,theme:r,darkMode:a.value,sidebarStatus:(l=n.layout)==null?void 0:l.sidebarStatus,epThemeColor:(m=n.layout)==null?void 0:m.epThemeColor},r==="default"||r==="light")f(B().EpThemeColor);else{const b=o.value.find(y=>y.themeColor===r);f(b.color)}}function h(r,l,m){document.documentElement.style.setProperty(`--el-color-primary-${r}-${l}`,a.value?ae(m,l/10):le(m,l/10))}const f=r=>{$().setEpThemeColor(r),document.documentElement.style.setProperty("--el-color-primary",r);for(let l=1;l<=2;l++)h("dark",l,r);for(let l=1;l<=9;l++)h("light",l,r)};function T(){$().epTheme==="light"&&a.value?d("default"):d($().epTheme),a.value?document.documentElement.classList.add("dark"):document.documentElement.classList.remove("dark")}return{body:s,dataTheme:a,layoutTheme:t,themeColors:o,dataThemeChange:T,setEpThemeColor:f,setLayoutThemeColor:d}}const se={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24"},ce=Vue.createElementVNode("path",{fill:"none",d:"M0 0h24v24H0z"},null,-1),de=Vue.createElementVNode("path",{d:"M12 18a6 6 0 1 1 0-12 6 6 0 0 1 0 12zM11 1h2v3h-2V1zm0 19h2v3h-2v-3zM3.515 4.929l1.414-1.414L7.05 5.636 5.636 7.05 3.515 4.93zM16.95 18.364l1.414-1.414 2.121 2.121-1.414 1.414-2.121-2.121zm2.121-14.85 1.414 1.415-2.121 2.121-1.414-1.414 2.121-2.121zM5.636 16.95l1.414 1.414-2.121 2.121-1.414-1.414 2.121-2.121zM23 11v2h-3v-2h3zM4 11v2H1v-2h3z"},null,-1),fe=[ce,de];function ie(t,e){return Vue.openBlock(),Vue.createElementBlock("svg",se,fe)}const we={render:ie},me={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24"},he=Vue.createElementVNode("path",{fill:"none",d:"M0 0h24v24H0z"},null,-1),pe=Vue.createElementVNode("path",{d:"M11.38 2.019a7.5 7.5 0 1 0 10.6 10.6C21.662 17.854 17.316 22 12.001 22 6.477 22 2 17.523 2 12c0-5.315 4.146-9.661 9.38-9.981z"},null,-1),ge=[he,pe];function ve(t,e){return Vue.openBlock(),Vue.createElementBlock("svg",me,ge)}const He={render:ve};export{ke as a,Ve as b,He as c,we as d,X as e,xe as g,re as t,Y as u};
|
||||
`}]},oe="/vue-pure-admin/",ue="assets";function N(t){let e=t.replace("#","").match(/../g);for(let o=0;o<3;o++)e[o]=parseInt(e[o],16);return e}function I(t,e,o){let n=[t.toString(16),e.toString(16),o.toString(16)];for(let a=0;a<3;a++)n[a].length==1&&(n[a]=`0${n[a]}`);return`#${n.join("")}`}function ae(t,e){let o=N(t);for(let n=0;n<3;n++)o[n]=Math.floor(o[n]*(1-e));return I(o[0],o[1],o[2])}function le(t,e){let o=N(t);for(let n=0;n<3;n++)o[n]=Math.floor((255-o[n])*e+o[n]);return I(o[0],o[1],o[2])}function S(t){return`(^${t}\\s+|\\s+${t}\\s+|\\s+${t}$|^${t}$)`}function E({scopeName:t,multipleScopeVars:e}){const o=Array.isArray(e)&&e.length?e:k.multipleScopeVars;let n=document.documentElement.className;new RegExp(S(t)).test(n)||(o.forEach(a=>{n=n.replace(new RegExp(S(a.scopeName),"g"),` ${t} `)}),document.documentElement.className=n.replace(/(^\s+|\s+$)/g,""))}function z({id:t,href:e}){const o=document.createElement("link");return o.rel="stylesheet",o.href=e,o.id=t,o}function re(t){const e={scopeName:"theme-default",customLinkHref:s=>s,...t},o=e.themeLinkTagId||k.themeLinkTagId;let n=document.getElementById(o);const a=e.customLinkHref(`${oe.replace(/\/$/,"")}${`/${ue}/${e.scopeName}.css`.replace(/\/+(?=\/)/g,"")}`);if(n){n.id=`${o}_old`;const s=z({id:o,href:a});n.nextSibling?n.parentNode.insertBefore(s,n.nextSibling):n.parentNode.appendChild(s),s.onload=()=>{setTimeout(()=>{n.parentNode.removeChild(n),n=null},60),E(e)};return}n=z({id:o,href:a}),E(e),document[(e.themeLinkTagInjectTo||k.themeLinkTagInjectTo||"").replace("-prepend","")].appendChild(n)}function Ve(){var i;const{layoutTheme:t,layout:e}=X(),o=Vue.ref([{color:"#1b2a47",themeColor:"default"},{color:"#ffffff",themeColor:"light"},{color:"#f5222d",themeColor:"dusk"},{color:"#fa541c",themeColor:"volcano"},{color:"#fadb14",themeColor:"yellow"},{color:"#13c2c2",themeColor:"mingQing"},{color:"#52c41a",themeColor:"auroraGreen"},{color:"#eb2f96",themeColor:"pink"},{color:"#722ed1",themeColor:"saucePurple"}]),{$storage:n}=x(),a=Vue.ref((i=n==null?void 0:n.layout)==null?void 0:i.darkMode),s=document.documentElement;function f(r=T().Theme??"default"){var l,m;if(t.value.theme=r,re({scopeName:`layout-theme-${r}`}),n.layout={layout:e.value,theme:r,darkMode:a.value,sidebarStatus:(l=n.layout)==null?void 0:l.sidebarStatus,epThemeColor:(m=n.layout)==null?void 0:m.epThemeColor},r==="default"||r==="light")d(T().EpThemeColor);else{const y=o.value.find(C=>C.themeColor===r);d(y.color)}}function h(r,l,m){document.documentElement.style.setProperty(`--el-color-primary-${r}-${l}`,a.value?ae(m,l/10):le(m,l/10))}const d=r=>{$().setEpThemeColor(r),document.documentElement.style.setProperty("--el-color-primary",r);for(let l=1;l<=2;l++)h("dark",l,r);for(let l=1;l<=9;l++)h("light",l,r)};function b(){$().epTheme==="light"&&a.value?f("default"):f($().epTheme),a.value?document.documentElement.classList.add("dark"):document.documentElement.classList.remove("dark")}return{body:s,dataTheme:a,layoutTheme:t,themeColors:o,dataThemeChange:b,setEpThemeColor:d,setLayoutThemeColor:f}}const se={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24"},ce=Vue.createElementVNode("path",{fill:"none",d:"M0 0h24v24H0z"},null,-1),fe=Vue.createElementVNode("path",{d:"M12 18a6 6 0 1 1 0-12 6 6 0 0 1 0 12zM11 1h2v3h-2V1zm0 19h2v3h-2v-3zM3.515 4.929l1.414-1.414L7.05 5.636 5.636 7.05 3.515 4.93zM16.95 18.364l1.414-1.414 2.121 2.121-1.414 1.414-2.121-2.121zm2.121-14.85 1.414 1.415-2.121 2.121-1.414-1.414 2.121-2.121zM5.636 16.95l1.414 1.414-2.121 2.121-1.414-1.414 2.121-2.121zM23 11v2h-3v-2h3zM4 11v2H1v-2h3z"},null,-1),de=[ce,fe];function ie(t,e){return Vue.openBlock(),Vue.createElementBlock("svg",se,de)}const we={render:ie},me={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24"},he=Vue.createElementVNode("path",{fill:"none",d:"M0 0h24v24H0z"},null,-1),ge=Vue.createElementVNode("path",{d:"M11.38 2.019a7.5 7.5 0 1 0 10.6 10.6C21.662 17.854 17.316 22 12.001 22 6.477 22 2 17.523 2 12c0-5.315 4.146-9.661 9.38-9.981z"},null,-1),pe=[he,ge];function ve(t,e){return Vue.openBlock(),Vue.createElementBlock("svg",me,pe)}const He={render:ve};export{ke as a,Ve as b,He as c,we as d,X as e,xe as g,re as t,Y as u};
|
@ -1 +1 @@
|
||||
import{d as t}from"./index-8c77f9cd.js";const s=dayjs(new Date).format("YYYY-MM-DD"),o=[{date:s,name:"Tom",address:"No. 189, Grove St, Los Angeles"},{date:s,name:"Jack",address:"No. 189, Grove St, Los Angeles"},{date:s,name:"Dick",address:"No. 189, Grove St, Los Angeles"},{date:s,name:"Harry",address:"No. 189, Grove St, Los Angeles"},{date:s,name:"Sam",address:"No. 189, Grove St, Los Angeles"},{date:s,name:"Lucy",address:"No. 189, Grove St, Los Angeles"},{date:s,name:"Mary",address:"No. 189, Grove St, Los Angeles"},{date:s,name:"Mike",address:"No. 189, Grove St, Los Angeles"}];t(o,!0).map(e=>Object.assign(e,{state:"California",city:"Los Angeles","post-code":"CA 90036"}));t(o,!0).map((e,a)=>Object.assign(e,{image:`https://xiaoxian521.github.io/pure-admin-table/imgs/${a+1}.jpg`}));t(o,!0).map((e,a)=>{delete e.date,Object.assign(e,{date:`${dayjs(new Date).format("YYYY-MM")}-${a+1}`})});const d=t(o,!0).map((e,a)=>(delete e.address,delete e.date,Object.assign({id:a+1,date:`${dayjs(new Date).format("YYYY-MM")}-${a+1}`},e))),n=t(o,!0).map((e,a)=>(delete e.date,Object.assign({id:a+1,date:`${dayjs(new Date).format("YYYY-MM")}-${a+1}`},e)));export{d as a,n as b,o as t};
|
||||
import{d as t}from"./index-8c77f9cd.js";const s=dayjs(new Date).format("YYYY-MM-DD"),o=[{date:s,name:"Tom",address:"No. 189, Grove St, Los Angeles"},{date:s,name:"Jack",address:"No. 189, Grove St, Los Angeles"},{date:s,name:"Dick",address:"No. 189, Grove St, Los Angeles"},{date:s,name:"Harry",address:"No. 189, Grove St, Los Angeles"},{date:s,name:"Sam",address:"No. 189, Grove St, Los Angeles"},{date:s,name:"Lucy",address:"No. 189, Grove St, Los Angeles"},{date:s,name:"Mary",address:"No. 189, Grove St, Los Angeles"},{date:s,name:"Mike",address:"No. 189, Grove St, Los Angeles"}];t(o,!0).map(e=>Object.assign(e,{state:"California",city:"Los Angeles","post-code":"CA 90036"}));t(o,!0).map((e,a)=>Object.assign(e,{image:`https://pure-admin.github.io/pure-admin-table/imgs/${a+1}.jpg`}));t(o,!0).map((e,a)=>{delete e.date,Object.assign(e,{date:`${dayjs(new Date).format("YYYY-MM")}-${a+1}`})});const d=t(o,!0).map((e,a)=>(delete e.address,delete e.date,Object.assign({id:a+1,date:`${dayjs(new Date).format("YYYY-MM")}-${a+1}`},e))),n=t(o,!0).map((e,a)=>(delete e.date,Object.assign({id:a+1,date:`${dayjs(new Date).format("YYYY-MM")}-${a+1}`},e)));export{d as a,n as b,o as t};
|
1
dist/static/js/data-c667adbf.js
vendored
1
dist/static/js/data-c667adbf.js
vendored
@ -1 +0,0 @@
|
||||
import{d as t}from"./index-8c77f9cd.js";const a=dayjs(new Date).format("YYYY-MM-DD"),e=[{date:a,name:"Tom",address:"No. 189, Grove St, Los Angeles"},{date:a,name:"Jack",address:"No. 189, Grove St, Los Angeles"},{date:a,name:"Dick",address:"No. 189, Grove St, Los Angeles"},{date:a,name:"Harry",address:"No. 189, Grove St, Los Angeles"},{date:a,name:"Sam",address:"No. 189, Grove St, Los Angeles"},{date:a,name:"Lucy",address:"No. 189, Grove St, Los Angeles"},{date:a,name:"Mary",address:"No. 189, Grove St, Los Angeles"},{date:a,name:"Mike",address:"No. 189, Grove St, Los Angeles"}],i=t(e,!0),r=i.map(s=>Object.assign(s,{state:"California",city:"Los Angeles","post-code":"CA 90036"})),o=i.map((s,n)=>Object.assign(s,{image:`https://xiaoxian521.github.io/pure-admin-table/imgs/${n+1}.jpg`})),S=i.map((s,n)=>Object.assign(s,{date:`${dayjs(new Date).format("YYYY-MM")}-${n+1}`})),d=[{date:"2016-05-03",name:"Tom",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114",family:[{name:"Jerry",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Spike",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Tyke",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"}]},{date:"2016-05-02",name:"Tom",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114",family:[{name:"Jerry",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Spike",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Tyke",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"}]},{date:"2016-05-04",name:"Tom",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114",family:[{name:"Jerry",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Spike",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Tyke",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"}]},{date:"2016-05-01",name:"Tom",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114",family:[{name:"Jerry",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Spike",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Tyke",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"}]},{date:"2016-05-08",name:"Tom",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114",family:[{name:"Jerry",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Spike",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Tyke",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"}]},{date:"2016-05-06",name:"Tom",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114",family:[{name:"Jerry",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Spike",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Tyke",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"}]},{date:"2016-05-07",name:"Tom",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114",family:[{name:"Jerry",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Spike",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Tyke",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"}]}];export{r as a,S as b,d as c,o as d,e as t};
|
1
dist/static/js/data-ec6a9b49.js
vendored
Normal file
1
dist/static/js/data-ec6a9b49.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
import{d as t}from"./index-8c77f9cd.js";const a=dayjs(new Date).format("YYYY-MM-DD"),e=[{date:a,name:"Tom",address:"No. 189, Grove St, Los Angeles"},{date:a,name:"Jack",address:"No. 189, Grove St, Los Angeles"},{date:a,name:"Dick",address:"No. 189, Grove St, Los Angeles"},{date:a,name:"Harry",address:"No. 189, Grove St, Los Angeles"},{date:a,name:"Sam",address:"No. 189, Grove St, Los Angeles"},{date:a,name:"Lucy",address:"No. 189, Grove St, Los Angeles"},{date:a,name:"Mary",address:"No. 189, Grove St, Los Angeles"},{date:a,name:"Mike",address:"No. 189, Grove St, Los Angeles"}],i=t(e,!0),r=i.map(s=>Object.assign(s,{state:"California",city:"Los Angeles","post-code":"CA 90036"})),o=i.map((s,n)=>Object.assign(s,{image:`https://pure-admin.github.io/pure-admin-table/imgs/${n+1}.jpg`})),S=i.map((s,n)=>Object.assign(s,{date:`${dayjs(new Date).format("YYYY-MM")}-${n+1}`})),d=[{date:"2016-05-03",name:"Tom",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114",family:[{name:"Jerry",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Spike",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Tyke",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"}]},{date:"2016-05-02",name:"Tom",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114",family:[{name:"Jerry",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Spike",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Tyke",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"}]},{date:"2016-05-04",name:"Tom",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114",family:[{name:"Jerry",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Spike",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Tyke",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"}]},{date:"2016-05-01",name:"Tom",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114",family:[{name:"Jerry",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Spike",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Tyke",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"}]},{date:"2016-05-08",name:"Tom",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114",family:[{name:"Jerry",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Spike",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Tyke",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"}]},{date:"2016-05-06",name:"Tom",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114",family:[{name:"Jerry",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Spike",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Tyke",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"}]},{date:"2016-05-07",name:"Tom",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114",family:[{name:"Jerry",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Spike",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Tyke",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"}]}];export{r as a,S as b,d as c,o as d,e as t};
|
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
||||
import{_ as o}from"./expand.vue_vue_type_script_setup_true_lang-c36c0bf8.js";import"./data-c667adbf.js";import"./index-8c77f9cd.js";export{o as default};
|
||||
import{_ as o}from"./expand.vue_vue_type_script_setup_true_lang-294610cc.js";import"./data-ec6a9b49.js";import"./index-8c77f9cd.js";export{o as default};
|
@ -1 +1 @@
|
||||
import{c as r}from"./data-c667adbf.js";const u={class:"m-4"},p={class:"mb-2"},c={class:"mb-2"},V={class:"mb-2"},i={class:"mb-4"},m=Vue.createElementVNode("h3",null,"Family",-1),h=Vue.defineComponent({__name:"expand",setup(_){const a=Vue.ref(!1),l=Vue.ref(!1),s=[{type:"expand",slot:"expand"},{label:"日期",prop:"date"},{label:"姓名",prop:"name"}],d=[{label:"Name",prop:"name"},{label:"State",prop:"state"},{label:"City",prop:"city"},{label:"Address",prop:"address"},{label:"Zip",prop:"zip"}];return(b,t)=>{const o=Vue.resolveComponent("el-switch"),n=Vue.resolveComponent("pure-table");return Vue.openBlock(),Vue.createElementBlock("div",null,[Vue.createTextVNode(" switch parent border: "),Vue.createVNode(o,{modelValue:a.value,"onUpdate:modelValue":t[0]||(t[0]=e=>a.value=e)},null,8,["modelValue"]),Vue.createTextVNode(" switch child border: "),Vue.createVNode(o,{modelValue:l.value,"onUpdate:modelValue":t[1]||(t[1]=e=>l.value=e)},null,8,["modelValue"]),Vue.createVNode(n,{data:Vue.unref(r),columns:s,border:a.value},{expand:Vue.withCtx(({row:e})=>[Vue.createElementVNode("div",u,[Vue.createElementVNode("p",p,"State: "+Vue.toDisplayString(e.state),1),Vue.createElementVNode("p",c,"City: "+Vue.toDisplayString(e.city),1),Vue.createElementVNode("p",V,"Address: "+Vue.toDisplayString(e.address),1),Vue.createElementVNode("p",i,"Zip: "+Vue.toDisplayString(e.zip),1),m,Vue.createVNode(n,{data:e.family,columns:d,border:l.value},null,8,["data","border"])])]),_:1},8,["data","border"])])}}});export{h as _};
|
||||
import{c as r}from"./data-ec6a9b49.js";const u={class:"m-4"},p={class:"mb-2"},c={class:"mb-2"},V={class:"mb-2"},i={class:"mb-4"},m=Vue.createElementVNode("h3",null,"Family",-1),h=Vue.defineComponent({__name:"expand",setup(_){const a=Vue.ref(!1),l=Vue.ref(!1),s=[{type:"expand",slot:"expand"},{label:"日期",prop:"date"},{label:"姓名",prop:"name"}],d=[{label:"Name",prop:"name"},{label:"State",prop:"state"},{label:"City",prop:"city"},{label:"Address",prop:"address"},{label:"Zip",prop:"zip"}];return(b,t)=>{const o=Vue.resolveComponent("el-switch"),n=Vue.resolveComponent("pure-table");return Vue.openBlock(),Vue.createElementBlock("div",null,[Vue.createTextVNode(" switch parent border: "),Vue.createVNode(o,{modelValue:a.value,"onUpdate:modelValue":t[0]||(t[0]=e=>a.value=e)},null,8,["modelValue"]),Vue.createTextVNode(" switch child border: "),Vue.createVNode(o,{modelValue:l.value,"onUpdate:modelValue":t[1]||(t[1]=e=>l.value=e)},null,8,["modelValue"]),Vue.createVNode(n,{data:Vue.unref(r),columns:s,border:a.value},{expand:Vue.withCtx(({row:e})=>[Vue.createElementVNode("div",u,[Vue.createElementVNode("p",p,"State: "+Vue.toDisplayString(e.state),1),Vue.createElementVNode("p",c,"City: "+Vue.toDisplayString(e.city),1),Vue.createElementVNode("p",V,"Address: "+Vue.toDisplayString(e.address),1),Vue.createElementVNode("p",i,"Zip: "+Vue.toDisplayString(e.zip),1),m,Vue.createVNode(n,{data:e.family,columns:d,border:l.value},null,8,["data","border"])])]),_:1},8,["data","border"])])}}});export{h as _};
|
@ -1 +1 @@
|
||||
import{_ as o}from"./fixColumn.vue_vue_type_script_setup_true_lang-6aff1c7c.js";import"./data-c667adbf.js";import"./index-8c77f9cd.js";export{o as default};
|
||||
import{_ as o}from"./fixColumn.vue_vue_type_script_setup_true_lang-f89a5838.js";import"./data-ec6a9b49.js";import"./index-8c77f9cd.js";export{o as default};
|
@ -1 +1 @@
|
||||
import{a as e}from"./data-c667adbf.js";const h=Vue.defineComponent({__name:"fixColumn",props:{height:{default:null}},setup(a){const t=a,n=[{label:"日期",prop:"date",width:"260",fixed:!0},{label:"姓名",prop:"name",width:"260"},{label:"地区",prop:"state",width:"260"},{label:"城市",prop:"city",width:"260"},{label:"地址",prop:"address",width:"260"},{label:"邮编",prop:"post-code",width:"260"},{label:"操作",width:"120",fixed:"right",slot:"operation"}];function i(l){}return(l,u)=>{const o=Vue.resolveComponent("el-button"),r=Vue.resolveComponent("pure-table");return Vue.openBlock(),Vue.createBlock(r,{data:t.height?Vue.unref(e).concat(Vue.unref(e)).concat(Vue.unref(e)):Vue.unref(e),columns:n,height:t.height},{operation:Vue.withCtx(({row:p})=>[Vue.createVNode(o,{link:"",type:"primary",size:"small",onClick:c=>void 0},{default:Vue.withCtx(()=>[Vue.createTextVNode(" Detail ")]),_:2},1032,["onClick"]),Vue.createVNode(o,{link:"",type:"primary",size:"small"},{default:Vue.withCtx(()=>[Vue.createTextVNode("Edit")]),_:1})]),_:1},8,["data","height"])}}});export{h as _};
|
||||
import{a as e}from"./data-ec6a9b49.js";const h=Vue.defineComponent({__name:"fixColumn",props:{height:{default:null}},setup(a){const t=a,n=[{label:"日期",prop:"date",width:"260",fixed:!0},{label:"姓名",prop:"name",width:"260"},{label:"地区",prop:"state",width:"260"},{label:"城市",prop:"city",width:"260"},{label:"地址",prop:"address",width:"260"},{label:"邮编",prop:"post-code",width:"260"},{label:"操作",width:"120",fixed:"right",slot:"operation"}];function i(l){}return(l,u)=>{const o=Vue.resolveComponent("el-button"),r=Vue.resolveComponent("pure-table");return Vue.openBlock(),Vue.createBlock(r,{data:t.height?Vue.unref(e).concat(Vue.unref(e)).concat(Vue.unref(e)):Vue.unref(e),columns:n,height:t.height},{operation:Vue.withCtx(({row:p})=>[Vue.createVNode(o,{link:"",type:"primary",size:"small",onClick:c=>void 0},{default:Vue.withCtx(()=>[Vue.createTextVNode(" Detail ")]),_:2},1032,["onClick"]),Vue.createVNode(o,{link:"",type:"primary",size:"small"},{default:Vue.withCtx(()=>[Vue.createTextVNode("Edit")]),_:1})]),_:1},8,["data","height"])}}});export{h as _};
|
@ -1 +1 @@
|
||||
import{_ as o}from"./fixHeader.vue_vue_type_script_setup_true_lang-e1749229.js";import"./data-c667adbf.js";import"./index-8c77f9cd.js";export{o as default};
|
||||
import{_ as o}from"./fixHeader.vue_vue_type_script_setup_true_lang-47284918.js";import"./data-ec6a9b49.js";import"./index-8c77f9cd.js";export{o as default};
|
@ -1 +1 @@
|
||||
import{t as e}from"./data-c667adbf.js";const u=Vue.defineComponent({__name:"fixHeader",setup(n){const a=[{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"}];return(o,r)=>{const t=Vue.resolveComponent("pure-table");return Vue.openBlock(),Vue.createBlock(t,{data:Vue.unref(e).concat(Vue.unref(e)).concat(Vue.unref(e)),columns:a,height:"360"},null,8,["data"])}}});export{u as _};
|
||||
import{t as e}from"./data-ec6a9b49.js";const u=Vue.defineComponent({__name:"fixHeader",setup(n){const a=[{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"}];return(o,r)=>{const t=Vue.resolveComponent("pure-table");return Vue.openBlock(),Vue.createBlock(t,{data:Vue.unref(e).concat(Vue.unref(e)).concat(Vue.unref(e)),columns:a,height:"360"},null,8,["data"])}}});export{u as _};
|
@ -1 +1 @@
|
||||
import{_ as o}from"./fluidHeight.vue_vue_type_script_setup_true_lang-0c1185c7.js";import"./data-c667adbf.js";import"./index-8c77f9cd.js";export{o as default};
|
||||
import{_ as o}from"./fluidHeight.vue_vue_type_script_setup_true_lang-1c618cc3.js";import"./data-ec6a9b49.js";import"./index-8c77f9cd.js";export{o as default};
|
@ -1 +1 @@
|
||||
import{a as i}from"./data-c667adbf.js";const V=Vue.defineComponent({__name:"fluidHeight",setup(p){const l=[{label:"日期",prop:"date",width:"260",fixed:!0},{label:"姓名",prop:"name",width:"260"},{label:"地区",prop:"state",width:"260"},{label:"城市",prop:"city",width:"260"},{label:"地址",prop:"address",width:"260"},{label:"邮编",prop:"post-code",width:"260"},{label:"操作",width:"120",fixed:"right",slot:"operation"}],e=new Date,t=Vue.ref(i),n=o=>{t.value.splice(o,1)},r=()=>{e.setDate(e.getDate()+1),t.value.push({date:dayjs(e).format("YYYY-MM-DD"),name:"Tom",address:"No. 189, Grove St, Los Angeles",state:"California",city:"Los Angeles","post-code":"CA 90036"})};return(o,c)=>{const a=Vue.resolveComponent("el-button"),s=Vue.resolveComponent("pure-table");return Vue.openBlock(),Vue.createElementBlock("div",null,[Vue.createVNode(s,{data:t.value,columns:l,maxHeight:"500"},{operation:Vue.withCtx(({$index:d})=>[Vue.createVNode(a,{link:"",type:"primary",size:"small",onClick:Vue.withModifiers(u=>n(d),["prevent"])},{default:Vue.withCtx(()=>[Vue.createTextVNode(" Remove ")]),_:2},1032,["onClick"])]),_:1},8,["data"]),Vue.createVNode(a,{class:"mt-4",style:{width:"100%"},onClick:r},{default:Vue.withCtx(()=>[Vue.createTextVNode(" Add Item ")]),_:1})])}}});export{V as _};
|
||||
import{a as i}from"./data-ec6a9b49.js";const V=Vue.defineComponent({__name:"fluidHeight",setup(p){const l=[{label:"日期",prop:"date",width:"260",fixed:!0},{label:"姓名",prop:"name",width:"260"},{label:"地区",prop:"state",width:"260"},{label:"城市",prop:"city",width:"260"},{label:"地址",prop:"address",width:"260"},{label:"邮编",prop:"post-code",width:"260"},{label:"操作",width:"120",fixed:"right",slot:"operation"}],e=new Date,t=Vue.ref(i),n=o=>{t.value.splice(o,1)},r=()=>{e.setDate(e.getDate()+1),t.value.push({date:dayjs(e).format("YYYY-MM-DD"),name:"Tom",address:"No. 189, Grove St, Los Angeles",state:"California",city:"Los Angeles","post-code":"CA 90036"})};return(o,c)=>{const a=Vue.resolveComponent("el-button"),s=Vue.resolveComponent("pure-table");return Vue.openBlock(),Vue.createElementBlock("div",null,[Vue.createVNode(s,{data:t.value,columns:l,maxHeight:"500"},{operation:Vue.withCtx(({$index:d})=>[Vue.createVNode(a,{link:"",type:"primary",size:"small",onClick:Vue.withModifiers(u=>n(d),["prevent"])},{default:Vue.withCtx(()=>[Vue.createTextVNode(" Remove ")]),_:2},1032,["onClick"])]),_:1},8,["data"]),Vue.createVNode(a,{class:"mt-4",style:{width:"100%"},onClick:r},{default:Vue.withCtx(()=>[Vue.createTextVNode(" Add Item ")]),_:1})])}}});export{V as _};
|
@ -1 +1 @@
|
||||
import{_ as o}from"./groupHeader.vue_vue_type_script_setup_true_lang-44593cb7.js";import"./data-c667adbf.js";import"./index-8c77f9cd.js";export{o as default};
|
||||
import{_ as o}from"./groupHeader.vue_vue_type_script_setup_true_lang-31b26982.js";import"./data-ec6a9b49.js";import"./index-8c77f9cd.js";export{o as default};
|
@ -1 +1 @@
|
||||
import{a}from"./data-c667adbf.js";const p=Vue.defineComponent({__name:"groupHeader",setup(r){const e=[{label:"日期",prop:"date",fixed:!0},{label:"姓名",prop:"name",children:[{label:"地区",children:[{label:"城市",prop:"city"},{label:"地址",prop:"address"}]}]},{label:"邮编",prop:"post-code"}];return(l,t)=>{const o=Vue.resolveComponent("pure-table");return Vue.openBlock(),Vue.createBlock(o,{data:Vue.unref(a),columns:e,alignWhole:"center"},null,8,["data"])}}});export{p as _};
|
||||
import{a}from"./data-ec6a9b49.js";const p=Vue.defineComponent({__name:"groupHeader",setup(r){const e=[{label:"日期",prop:"date",fixed:!0},{label:"姓名",prop:"name",children:[{label:"地区",children:[{label:"城市",prop:"city"},{label:"地址",prop:"address"}]}]},{label:"邮编",prop:"post-code"}];return(l,t)=>{const o=Vue.resolveComponent("pure-table");return Vue.openBlock(),Vue.createBlock(o,{data:Vue.unref(a),columns:e,alignWhole:"center"},null,8,["data"])}}});export{p as _};
|
2
dist/static/js/high-162e58b0.js
vendored
2
dist/static/js/high-162e58b0.js
vendored
@ -1,2 +0,0 @@
|
||||
import{list as c}from"./list-eac358f3.js";import{_}from"./_plugin-vue_export-helper-c27b6911.js";import"./index.vue_vue_type_script_setup_true_lang-a662563e.js";import"./columns-757d635b.js";import"./data-fe7da62c.js";import"./index-8c77f9cd.js";import"./index.vue_vue_type_script_setup_true_lang-f07f9876.js";import"./columns-a0147a38.js";import"./sortable.esm-679e0872.js";import"./index.vue_vue_type_script_setup_true_lang-1fb0098f.js";import"./columns-269f0ab5.js";import"./index.vue_vue_type_script_setup_true_lang-4348303c.js";import"./columns-c73c5f1e.js";import"./message-7116a117.js";import"./index.vue_vue_type_script_setup_true_lang-b1c05881.js";import"./columns-deb699af.js";import"./xlsx-e927f539.js";import"./index.vue_vue_type_script_setup_true_lang-4b04b442.js";import"./columns-52410b1e.js";import"./edit-pen-37b5ced2.js";import"./check-f53d8364.js";import"./index.vue_vue_type_script_setup_true_lang-fd3854ac.js";import"./columns-2a854b00.js";import"./index.vue_vue_type_script_setup_true_lang-5d6b2f9b.js";import"./columns-bc18e242.js";import"./print-a6e42845.js";import"./index.vue_vue_type_script_setup_true_lang-a662a395.js";import"./columns-75ad8417.js";import"./index-56f0b8e1.js";import"./index-5ecdd2b7.js";import"./index.vue_vue_type_script_setup_true_lang-f9311c8f.js";import"./index.vue_vue_type_script_setup_true_lang-ffbe0237.js";import"./columns-43b4350c.js";import"./index.vue_vue_type_script_setup_true_lang-4f868e20.js";import"./columns-587d5ad7.js";const V={class:"card-header"},s={class:"font-medium"},d=Vue.defineComponent({name:"PureTableHigh"}),f=Vue.defineComponent({...d,setup(h){const t=Vue.ref(0);function r({index:o}){t.value=o}return(o,x)=>{const p=Vue.resolveComponent("el-link"),l=Vue.resolveComponent("el-alert"),i=Vue.resolveComponent("el-tooltip"),a=Vue.resolveComponent("el-tab-pane"),u=Vue.resolveComponent("el-tabs"),m=Vue.resolveComponent("el-card");return Vue.openBlock(),Vue.createBlock(m,null,{header:Vue.withCtx(()=>[Vue.createElementVNode("div",V,[Vue.createElementVNode("span",s,[Vue.createTextVNode(" 高级用法全部采用 tsx 语法,充分发挥 "),Vue.createVNode(p,{href:"https://github.com/xiaoxian521/pure-admin-table",target:"_blank",style:{"font-size":"16px",margin:"0 4px 5px"}},{default:Vue.withCtx(()=>[Vue.createTextVNode(" @pureadmin/table ")]),_:1}),Vue.createTextVNode(" 的灵活性,维护整体表格只需操作 columns 配置即可 ")])])]),default:Vue.withCtx(()=>[Vue.createVNode(l,{title:`高级用法中所有表格都设置了 row-key ,后端需返回唯一值的字段,比如id 作用:1. 用来优化 Table
|
||||
的渲染,尤其当字段在深层结构中;2. 防止拖拽后表格组件内部混乱(拖拽必须设置哦,坑都帮您们踩过啦 ❤️)`,type:"info",closable:!1}),Vue.createVNode(u,{onTabClick:r},{default:Vue.withCtx(()=>[(Vue.openBlock(!0),Vue.createElementBlock(Vue.Fragment,null,Vue.renderList(Vue.unref(c),(e,n)=>(Vue.openBlock(),Vue.createBlock(a,{key:e.key,lazy:!0},{label:Vue.withCtx(()=>[Vue.createVNode(i,{content:`(第 ${n+1} 个示例)${e.content}`,placement:"top-end"},{default:Vue.withCtx(()=>[Vue.createElementVNode("span",null,Vue.toDisplayString(e.title),1)]),_:2},1032,["content"])]),default:Vue.withCtx(()=>[t.value==n?(Vue.openBlock(),Vue.createBlock(Vue.resolveDynamicComponent(e.component),{key:0})):Vue.createCommentVNode("",!0)]),_:2},1024))),128))]),_:1})]),_:1})}}});const ee=_(f,[["__scopeId","data-v-d5915e8d"]]);export{ee as default};
|
2
dist/static/js/high-a2bc91ce.js
vendored
Normal file
2
dist/static/js/high-a2bc91ce.js
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
import{list as c}from"./list-a15289c0.js";import{_}from"./_plugin-vue_export-helper-c27b6911.js";import"./index.vue_vue_type_script_setup_true_lang-e3c327b3.js";import"./columns-17e0e34c.js";import"./data-11b60b52.js";import"./index-8c77f9cd.js";import"./index.vue_vue_type_script_setup_true_lang-4d09d0ae.js";import"./columns-3559bb90.js";import"./sortable.esm-679e0872.js";import"./index.vue_vue_type_script_setup_true_lang-101e191f.js";import"./columns-92fee261.js";import"./index.vue_vue_type_script_setup_true_lang-f78cc7c0.js";import"./columns-b51bec79.js";import"./message-7116a117.js";import"./index.vue_vue_type_script_setup_true_lang-bd812e33.js";import"./columns-2dc2b86b.js";import"./xlsx-e927f539.js";import"./index.vue_vue_type_script_setup_true_lang-13ebdc6e.js";import"./columns-8eaeed13.js";import"./edit-pen-37b5ced2.js";import"./check-f53d8364.js";import"./index.vue_vue_type_script_setup_true_lang-ea2c7b6a.js";import"./columns-fba64780.js";import"./index.vue_vue_type_script_setup_true_lang-3abb612f.js";import"./columns-308f5242.js";import"./print-a6e42845.js";import"./index.vue_vue_type_script_setup_true_lang-618c3bf0.js";import"./columns-4f226636.js";import"./index-08272cc7.js";import"./index-b5591886.js";import"./index.vue_vue_type_script_setup_true_lang-4da00be7.js";import"./index.vue_vue_type_script_setup_true_lang-129ace1e.js";import"./columns-09a1f4b9.js";import"./index.vue_vue_type_script_setup_true_lang-2a9ad9c6.js";import"./columns-1a4fe653.js";const V={class:"card-header"},s={class:"font-medium"},d=Vue.defineComponent({name:"PureTableHigh"}),f=Vue.defineComponent({...d,setup(h){const t=Vue.ref(0);function r({index:o}){t.value=o}return(o,C)=>{const p=Vue.resolveComponent("el-link"),l=Vue.resolveComponent("el-alert"),a=Vue.resolveComponent("el-tooltip"),i=Vue.resolveComponent("el-tab-pane"),u=Vue.resolveComponent("el-tabs"),m=Vue.resolveComponent("el-card");return Vue.openBlock(),Vue.createBlock(m,null,{header:Vue.withCtx(()=>[Vue.createElementVNode("div",V,[Vue.createElementVNode("span",s,[Vue.createTextVNode(" 高级用法全部采用 tsx 语法,充分发挥 "),Vue.createVNode(p,{href:"https://github.com/pure-admin/pure-admin-table",target:"_blank",style:{"font-size":"16px",margin:"0 4px 5px"}},{default:Vue.withCtx(()=>[Vue.createTextVNode(" @pureadmin/table ")]),_:1}),Vue.createTextVNode(" 的灵活性,维护整体表格只需操作 columns 配置即可 ")])])]),default:Vue.withCtx(()=>[Vue.createVNode(l,{title:`高级用法中所有表格都设置了 row-key ,后端需返回唯一值的字段,比如id 作用:1. 用来优化 Table
|
||||
的渲染,尤其当字段在深层结构中;2. 防止拖拽后表格组件内部混乱(拖拽必须设置哦,坑都帮您们踩过啦 ❤️)`,type:"info",closable:!1}),Vue.createVNode(u,{onTabClick:r},{default:Vue.withCtx(()=>[(Vue.openBlock(!0),Vue.createElementBlock(Vue.Fragment,null,Vue.renderList(Vue.unref(c),(e,n)=>(Vue.openBlock(),Vue.createBlock(i,{key:e.key,lazy:!0},{label:Vue.withCtx(()=>[Vue.createVNode(a,{content:`(第 ${n+1} 个示例)${e.content}`,placement:"top-end"},{default:Vue.withCtx(()=>[Vue.createElementVNode("span",null,Vue.toDisplayString(e.title),1)]),_:2},1032,["content"])]),default:Vue.withCtx(()=>[t.value==n?(Vue.openBlock(),Vue.createBlock(Vue.resolveDynamicComponent(e.component),{key:0})):Vue.createCommentVNode("",!0)]),_:2},1024))),128))]),_:1})]),_:1})}}});const ee=_(f,[["__scopeId","data-v-55ad1747"]]);export{ee as default};
|
@ -1 +1 @@
|
||||
import{m as y}from"./message-7116a117.js";import{a as V}from"./system-e7d6d160.js";import"./index-8c77f9cd.js";import"./index-cd980a4b.js";import"./_commonjsHelpers-042e6b4d.js";import"./hot-cf4dcfeb.js";import"./index-5e5694dd.js";import"./multiTags-d9cd5aad.js";import"./index-4b83e049.js";import"./index-5ecdd2b7.js";function R(){const r=Vue.reactive({name:"",code:"",status:""}),l=Vue.ref([]),n=Vue.ref(!0),a=Vue.ref({}),i=Vue.reactive({total:0,pageSize:10,currentPage:1,background:!0}),s=[{type:"selection",width:55,align:"left",hide:({checkList:e})=>!e.includes("勾选列")},{label:"序号",type:"index",width:70,hide:({checkList:e})=>!e.includes("序号列")},{label:"角色编号",prop:"id",minWidth:100},{label:"角色名称",prop:"name",minWidth:120},{label:"角色标识",prop:"code",minWidth:150},{label:"角色类型",prop:"type",minWidth:150,cellRenderer:({row:e,props:t})=>Vue.createVNode(Vue.resolveComponent("el-tag"),{size:t.size,type:e.type===1?"danger":"",effect:"plain"},{default:()=>[e.type===1?"内置":"自定义"]})},{label:"显示顺序",prop:"sort",minWidth:100},{label:"状态",minWidth:130,cellRenderer:e=>{var t;return Vue.createVNode(Vue.resolveComponent("el-switch"),{size:e.props.size==="small"?"small":"default",loading:(t=a.value[e.index])==null?void 0:t.loading,modelValue:e.row.status,"onUpdate:modelValue":v=>e.row.status=v,"active-value":1,"inactive-value":0,"active-text":"已开启","inactive-text":"已关闭","inline-prompt":!0,onChange:()=>c(e)},null)}},{label:"创建时间",minWidth:180,prop:"createTime",formatter:({createTime:e})=>dayjs(e).format("YYYY-MM-DD HH:mm:ss")},{label:"操作",fixed:"right",width:180,slot:"operation"}],u=Vue.computed(()=>["!h-[20px]","reset-margin","!text-gray-500","dark:!text-white","dark:hover:!text-primary"]);function c({row:e,index:t}){ElementPlus.ElMessageBox.confirm(`确认要<strong>${e.status===0?"停用":"启用"}</strong><strong style='color:var(--el-color-primary)'>${e.name}</strong>角色吗?`,"系统提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning",dangerouslyUseHTMLString:!0,draggable:!0}).then(()=>{a.value[t]=Object.assign({},a.value[t],{loading:!0}),setTimeout(()=>{a.value[t]=Object.assign({},a.value[t],{loading:!1}),y("已成功修改角色状态",{type:"success"})},300)}).catch(()=>{e.status===0?e.status=1:e.status=0})}function d(e){}function m(e){}function p(e){}function g(e){}function h(e){}async function o(){n.value=!0;const{data:e}=await V();l.value=e.list,i.total=e.total,setTimeout(()=>{n.value=!1},500)}const f=e=>{e&&(e.resetFields(),o())};return Vue.onMounted(()=>{o()}),{form:r,loading:n,columns:s,dataList:l,pagination:i,buttonClass:u,onSearch:o,resetForm:f,handleUpdate:d,handleDelete:m,handleSizeChange:p,handleCurrentChange:g,handleSelectionChange:h}}export{R as useRole};
|
||||
import{m as y}from"./message-7116a117.js";import{a as V}from"./system-6be089c6.js";import"./index-8c77f9cd.js";import"./index-e3206f59.js";import"./_commonjsHelpers-042e6b4d.js";import"./hot-cf4dcfeb.js";import"./index-5e5694dd.js";import"./multiTags-d9cd5aad.js";import"./index-4b83e049.js";import"./index-b5591886.js";function R(){const r=Vue.reactive({name:"",code:"",status:""}),l=Vue.ref([]),n=Vue.ref(!0),a=Vue.ref({}),i=Vue.reactive({total:0,pageSize:10,currentPage:1,background:!0}),s=[{type:"selection",width:55,align:"left",hide:({checkList:e})=>!e.includes("勾选列")},{label:"序号",type:"index",width:70,hide:({checkList:e})=>!e.includes("序号列")},{label:"角色编号",prop:"id",minWidth:100},{label:"角色名称",prop:"name",minWidth:120},{label:"角色标识",prop:"code",minWidth:150},{label:"角色类型",prop:"type",minWidth:150,cellRenderer:({row:e,props:t})=>Vue.createVNode(Vue.resolveComponent("el-tag"),{size:t.size,type:e.type===1?"danger":"",effect:"plain"},{default:()=>[e.type===1?"内置":"自定义"]})},{label:"显示顺序",prop:"sort",minWidth:100},{label:"状态",minWidth:130,cellRenderer:e=>{var t;return Vue.createVNode(Vue.resolveComponent("el-switch"),{size:e.props.size==="small"?"small":"default",loading:(t=a.value[e.index])==null?void 0:t.loading,modelValue:e.row.status,"onUpdate:modelValue":v=>e.row.status=v,"active-value":1,"inactive-value":0,"active-text":"已开启","inactive-text":"已关闭","inline-prompt":!0,onChange:()=>c(e)},null)}},{label:"创建时间",minWidth:180,prop:"createTime",formatter:({createTime:e})=>dayjs(e).format("YYYY-MM-DD HH:mm:ss")},{label:"操作",fixed:"right",width:180,slot:"operation"}],u=Vue.computed(()=>["!h-[20px]","reset-margin","!text-gray-500","dark:!text-white","dark:hover:!text-primary"]);function c({row:e,index:t}){ElementPlus.ElMessageBox.confirm(`确认要<strong>${e.status===0?"停用":"启用"}</strong><strong style='color:var(--el-color-primary)'>${e.name}</strong>角色吗?`,"系统提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning",dangerouslyUseHTMLString:!0,draggable:!0}).then(()=>{a.value[t]=Object.assign({},a.value[t],{loading:!0}),setTimeout(()=>{a.value[t]=Object.assign({},a.value[t],{loading:!1}),y("已成功修改角色状态",{type:"success"})},300)}).catch(()=>{e.status===0?e.status=1:e.status=0})}function d(e){}function m(e){}function p(e){}function g(e){}function h(e){}async function o(){n.value=!0;const{data:e}=await V();l.value=e.list,i.total=e.total,setTimeout(()=>{n.value=!1},500)}const f=e=>{e&&(e.resetFields(),o())};return Vue.onMounted(()=>{o()}),{form:r,loading:n,columns:s,dataList:l,pagination:i,buttonClass:u,onSearch:o,resetForm:f,handleUpdate:d,handleDelete:m,handleSizeChange:p,handleCurrentChange:g,handleSelectionChange:h}}export{R as useRole};
|
@ -1 +1 @@
|
||||
import{x as p}from"./index-cd980a4b.js";import{g as m}from"./system-e7d6d160.js";import"./index-8c77f9cd.js";import"./_commonjsHelpers-042e6b4d.js";import"./hot-cf4dcfeb.js";import"./index-5e5694dd.js";import"./multiTags-d9cd5aad.js";import"./index-4b83e049.js";import"./index-5ecdd2b7.js";function D(){const a=Vue.reactive({user:"",status:""}),n=Vue.ref([]),t=Vue.ref(!0),o=[{type:"selection",width:55,align:"left",hide:({checkList:e})=>!e.includes("勾选列")},{label:"序号",type:"index",minWidth:70,hide:({checkList:e})=>!e.includes("序号列")},{label:"部门名称",prop:"name",width:180,align:"left"},{label:"排序",prop:"sort",minWidth:70},{label:"状态",prop:"status",minWidth:100,cellRenderer:({row:e,props:d})=>Vue.createVNode(Vue.resolveComponent("el-tag"),{size:d.size,type:e.status===1?"danger":"success",effect:"plain"},{default:()=>[e.status===0?"关闭":"开启"]})},{label:"创建时间",minWidth:200,prop:"createTime",formatter:({createTime:e})=>dayjs(e).format("YYYY-MM-DD HH:mm:ss")},{label:"备注",prop:"remark",minWidth:200},{label:"操作",fixed:"right",width:160,slot:"operation"}];function r(e){}function l(e){}function s(e){}function u(e){e&&(e.resetFields(),i())}async function i(){t.value=!0;const{data:e}=await m();n.value=p(e),setTimeout(()=>{t.value=!1},500)}return Vue.onMounted(()=>{i()}),{form:a,loading:t,columns:o,dataList:n,onSearch:i,resetForm:u,handleUpdate:r,handleDelete:l,handleSelectionChange:s}}export{D as useDept};
|
||||
import{x as p}from"./index-e3206f59.js";import{g as m}from"./system-6be089c6.js";import"./index-8c77f9cd.js";import"./_commonjsHelpers-042e6b4d.js";import"./hot-cf4dcfeb.js";import"./index-5e5694dd.js";import"./multiTags-d9cd5aad.js";import"./index-4b83e049.js";import"./index-b5591886.js";function D(){const a=Vue.reactive({user:"",status:""}),n=Vue.ref([]),t=Vue.ref(!0),o=[{type:"selection",width:55,align:"left",hide:({checkList:e})=>!e.includes("勾选列")},{label:"序号",type:"index",minWidth:70,hide:({checkList:e})=>!e.includes("序号列")},{label:"部门名称",prop:"name",width:180,align:"left"},{label:"排序",prop:"sort",minWidth:70},{label:"状态",prop:"status",minWidth:100,cellRenderer:({row:e,props:d})=>Vue.createVNode(Vue.resolveComponent("el-tag"),{size:d.size,type:e.status===1?"danger":"success",effect:"plain"},{default:()=>[e.status===0?"关闭":"开启"]})},{label:"创建时间",minWidth:200,prop:"createTime",formatter:({createTime:e})=>dayjs(e).format("YYYY-MM-DD HH:mm:ss")},{label:"备注",prop:"remark",minWidth:200},{label:"操作",fixed:"right",width:160,slot:"operation"}];function r(e){}function l(e){}function s(e){}function u(e){e&&(e.resetFields(),i())}async function i(){t.value=!0;const{data:e}=await m();n.value=p(e),setTimeout(()=>{t.value=!1},500)}return Vue.onMounted(()=>{i()}),{form:a,loading:t,columns:o,dataList:n,onSearch:i,resetForm:u,handleUpdate:r,handleDelete:l,handleSelectionChange:s}}export{D as useDept};
|
@ -1 +1 @@
|
||||
import{m as b}from"./message-7116a117.js";import{b as V}from"./system-e7d6d160.js";import"./index-8c77f9cd.js";import"./index-cd980a4b.js";import"./_commonjsHelpers-042e6b4d.js";import"./hot-cf4dcfeb.js";import"./index-5e5694dd.js";import"./multiTags-d9cd5aad.js";import"./index-4b83e049.js";import"./index-5ecdd2b7.js";function k(){const o=Vue.reactive({username:"",mobile:"",status:""}),r=Vue.ref([]),n=Vue.ref(!0),a=Vue.ref({}),l=Vue.reactive({total:0,pageSize:10,currentPage:1,background:!0}),s=[{type:"selection",width:55,align:"left",hide:({checkList:e})=>!e.includes("勾选列")},{label:"序号",type:"index",width:70,hide:({checkList:e})=>!e.includes("序号列")},{label:"用户编号",prop:"id",minWidth:130},{label:"用户名称",prop:"username",minWidth:130},{label:"用户昵称",prop:"nickname",minWidth:130},{label:"性别",prop:"sex",minWidth:90,cellRenderer:({row:e,props:t})=>Vue.createVNode(Vue.resolveComponent("el-tag"),{size:t.size,type:e.sex===1?"danger":"",effect:"plain"},{default:()=>[e.sex===1?"女":"男"]})},{label:"部门",prop:"dept",minWidth:90,formatter:({dept:e})=>e.name},{label:"手机号码",prop:"mobile",minWidth:90},{label:"状态",prop:"status",minWidth:90,cellRenderer:e=>{var t;return Vue.createVNode(Vue.resolveComponent("el-switch"),{size:e.props.size==="small"?"small":"default",loading:(t=a.value[e.index])==null?void 0:t.loading,modelValue:e.row.status,"onUpdate:modelValue":v=>e.row.status=v,"active-value":1,"inactive-value":0,"active-text":"已开启","inactive-text":"已关闭","inline-prompt":!0,onChange:()=>m(e)},null)}},{label:"创建时间",minWidth:90,prop:"createTime",formatter:({createTime:e})=>dayjs(e).format("YYYY-MM-DD HH:mm:ss")},{label:"操作",fixed:"right",width:180,slot:"operation"}],u=Vue.computed(()=>["!h-[20px]","reset-margin","!text-gray-500","dark:!text-white","dark:hover:!text-primary"]);function m({row:e,index:t}){ElementPlus.ElMessageBox.confirm(`确认要<strong>${e.status===0?"停用":"启用"}</strong><strong style='color:var(--el-color-primary)'>${e.username}</strong>用户吗?`,"系统提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning",dangerouslyUseHTMLString:!0,draggable:!0}).then(()=>{a.value[t]=Object.assign({},a.value[t],{loading:!0}),setTimeout(()=>{a.value[t]=Object.assign({},a.value[t],{loading:!1}),b("已成功修改用户状态",{type:"success"})},300)}).catch(()=>{e.status===0?e.status=1:e.status=0})}function c(e){}function d(e){}function p(e){}function g(e){}function h(e){}async function i(){n.value=!0;const{data:e}=await V();r.value=e.list,l.total=e.total,setTimeout(()=>{n.value=!1},500)}const f=e=>{e&&(e.resetFields(),i())};return Vue.onMounted(()=>{i()}),{form:o,loading:n,columns:s,dataList:r,pagination:l,buttonClass:u,onSearch:i,resetForm:f,handleUpdate:c,handleDelete:d,handleSizeChange:p,handleCurrentChange:g,handleSelectionChange:h}}export{k as useUser};
|
||||
import{m as b}from"./message-7116a117.js";import{b as V}from"./system-6be089c6.js";import"./index-8c77f9cd.js";import"./index-e3206f59.js";import"./_commonjsHelpers-042e6b4d.js";import"./hot-cf4dcfeb.js";import"./index-5e5694dd.js";import"./multiTags-d9cd5aad.js";import"./index-4b83e049.js";import"./index-b5591886.js";function k(){const o=Vue.reactive({username:"",mobile:"",status:""}),r=Vue.ref([]),n=Vue.ref(!0),a=Vue.ref({}),l=Vue.reactive({total:0,pageSize:10,currentPage:1,background:!0}),s=[{type:"selection",width:55,align:"left",hide:({checkList:e})=>!e.includes("勾选列")},{label:"序号",type:"index",width:70,hide:({checkList:e})=>!e.includes("序号列")},{label:"用户编号",prop:"id",minWidth:130},{label:"用户名称",prop:"username",minWidth:130},{label:"用户昵称",prop:"nickname",minWidth:130},{label:"性别",prop:"sex",minWidth:90,cellRenderer:({row:e,props:t})=>Vue.createVNode(Vue.resolveComponent("el-tag"),{size:t.size,type:e.sex===1?"danger":"",effect:"plain"},{default:()=>[e.sex===1?"女":"男"]})},{label:"部门",prop:"dept",minWidth:90,formatter:({dept:e})=>e.name},{label:"手机号码",prop:"mobile",minWidth:90},{label:"状态",prop:"status",minWidth:90,cellRenderer:e=>{var t;return Vue.createVNode(Vue.resolveComponent("el-switch"),{size:e.props.size==="small"?"small":"default",loading:(t=a.value[e.index])==null?void 0:t.loading,modelValue:e.row.status,"onUpdate:modelValue":v=>e.row.status=v,"active-value":1,"inactive-value":0,"active-text":"已开启","inactive-text":"已关闭","inline-prompt":!0,onChange:()=>m(e)},null)}},{label:"创建时间",minWidth:90,prop:"createTime",formatter:({createTime:e})=>dayjs(e).format("YYYY-MM-DD HH:mm:ss")},{label:"操作",fixed:"right",width:180,slot:"operation"}],u=Vue.computed(()=>["!h-[20px]","reset-margin","!text-gray-500","dark:!text-white","dark:hover:!text-primary"]);function m({row:e,index:t}){ElementPlus.ElMessageBox.confirm(`确认要<strong>${e.status===0?"停用":"启用"}</strong><strong style='color:var(--el-color-primary)'>${e.username}</strong>用户吗?`,"系统提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning",dangerouslyUseHTMLString:!0,draggable:!0}).then(()=>{a.value[t]=Object.assign({},a.value[t],{loading:!0}),setTimeout(()=>{a.value[t]=Object.assign({},a.value[t],{loading:!1}),b("已成功修改用户状态",{type:"success"})},300)}).catch(()=>{e.status===0?e.status=1:e.status=0})}function c(e){}function d(e){}function p(e){}function g(e){}function h(e){}async function i(){n.value=!0;const{data:e}=await V();r.value=e.list,l.total=e.total,setTimeout(()=>{n.value=!1},500)}const f=e=>{e&&(e.resetFields(),i())};return Vue.onMounted(()=>{i()}),{form:o,loading:n,columns:s,dataList:r,pagination:l,buttonClass:u,onSearch:i,resetForm:f,handleUpdate:c,handleDelete:d,handleSizeChange:p,handleCurrentChange:g,handleSelectionChange:h}}export{k as useUser};
|
@ -1 +1 @@
|
||||
import{_ as o}from"./imgPreview.vue_vue_type_script_setup_true_lang-038ca63e.js";import"./data-c667adbf.js";import"./index-8c77f9cd.js";export{o as default};
|
||||
import{_ as o}from"./imgPreview.vue_vue_type_script_setup_true_lang-fd6b47ec.js";import"./data-ec6a9b49.js";import"./index-8c77f9cd.js";export{o as default};
|
@ -1 +1 @@
|
||||
import{d as e}from"./data-c667adbf.js";const l=Vue.createElementVNode("video",{width:"180",height:"180",controls:""},[Vue.createElementVNode("source",{src:"https://yiming_chang.gitee.io/pure-admin-doc/video/url.mov",type:"video/mp4"})],-1),u=Vue.defineComponent({__name:"imgPreview",setup(p){const t=[{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"},{label:"视频",slot:"video"},{label:"图像",slot:"image"}];return(s,c)=>{const o=Vue.resolveComponent("el-image"),a=Vue.resolveComponent("pure-table");return Vue.openBlock(),Vue.createBlock(a,{data:Vue.unref(e),columns:t},{video:Vue.withCtx(()=>[l]),image:Vue.withCtx(({row:i,index:n})=>[Vue.createVNode(o,{"preview-teleported":"",loading:"lazy",src:i.image,"preview-src-list":Vue.unref(e).map(r=>r.image),"initial-index":n,fit:"cover",class:"w-[100px] h-[100px]"},null,8,["src","preview-src-list","initial-index"])]),_:1},8,["data"])}}});export{u as _};
|
||||
import{d as e}from"./data-ec6a9b49.js";const l=Vue.createElementVNode("video",{width:"180",height:"180",controls:""},[Vue.createElementVNode("source",{src:"https://yiming_chang.gitee.io/pure-admin-doc/video/url.mov",type:"video/mp4"})],-1),u=Vue.defineComponent({__name:"imgPreview",setup(p){const t=[{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"},{label:"视频",slot:"video"},{label:"图像",slot:"image"}];return(s,c)=>{const o=Vue.resolveComponent("el-image"),a=Vue.resolveComponent("pure-table");return Vue.openBlock(),Vue.createBlock(a,{data:Vue.unref(e),columns:t},{video:Vue.withCtx(()=>[l]),image:Vue.withCtx(({row:i,index:n})=>[Vue.createVNode(o,{"preview-teleported":"",loading:"lazy",src:i.image,"preview-src-list":Vue.unref(e).map(r=>r.image),"initial-index":n,fit:"cover",class:"w-[100px] h-[100px]"},null,8,["src","preview-src-list","initial-index"])]),_:1},8,["data"])}}});export{u as _};
|
1
dist/static/js/index-0730c1ee.js
vendored
Normal file
1
dist/static/js/index-0730c1ee.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-f78cc7c0.js";import"./columns-b51bec79.js";import"./data-11b60b52.js";import"./index-8c77f9cd.js";import"./message-7116a117.js";export{o as default};
|
File diff suppressed because one or more lines are too long
1
dist/static/js/index-0978feb7.js
vendored
1
dist/static/js/index-0978feb7.js
vendored
@ -1 +0,0 @@
|
||||
import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-b1c05881.js";import"./columns-deb699af.js";import"./xlsx-e927f539.js";import"./data-fe7da62c.js";import"./index-8c77f9cd.js";import"./message-7116a117.js";export{o as default};
|
1
dist/static/js/index-0da647d2.js
vendored
1
dist/static/js/index-0da647d2.js
vendored
@ -1 +0,0 @@
|
||||
import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-4348303c.js";import"./columns-c73c5f1e.js";import"./data-fe7da62c.js";import"./index-8c77f9cd.js";import"./message-7116a117.js";export{o as default};
|
@ -1 +1 @@
|
||||
import{o as u,a as d,v as _}from"./index-cd980a4b.js";import{i as v}from"./index-8c77f9cd.js";import"./_commonjsHelpers-042e6b4d.js";import"./hot-cf4dcfeb.js";import"./index-5e5694dd.js";import"./multiTags-d9cd5aad.js";import"./index-4b83e049.js";import"./index-5ecdd2b7.js";const f={class:"card-header"},C=Vue.defineComponent({name:"PermissionPage"}),B=Vue.defineComponent({...C,setup(h){var n;const o=Vue.computed(()=>({width:"85vw",justifyContent:"start"})),t=Vue.ref((n=u())==null?void 0:n.username),r=[{value:"admin",label:"管理员角色"},{value:"common",label:"普通角色"}];function s(){u().loginByUsername({username:t.value,password:"admin123"}).then(l=>{l.success&&(v().removeItem("async-routes"),d().clearAllCachePage(),_())})}return(l,a)=>{const c=Vue.resolveComponent("el-tag"),i=Vue.resolveComponent("el-option"),m=Vue.resolveComponent("el-select"),V=Vue.resolveComponent("el-card"),p=Vue.resolveComponent("el-space");return Vue.openBlock(),Vue.createBlock(p,{direction:"vertical",size:"large"},{default:Vue.withCtx(()=>[Vue.createVNode(c,{style:Vue.normalizeStyle(Vue.unref(o)),size:"large",effect:"dark"},{default:Vue.withCtx(()=>[Vue.createTextVNode(" 模拟后台根据不同角色返回对应路由,观察左侧菜单变化(管理员角色可查看系统管理菜单、普通角色不可查看系统管理菜单) ")]),_:1},8,["style"]),Vue.createVNode(V,{shadow:"never",style:Vue.normalizeStyle(Vue.unref(o))},{header:Vue.withCtx(()=>[Vue.createElementVNode("div",f,[Vue.createElementVNode("span",null,"当前角色:"+Vue.toDisplayString(t.value),1)])]),default:Vue.withCtx(()=>[Vue.createVNode(m,{modelValue:t.value,"onUpdate:modelValue":a[0]||(a[0]=e=>t.value=e),onChange:s},{default:Vue.withCtx(()=>[(Vue.openBlock(),Vue.createElementBlock(Vue.Fragment,null,Vue.renderList(r,e=>Vue.createVNode(i,{key:e.value,label:e.label,value:e.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1},8,["style"])]),_:1})}}});export{B as default};
|
||||
import{o as u,a as d,v as _}from"./index-e3206f59.js";import{i as v}from"./index-8c77f9cd.js";import"./_commonjsHelpers-042e6b4d.js";import"./hot-cf4dcfeb.js";import"./index-5e5694dd.js";import"./multiTags-d9cd5aad.js";import"./index-4b83e049.js";import"./index-b5591886.js";const f={class:"card-header"},C=Vue.defineComponent({name:"PermissionPage"}),B=Vue.defineComponent({...C,setup(h){var n;const o=Vue.computed(()=>({width:"85vw",justifyContent:"start"})),t=Vue.ref((n=u())==null?void 0:n.username),r=[{value:"admin",label:"管理员角色"},{value:"common",label:"普通角色"}];function s(){u().loginByUsername({username:t.value,password:"admin123"}).then(l=>{l.success&&(v().removeItem("async-routes"),d().clearAllCachePage(),_())})}return(l,a)=>{const c=Vue.resolveComponent("el-tag"),i=Vue.resolveComponent("el-option"),m=Vue.resolveComponent("el-select"),V=Vue.resolveComponent("el-card"),p=Vue.resolveComponent("el-space");return Vue.openBlock(),Vue.createBlock(p,{direction:"vertical",size:"large"},{default:Vue.withCtx(()=>[Vue.createVNode(c,{style:Vue.normalizeStyle(Vue.unref(o)),size:"large",effect:"dark"},{default:Vue.withCtx(()=>[Vue.createTextVNode(" 模拟后台根据不同角色返回对应路由,观察左侧菜单变化(管理员角色可查看系统管理菜单、普通角色不可查看系统管理菜单) ")]),_:1},8,["style"]),Vue.createVNode(V,{shadow:"never",style:Vue.normalizeStyle(Vue.unref(o))},{header:Vue.withCtx(()=>[Vue.createElementVNode("div",f,[Vue.createElementVNode("span",null,"当前角色:"+Vue.toDisplayString(t.value),1)])]),default:Vue.withCtx(()=>[Vue.createVNode(m,{modelValue:t.value,"onUpdate:modelValue":a[0]||(a[0]=e=>t.value=e),onChange:s},{default:Vue.withCtx(()=>[(Vue.openBlock(),Vue.createElementBlock(Vue.Fragment,null,Vue.renderList(r,e=>Vue.createVNode(i,{key:e.value,label:e.label,value:e.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1},8,["style"])]),_:1})}}});export{B as default};
|
File diff suppressed because one or more lines are too long
1
dist/static/js/index-1e9b06a7.js
vendored
Normal file
1
dist/static/js/index-1e9b06a7.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-129ace1e.js";import"./columns-09a1f4b9.js";import"./message-7116a117.js";import"./index-8c77f9cd.js";import"./data-11b60b52.js";export{o as default};
|
1
dist/static/js/index-29b948fc.js
vendored
1
dist/static/js/index-29b948fc.js
vendored
@ -1 +0,0 @@
|
||||
import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-5d6b2f9b.js";import"./columns-bc18e242.js";import"./print-a6e42845.js";import"./data-fe7da62c.js";import"./index-8c77f9cd.js";export{o as default};
|
1
dist/static/js/index-3319171f.js
vendored
1
dist/static/js/index-3319171f.js
vendored
@ -1 +0,0 @@
|
||||
import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-1fb0098f.js";import"./columns-269f0ab5.js";import"./sortable.esm-679e0872.js";import"./index-8c77f9cd.js";import"./data-fe7da62c.js";export{o as default};
|
1
dist/static/js/index-3852099f.js
vendored
1
dist/static/js/index-3852099f.js
vendored
@ -1 +0,0 @@
|
||||
import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-fd3854ac.js";import"./columns-2a854b00.js";import"./data-fe7da62c.js";import"./index-8c77f9cd.js";export{o as default};
|
1
dist/static/js/index-3acca1a7.js
vendored
1
dist/static/js/index-3acca1a7.js
vendored
@ -1 +0,0 @@
|
||||
import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-f9311c8f.js";import"./index.vue_vue_type_script_setup_true_lang-ffbe0237.js";import"./columns-43b4350c.js";import"./message-7116a117.js";import"./index-8c77f9cd.js";import"./data-fe7da62c.js";import"./index.vue_vue_type_script_setup_true_lang-4f868e20.js";import"./columns-587d5ad7.js";export{o as default};
|
1
dist/static/js/index-3f12cdd5.js
vendored
Normal file
1
dist/static/js/index-3f12cdd5.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-ba77f4aa.js";import"./columns-b7074262.js";import"./message-7116a117.js";import"./index-8c77f9cd.js";import"./data-ec6a9b49.js";export{o as default};
|
2
dist/static/js/index-40a6c478.js
vendored
2
dist/static/js/index-40a6c478.js
vendored
@ -1,2 +0,0 @@
|
||||
import{list as m}from"./list-cc948afc.js";import{_}from"./_plugin-vue_export-helper-c27b6911.js";import"./base.vue_vue_type_script_setup_true_lang-05788134.js";import"./data-c667adbf.js";import"./index-8c77f9cd.js";import"./stripe.vue_vue_type_script_setup_true_lang-973bbbdf.js";import"./border.vue_vue_type_script_setup_true_lang-3ba99cf4.js";import"./status.vue_vue_type_style_index_0_lang-44080a8a.js";import"./fixHeader.vue_vue_type_script_setup_true_lang-e1749229.js";import"./fixColumn.vue_vue_type_script_setup_true_lang-6aff1c7c.js";import"./fluidHeight.vue_vue_type_script_setup_true_lang-0c1185c7.js";import"./groupHeader.vue_vue_type_script_setup_true_lang-44593cb7.js";import"./radio.vue_vue_type_script_setup_true_lang-1c8229c0.js";import"./multipleChoice.vue_vue_type_script_setup_true_lang-04004422.js";import"./sortable.vue_vue_type_script_setup_true_lang-f7be46d5.js";import"./filters.vue_vue_type_script_setup_true_lang-28ab2539.js";import"./index.vue_vue_type_script_setup_true_lang-3539dc9e.js";import"./columns-b908db8c.js";import"./message-7116a117.js";import"./index.vue_vue_type_script_setup_true_lang-d3f29ba5.js";import"./columns-2a6a7ba1.js";import"./expand.vue_vue_type_script_setup_true_lang-c36c0bf8.js";import"./tree.vue_vue_type_script_setup_true_lang-9318b807.js";import"./totalRow.vue_vue_type_script_setup_true_lang-e58d18d0.js";import"./merge.vue_vue_type_script_setup_true_lang-72107030.js";import"./customIndex.vue_vue_type_script_setup_true_lang-9b87a8c9.js";import"./layout.vue_vue_type_script_setup_true_lang-ecfd12ec.js";import"./nestProp.vue_vue_type_script_setup_true_lang-e799d294.js";import"./imgPreview.vue_vue_type_script_setup_true_lang-038ca63e.js";const s={class:"card-header"},V={class:"font-medium"},d=Vue.defineComponent({name:"PureTable"}),f=Vue.defineComponent({...d,setup(x){const t=Vue.ref(0);function r({index:o}){t.value=o}return(o,C)=>{const l=Vue.resolveComponent("el-link"),p=Vue.resolveComponent("el-alert"),a=Vue.resolveComponent("el-tooltip"),u=Vue.resolveComponent("el-tab-pane"),i=Vue.resolveComponent("el-tabs"),c=Vue.resolveComponent("el-card");return Vue.openBlock(),Vue.createBlock(c,null,{header:Vue.withCtx(()=>[Vue.createElementVNode("div",s,[Vue.createElementVNode("span",V,[Vue.createTextVNode(" 平台二次封装 element-plus 的 Table ,完全兼容 Api 并提供灵活的配置项以及完善的类型提醒,再也不用将代码都写在 template 里了,欢迎 Star "),Vue.createVNode(l,{href:"https://github.com/xiaoxian521/pure-admin-table",target:"_blank",style:{"font-size":"16px",margin:"0 4px 5px"}},{default:Vue.withCtx(()=>[Vue.createTextVNode(" @pureadmin/table ")]),_:1})])])]),default:Vue.withCtx(()=>[Vue.createVNode(p,{title:`基础用法中大部分表格都没设置 row-key ,不过最好都设置一下,后端需返回唯一值的字段,比如id 作用:1. 用来优化 Table
|
||||
的渲染,尤其当字段在深层结构中;2. 防止某些操作导致表格组件内部混乱`,type:"info",closable:!1}),Vue.createVNode(i,{onTabClick:r},{default:Vue.withCtx(()=>[(Vue.openBlock(!0),Vue.createElementBlock(Vue.Fragment,null,Vue.renderList(Vue.unref(m),(e,n)=>(Vue.openBlock(),Vue.createBlock(u,{key:e.key,lazy:!0},{label:Vue.withCtx(()=>[Vue.createVNode(a,{content:`(第 ${n+1} 个示例)${e.content}`,placement:"top-end"},{default:Vue.withCtx(()=>[Vue.createElementVNode("span",null,Vue.toDisplayString(e.title),1)]),_:2},1032,["content"])]),default:Vue.withCtx(()=>[t.value==n?(Vue.openBlock(),Vue.createBlock(Vue.resolveDynamicComponent(e.component),{key:0})):Vue.createCommentVNode("",!0)]),_:2},1024))),128))]),_:1})]),_:1})}}});const R=_(f,[["__scopeId","data-v-09790d56"]]);export{R as default};
|
1
dist/static/js/index-4104a2f2.js
vendored
Normal file
1
dist/static/js/index-4104a2f2.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-e3c327b3.js";import"./columns-17e0e34c.js";import"./data-11b60b52.js";import"./index-8c77f9cd.js";export{o as default};
|
@ -1 +1 @@
|
||||
import{useDept as y}from"./hook-5c2998af.js";import{R,P as T,D as S}from"./refresh-31784a8d.js";import{u as r}from"./hooks-8de8f790.js";import{d as D}from"./edit-pen-37b5ced2.js";import{S as B}from"./search-4b9e88d3.js";import{A as U}from"./add-circle-line-5b89a592.js";import"./index-cd980a4b.js";import"./index-8c77f9cd.js";import"./_commonjsHelpers-042e6b4d.js";import"./hot-cf4dcfeb.js";import"./index-5e5694dd.js";import"./multiTags-d9cd5aad.js";import"./index-4b83e049.js";import"./index-5ecdd2b7.js";import"./system-e7d6d160.js";import"./epTheme-80ea1c2b.js";import"./index-02c38b19.js";const $={class:"main"},A=Vue.defineComponent({name:"Dept"}),ee=Vue.defineComponent({...A,setup(F){const l=Vue.ref(),a=Vue.ref(),{form:t,loading:V,columns:m,dataList:s,onSearch:i,resetForm:d,handleUpdate:_,handleDelete:C,handleSelectionChange:h}=y();return(L,o)=>{var p;const x=Vue.resolveComponent("el-input"),u=Vue.resolveComponent("el-form-item"),c=Vue.resolveComponent("el-option"),b=Vue.resolveComponent("el-select"),n=Vue.resolveComponent("el-button"),w=Vue.resolveComponent("el-form"),N=Vue.resolveComponent("el-popconfirm"),v=Vue.resolveComponent("pure-table");return Vue.openBlock(),Vue.createElementBlock("div",$,[Vue.createVNode(w,{ref_key:"formRef",ref:l,inline:!0,model:Vue.unref(t),class:"bg-bg_color w-[99/100] pl-8 pt-4"},{default:Vue.withCtx(()=>[Vue.createVNode(u,{label:"部门名称:",prop:"user"},{default:Vue.withCtx(()=>[Vue.createVNode(x,{modelValue:Vue.unref(t).user,"onUpdate:modelValue":o[0]||(o[0]=e=>Vue.unref(t).user=e),placeholder:"请输入部门名称",clearable:"",class:"!w-[200px]"},null,8,["modelValue"])]),_:1}),Vue.createVNode(u,{label:"状态:",prop:"status"},{default:Vue.withCtx(()=>[Vue.createVNode(b,{modelValue:Vue.unref(t).status,"onUpdate:modelValue":o[1]||(o[1]=e=>Vue.unref(t).status=e),placeholder:"请选择状态",clearable:"",class:"!w-[180px]"},{default:Vue.withCtx(()=>[Vue.createVNode(c,{label:"开启",value:"1"}),Vue.createVNode(c,{label:"关闭",value:"0"})]),_:1},8,["modelValue"])]),_:1}),Vue.createVNode(u,null,{default:Vue.withCtx(()=>[Vue.createVNode(n,{type:"primary",icon:Vue.unref(r)(Vue.unref(B)),loading:Vue.unref(V),onClick:Vue.unref(i)},{default:Vue.withCtx(()=>[Vue.createTextVNode(" 搜索 ")]),_:1},8,["icon","loading","onClick"]),Vue.createVNode(n,{icon:Vue.unref(r)(Vue.unref(R)),onClick:o[2]||(o[2]=e=>Vue.unref(d)(l.value))},{default:Vue.withCtx(()=>[Vue.createTextVNode(" 重置 ")]),_:1},8,["icon"])]),_:1})]),_:1},8,["model"]),Vue.createVNode(Vue.unref(T),{title:"部门列表",tableRef:(p=a.value)==null?void 0:p.getTableRef(),onRefresh:Vue.unref(i)},{buttons:Vue.withCtx(()=>[Vue.createVNode(n,{type:"primary",icon:Vue.unref(r)(Vue.unref(U))},{default:Vue.withCtx(()=>[Vue.createTextVNode(" 新增部门 ")]),_:1},8,["icon"])]),default:Vue.withCtx(({size:e,checkList:g})=>[Vue.createVNode(v,{ref_key:"tableRef",ref:a,border:"","align-whole":"center","row-key":"id",showOverflowTooltip:"","table-layout":"auto","default-expand-all":"",loading:Vue.unref(V),size:e,data:Vue.unref(s),columns:Vue.unref(m),checkList:g,"header-cell-style":{background:"var(--el-table-row-hover-bg-color)",color:"var(--el-text-color-primary)"},onSelectionChange:Vue.unref(h)},{operation:Vue.withCtx(({row:f})=>[Vue.createVNode(n,{class:"reset-margin",link:"",type:"primary",size:e,onClick:k=>Vue.unref(_)(f),icon:Vue.unref(r)(Vue.unref(D))},{default:Vue.withCtx(()=>[Vue.createTextVNode(" 修改 ")]),_:2},1032,["size","onClick","icon"]),Vue.createVNode(N,{title:"是否确认删除?"},{reference:Vue.withCtx(()=>[Vue.createVNode(n,{class:"reset-margin",link:"",type:"primary",size:e,icon:Vue.unref(r)(Vue.unref(S)),onClick:k=>Vue.unref(C)(f)},{default:Vue.withCtx(()=>[Vue.createTextVNode(" 删除 ")]),_:2},1032,["size","icon","onClick"])]),_:2},1024)]),_:2},1032,["loading","size","data","columns","checkList","header-cell-style","onSelectionChange"])]),_:1},8,["tableRef","onRefresh"])])}}});export{ee as default};
|
||||
import{useDept as y}from"./hook-25a236a7.js";import{R,P as T,D as S}from"./refresh-504ce504.js";import{u as r}from"./hooks-8de8f790.js";import{d as D}from"./edit-pen-37b5ced2.js";import{S as B}from"./search-4b9e88d3.js";import{A as U}from"./add-circle-line-5b89a592.js";import"./index-e3206f59.js";import"./index-8c77f9cd.js";import"./_commonjsHelpers-042e6b4d.js";import"./hot-cf4dcfeb.js";import"./index-5e5694dd.js";import"./multiTags-d9cd5aad.js";import"./index-4b83e049.js";import"./index-b5591886.js";import"./system-6be089c6.js";import"./epTheme-80ea1c2b.js";import"./index-02c38b19.js";const $={class:"main"},A=Vue.defineComponent({name:"Dept"}),ee=Vue.defineComponent({...A,setup(F){const l=Vue.ref(),a=Vue.ref(),{form:t,loading:V,columns:m,dataList:s,onSearch:i,resetForm:d,handleUpdate:_,handleDelete:C,handleSelectionChange:h}=y();return(L,o)=>{var p;const x=Vue.resolveComponent("el-input"),u=Vue.resolveComponent("el-form-item"),c=Vue.resolveComponent("el-option"),b=Vue.resolveComponent("el-select"),n=Vue.resolveComponent("el-button"),w=Vue.resolveComponent("el-form"),N=Vue.resolveComponent("el-popconfirm"),v=Vue.resolveComponent("pure-table");return Vue.openBlock(),Vue.createElementBlock("div",$,[Vue.createVNode(w,{ref_key:"formRef",ref:l,inline:!0,model:Vue.unref(t),class:"bg-bg_color w-[99/100] pl-8 pt-4"},{default:Vue.withCtx(()=>[Vue.createVNode(u,{label:"部门名称:",prop:"user"},{default:Vue.withCtx(()=>[Vue.createVNode(x,{modelValue:Vue.unref(t).user,"onUpdate:modelValue":o[0]||(o[0]=e=>Vue.unref(t).user=e),placeholder:"请输入部门名称",clearable:"",class:"!w-[200px]"},null,8,["modelValue"])]),_:1}),Vue.createVNode(u,{label:"状态:",prop:"status"},{default:Vue.withCtx(()=>[Vue.createVNode(b,{modelValue:Vue.unref(t).status,"onUpdate:modelValue":o[1]||(o[1]=e=>Vue.unref(t).status=e),placeholder:"请选择状态",clearable:"",class:"!w-[180px]"},{default:Vue.withCtx(()=>[Vue.createVNode(c,{label:"开启",value:"1"}),Vue.createVNode(c,{label:"关闭",value:"0"})]),_:1},8,["modelValue"])]),_:1}),Vue.createVNode(u,null,{default:Vue.withCtx(()=>[Vue.createVNode(n,{type:"primary",icon:Vue.unref(r)(Vue.unref(B)),loading:Vue.unref(V),onClick:Vue.unref(i)},{default:Vue.withCtx(()=>[Vue.createTextVNode(" 搜索 ")]),_:1},8,["icon","loading","onClick"]),Vue.createVNode(n,{icon:Vue.unref(r)(Vue.unref(R)),onClick:o[2]||(o[2]=e=>Vue.unref(d)(l.value))},{default:Vue.withCtx(()=>[Vue.createTextVNode(" 重置 ")]),_:1},8,["icon"])]),_:1})]),_:1},8,["model"]),Vue.createVNode(Vue.unref(T),{title:"部门列表",tableRef:(p=a.value)==null?void 0:p.getTableRef(),onRefresh:Vue.unref(i)},{buttons:Vue.withCtx(()=>[Vue.createVNode(n,{type:"primary",icon:Vue.unref(r)(Vue.unref(U))},{default:Vue.withCtx(()=>[Vue.createTextVNode(" 新增部门 ")]),_:1},8,["icon"])]),default:Vue.withCtx(({size:e,checkList:g})=>[Vue.createVNode(v,{ref_key:"tableRef",ref:a,border:"","align-whole":"center","row-key":"id",showOverflowTooltip:"","table-layout":"auto","default-expand-all":"",loading:Vue.unref(V),size:e,data:Vue.unref(s),columns:Vue.unref(m),checkList:g,"header-cell-style":{background:"var(--el-table-row-hover-bg-color)",color:"var(--el-text-color-primary)"},onSelectionChange:Vue.unref(h)},{operation:Vue.withCtx(({row:f})=>[Vue.createVNode(n,{class:"reset-margin",link:"",type:"primary",size:e,onClick:k=>Vue.unref(_)(f),icon:Vue.unref(r)(Vue.unref(D))},{default:Vue.withCtx(()=>[Vue.createTextVNode(" 修改 ")]),_:2},1032,["size","onClick","icon"]),Vue.createVNode(N,{title:"是否确认删除?"},{reference:Vue.withCtx(()=>[Vue.createVNode(n,{class:"reset-margin",link:"",type:"primary",size:e,icon:Vue.unref(r)(Vue.unref(S)),onClick:k=>Vue.unref(C)(f)},{default:Vue.withCtx(()=>[Vue.createTextVNode(" 删除 ")]),_:2},1032,["size","icon","onClick"])]),_:2},1024)]),_:2},1032,["loading","size","data","columns","checkList","header-cell-style","onSelectionChange"])]),_:1},8,["tableRef","onRefresh"])])}}});export{ee as default};
|
1
dist/static/js/index-4220aa7b.js
vendored
1
dist/static/js/index-4220aa7b.js
vendored
@ -1 +0,0 @@
|
||||
import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-d3f29ba5.js";import"./columns-2a6a7ba1.js";import"./message-7116a117.js";import"./index-8c77f9cd.js";import"./data-c667adbf.js";export{o as default};
|
1
dist/static/js/index-4559a54f.js
vendored
1
dist/static/js/index-4559a54f.js
vendored
@ -1 +0,0 @@
|
||||
import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-3539dc9e.js";import"./columns-b908db8c.js";import"./message-7116a117.js";import"./index-8c77f9cd.js";import"./data-c667adbf.js";export{o as default};
|
1
dist/static/js/index-54d3e271.js
vendored
1
dist/static/js/index-54d3e271.js
vendored
@ -1 +0,0 @@
|
||||
import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-a662a395.js";import"./columns-75ad8417.js";import"./index-8c77f9cd.js";import"./data-fe7da62c.js";import"./message-7116a117.js";import"./index-56f0b8e1.js";import"./index-5ecdd2b7.js";export{o as default};
|
1
dist/static/js/index-550e9a5a.js
vendored
Normal file
1
dist/static/js/index-550e9a5a.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-ea2c7b6a.js";import"./columns-fba64780.js";import"./data-11b60b52.js";import"./index-8c77f9cd.js";export{o as default};
|
1
dist/static/js/index-5669748a.js
vendored
1
dist/static/js/index-5669748a.js
vendored
File diff suppressed because one or more lines are too long
2
dist/static/js/index-56a8a18d.js
vendored
Normal file
2
dist/static/js/index-56a8a18d.js
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
import{list as m}from"./list-94d7e5cd.js";import{_}from"./_plugin-vue_export-helper-c27b6911.js";import"./base.vue_vue_type_script_setup_true_lang-7f30a0a5.js";import"./data-ec6a9b49.js";import"./index-8c77f9cd.js";import"./stripe.vue_vue_type_script_setup_true_lang-0890a78e.js";import"./border.vue_vue_type_script_setup_true_lang-fc5c029a.js";import"./status.vue_vue_type_style_index_0_lang-1e7398c0.js";import"./fixHeader.vue_vue_type_script_setup_true_lang-47284918.js";import"./fixColumn.vue_vue_type_script_setup_true_lang-f89a5838.js";import"./fluidHeight.vue_vue_type_script_setup_true_lang-1c618cc3.js";import"./groupHeader.vue_vue_type_script_setup_true_lang-31b26982.js";import"./radio.vue_vue_type_script_setup_true_lang-8dcddce6.js";import"./multipleChoice.vue_vue_type_script_setup_true_lang-280f1842.js";import"./sortable.vue_vue_type_script_setup_true_lang-73bb55db.js";import"./filters.vue_vue_type_script_setup_true_lang-28ab2539.js";import"./index.vue_vue_type_script_setup_true_lang-41614002.js";import"./columns-fe3b1ee4.js";import"./message-7116a117.js";import"./index.vue_vue_type_script_setup_true_lang-ba77f4aa.js";import"./columns-b7074262.js";import"./expand.vue_vue_type_script_setup_true_lang-294610cc.js";import"./tree.vue_vue_type_script_setup_true_lang-9318b807.js";import"./totalRow.vue_vue_type_script_setup_true_lang-e58d18d0.js";import"./merge.vue_vue_type_script_setup_true_lang-72107030.js";import"./customIndex.vue_vue_type_script_setup_true_lang-0e1c5acd.js";import"./layout.vue_vue_type_script_setup_true_lang-60928841.js";import"./nestProp.vue_vue_type_script_setup_true_lang-85c33e1b.js";import"./imgPreview.vue_vue_type_script_setup_true_lang-fd6b47ec.js";const s={class:"card-header"},V={class:"font-medium"},d=Vue.defineComponent({name:"PureTable"}),f=Vue.defineComponent({...d,setup(C){const t=Vue.ref(0);function r({index:o}){t.value=o}return(o,k)=>{const l=Vue.resolveComponent("el-link"),p=Vue.resolveComponent("el-alert"),a=Vue.resolveComponent("el-tooltip"),u=Vue.resolveComponent("el-tab-pane"),c=Vue.resolveComponent("el-tabs"),i=Vue.resolveComponent("el-card");return Vue.openBlock(),Vue.createBlock(i,null,{header:Vue.withCtx(()=>[Vue.createElementVNode("div",s,[Vue.createElementVNode("span",V,[Vue.createTextVNode(" 平台二次封装 element-plus 的 Table ,完全兼容 Api 并提供灵活的配置项以及完善的类型提醒,再也不用将代码都写在 template 里了,欢迎 Star "),Vue.createVNode(l,{href:"https://github.com/pure-admin/pure-admin-table",target:"_blank",style:{"font-size":"16px",margin:"0 4px 5px"}},{default:Vue.withCtx(()=>[Vue.createTextVNode(" @pureadmin/table ")]),_:1})])])]),default:Vue.withCtx(()=>[Vue.createVNode(p,{title:`基础用法中大部分表格都没设置 row-key ,不过最好都设置一下,后端需返回唯一值的字段,比如id 作用:1. 用来优化 Table
|
||||
的渲染,尤其当字段在深层结构中;2. 防止某些操作导致表格组件内部混乱`,type:"info",closable:!1}),Vue.createVNode(c,{onTabClick:r},{default:Vue.withCtx(()=>[(Vue.openBlock(!0),Vue.createElementBlock(Vue.Fragment,null,Vue.renderList(Vue.unref(m),(e,n)=>(Vue.openBlock(),Vue.createBlock(u,{key:e.key,lazy:!0},{label:Vue.withCtx(()=>[Vue.createVNode(a,{content:`(第 ${n+1} 个示例)${e.content}`,placement:"top-end"},{default:Vue.withCtx(()=>[Vue.createElementVNode("span",null,Vue.toDisplayString(e.title),1)]),_:2},1032,["content"])]),default:Vue.withCtx(()=>[t.value==n?(Vue.openBlock(),Vue.createBlock(Vue.resolveDynamicComponent(e.component),{key:0})):Vue.createCommentVNode("",!0)]),_:2},1024))),128))]),_:1})]),_:1})}}});const R=_(f,[["__scopeId","data-v-fde7d744"]]);export{R as default};
|
@ -1 +1 @@
|
||||
import{w as r,h as a}from"./index-cd980a4b.js";import"./index-8c77f9cd.js";import"./_commonjsHelpers-042e6b4d.js";import"./hot-cf4dcfeb.js";import"./index-5e5694dd.js";import"./multiTags-d9cd5aad.js";import"./index-4b83e049.js";import"./index-5ecdd2b7.js";const c=Vue.createElementVNode("div",{class:"card-header"},"组件方式判断权限",-1),l=Vue.createElementVNode("div",{class:"card-header"},"函数方式判断权限",-1),i=Vue.createElementVNode("div",{class:"card-header"}," 指令方式判断权限(该方式不能动态修改权限) ",-1),_=Vue.defineComponent({name:"PermissionButton"}),v=Vue.defineComponent({..._,setup(s){const t=Vue.computed(()=>({width:"85vw",justifyContent:"start"}));return(p,h)=>{const n=Vue.resolveComponent("el-tag"),e=Vue.resolveComponent("el-button"),u=Vue.resolveComponent("Auth"),o=Vue.resolveComponent("el-card"),V=Vue.resolveComponent("el-space"),d=Vue.resolveDirective("auth");return Vue.openBlock(),Vue.createBlock(V,{direction:"vertical",size:"large"},{default:Vue.withCtx(()=>[Vue.createVNode(n,{style:Vue.normalizeStyle(Vue.unref(t)),size:"large",effect:"dark"},{default:Vue.withCtx(()=>[Vue.createTextVNode(" 当前拥有的code列表:"+Vue.toDisplayString(Vue.unref(r)()),1)]),_:1},8,["style"]),Vue.createVNode(o,{shadow:"never",style:Vue.normalizeStyle(Vue.unref(t))},{header:Vue.withCtx(()=>[c]),default:Vue.withCtx(()=>[Vue.createVNode(u,{value:"btn_add"},{default:Vue.withCtx(()=>[Vue.createVNode(e,{type:"success"},{default:Vue.withCtx(()=>[Vue.createTextVNode(" 拥有code:'btn_add' 权限可见 ")]),_:1})]),_:1}),Vue.createVNode(u,{value:["btn_edit"]},{default:Vue.withCtx(()=>[Vue.createVNode(e,{type:"primary"},{default:Vue.withCtx(()=>[Vue.createTextVNode(" 拥有code:['btn_edit'] 权限可见 ")]),_:1})]),_:1}),Vue.createVNode(u,{value:["btn_add","btn_edit","btn_delete"]},{default:Vue.withCtx(()=>[Vue.createVNode(e,{type:"danger"},{default:Vue.withCtx(()=>[Vue.createTextVNode(" 拥有code:['btn_add', 'btn_edit', 'btn_delete'] 权限可见 ")]),_:1})]),_:1})]),_:1},8,["style"]),Vue.createVNode(o,{shadow:"never",style:Vue.normalizeStyle(Vue.unref(t))},{header:Vue.withCtx(()=>[l]),default:Vue.withCtx(()=>[Vue.unref(a)("btn_add")?(Vue.openBlock(),Vue.createBlock(e,{key:0,type:"success"},{default:Vue.withCtx(()=>[Vue.createTextVNode(" 拥有code:'btn_add' 权限可见 ")]),_:1})):Vue.createCommentVNode("",!0),Vue.unref(a)(["btn_edit"])?(Vue.openBlock(),Vue.createBlock(e,{key:1,type:"primary"},{default:Vue.withCtx(()=>[Vue.createTextVNode(" 拥有code:['btn_edit'] 权限可见 ")]),_:1})):Vue.createCommentVNode("",!0),Vue.unref(a)(["btn_add","btn_edit","btn_delete"])?(Vue.openBlock(),Vue.createBlock(e,{key:2,type:"danger"},{default:Vue.withCtx(()=>[Vue.createTextVNode(" 拥有code:['btn_add', 'btn_edit', 'btn_delete'] 权限可见 ")]),_:1})):Vue.createCommentVNode("",!0)]),_:1},8,["style"]),Vue.createVNode(o,{shadow:"never",style:Vue.normalizeStyle(Vue.unref(t))},{header:Vue.withCtx(()=>[i]),default:Vue.withCtx(()=>[Vue.withDirectives((Vue.openBlock(),Vue.createBlock(e,{type:"success"},{default:Vue.withCtx(()=>[Vue.createTextVNode(" 拥有code:'btn_add' 权限可见 ")]),_:1})),[[d,"btn_add"]]),Vue.withDirectives((Vue.openBlock(),Vue.createBlock(e,{type:"primary"},{default:Vue.withCtx(()=>[Vue.createTextVNode(" 拥有code:['btn_edit'] 权限可见 ")]),_:1})),[[d,["btn_edit"]]]),Vue.withDirectives((Vue.openBlock(),Vue.createBlock(e,{type:"danger"},{default:Vue.withCtx(()=>[Vue.createTextVNode(" 拥有code:['btn_add', 'btn_edit', 'btn_delete'] 权限可见 ")]),_:1})),[[d,["btn_add","btn_edit","btn_delete"]]])]),_:1},8,["style"])]),_:1})}}});export{v as default};
|
||||
import{w as r,h as a}from"./index-e3206f59.js";import"./index-8c77f9cd.js";import"./_commonjsHelpers-042e6b4d.js";import"./hot-cf4dcfeb.js";import"./index-5e5694dd.js";import"./multiTags-d9cd5aad.js";import"./index-4b83e049.js";import"./index-b5591886.js";const c=Vue.createElementVNode("div",{class:"card-header"},"组件方式判断权限",-1),l=Vue.createElementVNode("div",{class:"card-header"},"函数方式判断权限",-1),i=Vue.createElementVNode("div",{class:"card-header"}," 指令方式判断权限(该方式不能动态修改权限) ",-1),_=Vue.defineComponent({name:"PermissionButton"}),v=Vue.defineComponent({..._,setup(s){const t=Vue.computed(()=>({width:"85vw",justifyContent:"start"}));return(p,h)=>{const n=Vue.resolveComponent("el-tag"),e=Vue.resolveComponent("el-button"),u=Vue.resolveComponent("Auth"),o=Vue.resolveComponent("el-card"),V=Vue.resolveComponent("el-space"),d=Vue.resolveDirective("auth");return Vue.openBlock(),Vue.createBlock(V,{direction:"vertical",size:"large"},{default:Vue.withCtx(()=>[Vue.createVNode(n,{style:Vue.normalizeStyle(Vue.unref(t)),size:"large",effect:"dark"},{default:Vue.withCtx(()=>[Vue.createTextVNode(" 当前拥有的code列表:"+Vue.toDisplayString(Vue.unref(r)()),1)]),_:1},8,["style"]),Vue.createVNode(o,{shadow:"never",style:Vue.normalizeStyle(Vue.unref(t))},{header:Vue.withCtx(()=>[c]),default:Vue.withCtx(()=>[Vue.createVNode(u,{value:"btn_add"},{default:Vue.withCtx(()=>[Vue.createVNode(e,{type:"success"},{default:Vue.withCtx(()=>[Vue.createTextVNode(" 拥有code:'btn_add' 权限可见 ")]),_:1})]),_:1}),Vue.createVNode(u,{value:["btn_edit"]},{default:Vue.withCtx(()=>[Vue.createVNode(e,{type:"primary"},{default:Vue.withCtx(()=>[Vue.createTextVNode(" 拥有code:['btn_edit'] 权限可见 ")]),_:1})]),_:1}),Vue.createVNode(u,{value:["btn_add","btn_edit","btn_delete"]},{default:Vue.withCtx(()=>[Vue.createVNode(e,{type:"danger"},{default:Vue.withCtx(()=>[Vue.createTextVNode(" 拥有code:['btn_add', 'btn_edit', 'btn_delete'] 权限可见 ")]),_:1})]),_:1})]),_:1},8,["style"]),Vue.createVNode(o,{shadow:"never",style:Vue.normalizeStyle(Vue.unref(t))},{header:Vue.withCtx(()=>[l]),default:Vue.withCtx(()=>[Vue.unref(a)("btn_add")?(Vue.openBlock(),Vue.createBlock(e,{key:0,type:"success"},{default:Vue.withCtx(()=>[Vue.createTextVNode(" 拥有code:'btn_add' 权限可见 ")]),_:1})):Vue.createCommentVNode("",!0),Vue.unref(a)(["btn_edit"])?(Vue.openBlock(),Vue.createBlock(e,{key:1,type:"primary"},{default:Vue.withCtx(()=>[Vue.createTextVNode(" 拥有code:['btn_edit'] 权限可见 ")]),_:1})):Vue.createCommentVNode("",!0),Vue.unref(a)(["btn_add","btn_edit","btn_delete"])?(Vue.openBlock(),Vue.createBlock(e,{key:2,type:"danger"},{default:Vue.withCtx(()=>[Vue.createTextVNode(" 拥有code:['btn_add', 'btn_edit', 'btn_delete'] 权限可见 ")]),_:1})):Vue.createCommentVNode("",!0)]),_:1},8,["style"]),Vue.createVNode(o,{shadow:"never",style:Vue.normalizeStyle(Vue.unref(t))},{header:Vue.withCtx(()=>[i]),default:Vue.withCtx(()=>[Vue.withDirectives((Vue.openBlock(),Vue.createBlock(e,{type:"success"},{default:Vue.withCtx(()=>[Vue.createTextVNode(" 拥有code:'btn_add' 权限可见 ")]),_:1})),[[d,"btn_add"]]),Vue.withDirectives((Vue.openBlock(),Vue.createBlock(e,{type:"primary"},{default:Vue.withCtx(()=>[Vue.createTextVNode(" 拥有code:['btn_edit'] 权限可见 ")]),_:1})),[[d,["btn_edit"]]]),Vue.withDirectives((Vue.openBlock(),Vue.createBlock(e,{type:"danger"},{default:Vue.withCtx(()=>[Vue.createTextVNode(" 拥有code:['btn_add', 'btn_edit', 'btn_delete'] 权限可见 ")]),_:1})),[[d,["btn_add","btn_edit","btn_delete"]]])]),_:1},8,["style"])]),_:1})}}});export{v as default};
|
1
dist/static/js/index-5ecdd2b7.js
vendored
1
dist/static/js/index-5ecdd2b7.js
vendored
@ -1 +0,0 @@
|
||||
var f;const p=typeof window<"u",v=e=>typeof e=="string",d=()=>{};p&&((f=window==null?void 0:window.navigator)!=null&&f.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function m(e){return typeof e=="function"?e():VueDemi.unref(e)}function V(e,i){function u(...t){return new Promise((r,n)=>{Promise.resolve(e(()=>i.apply(this,t),{fn:i,thisArg:this,args:t})).then(r).catch(n)})}return u}function w(e,i={}){let u,t,r=d;const n=o=>{clearTimeout(o),r(),r=d};return o=>{const a=m(e),s=m(i.maxWait);return u&&n(u),a<=0||s!==void 0&&s<=0?(t&&(n(t),t=null),Promise.resolve(o())):new Promise((l,D)=>{r=i.rejectOnCancel?D:l,s&&!t&&(t=setTimeout(()=>{u&&n(u),t=null,l(o())},s)),u=setTimeout(()=>{t&&n(t),t=null,l(o())},a)})}}VueDemi.isVue3,VueDemi.isVue3,VueDemi.isVue3;function T(e){return e}function g(e){return VueDemi.getCurrentScope()?(VueDemi.onScopeDispose(e),!0):!1}function y(e,i=200,u={}){return V(w(i,u),e)}function h(e,i=!0){VueDemi.getCurrentInstance()?VueDemi.onMounted(e):i?e():VueDemi.nextTick(e)}function P(e){VueDemi.getCurrentInstance()&&VueDemi.onUnmounted(e)}function x(e,i,u={}){const{immediate:t=!0}=u,r=VueDemi.ref(!1);let n=null;function c(){n&&(clearTimeout(n),n=null)}function o(){r.value=!1,c()}function a(...s){c(),r.value=!0,n=setTimeout(()=>{r.value=!1,n=null,e(...s)},m(i))}return t&&(r.value=!0,p&&a()),g(o),{isPending:r,start:a,stop:o}}export{P as a,y as b,v as c,g as d,T as e,p as i,d as n,m as r,h as t,x as u};
|
1
dist/static/js/index-6b630f16.js
vendored
Normal file
1
dist/static/js/index-6b630f16.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-101e191f.js";import"./columns-92fee261.js";import"./sortable.esm-679e0872.js";import"./index-8c77f9cd.js";import"./data-11b60b52.js";export{o as default};
|
File diff suppressed because one or more lines are too long
1
dist/static/js/index-74395a2f.js
vendored
Normal file
1
dist/static/js/index-74395a2f.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-41614002.js";import"./columns-fe3b1ee4.js";import"./message-7116a117.js";import"./index-8c77f9cd.js";import"./data-ec6a9b49.js";export{o as default};
|
10
dist/static/js/index-78bfac46.js
vendored
10
dist/static/js/index-78bfac46.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
dist/static/js/index-830a9e2f.js
vendored
Normal file
1
dist/static/js/index-830a9e2f.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-3abb612f.js";import"./columns-308f5242.js";import"./print-a6e42845.js";import"./data-11b60b52.js";import"./index-8c77f9cd.js";export{o as default};
|
@ -1 +1 @@
|
||||
import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-4b04b442.js";import"./columns-52410b1e.js";import"./data-fe7da62c.js";import"./index-8c77f9cd.js";import"./message-7116a117.js";import"./edit-pen-37b5ced2.js";import"./check-f53d8364.js";export{o as default};
|
||||
import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-13ebdc6e.js";import"./columns-8eaeed13.js";import"./data-11b60b52.js";import"./index-8c77f9cd.js";import"./message-7116a117.js";import"./edit-pen-37b5ced2.js";import"./check-f53d8364.js";export{o as default};
|
1
dist/static/js/index-901cae16.js
vendored
Normal file
1
dist/static/js/index-901cae16.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-bd812e33.js";import"./columns-2dc2b86b.js";import"./xlsx-e927f539.js";import"./data-11b60b52.js";import"./index-8c77f9cd.js";import"./message-7116a117.js";export{o as default};
|
1
dist/static/js/index-991f5868.js
vendored
Normal file
1
dist/static/js/index-991f5868.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-2a9ad9c6.js";import"./columns-1a4fe653.js";import"./data-11b60b52.js";import"./index-8c77f9cd.js";export{o as default};
|
1
dist/static/js/index-a1b985d4.js
vendored
1
dist/static/js/index-a1b985d4.js
vendored
@ -1 +0,0 @@
|
||||
import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-4f868e20.js";import"./columns-587d5ad7.js";import"./data-fe7da62c.js";import"./index-8c77f9cd.js";export{o as default};
|
@ -1,4 +1,4 @@
|
||||
import z from"./Card-11f6abdc.js";import{g as N}from"./index-cd980a4b.js";import{m as b}from"./message-7116a117.js";import{_ as B}from"./DialogForm.vue_vue_type_script_setup_true_lang-2c79269f.js";import{u as D}from"./hooks-8de8f790.js";import{S as I}from"./search-4b9e88d3.js";import{A}from"./add-circle-line-5b89a592.js";import"./more-2-fill-7f8ca5b5.js";import"./_plugin-vue_export-helper-c27b6911.js";import"./index-8c77f9cd.js";import"./_commonjsHelpers-042e6b4d.js";import"./hot-cf4dcfeb.js";import"./index-5e5694dd.js";import"./multiTags-d9cd5aad.js";import"./index-4b83e049.js";import"./index-5ecdd2b7.js";import"./index-02c38b19.js";const E=r=>N.request("post","/getCardList",{data:r}),P={class:"main"},M={class:"w-full flex justify-between mb-4"},T=Vue.defineComponent({name:"ListCard"}),te=Vue.defineComponent({...T,setup(r){const c=`
|
||||
import z from"./Card-11f6abdc.js";import{g as N}from"./index-e3206f59.js";import{m as b}from"./message-7116a117.js";import{_ as B}from"./DialogForm.vue_vue_type_script_setup_true_lang-2c79269f.js";import{u as D}from"./hooks-8de8f790.js";import{S as I}from"./search-4b9e88d3.js";import{A}from"./add-circle-line-5b89a592.js";import"./more-2-fill-7f8ca5b5.js";import"./_plugin-vue_export-helper-c27b6911.js";import"./index-8c77f9cd.js";import"./_commonjsHelpers-042e6b4d.js";import"./hot-cf4dcfeb.js";import"./index-5e5694dd.js";import"./multiTags-d9cd5aad.js";import"./index-4b83e049.js";import"./index-b5591886.js";import"./index-02c38b19.js";const E=r=>N.request("post","/getCardList",{data:r}),P={class:"main"},M={class:"w-full flex justify-between mb-4"},T=Vue.defineComponent({name:"ListCard"}),te=Vue.defineComponent({...T,setup(r){const c=`
|
||||
<path class="path" d="
|
||||
M 30 15
|
||||
L 28 17
|
1
dist/static/js/index-b550792e.js
vendored
Normal file
1
dist/static/js/index-b550792e.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-618c3bf0.js";import"./columns-4f226636.js";import"./index-8c77f9cd.js";import"./data-11b60b52.js";import"./message-7116a117.js";import"./index-08272cc7.js";import"./index-b5591886.js";export{o as default};
|
1
dist/static/js/index-b5591886.js
vendored
Normal file
1
dist/static/js/index-b5591886.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
var f;const p=typeof window<"u",v=e=>typeof e=="string",d=()=>{};p&&((f=window==null?void 0:window.navigator)!=null&&f.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function m(e){return typeof e=="function"?e():VueDemi.unref(e)}function V(e,i){function u(...n){return new Promise((r,t)=>{Promise.resolve(e(()=>i.apply(this,n),{fn:i,thisArg:this,args:n})).then(r).catch(t)})}return u}function g(e,i={}){let u,n,r=d;const t=o=>{clearTimeout(o),r(),r=d};return o=>{const a=m(e),s=m(i.maxWait);return u&&t(u),a<=0||s!==void 0&&s<=0?(n&&(t(n),n=null),Promise.resolve(o())):new Promise((c,D)=>{r=i.rejectOnCancel?D:c,s&&!n&&(n=setTimeout(()=>{u&&t(u),n=null,c(o())},s)),u=setTimeout(()=>{n&&t(n),n=null,c(o())},a)})}}VueDemi.isVue3,VueDemi.isVue3,VueDemi.isVue3;function y(e){return e}function w(e){return VueDemi.getCurrentScope()?(VueDemi.onScopeDispose(e),!0):!1}function T(e,i=200,u={}){return V(g(i,u),e)}function P(e,i=!0){VueDemi.getCurrentInstance()?VueDemi.onMounted(e):i?e():VueDemi.nextTick(e)}function h(e){VueDemi.getCurrentInstance()&&VueDemi.onUnmounted(e)}function x(e,i,u={}){const{immediate:n=!0}=u,r=VueDemi.ref(!1);let t=null;function l(){t&&(clearTimeout(t),t=null)}function o(){r.value=!1,l()}function a(...s){l(),r.value=!0,t=setTimeout(()=>{r.value=!1,t=null,e(...s)},m(i))}return n&&(r.value=!0,p&&a()),w(o),{isPending:VueDemi.readonly(r),start:a,stop:o}}export{h as a,T as b,v as c,w as d,y as e,p as i,d as n,m as r,P as t,x as u};
|
@ -1 +1 @@
|
||||
import{a as v,y as _,d as k,c as s,A as d}from"./index-cd980a4b.js";import{u as x}from"./hooks-f76c5287.js";import{d as E}from"./index-8c77f9cd.js";import{u as i}from"./multiTags-d9cd5aad.js";import"./_commonjsHelpers-042e6b4d.js";import"./hot-cf4dcfeb.js";import"./index-5e5694dd.js";import"./index-4b83e049.js";import"./index-5ecdd2b7.js";const g=Vue.createElementVNode("div",null,"标签页复用,超出限制自动关闭",-1),w={class:"flex flex-wrap items-center"},T=Vue.createElementVNode("p",null,"query传参模式:",-1),y={class:"flex flex-wrap items-center"},$=Vue.createElementVNode("p",null,"params传参模式:",-1),B=Vue.defineComponent({name:"Tabs"}),H=Vue.defineComponent({...B,setup(b){const{toDetail:a,router:m}=x(),c=E(v().wholeMenus,!0),l=Vue.computed(()=>_(k(c),0,{disabled:!0})),r=Vue.ref([]),V=Vue.computed(()=>{var u;return(u=i())==null?void 0:u.multiTags});function p(){r.value.length!==0&&r.value.forEach(u=>{const t=d(l.value,u).redirect??d(l.value,u).path;i().handleTags("splice",t),t==="/tabs/index"&&m.push({path:V.value[V.value.length-1].path})})}return(u,t)=>{const o=Vue.resolveComponent("el-button"),n=Vue.resolveComponent("el-divider"),f=Vue.resolveComponent("el-tree-select"),h=Vue.resolveComponent("el-link"),C=Vue.resolveComponent("el-card");return Vue.openBlock(),Vue.createBlock(C,null,{header:Vue.withCtx(()=>[g]),default:Vue.withCtx(()=>[Vue.createElementVNode("div",w,[T,(Vue.openBlock(),Vue.createElementBlock(Vue.Fragment,null,Vue.renderList(6,e=>Vue.createVNode(o,{class:"m-2",key:e,onClick:N=>Vue.unref(a)(e,"query")},{default:Vue.withCtx(()=>[Vue.createTextVNode(" 打开"+Vue.toDisplayString(e)+"详情页 ",1)]),_:2},1032,["onClick"])),64))]),Vue.createVNode(n),Vue.createElementVNode("div",y,[$,(Vue.openBlock(),Vue.createElementBlock(Vue.Fragment,null,Vue.renderList(6,e=>Vue.createVNode(o,{class:"m-2",key:e,onClick:N=>Vue.unref(a)(e,"params")},{default:Vue.withCtx(()=>[Vue.createTextVNode(" 打开"+Vue.toDisplayString(e)+"详情页 ",1)]),_:2},1032,["onClick"])),64))]),Vue.createVNode(n),Vue.createVNode(f,{class:"w-[300px]","node-key":"uniqueId",placeholder:"请选择要关闭的标签",clearable:"",multiple:"",filterable:"","default-expand-all":"",props:{label:e=>Vue.unref(s)(e.meta.title),value:"uniqueId",children:"children",disabled:"disabled"},data:Vue.unref(l),modelValue:r.value,"onUpdate:modelValue":t[0]||(t[0]=e=>r.value=e)},{default:Vue.withCtx(({data:e})=>[Vue.createElementVNode("span",null,Vue.toDisplayString(Vue.unref(s)(e.meta.title)),1)]),_:1},8,["props","data","modelValue"]),Vue.createVNode(o,{class:"m-2",onClick:p},{default:Vue.withCtx(()=>[Vue.createTextVNode("关闭标签")]),_:1}),Vue.createVNode(n),Vue.createVNode(o,{onClick:t[1]||(t[1]=e=>u.$router.push({name:"Menu1-2-2"}))},{default:Vue.withCtx(()=>[Vue.createTextVNode(" 跳转页内菜单(传name对象,优先推荐) ")]),_:1}),Vue.createVNode(o,{onClick:t[2]||(t[2]=e=>u.$router.push("/nested/menu1/menu1-2/menu1-2-2"))},{default:Vue.withCtx(()=>[Vue.createTextVNode(" 跳转页内菜单(直接传要跳转的路径) ")]),_:1}),Vue.createVNode(o,{onClick:t[3]||(t[3]=e=>u.$router.push({path:"/nested/menu1/menu1-2/menu1-2-2"}))},{default:Vue.withCtx(()=>[Vue.createTextVNode(" 跳转页内菜单(传path对象) ")]),_:1}),Vue.createVNode(n),Vue.createVNode(o,{onClick:t[4]||(t[4]=e=>u.$router.push({name:"Menu1-2-2",query:{text:"传name对象,优先推荐"}}))},{default:Vue.withCtx(()=>[Vue.createTextVNode(" 携参跳转页内菜单(传name对象,优先推荐) ")]),_:1}),Vue.createVNode(o,{onClick:t[5]||(t[5]=e=>u.$router.push({path:"/nested/menu1/menu1-2/menu1-2-2",query:{text:"传path对象"}}))},{default:Vue.withCtx(()=>[Vue.createTextVNode(" 携参跳转页内菜单(传path对象) ")]),_:1}),Vue.createVNode(h,{class:"ml-4",href:"https://router.vuejs.org/zh/guide/essentials/navigation.html#%E5%AF%BC%E8%88%AA%E5%88%B0%E4%B8%8D%E5%90%8C%E7%9A%84%E4%BD%8D%E7%BD%AE",target:"_blank"},{default:Vue.withCtx(()=>[Vue.createTextVNode(" 点击查看更多跳转方式 ")]),_:1}),Vue.createVNode(n),Vue.createVNode(o,{onClick:t[6]||(t[6]=e=>u.$router.push({name:"Empty"}))},{default:Vue.withCtx(()=>[Vue.createTextVNode(" 跳转无Layout的空白页面 ")]),_:1})]),_:1})}}});export{H as default};
|
||||
import{a as v,y as _,d as k,c as s,A as d}from"./index-e3206f59.js";import{u as x}from"./hooks-f76c5287.js";import{d as E}from"./index-8c77f9cd.js";import{u as i}from"./multiTags-d9cd5aad.js";import"./_commonjsHelpers-042e6b4d.js";import"./hot-cf4dcfeb.js";import"./index-5e5694dd.js";import"./index-4b83e049.js";import"./index-b5591886.js";const g=Vue.createElementVNode("div",null,"标签页复用,超出限制自动关闭",-1),w={class:"flex flex-wrap items-center"},T=Vue.createElementVNode("p",null,"query传参模式:",-1),y={class:"flex flex-wrap items-center"},$=Vue.createElementVNode("p",null,"params传参模式:",-1),B=Vue.defineComponent({name:"Tabs"}),H=Vue.defineComponent({...B,setup(b){const{toDetail:a,router:m}=x(),c=E(v().wholeMenus,!0),l=Vue.computed(()=>_(k(c),0,{disabled:!0})),r=Vue.ref([]),V=Vue.computed(()=>{var u;return(u=i())==null?void 0:u.multiTags});function p(){r.value.length!==0&&r.value.forEach(u=>{const t=d(l.value,u).redirect??d(l.value,u).path;i().handleTags("splice",t),t==="/tabs/index"&&m.push({path:V.value[V.value.length-1].path})})}return(u,t)=>{const o=Vue.resolveComponent("el-button"),n=Vue.resolveComponent("el-divider"),f=Vue.resolveComponent("el-tree-select"),h=Vue.resolveComponent("el-link"),C=Vue.resolveComponent("el-card");return Vue.openBlock(),Vue.createBlock(C,null,{header:Vue.withCtx(()=>[g]),default:Vue.withCtx(()=>[Vue.createElementVNode("div",w,[T,(Vue.openBlock(),Vue.createElementBlock(Vue.Fragment,null,Vue.renderList(6,e=>Vue.createVNode(o,{class:"m-2",key:e,onClick:N=>Vue.unref(a)(e,"query")},{default:Vue.withCtx(()=>[Vue.createTextVNode(" 打开"+Vue.toDisplayString(e)+"详情页 ",1)]),_:2},1032,["onClick"])),64))]),Vue.createVNode(n),Vue.createElementVNode("div",y,[$,(Vue.openBlock(),Vue.createElementBlock(Vue.Fragment,null,Vue.renderList(6,e=>Vue.createVNode(o,{class:"m-2",key:e,onClick:N=>Vue.unref(a)(e,"params")},{default:Vue.withCtx(()=>[Vue.createTextVNode(" 打开"+Vue.toDisplayString(e)+"详情页 ",1)]),_:2},1032,["onClick"])),64))]),Vue.createVNode(n),Vue.createVNode(f,{class:"w-[300px]","node-key":"uniqueId",placeholder:"请选择要关闭的标签",clearable:"",multiple:"",filterable:"","default-expand-all":"",props:{label:e=>Vue.unref(s)(e.meta.title),value:"uniqueId",children:"children",disabled:"disabled"},data:Vue.unref(l),modelValue:r.value,"onUpdate:modelValue":t[0]||(t[0]=e=>r.value=e)},{default:Vue.withCtx(({data:e})=>[Vue.createElementVNode("span",null,Vue.toDisplayString(Vue.unref(s)(e.meta.title)),1)]),_:1},8,["props","data","modelValue"]),Vue.createVNode(o,{class:"m-2",onClick:p},{default:Vue.withCtx(()=>[Vue.createTextVNode("关闭标签")]),_:1}),Vue.createVNode(n),Vue.createVNode(o,{onClick:t[1]||(t[1]=e=>u.$router.push({name:"Menu1-2-2"}))},{default:Vue.withCtx(()=>[Vue.createTextVNode(" 跳转页内菜单(传name对象,优先推荐) ")]),_:1}),Vue.createVNode(o,{onClick:t[2]||(t[2]=e=>u.$router.push("/nested/menu1/menu1-2/menu1-2-2"))},{default:Vue.withCtx(()=>[Vue.createTextVNode(" 跳转页内菜单(直接传要跳转的路径) ")]),_:1}),Vue.createVNode(o,{onClick:t[3]||(t[3]=e=>u.$router.push({path:"/nested/menu1/menu1-2/menu1-2-2"}))},{default:Vue.withCtx(()=>[Vue.createTextVNode(" 跳转页内菜单(传path对象) ")]),_:1}),Vue.createVNode(n),Vue.createVNode(o,{onClick:t[4]||(t[4]=e=>u.$router.push({name:"Menu1-2-2",query:{text:"传name对象,优先推荐"}}))},{default:Vue.withCtx(()=>[Vue.createTextVNode(" 携参跳转页内菜单(传name对象,优先推荐) ")]),_:1}),Vue.createVNode(o,{onClick:t[5]||(t[5]=e=>u.$router.push({path:"/nested/menu1/menu1-2/menu1-2-2",query:{text:"传path对象"}}))},{default:Vue.withCtx(()=>[Vue.createTextVNode(" 携参跳转页内菜单(传path对象) ")]),_:1}),Vue.createVNode(h,{class:"ml-4",href:"https://router.vuejs.org/zh/guide/essentials/navigation.html#%E5%AF%BC%E8%88%AA%E5%88%B0%E4%B8%8D%E5%90%8C%E7%9A%84%E4%BD%8D%E7%BD%AE",target:"_blank"},{default:Vue.withCtx(()=>[Vue.createTextVNode(" 点击查看更多跳转方式 ")]),_:1}),Vue.createVNode(n),Vue.createVNode(o,{onClick:t[6]||(t[6]=e=>u.$router.push({name:"Empty"}))},{default:Vue.withCtx(()=>[Vue.createTextVNode(" 跳转无Layout的空白页面 ")]),_:1})]),_:1})}}});export{H as default};
|
1
dist/static/js/index-befd04c1.js
vendored
1
dist/static/js/index-befd04c1.js
vendored
@ -1 +0,0 @@
|
||||
import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-a662563e.js";import"./columns-757d635b.js";import"./data-fe7da62c.js";import"./index-8c77f9cd.js";export{o as default};
|
1
dist/static/js/index-c11c19d9.js
vendored
1
dist/static/js/index-c11c19d9.js
vendored
@ -1 +0,0 @@
|
||||
import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-f07f9876.js";import"./columns-a0147a38.js";import"./sortable.esm-679e0872.js";import"./index-8c77f9cd.js";import"./data-fe7da62c.js";export{o as default};
|
File diff suppressed because one or more lines are too long
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user