密码修改
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
label-position="left"
|
||||
:inline="true"
|
||||
class="table-com-search-form"
|
||||
:label-width="90"
|
||||
:label-width="labelWidth"
|
||||
>
|
||||
<el-form-item label="区域" v-if="area">
|
||||
<Area ref="areaRef" v-model="tableStore.table.params.deptIndex" />
|
||||
@@ -52,7 +52,7 @@ const tableHeader = ref()
|
||||
const datePickerRef = ref()
|
||||
const dictData = useDictData()
|
||||
const areaRef = ref()
|
||||
|
||||
const labelWidth = ref('')
|
||||
interface Props {
|
||||
datePicker?: boolean
|
||||
area?: boolean
|
||||
@@ -103,9 +103,11 @@ const showSelectChange = () => {
|
||||
// 把dom(id=header-form)插入到table-com-search1或者table-com-search2
|
||||
const dom = document.getElementById('header-form') as HTMLElement
|
||||
if (showSelect.value) {
|
||||
labelWidth.value = '90'
|
||||
const dom1 = document.getElementById('table-com-search1') as HTMLElement
|
||||
dom1.appendChild(dom)
|
||||
} else {
|
||||
labelWidth.value = ''
|
||||
const dom2 = document.getElementById('table-com-search2') as HTMLElement
|
||||
dom2.appendChild(dom)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user