|
@@ -63,7 +63,13 @@
|
|
|
<el-table-column prop='ReadWrite' label='读写' show-overflow-tooltip align='center'/>
|
|
|
<el-table-column prop='Meterfunc' label='整合ID' show-overflow-tooltip align='center'/>
|
|
|
<el-table-column prop='Description' label='点位描述' show-overflow-tooltip align='center'/>
|
|
|
- <el-table-column prop='Status' label='状态' show-overflow-tooltip align='center'/>
|
|
|
+ <el-table-column prop='Status' label='状态' show-overflow-tooltip align='center'>
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span v-if="scope.row.Status== 0">进行中</span>
|
|
|
+ <span v-if="scope.row.Status== 1">成功</span>
|
|
|
+ <span v-if="scope.row.Status== 2">失败</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
<el-table-column prop='Data' label='反馈值' show-overflow-tooltip align='center'/>
|
|
|
</el-table>
|
|
|
<!-- 分页 -->
|
|
@@ -170,11 +176,11 @@ export default {
|
|
|
//
|
|
|
// })
|
|
|
pointTest(list).then(res => {
|
|
|
- if (res.message === "failure") {
|
|
|
+ if (res.data.Result === "failure") {
|
|
|
this.$message.error('执行失败')
|
|
|
this.getSettingValue()
|
|
|
} else {
|
|
|
- this.tableDate = res.Content
|
|
|
+ this.tableDate = res.data.Content
|
|
|
}
|
|
|
});
|
|
|
},
|