diff --git a/src/views/Basic/User/index.vue b/src/views/Basic/User/index.vue index d448c63..5655409 100644 --- a/src/views/Basic/User/index.vue +++ b/src/views/Basic/User/index.vue @@ -50,6 +50,8 @@ v-model="scope.row.status" :active-value="0" :inactive-value="1" + active-text="在职" + inactive-text="离职" v-hasPermi="['basic:employee:update']" @change="handleStatusChange(scope.row)" /> diff --git a/src/views/Pers/Employee/index.vue b/src/views/Pers/Employee/index.vue index 0214cd3..88f48e3 100644 --- a/src/views/Pers/Employee/index.vue +++ b/src/views/Pers/Employee/index.vue @@ -41,6 +41,8 @@ v-model="scope.row.status" :active-value="0" :inactive-value="1" + active-text="在职" + inactive-text="离职" v-hasPermi="['pers:employee:update']" @change="handleStatusChange(scope.row)" />