|
@@ -58,7 +58,7 @@
|
|
|
>
|
|
|
<template slot-scope="scope">
|
|
|
<span>{{
|
|
|
- rankTypeOption.findIndex((t) => t.value == scope.row.ranks) > -1
|
|
|
+ rankTypeOption.findIndex((t) => t.value == scope.row.ranks) > -1
|
|
|
? rankTypeOption.find((t) => t.value == scope.row.ranks).label
|
|
|
: ''
|
|
|
}}</span>
|
|
@@ -74,7 +74,7 @@
|
|
|
>
|
|
|
<template slot-scope="scope">
|
|
|
<span>{{
|
|
|
- taskTypeOption.findIndex((t) => t.value == scope.row.taskType) > -1
|
|
|
+ taskTypeOption.findIndex((t) => t.value == scope.row.taskType) > -1
|
|
|
? taskTypeOption.find((t) => t.value == scope.row.taskType).label
|
|
|
: ''
|
|
|
}}</span>
|
|
@@ -146,7 +146,7 @@
|
|
|
>
|
|
|
<template slot-scope="scope">
|
|
|
<span>{{
|
|
|
- nodeStateOption.findIndex((t) => t.value == scope.row.state) > -1
|
|
|
+ nodeStateOption.findIndex((t) => t.value == scope.row.state) > -1
|
|
|
? nodeStateOption.find((t) => t.value == scope.row.state).label
|
|
|
: ''
|
|
|
}}</span>
|
|
@@ -229,7 +229,7 @@
|
|
|
@click="showDetail(scope.row.taskId)"
|
|
|
>查看</el-button>
|
|
|
<el-button
|
|
|
- v-if="isAuth('work:clt:start')"
|
|
|
+ v-if="isAuth('work:clt:start') && Number(scope.row.state) < 2"
|
|
|
type="text"
|
|
|
size="small"
|
|
|
@click="addOrUpdateHandle(scope.row.taskId, scope.row)"
|
|
@@ -345,4 +345,4 @@ export default {
|
|
|
|
|
|
<style>
|
|
|
|
|
|
-</style>
|
|
|
+</style>
|