|
@@ -34,14 +34,15 @@
|
|
|
<el-table-column type="index" width="30" />
|
|
|
<el-table-column label="脚本名称">
|
|
|
<template #default="scope">
|
|
|
- <el-button v-if="scope.row.scriptName !==''" type="warning" round>
|
|
|
+ <!-- <el-button v-if="scope.row.scriptName !==''" type="warning" round>
|
|
|
{{ scope.row.scriptName}}
|
|
|
- </el-button>
|
|
|
+ </el-button> -->
|
|
|
+ <el-tag type="primary">{{ scope.row.scriptName}}</el-tag>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column align="right">
|
|
|
<template #default="scope">
|
|
|
- <el-button type="primary" :disabled="btnloading" @click="handleRun(scope.$index)">运行
|
|
|
+ <el-button :disabled="btnloading" @click="handleRun(scope.$index)">运行
|
|
|
</el-button>
|
|
|
<el-button type="danger" @click="handleDeleteList(scope.$index)">删除
|
|
|
</el-button>
|
|
@@ -52,7 +53,7 @@
|
|
|
|
|
|
<div class="listTop listBot warn-table">
|
|
|
<p class="tableTit">每天运行一次</p>
|
|
|
- <el-table :data="tableData4" :height="listHeight">
|
|
|
+ <el-table :data="tableData4" :max-height="listHeight">
|
|
|
<el-table-column label="时间" width="300">
|
|
|
<template #default="scope">
|
|
|
<el-time-select v-model="scope.row.time" start="00:05" step="00:05" end="23:55"
|
|
@@ -61,16 +62,17 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column label="脚本名称">
|
|
|
<template #default="scope">
|
|
|
- <el-button v-if="scope.row.scriptName !==''" type="warning" round>
|
|
|
+ <!-- <el-button v-if="scope.row.scriptName !==''" type="warning" round>
|
|
|
{{ scope.row.scriptName}}
|
|
|
- </el-button>
|
|
|
+ </el-button> -->
|
|
|
+ <el-tag type="primary">{{ scope.row.scriptName}}</el-tag>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column align="right">
|
|
|
<template #default="scope">
|
|
|
- <el-button type="primary" v-if="!scope.row.isRunning" @click="dayRun(scope.row)">运行
|
|
|
+ <el-button v-if="!scope.row.isRunning" @click="dayRun(scope.row)">运行
|
|
|
</el-button>
|
|
|
- <el-button type="primary" v-else disabled>运行中
|
|
|
+ <el-button v-else disabled>运行中
|
|
|
</el-button>
|
|
|
<el-button type="danger" @click="handleDeleteDayRun(scope.$index, scope.row)">删除
|
|
|
</el-button>
|