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
b6cccc4c
Commit
b6cccc4c
authored
Dec 20, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
15af8277
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
633 additions
and
831 deletions
+633
-831
b2bcustomlist.vue
src/components/sale/b2bcustomlist.vue
+312
-391
b2bAllCustomer.vue
src/pages/sale/b2bAllCustomer.vue
+111
-156
b2bcustomer.vue
src/pages/sale/b2bcustomer.vue
+106
-150
b2bcustomerapprove.vue
src/pages/sale/b2bcustomerapprove.vue
+104
-134
No files found.
src/components/sale/b2bcustomlist.vue
View file @
b6cccc4c
<
style
lang=
"scss"
>
<
style
lang=
"scss"
>
.b2bcustomlist
.q-table__bottom
{
.b2bcustomlist
.q-table__bottom
{
min-height
:
0
;
min-height
:
0
;
}
}
.CustomerName
{
.CustomerName
{
cursor
:
pointer
;
cursor
:
pointer
;
color
:
var
(
--
q-color-primary
);
color
:
var
(
--
q-color-primary
);
}
}
</
style
>
</
style
>
<
template
>
<
template
>
<div
class=
"b2bcustomlist"
>
<div
class=
"b2bcustomlist"
>
<q-table
<q-table
:pagination=
"pageMsg"
:loading=
"loading"
no-data-label=
"暂无相关数据"
flat
selection=
"multiple"
:pagination=
"pageMsg"
:selected
.
sync=
"selection"
:class=
"sticky"
separator=
"none"
:data=
"dataList"
:columns=
"columns"
:loading=
"loading"
:visible-columns=
"visibleColumns"
row-key=
"CustomerId"
>
no-data-label=
"暂无相关数据"
<template
v-slot:top
>
flat
selection=
"multiple"
:selected
.
sync=
"selection"
:class=
"sticky"
separator=
"none"
:data=
"dataList"
:columns=
"columns"
:visible-columns=
"visibleColumns"
row-key=
"CustomerId"
>
<template
v-slot:top=
"props"
>
<q-space
/>
<q-space
/>
<div
class=
"page-option"
v-if=
"authObj.isShowEdit"
>
<div
class=
"page-option"
v-if=
"authObj.isShowEdit"
>
<q-btn
<q-btn
color=
"accent"
size=
"sm"
class=
"q-mr-md"
icon=
"add"
@
click=
"EditCustom(null)"
label=
"新增客户"
/>
color=
"accent"
<q-btn
color=
"accent"
size=
"sm"
label=
"转交"
:disable=
"selection.length == 0"
icon=
"swap_horiz"
size=
"sm"
@
click=
"isShowTrans = true"
>
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"
>
<q-popup-proxy
:offset=
"[10, 10]"
>
<q-popup-proxy
:offset=
"[10, 10]"
>
<q-banner
v-if=
"isShowTrans"
>
<q-banner
v-if=
"isShowTrans"
>
<q-select
<q-select
style=
"margin-top:20px;"
filled
v-model=
"TransferMsg.EmpId"
@
filter=
"filterEmployee"
use-input
style=
"margin-top:20px;"
:options=
"myEmployeeList"
option-label=
"EmployeeName"
option-value=
"Id"
emit-value
map-options
filled
:rules=
"[val => !!val || '请选择接收人']"
ref=
"transfer"
/>
v-model=
"TransferMsg.EmpId"
<q-btn
label=
"保存"
style=
"float:right;margin-top:15px"
color=
"accent q-mb-lg"
size=
"sm"
@
filter=
"filterEmployee"
@
click=
"saveTransForm"
/>
use-input
:options=
"myEmployeeList"
option-label=
"EmployeeName"
option-value=
"Id"
emit-value
map-options
:rules=
"[val => !!val || '请选择接收人']"
ref=
"transfer"
/>
<q-btn
label=
"保存"
style=
"float:right;margin-top:15px"
color=
"accent q-mb-lg"
size=
"sm"
@
click=
"saveTransForm"
/>
</q-banner>
</q-banner>
</q-popup-proxy>
</q-popup-proxy>
</q-btn>
</q-btn>
...
@@ -99,88 +60,37 @@
...
@@ -99,88 +60,37 @@
</
template
>
</
template
>
<
template
v-slot:body-cell-optioned=
"props"
>
<
template
v-slot:body-cell-optioned=
"props"
>
<q-td
:props=
"props"
>
<q-td
:props=
"props"
>
<q-btn
<q-btn
flat
v-if=
"
flat
v-if=
"
(props.row.ApproveState == 0 || props.row.ApproveState == 2) &&
(props.row.ApproveState == 0 || props.row.ApproveState == 2) &&
authObj.isShowAudit
authObj.isShowAudit
"
"
size=
"xs"
icon=
"edit"
color=
"accent"
style=
"font-weight:400"
label=
"客户审批"
size=
"xs"
@
click=
"AuditCustomer(props.row, 1)"
/>
icon=
"edit"
color=
"accent"
style=
"font-weight:400"
label=
"客户审批"
@
click=
"AuditCustomer(props.row, 1)"
/>
<!--
<q-btn
flat
size=
"xs"
icon=
"edit"
color=
"accent"
style=
"font-weight:400"
label=
"编辑"
@
click=
"EditCustom(props.row)"
/>
-->
<!--
<q-btn
flat
v-if=
"props.row.ApproveState == 0 && AuthorityObj.isShowEdit"
size=
"xs"
icon=
"delete"
color=
"negative"
style=
"font-weight:400"
label=
"删除"
@
click=
"RemoveCustomer(props.row)"
/>
-->
<!--
<q-btn
flat
v-if=
"AuthorityObj.isShowBankBook"
size=
"xs"
icon=
"edit"
color=
"accent"
style=
"font-weight:400"
label=
"幸福存折"
@
click=
"gohappyPassbook(props.row)"
/>
<q-btn
flat
v-if=
"AuthorityObj.isShowRebate"
size=
"xs"
icon=
"edit"
color=
"accent"
style=
"font-weight:400"
label=
"返佣管理"
@
click=
"gohappyCommisson(props.row)"
/>
-->
</q-td>
</q-td>
</
template
>
</
template
>
<
template
v-slot:bottom
>
<
template
v-slot:bottom
>
<div></div>
<div></div>
</
template
>
</
template
>
</q-table>
</q-table>
<customerEdit-form
<customerEdit-form
v-if=
"isShowCustomForm"
:customerObj=
"customerObj"
@
close=
"closeCustomForm"
v-if=
"isShowCustomForm"
@
success=
"refreshQuestion"
>
:customerObj=
"customerObj"
@
close=
"closeCustomForm"
@
success=
"refreshQuestion"
>
</customerEdit-form>
</customerEdit-form>
<customerReview-form
<customerReview-form
v-if=
"isShowRightForm"
:customerObj=
"customerObj"
@
close=
"closeCustomForm"
v-if=
"isShowRightForm"
@
success=
"refreshQuestion"
></customerReview-form>
:customerObj=
"customerObj"
<customerInfo
v-if=
"isShowDetailForm"
:rowId=
"curRowId"
:tabId=
"tabId"
:empList=
"employeeList"
@
close=
"closeCustomForm"
@
close=
"closeCustomForm"
:auth=
"AuthorityObj"
@
success=
"refreshQuestion"
></customerInfo>
@
success=
"refreshQuestion"
></customerReview-form>
<customerInfo
v-if=
"isShowDetailForm"
:rowId=
"curRowId"
:tabId=
"tabId"
:empList=
"employeeList"
@
close=
"closeCustomForm"
:auth=
"AuthorityObj"
@
success=
"refreshQuestion"
></customerInfo>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
import
{
queryEmployee
}
from
"../../api/users/user"
;
import
{
import
{
setCustomerCareOf
}
from
"../../api/sale/peemanagement"
;
queryEmployee
import
customerEditForm
from
"../sale/customerEdit-form"
;
}
from
"../../api/users/user"
;
import
customerReviewForm
from
"../sale/customerReview-form"
;
import
{
import
customerInfo
from
"./b2bcustomerinfo/b2bCustomerInfo.vue"
;
setCustomerCareOf
export
default
{
}
from
"../../api/sale/peemanagement"
;
import
customerEditForm
from
"../sale/customerEdit-form"
;
import
customerReviewForm
from
"../sale/customerReview-form"
;
import
customerInfo
from
"./b2bcustomerinfo/b2bCustomerInfo.vue"
;
export
default
{
props
:
{
props
:
{
dataList
:
{
dataList
:
{
type
:
Array
,
type
:
Array
,
...
@@ -198,9 +108,9 @@ export default {
...
@@ -198,9 +108,9 @@ export default {
type
:
Array
,
type
:
Array
,
default
:
()
=>
[]
default
:
()
=>
[]
},
},
sticky
:
{
sticky
:
{
type
:
String
,
type
:
String
,
default
:
""
default
:
""
}
}
},
},
components
:
{
components
:
{
...
@@ -210,8 +120,7 @@ export default {
...
@@ -210,8 +120,7 @@ export default {
},
},
data
()
{
data
()
{
return
{
return
{
columns
:
[
columns
:
[{
{
name
:
"CustomerName"
,
name
:
"CustomerName"
,
label
:
"同业名称"
,
label
:
"同业名称"
,
field
:
"CustomerName"
,
field
:
"CustomerName"
,
...
@@ -235,6 +144,18 @@ export default {
...
@@ -235,6 +144,18 @@ export default {
field
:
"ContactNumber"
,
field
:
"ContactNumber"
,
align
:
"left"
align
:
"left"
},
},
{
name
:
"QQ"
,
label
:
"QQ号"
,
field
:
"QQ"
,
align
:
"left"
},
{
name
:
"WeChatNo"
,
label
:
"微信号"
,
field
:
"WeChatNo"
,
align
:
"left"
},
{
{
name
:
"StuNum"
,
name
:
"StuNum"
,
label
:
"客户数量"
,
label
:
"客户数量"
,
...
@@ -456,5 +377,5 @@ export default {
...
@@ -456,5 +377,5 @@ export default {
});
});
}
}
}
}
};
};
</
script
>
</
script
>
\ No newline at end of file
src/pages/sale/b2bAllCustomer.vue
View file @
b6cccc4c
<
style
>
<
style
>
.page-content
p
{
.page-content
p
{
margin
:
0
!important
;
margin
:
0
!important
;
}
}
.quetion_Title
{
.quetion_Title
{
background
:
transparent
!important
;
background
:
transparent
!important
;
text-overflow
:
ellipsis
;
text-overflow
:
ellipsis
;
overflow
:
hidden
;
overflow
:
hidden
;
white-space
:
nowrap
;
white-space
:
nowrap
;
width
:
400px
;
width
:
400px
;
}
}
</
style
>
</
style
>
<
template
>
<
template
>
<div
class=
"page-body"
>
<div
class=
"page-body"
>
<div
class=
"page-search row items-center"
>
<div
class=
"page-search row items-center"
>
<div
class=
"col row wrap q-mr-lg q-col-gutter-md"
>
<div
class=
"col row wrap q-mr-lg q-col-gutter-md"
>
<div
class=
"col-3"
>
<div
class=
"col-3"
>
<q-input
<q-input
@
input=
"resetSearch"
filled
clearable
v-model=
"msg.CustomerName"
label=
"同业名称"
maxlength=
"20"
/>
@
input=
"resetSearch"
filled
clearable
v-model=
"msg.CustomerName"
label=
"同业名称"
maxlength=
"20"
/>
</div>
</div>
<div
class=
"col-3"
>
<div
class=
"col-3"
>
<q-input
<q-input
@
input=
"resetSearch"
filled
clearable
v-model=
"msg.CustomerId"
label=
"同业ID"
maxlength=
"20"
/>
@
input=
"resetSearch"
filled
clearable
v-model=
"msg.CustomerId"
label=
"同业ID"
maxlength=
"20"
/>
</div>
</div>
<div
class=
"col-3"
>
<div
class=
"col-3"
>
<q-input
<q-input
@
input=
"resetSearch"
filled
clearable
v-model=
"msg.ContactNumber"
label=
"电话"
maxlength=
"20"
/>
@
input=
"resetSearch"
filled
clearable
v-model=
"msg.ContactNumber"
label=
"电话"
maxlength=
"20"
/>
</div>
</div>
<div
class=
"col-3"
>
<div
class=
"col-3"
>
<q-select
<q-select
@
input=
"resetSearch"
clearable
filled
v-model=
"msg.ApproveState"
:options=
"ApproveStateList"
@
input=
"resetSearch"
emit-value
map-options
label=
"审核状态"
/>
clearable
filled
v-model=
"msg.ApproveState"
:options=
"ApproveStateList"
emit-value
map-options
label=
"审核状态"
/>
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"page-content"
>
<div
class=
"page-content"
>
<div>
<div>
<q-tabs
<q-tabs
style=
"margin-bottom:20px;"
v-model=
"tabCheck"
@
input=
"resetSearch()"
narrow-indicator
dense
style=
"margin-bottom:20px;"
align=
"left"
class=
"text-primary"
>
v-model=
"tabCheck"
@
input=
"resetSearch()"
narrow-indicator
dense
align=
"left"
class=
"text-primary"
>
<q-tab
:ripple=
"false"
:name=
"1"
label=
"正式客户"
/>
<q-tab
:ripple=
"false"
:name=
"1"
label=
"正式客户"
/>
<q-tab
:ripple=
"false"
:name=
"2"
label=
"非正式客户"
/>
<q-tab
:ripple=
"false"
:name=
"2"
label=
"非正式客户"
/>
<q-tab
:ripple=
"false"
:name=
"3"
label=
"未通过客户"
/>
<q-tab
:ripple=
"false"
:name=
"3"
label=
"未通过客户"
/>
<q-tab
:ripple=
"false"
:name=
"4"
label=
"黑名单客户"
/>
<q-tab
:ripple=
"false"
:name=
"4"
label=
"黑名单客户"
/>
</q-tabs>
</q-tabs>
</div>
</div>
<b2bcustomlist
<b2bcustomlist
:dataList=
"dataList"
:authObj=
"authObj"
:loading=
"loading"
@
success=
"getList"
:dataList=
"dataList"
:visibleColumns=
"visibleColumns"
sticky=
"sticky-tow-column-table sticky-right-column-table"
></b2bcustomlist>
:authObj=
"authObj"
<q-pagination
class=
"full-width justify-end"
v-model=
"msg.pageIndex"
color=
"primary"
:max=
"pageCount"
:loading=
"loading"
:input=
"true"
@
input=
"changePage"
/>
@
success=
"getList"
: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"
/>
</div>
</div>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
{
getAllCustomer
}
from
"../../api/sale/peemanagement"
;
import
{
import
b2bcustomlist
from
"../../components/sale/b2bcustomlist"
;
getAllCustomer
export
default
{
}
from
"../../api/sale/peemanagement"
;
import
b2bcustomlist
from
"../../components/sale/b2bcustomlist"
;
export
default
{
meta
:
{
meta
:
{
title
:
"同行管理"
title
:
"同行管理"
},
},
...
@@ -129,11 +83,12 @@ export default {
...
@@ -129,11 +83,12 @@ export default {
"ApproveStateStr"
,
"ApproveStateStr"
,
"CreateByName"
,
"CreateByName"
,
"CreateTimeStr"
,
"CreateTimeStr"
,
"QQ"
,
"WeChatNo"
,
],
],
tabCheck
:
1
,
tabCheck
:
1
,
//审核状态列表
//审核状态列表
ApproveStateList
:
[
ApproveStateList
:
[{
{
label
:
"不限"
,
label
:
"不限"
,
value
:
"0"
value
:
"0"
},
},
...
@@ -186,8 +141,8 @@ export default {
...
@@ -186,8 +141,8 @@ export default {
});
});
}
}
}
}
};
};
</
script
>
</
script
>
<
style
lang=
"sass"
>
<
style
lang=
"sass"
>
@import
url('~assets/css/table.sass')
@import
url('~assets/css/table.sass')
</
style
>
</
style
>
\ No newline at end of file
src/pages/sale/b2bcustomer.vue
View file @
b6cccc4c
<
style
>
<
style
>
.page-content
p
{
.page-content
p
{
margin
:
0
!important
;
margin
:
0
!important
;
}
}
.quetion_Title
{
.quetion_Title
{
background
:
transparent
!important
;
background
:
transparent
!important
;
text-overflow
:
ellipsis
;
text-overflow
:
ellipsis
;
overflow
:
hidden
;
overflow
:
hidden
;
white-space
:
nowrap
;
white-space
:
nowrap
;
width
:
400px
;
width
:
400px
;
}
}
</
style
>
</
style
>
<
template
>
<
template
>
<div
class=
"page-body"
>
<div
class=
"page-body"
>
<div
class=
"page-search row items-center"
>
<div
class=
"page-search row items-center"
>
<div
class=
"col row wrap q-mr-lg q-col-gutter-md"
>
<div
class=
"col row wrap q-mr-lg q-col-gutter-md"
>
<div
class=
"col-3"
>
<div
class=
"col-3"
>
<q-input
<q-input
@
input=
"resetSearch"
filled
clearable
v-model=
"msg.CustomerName"
label=
"同业名称"
maxlength=
"20"
/>
@
input=
"resetSearch"
filled
clearable
v-model=
"msg.CustomerName"
label=
"同业名称"
maxlength=
"20"
/>
</div>
</div>
<div
class=
"col-3"
>
<div
class=
"col-3"
>
<q-input
<q-input
@
input=
"resetSearch"
filled
clearable
v-model=
"msg.CustomerId"
label=
"同业ID"
maxlength=
"20"
/>
@
input=
"resetSearch"
filled
clearable
v-model=
"msg.CustomerId"
label=
"同业ID"
maxlength=
"20"
/>
</div>
</div>
<div
class=
"col-3"
>
<div
class=
"col-3"
>
<q-input
<q-input
@
input=
"resetSearch"
filled
clearable
v-model=
"msg.ContactNumber"
label=
"电话"
maxlength=
"20"
/>
@
input=
"resetSearch"
filled
clearable
v-model=
"msg.ContactNumber"
label=
"电话"
maxlength=
"20"
/>
</div>
</div>
<div
class=
"col-3"
>
<div
class=
"col-3"
>
<q-select
<q-select
@
input=
"resetSearch"
clearable
filled
v-model=
"msg.ApproveState"
:options=
"ApproveStateList"
@
input=
"resetSearch"
emit-value
map-options
label=
"审核状态"
/>
clearable
filled
v-model=
"msg.ApproveState"
:options=
"ApproveStateList"
emit-value
map-options
label=
"审核状态"
/>
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"page-content"
>
<div
class=
"page-content"
>
<div>
<div>
<q-tabs
<q-tabs
style=
"margin-bottom:20px;"
v-model=
"tabCheck"
@
input=
"resetSearch()"
narrow-indicator
dense
style=
"margin-bottom:20px;"
align=
"left"
class=
"text-primary"
>
v-model=
"tabCheck"
@
input=
"resetSearch()"
narrow-indicator
dense
align=
"left"
class=
"text-primary"
>
<q-tab
:ripple=
"false"
:name=
"1"
label=
"正式客户"
/>
<q-tab
:ripple=
"false"
:name=
"1"
label=
"正式客户"
/>
<q-tab
:ripple=
"false"
:name=
"2"
label=
"非正式客户"
/>
<q-tab
:ripple=
"false"
:name=
"2"
label=
"非正式客户"
/>
<q-tab
:ripple=
"false"
:name=
"3"
label=
"未通过客户"
/>
<q-tab
:ripple=
"false"
:name=
"3"
label=
"未通过客户"
/>
<q-tab
:ripple=
"false"
:name=
"4"
label=
"黑名单客户"
/>
<q-tab
:ripple=
"false"
:name=
"4"
label=
"黑名单客户"
/>
</q-tabs>
</q-tabs>
</div>
</div>
<b2bcustomlist
<b2bcustomlist
:dataList=
"dataList"
:authObj=
"authObj"
:loading=
"loading"
@
success=
"getList"
:dataList=
"dataList"
:visibleColumns=
"visibleColumns"
sticky=
"sticky-tow-column-table sticky-right-column-table"
></b2bcustomlist>
:authObj=
"authObj"
<q-pagination
class=
"full-width justify-end"
v-model=
"msg.pageIndex"
color=
"primary"
:max=
"pageCount"
:loading=
"loading"
:input=
"true"
@
input=
"changePage"
/>
@
success=
"getList"
: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"
/>
</div>
</div>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
{
GetCustomerPage_v2
,
RemoveCustomer
}
from
"../../api/sale/peemanagement"
;
import
{
import
b2bcustomlist
from
"../../components/sale/b2bcustomlist"
;
GetCustomerPage_v2
,
export
default
{
RemoveCustomer
}
from
"../../api/sale/peemanagement"
;
import
b2bcustomlist
from
"../../components/sale/b2bcustomlist"
;
export
default
{
meta
:
{
meta
:
{
title
:
"同行管理"
title
:
"同行管理"
},
},
...
@@ -129,11 +84,12 @@ export default {
...
@@ -129,11 +84,12 @@ export default {
"ApproveStateStr"
,
"ApproveStateStr"
,
"CreateByName"
,
"CreateByName"
,
"CreateTimeStr"
,
"CreateTimeStr"
,
"QQ"
,
"WeChatNo"
,
],
],
tabCheck
:
1
,
tabCheck
:
1
,
//审核状态列表
//审核状态列表
ApproveStateList
:
[
ApproveStateList
:
[{
{
label
:
"通过"
,
label
:
"通过"
,
value
:
"1"
value
:
"1"
},
},
...
@@ -180,8 +136,8 @@ export default {
...
@@ -180,8 +136,8 @@ export default {
});
});
}
}
}
}
};
};
</
script
>
</
script
>
<
style
lang=
"sass"
>
<
style
lang=
"sass"
>
@import
url('~assets/css/table.sass')
@import
url('~assets/css/table.sass')
</
style
>
</
style
>
\ No newline at end of file
src/pages/sale/b2bcustomerapprove.vue
View file @
b6cccc4c
<
style
>
<
style
>
.page-content
p
{
.page-content
p
{
margin
:
0
!important
;
margin
:
0
!important
;
}
}
.quetion_Title
{
.quetion_Title
{
background
:
transparent
!important
;
background
:
transparent
!important
;
text-overflow
:
ellipsis
;
text-overflow
:
ellipsis
;
overflow
:
hidden
;
overflow
:
hidden
;
white-space
:
nowrap
;
white-space
:
nowrap
;
width
:
400px
;
width
:
400px
;
}
}
</
style
>
</
style
>
<
template
>
<
template
>
<div
class=
"page-body"
>
<div
class=
"page-body"
>
<div
class=
"page-search row items-center"
>
<div
class=
"page-search row items-center"
>
<div
class=
"col row wrap q-mr-lg q-col-gutter-md"
>
<div
class=
"col row wrap q-mr-lg q-col-gutter-md"
>
<div
class=
"col-3"
>
<div
class=
"col-3"
>
<q-input
<q-input
@
input=
"resetSearch"
filled
clearable
v-model=
"msg.CustomerName"
label=
"客户名称"
maxlength=
"20"
/>
@
input=
"resetSearch"
filled
clearable
v-model=
"msg.CustomerName"
label=
"客户名称"
maxlength=
"20"
/>
</div>
</div>
<div
class=
"col-3"
>
<div
class=
"col-3"
>
<q-input
<q-input
@
input=
"resetSearch"
filled
clearable
v-model=
"msg.ContactNumber"
label=
"联系电话"
maxlength=
"20"
/>
@
input=
"resetSearch"
filled
clearable
v-model=
"msg.ContactNumber"
label=
"联系电话"
maxlength=
"20"
/>
</div>
</div>
<div
class=
"col-3"
>
<div
class=
"col-3"
>
<q-select
<q-select
@
input=
"resetSearch"
clearable
filled
v-model=
"msg.ApproveState"
:options=
"ApproveStateList"
@
input=
"resetSearch"
emit-value
map-options
label=
"审核状态"
/>
clearable
filled
v-model=
"msg.ApproveState"
:options=
"ApproveStateList"
emit-value
map-options
label=
"审核状态"
/>
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"page-content"
>
<div
class=
"page-content"
>
<b2bcustomlist
<b2bcustomlist
:dataList=
"dataList"
:authObj=
"authObj"
:loading=
"loading"
@
success=
"getList"
:dataList=
"dataList"
:visibleColumns=
"visibleColumns"
sticky=
"sticky-tow-column-table sticky-right-column-table"
></b2bcustomlist>
:authObj=
"authObj"
<q-pagination
class=
"full-width justify-end"
v-model=
"msg.pageIndex"
color=
"primary"
:max=
"pageCount"
:loading=
"loading"
:input=
"true"
@
input=
"changePage"
/>
@
success=
"getList"
: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"
/>
</div>
</div>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
{
GetCustomerPage
,
RemoveCustomer
}
from
"../../api/sale/peemanagement"
;
import
{
import
b2bcustomlist
from
"../../components/sale/b2bcustomlist"
;
GetCustomerPage
,
export
default
{
RemoveCustomer
}
from
"../../api/sale/peemanagement"
;
import
b2bcustomlist
from
"../../components/sale/b2bcustomlist"
;
export
default
{
meta
:
{
meta
:
{
title
:
"同行审批"
title
:
"同行审批"
},
},
...
@@ -104,11 +73,12 @@ export default {
...
@@ -104,11 +73,12 @@ export default {
"ApproveStateStr"
,
"ApproveStateStr"
,
"CreateByName"
,
"CreateByName"
,
"CreateTimeStr"
,
"CreateTimeStr"
,
"optioned"
"optioned"
,
"QQ"
,
"WeChatNo"
,
],
],
//审核状态列表
//审核状态列表
ApproveStateList
:
[
ApproveStateList
:
[{
{
label
:
"通过"
,
label
:
"通过"
,
value
:
"1"
value
:
"1"
},
},
...
@@ -155,8 +125,8 @@ export default {
...
@@ -155,8 +125,8 @@ export default {
});
});
}
}
}
}
};
};
</
script
>
</
script
>
<
style
lang=
"sass"
>
<
style
lang=
"sass"
>
@import
url('~assets/css/table.sass')
@import
url('~assets/css/table.sass')
</
style
>
</
style
>
\ No newline at end of file
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