UI界面变更-文档OCR识别-文档拆分
This commit is contained in:
@@ -13,7 +13,7 @@
|
|||||||
@change="tableOnChange"
|
@change="tableOnChange"
|
||||||
>
|
>
|
||||||
<span slot="operation" slot-scope="record">
|
<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)">
|
@click="OperationClick(ol,record)">
|
||||||
<span v-if="ol.text==$t('SyncLibrary')" v-has="'ocr:ocrRecord:syncToDocument'">
|
<span v-if="ol.text==$t('SyncLibrary')" v-has="'ocr:ocrRecord:syncToDocument'">
|
||||||
{{record.resultContent=='转换成功'&&record.syncState=='未同步'&&record.fileSource=='1'?ol.text:''}}
|
{{record.resultContent=='转换成功'&&record.syncState=='未同步'&&record.fileSource=='1'?ol.text:''}}
|
||||||
@@ -22,7 +22,7 @@
|
|||||||
<!-- {{record.resultContent=='转换成功'&&record.syncState=='未同步'?ol.text:''}}-->
|
<!-- {{record.resultContent=='转换成功'&&record.syncState=='未同步'?ol.text:''}}-->
|
||||||
<!-- </span>-->
|
<!-- </span>-->
|
||||||
<span v-if="ol.text==$t('download') && (record.createBy == userData.username || administrators)"
|
<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:''}}
|
{{record.resultContent=='转换成功'?ol.text:''}}
|
||||||
</span>
|
</span>
|
||||||
<span v-if="ol.text==$t('delete') && (record.createBy == userData.username || administrators)" v-has="'ocr:ocrRecord:delete'">
|
<span v-if="ol.text==$t('delete') && (record.createBy == userData.username || administrators)" v-has="'ocr:ocrRecord:delete'">
|
||||||
@@ -166,7 +166,7 @@
|
|||||||
this.columns.push({
|
this.columns.push({
|
||||||
title: res.db_field_txt,
|
title: res.db_field_txt,
|
||||||
dataIndex: res.db_field_name,
|
dataIndex: res.db_field_name,
|
||||||
align: 'center',
|
align: 'left',
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
width: 170,
|
width: 170,
|
||||||
sorter: res.sort
|
sorter: res.sort
|
||||||
@@ -195,7 +195,7 @@
|
|||||||
if (this.showAction) {
|
if (this.showAction) {
|
||||||
this.columns.push({
|
this.columns.push({
|
||||||
title: this.$t('operation'),
|
title: this.$t('operation'),
|
||||||
align: 'center',
|
align: 'left',
|
||||||
fixed: 'right',
|
fixed: 'right',
|
||||||
width: width,
|
width: width,
|
||||||
scopedSlots: { customRender: 'operation' }
|
scopedSlots: { customRender: 'operation' }
|
||||||
@@ -290,4 +290,8 @@
|
|||||||
text-justify: inter-ideograph;
|
text-justify: inter-ideograph;
|
||||||
word-break: break-all
|
word-break: break-all
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*/deep/.table .ant-table-tbody > tr > td {*/
|
||||||
|
/* color: #040B29 ;*/
|
||||||
|
/*}*/
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -171,7 +171,7 @@
|
|||||||
this.columns.push({
|
this.columns.push({
|
||||||
title: res.db_field_txt,
|
title: res.db_field_txt,
|
||||||
dataIndex: res.db_field_name,
|
dataIndex: res.db_field_name,
|
||||||
align: 'center',
|
align: 'left',
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
sorter: res.sort
|
sorter: res.sort
|
||||||
})
|
})
|
||||||
@@ -201,7 +201,7 @@
|
|||||||
if (this.showAction) {
|
if (this.showAction) {
|
||||||
this.columns.push({
|
this.columns.push({
|
||||||
title: this.$t('operation'),
|
title: this.$t('operation'),
|
||||||
align: 'center',
|
align: 'left',
|
||||||
fixed: 'right',
|
fixed: 'right',
|
||||||
width: width,
|
width: width,
|
||||||
scopedSlots: { customRender: 'operation' }
|
scopedSlots: { customRender: 'operation' }
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
<a-form layout="inline" @keyup.enter.native="searchQuery">
|
<a-form layout="inline" @keyup.enter.native="searchQuery">
|
||||||
<a-row :gutter="24">
|
<a-row :gutter="24">
|
||||||
<a-col :md="6" :sm="8" v-for="(item,index) in searchList" :key="index" style="line-height: 48px">
|
<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="box-title-text" v-if="item.field_show_type == '0'">
|
||||||
<div class="title-text" :title="item.db_field_txt">
|
<div class="title-text" :title="item.db_field_txt">
|
||||||
<span>{{item.db_field_txt}}</span>
|
<span>{{item.db_field_txt}}</span>
|
||||||
@@ -69,7 +69,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</template >
|
</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="box-title-text" v-if="item.field_show_type == '0'">
|
||||||
<div class="title-text" :title="item.db_field_txt">
|
<div class="title-text" :title="item.db_field_txt">
|
||||||
<span>{{item.db_field_txt}}</span>
|
<span>{{item.db_field_txt}}</span>
|
||||||
|
|||||||
@@ -158,7 +158,7 @@
|
|||||||
this.columns.push({
|
this.columns.push({
|
||||||
title: res.db_field_txt,
|
title: res.db_field_txt,
|
||||||
dataIndex: res.db_field_name,
|
dataIndex: res.db_field_name,
|
||||||
align: 'center',
|
align: 'left',
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
sorter: res.sort,
|
sorter: res.sort,
|
||||||
width: 170
|
width: 170
|
||||||
@@ -187,7 +187,7 @@
|
|||||||
if (this.showAction) {
|
if (this.showAction) {
|
||||||
this.columns.push({
|
this.columns.push({
|
||||||
title: this.$t('operation'),
|
title: this.$t('operation'),
|
||||||
align: 'center',
|
align: 'left',
|
||||||
fixed: 'right',
|
fixed: 'right',
|
||||||
width: width,
|
width: width,
|
||||||
scopedSlots: { customRender: 'operation' }
|
scopedSlots: { customRender: 'operation' }
|
||||||
|
|||||||
@@ -373,7 +373,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.title-text {
|
.title-text {
|
||||||
width: 100px;
|
width: 110px;
|
||||||
color: #000F16;
|
color: #000F16;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
|
|||||||
@@ -1193,7 +1193,7 @@ export default {
|
|||||||
|
|
||||||
.split-detail-left {
|
.split-detail-left {
|
||||||
/*height: 100%;*/
|
/*height: 100%;*/
|
||||||
width: 230px;
|
width: 280px;
|
||||||
float: left;
|
float: left;
|
||||||
padding-right: 20px;
|
padding-right: 20px;
|
||||||
/*border-right: 1px solid #E6E7EC;*/
|
/*border-right: 1px solid #E6E7EC;*/
|
||||||
@@ -1222,7 +1222,7 @@ export default {
|
|||||||
|
|
||||||
.split-detail-right {
|
.split-detail-right {
|
||||||
padding-left: 20px;
|
padding-left: 20px;
|
||||||
width: calc(100% - 230px);
|
width: calc(100% - 280px);
|
||||||
float: right;
|
float: right;
|
||||||
border-left: 1px solid #E6E7EC;
|
border-left: 1px solid #E6E7EC;
|
||||||
/*flex: 1;*/
|
/*flex: 1;*/
|
||||||
|
|||||||
Reference in New Issue
Block a user