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
2282b0af
Commit
2282b0af
authored
Nov 22, 2021
by
zhengke
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/confucius
parents
fcc8dee0
56953d01
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
16 deletions
+14
-16
peerManagement.vue
src/pages/sale/peerManagement.vue
+14
-16
No files found.
src/pages/sale/peerManagement.vue
View file @
2282b0af
...
...
@@ -31,7 +31,6 @@
</q-tabs>
<div>
<q-btn
color=
"accent"
size=
"sm"
class=
"q-mr-md"
icon=
"add"
@
click=
"EditCustom(null)"
label=
"新增客户"
/>
<q-btn
color=
"accent"
size=
"sm"
class=
"q-mr-md"
icon=
"add"
@
click=
"EditRight(null)"
label=
"右侧"
/>
</div>
</div>
<q-table
:pagination=
"msg"
:loading=
"loading"
no-data-label=
"暂无相关数据"
flat
class=
"sticky-column-table"
...
...
@@ -42,16 +41,17 @@
</
template
>
<
template
v-slot:body-cell-optioned=
"props"
>
<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=
"EditCustom(props.row)"
/>
<q-btn
flat
size=
"xs"
icon=
"edit"
color=
"accent"
style=
"font-weight:400"
label=
"客户审批"
@
click=
"AuditCustomer(props.row)"
/>
</q-td>
</
template
>
</q-table>
<perCustomer-form
v-if=
"isShowCustomForm"
:customerObj=
"customerObj"
@
close=
"closeCustomForm"
@
success=
"refreshQuestion"
>
</perCustomer-form>
<customRight-form
v-if=
"isShowRightForm"
@
close=
"closeRight
Form"
></customRight-form>
<customRight-form
v-if=
"isShowRightForm"
:customerObj=
"customerObj"
@
close=
"closeCustom
Form"
></customRight-form>
</div>
</div>
</template>
...
...
@@ -137,10 +137,11 @@
//关闭弹窗
closeCustomForm
()
{
this
.
isShowCustomForm
=
false
;
this
.
isShowRightForm
=
false
;
},
//新增或者修改
EditCustom
(
obj
)
{
console
.
log
(
"Edit"
,
obj
)
if
(
obj
)
{
this
.
customerObj
=
obj
}
else
{
...
...
@@ -149,20 +150,17 @@
this
.
isShowCustomForm
=
true
},
//客户审核
AuditCustomer
(
obj
)
{
AuditCustomer
(
obj
)
{
if
(
obj
)
{
this
.
customerObj
=
obj
}
else
{
this
.
customerObj
=
null
}
this
.
isShowRightForm
=
true
},
refreshQuestion
()
{
this
.
getList
()
},
EditRight
(
obj
)
{
this
.
isShowRightForm
=
true
;
},
//关闭弹窗
closeRightForm
()
{
this
.
isShowRightForm
=
false
;
},
//获取分页数据
getList
()
{
GetCustomerPage
(
this
.
msg
).
then
(
res
=>
{
...
...
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