Browse Source

Merge branch 'bugfix-status' into develop

master
2183691628 2 years ago
parent
commit
ef8c4c0a3a
2 changed files with 4 additions and 4 deletions
  1. +2
    -2
      src/utils/checkout-status-to-num.js
  2. +2
    -2
      src/views/off-limits-manage/user-exception/index.vue

+ 2
- 2
src/utils/checkout-status-to-num.js View File

@@ -1,14 +1,14 @@
/*
* @Date: 2021-12-07 10:45:23
* @LastEditors: JinxuChen
* @LastEditTime: 2021-12-23 11:23:00
* @LastEditTime: 2021-12-23 11:41:43
* @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 1
return 2
} else if (value === false) {
return 0
}


+ 2
- 2
src/views/off-limits-manage/user-exception/index.vue View File

@@ -1,7 +1,7 @@
<!--
* @Date: 2021-11-30 09:44:24
* @LastEditors: JinxuChen
* @LastEditTime: 2021-12-23 11:29:20
* @LastEditTime: 2021-12-23 11:43:25
* @FilePath: \GpsCardAdmin\src\views\off-limits-manage\user-exception\index.vue
* @description:
-->
@@ -335,7 +335,7 @@ export default {
console.log("row", row);
this.dialogTrans = true;
this.content = row.content;
this.form.status = row.status === '启用' ? 1 : 0;
this.form.status = row.status === '启用' ? 2 : 0;
},
// 确定转通用例外
onTransConfirm() {


Loading…
Cancel
Save