|
|
|
@ -15,6 +15,7 @@ import { |
|
|
|
} from '@/api/lowCode/utils'; |
|
|
|
import validate from "@/api/lowCode/form/validate" |
|
|
|
import { AnalysisCss,AnalysisInputCss } from '@/api/common/cssInfo' //样式解析 |
|
|
|
import { useAttrs,computed, onMounted, nextTick,ref,watch,onBeforeMount} from 'vue' |
|
|
|
//辅助控件 |
|
|
|
import InputPage from '@/components/lowCode/assistant/inputPage.vue' |
|
|
|
import DigitpagePage from '@/components/lowCode/assistant/digitpage.vue' |
|
|
|
@ -62,6 +63,7 @@ const props = withDefaults( |
|
|
|
tablekey?:any |
|
|
|
numrun?:any |
|
|
|
rowIndex?:any |
|
|
|
tableinfo?:any |
|
|
|
}>(), |
|
|
|
{} |
|
|
|
) |
|
|
|
@ -406,6 +408,18 @@ const testPage = (val:any) =>{ |
|
|
|
console.log("刷新数据-------->", val); |
|
|
|
} |
|
|
|
|
|
|
|
const labelMaxWidth = computed(()=>{ |
|
|
|
if(props.data.type=='radio'){ |
|
|
|
if(props.tableinfo&&props.tableinfo.labelPosition&&props.tableinfo.labelPosition=='top'){ |
|
|
|
return "100%" |
|
|
|
}else{ |
|
|
|
return "150px" |
|
|
|
} |
|
|
|
}else{ |
|
|
|
return "150px" |
|
|
|
} |
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
</script> |
|
|
|
<template> |
|
|
|
@ -481,7 +495,7 @@ const testPage = (val:any) =>{ |
|
|
|
} |
|
|
|
:deep .el-form-item__label{ |
|
|
|
height: 100%; |
|
|
|
max-width: 150px; |
|
|
|
max-width: v-bind(labelMaxWidth); |
|
|
|
} |
|
|
|
} |
|
|
|
</style> |
|
|
|
|