单站监控 站点首页、故障告警页面新增工单按钮 点击跳转到工单列表页面
This commit is contained in:
@ -45,6 +45,14 @@
|
||||
prop="alarmContent"
|
||||
label="告警内容">
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
label="工单"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<el-button type="text" v-if="scope.row.ticketNo" @click="toTicket">已生成工单(工单号:{{scope.row.ticketNo}})</el-button>
|
||||
<el-button type="primary" size="mini" v-else @click="toTicket">生成工单</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
</div>
|
||||
</el-card>
|
||||
@ -92,6 +100,9 @@ export default {
|
||||
}
|
||||
},
|
||||
methods:{
|
||||
toTicket(){
|
||||
this.$router.push({path:'/ticket'})
|
||||
},
|
||||
init(){
|
||||
this.loading = true
|
||||
getDzjkHomeView(this.siteId).then(response => {
|
||||
|
||||
Reference in New Issue
Block a user