Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhichan
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋勇
zhichan
Commits
da67a106
Commit
da67a106
authored
Mar 18, 2020
by
刘泽奇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
123
parent
f76e2231
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
42 additions
and
12 deletions
+42
-12
channel-access/src/views/fqembed/companylist.vue
+42
-12
No files found.
channel-access/src/views/fqembed/companylist.vue
View file @
da67a106
...
...
@@ -105,7 +105,7 @@
<el-table-column
prop=
"statusName"
label=
"方案状态"
>
<template
slot-scope=
"scope"
>
<div
class=
"payment"
>
<div
:class=
"dotColor(
1
)"
></div>
<div
:class=
"dotColor(
scope.row.status
)"
></div>
<div>
{{
scope
.
row
.
statusName
}}
</div>
</div>
</
template
>
...
...
@@ -115,8 +115,11 @@
<div
class=
"handle"
>
<!-- 需要判断当前付款状态是否有作废 -->
<span
@
click=
"toDetails(scope.$index,scope.row)"
>
详情
</span>
<span>
|
</span>
<span>
作废
</span>
<span
v-show=
"scope.row.status == 'dqr'"
>
|
</span>
<span
@
click=
"invalid(scope.$index,scope.row)"
v-show=
"scope.row.status == 'dqr'"
>
作废
</span>
</div>
</
template
>
</el-table-column>
...
...
@@ -234,7 +237,7 @@
<el-table-column
prop=
"statusName"
label=
"方案状态"
width
>
<
template
slot-scope=
"scope"
>
<div
class=
"payment"
>
<div
:class=
"dotColor(
2
)"
></div>
<div
:class=
"dotColor(
scope.row.status
)"
></div>
<div>
{{
scope
.
row
.
statusName
}}
</div>
</div>
</
template
>
...
...
@@ -244,8 +247,11 @@
<div
class=
"handle"
>
<!-- 需要判断当前付款状态是否有作废 -->
<span
@
click=
"toDetails(scope.$index,scope.row)"
>
详情
</span>
<span>
|
</span>
<span>
作废
</span>
<span
v-show=
"scope.row.status == 'dqr'"
>
|
</span>
<span
v-show=
"scope.row.status == 'dqr'"
@
click=
"invalid(scope.$index,scope.row)"
>
作废
</span>
</div>
</
template
>
</el-table-column>
...
...
@@ -471,9 +477,7 @@ export default {
}
this
.
getListData
();
},
deleteRow
(
idx
,
row
)
{
console
.
log
(
idx
,
row
);
},
toDetails
(
idx
,
row
)
{
console
.
log
(
row
,
"////////////////////////////"
);
this
.
detailsNeedNo
=
row
.
needNo
;
...
...
@@ -484,6 +488,32 @@ export default {
this
.
cloudDetailDialog
=
true
;
}
},
invalid
(
idx
,
row
)
{
console
.
log
(
row
);
req
.
post
(
this
.
baseURL
,
{
actionType
:
"abolishProgramme"
,
actionBody
:
{
solutionNo
:
row
.
solutionNo
}
},
{
headers
:
{
token
:
"3260d5a2452441dd93ecc7ecb35f6dc0"
,
userpin
:
"7c00bdd9dde04c59a50a0a45788b9a59"
}
}
)
.
then
(
res
=>
{
console
.
log
(
res
.
data
);
if
(
res
.
data
.
status
==
0
)
{
location
.
reload
();
this
.
$message
(
"该方案已作废"
);
}
});
},
handleSizeChange
(
val
)
{
console
.
log
(
`每页
${
val
}
条`
);
},
...
...
@@ -495,13 +525,13 @@ export default {
},
dotColor
(
status
)
{
switch
(
status
)
{
case
1
:
case
'dqr'
:
return
`hold`
;
break
;
case
2
:
case
'ywc'
:
return
`done`
;
break
;
case
3
:
case
'yzf'
:
return
`cancellation`
;
break
;
}
...
...
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