mirror of https://gitee.com/xiaonuobase/snowy
【优化】优化操作栏目取消固定宽度,自适应,优化其他一些问题
parent
f8df4d7e8f
commit
3744162982
|
@ -65,7 +65,6 @@
|
|||
{
|
||||
title: '操作',
|
||||
dataIndex: 'action',
|
||||
width: '150px',
|
||||
fixed: 'right',
|
||||
scopedSlots: { customRender: 'action' }
|
||||
}
|
||||
|
|
|
@ -65,7 +65,6 @@
|
|||
{
|
||||
title: '操作',
|
||||
dataIndex: 'action',
|
||||
width: '150px',
|
||||
fixed: 'right',
|
||||
scopedSlots: { customRender: 'action' }
|
||||
}
|
||||
|
|
|
@ -114,8 +114,7 @@
|
|||
title: '操作',
|
||||
dataIndex: 'action',
|
||||
align: 'center',
|
||||
fixed: 'right',
|
||||
width: '150px'
|
||||
fixed: 'right'
|
||||
})
|
||||
}
|
||||
// 定义tableDOM
|
||||
|
|
|
@ -107,8 +107,7 @@
|
|||
title: '操作',
|
||||
dataIndex: 'action',
|
||||
align: 'center',
|
||||
fixed: 'right',
|
||||
width: 220
|
||||
fixed: 'right'
|
||||
})
|
||||
}
|
||||
const selectedRowKeys = ref([])
|
||||
|
|
|
@ -186,8 +186,7 @@
|
|||
title: '操作',
|
||||
dataIndex: 'action',
|
||||
align: 'center',
|
||||
fixed: 'right',
|
||||
width: '200px'
|
||||
fixed: 'right'
|
||||
})
|
||||
}
|
||||
const selectedRowKeys = ref([])
|
||||
|
|
|
@ -135,8 +135,7 @@
|
|||
title: '操作',
|
||||
dataIndex: 'action',
|
||||
align: 'center',
|
||||
fixed: 'right',
|
||||
width: '150px'
|
||||
fixed: 'right'
|
||||
})
|
||||
}
|
||||
const selectedRowKeys = ref([])
|
||||
|
|
|
@ -135,8 +135,7 @@
|
|||
title: '操作',
|
||||
dataIndex: 'action',
|
||||
align: 'center',
|
||||
fixed: 'right',
|
||||
width: '150px'
|
||||
fixed: 'right'
|
||||
})
|
||||
}
|
||||
let selectedRowKeys = ref([])
|
||||
|
|
|
@ -235,8 +235,7 @@
|
|||
title: '操作',
|
||||
dataIndex: 'action',
|
||||
align: 'center',
|
||||
fixed: 'right',
|
||||
width: '220px'
|
||||
fixed: 'right'
|
||||
})
|
||||
}
|
||||
const toolConfig = { refresh: true, height: true, columnSetting: true }
|
||||
|
|
|
@ -73,7 +73,6 @@
|
|||
title: '操作',
|
||||
key: 'action',
|
||||
fixed: 'right',
|
||||
width: '150px',
|
||||
scopedSlots: { customRender: 'action' }
|
||||
}
|
||||
]
|
||||
|
|
|
@ -64,8 +64,7 @@
|
|||
title: '操作',
|
||||
dataIndex: 'action',
|
||||
align: 'center',
|
||||
fixed: 'right',
|
||||
width: '150px'
|
||||
fixed: 'right'
|
||||
}
|
||||
]
|
||||
const selectedRowKeys = ref([])
|
||||
|
|
|
@ -129,7 +129,6 @@
|
|||
title: '操作',
|
||||
dataIndex: 'action',
|
||||
align: 'center',
|
||||
fixed: 'right',
|
||||
width: '150px'
|
||||
}
|
||||
]
|
||||
|
@ -139,6 +138,7 @@
|
|||
// 定义tableDOM
|
||||
const tableRef = ref(null)
|
||||
const formRef = ref()
|
||||
const cardLoading = ref(true)
|
||||
const searchFormRef = ref()
|
||||
const searchFormState = ref({})
|
||||
// 默认展开的节点
|
||||
|
@ -189,6 +189,8 @@
|
|||
if (res) {
|
||||
treeData.value = res
|
||||
}
|
||||
}).finally(() => {
|
||||
cardLoading.value = false
|
||||
})
|
||||
}
|
||||
// 点击树查询
|
||||
|
|
|
@ -123,8 +123,7 @@
|
|||
title: '操作',
|
||||
dataIndex: 'action',
|
||||
align: 'center',
|
||||
fixed: 'right',
|
||||
width: '150px'
|
||||
fixed: 'right'
|
||||
}
|
||||
]
|
||||
let selectedRowKeys = ref([])
|
||||
|
|
|
@ -176,8 +176,7 @@
|
|||
title: '操作',
|
||||
dataIndex: 'action',
|
||||
align: 'center',
|
||||
fixed: 'right',
|
||||
width: 220
|
||||
fixed: 'right'
|
||||
}
|
||||
]
|
||||
const selectedRowKeys = ref([])
|
||||
|
|
|
@ -153,8 +153,7 @@
|
|||
title: '操作',
|
||||
dataIndex: 'action',
|
||||
align: 'center',
|
||||
fixed: 'right',
|
||||
width: '220px'
|
||||
fixed: 'right'
|
||||
}
|
||||
]
|
||||
let selectedRowKeys = ref([])
|
||||
|
|
|
@ -125,8 +125,7 @@
|
|||
title: '操作',
|
||||
dataIndex: 'action',
|
||||
align: 'center',
|
||||
fixed: 'right',
|
||||
width: '100px'
|
||||
fixed: 'right'
|
||||
}
|
||||
]
|
||||
// 获取日志详情
|
||||
|
|
|
@ -118,8 +118,7 @@
|
|||
title: '操作',
|
||||
dataIndex: 'action',
|
||||
align: 'center',
|
||||
fixed: 'right',
|
||||
width: '100px'
|
||||
fixed: 'right'
|
||||
}
|
||||
]
|
||||
// 切换应用标签查询
|
||||
|
|
|
@ -94,8 +94,7 @@
|
|||
title: '操作',
|
||||
dataIndex: 'action',
|
||||
align: 'center',
|
||||
fixed: 'right',
|
||||
width: '150px'
|
||||
fixed: 'right'
|
||||
}
|
||||
]
|
||||
const selectedRowKeys = ref([])
|
||||
|
|
|
@ -125,8 +125,7 @@
|
|||
title: '操作',
|
||||
dataIndex: 'action',
|
||||
align: 'center',
|
||||
fixed: 'right',
|
||||
width: '150px'
|
||||
fixed: 'right'
|
||||
}
|
||||
]
|
||||
let selectedRowKeys = ref([])
|
||||
|
|
|
@ -159,8 +159,7 @@
|
|||
title: '操作',
|
||||
dataIndex: 'action',
|
||||
align: 'center',
|
||||
fixed: 'right',
|
||||
width: '150px'
|
||||
fixed: 'right'
|
||||
}
|
||||
]
|
||||
const detailsColumns = [
|
||||
|
|
|
@ -130,8 +130,7 @@
|
|||
title: '操作',
|
||||
dataIndex: 'action',
|
||||
align: 'center',
|
||||
fixed: 'right',
|
||||
width: '150px'
|
||||
fixed: 'right'
|
||||
}
|
||||
]
|
||||
let selectedRowKeys = ref([])
|
||||
|
|
|
@ -106,8 +106,7 @@
|
|||
title: '操作',
|
||||
dataIndex: 'action',
|
||||
align: 'center',
|
||||
fixed: 'right',
|
||||
width: '220px'
|
||||
fixed: 'right'
|
||||
}
|
||||
]
|
||||
// 表格查询 返回 Promise 对象
|
||||
|
|
|
@ -155,8 +155,7 @@
|
|||
title: '操作',
|
||||
dataIndex: 'action',
|
||||
align: 'center',
|
||||
fixed: 'right',
|
||||
width: 200
|
||||
fixed: 'right'
|
||||
}
|
||||
]
|
||||
let selectedRowKeys = ref([])
|
||||
|
|
|
@ -110,8 +110,7 @@
|
|||
title: '操作',
|
||||
dataIndex: 'action',
|
||||
align: 'center',
|
||||
fixed: 'right',
|
||||
width: '200px'
|
||||
fixed: 'right'
|
||||
}
|
||||
]
|
||||
let selectedRowKeys = ref([])
|
||||
|
|
|
@ -116,8 +116,7 @@ const columns = [
|
|||
title: '操作',
|
||||
dataIndex: 'action',
|
||||
align: 'center',
|
||||
fixed: 'right',
|
||||
width: 220
|
||||
fixed: 'right'
|
||||
}
|
||||
]
|
||||
const selectedRowKeys = ref([])
|
||||
|
|
|
@ -133,8 +133,7 @@ const columns = [
|
|||
title: '操作',
|
||||
dataIndex: 'action',
|
||||
align: 'center',
|
||||
fixed: 'right',
|
||||
width: '150px'
|
||||
fixed: 'right'
|
||||
}
|
||||
]
|
||||
const selectedRowKeys = ref([])
|
||||
|
|
|
@ -134,8 +134,7 @@ const columns = [
|
|||
title: '操作',
|
||||
dataIndex: 'action',
|
||||
align: 'center',
|
||||
fixed: 'right',
|
||||
width: '150px'
|
||||
fixed: 'right'
|
||||
}
|
||||
]
|
||||
const selectedRowKeys = ref([])
|
||||
|
|
|
@ -187,7 +187,6 @@
|
|||
{
|
||||
title: '操作',
|
||||
dataIndex: 'action',
|
||||
width: '200px',
|
||||
fixed: 'right',
|
||||
scopedSlots: { customRender: 'action' }
|
||||
}
|
||||
|
|
|
@ -107,8 +107,7 @@
|
|||
title: '操作',
|
||||
dataIndex: 'action',
|
||||
align: 'center',
|
||||
fixed: 'right',
|
||||
width: '200px'
|
||||
fixed: 'right'
|
||||
}
|
||||
]
|
||||
let selectedRowKeys = ref([])
|
||||
|
|
|
@ -175,8 +175,7 @@
|
|||
title: '操作',
|
||||
dataIndex: 'action',
|
||||
align: 'center',
|
||||
fixed: 'right',
|
||||
width: '200px'
|
||||
fixed: 'right'
|
||||
}
|
||||
]
|
||||
const selectedRowKeys = ref([])
|
||||
|
|
|
@ -252,8 +252,7 @@ const columns = [
|
|||
title: '操作',
|
||||
dataIndex: 'action',
|
||||
align: 'center',
|
||||
fixed: 'right',
|
||||
width: '220px'
|
||||
fixed: 'right'
|
||||
}
|
||||
]
|
||||
const statusData = tool.dictList('COMMON_STATUS')
|
||||
|
|
|
@ -61,8 +61,7 @@
|
|||
{
|
||||
title: '操作',
|
||||
dataIndex: 'action',
|
||||
fixed: 'right',
|
||||
width: '100px'
|
||||
fixed: 'right'
|
||||
}
|
||||
]
|
||||
const loadData = (parameter) => {
|
||||
|
|
|
@ -214,8 +214,7 @@
|
|||
title: '操作',
|
||||
dataIndex: 'action',
|
||||
align: 'center',
|
||||
fixed: 'right',
|
||||
width: 150
|
||||
fixed: 'right'
|
||||
})
|
||||
}
|
||||
const selectedRowKeys = ref([])
|
||||
|
|
Loading…
Reference in New Issue