去除日志,表格宽度

This commit is contained in:
sjl
2025-10-15 08:49:11 +08:00
parent b0ca84c8fd
commit 35f21b7140
38 changed files with 135 additions and 148 deletions

View File

@@ -468,14 +468,14 @@ const columns = reactive<ColumnProps<Device.ResPqDev>[]>([
{
prop: 'recheckNum',
label: '检测次数',
minWidth: 100,
minWidth: 110,
sortable: true,
isShow: modeStore.currentMode != '比对式'
},
{
prop: 'checkState',
label: '检测状态',
minWidth: 100,
minWidth: 110,
sortable: true,
isShow: checkStateShow,
render: scope => {
@@ -485,7 +485,7 @@ const columns = reactive<ColumnProps<Device.ResPqDev>[]>([
{
prop: 'checkResult',
label: '检测结果',
minWidth: 100,
minWidth: 110,
sortable: true,
render: scope => {
if (scope.row.checkResult === 0) {
@@ -501,7 +501,7 @@ const columns = reactive<ColumnProps<Device.ResPqDev>[]>([
{
prop: 'reportState',
label: '报告状态',
minWidth: 100,
minWidth: 110,
sortable: true,
render: scope => {
if (scope.row.reportState === 0) {
@@ -519,7 +519,7 @@ const columns = reactive<ColumnProps<Device.ResPqDev>[]>([
{
prop: 'factorCheckResult',
label: '系数校准结果',
minWidth: 100,
minWidth: 140,
sortable: true,
isShow: factorCheckShow.value && appSceneStore.currentScene === '1',
render: scope => {
@@ -595,7 +595,7 @@ const handleRefresh = () => {
// 表格排序
const sortTable = ({ newIndex, oldIndex }: { newIndex?: number; oldIndex?: number }) => {
console.log(newIndex, oldIndex) // 避免未使用参数警告
ElMessage.success('修改列表排序成功')
}