拆分详情修改
This commit is contained in:
@@ -12,26 +12,6 @@
|
||||
<div class="imports-table-content">
|
||||
<div class="imports-header">
|
||||
<search :url="url" :flag="'condition'"></search>
|
||||
<!-- <a-form layout="inline" @keyup.enter.native="searchQuery(queryParams)">-->
|
||||
<!-- <a-row :gutter="24">-->
|
||||
<!-- <a-col :md="6" :sm="12">-->
|
||||
<!-- <a-form-item :label="$t('standard')">-->
|
||||
<!-- <j-input :placeholder="$t('enterNumber')" v-model="queryParams.standNumber"></j-input>-->
|
||||
<!-- </a-form-item>-->
|
||||
<!-- </a-col>-->
|
||||
<!-- <a-col :md="6" :sm="12">-->
|
||||
<!-- <a-form-item :label="$t('title')">-->
|
||||
<!-- <j-input :placeholder="$t('enterTitle')" v-model="queryParams.standName"></j-input>-->
|
||||
<!-- </a-form-item>-->
|
||||
<!-- </a-col>-->
|
||||
<!-- <a-col :md="6" :sm="8">-->
|
||||
<!-- <span style="float: left;overflow: hidden;" class="table-page-search-submitButtons">-->
|
||||
<!-- <a-button type="primary" @click="searchQuery" icon="search">{{$t('query')}}</a-button>-->
|
||||
<!-- <a-button @click="searchReset" icon="reload" style="margin-left: 8px">{{$t('reset')}}</a-button>-->
|
||||
<!-- </span>-->
|
||||
<!-- </a-col>-->
|
||||
<!-- </a-row>-->
|
||||
<!-- </a-form>-->
|
||||
</div>
|
||||
</div>
|
||||
<div class="imports-table-detail">
|
||||
@@ -43,21 +23,6 @@
|
||||
:OperationList="OperationList"
|
||||
@onSelectChange="onSelectChange"
|
||||
/>
|
||||
<!-- <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')"-->
|
||||
<!-- show-quick-jumper-->
|
||||
<!-- show-size-changer-->
|
||||
<!-- :page-size.sync="queryParams.pageSize"-->
|
||||
<!-- :total="total"-->
|
||||
<!-- @change="onChangePage"-->
|
||||
<!-- @showSizeChange="SizeChange"-->
|
||||
<!-- />-->
|
||||
<!-- </div>-->
|
||||
</div>
|
||||
<div class="imports-files">
|
||||
<a-form-model
|
||||
@@ -85,7 +50,7 @@
|
||||
<a-button class="imports-btn" type="primary" @click="cancleImports">{{$t('cancel')}}</a-button>
|
||||
</div>
|
||||
</div>
|
||||
<split-upload ref="uploadFile" :disabled="disabled" @uploadSuccess="uploadSuccess"></split-upload>
|
||||
<split-upload ref="uploadFile" :disabled="disabled" :title="upload1" :accept="accept" @uploadSuccess="uploadSuccess"></split-upload>
|
||||
</a-drawer>
|
||||
</div>
|
||||
</template>
|
||||
@@ -162,12 +127,20 @@
|
||||
seachList: 'document/bussDocumentLibraryEO/getHeaderOrConditionForOcr', //搜索字段
|
||||
tableList: 'document/bussDocumentLibraryEO/ocrPageInfo', //表格数据
|
||||
},
|
||||
OperationList:[]
|
||||
OperationList:[],
|
||||
upload1:this.$t('upload1'),
|
||||
accept:'application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/msword'
|
||||
}
|
||||
},
|
||||
props:{
|
||||
importsVisible:Boolean
|
||||
},
|
||||
watch:{
|
||||
'form.file'(val){
|
||||
console.log(val)
|
||||
}
|
||||
|
||||
},
|
||||
mounted() {
|
||||
this.visible=this.importsVisible
|
||||
// console.log('visibleSplit',this.visible)
|
||||
@@ -224,13 +197,15 @@
|
||||
},
|
||||
//上传文件
|
||||
uploadSuccess(data) {
|
||||
console.log('updata',data)
|
||||
// console.log('updata',data)
|
||||
let attIdList = []
|
||||
data.map(item => {
|
||||
attIdList.push(item.id || data.name)
|
||||
})
|
||||
console.log('file',attIdList)
|
||||
// /** 赋值给当前对应的表单文件 */
|
||||
this.form.file = attIdList.join(',')
|
||||
// console.log('this.form.file',this.form.file)
|
||||
},
|
||||
//模板下载
|
||||
downLoad(){
|
||||
@@ -259,7 +234,7 @@
|
||||
margin:20px 0;
|
||||
.file-down{
|
||||
position: absolute;
|
||||
left: 260px;
|
||||
left: 320px;
|
||||
top: 5px;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user