Commit 59c6d81a authored by Administrator's avatar Administrator

工单列表

parent c359ae51
Pipeline #238 failed with stages
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
<span>{{ scope.row.endtime=='0-0-0 0:0' ? '' : scope.row.endtime | parseTime('{y}-{m}-{d} {h}:{i}') }}</span> <span>{{ scope.row.endtime=='0-0-0 0:0' ? '' : scope.row.endtime | parseTime('{y}-{m}-{d} {h}:{i}') }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="报警浓度" width="150"> <el-table-column label="报警浓度" width="80">
<template slot-scope="scope"> <template slot-scope="scope">
<span @click="handleCopy(scope.row.concentration,$event)">{{ scope.row.concentration }}</span> <span @click="handleCopy(scope.row.concentration,$event)">{{ scope.row.concentration }}</span>
</template> </template>
...@@ -34,12 +34,12 @@ ...@@ -34,12 +34,12 @@
<span @click="handleCopy(scope.row.location,$event)">{{ scope.row.location }}</span> <span @click="handleCopy(scope.row.location,$event)">{{ scope.row.location }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="报警类型" width="150"> <el-table-column label="报警类型" width="100">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ scope.row.status_name }}</span> <span>{{ scope.row.status_name }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="切断装置状态" width="150"> <el-table-column label="切断装置状态" width="100">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ shutoffStatus(scope.row.shutoff_status) }}</span> <span>{{ shutoffStatus(scope.row.shutoff_status) }}</span>
</template> </template>
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
<el-tag :type="scope.row.status==1 ? 'danger' : 'success' " effect="dark">{{ scope.row.status==1 ? '当前正在报警' : '已结束报警' }}</el-tag> <el-tag :type="scope.row.status==1 ? 'danger' : 'success' " effect="dark">{{ scope.row.status==1 ? '当前正在报警' : '已结束报警' }}</el-tag>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="操作"> <el-table-column label="操作" width="120">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button type="primary" effect="dark" @click="orderUsers(scope.row)">生成工单</el-button> <el-button type="primary" effect="dark" @click="orderUsers(scope.row)">生成工单</el-button>
</template> </template>
......
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