UI界面变更-文档OCR识别-文档拆分

This commit is contained in:
刘彦泽
2022-12-28 11:49:47 +08:00
parent d0f261b43d
commit 59b8cb2d5d
6 changed files with 17 additions and 13 deletions
+8 -4
View File
@@ -13,7 +13,7 @@
@change="tableOnChange"
>
<span slot="operation" slot-scope="record">
<a class="text" v-for="(ol,index) in OperationList"
<a v-for="(ol,index) in OperationList"
@click="OperationClick(ol,record)">
<span v-if="ol.text==$t('SyncLibrary')" v-has="'ocr:ocrRecord:syncToDocument'">
{{record.resultContent=='转换成功'&&record.syncState=='未同步'&&record.fileSource=='1'?ol.text:''}}
@@ -22,7 +22,7 @@
<!-- {{record.resultContent=='转换成功'&&record.syncState=='未同步'?ol.text:''}}-->
<!-- </span>-->
<span v-if="ol.text==$t('download') && (record.createBy == userData.username || administrators)"
v-has="'ocr:ocrRestful:downFile'">
v-has="'ocr:ocrRestful:downFile'" :class="{'text':record.resultContent=='转换成功'}">
{{record.resultContent=='转换成功'?ol.text:''}}
</span>
<span v-if="ol.text==$t('delete') && (record.createBy == userData.username || administrators)" v-has="'ocr:ocrRecord:delete'">
@@ -166,7 +166,7 @@
this.columns.push({
title: res.db_field_txt,
dataIndex: res.db_field_name,
align: 'center',
align: 'left',
ellipsis: true,
width: 170,
sorter: res.sort
@@ -195,7 +195,7 @@
if (this.showAction) {
this.columns.push({
title: this.$t('operation'),
align: 'center',
align: 'left',
fixed: 'right',
width: width,
scopedSlots: { customRender: 'operation' }
@@ -290,4 +290,8 @@
text-justify: inter-ideograph;
word-break: break-all
}
/*/deep/.table .ant-table-tbody > tr > td {*/
/* color: #040B29 ;*/
/*}*/
</style>
@@ -171,7 +171,7 @@
this.columns.push({
title: res.db_field_txt,
dataIndex: res.db_field_name,
align: 'center',
align: 'left',
ellipsis: true,
sorter: res.sort
})
@@ -201,7 +201,7 @@
if (this.showAction) {
this.columns.push({
title: this.$t('operation'),
align: 'center',
align: 'left',
fixed: 'right',
width: width,
scopedSlots: { customRender: 'operation' }
@@ -2,7 +2,7 @@
<a-form layout="inline" @keyup.enter.native="searchQuery">
<a-row :gutter="24">
<a-col :md="6" :sm="8" v-for="(item,index) in searchList" :key="index" style="line-height: 48px">
<template v-if="index < 3">
<template v-if="index < 2">
<div class="box-title-text" v-if="item.field_show_type == '0'">
<div class="title-text" :title="item.db_field_txt">
<span>{{item.db_field_txt}}</span>
@@ -69,7 +69,7 @@
</div>
</template >
<template v-if="index >= 3 && toggleSearchStatus">
<template v-if="index >= 2 && toggleSearchStatus">
<div class="box-title-text" v-if="item.field_show_type == '0'">
<div class="title-text" :title="item.db_field_txt">
<span>{{item.db_field_txt}}</span>
@@ -158,7 +158,7 @@
this.columns.push({
title: res.db_field_txt,
dataIndex: res.db_field_name,
align: 'center',
align: 'left',
ellipsis: true,
sorter: res.sort,
width: 170
@@ -187,7 +187,7 @@
if (this.showAction) {
this.columns.push({
title: this.$t('operation'),
align: 'center',
align: 'left',
fixed: 'right',
width: width,
scopedSlots: { customRender: 'operation' }
+1 -1
View File
@@ -373,7 +373,7 @@
}
.title-text {
width: 100px;
width: 110px;
color: #000F16;
display: inline-block;
font-weight: 500;
@@ -1193,7 +1193,7 @@ export default {
.split-detail-left {
/*height: 100%;*/
width: 230px;
width: 280px;
float: left;
padding-right: 20px;
/*border-right: 1px solid #E6E7EC;*/
@@ -1222,7 +1222,7 @@ export default {
.split-detail-right {
padding-left: 20px;
width: calc(100% - 230px);
width: calc(100% - 280px);
float: right;
border-left: 1px solid #E6E7EC;
/*flex: 1;*/