Quellcode durchsuchen

监控中心bug修改,底部消息修改

王通 vor 1 Jahr
Ursprung
Commit
1e26d02e94
1 geänderte Dateien mit 28 neuen und 9 gelöschten Zeilen
  1. 28 9
      src/components/vBottomMenu.vue

+ 28 - 9
src/components/vBottomMenu.vue

@@ -468,14 +468,14 @@
                     <div class="this-con h-25 no-padding">
                       <div class="z-info-list" style="margin-top: 0;">
                         <div class="z-info-btm-grp">
-                          <div class="z-info-btm-grp-top">
-                            <div class="z-info-btm-grp-left">
-                              <el-button size="small" icon="el-icon-upload" @click="showEventLogUpload()">上传
-                              </el-button>
-                              <el-button size="small" icon="el-icon-download" @click="toImage()">截图上传
-                              </el-button>
-                            </div>
-                          </div>
+                          <!--                          <div class="z-info-btm-grp-top">-->
+                          <!--                            <div class="z-info-btm-grp-left">-->
+                          <!--                              <el-button size="small" icon="el-icon-upload" @click="showEventLogUpload()">上传-->
+                          <!--                              </el-button>-->
+                          <!--                              <el-button size="small" icon="el-icon-download" @click="toImage()">截图上传-->
+                          <!--                              </el-button>-->
+                          <!--                            </div>-->
+                          <!--                          </div>-->
                           <div class="z-info-btm-input">
                             <el-input type="textarea" v-model="eventLog" :autosize="{ minRows: 7, maxRows: 7}"
                                       placeholder="请输入反馈信息">
@@ -585,7 +585,7 @@ import {
   selectByeventCode,
   sendTask,
   eventExamine,
-  eventHandling
+  eventHandling, sendEventLog
 } from '@/api/forest'
 import {
   selectFarmByDeptId, linBanTreeselect, selectBanBylinBanTreesId, userDeptSelect
@@ -1311,6 +1311,25 @@ export default {
         this.attachExamine.push(attachPath)
       });
     },
+    sendEventLog() {
+      if (this.eventLog == '' || this.eventLog == null) {
+        return;
+      }
+      //日志发送
+      let param = {
+        eventCode: this.eventCode,
+        logContent: this.eventLog,
+        operation: "bus_oper_type_2",
+        operationType: "log_oper_type_1"
+      }
+      sendEventLog(param).then(res => {
+        if (res.code == 200) {
+          this.$message.success(`发送成功!`)
+          this.eventLog = null
+          this.refreshEventDialog(this.eventCode)
+        }
+      })
+    },
     /**
      * eventStatusValue 事件状态
      * isSend 是否办理