fix : 优化移动端详情界面

This commit is contained in:
2024-06-30 00:00:16 +08:00
parent 2e9adb3248
commit 80aef38e7a
14 changed files with 44 additions and 38 deletions

View File

@@ -1,7 +1,7 @@
<template>
<div v-loading="loading">
<fvForm :schema="schema" @getInstance="(e)=>form = e"></fvForm>
<el-form :model="formData" label-width="auto">
<el-form :model="formData" label-width="auto" style="margin-top: -15px">
<file-component :title="getTagName(type)+'附件'" :tag="getTagName(type)"
v-model:value="formData.fileList" :processViewer="processViewer"
:file-list-show="fileListShow"/>
@@ -18,8 +18,8 @@
</el-form-item>
</div>
<div class="approval-record">
<div class="approval-title">
<baseTitle title="审批记录"></baseTitle>
<div class="approval-title" style="margin-top: -15px">
<baseTitle title="审批记录" ></baseTitle>
<div class="diagram">
<div class="base-title">流程图</div>
<el-switch

View File

@@ -157,7 +157,7 @@ const filterNode = (value, data) => {
const show = () => {
//用于弹开部门选择
visible.value = true;
console.log('_value.value', _value.value, selectList.value)
// console.log('_value.value', _value.value, selectList.value)
// if(selectList.value.length==0){
// selectList.value=[]
// defaultChecked.value =[]

View File

@@ -75,7 +75,7 @@ const objectSpanMethod = ({row, column, rowIndex, columnIndex}) => {
}
} else {
let length = Object.keys(row).length
console.log(length)
// console.log(length)
if (length > 5) {
if (concatColumn(columnIndex, length, rowIndex)) {
if (rowIndex % 5 === 0) {

View File

@@ -1,6 +1,6 @@
<template>
<el-form :label-position="labelAlign">
<el-form-item label="其他文件" v-if="fileListShow === 'READ' || fileListShow === 'EDIT'" :label-position="labelAlign" label-width="95">
<el-form-item :label="title?'其他文件':''" v-if="fileListShow === 'READ' || fileListShow === 'EDIT'" :label-position="labelAlign" :label-width="title?95:''">
<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">
@@ -50,7 +50,7 @@ const tableConfig = reactive({
type: 'index',
label: '序号',
align: 'center',
width: '80',
width: 90,
},
{
prop: 'originalFileName',
@@ -66,6 +66,7 @@ const tableConfig = reactive({
prop: 'size',
label: '文件大小',
align: 'center',
width: 150,
currentRender: ({row, index}) => (parseInt(row.size / 1024) + 'KB')
},
{