From 150e4aaf6d6d2b1f484ffbd471cabddeffc2561d Mon Sep 17 00:00:00 2001
From: 15820893422 <1978476055@qq.com>
Date: Tue, 11 Jun 2024 09:58:28 +0800
Subject: [PATCH] edit
---
.env.development | 8 ++---
src/filters/commFilter.js | 4 ++-
src/views/product/productExamine/editAttr.vue | 30 +++++++++++++++++--
src/views/product/productExamine/info.vue | 2 +-
.../product/productExamine/proDetails.vue | 2 +-
src/views/user/list/index.vue | 9 +++++-
6 files changed, 44 insertions(+), 11 deletions(-)
diff --git a/.env.development b/.env.development
index 372f2bb..78450b6 100644
--- a/.env.development
+++ b/.env.development
@@ -3,12 +3,12 @@ ENV = 'development'
# http://192.168.1.43:8324/admin
# http://mer.crmeb.net/admin
# base api
-VUE_APP_BASE_API = 'http://192.168.1.50:8080'
-# VUE_APP_BASE_API = 'https://api.tropjoin.com/'
+# VUE_APP_BASE_API = 'http://192.168.1.9:8080'
+VUE_APP_BASE_API = 'https://api.tropjoin.com/'
# socket 连接地址
-VUE_APP_WS_URL = 'ws://http://192.168.1.50:8080'
-# VUE_APP_WS_URL = 'ws://https://api.tropjoin.com/'
+# VUE_APP_WS_URL = 'ws://http://192.168.1.9:8080'
+VUE_APP_WS_URL = 'ws://https://api.tropjoin.com/'
# vue-cli uses the VUE_CLI_BABEL_TRANSPILE_MODULES environment variable,
# to control whether the babel-plugin-dynamic-import-node plugin is enabled.
diff --git a/src/filters/commFilter.js b/src/filters/commFilter.js
index 43ca44c..9d9e27d 100644
--- a/src/filters/commFilter.js
+++ b/src/filters/commFilter.js
@@ -173,7 +173,9 @@ export function orderPayType(type) {
'4': '支付宝',
'5': '支付宝扫码',
'6': '微信扫码',
- '7': '铸源星支付'
+ '7': '铸源星支付',
+ '12': '汇付支付',
+ '13': '汇付支付'
}
return typeMap[type]
}
diff --git a/src/views/product/productExamine/editAttr.vue b/src/views/product/productExamine/editAttr.vue
index ce0b65e..0834b09 100644
--- a/src/views/product/productExamine/editAttr.vue
+++ b/src/views/product/productExamine/editAttr.vue
@@ -81,11 +81,11 @@
-
+
@@ -251,7 +251,7 @@ const defaultObj = {
proportion:0.6,
coupon:0,
stock: 0,
- growth:0,
+ // growth:0,
bar_code: '',
weight: 0,
volume: 0
@@ -295,6 +295,30 @@ export default {
data() {
return {
proportionList:[
+ {
+ value: '0.80',
+ label: '0.80',
+ coupon:0.1,
+ growth:0.3
+ },
+ {
+ value: '0.75',
+ label: '0.75',
+ coupon:0.15,
+ growth:0.35
+ },
+ {
+ value: '0.70',
+ label: '0.70',
+ coupon:0.2,
+ growth:0.4
+ },
+ {
+ value: '0.65',
+ label: '0.65',
+ coupon:0.25,
+ growth:0.45
+ },
{
value: '0.60',
label: '0.60',
diff --git a/src/views/product/productExamine/info.vue b/src/views/product/productExamine/info.vue
index 16b20fe..19ec77b 100644
--- a/src/views/product/productExamine/info.vue
+++ b/src/views/product/productExamine/info.vue
@@ -715,7 +715,7 @@ const defaultObj = {
proportion: 0.6,
coupon:'',
stock: 0,
- growth: 0,
+ // growth: 0,
bar_code: "",
weight: null,
volume: null,
diff --git a/src/views/product/productExamine/proDetails.vue b/src/views/product/productExamine/proDetails.vue
index 6479215..a169183 100644
--- a/src/views/product/productExamine/proDetails.vue
+++ b/src/views/product/productExamine/proDetails.vue
@@ -1201,7 +1201,7 @@ const defaultObj = {
proportion: 0.6,
coupon:'',
stock: 0,
- growth: 0,
+ // growth: 0,
bar_code: "",
gist_url:null,
weight: null,
diff --git a/src/views/user/list/index.vue b/src/views/user/list/index.vue
index f295ded..49fe0e6 100644
--- a/src/views/user/list/index.vue
+++ b/src/views/user/list/index.vue
@@ -686,9 +686,15 @@ export default {
},
// 导出
async exportList() {
+ const loading = this.$loading({
+ lock: true,
+ text: '正在拼命导出中,请耐心等待...',
+ spinner: 'el-icon-loading',
+ background: 'hsla(0, 0%, 100%, .9)'
+ });
let excelData = JSON.parse(JSON.stringify(this.userFrom)), data = []
excelData.page = 1
- excelData.limit = 100
+ excelData.limit = 500
let pageCount = 1
let lebData = {};
for (let i = 0; i < pageCount; i++) {
@@ -700,6 +706,7 @@ export default {
}
}
createWorkBook(lebData.header, lebData.title, data, lebData.foot,lebData.filename);
+ loading.close();
return
},
/**导出用户列表 */