Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-4
Overview
Overview
Details
Activity
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
office
haoban-4
Commits
b3aabed1
Commit
b3aabed1
authored
Sep 17, 2020
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改分配接口
parent
319bbb4e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
8 deletions
+18
-8
store-list.vue
src/components/app/my-customer/store-list.vue
+8
-6
customer-assign.vue
src/views/apps/customer-app/customer-assign.vue
+10
-2
No files found.
src/components/app/my-customer/store-list.vue
View file @
b3aabed1
...
...
@@ -3,7 +3,7 @@
* @Author : 无尘
* @Date : 2020-08-13 14:02:22
* @LastEditors: 无尘
* @LastEditTime: 2020-09-17 1
1:34:17
* @LastEditTime: 2020-09-17 1
4:46:39
* @FilePath : haoban-4\src\components\app\my-customer\store-list.vue
-->
<!--
...
...
@@ -26,7 +26,7 @@
</div>
<div
class=
"depart-children-list border-box m-t-18"
>
<div
class=
"m-t-20"
>
<el-table
class=
"select-table"
ref=
"multipleTable"
:data=
"tableData"
tooltip-effect=
"dark"
:style=
"
{ width: '100%'}">
<el-table
class=
"select-table"
ref=
"multipleTable"
v-loading=
"loading"
:data=
"tableData"
tooltip-effect=
"dark"
:style=
"
{ width: '100%'}">
<el-table-column
class=
"cursor-pointer"
label=
"门店名称"
show-overflow-tooltip
>
<template
slot-scope=
"scope"
>
{{
scope
.
row
.
storeName
||
'--'
}}
</
template
>
</el-table-column>
...
...
@@ -130,7 +130,8 @@ export default {
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
tableData
:
[]
tableData
:
[],
loading
:
false
};
},
mounted
()
{
...
...
@@ -188,7 +189,6 @@ export default {
that
.
pageSize
=
val
;
that
.
getTableList
();
},
/**
* @description: 分页---当前页变化
* @param {Number} val
...
...
@@ -205,7 +205,8 @@ export default {
*/
getTableList
()
{
const
that
=
this
;
let
para
=
{
that
.
loading
=
true
;
const
para
=
{
wxEnterpriseId
:
that
.
wxEnterpriseId
,
storeGroupId
:
that
.
departObj
.
storeGroupId
,
enterpriseId
:
that
.
brandId
,
...
...
@@ -216,11 +217,12 @@ export default {
};
getStoreList
(
para
)
.
then
(
res
=>
{
that
.
loading
=
false
;
that
.
tableData
=
res
.
result
.
result
||
[];
that
.
total
=
res
.
result
.
totalCount
;
})
.
catch
(
function
(
error
)
{
that
.
loading
=
false
;
});
}
},
...
...
src/views/apps/customer-app/customer-assign.vue
View file @
b3aabed1
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-08-20 14:36:37
* @LastEditors: 无尘
* @LastEditTime: 2020-09-17 1
1:44:10
* @LastEditTime: 2020-09-17 1
4:45:11
-->
<
template
>
<div
class=
"customer-assign-wrap"
>
...
...
@@ -675,6 +675,7 @@ export default {
*/
getTableList
()
{
const
that
=
this
;
that
.
loading
=
true
;
const
para
=
{
enterpriseId
:
that
.
brandId
,
wxEnterpriseId
:
that
.
wxEnterpriseId
,
...
...
@@ -689,11 +690,14 @@ export default {
};
getMemberList
(
para
)
.
then
(
res
=>
{
that
.
loading
=
false
;
that
.
tableData
=
res
.
result
.
result
||
[];
that
.
total
=
res
.
result
.
totalCount
;
})
.
catch
(
function
(
error
)
{
that
.
loading
=
false
;
that
.
tableData
=
[];
that
.
total
=
0
;
});
}
},
...
...
@@ -704,12 +708,16 @@ export default {
that
.
showMember
=
false
;
that
.
currentPage
=
1
;
that
.
tableData
=
[];
that
.
total
=
0
;
that
.
clerkOptions
=
[];
that
.
clerkId
=
''
;
// 导购
that
.
searchInput
=
''
;
that
.
selectRadio
=
0
;
that
.
multipleSelection
=
[];
that
.
storeObj
=
{};
that
.
departObj
=
{};
that
.
gicData
=
[];
that
.
gicDataCopy
=
[];
that
.
getGicData
();
that
.
getSetData
();
}
...
...
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