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
2e89d142
Commit
2e89d142
authored
Nov 22, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
ab0f4c14
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
62 additions
and
7 deletions
+62
-7
peerManagement.vue
src/pages/sale/peerManagement.vue
+62
-7
No files found.
src/pages/sale/peerManagement.vue
View file @
2e89d142
...
...
@@ -17,8 +17,18 @@
<div
class=
"page-search row items-center"
>
<div
class=
"col row wrap q-mr-lg q-col-gutter-md"
>
<div
class=
"col-3"
>
<q-input
clearable
standout=
"bg-primary text-white"
v-model=
"msg.BankName"
label=
"输入关键字查找"
maxlength=
"20"
/>
<q-input
@
input=
"resetSearch"
clearable
standout=
"bg-primary text-white"
v-model=
"msg.CustomerName"
label=
"客户名称"
maxlength=
"20"
/>
</div>
<div
class=
"col-3"
>
<q-input
@
input=
"resetSearch"
clearable
standout=
"bg-primary text-white"
v-model=
"msg.ContactNumber"
label=
"联系电话"
maxlength=
"20"
/>
</div>
<div
class=
"col-3"
>
<q-select
@
input=
"resetSearch"
clearable
filled
v-model=
"msg.ApproveState"
:options=
"ApproveStateList"
emit-value
map-options
label=
"审核状态"
/>
</div>
</div>
</div>
<div
class=
"page-content"
>
...
...
@@ -43,11 +53,10 @@
<q-td
:props=
"props"
style=
"width:200px;"
>
<q-btn
flat
size=
"xs"
icon=
"edit"
color=
"accent"
style=
"font-weight:400"
label=
"编辑"
@
click=
"EditCustom(props.row)"
/>
<q-btn
flat
size=
"xs"
icon=
"edit"
color=
"accent"
style=
"font-weight:400"
label=
"客户审批"
@
click=
"AuditCustomer(props.row)"
/>
<q-btn
flat
size=
"xs"
icon=
"edit"
color=
"accent"
style=
"font-weight:400"
label=
"删除"
@
click=
"RemoveCustomer(props.row)"
/>
<q-btn
flat
size=
"xs"
v-if=
"props.row.ApproveState==0||props.row.ApproveState==2"
icon=
"edit"
color=
"accent"
style=
"font-weight:400"
label=
"客户审批"
@
click=
"AuditCustomer(props.row)"
/>
<q-btn
flat
size=
"xs"
v-if=
"props.row.ApproveState==0"
icon=
"edit"
color=
"accent"
style=
"font-weight:400"
label=
"删除"
@
click=
"RemoveCustomer(props.row)"
/>
</q-td>
</
template
>
</q-table>
...
...
@@ -80,7 +89,10 @@
pageIndex
:
1
,
pageSize
:
12
,
rowsPerPage
:
12
,
BankName
:
''
CustomerName
:
''
,
//客户名称
ContactNumber
:
""
,
//联系电话
ApproveState
:
""
,
//审核状态
CustomerState
:
""
,
//账号状态
},
loading
:
false
,
isShowCustomForm
:
false
,
...
...
@@ -105,6 +117,18 @@
field
:
'Account'
,
align
:
'left'
},
{
name
:
'CustomerStateStr'
,
label
:
'账号状态'
,
field
:
'CustomerStateStr'
,
align
:
'left'
},
{
name
:
'ApproveStateStr'
,
label
:
'审核状态'
,
field
:
'ApproveStateStr'
,
align
:
'left'
},
{
name
:
'CreateByName'
,
label
:
'创建人'
,
...
...
@@ -123,6 +147,32 @@
field
:
'QuestionId'
}
],
//审核状态列表
ApproveStateList
:
[{
label
:
"通过"
,
value
:
"1"
,
},
{
label
:
"拒绝"
,
value
:
"2"
,
},
],
//账号状态
accountStateList
:
[{
label
:
"正常"
,
value
:
"1"
,
},
{
label
:
"禁用"
,
value
:
"2"
,
},
{
label
:
"删除"
,
value
:
"3"
,
},
{
label
:
"未激活"
,
value
:
"4"
,
}
],
dataList
:
[],
}
},
...
...
@@ -131,6 +181,11 @@
this
.
getList
();
},
methods
:
{
//重新查询
resetSearch
()
{
this
.
msg
.
pageIndex
=
1
;
this
.
getList
();
},
//翻页
changePage
(
val
)
{
this
.
msg
.
pageIndex
=
val
;
...
...
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