diff --git a/src/components/GxUpload/index.vue b/src/components/GxUpload/index.vue
new file mode 100644
index 0000000..285e4ce
--- /dev/null
+++ b/src/components/GxUpload/index.vue
@@ -0,0 +1,201 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/utils/util.js b/src/utils/util.js
index 4a22a24..9141acb 100644
--- a/src/utils/util.js
+++ b/src/utils/util.js
@@ -328,3 +328,9 @@ export const myTrim = (str, char, type = 'right') => {
}
return str.replace(/^\s+|\s+$/g, '')
}
+/**截取图片路径域名部分 */
+export const spliceUrl=(fullUrl)=>{
+ if(!fullUrl) return null
+ const pathOnly = fullUrl.replace(/^https?:\/\/[^\/]+/, '');
+ return pathOnly
+}
\ No newline at end of file
diff --git a/src/views/list/basic/index.vue b/src/views/list/basic/index.vue
index 6796e34..3f3f19d 100644
--- a/src/views/list/basic/index.vue
+++ b/src/views/list/basic/index.vue
@@ -143,7 +143,7 @@ async function getPageList() {
const { code, data } = await apis.common
.getPageList({
pageSize,
- page: current,
+ current: current,
})
.catch(() => {
throw new Error()
diff --git a/src/views/list/card/index.vue b/src/views/list/card/index.vue
index f2dd73c..13704af 100644
--- a/src/views/list/card/index.vue
+++ b/src/views/list/card/index.vue
@@ -115,7 +115,7 @@ async function getPageList() {
const { code, data } = await apis.common
.getPageList({
pageSize,
- page: current,
+ current: current,
})
.catch(() => {
throw new Error()
diff --git a/src/views/list/search/applications/index.vue b/src/views/list/search/applications/index.vue
index 0f1b065..77f455f 100644
--- a/src/views/list/search/applications/index.vue
+++ b/src/views/list/search/applications/index.vue
@@ -147,7 +147,7 @@ async function getPageList() {
const { code, data } = await apis.common
.getPageList({
pageSize,
- page: current,
+ current: current,
})
.catch(() => {
throw new Error()
diff --git a/src/views/list/search/articles/index.vue b/src/views/list/search/articles/index.vue
index 34f8f8d..82df802 100644
--- a/src/views/list/search/articles/index.vue
+++ b/src/views/list/search/articles/index.vue
@@ -154,7 +154,7 @@ async function getPageList() {
const { code, data } = await apis.common
.getPageList({
pageSize,
- page: current,
+ current: current,
})
.catch(() => {
throw new Error()
diff --git a/src/views/list/search/projects/index.vue b/src/views/list/search/projects/index.vue
index ed0752b..ae361e2 100644
--- a/src/views/list/search/projects/index.vue
+++ b/src/views/list/search/projects/index.vue
@@ -131,7 +131,7 @@ async function getPageList() {
const { code, data } = await apis.common
.getPageList({
pageSize,
- page: current,
+ current: current,
})
.catch(() => {
throw new Error()
diff --git a/src/views/list/table/index.vue b/src/views/list/table/index.vue
index b7ca7e8..4f57d0e 100644
--- a/src/views/list/table/index.vue
+++ b/src/views/list/table/index.vue
@@ -194,7 +194,7 @@ async function getPageList() {
const { code, data } = await apis.common
.getPageList({
pageSize,
- page: current,
+ current: current,
})
.catch(() => {
throw new Error()
diff --git a/src/views/system/dict/index.vue b/src/views/system/dict/index.vue
index f7041a6..91bc754 100644
--- a/src/views/system/dict/index.vue
+++ b/src/views/system/dict/index.vue
@@ -107,7 +107,7 @@ async function getPageList() {
const { code, data } = await apis.common
.getPageList({
pageSize,
- page: current,
+ current: current,
})
.catch(() => {
throw new Error()
diff --git a/src/views/system/logger/index.vue b/src/views/system/logger/index.vue
index 53f735e..218f439 100644
--- a/src/views/system/logger/index.vue
+++ b/src/views/system/logger/index.vue
@@ -162,7 +162,7 @@ async function getPageList() {
const { success, data, total } = await apis.system
.getLoggers({
pageSize,
- page: current,
+ current: current,
...searchFormData.value,
startTime: startTime.value,
endTime: endTime.value,
diff --git a/src/views/system/role/index.vue b/src/views/system/role/index.vue
index 4d4deae..348faae 100644
--- a/src/views/system/role/index.vue
+++ b/src/views/system/role/index.vue
@@ -158,7 +158,7 @@ async function getPageList() {
const { success, data, total } = await apis.role
.getRoleList({
pageSize,
- page: current,
+ current: current,
...searchFormData.value,
})
.catch(() => {
diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue
index 6fbbcb0..7e0fccf 100644
--- a/src/views/system/user/index.vue
+++ b/src/views/system/user/index.vue
@@ -153,7 +153,7 @@ async function getPageList() {
const { success, data, total } = await apis.users
.getUsersList({
pageSize,
- page: current,
+ current: current,
...searchFormData.value,
})
.catch(() => {