Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
confucius
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
罗超
confucius
Commits
50fe631d
Commit
50fe631d
authored
Feb 11, 2022
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
adaf2ddd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
6 deletions
+31
-6
b2bcustomlist.vue
src/components/sale/b2bcustomlist.vue
+28
-4
b2bAllCustomer.vue
src/pages/sale/b2bAllCustomer.vue
+3
-2
No files found.
src/components/sale/b2bcustomlist.vue
View file @
50fe631d
...
...
@@ -15,10 +15,11 @@
:visible-columns=
"visibleColumns"
row-key=
"CustomerId"
>
<template
v-slot:top
>
<q-space
/>
<div
class=
"page-option"
v-if=
"authObj.isShowEdit"
>
<q-btn
color=
"accent"
size=
"sm"
class=
"q-mr-md"
icon=
"add"
@
click=
"EditCustom(null)"
label=
"新增联系人"
/>
<q-btn
color=
"accent"
size=
"sm"
label=
"转交"
:disable=
"selection.length == 0"
icon=
"swap_horiz"
@
click=
"isShowTrans = true"
>
<div
class=
"page-option"
>
<q-btn
v-if=
"authObj.isShowEdit"
color=
"accent"
size=
"sm"
class=
"q-mr-md"
icon=
"add"
@
click=
"EditCustom(null)"
label=
"新增联系人"
/>
<q-btn
v-if=
"authObj.isShowEdit"
color=
"accent"
size=
"sm"
label=
"转交"
:disable=
"selection.length == 0"
icon=
"swap_horiz"
@
click=
"isShowTrans = true"
>
<q-popup-proxy
:offset=
"[10, 10]"
>
<q-banner
v-if=
"isShowTrans"
>
<q-select
style=
"margin-top:20px;"
filled
v-model=
"TransferMsg.EmpId"
@
filter=
"filterEmployee"
use-input
...
...
@@ -29,6 +30,8 @@
</q-banner>
</q-popup-proxy>
</q-btn>
<q-btn
v-if=
"authObj&&authObj.isShowDownload"
color=
"accent"
class=
"q-mr-md"
size=
"sm"
icon=
"add"
label=
"下载"
@
click=
"downloadCustomer"
/>
</div>
</
template
>
<
template
v-slot:body-cell-CustomerName=
"props"
>
...
...
@@ -87,9 +90,13 @@
import
{
setCustomerCareOf
}
from
"../../api/sale/peemanagement"
;
import
{
EduDownLoad
}
from
"../../api/common/common"
;
import
customerEditForm
from
"../sale/customerEdit-form"
;
import
customerReviewForm
from
"../sale/customerReview-form"
;
import
customerInfo
from
"./b2bcustomerinfo/b2bCustomerInfo.vue"
;
import
obj
from
'../../pages/financial/lang/zh-demo'
;
export
default
{
props
:
{
dataList
:
{
...
...
@@ -115,6 +122,14 @@
loading
:
{
type
:
Boolean
,
default
:
false
,
},
queryMsg
:
{
type
:
Object
,
default
:
null
,
},
authObj
:
{
type
:
Object
,
default
:
null
,
}
},
components
:
{
...
...
@@ -244,6 +259,15 @@
}
},
methods
:
{
//下载同行联系人
downloadCustomer
()
{
var
msg
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
queryMsg
));
EduDownLoad
(
"/b2bcustomer/DownLoadCustomerLinkMan"
,
msg
,
"同行资料.xls"
);
},
//初始化权限
initAuth
()
{
if
(
this
.
authObj
)
{
...
...
src/pages/sale/b2bAllCustomer.vue
View file @
50fe631d
...
...
@@ -40,7 +40,7 @@
</div>
</div>
<div
class=
"page-content"
>
<b2bcustomlist
:dataList=
"dataList"
:authObj=
"authObj"
:loading=
"loading"
@
success=
"getList"
<b2bcustomlist
:dataList=
"dataList"
:authObj=
"authObj"
:loading=
"loading"
@
success=
"getList"
:queryMsg=
"msg"
:visibleColumns=
"visibleColumns"
sticky=
"sticky-tow-column-table sticky-right-column-table"
></b2bcustomlist>
<q-pagination
class=
"full-width justify-end"
v-model=
"msg.pageIndex"
color=
"primary"
:max=
"pageCount"
:input=
"true"
@
input=
"changePage"
/>
...
...
@@ -126,7 +126,8 @@
authObj
:
{
isShowEdit
:
true
,
//显示新增、修改、删除
isShowBankBook
:
true
,
//显示幸福存折
isShowRebate
:
true
//是否显示返佣
isShowRebate
:
true
,
//是否显示返佣,
isShowDownload
:
true
,
//显示下载按钮
},
categoryMsg
:
{
pageIndex
:
1
,
...
...
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