chenjun 2 years ago
parent
commit
5d6b315b7e
61 changed files with 153 additions and 305 deletions
  1. 2 2
      build/index.js
  2. 1 1
      public/config.js
  3. 0 124
      public/config_1.js
  4. 0 24
      src/api/user.js
  5. 8 8
      src/components/Table/index.vue
  6. 0 2
      src/components/deletepopup/index.vue
  7. 1 1
      src/components/loginpolicy/index.vue
  8. 2 2
      src/components/navHeader/index.vue
  9. 3 3
      src/layout/components/Tissuetree/index.vue
  10. 1 1
      src/layout/index.vue
  11. 2 3
      src/utils/request-4a.js
  12. 2 3
      src/utils/request-new.js
  13. 1 1
      src/utils/table.js
  14. 5 5
      src/views/BasicsData/views/BaggageType/BaggageType.vue
  15. 4 4
      src/views/BasicsData/views/airlineCompany/airlineCompanyInfo.vue
  16. 1 1
      src/views/BasicsData/views/airport/airportInfo.vue
  17. 3 3
      src/views/BasicsData/views/deployNode/deployNodeHome.vue
  18. 5 5
      src/views/accountGroupManagement/components/accountHome.vue
  19. 1 1
      src/views/accountManagement/components/accountAuth.vue
  20. 6 6
      src/views/accountManagement/components/accountEdit.vue
  21. 5 5
      src/views/accountManagement/components/accountHome.vue
  22. 1 1
      src/views/advancedQuery/views/advancedHome.vue
  23. 5 5
      src/views/advancedQuery/views/advancedNew.vue
  24. 2 2
      src/views/authorityManagement/components/authorityAppAdd.vue
  25. 4 4
      src/views/authorityManagement/components/authorityAppEdit.vue
  26. 5 5
      src/views/authorityManagement/components/authorityPowerAdd.vue
  27. 5 5
      src/views/authorityManagement/components/authorityPowerEdit.vue
  28. 1 1
      src/views/authorityManagement/components/authorityRoleAdd.vue
  29. 1 1
      src/views/authorityManagement/components/authorityRoleEdit copy.vue
  30. 2 2
      src/views/authorityManagement/components/authorityRoleEdit.vue
  31. 1 1
      src/views/baggageManagement/components/arrival/index.vue
  32. 6 6
      src/views/baggageManagement/components/baggage/index.vue
  33. 2 2
      src/views/baggageManagement/components/container/index.vue
  34. 1 1
      src/views/baggageManagement/components/departure/index.vue
  35. 1 1
      src/views/baggageManagement/components/departureC/index.vue
  36. 2 2
      src/views/baggageManagement/components/flight/index.vue
  37. 3 3
      src/views/baggageManagement/components/transferArrival/index.vue
  38. 3 3
      src/views/baggageManagement/components/transferDeparture/index.vue
  39. 2 2
      src/views/login/index.vue
  40. 3 3
      src/views/queryTemplate/index.vue
  41. 1 1
      src/views/statisticsCharts/components/commonBarStatisticsCharts.vue
  42. 1 1
      src/views/statisticsCharts/components/commonPieStatisticsCharts.vue
  43. 1 1
      src/views/statisticsCharts/components/statisticsHeader.vue
  44. 3 3
      src/views/statisticsCharts/views/nodeStatisticsCharts.vue
  45. 4 4
      src/views/systemSettings/views/machineManagement/machineHome.vue
  46. 4 4
      src/views/systemSettings/views/protocolManagement/protocolHome.vue
  47. 3 3
      src/views/systemSettings/views/queryTemplate/queryTemplate.vue
  48. 3 3
      src/views/systemSettings/views/queryTemplate/queryTemplatePreview.vue
  49. 1 1
      src/views/systemSettings/views/queryTemplate/queryTemplateadd.vue
  50. 1 1
      src/views/systemSettings/views/queryTemplate/queryTemplateedit.vue
  51. 4 4
      src/views/systemSettings/views/serviceManagement/mixins/operate.js
  52. 1 1
      src/views/systemSettings/views/serviceManagement/serviceEdi2.vue
  53. 1 1
      src/views/systemSettings/views/serviceManagement/serviceEdit.vue
  54. 2 2
      src/views/systemSettings/views/serviceManagement/serviceHome copy.vue
  55. 3 3
      src/views/systemSettings/views/serviceManagement/serviceHome.vue
  56. 3 3
      src/views/systemSettings/views/sourceDataItemManagement/sourceDataItemEdit.vue
  57. 3 3
      src/views/systemSettings/views/sourceDataItemManagement/sourceDataItemHome.vue
  58. 3 3
      src/views/systemSettings/views/targetDataManagement/targetDataEdit.vue
  59. 3 3
      src/views/systemSettings/views/targetDataManagement/targetDataHome.vue
  60. 4 4
      src/views/systemSettings/views/warningSet/warningEdit.vue
  61. 1 1
      src/views/systemSettings/views/warningSet/warningSet.vue

+ 2 - 2
build/index.js

@@ -24,9 +24,9 @@ if (process.env.npm_config_preview || rawArgv.includes('--preview')) {
   )
 
   app.listen(port, function () {
-    console.log(chalk.green(`> Preview at  http://localhost:${port}${publicPath}`))
+    // console.log(chalk.green(`> Preview at  http://localhost:${port}${publicPath}`))
     if (report) {
-      console.log(chalk.green(`> Report at  http://localhost:${port}${publicPath}report.html`))
+      // console.log(chalk.green(`> Report at  http://localhost:${port}${publicPath}report.html`))
     }
 
   })

+ 1 - 1
public/config.js

@@ -1,7 +1,7 @@
 window.PLATFROM_CONFIG = {
   baseNewUrl: "http://10.211.67.163:16300", //登录前的http请求地址
   baseUrl: "http://10.211.67.163:16300", // 4A-http请求地址
-  appSecret: "9inu7zpllz1folzsljm498dcpi0lsog1", //appSecret
+  appKeyString: "9inu7zpllz1folzsljm498dcpi0lsog1", //appSecret
   appId: "q7kdjmmaf0kerwpf", //appid
   baseURLCA: "http://10.211.67.163:16300", // 登录后的http请求地址-测试
   baggageMessageURL: "/openApi/query",

+ 0 - 124
public/config_1.js

@@ -1,124 +0,0 @@
-var PLATFROM_CONFIG = {}
-// PLATFROM_CONFIG.baseNewUrl = "http://192.168.3.74:9006"; //登录前的http请求地址
-// PLATFROM_CONFIG.baseUrl = "http://106.14.243.117:9111"; // 4A-http请求地址
-PLATFROM_CONFIG.baseNewUrl = 'http://10.211.67.177:8043' //登录前的http请求地址
-PLATFROM_CONFIG.baseUrl = 'http://10.211.67.177:8043' // 4A-http请求地址
-// PLATFROM_CONFIG.baseUrl = "http://10.211.66.25:8074"; // http请求地址
-PLATFROM_CONFIG.appSecret = '9inu7zpllz1folzsljm498dcpi0lsog1' //appSecret
-PLATFROM_CONFIG.appId = 'q7kdjmmaf0kerwpf' //appid
-// PLATFROM_CONFIG.baseURLCA = "http://106.14.243.117:9114";
-// PLATFROM_CONFIG.baseURLCA = "http://106.14.243.117:8093";
-// PLATFROM_CONFIG.baseURLCA = "http://cssc.free.idcfengye.com";
-// PLATFROM_CONFIG.baseURLCA = "http://192.168.3.17:8080";
-// PLATFROM_CONFIG.baseURLCA = "http://192.168.3.243:8093";
-// PLATFROM_CONFIG.baseURLCA = "http://ts.free.idcfengye.com";
-PLATFROM_CONFIG.baseURLCA = "http://192.168.3.74:18064"; // 登录后的http请求地址
-// PLATFROM_CONFIG.baseURLCA = 'http://10.211.67.177:8043' // 登录后的http请求地址
-
-const DATACONTENT_ID = {
-  /***-----登录------***/
-  loginId: 36, //登录-获取权限-id
-
-  /***-----高级查询------***/
-  baggageTypeId: 86, //高级查询-特殊行李类型下拉选项查询-id
-  advacedQueryId: 30, //高级查询-数据查询-id
-
-  /***-----账号管理------***/
-  accountTableId: 38, //账号管理-首页-列表
-  accountRoleId: 43, //账号管理-根据id查角色
-  accountDetailsId: 45, //账号管理-根据id查详情
-
-  /***-----角色管理------***/
-  roleTableId: 41, //角色管理-首页-列表
-  roleDetailsId: 48, //角色管理-根据id查详情
-  roleAuthId: 42, //角色管理-根据id查权限
-
-  /***-----权限管理------***/
-  authTreeId: 40, //权限管理-权限树
-
-  /***-----系统设置------***/
-  sysSourceId: 13, //系统设置-数据源-id
-  sysProtoTabId: 1, //系统设置-协议管理-表格-id
-  sysServiceTabId: 2, //系统设置-服务管理-表格-id
-  sysServiceOutTabId: 7, //系统设置-服务管理-编辑-输出-表格-id
-  sysServiceJqTabId: 3, //系统设置-服务管理-编辑-部署机器-表格-id
-  sysQueryTabId: 4, //系统设置-查询模板-表格-id
-  sysQueryEditId: 24, //系统设置-查询模板-编辑-根据id获取服务
-  sysQueryChildTabId: 25, //系统设置-查询模板-列设置-表格-id
-  sysQueryChildEditTabId: 26, //系统设置-查询模板-列设置-表格-编辑-id
-  sysDataTabId: 5, //系统设置-数据结构-表格-id
-  sysDataChildTabId: 9, //系统设置-数据结构-数据项-表格-id
-  sysLogTabId: 12, //系统设置-数据结构-数据项-表格-id
-  sysDataEditId: 30, //系统设置-数据结构-数据项-表格-编辑-id
-  sysServiceXyId: 15, //系统设置-服务管理-新增服务-新增数据来源-id
-  sysServiceEditId: 23, //系统设置-服务管理-编辑服务-根据id获取服务
-  sysServiceTopId: 32, //系统设置-服务管理-服务拓扑-根据id获取拓扑图
-  sysServiceTopTableId: 31, //系统设置-服务管理-服务拓扑-查看日志id
-
-  /***-----进港管理------***/
-  arrivalAirId: 67, //进港管理-机场选择-id
-  arrivalTableId: 38, //进港管理-表格-id
-
-  /***-----离港管理------***/
-  departureAirMainId: 65, //离港管理-机场选择-id
-  departureTableMainId: 66, //离港管理-表格-id
-
-  /***-----离港管理===>中转进港------***/
-  departureAirId: 72, //离港管理-机场选择-id
-  departureAviJoinId: 71, //离港管理-进港承运航司-id
-  departureAviLeaveId: 74, //离港管理-离港承运航司-id
-  departureTableId: 69, //离港管理-表格-id
-
-  /***-----离港管理===>中转离港------***/
-  departureAirLtId: 72, //离港管理-机场选择-id
-  departureAviJoinLtId: 71, //离港管理-进港承运航司-id
-  departureAviLeaveLtId: 74, //离港管理-离港承运航司-id
-  departureTableLtId: 68, //离港管理-表格-id
-
-  /***-----基础数据------***/
-  deployNodeId: 54, //基础数据-节点信息维护-获取二级节点(表格)-id
-  deployNodeThreeId: 64, //基础数据-节点信息维护-获取三级节点-id
-  airlineTableId: 52, //基础数据-航司信息维护-表格-id
-  airportTableId: 57, //基础数据-机场信息维护-表格-id
-  airportTreeId: 58, //基础数据-机场信息维护-公司列表-id
-  bagTableId: 55, //基础数据-特殊行李维护-表格-id
-
-  // 数据统计
-  // inOrOutId: 246,//获取进离岗下拉ID
-  // AirlineId: 247,//获取航线下拉ID
-  // AreaId: 248,//获取大区下拉ID
-  // AirportId: 249,//获取航站下拉ID
-  // TerminalId: 250,//获取航站楼下拉ID
-  // byAreaId: 244,//根据大区统计ID
-  // byOtherId: 243,//获取大区以外统计ID
-  inOrOutId: 52, //获取进离岗下拉ID
-  AirlineId: 53, //获取航线下拉ID
-  AreaId: 54, //获取大区下拉ID
-  AirportId: 55, //获取航站下拉ID
-  TerminalId: 56, //获取航站楼下拉ID
-  byAreaId: 50, //根据大区统计ID
-  byOtherId: 63, //获取大区以外统计ID
-  baggageStatistics: 73, // 获取行李统计
-  nodeStatistics: 252 // 获取节点统计
-}
-
-const SERVICE_ID = {
-  /***-----账号管理------***/
-  accountScId: 17, //账号管理-增删改-id
-  roleScId: 16, //账号管理-角色授权-增删改-id
-
-  /***-----角色管理------***/
-  roleMsgId: 14, //角色管理-增删改-id
-  roleMsgTreeId: 15, //角色管理-权限树-增删改-id
-  roleMsgAuthId: 20, //角色管理-权限树规则-增删改-id
-
-  /***-----权限项管理------***/
-  authScId: 13, //权限项管理-增删改-id
-
-  sysProtoTabId: 1, //系统设置-协议管理-表格-增删改-id
-  sysServiceAddId: 3, //系统设置-服务管理-新增服务-提交-id/服务管理-编辑服务-保存-id
-  sysServiceEditBoxId: 4, //系统设置-服务管理-编辑服务-部署机器-多选框-id
-  sysQueryTabId: 5, //系统设置-查询模板-表格-增删改-id
-  sysServiceAddXyId: 10, //系统设置-服务管理-新增服务-新增数据源-提交-id
-  sysDataTabId: 11 //系统设置-数据结构-数据项-表格-增删改-id
-}

+ 0 - 24
src/api/user.js

@@ -1,24 +0,0 @@
-import request from '@/utils/request'
-
-export function login(data) {
-  return request({
-    url: '/vue-admin-template/user/login',
-    method: 'post',
-    data
-  })
-}
-
-export function getInfo(token) {
-  return request({
-    url: '/vue-admin-template/user/info',
-    method: 'get',
-    params: { token }
-  })
-}
-
-export function logout() {
-  return request({
-    url: '/vue-admin-template/user/logout',
-    method: 'post'
-  })
-}

+ 8 - 8
src/components/Table/index.vue

@@ -450,7 +450,7 @@ export default {
     //监听机场变更的id  不可删除
     // dataId: {
     //   if(val) {
-    //     
+    //
     //     if (val.companyID) {
     //       this.resetTable();
     //       this.getQuery();
@@ -466,7 +466,7 @@ export default {
   },
   methods: {
     load () {
-      // 
+      //
       if (!this.isTree) {
         if (this.noMore || this.loading) {
           return;
@@ -484,7 +484,7 @@ export default {
         this.tableForm[data] = null;
       }
       this.tableForm[this.tableOptions[data][0].setvalue] = this.tableForm[data];
-      // 
+      //
     },
     inputChangeHandler (data) {
       if (this.tableForm[data] === "") {
@@ -576,7 +576,7 @@ export default {
     //初始化表格
     initTableData () {
       this.tableColsCopy = this.tableCols.filter((item) => item.needShow);
-      // 
+      //
       // debugger;
       this.tableDataCopy = _.cloneDeep(this.tableData);
       const datas = _.cloneDeep(this.tableColsCopy);
@@ -593,7 +593,7 @@ export default {
           if (!this.tableOptions[item.columnName]) {
             this.tableOptions[item.columnName] = await this.getSelectData(item.listqueryTemplateID);
           }
-          // 
+          //
         }
         // this.filterValues[item.columnName] = ''
       });
@@ -728,7 +728,7 @@ export default {
         this.$emit("handleAdd");
       }
 
-      // 
+      //
     },
     //表格-编辑
     async handleEdit (row) {
@@ -762,7 +762,7 @@ export default {
           this.$message.error("失败");
         }
       } catch (error) {
-
+        this.$message.error("失败");
       }
     },
     //表格-跳转
@@ -914,7 +914,7 @@ export default {
           this.$message.error("查询节点失败");
         }
       } catch (error) {
-
+        this.$message.error("失败");
       }
     },
   },

+ 0 - 2
src/components/deletepopup/index.vue

@@ -66,5 +66,3 @@ export default {
   },
 };
 </script>
-<style lang="scss">
-</style>

+ 1 - 1
src/components/loginpolicy/index.vue

@@ -185,6 +185,6 @@ export default {
   mounted: function () { },
 };
 </script>
-<style lang="scss">
+<style lang="scss" scoped>
 @import "./loginpolicy.scss";
 </style>

+ 2 - 2
src/components/navHeader/index.vue

@@ -31,7 +31,7 @@ export default {
   }
 }
 </script>
-<style lang="scss">
+<style lang="scss" scoped>
 .bf-header {
   width: 100%;
   height: 100%;
@@ -64,4 +64,4 @@ export default {
     align-items: center;
   }
 }
-</style>
+</style>

+ 3 - 3
src/layout/components/Tissuetree/index.vue

@@ -71,7 +71,7 @@ export default {
               部门
             </div>
             <div onClick={()=>this.$router.push({path:'postMenger'})}>岗位</div> <div onClick={()=>this.$router.push({path:'StaffManager'})}>职员</div>
-        
+
           </div>
           <div class="org-per1">
             <div>{data.department}</div>
@@ -93,7 +93,7 @@ export default {
   },
 };
 </script>
-<style lang="scss">
+<style lang="scss" scoped>
 .tree-content {
   margin-top: 182px;
 }
@@ -105,7 +105,7 @@ export default {
   border-radius: 6px;
 }
 .labelcontent {
- 
+
     position: relative;
 
 }

+ 1 - 1
src/layout/index.vue

@@ -169,7 +169,7 @@ export default {
           this.$message.error(res.message);
         }
       } catch (error) {
-
+        this.$message.error("失败");
       }
     },
   },

+ 2 - 3
src/utils/request-4a.js

@@ -2,7 +2,6 @@ import axios from 'axios'
 import { MessageBox, Message } from 'element-ui'
 import { getToken, getUserId, getCodeToken } from '@/utils/auth'
 import store from '@/store'
-import MD5 from "blueimp-md5";
 // create an axios instance
 const service = axios.create({
   //baseURL: baseURL, // url = base url + request url
@@ -20,11 +19,11 @@ service.interceptors.request.use(
   config => {
     // config.headers.common["content-type"] = "application/json"
     if (config.istoken) {
-      config.headers['appSecret'] = PLATFROM_CONFIG.appSecret
+      config.headers['appSecret'] = PLATFROM_CONFIG.appKeyString
     }
     if (config.data) {
       config.data['OperatorId'] = getUserId()
-      config.data["token"] = MD5(JSON.stringify(config.data));
+      config.data["token"] = getCodeToken()
     }
     // do something before request is sent
     // config.headers['Content-Type'] = 'text/plain'

+ 2 - 3
src/utils/request-new.js

@@ -2,7 +2,6 @@ import axios from 'axios'
 import { MessageBox, Message } from 'element-ui'
 import { getToken, getUserId, getCodeToken } from '@/utils/auth'
 import store from '@/store'
-import MD5 from "blueimp-md5";
 let isMttoken
 // create an axios instance
 const service = axios.create({
@@ -21,12 +20,12 @@ service.interceptors.request.use(
   config => {
     // config.headers.common["content-type"] = "application/json"
     if (config.istoken) {
-      config.headers['appSecret'] = PLATFROM_CONFIG.appSecret
+      config.headers['appSecret'] = PLATFROM_CONFIG.appKeyString
       isMttoken = config.istoken
     }
     if (config.data) {
       config.data['OperatorId'] = getUserId()
-      config.data["token"] = MD5(JSON.stringify(config.data));
+      config.data["token"] = getCodeToken()
     }
     // do something before request is sent
     // config.headers['Content-Type'] = 'text/plain'

+ 1 - 1
src/utils/table.js

@@ -243,7 +243,7 @@ export function exportToExcel (table, tableName, fileName, headerRowNumber = 1)
     })
     FileSaver.saveAs(new Blob([tableWrite], { type: 'application/octet-stream' }), fileName)
   } catch (error) {
-
+    this.$message.error(error.message);
   }
 }
 

+ 5 - 5
src/views/BasicsData/views/BaggageType/BaggageType.vue

@@ -101,7 +101,7 @@ export default {
           that.exceptionlist();
         }
       });
-      // 
+      //
     },
     //删除信息
     handleMove (item) {
@@ -142,7 +142,7 @@ export default {
             this.$message.error(res.message ?? "失败");
           }
         } catch (error) {
-
+          this.$message.error("失败");
         }
         this.EditForm = {};
         this.EditFlag = false;
@@ -164,7 +164,7 @@ export default {
           this.$message.error(res.message ?? "失败");
         }
       } catch (error) {
-
+        this.$message.error("失败");
       }
     },
 
@@ -196,7 +196,7 @@ export default {
             this.$message.error(res.message ?? "失败");
           }
         } catch (error) {
-
+          this.$message.error("失败");
         }
         this.addFlag = false;
         this.ruleForm = {};
@@ -228,7 +228,7 @@ export default {
           this.$message.error(res.message ?? "失败");
         }
       } catch (error) {
-
+        this.$message.error("失败");
       }
     },
   },

+ 4 - 4
src/views/BasicsData/views/airlineCompany/airlineCompanyInfo.vue

@@ -133,7 +133,7 @@ export default {
             this.$message.error(res.message ?? "失败");
           }
         } catch (error) {
-
+this.$message.error("失败");
         }
       }
     },
@@ -154,7 +154,7 @@ export default {
           this.$message.error(res.message ?? "失败");
         }
       } catch (error) {
-
+        this.$message.error("失败");
       }
     },
 
@@ -187,7 +187,7 @@ export default {
             this.$message.error(res.message ?? "失败");
           }
         } catch (error) {
-
+          this.$message.error("失败");
         }
         this.closeForm();
       }
@@ -216,7 +216,7 @@ export default {
           this.$message.error(res.message ?? "失败");
         }
       } catch (error) {
-
+        this.$message.error("失败");
       }
     },
   },

+ 1 - 1
src/views/BasicsData/views/airport/airportInfo.vue

@@ -274,7 +274,7 @@ export default {
           this.$message.error(res.message ?? "失败");
         }
       } catch (error) {
-
+this.$message.error("失败");
       }
     },
     //删除信息

+ 3 - 3
src/views/BasicsData/views/deployNode/deployNodeHome.vue

@@ -178,7 +178,7 @@ export default {
           this.$message.error(message ?? "获取节点信息数据失败");
         }
       } catch (error) {
-
+this.$message.error("失败");
       }
     },
     //节点操作
@@ -195,7 +195,7 @@ export default {
           this.$message.error(message ?? "操作失败");
         }
       } catch (error) {
-
+this.$message.error("失败");
       }
     },
     //三级展开获取数据
@@ -225,7 +225,7 @@ export default {
           this.$message.error(message ?? "获取节点信息失败");
         }
       } catch (error) {
-
+        this.$message.error("失败");
       }
     },
   },

+ 5 - 5
src/views/accountGroupManagement/components/accountHome.vue

@@ -154,7 +154,7 @@ export default {
     //   } else {
     //     obj = this.systemSet
     //   }
-    //   // 
+    //   //
     //   const { PwdStruc, PwdLengthBegin, PwdLengthEnd } = obj
     //   this.pwdStruc = PwdStruc
     //   this.pwdLengthBegin = PwdLengthBegin
@@ -182,7 +182,7 @@ export default {
           this.$message.error(res.message);
         }
       } catch (error) {
-
+        this.$message.error("失败");
       }
     },
     // 新增账号
@@ -200,7 +200,7 @@ export default {
           this.$message.error(res.message);
         }
       } catch (error) {
-
+        this.$message.error("失败");
       }
     },
     // 获取当前账号信息
@@ -271,7 +271,7 @@ export default {
           this.$message.error(result.$message);
         }
       } catch (error) {
-
+        this.$message.error("失败");
       }
     },
     deleteUser (user) {
@@ -327,7 +327,7 @@ export default {
           this.$message.error(result.message);
         }
       } catch (error) {
-
+        this.$message.error("失败");
       }
     },
 

+ 1 - 1
src/views/accountManagement/components/accountAuth.vue

@@ -241,7 +241,7 @@ export default {
           this.$message.error(res.message);
         }
       } catch (error) {
-
+        this.$message.error("失败");
       }
     },
   },

+ 6 - 6
src/views/accountManagement/components/accountEdit.vue

@@ -226,7 +226,7 @@ export default {
     } else {
       obj = this.systemSet;
     }
-    // 
+    //
     const { OpenRole, OpenGroup, PwdStruc, PwdLengthBegin, PwdLengthEnd } = obj;
     this.openRole = OpenRole;
     this.openGroup = OpenGroup;
@@ -251,7 +251,7 @@ export default {
           UserId: this.userId,
         });
         if (res.code === 0) {
-          // 
+          //
           const { UserDesc, UserName, GroupList, TacList, AuthList, RoleList, Status } = res.returnData;
           this.accountForm.name = UserName;
           this.accountForm.desc = UserDesc;
@@ -293,7 +293,7 @@ export default {
           this.$message.error(res.message);
         }
       } catch (error) {
-
+this.$message.error("失败");
       }
     },
     // 获取当前权限树勾选项
@@ -346,7 +346,7 @@ export default {
           this.$message.error(result.message);
         }
       } catch (error) {
-
+        this.$message.error("失败");
       }
     },
     // 修改权限规则
@@ -398,7 +398,7 @@ export default {
           this.$message.error(res.message);
         }
       } catch (error) {
-
+        this.$message.error("失败");
       }
     },
     // 新增账号
@@ -415,7 +415,7 @@ export default {
           this.$message.error(res.message);
         }
       } catch (error) {
-
+        this.$message.error("失败");
       }
     },
   },

+ 5 - 5
src/views/accountManagement/components/accountHome.vue

@@ -205,7 +205,7 @@ export default {
     //   } else {
     //     obj = this.systemSet
     //   }
-    //   // 
+    //   //
     //   const { PwdStruc, PwdLengthBegin, PwdLengthEnd } = obj
     //   this.pwdStruc = PwdStruc
     //   this.pwdLengthBegin = PwdLengthBegin
@@ -304,7 +304,7 @@ export default {
           this.$message.error(res.message);
         }
       } catch (error) {
-
+this.$message.error("失败");
       }
     },
     // 新增账号
@@ -323,7 +323,7 @@ export default {
           this.$message.error(res.message);
         }
       } catch (error) {
-
+        this.$message.error("失败");
       }
     },
     // 获取当前账号信息
@@ -396,7 +396,7 @@ export default {
           this.$message.error(result.$message);
         }
       } catch (error) {
-
+        this.$message.error("失败");
       }
     },
     deleteUser (user) {
@@ -463,7 +463,7 @@ export default {
           this.$message.error(result.message);
         }
       } catch (error) {
-
+        this.$message.error("失败");
       }
     },
 

+ 1 - 1
src/views/advancedQuery/views/advancedHome.vue

@@ -1199,7 +1199,7 @@ export default {
       try {
         const result = await myQuery(DATACONTENT_ID.baggageTypeId)
         this.baggageTypeList = result
-      } catch (error) {}
+      } catch (error) {this.$message.error("失败");}
     },
     // 统计行数
     summaryRow(num) {

+ 5 - 5
src/views/advancedQuery/views/advancedNew.vue

@@ -545,13 +545,13 @@ export default {
       // const bagNo = /^[a-zA-Z]{2}[0-9]{6}$/
       // // 纯字母则为旅客姓名
       // if (az.test(val)) {
-      //   
+      //
       // } else if (azNum.test(val) && top2.test(val)) {
       //   // 字母加数字且前两位为字母则为航班号
-      //   
+      //
       // } else if ((num.test(val) && val.length === 10) || bagNo.test(val)) {
       //   // 纯数字且位数等于10则为行李牌号
-      //   
+      //
       // } else {
       //   this.$message.error('请先输入有效查询信息如航班号、旅客姓名首字母、行李牌号')
       // }
@@ -569,7 +569,7 @@ export default {
           return []
         }
       } catch (error) {
-
+        this.$message.error("失败");
       }
     },
     async queryTableData () {
@@ -595,7 +595,7 @@ export default {
           this.$message.error('获取表格数据失败')
         }
       } catch (error) {
-
+        this.$message.error("失败");
       }
       this.loading = false
     }

+ 2 - 2
src/views/authorityManagement/components/authorityAppAdd.vue

@@ -75,7 +75,7 @@ export default {
   },
   methods: {
     handleRemove (file, fileList) {
-      // 
+      //
     },
     handlePictureCardPreview (file) {
       this.dialogImageUrl = file.url;
@@ -97,7 +97,7 @@ export default {
           this.$message.error(res.message);
         }
       } catch (error) {
-
+this.$message.error("失败");
       }
     },
     /**

+ 4 - 4
src/views/authorityManagement/components/authorityAppEdit.vue

@@ -129,7 +129,7 @@ export default {
           this.$message.error(res.message);
         }
       } catch (error) {
-
+        this.$message.error("失败");
       }
     },
     //应用状态变更
@@ -145,7 +145,7 @@ export default {
           this.$message.error(res.message);
         }
       } catch (error) {
-
+this.$message.error("失败");
       }
     },
     //应用状态变更
@@ -165,7 +165,7 @@ export default {
           this.$message.error(res.message);
         }
       } catch (error) {
-
+        this.$message.error("失败");
       }
     },
     //应用删除
@@ -183,7 +183,7 @@ export default {
           this.$message.error(res.message);
         }
       } catch (error) {
-
+        this.$message.error("失败");
       }
     },
   },

+ 5 - 5
src/views/authorityManagement/components/authorityPowerAdd.vue

@@ -243,7 +243,7 @@ export default {
           this.$message.error(res.message);
         }
       } catch (error) {
-
+        this.$message.error("失败");
       }
     },
     //角色列表
@@ -262,7 +262,7 @@ export default {
           this.$message.error(res.message);
         }
       } catch (error) {
-
+        this.$message.error("失败");
       }
     },
     //账号列表
@@ -281,7 +281,7 @@ export default {
           this.$message.error(res.message);
         }
       } catch (error) {
-
+        this.$message.error("失败");
       }
     },
     //角色选取
@@ -315,7 +315,7 @@ export default {
           this.$message.error(res.message);
         }
       } catch (error) {
-
+        this.$message.error("失败");
       }
     },
     //删除权限
@@ -333,7 +333,7 @@ export default {
           this.$message.error(res.message);
         }
       } catch (error) {
-
+        this.$message.error("失败");
       }
     },
   },

+ 5 - 5
src/views/authorityManagement/components/authorityPowerEdit.vue

@@ -243,7 +243,7 @@ export default {
           this.$message.error(res.message);
         }
       } catch (error) {
-
+this.$message.error("失败");
       }
     },
     //角色列表
@@ -262,7 +262,7 @@ export default {
           this.$message.error(res.message);
         }
       } catch (error) {
-
+        this.$message.error("失败");
       }
     },
     //账号列表
@@ -281,7 +281,7 @@ export default {
           this.$message.error(res.message);
         }
       } catch (error) {
-
+        this.$message.error("失败");
       }
     },
     //角色选取
@@ -316,7 +316,7 @@ export default {
           this.$message.error(res.message);
         }
       } catch (error) {
-
+        this.$message.error("失败");
       }
     },
     //删除权限
@@ -334,7 +334,7 @@ export default {
           this.$message.error(res.message);
         }
       } catch (error) {
-
+        this.$message.error("失败");
       }
     },
   },

+ 1 - 1
src/views/authorityManagement/components/authorityRoleAdd.vue

@@ -197,7 +197,7 @@ export default {
           this.$message.error(res.message);
         }
       } catch (error) {
-
+        this.$message.error("失败");
       }
     },
   },

+ 1 - 1
src/views/authorityManagement/components/authorityRoleEdit copy.vue

@@ -248,7 +248,7 @@ export default {
           this.$message.error(res.message);
         }
       } catch (error) {
-
+this.$message.error("失败");
       }
     },
   },

+ 2 - 2
src/views/authorityManagement/components/authorityRoleEdit.vue

@@ -220,7 +220,7 @@ export default {
           this.loading = false;
         }
       } catch (error) {
-
+        this.$message.error("失败");
       }
     },
     //保存
@@ -385,7 +385,7 @@ export default {
           this.$message.error(res.message);
         }
       } catch (error) {
-
+        this.$message.error("失败");
       }
     },
   },

+ 1 - 1
src/views/baggageManagement/components/arrival/index.vue

@@ -398,7 +398,7 @@ export default {
           this.$message.error(res.message);
         }
       } catch (error) {
-
+        this.$message.error("失败");
       }
     },
     tableRowClassName ({ row, rowIndex }) {

+ 6 - 6
src/views/baggageManagement/components/baggage/index.vue

@@ -649,7 +649,7 @@ export default {
           this.$message.error(message ?? '失败')
         }
       } catch (error) {
-
+this.$message.error("失败");
       }
     },
     async queryBasicInfo (queryData = this.queryData) {
@@ -662,7 +662,7 @@ export default {
           this.baggageBasicInfo = baggageBasicInfo[0]
         }
       } catch (error) {
-
+        this.$message.error("失败");
       }
     },
     async queryDetails (queryData = this.queryData) {
@@ -689,7 +689,7 @@ export default {
         })
         this.initTableData(this.baggageTableData)
       } catch (error) {
-
+        this.$message.error("失败");
       }
     },
     async queryAirline (queryData = this.queryData) {
@@ -707,7 +707,7 @@ export default {
           this.selectedAirline = ''
         }
       } catch (error) {
-
+        this.$message.error("失败");
       }
     },
     async queryTrack () {
@@ -733,7 +733,7 @@ export default {
           }
         })
       } catch (error) {
-
+        this.$message.error("失败");
       }
     },
     async queryMessage (queryData = this.queryData) {
@@ -754,7 +754,7 @@ export default {
         }, [])
         this.messageList = this._.sortBy(messageList, 'ssid')
       } catch (error) {
-
+        this.$message.error("失败");
       }
     }
   }

+ 2 - 2
src/views/baggageManagement/components/container/index.vue

@@ -391,7 +391,7 @@ export default {
         const result = await myQuery(DATACONTENT_ID.containerHistory, ...dataContent)
         this.containerHistory = result
         this.msg = '容器历史默认显示最近' + this.containerHistory[0].k + '条历史,如果需要可联系管理员进行配置'
-      } catch (error) {}
+      } catch (error) {this.$message.error("失败");}
       this.treeLoading = false
     },
     async queryBaggageList(dataContent) {
@@ -401,7 +401,7 @@ export default {
         const result = await myQuery(DATACONTENT_ID.containerBaggage, ...dataContent)
         this.tableData = result
         setTableFilters(this.tableData, this.tableDataFilters)
-      } catch (error) {}
+      } catch (error) {this.$message.error("失败");}
       this.tableLoading = false
     }
   }

+ 1 - 1
src/views/baggageManagement/components/departure/index.vue

@@ -350,7 +350,7 @@ export default {
           this.$message.error(res.message);
         }
       } catch (error) {
-
+        this.$message.error("失败");
       }
     },
     tableRowClassName ({ row, rowIndex }) {

+ 1 - 1
src/views/baggageManagement/components/departureC/index.vue

@@ -375,7 +375,7 @@ export default {
           this.$message.error(res.message);
         }
       } catch (error) {
-
+this.$message.error("失败");
       }
     },
     tableRowClassName ({ row, rowIndex }) {

+ 2 - 2
src/views/baggageManagement/components/flight/index.vue

@@ -750,7 +750,7 @@ export default {
           this.selectedAirline = this.airlineList[0].value
         }
       } catch (error) {
-
+this.$message.error("失败");
       }
     },
     async queryAll (dataContent) {
@@ -785,7 +785,7 @@ export default {
         })
         setTableFilters(this.flightBaggageTableData, this.flightBaggageTableFilters)
       } catch (error) {
-
+        this.$message.error("失败");
       }
       this.fullscreenLoading = false
     }

+ 3 - 3
src/views/baggageManagement/components/transferArrival/index.vue

@@ -463,7 +463,7 @@ export default {
           this.$message.error(res.message);
         }
       } catch (error) {
-
+this.$message.error("失败");
       }
     },
     // 选择航司
@@ -479,7 +479,7 @@ export default {
           this.$message.error(res.message);
         }
       } catch (error) {
-
+        this.$message.error("失败");
       }
     },
     // 选择航司
@@ -495,7 +495,7 @@ export default {
           this.$message.error(res.message);
         }
       } catch (error) {
-
+        this.$message.error("失败");
       }
     },
     // 获取表单下拉框数据

+ 3 - 3
src/views/baggageManagement/components/transferDeparture/index.vue

@@ -441,7 +441,7 @@ export default {
           this.$message.error(res.message);
         }
       } catch (error) {
-
+this.$message.error("失败");
       }
     },
     // 选择航司
@@ -457,7 +457,7 @@ export default {
           this.$message.error(res.message);
         }
       } catch (error) {
-
+        this.$message.error("失败");
       }
     },
     // 选择航司
@@ -473,7 +473,7 @@ export default {
           this.$message.error(res.message);
         }
       } catch (error) {
-
+        this.$message.error("失败");
       }
     },
     // 获取表单下拉框数据

+ 2 - 2
src/views/login/index.vue

@@ -125,7 +125,7 @@ export default {
     try {
       const res = await gettoken({
         'appid': PLATFROM_CONFIG.appId,
-        'appSecret': PLATFROM_CONFIG.appSecret
+        'appSecret': PLATFROM_CONFIG.appKeyString
       })
       if (res.code == 0 && res.data) {
         setCodeToken(res.data.appToken);
@@ -137,7 +137,7 @@ export default {
         this.$message.error(res.message);
       }
     } catch (error) {
-
+      this.$message.error(error.message);
     }
   },
   methods: {

+ 3 - 3
src/views/queryTemplate/index.vue

@@ -121,7 +121,7 @@ export default {
           that.exceptionlist();
         }
       });
-      // 
+      //
     },
     //删除信息
     handleMove (item) {
@@ -189,7 +189,7 @@ export default {
           this.$message.error(res.message ?? "失败");
         }
       } catch (error) {
-
+        this.$message.error("失败");
       }
     },
 
@@ -223,7 +223,7 @@ export default {
           this.$message.error(res.message ?? "失败");
         }
       } catch (error) {
-
+        this.$message.error("失败");
       }
     },
   },

+ 1 - 1
src/views/statisticsCharts/components/commonBarStatisticsCharts.vue

@@ -358,7 +358,7 @@ export default {
           this.$message.error(message || '失败')
         }
       } catch (error) {
-
+this.$message.error("失败");
       }
     },
     setChartHeight () {

+ 1 - 1
src/views/statisticsCharts/components/commonPieStatisticsCharts.vue

@@ -365,7 +365,7 @@ export default {
           this.$message.error(message || '失败')
         }
       } catch (error) {
-
+        this.$message.error("失败");
       }
     },
     setChartHeight () {

+ 1 - 1
src/views/statisticsCharts/components/statisticsHeader.vue

@@ -368,7 +368,7 @@ export default {
           this.$message.error(message)
         }
       } catch (error) {
-
+        this.$message.error("失败");
       }
     }
   }

+ 3 - 3
src/views/statisticsCharts/views/nodeStatisticsCharts.vue

@@ -378,7 +378,7 @@ export default {
           this.$message.error(message ?? '失败')
         }
       } catch (error) {
-
+        this.$message.error("失败");
       }
     },
     async queryChartsData (data) {
@@ -464,7 +464,7 @@ export default {
           this.$message.error(res.message || '失败')
         }
       } catch (error) {
-
+        this.$message.error("失败");
       }
     },
     setChartHeight () {
@@ -637,7 +637,7 @@ export default {
           this.$message.error(res.message || '失败')
         }
       } catch (error) {
-
+        this.$message.error("失败");
       }
     },
     settingHandler () {

+ 4 - 4
src/views/systemSettings/views/machineManagement/machineHome.vue

@@ -158,7 +158,7 @@ export default {
           this.$message.error(res.message ?? "失败");
         }
       } catch (error) {
-
+        this.$message.error("失败");
       }
     },
     // 新增-弹框
@@ -212,7 +212,7 @@ export default {
           this.$message.error(res.message ?? "失败");
         }
       } catch (error) {
-
+        this.$message.error("失败");
       }
     },
     async addSubmit () {
@@ -229,7 +229,7 @@ export default {
           this.$message.error(res.message ?? "失败");
         }
       } catch (error) {
-
+        this.$message.error("失败");
       }
     },
     async editSubmit () {
@@ -246,7 +246,7 @@ export default {
           this.$message.error(res.message ?? "失败");
         }
       } catch (error) {
-
+        this.$message.error("失败");
       }
     },
   },

+ 4 - 4
src/views/systemSettings/views/protocolManagement/protocolHome.vue

@@ -151,7 +151,7 @@ export default {
           this.$message.error(res.message ?? "失败");
         }
       } catch (error) {
-
+        this.$message.error("失败");
       }
     },
     // 新增-弹框
@@ -205,7 +205,7 @@ export default {
           this.$message.error(res.message ?? "失败");
         }
       } catch (error) {
-
+        this.$message.error("失败");
       }
     },
     async addSubmit () {
@@ -222,7 +222,7 @@ export default {
           this.$message.error(res.message ?? "失败");
         }
       } catch (error) {
-
+        this.$message.error("失败");
       }
     },
     async editSubmit () {
@@ -239,7 +239,7 @@ export default {
           this.$message.error(res.message ?? "失败");
         }
       } catch (error) {
-
+        this.$message.error("失败");
       }
     },
   },

+ 3 - 3
src/views/systemSettings/views/queryTemplate/queryTemplate.vue

@@ -177,7 +177,7 @@ export default {
           that.exceptionlist();
         }
       });
-      // 
+      //
     },
     // 删除信息
     handleMove (item) {
@@ -228,7 +228,7 @@ export default {
           this.$message.error(res.message ?? "失败");
         }
       } catch (error) {
-
+this.$message.error("失败");
       }
     },
 
@@ -274,7 +274,7 @@ export default {
           this.$message.error(res.message ?? "失败");
         }
       } catch (error) {
-
+this.$message.error("失败");
       }
     },
     // 查询模板预览

+ 3 - 3
src/views/systemSettings/views/queryTemplate/queryTemplatePreview.vue

@@ -326,7 +326,7 @@ export default {
         if (bracketsDifference !== 0) {
           throw new Error('左右括号不匹配!')
         }
-        // 
+        //
         this.queryString = queryString
         this.dialogHide()
       } catch (error) {
@@ -381,7 +381,7 @@ export default {
           return []
         }
       } catch (error) {
-
+this.$message.error("失败");
       }
     },
     async queryTableData () {
@@ -407,7 +407,7 @@ export default {
           this.$message.error('获取表格数据失败')
         }
       } catch (error) {
-
+        this.$message.error("失败");
       }
       this.loading = false
     }

+ 1 - 1
src/views/systemSettings/views/queryTemplate/queryTemplateadd.vue

@@ -109,7 +109,7 @@ export default {
           this.$message.error(res.message ?? '失败')
         }
       } catch (error) {
-
+this.$message.error("失败");
       }
     },
     async getDataSourceList () {

+ 1 - 1
src/views/systemSettings/views/queryTemplate/queryTemplateedit.vue

@@ -118,7 +118,7 @@ export default {
           this.$message.error(res.message ?? '失败')
         }
       } catch (error) {
-
+        this.$message.error("失败");
       }
     },
     async queryQueryTemplateByID (queryTemplateID) {

+ 4 - 4
src/views/systemSettings/views/serviceManagement/mixins/operate.js

@@ -40,7 +40,7 @@ export default {
           this.$message.error(result.message ?? "失败");
         }
       } catch (error) {
-
+        this.$message.error(error.message);
       }
     },
     async updateServiceNode (event, deployObject) {
@@ -68,7 +68,7 @@ export default {
           return Promise.reject(result.message);
         }
       } catch (error) {
-
+        this.$message.error(error.message);
       }
     },
     async updateServiceSource (operate, sourceDataID) {
@@ -93,7 +93,7 @@ export default {
           return Promise.reject(result.message);
         }
       } catch (error) {
-
+        this.$message.error(error.message);
       }
     },
     async updateServiceOutput (operate, outputTarget) {
@@ -126,7 +126,7 @@ export default {
           return Promise.reject(result.message);
         }
       } catch (error) {
-
+        this.$message.error(error.message);
       }
     },
   },

+ 1 - 1
src/views/systemSettings/views/serviceManagement/serviceEdi2.vue

@@ -378,7 +378,7 @@ export default {
           this.$message.error(res.message ?? "失败");
         }
       } catch (error) {
-
+        this.$message.error("失败");
       }
     },
   },

+ 1 - 1
src/views/systemSettings/views/serviceManagement/serviceEdit.vue

@@ -563,7 +563,7 @@ export default {
           this.$message.error(res.message ?? "失败");
         }
       } catch (error) {
-
+        this.$message.error("失败");
       }
     },
   },

+ 2 - 2
src/views/systemSettings/views/serviceManagement/serviceHome copy.vue

@@ -221,7 +221,7 @@ export default {
           return []
         }
       } catch (error) {
-
+this.$message.error("失败");
       }
     },
     async createService () {
@@ -239,7 +239,7 @@ export default {
           this.$message.error(res.message ?? '失败')
         }
       } catch (error) {
-
+this.$message.error("失败");
       }
     }
   }

+ 3 - 3
src/views/systemSettings/views/serviceManagement/serviceHome.vue

@@ -310,7 +310,7 @@ export default {
           return [];
         }
       } catch (error) {
-
+        this.$message.error("失败");
       }
     },
     async createService () {
@@ -334,7 +334,7 @@ export default {
           this.$message.error(res.message ?? "失败");
         }
       } catch (error) {
-
+        this.$message.error("失败");
       }
     },
     async formService () {
@@ -358,7 +358,7 @@ export default {
           this.$message.error(res.message ?? "失败");
         }
       } catch (error) {
-
+        this.$message.error("失败");
       }
     },
   },

+ 3 - 3
src/views/systemSettings/views/sourceDataItemManagement/sourceDataItemEdit.vue

@@ -302,7 +302,7 @@ export default {
           this.$message.error(res.message ?? "失败");
         }
       } catch (error) {
-
+        this.$message.error("失败");
       }
     },
     //获取数据项列表
@@ -435,7 +435,7 @@ export default {
           this.$message.error(res.message ?? "失败");
         }
       } catch (error) {
-
+        this.$message.error("失败");
       }
       this.flag = false;
     },
@@ -497,7 +497,7 @@ export default {
           this.$message.error(res.message ?? "失败");
         }
       } catch (error) {
-
+        this.$message.error("失败");
       }
 
     },

+ 3 - 3
src/views/systemSettings/views/sourceDataItemManagement/sourceDataItemHome.vue

@@ -152,7 +152,7 @@ export default {
           this.$message.error(res.message ?? "失败");
         }
       } catch (error) {
-
+        this.$message.error("失败");
       }
     },
     // 新增-跳转
@@ -190,7 +190,7 @@ export default {
           this.$message.error(res.message ?? "失败");
         }
       } catch (error) {
-
+        this.$message.error("失败");
       }
     },
     // 删除-弹框
@@ -214,7 +214,7 @@ export default {
           this.$message.error(res.message ?? "失败");
         }
       } catch (error) {
-
+        this.$message.error("失败");
       }
     },
     // 重置

+ 3 - 3
src/views/systemSettings/views/targetDataManagement/targetDataEdit.vue

@@ -295,7 +295,7 @@ export default {
           this.$message.error(res.message ?? "失败");
         }
       } catch (error) {
-
+        this.$message.error("失败");
       }
     },
     async getDataList () {
@@ -427,7 +427,7 @@ export default {
           this.$message.error(res.message ?? "失败");
         }
       } catch (error) {
-
+        this.$message.error("失败");
       }
       this.flag = false;
     },
@@ -486,7 +486,7 @@ export default {
           this.$message.error(res.message ?? "失败");
         }
       } catch (error) {
-
+        this.$message.error("失败");
       }
 
     },

+ 3 - 3
src/views/systemSettings/views/targetDataManagement/targetDataHome.vue

@@ -158,7 +158,7 @@ export default {
           this.$message.error(res.message ?? "失败");
         }
       } catch (error) {
-
+        this.$message.error("失败");
       }
     },
     showAdd () {
@@ -191,7 +191,7 @@ export default {
           this.$message.error(res.message ?? "失败");
         }
       } catch (error) {
-
+        this.$message.error("失败");
       }
     },
     // 删除-弹框
@@ -215,7 +215,7 @@ export default {
           this.$message.error(res.message ?? "失败");
         }
       } catch (error) {
-
+        this.$message.error("失败");
       }
     },
     // 重置

+ 4 - 4
src/views/systemSettings/views/warningSet/warningEdit.vue

@@ -936,7 +936,7 @@ export default {
         } else {
           this.$message.error("操作失败");
         }
-      } catch (error) {}
+      } catch (error) {this.$message.error("失败");}
     },
     //编辑
     editup(data) {
@@ -960,7 +960,7 @@ export default {
         } else {
           this.$message.error(res.message);
         }
-      } catch (error) {}
+      } catch (error) {this.$message.error("失败");}
     },
     //选择二字码
     async getCharacterData() {
@@ -978,7 +978,7 @@ export default {
         } else {
           this.$message.error(res.message);
         }
-      } catch (error) {}
+      } catch (error) {this.$message.error("失败");}
     },
     // 列表滚动事件
     scrollEvent(e) {
@@ -1558,4 +1558,4 @@ export default {
     padding-bottom: 0;
   }
 }
-</style>
+</style>

+ 1 - 1
src/views/systemSettings/views/warningSet/warningSet.vue

@@ -567,7 +567,7 @@ export default {
         } else {
           this.$message.error(res.message);
         }
-      } catch (error) {}
+      } catch (error) {this.$message.error("失败");}
     },
   },
 };