Commit 4ff4411a authored by wanghao's avatar wanghao

1 实时数据界面调整

parent acd26f42
...@@ -82,8 +82,8 @@ ...@@ -82,8 +82,8 @@
</el-table-column> </el-table-column>
<el-table-column label="写时间状态" align="center" prop="writeTimeStatus" width="100px" > <el-table-column label="写时间状态" align="center" prop="writeTimeStatus" width="100px" >
<template slot-scope="scope"> <template slot-scope="scope">
<el-tag type="info" v-if="scope.row.writeTimeStatus === '0'">异常</el-tag> <el-tag type="info" v-if="scope.row.writeTimeStatus === '0'">失败</el-tag>
<el-tag type="success" v-if="scope.row.writeTimeStatus === '1'">正常</el-tag> <el-tag type="success" v-if="scope.row.writeTimeStatus === '1'">成功</el-tag>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="运行时间状态" align="center" prop="runTimeStatus" width="110px"> <el-table-column label="运行时间状态" align="center" prop="runTimeStatus" width="110px">
......
...@@ -89,14 +89,14 @@ ...@@ -89,14 +89,14 @@
<el-table-column label="写时间状态" align="center" width="150"> <el-table-column label="写时间状态" align="center" width="150">
<template slot-scope="scope"> <template slot-scope="scope">
<span v-if="scope.row.writeTimeStatus === '1'" class="write-success">成功</span> <span v-if="scope.row.writeTimeStatus === '1'" class="write-success">成功</span>
<span v-if="scope.row.writeTimeStatus === '0'" class="write-failed">失败</span> <span v-else-if="scope.row.writeTimeStatus === '0'" class="write-failed">失败</span>
<span v-else class="write-unknown">-</span> <span v-else class="write-unknown">-</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="时间运行状态" align="center" width="150"> <el-table-column label="时间运行状态" align="center" width="150">
<template slot-scope="scope"> <template slot-scope="scope">
<span v-if="scope.row.runTimeStatus === '1'" class="write-success">正常</span> <span v-if="scope.row.runTimeStatus === '1'" class="write-success">正常</span>
<span v-if="scope.row.runTimeStatus === '0'" class="write-failed">异常</span> <span v-else-if="scope.row.runTimeStatus === '0'" class="write-failed">异常</span>
<span v-else class="write-unknown">-</span> <span v-else class="write-unknown">-</span>
</template> </template>
</el-table-column> </el-table-column>
...@@ -113,7 +113,7 @@ ...@@ -113,7 +113,7 @@
<el-table-column label="实时AD状态" align="center" width="150"> <el-table-column label="实时AD状态" align="center" width="150">
<template slot-scope="scope"> <template slot-scope="scope">
<span v-if="scope.row.realTimeStatus === '1'" class="write-success">正常</span> <span v-if="scope.row.realTimeStatus === '1'" class="write-success">正常</span>
<span v-if="scope.row.realTimeStatus === '0'" class="write-failed">异常</span> <span v-else-if="scope.row.realTimeStatus === '0'" class="write-failed">异常</span>
<span v-else class="write-unknown">-</span> <span v-else class="write-unknown">-</span>
</template> </template>
</el-table-column> </el-table-column>
...@@ -125,7 +125,7 @@ ...@@ -125,7 +125,7 @@
<el-table-column label="零点AD状态" align="center" width="150"> <el-table-column label="零点AD状态" align="center" width="150">
<template slot-scope="scope"> <template slot-scope="scope">
<span v-if="scope.row.zeroStatus === '1'" class="write-success">正常</span> <span v-if="scope.row.zeroStatus === '1'" class="write-success">正常</span>
<span v-if="scope.row.zeroStatus === '0'" class="write-failed">异常</span> <span v-else-if="scope.row.zeroStatus === '0'" class="write-failed">异常</span>
<span v-else class="write-unknown">-</span> <span v-else class="write-unknown">-</span>
</template> </template>
</el-table-column> </el-table-column>
...@@ -137,7 +137,7 @@ ...@@ -137,7 +137,7 @@
<el-table-column label="校准AD状态" align="center" width="120"> <el-table-column label="校准AD状态" align="center" width="120">
<template slot-scope="scope"> <template slot-scope="scope">
<span v-if="scope.row.calibrationAdStatus === '1'" class="write-success">正常</span> <span v-if="scope.row.calibrationAdStatus === '1'" class="write-success">正常</span>
<span v-if="scope.row.calibrationAdStatus === '0'" class="write-failed">异常</span> <span v-else-if="scope.row.calibrationAdStatus === '0'" class="write-failed">异常</span>
<span v-else class="write-unknown">-</span> <span v-else class="write-unknown">-</span>
</template> </template>
</el-table-column> </el-table-column>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment