Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录
切换导航
S
shop-new
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
王天霸
shop-new
Commits
47b357ac
提交
47b357ac
authored
9月 28, 2021
作者:
huaxinzhu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
bug修复
上级
c68a9983
隐藏空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
45 行增加
和
39 行删除
+45
-39
index.js
src/api/module/settings/index.js
+10
-1
PanelGroup.vue
src/views/dashboard/PanelGroup.vue
+6
-6
index.vue
src/views/index.vue
+8
-11
index.vue
src/views/system/freight/freight_list/index.vue
+3
-4
orderDetail.vue
src/views/system/order/components/orderDetail.vue
+16
-15
setpsd.vue
src/views/system/settings/setpsd.vue
+2
-2
没有找到文件。
src/api/module/settings/index.js
浏览文件 @
47b357ac
...
...
@@ -27,10 +27,19 @@ export function changePayPassword(data) {
})
}
// 获取验证码
// 获取验证码 有两个接口
// 1-修改登录账号/密码,获取验证码
export
function
getTelphoneCode
(
id
)
{
return
request
({
url
:
'/local/seller/sendCodeMobile?mobile='
+
id
,
method
:
'get'
})
}
// 2-修改 支付密码,获取验证码
export
function
getEditPayPasswordCode
(
query
)
{
return
request
({
url
:
'/local/seller/sendMobile'
,
method
:
'get'
,
params
:
query
})
}
src/views/dashboard/PanelGroup.vue
浏览文件 @
47b357ac
...
...
@@ -9,7 +9,7 @@
<div
class=
"card-panel-text"
>
总商品
</div>
<count-to
:start-val=
"0"
:end-val=
"panelData.goods
T
otal"
:duration=
"2600"
class=
"card-panel-num"
/>
<count-to
:start-val=
"0"
:end-val=
"panelData.goods
_t
otal"
:duration=
"2600"
class=
"card-panel-num"
/>
</div>
</div>
</el-col>
...
...
@@ -22,7 +22,7 @@
<div
class=
"card-panel-text"
>
总订单
</div>
<count-to
:start-val=
"0"
:end-val=
"panelData.order
sT
otal"
:duration=
"3000"
class=
"card-panel-num"
/>
<count-to
:start-val=
"0"
:end-val=
"panelData.order
_t
otal"
:duration=
"3000"
class=
"card-panel-num"
/>
</div>
</div>
</el-col>
...
...
@@ -35,7 +35,7 @@
<div
class=
"card-panel-text"
>
总收入
</div>
<count-to
:start-val=
"0"
:end-val=
"panelData.total
Money
"
:duration=
"3200"
class=
"card-panel-num"
/>
<count-to
:start-val=
"0"
:end-val=
"panelData.total
_price"
:decimals=
"2
"
:duration=
"3200"
class=
"card-panel-num"
/>
</div>
</div>
</el-col>
...
...
@@ -44,12 +44,12 @@
<div
class=
"card-panel-icon-wrapper icon-shopping"
>
<svg-icon
icon-class=
"shopping"
class-name=
"card-panel-icon"
/>
</div>
<div
class=
"xz-tip"
>
{{
(
panelData
.
refund
Total
<
100
)?
panelData
.
refundT
otal
:
'99+'
}}
</div>
<div
class=
"xz-tip"
>
{{
(
panelData
.
refund
_total
<
100
)?
panelData
.
refund_t
otal
:
'99+'
}}
</div>
<div
class=
"card-panel-description"
>
<div
class=
"card-panel-text"
>
售后订单
</div>
<count-to
:start-val=
"0"
:end-val=
"panelData.refund
T
otal"
:duration=
"3600"
class=
"card-panel-num"
/>
<count-to
:start-val=
"0"
:end-val=
"panelData.refund
_t
otal"
:duration=
"3600"
class=
"card-panel-num"
/>
</div>
</div>
</el-col>
...
...
@@ -72,7 +72,7 @@ export default {
CountTo
},
mounted
()
{
console
.
log
(
75
,
this
.
panelData
);
//
console.log(75,this.panelData);
},
methods
:
{
handleSetLineChartData
(
type
)
{
...
...
src/views/index.vue
浏览文件 @
47b357ac
...
...
@@ -122,10 +122,10 @@ export default {
data
()
{
return
{
panelData
:{
goods
T
otal
:
0
,
//商品总数
order
sT
otal
:
0
,
//订单总数
total
Money
:
0
,
//金额总数
refund
T
otal
:
0
,
//售后总数
goods
_t
otal
:
0
,
//商品总数
order
_t
otal
:
0
,
//订单总数
total
_price
:
0
,
//金额总数
refund
_t
otal
:
0
,
//售后总数
},
...
...
@@ -173,18 +173,15 @@ export default {
}
}
this
.
lineChartData
.
maxMoneyData
=
maxMoney
this
.
lineChartData
.
moneyData
=
money
this
.
lineChartData
.
actualData
=
count
this
.
lineChartData
.
months
=
actual
// this.lineChartData.countData = count
//console.log("response.data",response.data)
this
.
panelData
.
goods
Total
=
response
.
data
.
goodsT
otal
this
.
panelData
.
refund
T
otal
=
response
.
data
.
rettotal
this
.
panelData
.
order
sTotal
=
response
.
data
.
orderT
otal
.
count
this
.
panelData
.
total
Money
=
response
.
data
.
orderTotal
.
TotalPrice
this
.
panelData
.
goods
_total
=
response
.
data
.
goods_t
otal
this
.
panelData
.
refund
_t
otal
=
response
.
data
.
rettotal
this
.
panelData
.
order
_total
=
response
.
data
.
order_t
otal
.
count
this
.
panelData
.
total
_price
=
response
.
data
.
order_total
.
total_price
/
100
});
},
handleSetLineChartData
(
type
)
{
...
...
src/views/system/freight/freight_list/index.vue
浏览文件 @
47b357ac
...
...
@@ -38,7 +38,6 @@
<el-table-column
label=
"模板名称"
align=
"center"
prop=
"name"
/>
<el-table-column
label=
"排序"
align=
"center"
prop=
"sort"
/>
<el-table-column
label=
"是否是默认模板"
align=
"center"
:formatter=
"formatDefault"
prop=
"is_default"
/>
<!--
<el-table-column
label=
"类型"
align=
"center"
:formatter=
"formatType"
prop=
"ChargeType"
/>
-->
<el-table-column
label=
"启用状态"
align=
"center"
:formatter=
"formaStatus"
prop=
"publish"
/>
<el-table-column
label=
"创建时间"
align=
"center"
:formatter=
"formatTime"
prop=
"created"
/>
<el-table-column
label=
"操作"
align=
"center"
class-name=
"small-padding fixed-width"
>
...
...
@@ -159,7 +158,7 @@
return
publish
},
formatType
(
row
)
{
var
typese
=
row
.
charge
T
ype
var
typese
=
row
.
charge
_t
ype
var
optDess
=
''
if
(
typese
==
1
)
{
optDess
=
"按重量"
...
...
@@ -248,8 +247,8 @@
id
:
0
,
sort
:
0
,
name
:
""
,
is
D
efault
:
0
,
charge
T
ype
:
0
,
is
_d
efault
:
0
,
charge
_t
ype
:
0
,
dispatching
:
[
{
a
:
"全国"
,
...
...
src/views/system/order/components/orderDetail.vue
浏览文件 @
47b357ac
...
...
@@ -407,7 +407,6 @@ export default {
for
(
let
i
=
0
;
i
<
this
.
multipleSelection
.
length
;
i
++
)
{
// 批量补单 is_reissue 1-已补发;2-未补发
// 首先,先发货了,才能补单
if
(
this
.
multipleSelection
[
i
].
goods_status
>
0
)
{
if
(
this
.
multipleSelection
[
i
].
is_reissue
)
{
...
...
@@ -578,7 +577,6 @@ export default {
},
/** 修改 买家信息 */
modifyinfo
()
{
// console.log(580,this.orderDetail);
this
.
addressForm
=
{
shipping_name
:
''
,
tel
:
''
,
...
...
@@ -587,6 +585,10 @@ export default {
areaList
:
[]
}
this
.
$nextTick
(()
=>
{
this
.
$refs
.
ssqCascader
.
$refs
.
panel
.
activePath
=
[]
});
if
(
this
.
orderDetail
.
real_name
)
{
this
.
addressForm
.
shipping_name
=
this
.
orderDetail
.
real_name
;
}
...
...
@@ -598,10 +600,12 @@ export default {
if
(
this
.
orderDetail
.
provice
&&
this
.
orderDetail
.
city
&&
this
.
orderDetail
.
district
)
{
//console.log(66,this.addressForm.areaList);
this
.
addOrEditPlaceholder
=
this
.
orderDetail
.
provice
+
'/'
+
this
.
orderDetail
.
city
+
'/'
+
this
.
orderDetail
.
district
;
this
.
onlyEidtPlaceholder
=
true
;
this
.
addressForm
.
areaList
[
0
]
=
this
.
orderDetail
.
provice
this
.
addressForm
.
areaList
[
1
]
=
this
.
orderDetail
.
city
this
.
addressForm
.
areaList
[
2
]
=
this
.
orderDetail
.
district
}
else
{
this
.
onlyEidtPlaceholder
=
false
;
this
.
addOrEditPlaceholder
=
"请选择具体的省市区"
this
.
addressForm
.
areaList
=
[]
}
...
...
@@ -666,15 +670,12 @@ export default {
return
}
//debugger
// 省市区 转化 onlyEidtPlaceholder
// 省市区 转化
let
ssqLabelList
=
[];
if
(
this
.
onlyEidtPlaceholder
)
{
if
(
!
this
.
onlyEidtPlaceholder
)
{
ssqLabelList
=
this
.
$refs
[
'ssqCascader'
].
getCheckedNodes
()[
0
].
pathLabels
;
//console.log(11,ssqLabelList);
}
else
{
ssqLabelList
=
this
.
addressForm
.
areaList
;
//console.log(22,ssqLabelList);
}
let
params
=
{
...
...
@@ -803,7 +804,7 @@ export default {
},
handleChanges
(
value
)
{
this
.
addressForm
.
areaList
=
value
;
this
.
onlyEidtPlaceholder
=
tru
e
// 说明操作下拉进行完整的选择值操作了,即 this.addressForm.areaList 是数组,元素为id
this
.
onlyEidtPlaceholder
=
fals
e
// 说明操作下拉进行完整的选择值操作了,即 this.addressForm.areaList 是数组,元素为id
},
}
}
...
...
@@ -834,13 +835,13 @@ export default {
/
deep
/
.el-input--medium
.el-input__inner
{
height
:
28px
;
}
/
deep
/
input
::-webkit-input-placeholder
{
color
:
#606266
;
}
/
deep
/
input
::-moz-placeholder
{
color
:
#606266
;
opacity
:
1
}
/
*/deep/input::-webkit-input-placeholder{*/
/* color:#606266;*/
/*}*/
/
*/deep/input::-moz-placeholder{*/
/* color:#606266;*/
/* opacity: 1*/
/*}*/
.orderDetail
{
height
:
660px
;
...
...
src/views/system/settings/setpsd.vue
浏览文件 @
47b357ac
...
...
@@ -119,7 +119,7 @@
</
template
>
<
script
>
import
{
changeTelphone
,
getTelphoneCode
,
changeLoginPassword
,
changePayPassword
}
from
'@/api/module/settings'
import
{
changeTelphone
,
getTelphoneCode
,
getEditPayPasswordCode
,
changeLoginPassword
,
changePayPassword
}
from
'@/api/module/settings'
export
default
{
name
:
"Setpsd"
,
...
...
@@ -344,7 +344,7 @@
}
},
1000
)
}
get
Telphone
Code
(
this
.
setForm
.
name
).
then
(
res
=>
{
get
EditPayPassword
Code
(
this
.
setForm
.
name
).
then
(
res
=>
{
if
(
res
.
code
===
1
)
{
this
.
$message
({
type
:
"success"
,
message
:
'验证码发送成功'
});
}
else
{
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论