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

@@ -179,6 +179,7 @@ const schema = computed(() => {
colProps: {
span: 24
},
labelWidth:'left',
component: () => (
<div>
{
@@ -195,6 +196,7 @@ const schema = computed(() => {
colProps: {
span: 24
},
labelWidth:'left',
component: () => (
<div>
{
@@ -211,6 +213,7 @@ const schema = computed(() => {
colProps: {
span: 24
},
labelWidth:'left',
component: () => (
<div>
{
@@ -228,6 +231,7 @@ const schema = computed(() => {
colProps: {
span: 24
},
labelWidth:'left',
component: () => (
<div>
{
@@ -253,6 +257,7 @@ const schema = computed(() => {
colProps: {
span: 24
},
labelWidth:'left',
component: () => (
<div>
{
@@ -270,6 +275,7 @@ const schema = computed(() => {
colProps: {
span: 24
},
labelWidth:'left',
component: () => (
<div>
{
@@ -295,6 +301,7 @@ const schema = computed(() => {
colProps: {
span: 24
},
labelWidth:'left',
component: () => (
<div>
{
@@ -320,6 +327,7 @@ const schema = computed(() => {
colProps: {
span: 24
},
labelWidth:'left',
component: () => (
<div>
{

View File

@@ -4,7 +4,7 @@
<div v-loading="loading" style="padding: 0 10px;">
<baseTitle title="专项资金详情"></baseTitle>
<el-form :model="formData" ref="form" label-width="auto">
<el-form :model="formData" ref="form" label-width="left">
<el-row>
<el-col :span="24">
<el-form-item label="专项名称">
@@ -101,6 +101,7 @@ import {getFundDetailProcess} from "@/api/special-fund";
import OpinionMoblie from "./OpinionMoblie.vue";
const processStore = useProcessStore()
const route = useRoute()
const router = useRouter()
const changeDiagram = ref(false)
const fundData = ref({})
const formData = ref({})
@@ -114,12 +115,13 @@ const projectTable = reactive({
type: 'index',
label: '序号',
align: 'center',
width: 120
width: 85
},
{
prop: 'projectName',
label: '项目名称',
align: 'center',
width: 200,
},
{
prop: 'specialFundAmount',
@@ -132,18 +134,19 @@ const projectTable = reactive({
{
prop: 'startTime',
label: '项目时间',
align: 'center'
},
{
prop: 'oper',
label: '操作',
align: 'center',
currentRender: ({row, index}) => {
return (
<el-button type="primary" link onClick={() => handleView(row)}>查看</el-button>
)
}
}
width: 150,
},
// {
// prop: 'oper',
// label: '操作',
// align: 'center',
// // currentRender: ({row, index}) => {
// // return (
// // <el-button type="primary" link onClick={() => handleView(row)}>查看</el-button>
// // )
// // }
// }
]
})
const fileTable = reactive({
@@ -159,6 +162,7 @@ const fileTable = reactive({
prop: 'originalFileName',
label: '文件名',
align: 'center',
width: 160,
},
{
prop: 'tag',