|
@@ -209,12 +209,8 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column class-name="status-col" label="权限级别" align="center">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-tag v-show="scope.row.type === 1" effect="dark" type="success"
|
|
|
- >超级管理员</el-tag
|
|
|
- >
|
|
|
- <el-tag v-show="scope.row.type === 2" effect="dark" type=""
|
|
|
- >省级超管员</el-tag
|
|
|
- >
|
|
|
+ <el-tag v-show="scope.row.type === 1" effect="dark" type="success">超级管理员</el-tag>
|
|
|
+ <el-tag v-show="scope.row.type === 2" effect="dark" type="">省级超管员</el-tag>
|
|
|
<el-tag v-show="scope.row.type === 3" type="">省级管理员</el-tag>
|
|
|
<el-tag v-show="scope.row.type === 4" type="">市级管理员</el-tag>
|
|
|
<el-tag v-show="scope.row.type === 5" type="">区级管理员</el-tag>
|
|
@@ -222,21 +218,17 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column class-name="status-col" label="账号类别" align="center">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-tag effect="plain" type="success" v-if="scope.row.tagName">{{
|
|
|
- scope.row.tagName
|
|
|
- }}</el-tag>
|
|
|
- <el-tag effect="dark" type="success" v-else>省级超管</el-tag>
|
|
|
+ <el-tag v-if="scope.row.tagName" effect="plain" type="success">
|
|
|
+ {{ scope.row.tagName }}
|
|
|
+ </el-tag>
|
|
|
+ <el-tag v-else effect="dark" type="success">省级超管</el-tag>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column class-name="status-col" label="导出权限" align="center">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-tag effect="plain" type="success" v-if="scope.row.isOut == 1"
|
|
|
- >开启</el-tag
|
|
|
- >
|
|
|
- <el-tag effect="plain" type="info" v-else-if="scope.row.isOut == 2"
|
|
|
- >停用</el-tag
|
|
|
- >
|
|
|
- <el-tag effect="plain" type="info" v-else>未知</el-tag>
|
|
|
+ <el-tag v-if="scope.row.isOut == 1" effect="plain" type="success">开启</el-tag>
|
|
|
+ <el-tag v-else-if="scope.row.isOut == 2" effect="plain" type="info">停用</el-tag>
|
|
|
+ <el-tag v-else effect="plain" type="info">未知</el-tag>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column class-name="status-col" label="是否脱敏" align="center">
|
|
@@ -2129,11 +2121,11 @@ export default {
|
|
|
},
|
|
|
'user_form.clockWayType'(n) {
|
|
|
// 选择钉钉或通用清除另一个
|
|
|
- if (n !== 2) {
|
|
|
+ if (n !== '2') {
|
|
|
this.user_form.dingtalkAppKey = ''
|
|
|
this.user_form.dingtalkAppSecret = ''
|
|
|
}
|
|
|
- if (n !== 1) {
|
|
|
+ if (n !== '1') {
|
|
|
this.user_form.clockWayPushUrl = null
|
|
|
this.user_form.punchReportFieldsConfig = []
|
|
|
}
|