diff --git a/src/stores/modules/dict.ts b/src/stores/modules/dict.ts index 40f49fd9..4547615d 100644 --- a/src/stores/modules/dict.ts +++ b/src/stores/modules/dict.ts @@ -68,6 +68,7 @@ export const useDictStore = defineStore('dict', { } }, getDictByType(type: string) { + console.log("🚀 ~ type:", type) if (!this.isSetDict) { this.setDictMap() } diff --git a/src/utils/dict.ts b/src/utils/dict.ts index 37aad748..5a9fa5dd 100644 --- a/src/utils/dict.ts +++ b/src/utils/dict.ts @@ -40,6 +40,7 @@ export const getIntDictOptions = (dictType: string): NumberDictDataType[] => { value: parseInt(dict.value + '') }) }) + console.log("🚀 ~ getIntDictOptions ~ dictOption:", dictOption) return dictOption } diff --git a/src/views/pqs/auditManage/auditList/index.vue b/src/views/pqs/auditManage/auditList/index.vue index abde1876..fbadad74 100644 --- a/src/views/pqs/auditManage/auditList/index.vue +++ b/src/views/pqs/auditManage/auditList/index.vue @@ -146,7 +146,7 @@ const tableStore: any = new TableStore({ { field: 'describe', title: '事件描述' }, { field: 'type', title: '事件类型', sortable: true }, { field: 'result', title: '操作结果', sortable: true }, - { field: 'ip', title: '操作IP' }, + { field: 'ip', title: '操作IP' ,width:'120px'}, { field: 'level', title: '事件等级', sortable: true } ], loadCallback: () => { diff --git a/src/views/pqs/auditManage/userInfo/index.vue b/src/views/pqs/auditManage/userInfo/index.vue index 64ab13d2..c2a653d9 100644 --- a/src/views/pqs/auditManage/userInfo/index.vue +++ b/src/views/pqs/auditManage/userInfo/index.vue @@ -26,7 +26,7 @@ const tableStore: any = new TableStore({ method: 'POST', column: [ { field: 'userName', title: '登录用户' }, - { field: 'ip', title: '登录ip' }, + { field: 'ip', title: '登录ip' ,width:'120px'}, { field: 'time', title: '登录时间' } ] }) diff --git a/src/views/pqs/business/terminal/FrontManagement/index.vue b/src/views/pqs/business/terminal/FrontManagement/index.vue index 6c3ab035..a7088b58 100644 --- a/src/views/pqs/business/terminal/FrontManagement/index.vue +++ b/src/views/pqs/business/terminal/FrontManagement/index.vue @@ -270,7 +270,7 @@ const tableStore = new TableStore({ method: 'POST', column: [ { title: '名称', field: 'name' }, - { title: 'IP', field: 'ip' }, + { title: 'IP', field: 'ip' ,width:'120px' }, { title: '等级', field: 'nodeGrade', @@ -332,29 +332,29 @@ const tableStore = new TableStore({ formData.value = JSON.parse(JSON.stringify(row)) } }, - { - name: 'edit', - title: '重启', - type: 'warning', - icon: 'el-icon-Delete', - render: 'confirmButton', - popconfirm: { - confirmButtonText: '确认', - cancelButtonText: '取消', - confirmButtonType: 'warning', - title: '确定重启吗?' - }, - click: row => { - askRestartProcess({ - deviceRebootType: null, - nodeId: row.id, - processNo: 1 - }).then(res => { - ElMessage.success('重启成功') - tableStore.index() - }) - } - }, + // { + // name: 'edit', + // title: '重启', + // type: 'warning', + // icon: 'el-icon-Delete', + // render: 'confirmButton', + // popconfirm: { + // confirmButtonText: '确认', + // cancelButtonText: '取消', + // confirmButtonType: 'warning', + // title: '确定重启吗?' + // }, + // click: row => { + // askRestartProcess({ + // deviceRebootType: null, + // nodeId: row.id, + // processNo: 1 + // }).then(res => { + // ElMessage.success('重启成功') + // tableStore.index() + // }) + // } + // }, { name: 'del', diff --git a/src/views/pqs/business/terminal/TerminalManagement/components/disposition.vue b/src/views/pqs/business/terminal/TerminalManagement/components/disposition.vue index c9075f05..3de7a332 100644 --- a/src/views/pqs/business/terminal/TerminalManagement/components/disposition.vue +++ b/src/views/pqs/business/terminal/TerminalManagement/components/disposition.vue @@ -25,7 +25,7 @@ :checkbox-config="{ labelField: 'name' }" > - + - +