From 80b772d10232af7883f2fc752243bf601b4f91f9 Mon Sep 17 00:00:00 2001 From: 2183691628 <2183691628@qq.com> Date: Thu, 23 Dec 2021 11:35:45 +0800 Subject: [PATCH] =?UTF-8?q?-=20=E4=BF=AE=E6=94=B9=20=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E5=92=8C=E9=80=9A=E7=94=A8=E4=BE=8B=E5=A4=96=E7=8A=B6=E6=80=81?= =?UTF-8?q?=E9=80=89=E6=8B=A9=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 5 +++-- src/utils/checkout-status-to-num.js | 6 +++--- .../off-limits-manage/alarm-recognition/index.vue | 4 ++-- .../off-limits-manage/common-exception/index.vue | 10 +++++----- src/views/off-limits-manage/user-exception/index.vue | 12 ++++++------ 5 files changed, 19 insertions(+), 18 deletions(-) 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 @@ - +