|
@@ -2042,7 +2042,7 @@ import {
|
|
|
userFeginlist,
|
|
|
eventExamine,
|
|
|
eventHandling,
|
|
|
- initByCameras, uploadBase64_direct,
|
|
|
+ initByCameras, uploadBase64_direct, sendTask_direct, updateCentereventTEventcatalogueStatus_direct,
|
|
|
} from "@/api/forest";
|
|
|
import { joinConferences } from "@/api/meeting";
|
|
|
import { treeselectAll as deptTreeselect } from "@/api/system/dept";
|
|
@@ -2343,7 +2343,6 @@ export default {
|
|
|
},
|
|
|
// 获取消防左侧菜单列表
|
|
|
fireControlViewList() {
|
|
|
- console.log(11111)
|
|
|
this.resourcesList = [];
|
|
|
let _this = this;
|
|
|
fireControlViewList("xiaofang").then(function (res) {
|
|
@@ -2648,7 +2647,7 @@ export default {
|
|
|
this.$refs.bottomMenu.showChangChild = false
|
|
|
},
|
|
|
showUpdateYjYuAn() {
|
|
|
- listYuAn().then((res) => {
|
|
|
+ listYuAn({}).then((res) => {
|
|
|
//关联预案列表
|
|
|
if (res.code == 200) {
|
|
|
this.guanLianYuAnList = res.data;
|
|
@@ -3334,7 +3333,7 @@ export default {
|
|
|
eventState: eventState,
|
|
|
eventName: that.eventName,
|
|
|
};
|
|
|
- sendTask(param).then((res) => {
|
|
|
+ sendTask_direct(param).then((res) => {
|
|
|
if (res.code == 200) {
|
|
|
that.$message.success(`联动发起成功!`);
|
|
|
that.refreshEventDialog(that.eventCode);
|
|
@@ -3399,7 +3398,7 @@ export default {
|
|
|
},
|
|
|
array: that.regionalFlagObj.array,
|
|
|
};
|
|
|
- updateCentereventTEventcatalogueStatus(param).then((res) => {
|
|
|
+ updateCentereventTEventcatalogueStatus_direct(param).then((res) => {
|
|
|
if (res.code == 200) {
|
|
|
that.$message.success(`处理成功!`);
|
|
|
that.refreshEvent(that.eventCode);
|
|
@@ -3525,13 +3524,17 @@ export default {
|
|
|
eventType: that.sendEventType,
|
|
|
id: that.eventId,
|
|
|
czlx: "",
|
|
|
+ message: "",
|
|
|
version: that.version,
|
|
|
cameraCode: that.cameraCode,
|
|
|
fireRadius: that.sendHuoZaiBanJing,
|
|
|
reserve: that.sendGuanLianYuAn,
|
|
|
address: that.address,
|
|
|
};
|
|
|
- updateCentereventTEventcatalogueStatus(param).then((res) => {
|
|
|
+ if(param.phones.length==0){
|
|
|
+ param.message='有火险事件需要处理请查收'
|
|
|
+ }
|
|
|
+ updateCentereventTEventcatalogueStatus_direct(param).then((res) => {
|
|
|
if (res.code == 200) {
|
|
|
that.$message.success(`处理成功!`);
|
|
|
that.cancelEventConfirm_send();
|
|
@@ -3984,8 +3987,8 @@ export default {
|
|
|
},
|
|
|
uploadBase64(dataBase64) {
|
|
|
//事件详情截图直接上传日志
|
|
|
- // uploadBase64_direct({
|
|
|
- uploadBase64({
|
|
|
+ uploadBase64_direct({
|
|
|
+ // uploadBase64({
|
|
|
eventCode: this.eventCode,
|
|
|
base64: dataBase64,
|
|
|
}).then((res) => {
|