Browse Source

优化

master
blankk 2 years ago
parent
commit
53f8da7d0e
  1. 4
      src/views/basic/station/index.vue

4
src/views/basic/station/index.vue

@ -73,7 +73,9 @@
<el-table-column label="保证水位" align="center" prop="bzsw" /> <el-table-column label="保证水位" align="center" prop="bzsw" />
<el-table-column label="测站状态" align="center" prop="status"> <el-table-column label="测站状态" align="center" prop="status">
<template slot-scope="scope"> <template slot-scope="scope">
<dict-tag :options="stationStatusList" :value="scope.row.status"/> <el-tag v-if="scope.row.status == '0'">正常</el-tag>
<el-tag type="warning" v-if="scope.row.status == '1'">信道故障</el-tag>
<el-tag type="danger" v-if="scope.row.status == '5'">站点关闭</el-tag>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="操作" align="center" class-name="small-padding fixed-width"> <el-table-column label="操作" align="center" class-name="small-padding fixed-width">

Loading…
Cancel
Save