Explorar o código

Revert "事件详情加类别和名称"

This reverts commit 70409733912625d17fe871dc3ebe14c497b31842.
qinhouyu %!s(int64=2) %!d(string=hai) anos
pai
achega
baa04bdb2b
Modificáronse 2 ficheiros con 3 adicións e 10 borrados
  1. 0 6
      src/views/eventdetailsdialog.vue
  2. 3 4
      vue.config.js

+ 0 - 6
src/views/eventdetailsdialog.vue

@@ -95,7 +95,6 @@
             <!-- 右侧 -->
             <el-col :span="6" class="dia-right">
               <div class="e-right">
-                <div class="dia-left-top-tit">事件类别: {{eventTypeName}} , 事件标题: {{eventName}}</div>
                 <div class="forthis1">
                   <dv-border-box-7 backgroundColor="#040b1f"
                                    style="padding-bottom:1rem ;">
@@ -1296,7 +1295,6 @@ export default {
       deptId: null,//事件流程部门
       eventCode: null,
       eventName: null,
-      eventTypeName: null,
       longitude: null,
       latitude: null,
       eventLog: null,
@@ -2237,8 +2235,6 @@ console.log(this.dutysystemTableData)
         that.latitude = res.data.catalogue.latitude
         that.eventName = res.data.catalogue.eventName
         that.eventTypeXl = res.data.catalogue.eventTypeXl
-        that.eventTypeName = res.data.catalogue.event_type_name
-
         let markersMap = {
           lng: 124.59,
           lat: 43.02,
@@ -2326,8 +2322,6 @@ console.log(this.dutysystemTableData)
         that.longitude = res.data.catalogue.longitude
         that.eventName = res.data.catalogue.eventName
         that.eventTypeXl = res.data.catalogue.eventTypeXl
-        that.eventTypeName = res.data.catalogue.event_type_name
-
         let markersMap = {
           lng: 124.59,
           lat: 43.02,

+ 3 - 4
vue.config.js

@@ -52,11 +52,10 @@ module.exports = {
     proxy: {
       // detail: https://cli.vuejs.org/config/#devserver-proxy
       [process.env.VUE_APP_BASE_API]: {
-        target: `http://127.0.0.1:3031`,
-        // target: `https://2961rt3561.oicp.vip`,
-        // target: `https://29613561xe.eicp.vip`,
-        // target: `http://121.36.228.66:3031`,
+        // target: `http://127.0.0.1:3031`,
         // target: `http://192.168.2.118:3031`,
+        target: `http://121.36.228.66:3031`,
+        // target: `http://172.28.20.101:3031`,
         changeOrigin: true,
         pathRewrite: {
           ['^' + process.env.VUE_APP_BASE_API]: ''