Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
lanbaoming
jiedao-app-operator-master
Commits
de70c170
Commit
de70c170
authored
Jun 24, 2022
by
dcy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
佣金设置
parent
30ae2f0a
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
248 additions
and
270 deletions
+248
-270
customerCommission.js
src/api/ecw/customerCommission.js
+0
-24
customerCommissionInfo.js
src/api/ecw/customerCommissionInfo.js
+17
-41
index.vue
src/views/ecw/customerCommission/index.vue
+60
-160
customSelectorsDictionary.vue
.../ecw/customerCommissionInfo/customSelectorsDictionary.vue
+1
-1
index.vue
src/views/ecw/customerCommissionInfo/index.vue
+170
-44
No files found.
src/api/ecw/customerCommission.js
View file @
de70c170
import
request
from
'
@/utils/request
'
// 创建客户佣金类型
export
function
createCustomerCommission
(
data
)
{
return
request
({
url
:
'
/ecw/customer-commission/create
'
,
method
:
'
post
'
,
data
:
data
})
}
// 更新客户佣金类型
export
function
updateCustomerCommission
(
data
)
{
return
request
({
url
:
'
/ecw/customer-commission/update
'
,
method
:
'
put
'
,
data
:
data
})
}
// 删除客户佣金类型
export
function
deleteCustomerCommission
(
id
)
{
...
...
@@ -26,13 +9,6 @@ export function deleteCustomerCommission(id) {
})
}
// 获得客户佣金类型
export
function
getCustomerCommission
(
id
)
{
return
request
({
url
:
'
/ecw/customer-commission/get?id=
'
+
id
,
method
:
'
get
'
})
}
// 获得客户佣金类型分页
export
function
getCustomerCommissionPage
(
query
)
{
...
...
src/api/ecw/customerCommissionInfo.js
View file @
de70c170
import
request
from
'
@/utils/request
'
// 创建客户佣金详情
export
function
createCustomerCommissionInfo
(
data
)
{
return
request
({
url
:
'
/ecw/customer-commission-info/create
'
,
method
:
'
post
'
,
data
:
data
})
}
// 更新客户佣金详情
export
function
updateCustomerCommissionInfo
(
data
)
{
return
request
({
url
:
'
/ecw/customer-commission
-info
/update
'
,
url
:
'
/ecw/customer-commission/update
'
,
method
:
'
put
'
,
data
:
data
})
}
// 删除客户佣金详情
export
function
deleteCustomerCommissionInfo
(
id
)
{
return
request
({
url
:
'
/ecw/customer-commission-info/delete?id=
'
+
id
,
method
:
'
delete
'
})
}
// 获得客户佣金详情
export
function
getCustomerCommissionInfo
(
id
)
{
return
request
({
url
:
'
/ecw/customer-commission-info/get?id=
'
+
id
,
method
:
'
get
'
})
}
// 获得客户佣金详情分页
export
function
getCustomerCommissionInfoPage
(
query
)
{
return
request
({
url
:
'
/ecw/customer-commission-info/page
'
,
method
:
'
get
'
,
params
:
query
})
}
// 导出客户佣金详情 Excel
export
function
exportCustomerCommissionInfoExcel
(
query
)
{
return
request
({
url
:
'
/ecw/customer-commission-info/export-excel
'
,
method
:
'
get
'
,
query
:
query
,
responseType
:
'
blob
'
})
}
//商品类型列表
export
function
itemTypeListApi
(
query
){
return
request
({
...
...
@@ -76,6 +36,7 @@ export function commodityList(){
})
}
//创建佣金
export
function
createCommission
(
query
){
return
request
({
url
:
'
/ecw/customer-commission/create
'
,
...
...
@@ -83,3 +44,18 @@ export function createCommission(query){
data
:
query
})
}
// 获得客户佣金类型详情
export
function
getCustomerCommission
(
id
)
{
return
request
({
url
:
'
/ecw/customer-commission-info/get-by-commission-id?commissionId=
'
+
id
,
method
:
'
get
'
})
}
//获得客户佣金详情
export
function
commissionGetByCustomerId
(
id
){
return
request
({
url
:
'
/ecw/customer-commission/getByCustomerId?customerId=
'
+
id
,
method
:
'
get
'
})
}
src/views/ecw/customerCommission/index.vue
View file @
de70c170
This diff is collapsed.
Click to expand it.
src/views/ecw/customerCommissionInfo/customSelectorsDictionary.vue
View file @
de70c170
...
...
@@ -4,7 +4,7 @@
v-for=
"item in options"
:key=
"item[valueKey]"
:label=
"item[labelKey]"
:value=
"
item[valueKey]
"
>
:value=
"
parseInt(item[valueKey])
"
>
</el-option>
</el-select>
</
template
>
...
...
src/views/ecw/customerCommissionInfo/index.vue
View file @
de70c170
This diff is collapsed.
Click to expand it.
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