فهرست منبع

```
feat(order): 新增渠道字段并更新cpolar测试地址

- 在售后订单和普通订单表格中新增accessName渠道列
- 添加渠道筛选功能,集成fetchChannelList API接口
- 更新测试环境cpolar地址配置
```

wenjie 3 روز پیش
والد
کامیت
7fa75b0a28

+ 1 - 1
.env.test

@@ -2,7 +2,7 @@
 
 # VITE_SERVICE_BASE_URL=https://522d2ea1.r39.cpolar.top #王
 # VITE_SERVICE_BASE_URL=http://89561bkaq794.vicp.fun:53846 #张
-# VITE_SERVICE_BASE_URL=https://5cb31c38.r3.cpolar.top#田
+# VITE_SERVICE_BASE_URL=https://40e5b751.r3.cpolar.top#田
 # VITE_SERVICE_BASE_URL=https://425f86e6.r24.cpolar.top #邓
 # VITE_SERVICE_BASE_URL=http://74949mkfh190.vicp.fun #付
 # VITE_SERVICE_BASE_URL=https://smqjh.api.zswlgz.com

+ 6 - 0
src/views/order-manage/after-sales-order/index.vue

@@ -39,6 +39,12 @@ const columns: NaiveUI.TableColumn<Api.delivery.deliveryOrder>[] = [
       return <NTag>{businessType[row.businessType as keyof typeof businessType] || row.businessType}</NTag>;
     }
   },
+  {
+    key: 'accessName',
+    title: '渠道',
+    align: 'center',
+    width: 120
+  },
   {
     key: 'orderNumber',
     title: '原订单编号',

+ 6 - 0
src/views/order-manage/normal-order/index.vue

@@ -64,6 +64,12 @@ const columns: NaiveUI.TableColumn<Api.delivery.deliveryOrder>[] = [
     align: 'center',
     width: 120
   },
+  {
+    key: 'accessName',
+    title: '渠道',
+    align: 'center',
+    width: 120
+  },
   {
     key: 'info',
     title: '客户信息',

+ 13 - 0
src/views/order-manage/normal-order/normal-order.ts

@@ -2,6 +2,7 @@ import { h } from 'vue';
 import { NFlex, NImage, NTag } from 'naive-ui';
 // import { fetchGetAllStoreList } from '@/service/api/goods/desk-category';
 import { fetchBackendChannelSelect, fetchGetStoreList } from '@/service/api/xsb-manage/store-info';
+import { fetchChannelList } from '@/service/api/h5-manage/channel-manage';
 import { fetchGetDictDataList } from '@/service/api/system-manage';
 // import { useAuth } from '@/hooks/business/auth';
 import { useAuthStore } from '@/store/modules/auth';
@@ -111,6 +112,18 @@ export const SearchForm: FormSchema[] = [
       ]
     }
   },
+  {
+    field: 'accessIds',
+    label: '渠道',
+    component: 'ApiSelect',
+    componentProps: {
+      api: fetchChannelList,
+      multiple: true,
+      resultFeild: 'data.list',
+      labelFeild: 'accessName',
+      valueFeild: 'accessId'
+    }
+  },
   {
     label: '发货情况',
     component: 'NSelect',