mirror of
https://gitee.com/dromara/dbswitch.git
synced 2025-10-16 22:53:52 +00:00
!178 优化 任务管理-列表
* sync remote * 删除任务详情展示限制 * 调度时间 添加默认值 * Merge remote-tracking branch 'remote/master' * 更新dbswitch-admin/resources静态资源文件 * Merge remote-tracking branch 'origin/master' * 解决 【npm run build】 打包报错问题
This commit is contained in:
@@ -123,6 +123,7 @@
|
|||||||
min-width="10%"></el-table-column>
|
min-width="10%"></el-table-column>
|
||||||
<el-table-column prop="scheduleTime"
|
<el-table-column prop="scheduleTime"
|
||||||
label="调度时间"
|
label="调度时间"
|
||||||
|
:formatter="scheduleTimeFormat"
|
||||||
min-width="15%"></el-table-column>
|
min-width="15%"></el-table-column>
|
||||||
<el-table-column label="操作"
|
<el-table-column label="操作"
|
||||||
min-width="35%">
|
min-width="35%">
|
||||||
@@ -172,7 +173,6 @@
|
|||||||
<el-button size="small"
|
<el-button size="small"
|
||||||
type="success"
|
type="success"
|
||||||
icon="el-icon-document"
|
icon="el-icon-document"
|
||||||
v-if="scope.row.isPublished===true"
|
|
||||||
@click="handleDetail(scope.$index, scope.row)"
|
@click="handleDetail(scope.$index, scope.row)"
|
||||||
round>详情
|
round>详情
|
||||||
</el-button>
|
</el-button>
|
||||||
@@ -255,6 +255,12 @@ export default {
|
|||||||
return "已停止";
|
return "已停止";
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
scheduleTimeFormat (row, column) {
|
||||||
|
if (row.scheduleTime == null) {
|
||||||
|
return "--";
|
||||||
|
}
|
||||||
|
return row.scheduleTime;
|
||||||
|
},
|
||||||
stringFormatSchedule (row, column) {
|
stringFormatSchedule (row, column) {
|
||||||
if (row.scheduleMode == "MANUAL") {
|
if (row.scheduleMode == "MANUAL") {
|
||||||
return "手动";
|
return "手动";
|
||||||
|
Reference in New Issue
Block a user