li.shaoyi 2 years ago
parent
commit
96d9a4ecd7

+ 1 - 0
src/business/customs/exit.ts

@@ -180,6 +180,7 @@ export function useCJJCOrderApply(selectedRow?: Ermcp.GZCJJCOrderRsp) {
             loading.value = true
             return await cjjcApply({
                 ...formData,
+                GZCJAccount: formData.GZCJAccountType === 1 ? formData.GZCJAccount : '',
                 ClientSerialNo: v4(),
             })
         } finally {

+ 10 - 0
src/mock/router.ts

@@ -254,6 +254,7 @@ const appmenu = {
                 urlType: 1,
                 component: 'Main',
                 icon: 'g-icon--bidding-filled',
+                hidden: true,
             },
             {
                 authType: 1,
@@ -416,6 +417,14 @@ const appmenu = {
                         url: 'partake',
                         urlType: 1,
                         component: 'views/centralize/partake/index.vue',
+                        children: [
+                            {
+                                authType: 3,
+                                title: '详情',
+                                code: 'centralize_partake_details',
+                                component: 'views/centralize/partake/components/details/index.vue',
+                            },
+                        ]
                     },
                 ]
             },
@@ -671,6 +680,7 @@ const appmenu = {
                 urlType: 1,
                 component: 'Main',
                 icon: 'g-icon--bonded-filled',
+                hidden: true,
                 children: [
                     {
                         authType: 1,

+ 1 - 1
src/packages/pc/views/centralize/partake/index.vue

@@ -12,7 +12,7 @@
             </template>
             <!-- 操作 -->
             <template #operate="{ row }">
-                <app-auth-operation type="dropdown" :menus="['presale_partake_details']" :options="{ selectedRow: row }"
+                <app-auth-operation type="dropdown" :menus="['centralize_partake_details']" :options="{ selectedRow: row }"
                     @closed="onRefresh" />
             </template>
             <template #footer>

+ 3 - 7
src/services/http/index.ts

@@ -47,7 +47,7 @@ export default new (class {
             },
             (err) => {
                 if (err.message === 'Network Error') {
-                    return Promise.reject('无网络连接,请检查网络')
+                    return Promise.reject('无效的网络连接')
                 }
                 if (err.response) {
                     const { msg, message } = err.response.data ?? {}
@@ -93,9 +93,7 @@ export default new (class {
 
     /**
      * Http 请求
-     * @param url 
-     * @param method 
-     * @param payload 
+     * @param config 
      * @param errMsg 
      * @returns 
      */
@@ -116,9 +114,7 @@ export default new (class {
 
     /**
      * Http 通用请求
-     * @param url 
-     * @param method 
-     * @param payload 
+     * @param config 
      * @param errMsg 
      * @returns 
      */