@@ -412,24 +388,55 @@ export default {
)
} else {
return (
-
- this.viewDetail(
- row.id,
- row.nuclearCoreName,
- 1,
- row.nuclearStationName,
- row.operatorName,
- row.canUpload,
- )
- }
- class={
- row.canUpload
- ? 'start_table_btn disable_table_btn'
- : 'start_table_btn'
- }
- >
- 查看详情
+
+ {row.status == 2 && this.role == 'ROLE_USER' ? (
+
this.startTask(row, row.nuclearCoreName)}
+ >
+ 继续任务
+
+ ) : null}
+ {row.status == 0 && this.role == 'ROLE_USER' ? (
+
+ this.startTask(
+ row,
+ row.nuclearCoreName,
+ 1,
+ row.canUpload,
+ )
+ }
+ >
+ 开始任务
+
+ ) : null}
+
+ this.viewDetail(
+ row.id,
+ row.nuclearCoreName,
+ 1,
+ row.nuclearStationName,
+ row.operatorName,
+ row.canUpload,
+ )
+ }
+ class={
+ row.canUpload
+ ? 'start_table_btn disable_table_btn'
+ : 'start_table_btn'
+ }
+ >
+ 查看详情
+
)
}
diff --git a/src/pages/index.vue b/src/pages/index.vue
index aa4d12d..2a555c0 100644
--- a/src/pages/index.vue
+++ b/src/pages/index.vue
@@ -1015,7 +1015,7 @@ initWebSocket()
align-items: center;
justify-content: space-between;
.progress_btn {
- padding: 25px 24px 18px 0;
+ padding: 25px 24px 18px 24px;
box-sizing: border-box;
border-radius: 6px;
background: #ffffff;