diff --git a/README.md b/README.md index 4f6703c..5953b02 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ @@ -118,4 +118,5 @@ IMPROVEMENT `2021年12月23日` IMPROVEMENT - 优化 用户例外和告警查询的搜索条件 -- 修复 用户例外弹窗标题显示错误的问题 \ No newline at end of file +- 修复 用户例外弹窗标题显示错误的问题 +- 修改 用户和通用例外状态选择显示 \ No newline at end of file diff --git a/src/utils/checkout-status-to-num.js b/src/utils/checkout-status-to-num.js index abe71a1..2a734e1 100644 --- a/src/utils/checkout-status-to-num.js +++ b/src/utils/checkout-status-to-num.js @@ -1,16 +1,16 @@ /* * @Date: 2021-12-07 10:45:23 * @LastEditors: JinxuChen - * @LastEditTime: 2021-12-22 17:47:00 + * @LastEditTime: 2021-12-23 11:23:00 * @FilePath: \GpsCardAdmin\src\utils\checkout-status-to-num.js * @description: 将接口里面的kindId转化为文字 */ exports.install = function (Vue, options) { Vue.prototype.checkoutStatusToNum = function (value) { if (value === true) { - return 2 - } else if (value === false) { return 1 + } else if (value === false) { + return 0 } } } diff --git a/src/views/off-limits-manage/alarm-recognition/index.vue b/src/views/off-limits-manage/alarm-recognition/index.vue index 15bd2d4..608304d 100644 --- a/src/views/off-limits-manage/alarm-recognition/index.vue +++ b/src/views/off-limits-manage/alarm-recognition/index.vue @@ -1,7 +1,7 @@ @@ -102,7 +102,7 @@ - + diff --git a/src/views/off-limits-manage/common-exception/index.vue b/src/views/off-limits-manage/common-exception/index.vue index c43f059..0af8a1a 100644 --- a/src/views/off-limits-manage/common-exception/index.vue +++ b/src/views/off-limits-manage/common-exception/index.vue @@ -1,7 +1,7 @@ @@ -104,7 +104,7 @@ - + @@ -81,7 +81,7 @@ - +