|
@ -4,7 +4,7 @@ import ElementPlus from 'element-plus' |
|
|
import { ElMessage, ElMessageBox } from 'element-plus' |
|
|
import { ElMessage, ElMessageBox } from 'element-plus' |
|
|
import axios from 'axios' |
|
|
import axios from 'axios' |
|
|
import moment from 'moment' |
|
|
import moment from 'moment' |
|
|
import { UserFilled } from '@element-plus/icons-vue' |
|
|
|
|
|
|
|
|
import { UserFilled, InfoFilled } from '@element-plus/icons-vue' |
|
|
import _ from 'lodash' |
|
|
import _ from 'lodash' |
|
|
import request from '@/util/http' |
|
|
import request from '@/util/http' |
|
|
|
|
|
|
|
@ -343,6 +343,7 @@ const editStatus = async function (row) { |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 挂载 |
|
|
// 挂载 |
|
|
onMounted(async function () { |
|
|
onMounted(async function () { |
|
|
await get() |
|
|
await get() |
|
@ -415,7 +416,7 @@ const handleCurrentChange = function (val) { |
|
|
<el-table-column prop="roleName" label="部门权限"> |
|
|
<el-table-column prop="roleName" label="部门权限"> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
<el-table-column prop="remark" label="备注" /> |
|
|
<el-table-column prop="remark" label="备注" /> |
|
|
<el-table-column prop="operation" label="操作" width="200px"> |
|
|
|
|
|
|
|
|
<el-table-column prop="operation" label="操作" width="300px" align="center"> |
|
|
<template #default="scope"> |
|
|
<template #default="scope"> |
|
|
<el-button type="warning" text @click="permissionEditInit(scope.row)" |
|
|
<el-button type="warning" text @click="permissionEditInit(scope.row)" |
|
|
:disabled="scope.row.adminStatus === 0"> |
|
|
:disabled="scope.row.adminStatus === 0"> |
|
@ -585,8 +586,14 @@ const handleCurrentChange = function (val) { |
|
|
</div> |
|
|
</div> |
|
|
</template> |
|
|
</template> |
|
|
</el-dialog> |
|
|
</el-dialog> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</template> |
|
|
</template> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<style scoped> |
|
|
<style scoped> |
|
|
.permissionVisible { |
|
|
.permissionVisible { |
|
|
font-size: 16px; |
|
|
font-size: 16px; |
|
|