From 380e6b891dbb12ce9c1a02033515ca9a478039cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E9=99=8C?= Date: Fri, 5 Jan 2024 16:08:59 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=AF=BC=E5=87=BA=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dist/index.html | 2 +- dist/report.html | 4 +- .../css/{225.acf044ff.css => 20.acf044ff.css} | 0 .../css/{441.51e74ab3.css => 22.51e74ab3.css} | 0 .../{763.51e388fc.css => 229.51e388fc.css} | 0 .../{299.b591e422.css => 251.b591e422.css} | 0 .../{440.98f69945.css => 273.98f69945.css} | 0 .../{932.32e372af.css => 316.32e372af.css} | 0 .../css/{474.4c66d7b0.css => 34.4c66d7b0.css} | 0 .../{146.3955b5c9.css => 340.3955b5c9.css} | 0 .../{819.b1a5705f.css => 358.b1a5705f.css} | 0 .../{356.eadefd9a.css => 378.eadefd9a.css} | 0 .../{318.0e46dcef.css => 403.0e46dcef.css} | 0 .../css/{105.542cd12a.css => 44.542cd12a.css} | 0 .../{967.a366827d.css => 474.a366827d.css} | 0 .../css/{321.82daea60.css => 49.82daea60.css} | 0 .../{185.4e9ff295.css => 537.4e9ff295.css} | 0 .../{623.7c451ec3.css => 727.7c451ec3.css} | 0 dist/static/css/75.d6c9346e.css | 1 + .../{386.d18c0fb3.css => 822.d18c0fb3.css} | 0 .../{309.5f737041.css => 853.5f737041.css} | 0 .../{472.165ff2be.css => 883.165ff2be.css} | 0 .../{579.436df3e1.css => 908.436df3e1.css} | 0 .../{732.cd740971.css => 924.cd740971.css} | 0 .../{798.b5fd7754.css => 966.b5fd7754.css} | 0 dist/static/css/app.2a11a4eb.css | 1 - dist/static/css/app.2efa4248.css | 1 + dist/static/css/modules.34563575.css | 12 + dist/static/css/modules.853ca01a.css | 12 - ...unks.a2f613cd.css => xChunks.b3911a40.css} | 2 +- .../js/{155.328a0206.js => 102.e54fa4ee.js} | 2 +- dist/static/js/105.9dff4cb4.js | 1 - dist/static/js/20.8c3f1f69.js | 1 + dist/static/js/22.68b6e570.js | 1 + dist/static/js/225.d983bc36.js | 1 - .../js/{763.dd16f633.js => 229.523c3fa2.js} | 2 +- dist/static/js/251.c4fd5aa3.js | 1 + .../js/{440.3f847139.js => 273.44729f5a.js} | 2 +- .../js/{233.279a401c.js => 279.8a5133c1.js} | 2 +- dist/static/js/299.b0d1e025.js | 1 - dist/static/js/309.e2d4e47c.js | 1 - .../js/{932.45ac01c9.js => 316.dffc6493.js} | 2 +- dist/static/js/321.214697b9.js | 1 - dist/static/js/34.ed6c9523.js | 1 + .../js/{146.f996e262.js => 340.929766bb.js} | 2 +- dist/static/js/356.18c2e8e0.js | 1 - .../js/{819.6efb4bf1.js => 358.80d30bf0.js} | 2 +- dist/static/js/378.01a81183.js | 1 + dist/static/js/386.54c31b10.js | 1 - .../js/{318.4fab958d.js => 403.e9d9a53c.js} | 2 +- .../js/{404.c4b34442.js => 404.3b19b933.js} | 2 +- .../js/{482.f4fae092.js => 407.bcdd7d8d.js} | 2 +- dist/static/js/44.fe991d71.js | 1 + dist/static/js/441.ea51410b.js | 1 - dist/static/js/457.a006922b.js | 1 + .../js/{806.111ccced.js => 470.86694d89.js} | 2 +- .../js/{967.76f6861b.js => 474.239e3f90.js} | 2 +- dist/static/js/474.9ba8b2c1.js | 1 - dist/static/js/49.6badf02c.js | 1 + dist/static/js/516.7a95f540.js | 1 - .../js/{185.cc0654b8.js => 537.c13d3151.js} | 2 +- dist/static/js/590.7868e220.js | 1 + dist/static/js/633.e35e0313.js | 1 + dist/static/js/650.d3587226.js | 1 - .../js/{623.e9782c2e.js => 727.b308917f.js} | 2 +- dist/static/js/75.6fa60787.js | 1 + .../js/{189.35a3d642.js => 750.69efb532.js} | 2 +- dist/static/js/770.a630e145.js | 1 - .../js/{863.ce5640fd.js => 778.998323d5.js} | 2 +- dist/static/js/78.854c8288.js | 1 - dist/static/js/798.4ad58f24.js | 1 - dist/static/js/822.6f125dc8.js | 1 + dist/static/js/853.70c605d9.js | 1 + .../js/{472.acfbc2a0.js => 883.65a67e3b.js} | 2 +- .../js/{579.0f2e731c.js => 908.9d20fe68.js} | 2 +- .../js/{732.de59e940.js => 924.74d799a2.js} | 2 +- dist/static/js/966.4ddce099.js | 1 + dist/static/js/app.810d26df.js | 1 + dist/static/js/app.b611b98d.js | 1 - dist/static/js/codemirror.028dbdf2.js | 1 + dist/static/js/codemirror.06c9c9e9.js | 1 - dist/static/js/echarts.13f3f4a8.js | 1 + dist/static/js/echarts.b3e550c9.js | 1 - ...licons.337a070a.js => elicons.4bccae06.js} | 2 +- dist/static/js/modules.269c79cc.js | 91 ++++++ dist/static/js/modules.4fd5df59.js | 91 ------ dist/static/js/tinymce.48a3b38f.js | 1 + dist/static/js/tinymce.beda3ab5.js | 1 - dist/static/js/xChunks.24eebeee.js | 1 + dist/static/js/xChunks.5d305cd4.js | 1 - package.json | 2 +- pnpm-lock.yaml | 62 +--- src/components/xTabledialog/index.vue | 291 ++++++++---------- src/views/table/2/index.vue | 26 +- src/x.js | 2 + 95 files changed, 314 insertions(+), 364 deletions(-) rename dist/static/css/{225.acf044ff.css => 20.acf044ff.css} (100%) rename dist/static/css/{441.51e74ab3.css => 22.51e74ab3.css} (100%) rename dist/static/css/{763.51e388fc.css => 229.51e388fc.css} (100%) rename dist/static/css/{299.b591e422.css => 251.b591e422.css} (100%) rename dist/static/css/{440.98f69945.css => 273.98f69945.css} (100%) rename dist/static/css/{932.32e372af.css => 316.32e372af.css} (100%) rename dist/static/css/{474.4c66d7b0.css => 34.4c66d7b0.css} (100%) rename dist/static/css/{146.3955b5c9.css => 340.3955b5c9.css} (100%) rename dist/static/css/{819.b1a5705f.css => 358.b1a5705f.css} (100%) rename dist/static/css/{356.eadefd9a.css => 378.eadefd9a.css} (100%) rename dist/static/css/{318.0e46dcef.css => 403.0e46dcef.css} (100%) rename dist/static/css/{105.542cd12a.css => 44.542cd12a.css} (100%) rename dist/static/css/{967.a366827d.css => 474.a366827d.css} (100%) rename dist/static/css/{321.82daea60.css => 49.82daea60.css} (100%) rename dist/static/css/{185.4e9ff295.css => 537.4e9ff295.css} (100%) rename dist/static/css/{623.7c451ec3.css => 727.7c451ec3.css} (100%) create mode 100644 dist/static/css/75.d6c9346e.css rename dist/static/css/{386.d18c0fb3.css => 822.d18c0fb3.css} (100%) rename dist/static/css/{309.5f737041.css => 853.5f737041.css} (100%) rename dist/static/css/{472.165ff2be.css => 883.165ff2be.css} (100%) rename dist/static/css/{579.436df3e1.css => 908.436df3e1.css} (100%) rename dist/static/css/{732.cd740971.css => 924.cd740971.css} (100%) rename dist/static/css/{798.b5fd7754.css => 966.b5fd7754.css} (100%) delete mode 100644 dist/static/css/app.2a11a4eb.css create mode 100644 dist/static/css/app.2efa4248.css create mode 100644 dist/static/css/modules.34563575.css delete mode 100644 dist/static/css/modules.853ca01a.css rename dist/static/css/{xChunks.a2f613cd.css => xChunks.b3911a40.css} (97%) rename dist/static/js/{155.328a0206.js => 102.e54fa4ee.js} (85%) delete mode 100644 dist/static/js/105.9dff4cb4.js create mode 100644 dist/static/js/20.8c3f1f69.js create mode 100644 dist/static/js/22.68b6e570.js delete mode 100644 dist/static/js/225.d983bc36.js rename dist/static/js/{763.dd16f633.js => 229.523c3fa2.js} (95%) create mode 100644 dist/static/js/251.c4fd5aa3.js rename dist/static/js/{440.3f847139.js => 273.44729f5a.js} (94%) rename dist/static/js/{233.279a401c.js => 279.8a5133c1.js} (90%) delete mode 100644 dist/static/js/299.b0d1e025.js delete mode 100644 dist/static/js/309.e2d4e47c.js rename dist/static/js/{932.45ac01c9.js => 316.dffc6493.js} (98%) delete mode 100644 dist/static/js/321.214697b9.js create mode 100644 dist/static/js/34.ed6c9523.js rename dist/static/js/{146.f996e262.js => 340.929766bb.js} (94%) delete mode 100644 dist/static/js/356.18c2e8e0.js rename dist/static/js/{819.6efb4bf1.js => 358.80d30bf0.js} (87%) create mode 100644 dist/static/js/378.01a81183.js delete mode 100644 dist/static/js/386.54c31b10.js rename dist/static/js/{318.4fab958d.js => 403.e9d9a53c.js} (95%) rename dist/static/js/{404.c4b34442.js => 404.3b19b933.js} (79%) rename dist/static/js/{482.f4fae092.js => 407.bcdd7d8d.js} (87%) create mode 100644 dist/static/js/44.fe991d71.js delete mode 100644 dist/static/js/441.ea51410b.js create mode 100644 dist/static/js/457.a006922b.js rename dist/static/js/{806.111ccced.js => 470.86694d89.js} (89%) rename dist/static/js/{967.76f6861b.js => 474.239e3f90.js} (93%) delete mode 100644 dist/static/js/474.9ba8b2c1.js create mode 100644 dist/static/js/49.6badf02c.js delete mode 100644 dist/static/js/516.7a95f540.js rename dist/static/js/{185.cc0654b8.js => 537.c13d3151.js} (60%) create mode 100644 dist/static/js/590.7868e220.js create mode 100644 dist/static/js/633.e35e0313.js delete mode 100644 dist/static/js/650.d3587226.js rename dist/static/js/{623.e9782c2e.js => 727.b308917f.js} (83%) create mode 100644 dist/static/js/75.6fa60787.js rename dist/static/js/{189.35a3d642.js => 750.69efb532.js} (63%) delete mode 100644 dist/static/js/770.a630e145.js rename dist/static/js/{863.ce5640fd.js => 778.998323d5.js} (84%) delete mode 100644 dist/static/js/78.854c8288.js delete mode 100644 dist/static/js/798.4ad58f24.js create mode 100644 dist/static/js/822.6f125dc8.js create mode 100644 dist/static/js/853.70c605d9.js rename dist/static/js/{472.acfbc2a0.js => 883.65a67e3b.js} (97%) rename dist/static/js/{579.0f2e731c.js => 908.9d20fe68.js} (95%) rename dist/static/js/{732.de59e940.js => 924.74d799a2.js} (93%) create mode 100644 dist/static/js/966.4ddce099.js create mode 100644 dist/static/js/app.810d26df.js delete mode 100644 dist/static/js/app.b611b98d.js create mode 100644 dist/static/js/codemirror.028dbdf2.js delete mode 100644 dist/static/js/codemirror.06c9c9e9.js create mode 100644 dist/static/js/echarts.13f3f4a8.js delete mode 100644 dist/static/js/echarts.b3e550c9.js rename dist/static/js/{elicons.337a070a.js => elicons.4bccae06.js} (99%) create mode 100644 dist/static/js/modules.269c79cc.js delete mode 100644 dist/static/js/modules.4fd5df59.js create mode 100644 dist/static/js/tinymce.48a3b38f.js delete mode 100644 dist/static/js/tinymce.beda3ab5.js create mode 100644 dist/static/js/xChunks.24eebeee.js delete mode 100644 dist/static/js/xChunks.5d305cd4.js diff --git a/dist/index.html b/dist/index.html index 20da317..9cc3e17 100644 --- a/dist/index.html +++ b/dist/index.html @@ -1,4 +1,4 @@ -X-PHP

当前浏览器内核版本过低

当前版本:-- --

最低版本要求:Chrome 71+、Firefox 65+、Safari 12+、Edge 97+。

请升级浏览器版本,或更换现代浏览器,如果你使用的是双核浏览器,请切换到极速/高速模式。

");const u=i(e),g=a(e),h=t.os.isMacOS()||t.os.isiOS()?"e.metaKey":"e.ctrlKey && !e.altKey",p=' \ No newline at end of file diff --git a/src/views/table/2/index.vue b/src/views/table/2/index.vue index 1d7ff67..6292ee3 100644 --- a/src/views/table/2/index.vue +++ b/src/views/table/2/index.vue @@ -7,8 +7,12 @@ - - 搜索 + + 搜索 + + + + 导出 @@ -121,6 +125,18 @@ export default { return item.width ? item.width + 'px' : 'auto'; } }, + exporturl() { + if (this.displayHandle()) { + const url = new URL(this.operation.export.url); + const searchParams = new URLSearchParams(url.search); + for (const key in this.search) { + searchParams.append(key, this.search[key]); + } + url.search = searchParams.toString(); + return url.href; + } + return ''; + }, filterObj() { const obj = [] this.filter.forEach((item) => { @@ -142,6 +158,12 @@ export default { } }, methods: { + displayHandle() { + if (this.$refs.table.total && this.operation.export && this.operation.export.showhandle) { + return eval(this.operation.export.showhandle.replace(/\$/g, "this.search")) // $.id==1 $.ids.includes("4") + } + return false; + }, //树过滤 groupFilterNode(value, data) { if (!value) return true; diff --git a/src/x.js b/src/x.js index e2cdcf4..5b5546d 100644 --- a/src/x.js +++ b/src/x.js @@ -18,6 +18,7 @@ import xUser from './components/xUser' import xAvatar from './components/xAvatar' import xUpdate from './components/xUpdate' import xTitle from './components/xTitle' +import xStat from './components/xStat' import xTabledialog from './components/xTabledialog' import xForm from './components/xForm' import xFormTable from './components/xFormTable' @@ -73,6 +74,7 @@ export default { app.component('xSelect', xSelect); app.component('xDialog', xDialog); app.component('xTitle', xTitle); + app.component('xStat', xStat); app.component('xTabledialog', xTabledialog); app.component('xWaterMark', xWaterMark); app.component('xQrCode', xQrCode);