Преглед изворни кода

订单列表增加用户名

chenjj пре 3 месеци
родитељ
комит
31e5598104
2 измењених фајлова са 8 додато и 2 уклоњено
  1. 6 0
      src/views/order/manage/index.vue
  2. 2 2
      vite.config.js

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

@@ -46,6 +46,12 @@ const listPageData = reactive({
             type: 'input',
             isSearch: true
         },
+        {
+            label: '用户名',
+            prop: 'clientName',
+            type: 'input',
+            isSearch: true
+        },
         {
             label: '用户手机号',
             prop: 'clientTelephone',

+ 2 - 2
vite.config.js

@@ -37,10 +37,10 @@ export default defineConfig(({ mode, command }) => {
         },
         // https://cn.vitejs.dev/config/#server-proxy
         '/dev-api': {
-          target: 'http://192.168.100.139:9527',
+          // target: 'http://192.168.100.139:9527',
           // target: 'https://zybooks.tech/prod-api', 
           // target: 'http://192.168.100.128:9527',
-          // target: 'https://goldshulin.com/prod-api',
+          target: 'https://goldshulin.com/prod-api',
           changeOrigin: true,
           rewrite: (p) => p.replace(/^\/dev-api/, '')
         },