彭宇 2 سال پیش
والد
کامیت
0fb080677b
2فایلهای تغییر یافته به همراه5 افزوده شده و 5 حذف شده
  1. 1 1
      src/views/firespread.vue
  2. 4 4
      vue.config.js

+ 1 - 1
src/views/firespread.vue

@@ -1488,7 +1488,7 @@ export default {
             }
             }
           })
           })
         } else {
         } else {
-          if (eventStatus == 'qs' || eventStatus == 'wb' || eventStatus == 'cf') {
+          if (eventStatus == 'qs') {
             if (that.sendDeptId == '' || that.sendDeptId == null || that.sendDeptName == '' || that.sendDeptName == null) {
             if (that.sendDeptId == '' || that.sendDeptId == null || that.sendDeptName == '' || that.sendDeptName == null) {
               that.$message.error(`请选择部门!`)
               that.$message.error(`请选择部门!`)
               return
               return

+ 4 - 4
vue.config.js

@@ -9,7 +9,7 @@ const CompressionPlugin = require('compression-webpack-plugin')
 
 
 const name = process.env.VUE_APP_TITLE || '四平市态势感知平台' // 网页标题
 const name = process.env.VUE_APP_TITLE || '四平市态势感知平台' // 网页标题
 
 
-const port = process.env.port || process.env.npm_config_port || 80 // 端口
+const port = process.env.port || process.env.npm_config_port || 81 // 端口
 
 
 const ssl_path = require('path')
 const ssl_path = require('path')
 const fs = require('fs')
 const fs = require('fs')
@@ -48,13 +48,13 @@ module.exports = {
      * 寻找附件-有缘人@阿弥陀佛
      * 寻找附件-有缘人@阿弥陀佛
      * @param attach_ids
      * @param attach_ids
      */
      */
-
     proxy: {
     proxy: {
       // detail: https://cli.vuejs.org/config/#devserver-proxy
       // detail: https://cli.vuejs.org/config/#devserver-proxy
       [process.env.VUE_APP_BASE_API]: {
       [process.env.VUE_APP_BASE_API]: {
-        target: `https://29613561xe.eicp.vip`,
         // target: `http://127.0.0.1:3031`,
         // target: `http://127.0.0.1:3031`,
-				// target: `http://121.36.228.66:3031`,
+        // target: `http://192.168.2.118:3031`,
+         target: `http://121.36.228.66:3031`,
+        //  target: `https://29613561xe.eicp.vip`,
         changeOrigin: true,
         changeOrigin: true,
         pathRewrite: {
         pathRewrite: {
           ['^' + process.env.VUE_APP_BASE_API]: ''
           ['^' + process.env.VUE_APP_BASE_API]: ''