|
@@ -297,6 +297,7 @@ import {
|
|
|
collectTbAlarm,
|
|
|
} from "@/api/business/OM/eventCenter";
|
|
|
import { listChannel } from "@/api/system/product";
|
|
|
+import { getWorkOrder } from "@/api/business/OM/workMange";
|
|
|
import index1 from "@/views/components/fireInternetInfo/index1";
|
|
|
import index2 from "@/views/components/fireInternetInfo/index2";
|
|
|
import { BASEPATH } from "@/assets/js/common.js";
|
|
@@ -336,6 +337,7 @@ export default {
|
|
|
size: 10,
|
|
|
companyCode: undefined,
|
|
|
status: undefined,
|
|
|
+ type:2,
|
|
|
},
|
|
|
queryParams2: {
|
|
|
type: 2,
|
|
@@ -467,17 +469,17 @@ export default {
|
|
|
getOne(row) {
|
|
|
this.title = "详情信息";
|
|
|
this.form = JSON.parse(JSON.stringify(row));
|
|
|
-
|
|
|
- if (row.isAlarm === true) {
|
|
|
- this.form.isAlarm = '是';
|
|
|
- } else {
|
|
|
- this.form.isAlarm = '否';
|
|
|
- }
|
|
|
- if (row.alarmStatus == '0') {
|
|
|
- this.form.alarmStatus = '未处理';
|
|
|
- } else {
|
|
|
- this.form.alarmStatus = '已处理';
|
|
|
- }
|
|
|
+ getWorkOrder({"id":row.workId,size:1,current:1}).then(res=>{
|
|
|
+ if(res.data.records.length>0){
|
|
|
+ let data = res.data.records[0]
|
|
|
+ this.form.checkContent = data.clnr
|
|
|
+ this.form.updateBy = data.czPeople
|
|
|
+ this.form.updateTime = data.czTime
|
|
|
+ this.form.isAlarm = data.clzt == '1' ? '否' : '是'
|
|
|
+ this.form.alarmStatus = data.clzt == '0' ? "未处理" : data.clzt == '1' ? "已处理:通过" : "已处理:未通过"
|
|
|
+ }
|
|
|
+ this.open = true;
|
|
|
+ })
|
|
|
this.open = true;
|
|
|
},
|
|
|
// 取消按钮
|