|
@@ -154,21 +154,21 @@
|
|
|
v-if="
|
|
|
isAuth('work:clt:complete') &&
|
|
|
Number(scope.row.state) === 2 &&
|
|
|
- (scope.row.nodeType == null ||
|
|
|
- scope.row.nodeType === 'start' ||
|
|
|
- scope.row.nodeType === 'produce')
|
|
|
+ (scope.row.taskType == null ||
|
|
|
+ scope.row.taskType === 'start' ||
|
|
|
+ scope.row.taskType === 'produce')
|
|
|
"
|
|
|
type="text"
|
|
|
size="small"
|
|
|
@click="completeTask(scope.row.taskId)"
|
|
|
- >完成</el-button
|
|
|
+ >报工</el-button
|
|
|
>
|
|
|
<el-button
|
|
|
v-if="
|
|
|
isAuth('work:clt:check') &&
|
|
|
Number(scope.row.state) === 2 &&
|
|
|
- (scope.row.nodeType === 'check' ||
|
|
|
- scope.row.nodeType === 't-check')
|
|
|
+ (scope.row.taskType === 'check' ||
|
|
|
+ scope.row.taskType === 't-check')
|
|
|
"
|
|
|
type="text"
|
|
|
size="small"
|
|
@@ -179,8 +179,8 @@
|
|
|
v-if="
|
|
|
isAuth('work:clt:check') &&
|
|
|
Number(scope.row.state) === 2 &&
|
|
|
- (scope.row.nodeType === 'check' ||
|
|
|
- scope.row.nodeType === 't-check')
|
|
|
+ (scope.row.taskType === 'check' ||
|
|
|
+ scope.row.taskType === 't-check')
|
|
|
"
|
|
|
type="text"
|
|
|
size="small"
|
|
@@ -191,7 +191,7 @@
|
|
|
v-if="
|
|
|
isAuth('work:clt:damage') &&
|
|
|
Number(scope.row.state) === 2 &&
|
|
|
- (scope.row.nodeType == null || scope.row.nodeType === 'produce')
|
|
|
+ (scope.row.taskType == null || scope.row.taskType === 'produce')
|
|
|
"
|
|
|
type="text"
|
|
|
size="small"
|