|
@@ -6,6 +6,7 @@
|
|
|
<th>序号</th>
|
|
|
<th>校验内容</th>
|
|
|
<th>执行结果</th>
|
|
|
+ <th>校验结果</th>
|
|
|
<th>操作</th>
|
|
|
</tr>
|
|
|
<tr v-for="(citem, cindex) in checkItemInfo" :key="cindex">
|
|
@@ -19,6 +20,7 @@
|
|
|
:max="1000"
|
|
|
></InputNumber>
|
|
|
</td>
|
|
|
+ <td>{{ TASK_STATUS[citem.status] }}</td>
|
|
|
<td>
|
|
|
<span :class="{ 'color-error': !citem.result }">{{
|
|
|
resultStr(citem.result)
|
|
@@ -29,7 +31,7 @@
|
|
|
size="small"
|
|
|
type="primary"
|
|
|
:loading="loading"
|
|
|
- :disabled="citem.status && citem.status !== 'FINISH'"
|
|
|
+ :disabled="citem.status === 'RUNNING'"
|
|
|
@click="submit(citem)"
|
|
|
>开始</Button
|
|
|
>
|
|
@@ -77,7 +79,12 @@ export default {
|
|
|
paramCheckItems: ["LEVEL_DIFF", "SCORE_DIFF"],
|
|
|
loading: false,
|
|
|
fetching: false,
|
|
|
- curCheckItemContent: []
|
|
|
+ curCheckItemContent: [],
|
|
|
+ TASK_STATUS: {
|
|
|
+ INIT: "未开始",
|
|
|
+ RUNNING: "执行中",
|
|
|
+ FINISH: "已完成"
|
|
|
+ }
|
|
|
};
|
|
|
},
|
|
|
created() {
|
|
@@ -108,7 +115,7 @@ export default {
|
|
|
checkItem: item,
|
|
|
desc: checkItemDesc[item],
|
|
|
paramValue: null,
|
|
|
- status: null,
|
|
|
+ status: "INIT",
|
|
|
result: null,
|
|
|
errorCount: 0,
|
|
|
content: null
|