feat: 新增移动端适配详情

This commit is contained in:
wenhua
2024-06-27 23:35:05 +08:00
parent 8684132fc7
commit a943687afe
13 changed files with 1106 additions and 79 deletions

View File

@@ -1,5 +1,5 @@
<template>
<el-form :model="formData" ref="applyForm" label-width="auto" :rules="rules">
<el-form :model="formData" ref="applyForm" label-width="auto" :rules="rules" label-position="top">
<el-row>
<el-col :span="24">
<el-form-item :label="label" prop="attachment">

View File

@@ -1,13 +1,15 @@
<template>
<el-form-item :label="title" v-if="fileListShow === 'READ' || fileListShow === 'EDIT'">
<file-upload @getFile="getOtherFile" v-if="fileListShow === 'EDIT'"/>
<fvTable style="width: 100%;max-height: 300px;" v-if="processViewer" :tableConfig="tableConfig"
:data="_value" :isSettingCol="false" :pagination="false">
<template #empty>
<el-empty :image-size="90" description="暂无数据" style="padding: 0"/>
</template>
</fvTable>
</el-form-item>
<el-form :label-position="labelAlign">
<el-form-item :label="title" v-if="fileListShow === 'READ' || fileListShow === 'EDIT'" :label-position="labelAlign">
<file-upload @getFile="getOtherFile" v-if="fileListShow === 'EDIT'"/>
<fvTable style="width: 100%;max-height: 300px;" v-if="processViewer" :tableConfig="tableConfig"
:data="_value" :isSettingCol="false" :pagination="false">
<template #empty>
<el-empty :image-size="90" description="暂无数据" style="padding: 0"/>
</template>
</fvTable>
</el-form-item>
</el-form>
</template>
<script setup lang="jsx">
@@ -35,6 +37,10 @@ const props = defineProps({
type: Boolean,
default: false
},
labelAlign: {
type: String,
default: 'left'
}
})
const emit = defineEmits(['update:value'])
const tableConfig = reactive({