diff --git a/src/utils/request.js b/src/utils/request.js
index 2818f46..2871214 100644
--- a/src/utils/request.js
+++ b/src/utils/request.js
@@ -8,7 +8,7 @@ let loading;
const service = axios.create({
baseURL: process.env.VUE_APP_BASE_API, // url = base url + request url
// withCredentials: true, // send cookies when cross-domain requests
- timeout: 5000, // request timeout
+ timeout: 10000, // request timeout
isLoading:true
})
diff --git a/src/views/activity/activityList.vue b/src/views/activity/activityList.vue
index d3602c8..ff4fa7d 100644
--- a/src/views/activity/activityList.vue
+++ b/src/views/activity/activityList.vue
@@ -45,9 +45,10 @@ export default {
table:[
{
label:"活动名称",
- width: 200,
+ width: 220,
prop:'active_name',
- align:'left'
+ align:'left',
+ fixed:'left',
},
{
label:"活动发布方",
@@ -100,7 +101,7 @@ export default {
},
{
label:"活动地址",
- width: 260,
+ minWidth: 260,
align:'left',
prop:'address'
},
diff --git a/src/views/business/merchantManage.vue b/src/views/business/merchantManage.vue
index 2f90ed8..4f193e5 100644
--- a/src/views/business/merchantManage.vue
+++ b/src/views/business/merchantManage.vue
@@ -106,7 +106,14 @@ export default {
},
{
prop:"state",
- label: "状态"
+ label: "状态",
+ customFn:(row)=>{
+ if(row.state == 1 || row.state === 'active'){
+ return (
启用
)
+ }else{
+ return (禁用
)
+ }
+ }
}
]
diff --git a/src/views/finance/flow.vue b/src/views/finance/flow.vue
index b7eae98..e383862 100644
--- a/src/views/finance/flow.vue
+++ b/src/views/finance/flow.vue
@@ -4,25 +4,43 @@
-
-
+
+
-
- select.pageSize = e" @pageIndexChange="pageChange" :list="list" :table-item="table">
+ select.pageSize = e" @pageIndexChange="pageChange" :list="list"
+ :table-item="table"
+ >
@@ -33,88 +51,91 @@
diff --git a/src/views/order/orderList.vue b/src/views/order/orderList.vue
index ef8d665..3ac19ff 100644
--- a/src/views/order/orderList.vue
+++ b/src/views/order/orderList.vue
@@ -77,7 +77,7 @@
-
+
@@ -128,7 +128,7 @@ export default {
{
prop: "order_name",
label:"订单名称",
- width:220,
+ width:240,
align:'left',
fixed:'left'
},
@@ -140,7 +140,7 @@ export default {
{
prop:"order_total",
label:"金额",
- width: 110,
+ width: 140,
align:'right'
},
{
@@ -185,13 +185,13 @@ export default {
label:"头像",
width:80,
customFn:(row)=>{
- return (
)
+ return (
)
}
},
{
prop:"wechat_nickname",
label:"昵称",
- width: 150
+ width: 160
},
{
prop:"phone",
diff --git a/src/views/productService/clubProduct.vue b/src/views/productService/clubProduct.vue
index fc241e3..902807f 100644
--- a/src/views/productService/clubProduct.vue
+++ b/src/views/productService/clubProduct.vue
@@ -67,12 +67,19 @@
-
+
+
+
+
+
+
+
+
+
+
-
-
@@ -121,7 +128,7 @@ export default {
{
prop:'name',
label:'名称',
- width: 220,
+ minWidth: 240,
fixed:'left',
align:'left'
},
@@ -165,7 +172,7 @@ export default {
},
{
label:'排序',
- width: 160,
+ width: 150,
prop:'sort_number'
},
{
@@ -176,7 +183,7 @@ export default {
{
label:'提交日期',
prop:'created_at',
- minWidth: 200,
+ width: 200,
formatter:(cell,data,value)=>{
return parseTime(new Date(value),'{y}-{m}-{d}')
}
diff --git a/src/views/productService/components/confinement/addConfinementClub.vue b/src/views/productService/components/confinement/addConfinementClub.vue
index 3643e8b..f3f73e0 100644
--- a/src/views/productService/components/confinement/addConfinementClub.vue
+++ b/src/views/productService/components/confinement/addConfinementClub.vue
@@ -284,18 +284,7 @@
工作时间:
-
-
+
@@ -450,7 +439,7 @@ export default {
subheading:res?.subheading,
merchantId:res?.merchant_id,
featuredLabel:res?.featured_label?.split(',') || [],//特色标签
- relLabel:res?.rel_label?.split(','),//关联标签
+ relLabel:res?.rel_label?.split(',').map(item=>Number(item)),//关联标签
reach:!!res?.reach,//是否到店,
state:!!res?.state,//状态
sortNumber:res?.sort_number,
@@ -465,7 +454,7 @@ export default {
functionaryPhone:res?.functionary_phone,
linkman:res?.linkman,
linkmanPhone:res?.linkman_phone,
- workTime:res?.work_time?.split(','),
+ workTime:res?.work_time,
}
this.$refs['tinymce'].setContent(this.form.content)
},
@@ -493,7 +482,7 @@ export default {
functionary_phone:this.form.functionaryPhone,
linkman:this.form.linkman,
linkman_phone:this.form.linkmanPhone,
- work_time: this.form.workTime?.toString()
+ work_time: this.form.workTime
}).then(res => {
Message({
type:'success',
@@ -526,7 +515,7 @@ export default {
functionary_phone:this.form.functionaryPhone,
linkman:this.form.linkman,
linkman_phone:this.form.linkmanPhone,
- work_time: this.form.workTime?.toString()
+ work_time: this.form.workTime
}).then(res => {
Message({
type:'success',
diff --git a/src/views/productService/confinementClub.vue b/src/views/productService/confinementClub.vue
index 895a23f..75b58d5 100644
--- a/src/views/productService/confinementClub.vue
+++ b/src/views/productService/confinementClub.vue
@@ -23,12 +23,20 @@
-
+
+
+
+
+
+
+
+
+
+
-
-
+
@@ -71,7 +79,7 @@ export default {
{
prop:'name',
label:'名称',
- width:200,
+ minWidth:220,
align:'left'
},
{
@@ -115,7 +123,7 @@ export default {
{
label:'提交日期',
prop:'created_at',
- minWidth: 200,
+ width: 200,
formatter:(cell,data,value)=>{
return parseTime(new Date(value),'{y}-{m}-{d}')
}
diff --git a/src/views/productService/productServiceManage.vue b/src/views/productService/productServiceManage.vue
index 278f6ce..829c3b4 100644
--- a/src/views/productService/productServiceManage.vue
+++ b/src/views/productService/productServiceManage.vue
@@ -155,7 +155,7 @@ export default {
{
prop:'name',
label:'名称',
- width:250,
+ width:260,
align:'left',
fixed:'left'
},
@@ -172,19 +172,19 @@ export default {
{
prop: "price",
label:"单价",
- width: 120,
+ width: 160,
align:'right'
},
{
prop:"fee",
label:"平台佣金",
- width: 120,
+ width: 160,
align:'right'
},
{
prop:'sharing',
label: '分享金',
- width: 120,
+ width: 160,
align:'right'
},
{
diff --git a/src/views/productService/strategy.vue b/src/views/productService/strategy.vue
index 7db24c1..bce4829 100644
--- a/src/views/productService/strategy.vue
+++ b/src/views/productService/strategy.vue
@@ -56,13 +56,13 @@ export default {
label:'标题',
prop:'title',
align:'left',
- width: 200
+ minWidth: 240
},
{
label:'副标题',
prop:'subheading',
align:'left',
- width: 180
+ minWidth: 200
},
{
label:'状态',
@@ -74,7 +74,7 @@ export default {
{
label:'创建时间',
prop:'created_at',
- minWidth:200,
+ width:180,
formatter:(cell,value,data,index)=>{
return parseTime(new Date(data),'{y}-{m}-{d}')
}
diff --git a/src/views/productService/strategyType.vue b/src/views/productService/strategyType.vue
index 03517c2..e1fd8c2 100644
--- a/src/views/productService/strategyType.vue
+++ b/src/views/productService/strategyType.vue
@@ -50,12 +50,12 @@ export default {
{
prop:'name',
label:'名称',
- width:180
+ minWidth:220
},
{
prop:'call_logo',
label:'调用标识',
- width:200
+ width:180
},
{
label:'状态',
@@ -73,7 +73,7 @@ export default {
},
{
label:'创建时间',
- width: 260,
+ width: 220,
prop:'created_at',
formatter:(cell,data,value)=>{
return parseTime(new Date(value),'{y}-{m}-{d}')
@@ -81,7 +81,8 @@ export default {
},
{
label:'创建人',
- minWidth:160
+ width:160,
+ prop:'admin.name'
}
],
}
diff --git a/src/views/productService/welfare.vue b/src/views/productService/welfare.vue
index beb1cbe..68f4970 100644
--- a/src/views/productService/welfare.vue
+++ b/src/views/productService/welfare.vue
@@ -15,7 +15,7 @@
select.pageSize = e">
-
+
@@ -71,12 +71,12 @@ export default {
{
prop:"name",
label:'名称',
- width: 280,
+ minWidth: 300,
align:'left'
},
{
label:'项目数量',
- width: 200,
+ width: 180,
customFn:(row)=>{
return ({row.items.length}
)
}
diff --git a/src/views/userManage/memberManage.vue b/src/views/userManage/memberManage.vue
index e74615f..d867d05 100644
--- a/src/views/userManage/memberManage.vue
+++ b/src/views/userManage/memberManage.vue
@@ -69,12 +69,13 @@ export default {
prop:'name',
label:'姓名',
width:180,
- sortable:false
+ sortable:false,
+ fixed:'left'
},
{
prop:'phone',
label:'电话',
- width:200
+ width:220
},
{
prop:'due_date',
@@ -90,7 +91,7 @@ export default {
prop:'address',
label:'住址',
align:'left',
- width: 300
+ minWidth: 300
},
{
prop:'hospital',