diff --git a/src/views/user/index.vue b/src/views/user/index.vue
index 6aedae9..84e57d7 100644
--- a/src/views/user/index.vue
+++ b/src/views/user/index.vue
@@ -2,8 +2,8 @@
用户管理
{{
- scope.row.is_enabled === 1 ? '启用' : '未启用'
- }}
+ scope.row.is_enabled === 1 ? '启用' : '未启用'
+ }}
@@ -106,7 +106,7 @@
编辑
录入人脸
-
+
分配功能权限
@@ -155,7 +155,7 @@
@change="(val) => handleCheckAllChange(val,'drug_module_id')"
>全选
-
+
handleCheckedCitiesChange(val,'drug_module_id')"
@@ -172,7 +172,7 @@
@change="(val) =>handleCheckAllChange(val,'client_module_id')"
>全选
-
+
handleCheckedCitiesChange(val,'client_module_id')"
@@ -189,7 +189,7 @@
@change="(val) =>handleCheckAllChange(val,'standard_module_id')"
>全选
-
+
handleCheckedCitiesChange(val,'standard_module_id')"
@@ -206,7 +206,7 @@
@change="(val) =>handleCheckAllChange(val,'consumables_module_id')"
>全选
-
+
handleCheckedCitiesChange(val,'consumables_module_id')"
@@ -223,7 +223,7 @@
@change="(val) =>handleCheckAllChange(val,'instrument_module_id')"
>全选
-
+
handleCheckedCitiesChange(val,'instrument_module_id')"
@@ -278,11 +278,11 @@ import {
update
} from '@/api/user/user'
import stringify from '@/utils/stringify'
-import {throttle, web_stream as webStream} from '@/utils'
+import { throttle, web_stream as webStream } from '@/utils'
export default {
name: 'User',
- components: {UserForm},
+ components: { UserForm },
data() {
return {
// 全选相关
@@ -299,7 +299,7 @@ export default {
tableData: [],
manageer: null,
- headerStyle: {'background': '#E6E6E6'},
+ headerStyle: { 'background': '#E6E6E6' },
dialogVisible: false,
userFormTitle: '',
userFormData: {},
@@ -467,7 +467,7 @@ export default {
this.roleDialogVisible = true
this.tabsLoading = true
this.formData.user_id = row.user_id
- get_user_power_list(stringify({'user_id': row.user_id})).then(res => {
+ get_user_power_list(stringify({ 'user_id': row.user_id })).then(res => {
// client_manage: [{have: 1, module_code: "MyDrug", module_id: "43272548-116f-11ed-8d0e-f47b094925e5",…},…]
// consumables_manage: []
// drug_manage: [{have: 1, module_code: "DrugScanBarCode", module_id: "4327254a-116f-11ed-8d11-f47b094925e5",…},…]
@@ -493,7 +493,7 @@ export default {
cancelButtonText: '取消',
type: 'warning'
}).then(() =>
- del(stringify({'user_id': this.multipleSelection[0].user_id})).then(
+ del(stringify({ 'user_id': this.multipleSelection[0].user_id })).then(
res => {
this.$message.success({
type: 'success',
@@ -542,7 +542,7 @@ export default {
instrument_module_id: []
}
},
- handleFaceCancel: throttle(function () {
+ handleFaceCancel: throttle(function() {
faceStop().then(
res => {
console.log(res)