|
@@ -15,10 +15,10 @@
|
|
<span>{{ row.planEndTime ? row.planEndTime : '' }}</span>
|
|
<span>{{ row.planEndTime ? row.planEndTime : '' }}</span>
|
|
</template>
|
|
</template>
|
|
<template #action="{ row, index }">
|
|
<template #action="{ row, index }">
|
|
- <el-button size="small" type="primary" :disabled="row.startOrStop == 1 || row.startOrStop == 0" @click="openPlanModalShow(row)">
|
|
|
|
|
|
+ <el-button size="small" type="primary" :disabled="row.startOrStop == 1 || row.startOrStop == 0 || overPlan" @click="openPlanModalShow(row)">
|
|
开启
|
|
开启
|
|
</el-button>
|
|
</el-button>
|
|
- <el-button size="small" type="danger" :disabled="row.startOrStop == 2 || row.startOrStop == 0" @click="pausePlanModalShow(row)">
|
|
|
|
|
|
+ <el-button size="small" type="danger" :disabled="row.startOrStop == 2 || row.startOrStop == 0 || overPlan" @click="pausePlanModalShow(row)">
|
|
暂停
|
|
暂停
|
|
</el-button>
|
|
</el-button>
|
|
</template>
|
|
</template>
|