Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ElectricitySheep
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
黄媛媛
ElectricitySheep
Commits
01f3c2d8
Commit
01f3c2d8
authored
Aug 19, 2020
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
微店内容
parent
bede319b
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1258 additions
and
50 deletions
+1258
-50
wdExamine.vue
src/components/UserMan/tinyMerchant/wdExamine.vue
+82
-39
wdOrder.vue
src/components/UserMan/tinyMerchant/wdOrder.vue
+701
-0
wdWithdrawal.vue
src/components/UserMan/tinyMerchant/wdWithdrawal.vue
+452
-0
index.js
src/router/index.js
+23
-11
No files found.
src/components/UserMan/tinyMerchant/wdExamine.vue
View file @
01f3c2d8
...
...
@@ -9,11 +9,11 @@
</div>
<div
class=
"content"
>
<div>
<div
class=
"searchInput"
style=
"width:230px"
>
<el-input
style=
"display:inline-block;width:205px;height:30px"
placeholder=
"请输入用户id"
@
keyup
.
enter
.
native=
"msg.pageIndex=1,getList()"
@
keyup
.
enter
.
native=
"msg.pageIndex=1,getList()"
@
clear=
"msg.pageIndex=1,getList()"
v-model=
"msg.UserId"
size=
"small"
...
...
@@ -24,7 +24,7 @@
<div
class=
"searchInput"
style=
"width:230px"
>
<el-input
style=
"display:inline-block;width:205px;height:30px"
placeholder=
"请输入微店名称"
@
keyup
.
enter
.
native=
"msg.pageIndex=1,getList()"
@
keyup
.
enter
.
native=
"msg.pageIndex=1,getList()"
@
clear=
"msg.pageIndex=1,getList()"
v-model=
"msg.Name"
size=
"small"
...
...
@@ -35,7 +35,7 @@
<div
class=
"searchInput"
style=
"width:230px"
>
<el-input
style=
"display:inline-block;width:205px;height:30px"
placeholder=
"请输入用户名称"
@
keyup
.
enter
.
native=
"msg.pageIndex=1,getList()"
@
keyup
.
enter
.
native=
"msg.pageIndex=1,getList()"
@
clear=
"msg.pageIndex=1,getList()"
v-model=
"msg.NickName"
size=
"small"
...
...
@@ -64,7 +64,7 @@
<div
flex=
"dir:left cross:center"
>
{{
scope
.
row
.
UserName
}}
</div>
</
template
>
</
template
>
</el-table-column>
<el-table-column
prop=
"Commission"
label=
"可提现佣金"
>
<el-table-column
prop=
"Moblie"
label=
"总佣金"
>
...
...
@@ -72,7 +72,7 @@
<p>
{{
scope
.
row
.
Commission
?
scope
.
row
.
Commission
.
toFixed
(
2
):
'0.00'
}}
</p>
<p>
{{
scope
.
row
.
TotalCommission
?
scope
.
row
.
TotalCommission
.
toFixed
(
2
):
'0.00'
}}
</p>
</
template
>
</el-table-column>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"AuditStatusName"
label=
"申请状态"
>
</el-table-column>
<el-table-column
prop=
"AuditDate"
label=
"审核时间"
>
</el-table-column>
...
...
@@ -81,7 +81,7 @@
<el-table-column
prop=
"address"
label=
"操作"
>
<
template
slot-scope=
"scope"
>
...
...
@@ -93,16 +93,16 @@
<img
@
click=
"pending(scope.row,2)"
v-if=
"scope.row.AuditStatus==1"
class=
"app-order-icon"
src=
"../../../assets/img/userman/nopass.png"
alt=
""
>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"
添加
备注"
placement=
"top-start"
v-if=
"scope.row.AuditStatus==2"
>
<img
@
click=
"
openRemark(5,scope.row
)"
style=
"width:32px;height:32px"
src=
"../../../assets/img/userman/add_remark.png"
alt=
""
v-if=
"scope.row.AuditStatus==2"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"
修改
备注"
placement=
"top-start"
v-if=
"scope.row.AuditStatus==2"
>
<img
@
click=
"
pending(scope.row,3
)"
style=
"width:32px;height:32px"
src=
"../../../assets/img/userman/add_remark.png"
alt=
""
v-if=
"scope.row.AuditStatus==2"
>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"删除"
placement=
"top-start"
v-if=
"scope.row.AuditStatus==2"
>
<img
@
click=
"
Delete(3,scope.row
)"
style=
"width:32px;height:32px"
src=
"../../../assets/img/userman/del.png"
alt=
""
v-if=
"scope.row.AuditStatus==2"
>
<img
@
click=
"
pending(scope.row,4
)"
style=
"width:32px;height:32px"
src=
"../../../assets/img/userman/del.png"
alt=
""
v-if=
"scope.row.AuditStatus==2"
>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"修改微店佣金"
placement=
"top-start"
v-if=
"scope.row.AuditStatus==2"
>
<img
@
click=
"openYongjin(scope.row)"
style=
"width:32px;height:32px"
src=
"../../../assets/img/userman/edit.png"
alt=
""
v-if=
"scope.row.AuditStatus==2"
>
</el-tooltip>
</
template
>
</
template
>
</el-table-column>
</el-table>
<el-pagination
style=
"text-align:right"
...
...
@@ -125,12 +125,25 @@
<el-form-item
label-width=
"100px"
label=
"可提现佣金"
>
<el-input
v-model=
"yjMsg.Commission"
@
keyup
.
native=
"checkInteger(yjMsg,'Commission')"
style=
"width:210px;"
></el-input>
</el-form-item>
</el-form>
</el-form>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
size=
"small"
@
click=
"yjDialog = false"
>
取 消
</el-button>
<el-button
size=
"small"
type=
"primary"
@
click=
"setCommission"
>
确 定
</el-button>
</span>
</el-dialog>
<!-- 修改备注 -->
<el-dialog
title=
"提示"
:visible
.
sync=
"reasonDig"
width=
"500px"
>
<el-form
:model=
"RemarkMsg"
ref=
"RemarkMsg"
label-width=
"0"
>
<p
style=
"margin-bottom:10px"
>
请输入备注
</p>
<el-form-item>
<el-input
size=
"small"
v-model=
"RemarkMsg.Remark"
type=
"textarea"
:rows=
"3"
></el-input>
</el-form-item>
</el-form>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
size=
"small"
@
click=
"reasonDig = false"
>
取 消
</el-button>
<el-button
size=
"small"
type=
"primary"
@
click=
"czsubmitForm()"
:loading=
"tjloading"
>
确 定
</el-button>
</span>
</el-dialog>
</div>
</div>
</template>
...
...
@@ -140,6 +153,8 @@
return
{
loading
:
false
,
yjDialog
:
false
,
reasonDig
:
false
,
tjloading
:
false
,
value
:
''
,
options
:[],
tableData
:[],
...
...
@@ -152,7 +167,7 @@
NickName
:
''
,
},
total
:
0
,
AuditStatusList
:
[],
activeName
:
'first'
,
yjMsg
:{
...
...
@@ -160,7 +175,8 @@
Commission
:
0
},
yjNickName
:
''
,
TotalCommission
:
''
TotalCommission
:
''
,
RemarkMsg
:{},
};
},
created
()
{
...
...
@@ -168,7 +184,7 @@
this
.
GetAuditStatus
()
},
methods
:
{
GetAuditStatus
()
{
this
.
apipost
(
"/api/user/GetDistributorAuditStatusEnumList"
,
{},
res
=>
{
this
.
AuditStatusList
=
res
.
data
.
data
;
...
...
@@ -178,7 +194,7 @@
this
.
msg
.
AuditStatus
=
val
.
$attrs
.
dataId
;
this
.
getList
();
},
getList
(){
this
.
loading
=
true
;
this
.
apipost
(
"/api/SmallShops/GetSmallShopsPageList"
,
this
.
msg
,
res
=>
{
...
...
@@ -188,12 +204,12 @@
let
pageData
=
res
.
data
.
data
.
pageData
;
this
.
tableData
=
pageData
;
}
})
},
handleCurrentChange
(
val
)
{
this
.
msg
.
pageIndex
=
val
;
this
.
getList
();
...
...
@@ -206,6 +222,7 @@
this
.
yjMsg
.
Commission
=
row
.
Commission
?
row
.
Commission
:
0.00
;
this
.
yjDialog
=
true
;
},
//修改佣金
setCommission
(){
this
.
apipost
(
"/api/SmallShops/SetSmallShopsCommission"
,
this
.
yjMsg
,
res
=>
{
...
...
@@ -228,33 +245,59 @@
text
=
'同意审核!'
}
else
if
(
type
==
2
){
text
=
'拒绝审核!'
}
else
if
(
type
==
4
){
text
=
'是否删除当前微店!'
}
let
that
=
this
;
if
(
type
==
3
){
msg
.
Remark
=
row
.
Remark
;
that
.
RemarkMsg
=
msg
that
.
reasonDig
=
true
;
}
else
{
that
.
$confirm
(
text
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(()
=>
{
this
.
apipost
(
'/api/SmallShops/SetSmallShopsAudit'
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
getList
();
this
.
Success
(
res
.
data
.
message
)
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
},
null
);
this
.
apipost
(
'/api/SmallShops/SetSmallShopsAudit'
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
getList
();
this
.
Success
(
res
.
data
.
message
)
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
},
null
);
}).
catch
(()
=>
{
});
}
},
czsubmitForm
(){
this
.
tjloading
=
true
;
this
.
apipost
(
'/api/SmallShops/SetSmallShopsAudit'
,
this
.
RemarkMsg
,
res
=>
{
this
.
tjloading
=
false
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
reasonDig
=
false
this
.
getList
();
this
.
Success
(
res
.
data
.
message
)
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
},
null
);
}
},
mounted
()
{
}
};
...
...
@@ -267,16 +310,16 @@
float
:
right
;
}
.usersList
.app-image
{
background-position
:
center
center
;
width
:
50px
;
background-position
:
center
center
;
width
:
50px
;
height
:
50px
;
border-radius
:
0%
;
border-radius
:
0%
;
float
:
left
;
margin-right
:
8px
;
}
.usersList
.blue
{
color
:
#409EFF
;
}
.usersList
.content
.searchInput
{
border
:
1px
solid
#DCDFE6
;
...
...
src/components/UserMan/tinyMerchant/wdOrder.vue
0 → 100644
View file @
01f3c2d8
This diff is collapsed.
Click to expand it.
src/components/UserMan/tinyMerchant/wdWithdrawal.vue
0 → 100644
View file @
01f3c2d8
This diff is collapsed.
Click to expand it.
src/router/index.js
View file @
01f3c2d8
...
...
@@ -115,13 +115,13 @@ export default new Router({
path
:
'/groupEmpower'
,
name
:
'groupEmpower'
,
component
:
resolve
=>
require
([
'@/components/empower/groupEmpower'
],
resolve
),
},
},
//授权中心 授权管理
{
path
:
'/empowerManage'
,
name
:
'empowerManage'
,
component
:
resolve
=>
require
([
'@/components/empower/empowerManage'
],
resolve
),
},
},
//授权中心 授权详情
{
path
:
'/empowerEdit'
,
...
...
@@ -139,27 +139,27 @@ export default new Router({
path
:
'/procurementMange'
,
name
:
'procurementMange'
,
component
:
resolve
=>
require
([
'@/components/empower/procurementMange'
],
resolve
),
},
},
//授权中心 物料仓库
{
path
:
'/Materialwarehouse'
,
name
:
'Materialwarehouse'
,
component
:
resolve
=>
require
([
'@/components/empower/Materialwarehouse'
],
resolve
),
},
},
//授权中心 入库
{
path
:
'/putinStorage'
,
name
:
'putinStorage'
,
component
:
resolve
=>
require
([
'@/components/empower/putinStorage'
],
resolve
),
},
},
//授权中心 打印
{
path
:
'/printManage'
,
name
:
'printManage'
,
component
:
resolve
=>
require
([
'@/components/empower/printManage'
],
resolve
),
},
},
]
},
{
...
...
@@ -298,7 +298,7 @@ export default new Router({
name
:
'RecommendRebate'
,
component
:
resolve
=>
require
([
'@/components/UserMan/RecommendRebate'
],
resolve
),
},
// 用户管理 优惠券管理
{
path
:
'/usersCoupon'
,
...
...
@@ -323,6 +323,18 @@ export default new Router({
name
:
'wdExamine'
,
component
:
resolve
=>
require
([
'@/components/UserMan/tinyMerchant/wdExamine'
],
resolve
),
},
// 用户管理 微店订单
{
path
:
'/wdOrder'
,
name
:
'wdOrder'
,
component
:
resolve
=>
require
([
'@/components/UserMan/tinyMerchant/wdOrder'
],
resolve
),
},
// 用户管理 微店提现
{
path
:
'/wdWithdrawal'
,
name
:
'wdWithdrawal'
,
component
:
resolve
=>
require
([
'@/components/UserMan/tinyMerchant/wdWithdrawal'
],
resolve
),
},
// 商品管理 素材管理
{
path
:
'/materialMan'
,
...
...
@@ -449,7 +461,7 @@ export default new Router({
name
:
'outboundManage'
,
component
:
resolve
=>
require
([
'@/components/orderMan/outboundManage'
],
resolve
),
},
// 订单管理 售后订单详情
{
path
:
'/salesOrderDetails'
,
...
...
@@ -701,7 +713,7 @@ export default new Router({
name
:
'mailRulesSet'
,
component
:
resolve
=>
require
([
'@/components/setup/mailRulesSet'
],
resolve
),
},
//设置 上传设置
{
path
:
'/uploadSettings'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment