|
|
@ -47,7 +47,7 @@ |
|
|
|
<el-button v-if="selectedCategory.isType === 3 || selectedCategory.isType === 2" class="part-btn iconfont" type="primary" :disabled="selections.length !== 1" @click="handlePacking(selections,1)"><svg-icon icon-class="partzhuanghe" class="svg-arc-style" />分卷装盒</el-button> |
|
|
|
<!-- <el-button class="warehousing-btn iconfont" type="primary">入库</el-button> --> |
|
|
|
<!-- 借阅btn 多选 --> |
|
|
|
<el-button v-if="selectedCategory.isType !== 3" class="lending-btn iconfont" :disabled="selections.length === 0" type="primary" @click="handleLending"><svg-icon icon-class="jieyue" class="svg-arc-style" />借阅</el-button> |
|
|
|
<el-button v-if="selectedCategory.isType !== 3" class="lending-btn iconfont" :disabled="selections.length === 0" type="primary" @click="handleLending"><i class="iconfont icon-chuku-fanbai" style="margin-right: 6px;" />借阅</el-button> |
|
|
|
<!-- 绑定标签btn 单选 --> |
|
|
|
<el-button v-if="selectedCategory.isType !== 3" class="binding-btn iconfont" type="primary" :disabled="selections.length !== 1" @click="bindingTag(selections)"><svg-icon icon-class="bindbiaoqian" class="svg-arc-style" />绑定标签</el-button> |
|
|
|
</div> |
|
|
@ -98,7 +98,11 @@ |
|
|
|
@select="handleCurrentChange" |
|
|
|
> |
|
|
|
<el-table-column type="selection" :reserve-selection="true" width="55" align="center" /> |
|
|
|
<el-table-column type="index" label="序号" width="55" align="center" /> |
|
|
|
<el-table-column label="序号" width="55" align="center" show-overflow-tooltip> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<span>{{ (page.page === 1 ? 0 : (page.page === 0 ? 0 : page.page - 1)) * page.size + scope.$index + 1 }}</span> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column :label=" selectedCategory.isType === 5 ? '文件':'卷内'" prop="children_num" width="55" align="center" /> |
|
|
|
<el-table-column v-for="field in tableDisplayFields" :key="field.id" :label="field.fieldCnName" :align="field.displayformatType" :width="field.displayLength" show-overflow-tooltip> |
|
|
|
<template slot="header"> |
|
|
@ -347,7 +351,8 @@ export default { |
|
|
|
{ value: 'responsibleby', label: '责任者' }, |
|
|
|
{ value: 'docNo', label: '发文字号 ' }, |
|
|
|
{ value: 'barcode', label: '条形码' }, |
|
|
|
{ value: 'folderLocation', label: '地址码' } |
|
|
|
{ value: 'folderLocation', label: '地址码' }, |
|
|
|
{ value: 'tempNo', label: '临时卷号' } |
|
|
|
] |
|
|
|
} else { |
|
|
|
this.queryOption = [ |
|
|
@ -383,6 +388,7 @@ export default { |
|
|
|
this.query.documentNo = '' |
|
|
|
this.query.barcode = '' |
|
|
|
this.query.folderLocation = '' |
|
|
|
this.query.tempNo = '' |
|
|
|
switch (this.anjuanInputSelect) { |
|
|
|
case 'queryTitle': // 题名 |
|
|
|
this.query.queryTitle = this.anjuanQuery[this.anjuanInputSelect] |
|
|
@ -405,6 +411,9 @@ export default { |
|
|
|
case 'folderLocation': // 地址码 |
|
|
|
this.query.folderLocation = this.anjuanQuery[this.anjuanInputSelect] |
|
|
|
break |
|
|
|
case 'tempNo': // 地址码 |
|
|
|
this.query.tempNo = this.anjuanQuery[this.anjuanInputSelect] |
|
|
|
break |
|
|
|
} |
|
|
|
this.getListCommon('anjuanData', 'anjuanTableHeight', 1) |
|
|
|
}, |
|
|
|