修改用户台账录入页面

This commit is contained in:
GGJ
2025-03-25 10:20:24 +08:00
parent d6b92db9c8
commit 489dbac38c
5 changed files with 166 additions and 4 deletions

View File

@@ -66,10 +66,14 @@ const loading = ref(false)
const areaOptionList = dictData.getBasicData('jibei_area')
const { push, options, currentRoute } = useRouter()
import { useAdminInfo } from '@/stores/adminInfo'
defineOptions({
name: 'BusinessAdministrator/TerminalManagement/userLedger'
})
//获取登陆用户姓名和部门
const adminInfo = useAdminInfo()
const tableStore = new TableStore({
url: '/supervision-boot/userReport/getInterferenceUserPage',
url: '/supervision-boot/userReport/getUserLedgerPage',
// publicHeight: 65,
method: 'POST',
column: [
@@ -98,7 +102,14 @@ const tableStore = new TableStore({
},
{ field: 'responsibleDepartment', title: '归口管理部门', minWidth: 130 },
{
field: 'createBy',
title: '创建人',
minWidth: 80,
formatter: (row: any) => {
return dictData.state.userList.filter(item => item.id == row.cellValue)[0]?.name
}
},
{
title: '操作',
minWidth: 150,
@@ -122,7 +133,9 @@ const tableStore = new TableStore({
type: 'primary',
icon: 'el-icon-Open',
render: 'basicButton',
disabled: row => {
return !(row.status == 0)
},
click: row => {