fix : 数据预览时左对齐

This commit is contained in:
2024-07-22 23:06:20 +08:00
parent 3c1fcc327c
commit 838f2edf7e
10 changed files with 59 additions and 29 deletions

View File

@@ -174,6 +174,7 @@ const schema = computed(() => {
colProps: {
span: 24
},
labelWidth:'left',
component: () => (
<div>
{
@@ -190,6 +191,7 @@ const schema = computed(() => {
colProps: {
span: 24
},
labelWidth:'left',
component: () => (
<div>
{
@@ -206,6 +208,7 @@ const schema = computed(() => {
colProps: {
span: 24
},
labelWidth:'left',
component: () => (
<div>
{
@@ -223,6 +226,7 @@ const schema = computed(() => {
colProps: {
span: 24
},
labelWidth:'left',
component: () => (
<div>
{
@@ -248,6 +252,7 @@ const schema = computed(() => {
colProps: {
span: 24
},
labelWidth:'left',
component: () => (
<div>
{
@@ -265,6 +270,7 @@ const schema = computed(() => {
colProps: {
span: 24
},
labelWidth:'left',
component: () => (
<div>
{
@@ -290,6 +296,7 @@ const schema = computed(() => {
colProps: {
span: 24
},
labelWidth:'left',
component: () => (
<div>
{
@@ -315,6 +322,7 @@ const schema = computed(() => {
colProps: {
span: 24
},
labelWidth:'left',
component: () => (
<div>
{

View File

@@ -1,6 +1,7 @@
<template>
<el-form :label-position="labelAlign">
<el-form-item :label="title?'其他文件':''" v-if="fileListShow === 'READ' || fileListShow === 'EDIT'" :label-position="labelAlign" :label-width="title?95:''">
<!-- :label-width="title?95:''"-->
<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: 162px;" v-if="processViewer" height="162" :tableConfig="tableConfig"
:data="_value" :isSettingCol="false" :pagination="false">