diff --git a/.env.development b/.env.development
index c0ecd45..b229ab0 100644
--- a/.env.development
+++ b/.env.development
@@ -1,6 +1,7 @@
ENV = 'development'
# 接口地址
+# VUE_APP_BASE_API = 'http://192.168.2.202:8000'
# VUE_APP_BASE_API = 'http://192.168.2.42:8000'
# VUE_APP_BASE_API = 'http://192.168.2.133:8000'
VUE_APP_BASE_API = 'https://admintestpapi.sxczgkj.cn'
diff --git a/.env.production b/.env.production
index ffc2fc2..3b02e74 100644
--- a/.env.production
+++ b/.env.production
@@ -2,8 +2,8 @@ ENV = 'production'
# 如果使用 Nginx 代理后端接口,那么此处需要改为 '/',文件查看 Docker 部署篇,Nginx 配置
# 接口地址,注意协议,如果你没有配置 ssl,需要将 https 改为 http
-VUE_APP_BASE_API = 'https://cashieradmin.sxczgkj.cn'
-# VUE_APP_BASE_API = 'https://admintestpapi.sxczgkj.cn'
+# VUE_APP_BASE_API = 'https://cashieradmin.sxczgkj.cn'
+VUE_APP_BASE_API = 'https://admintestpapi.sxczgkj.cn'
# VUE_APP_BASE_API = 'http://192.168.2.98:8000'
# 如果接口是 http 形式, wss 需要改为 ws
VUE_APP_WS_API = 'wss://123.56.110.252
diff --git a/src/api/table.js b/src/api/table.js
index 7a46a1a..ee1c9d8 100644
--- a/src/api/table.js
+++ b/src/api/table.js
@@ -79,8 +79,9 @@ export function tbShopTableDelete(data) {
*/
export function downloadTableCode(data) {
return request({
- url: `/api/tbShopTable`,
+ url: `/api/deviceStock/batchDownload`,
method: "post",
- data
+ data,
+ responseType: "blob"
});
}
diff --git a/src/views/application/components/winestorage/addModal.vue b/src/views/application/components/winestorage/addModal.vue
index eaab21c..c7c0b84 100644
--- a/src/views/application/components/winestorage/addModal.vue
+++ b/src/views/application/components/winestorage/addModal.vue
@@ -107,7 +107,7 @@ export default {
this.loading = true
try {
const res = await queryAllShopUser({
- telephone: query,
+ name: query,
})
this.loading = false
this.options = res.content
diff --git a/src/views/product/index.vue b/src/views/product/index.vue
index 6863c9d..1ba27f4 100644
--- a/src/views/product/index.vue
+++ b/src/views/product/index.vue
@@ -119,7 +119,7 @@ export default {
tableData: {
data: [],
page: 0,
- size: 10,
+ size: 30,
loading: false,
total: 0
}
diff --git a/src/views/table/components/downloadTableCode.vue b/src/views/table/components/downloadTableCode.vue
index 01a97f4..0d32964 100644
--- a/src/views/table/components/downloadTableCode.vue
+++ b/src/views/table/components/downloadTableCode.vue
@@ -1,8 +1,8 @@
-
+
-
+