修改bug
This commit is contained in:
@@ -67,29 +67,22 @@
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
<split v-if="splitVisible" :splitVisible="splitVisible" @visible="sVisible"></split>
|
||||
<imports v-if="importsVisible" :importsVisible="importsVisible" @visible="iVisible"></imports>
|
||||
<split-text v-if="splitVisible" :splitVisible="splitVisible" @visible="sVisible"></split-text>
|
||||
<import-result v-if="importsVisible" :importsVisible="importsVisible" @visible="iVisible"></import-result>
|
||||
</a-card>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import search from '@/components/search/index'
|
||||
import tableData from '@/components/tableDate/index'
|
||||
import frameAssembly from '@/components/frameAssembly/index'
|
||||
import split from './modules/split'
|
||||
import imports from './modules/imports'
|
||||
import SplitText from './modules/SplitText'
|
||||
import ImportResult from './modules/ImportResult'
|
||||
import { getAction, postAction, deleteAction } from '@/api/manage'
|
||||
import eventBUs from '../../../common/event'
|
||||
|
||||
export default {
|
||||
name: 'splitting',
|
||||
components: {
|
||||
search,
|
||||
tableData,
|
||||
frameAssembly,
|
||||
split,
|
||||
imports
|
||||
SplitText,
|
||||
ImportResult
|
||||
},
|
||||
data(){
|
||||
return{
|
||||
|
||||
+15
-4
@@ -34,8 +34,10 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="imports-table-detail">
|
||||
<a-table :data-source="tableSource" :columns="columns" :row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }" class="tag-con-table" :pagination="false" >
|
||||
</a-table>
|
||||
<a-spin :spinning="spinning">
|
||||
<a-table :data-source="tableSource" :columns="columns" :row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }" class="tag-con-table" :pagination="false" >
|
||||
</a-table>
|
||||
</a-spin>
|
||||
<div class="page" v-if="tableSource.length > 0">
|
||||
<a-pagination
|
||||
:show-total="total => $t('total')+` ${total} `+ $t('strip')"
|
||||
@@ -81,11 +83,11 @@
|
||||
|
||||
<script>
|
||||
import { getAction, postAction, deleteAction, downFile } from '@/api/manage'
|
||||
import ocrUpload from '@/components/ocrUpload/index'
|
||||
import OcrUpload from '@/components/OcrUpload/index'
|
||||
export default {
|
||||
name: 'import',
|
||||
components:{
|
||||
ocrUpload
|
||||
OcrUpload
|
||||
},
|
||||
data(){
|
||||
return{
|
||||
@@ -139,6 +141,7 @@
|
||||
{ required: true, message: this.$t('noFile'), trigger: 'change' },
|
||||
],
|
||||
},
|
||||
spinning:false, //loading标识
|
||||
}
|
||||
},
|
||||
props:{
|
||||
@@ -151,7 +154,15 @@
|
||||
methods:{
|
||||
//获取列表数据
|
||||
loadData(){
|
||||
this.spinning=true
|
||||
let params={
|
||||
|
||||
}
|
||||
getAction(``,params).then(res=>{
|
||||
|
||||
}).finally(()=>{
|
||||
this.spinning=false
|
||||
})
|
||||
},
|
||||
afterVisibleChange(val) {
|
||||
console.log('visible', val);
|
||||
+2
-2
@@ -157,12 +157,12 @@
|
||||
<script>
|
||||
import Vue from 'vue'
|
||||
import splitUpload from '@/components/splitUpload/index'
|
||||
import uEditor from '@/components/ueditor/index'
|
||||
import UEditor from '@/components/ueditor/index'
|
||||
export default {
|
||||
name: 'splitAddForm',
|
||||
components:{
|
||||
splitUpload,
|
||||
uEditor
|
||||
UEditor
|
||||
},
|
||||
data(){
|
||||
return{
|
||||
+4
-4
@@ -120,7 +120,7 @@
|
||||
>
|
||||
<p>{{contentValue}}</p>
|
||||
</a-modal>
|
||||
<splitAddForm v-if="addVisible" :addVisible="addVisible" @closeVisible="closeVisible"></splitAddForm>
|
||||
<split-addF-form v-if="addVisible" :addVisible="addVisible" @closeVisible="closeVisible"></split-addF-form>
|
||||
<upload ref="uploadSplit" @uploadSuccess="uploadSuccess"></upload>
|
||||
</div>
|
||||
</a-card>
|
||||
@@ -130,11 +130,11 @@
|
||||
<script>
|
||||
import { getAction, postAction, deleteAction, downloadFile } from '@/api/manage'
|
||||
import upload from '@/components/uploadFile/file.vue'
|
||||
import splitAddForm from './splitAddForm'
|
||||
import SplitAddForm from './SplitAddForm'
|
||||
export default {
|
||||
name: 'splitDetail',
|
||||
name: 'SplitDetail',
|
||||
components:{
|
||||
splitAddForm,
|
||||
SplitAddForm,
|
||||
upload
|
||||
},
|
||||
data() {
|
||||
+16
-3
@@ -34,8 +34,10 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="split-table-detail">
|
||||
<a-table :data-source="tableSource" :columns="columns" :row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }" class="tag-con-table" :pagination="false" >
|
||||
</a-table>
|
||||
<a-spin :spinning="spinning">
|
||||
<a-table :data-source="tableSource" :columns="columns" :row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }" class="tag-con-table" :pagination="false" >
|
||||
</a-table>
|
||||
</a-spin>
|
||||
<div class="page" v-if="tableSource.length > 0">
|
||||
<a-pagination
|
||||
:show-total="total => $t('total')+` ${total} `+ $t('strip')"
|
||||
@@ -59,6 +61,8 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { getAction } from '../../../../api/manage'
|
||||
|
||||
export default {
|
||||
name: 'split',
|
||||
data(){
|
||||
@@ -107,7 +111,8 @@
|
||||
dataIndex: 'fileType_dictText',
|
||||
ellipsis: true,
|
||||
},
|
||||
]
|
||||
],
|
||||
spinning:false, //loading标识
|
||||
}
|
||||
},
|
||||
props:{
|
||||
@@ -120,7 +125,15 @@
|
||||
methods:{
|
||||
//获取列表数据
|
||||
loadData(){
|
||||
this.spinning=true
|
||||
let params={
|
||||
|
||||
}
|
||||
getAction(``,params).then(res=>{
|
||||
|
||||
}).finally(()=>{
|
||||
this.spinning=false
|
||||
})
|
||||
},
|
||||
afterVisibleChange(val) {
|
||||
console.log('visible', val);
|
||||
Reference in New Issue
Block a user