提交 d82f121c authored 作者: taojinlong's avatar taojinlong

refactor: 任务状态字体颜色调整

上级 1915f1f0
...@@ -225,8 +225,8 @@ ...@@ -225,8 +225,8 @@
<span v-if="scope.row.status === 'Underway'" style="color: green"> <span v-if="scope.row.status === 'Underway'" style="color: green">
<el-link type="success" style="font-size: 12px" @click="changeTaskStatus(scope.row)">{{ $t('dataset.task.underway') }}</el-link> <el-link type="success" style="font-size: 12px" @click="changeTaskStatus(scope.row)">{{ $t('dataset.task.underway') }}</el-link>
</span> </span>
<span v-if="scope.row.status === 'Stopped'" style="color: red"> <span v-if="scope.row.status === 'Stopped'">
<div type="danger" style="font-size: 12px">{{ $t('dataset.task.stopped') }}</div> <div style="font-size: 12px">{{ $t('dataset.task.stopped') }}</div>
</span> </span>
<span v-if="scope.row.status === 'Pending'" class="blue-color"> <span v-if="scope.row.status === 'Pending'" class="blue-color">
<el-link type="primary" style="font-size: 12px" @click="changeTaskStatus(scope.row)">{{ $t('dataset.task.pending') }}</el-link> <el-link type="primary" style="font-size: 12px" @click="changeTaskStatus(scope.row)">{{ $t('dataset.task.pending') }}</el-link>
......
...@@ -60,8 +60,8 @@ ...@@ -60,8 +60,8 @@
<span v-if="scope.row.status === 'Underway'" style="color: green"> <span v-if="scope.row.status === 'Underway'" style="color: green">
<el-link type="success" style="font-size: 12px" @click="changeTaskStatus(scope.row)">{{ $t('dataset.task.underway') }}</el-link> <el-link type="success" style="font-size: 12px" @click="changeTaskStatus(scope.row)">{{ $t('dataset.task.underway') }}</el-link>
</span> </span>
<span v-if="scope.row.status === 'Stopped'" style="color: red"> <span v-if="scope.row.status === 'Stopped'" >
<div type="danger" style="font-size: 12px">{{ $t('dataset.task.stopped') }}</div> <div style="font-size: 12px">{{ $t('dataset.task.stopped') }}</div>
</span> </span>
<span v-if="scope.row.status === 'Pending'" class="blue-color"> <span v-if="scope.row.status === 'Pending'" class="blue-color">
<el-link type="primary" style="font-size: 12px" @click="changeTaskStatus(scope.row)">{{ $t('dataset.task.pending') }}</el-link> <el-link type="primary" style="font-size: 12px" @click="changeTaskStatus(scope.row)">{{ $t('dataset.task.pending') }}</el-link>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论