密码修改

This commit is contained in:
仲么了
2024-01-29 13:57:52 +08:00
parent 7cfa3c0a9e
commit a0c582e1dd
11 changed files with 391 additions and 226 deletions

View File

@@ -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)
}