From 9cb9ce5cfbcb9f1fb69d939343cadae4778016fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BF=AB=E4=B9=90=E6=A9=99?= <1760016317@qq.com> Date: Sun, 20 Apr 2025 22:46:41 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=E5=9B=9E=E6=94=B6?= =?UTF-8?q?=E8=AE=A2=E5=8D=95=20=E4=BF=AE=E6=94=B9=E5=85=B6=E4=BB=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .eslintrc-auto-import.json | 68 ++-- .eslintrc.cjs | 6 + admin.conf | 2 +- index.html | 1 - nginx.conf | 2 +- src/api/product/recycle.js | 44 +++ src/components/update-password/index.vue | 2 +- src/layout/components/AppMain.vue | 2 +- src/layout/components/Navbar.vue | 2 +- src/layout/components/sidebar/index.vue | 2 +- .../sidebar/main-sidebar-sub-menu-item.vue | 2 +- .../sidebar/main-sidebar-sub-menu.vue | 2 +- src/layout/index.vue | 7 +- src/stores/modules/web-config.js | 4 +- src/utils/website-config.js | 4 +- src/views/common/dashboard/index.vue | 2 +- src/views/common/login/index.vue | 2 +- src/views/modules/form/index.vue | 2 +- .../product/recycle/order-detail/index.vue | 14 + .../recycle/order-page/add-or-update.vue | 323 ++++++++++++++++ .../product/recycle/order-page/index.vue | 355 ++++++++++++++++++ .../product/recycle/order-page/new-dialog.vue | 0 .../recycle/order-page/review-dialog.vue | 344 +++++++++++++++++ .../picture-manager/index.vue | 2 +- .../resource-manager/video-manager/index.vue | 2 +- 25 files changed, 1141 insertions(+), 55 deletions(-) create mode 100644 src/views/modules/product/recycle/order-detail/index.vue create mode 100644 src/views/modules/product/recycle/order-page/add-or-update.vue create mode 100644 src/views/modules/product/recycle/order-page/index.vue create mode 100644 src/views/modules/product/recycle/order-page/new-dialog.vue create mode 100644 src/views/modules/product/recycle/order-page/review-dialog.vue diff --git a/.eslintrc-auto-import.json b/.eslintrc-auto-import.json index 4e5fd78..8e9d247 100644 --- a/.eslintrc-auto-import.json +++ b/.eslintrc-auto-import.json @@ -5,21 +5,34 @@ "ComponentPublicInstance": true, "ComputedRef": true, "Debounce": true, + "DirectiveBinding": true, "EMAIL_REGEXP": true, "EffectScope": true, + "ElMessage": true, + "ExtractDefaultPropTypes": true, + "ExtractPropTypes": true, + "ExtractPublicPropTypes": true, "InjectionKey": true, "MOBILE_REGEXP": true, + "MaybeRef": true, + "MaybeRefOrGetter": true, "PASSWORD_REGEXP": true, "PropType": true, "Ref": true, + "STAR_MOBILE_REGEXP": true, "UNIFIED_SOCIAL_CREDIT_CODE": true, "USER_NAME_REGEXP": true, "VNode": true, + "WritableComputedRef": true, "addClass": true, + "addDomain": true, "byteLength": true, + "checkFile": true, + "checkIDCard": true, "cleanArray": true, "computed": true, "configDefInfo": true, + "countComboPrice": true, "createApp": true, "createUniqueString": true, "customRef": true, @@ -29,28 +42,32 @@ "defineComponent": true, "effectScope": true, "encrypt": true, - "filterAsyncRoutes": true, + "excelRequest": true, "flatten": true, "formatConfigInfo": true, "formatHtml": true, - "formatTime": true, "formatPrice": true, + "formatTime": true, + "generateTitle": true, "getAreaNameList": true, "getCurrentInstance": true, "getCurrentScope": true, + "getDateTimeRange": true, "getLevels": true, + "getParseTime": true, "getQueryObject": true, "getTime": true, "getToken": true, "getUUID": true, "h": true, "handleArr": true, + "handleOrderItems": true, "hasClass": true, "html2Text": true, "idList": true, "inject": true, - "isAuth": true, "isArray": true, + "isAuth": true, "isCreditCode": true, "isEmail": true, "isExternal": true, @@ -61,9 +78,9 @@ "isReactive": true, "isReadonly": true, "isRef": true, + "isStarMobile": true, "isString": true, "isUserName": true, - "loadView": true, "markRaw": true, "nextTick": true, "noSpacesBothSides": true, @@ -83,6 +100,7 @@ "onServerPrefetch": true, "onUnmounted": true, "onUpdated": true, + "onWatcherCleanup": true, "param": true, "param2Obj": true, "parseTime": true, @@ -95,9 +113,11 @@ "request": true, "resolveComponent": true, "setToken": true, + "setupStore": true, "shallowReactive": true, "shallowReadonly": true, "shallowRef": true, + "store": true, "toRaw": true, "toRef": true, "toRefs": true, @@ -107,17 +127,22 @@ "triggerRef": true, "uniqueArr": true, "unref": true, + "useAllinpayStore": true, "useAppStore": true, "useAttrs": true, "useCommonStore": true, - "useProdStore": true, "useCssModule": true, "useCssVars": true, + "useId": true, + "useIncludeRouterName": true, "useLink": true, + "useModel": true, "usePermissionStore": true, + "useProdStore": true, "useRoute": true, "useRouter": true, "useSlots": true, + "useTemplateRef": true, "useUserStore": true, "useWebConfigStore": true, "validAlphabets": true, @@ -125,42 +150,13 @@ "validLowerCase": true, "validNoEmptySpace": true, "validPassword": true, + "validPassword2": true, "validURL": true, "validUpperCase": true, "validUsername": true, "watch": true, "watchEffect": true, "watchPostEffect": true, - "watchSyncEffect": true, - "stores": true, - "allinpay": true, - "useAllinpayStore": true, - "useTestStore": true, - "DirectiveBinding": true, - "ExtractDefaultPropTypes": true, - "ExtractPropTypes": true, - "ExtractPublicPropTypes": true, - "MaybeRef": true, - "MaybeRefOrGetter": true, - "STAR_MOBILE_REGEXP": true, - "WritableComputedRef": true, - "addDomain": true, - "checkFile": true, - "checkIDCard": true, - "countComboPrice": true, - "excelRequest": true, - "generateTitle": true, - "getDateTimeRange": true, - "getParseTime": true, - "handleOrderItems": true, - "isStarMobile": true, - "onWatcherCleanup": true, - "setupStore": true, - "store": true, - "useId": true, - "useIncludeRouterName": true, - "useModel": true, - "useTemplateRef": true, - "validPassword2": true + "watchSyncEffect": true } } diff --git a/.eslintrc.cjs b/.eslintrc.cjs index a38f8df..134e0fc 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -1,4 +1,10 @@ +/* + * @Description : + * @Autor : cl + * @Date : 2025-04-11 20:20:26 + */ module.exports = { + // lintOnSave: false, env: { browser: true, es2021: true diff --git a/admin.conf b/admin.conf index 92e1296..dc97b0a 100644 --- a/admin.conf +++ b/admin.conf @@ -1,6 +1,6 @@ server { listen 80; - server_name cloud-admin.mall4j.com; + server_name cloud-admin.Tmerclub.com; location / { root /usr/share/nginx/html/admin; diff --git a/index.html b/index.html index 12e0c3f..a91f417 100644 --- a/index.html +++ b/index.html @@ -11,7 +11,6 @@ diff --git a/nginx.conf b/nginx.conf index b9e9b22..f752b2b 100644 --- a/nginx.conf +++ b/nginx.conf @@ -1,6 +1,6 @@ server { listen 80; - server_name cloud-multishop.mall4j.com; + server_name cloud-multishop.Tmerclub.com; location / { try_files $uri $uri/ /; diff --git a/src/api/product/recycle.js b/src/api/product/recycle.js index 6303a51..f70fb04 100644 --- a/src/api/product/recycle.js +++ b/src/api/product/recycle.js @@ -202,3 +202,47 @@ export function deleteStickDefect (params) { params }) } + +// 获取回收订单 +export function getRecycleOrder (params) { + return request({ + url: '/tmerclub_local/admin/cueOrder/page', + method: 'get', + params + }) +} + +// 获取回收订单详情 +export function getRecycleOrderDetail (params) { + return request({ + url: '/tmerclub_local/admin/cueOrder', + method: 'get', + params + }) +} + +// 修改审核状态 +export function updateRecycleOrderStatus (data) { + return request({ + url: '/tmerclub_local/admin/cueOrder/updateAuditStatus', + method: 'put', + data + }) +} +// 修改评估状态 +export function updateRecycleOrderEvaluateStatus (data) { + return request({ + url: '/tmerclub_local/admin/cueOrder/updateEvaluateStatus', + method: 'put', + data + }) +} + +// 退回 +export function returnRecycleOrder (data) { + return request({ + url: '/tmerclub_local/admin/cueOrder/cueRetracted', + method: 'put', + data + }) +} diff --git a/src/components/update-password/index.vue b/src/components/update-password/index.vue index ea751d7..8806202 100644 --- a/src/components/update-password/index.vue +++ b/src/components/update-password/index.vue @@ -4,7 +4,7 @@ :close-on-click-modal="false" :title="'修改密码'" :append-to-body="true" - class="Mall4j" + class="Tmerclub" >
-