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
cb0abf51
Commit
cb0abf51
authored
Nov 26, 2021
by
zhengke
Browse files
Options
Browse Files
Download
Plain Diff
1
parents
341a4d32
115540f8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
22 deletions
+19
-22
custom-form.vue
src/components/sale/custom-form.vue
+19
-20
peerManagement.vue
src/pages/sale/peerManagement.vue
+0
-2
No files found.
src/components/sale/custom-form.vue
View file @
cb0abf51
<
style
lang=
"scss"
>
.customform
.q-table__bottom
{
min-height
:
0
;
}
.customform
.q-table__bottom
{
min-height
:
0
;
}
</
style
>
<
template
>
<div
class=
"customform"
>
...
...
@@ -16,30 +16,30 @@
</
template
>
<
template
v-slot:body-cell-CustomerState=
"props"
>
<q-td>
<q-chip
color=
"teal"
text-color=
"white"
size=
"sm"
v-if=
"props.row.CustomerState==1"
>
{{
props
.
row
.
CustomerStateStr
}}
</q-chip>
<q-chip
color=
"red"
text-color=
"white"
size=
"sm"
v-else
>
{{
props
.
row
.
CustomerStateStr
}}
</q-chip>
<q-chip
color=
"teal"
text-color=
"white"
size=
"sm"
v-if=
"props.row.CustomerState==1"
>
{{
props
.
row
.
CustomerStateStr
}}
</q-chip>
<q-chip
color=
"red"
text-color=
"white"
size=
"sm"
v-else
>
{{
props
.
row
.
CustomerStateStr
}}
</q-chip>
</q-td>
</
template
>
<
template
v-slot:body-cell-ApproveState=
"props"
>
<q-td>
<q-chip
color=
"teal"
text-color=
"white"
size=
"sm"
v-if=
"props.row.ApproveState==1"
>
{{
props
.
row
.
ApproveStateStr
}}
</q-chip>
<q-chip
color=
"red"
text-color=
"white"
size=
"sm"
v-else
>
{{
props
.
row
.
ApproveStateStr
}}
</q-chip>
<q-chip
color=
"teal"
text-color=
"white"
size=
"sm"
v-if=
"props.row.ApproveState==1"
>
{{
props
.
row
.
ApproveStateStr
}}
</q-chip>
<q-chip
color=
"red"
text-color=
"white"
size=
"sm"
v-else
>
{{
props
.
row
.
ApproveStateStr
}}
</q-chip>
</q-td>
</
template
>
<
template
v-slot:body-cell-optioned=
"props"
>
<q-td
:props=
"props"
style=
"width:200px;"
>
<q-btn
flat
size=
"xs"
icon=
"edit"
v-if=
"authObj.isShowEdit"
color=
"accent"
style=
"font-weight:400"
label=
"编辑"
@
click=
"EditCustom(props.row)"
/>
<q-btn
flat
v-if=
"(props.row.ApproveState==0||props.row.ApproveState==2)&&!authObj.isShowEdit"
size=
"xs"
icon=
"edit"
color=
"accent"
style=
"font-weight:400"
label=
"客户审批"
@
click=
"AuditCustomer(props.row,1)"
/>
<q-btn
flat
v-if=
"(props.row.ApproveState==0||props.row.ApproveState==2)&&!authObj.isShowEdit"
size=
"xs"
icon=
"edit"
color=
"accent"
style=
"font-weight:400"
label=
"客户审批"
@
click=
"AuditCustomer(props.row,1)"
/>
<q-btn
flat
v-if=
"props.row.ApproveState==1"
size=
"xs"
icon=
"iconfont icon-View"
color=
"accent"
style=
"font-weight:400"
label=
"查看"
@
click=
"AuditCustomer(props.row,2)"
/>
<q-btn
flat
v-if=
"props.row.ApproveState==0"
size=
"xs"
icon=
"delete"
color=
"negative"
style=
"font-weight:400"
...
...
@@ -51,7 +51,7 @@
</q-td>
</
template
>
<
template
v-slot:bottom
>
<div></div>
<div></div>
</
template
>
</q-table>
<perCustomer-form
v-if=
"isShowCustomForm"
:customerObj=
"customerObj"
@
close=
"closeCustomForm"
...
...
@@ -219,5 +219,4 @@
},
}
}
</
script
>
</
script
>
\ No newline at end of file
src/pages/sale/peerManagement.vue
View file @
cb0abf51
...
...
@@ -28,7 +28,6 @@
<q-select
@
input=
"resetSearch"
clearable
filled
v-model=
"msg.ApproveState"
:options=
"ApproveStateList"
emit-value
map-options
label=
"审核状态"
/>
</div>
</div>
</div>
<div
class=
"page-content"
>
...
...
@@ -73,7 +72,6 @@
},
loading
:
false
,
tabCheck
:
1
,
//审核状态列表
ApproveStateList
:
[{
label
:
"通过"
,
...
...
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