|
|
|
@ -1,10 +1,12 @@ |
|
|
|
<template> |
|
|
|
|
|
|
|
|
|
|
|
<!-- <el-input v-model="input" style="width: 240px" placeholder="" /> --> |
|
|
|
<el-select v-model="value1" placeholder="请选择" style="width: 240px" @change="asfValueChanged"> |
|
|
|
<div class="container"> |
|
|
|
<!-- <span style="font-size: 14px; margin-right: 12px;padding-top: 4px;" class="small-span" >{{ props.data.item?props.data.item.label:"关联表单" }}</span> --> |
|
|
|
<el-select v-model="value1" placeholder="请选择" class="big-span" @change="asfValueChanged"> |
|
|
|
<el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value" /> |
|
|
|
</el-select> |
|
|
|
</div> |
|
|
|
|
|
|
|
</template> |
|
|
|
|
|
|
|
@ -97,4 +99,19 @@ function getAsfDataTitles() { |
|
|
|
} |
|
|
|
</script> |
|
|
|
|
|
|
|
<style></style> |
|
|
|
<style> |
|
|
|
|
|
|
|
/* style="font-size: 14px; margin-right: 12px;" */ |
|
|
|
.container { |
|
|
|
display: flex; |
|
|
|
} |
|
|
|
|
|
|
|
.small-span { |
|
|
|
width: auto; /* 您可以根据需要调整第一个 span 的宽度比例 */ |
|
|
|
} |
|
|
|
|
|
|
|
.big-span { |
|
|
|
flex: 1; /* 第二个 span 占据剩余的所有宽度 */ |
|
|
|
} |
|
|
|
|
|
|
|
</style> |
|
|
|
|