Просмотр исходного кода

```
feat(config): 更新测试环境服务基础URL配置

将 `.env.test` 中的服务基础URL配置项调整为启用张工的本地服务地址,并注释掉之前的测试服务器地址。同时统一多个页面表单配置,新增 `size: 'small'` 及响应式布局属性,优化界面展示效果。

- 启用 `VITE_SERVICE_BASE_URL=http://192.168.1.166:8114`
- 注释原测试服务器地址配置
- 在多个 Vue 页面中统一设置表单尺寸与栅格布局
```

zhangtao 2 недель назад
Родитель
Сommit
49b0613369

+ 2 - 2
.env.test

@@ -2,11 +2,11 @@
 # VITE_SERVICE_BASE_URL=http://74949mkfh190.vicp.fun
 # VITE_SERVICE_BASE_URL=http://192.168.1.253:8114 #付
 # VITE_SERVICE_BASE_URL=http://192.168.0.157:8114 #王
-# VITE_SERVICE_BASE_URL=http://192.168.1.166:8114 #张
+VITE_SERVICE_BASE_URL=http://192.168.1.166:8114 #张
 # VITE_SERVICE_BASE_URL=https://mock.apifox.cn/m1/3109515-0-default
 # VITE_SERVICE_BASE_URL=https://shop.platform.zswlgz.com #服务器
 # VITE_SERVICE_BASE_URL=/plt #测试打包服务器
-VITE_SERVICE_BASE_URL=http://47.109.84.152:8114 #测试本地服务器
+# VITE_SERVICE_BASE_URL=http://47.109.84.152:8114 #测试本地服务器
 
 
 # other backend service base url, test environment

+ 2 - 0
src/views/delivery/after-sales-order/index.vue

@@ -48,6 +48,8 @@ const [registerSearchForm, { getFieldsValue, setFieldsValue }] = useForm({
   showAdvancedButton: false,
   labelWidth: 120,
   layout: 'horizontal',
+
+  size: 'small',
   gridProps: {
     cols: '1 xl:4 s:1 l:3',
     itemResponsive: true

+ 1 - 0
src/views/delivery/normal-order/index.vue

@@ -52,6 +52,7 @@ const [registerSearchForm, { getFieldsValue, setFieldsValue }] = useForm({
   showAdvancedButton: false,
   labelWidth: 120,
   layout: 'horizontal',
+  size: 'small',
   gridProps: {
     cols: '1 xl:4 s:1 l:3',
     itemResponsive: true

+ 7 - 3
src/views/finance/commodity-freight/index.vue

@@ -140,10 +140,14 @@ const [registerTable, { refresh, setFieldsValue, getSeachForm }] = useTable({
         }
       }
     ],
-    inline: false,
+    labelWidth: 120,
+    layout: 'horizontal',
     size: 'small',
-    labelPlacement: 'left',
-    isFull: false
+    gridProps: {
+      cols: '1 xl:4 s:1 l:3',
+      itemResponsive: true
+    },
+    collapsedRows: 1
   },
   tableConfig: {
     keyField: 'id',

+ 7 - 3
src/views/finance/summary/index.vue

@@ -91,10 +91,14 @@ const [registerTable, { refresh, setFieldsValue, getSeachForm }] = useTable({
         }
       }
     ],
-    inline: false,
+    labelWidth: 120,
+    layout: 'horizontal',
     size: 'small',
-    labelPlacement: 'left',
-    isFull: false
+    gridProps: {
+      cols: '1 xl:4 s:1 l:3',
+      itemResponsive: true
+    },
+    collapsedRows: 1
   },
   tableConfig: {
     keyField: 'id',