|
|
@ -5,7 +5,7 @@ |
|
|
<!-- <div v-if="!recycleMain.isRecycle" class="archives-handler-btn"> |
|
|
<!-- <div v-if="!recycleMain.isRecycle" class="archives-handler-btn"> |
|
|
<el-button :loading="codeLoading" style="position: absolute; left: 0; top: 0; padding: 0 14px 0 8px;" type="primary" class="warehousing-btn iconfont" :disabled="selections.length === 0" @click="printArchivesCode(selections)"><svg-icon icon-class="print" class="svg-arc-style" />批量打印条形码</el-button> |
|
|
<el-button :loading="codeLoading" style="position: absolute; left: 0; top: 0; padding: 0 14px 0 8px;" type="primary" class="warehousing-btn iconfont" :disabled="selections.length === 0" @click="printArchivesCode(selections)"><svg-icon icon-class="print" class="svg-arc-style" />批量打印条形码</el-button> |
|
|
</div>--> |
|
|
</div>--> |
|
|
<div v-if="!recycleMain.isRecycle" class="archives-crud"> |
|
|
|
|
|
|
|
|
<div v-if="!recycleMain.isRecycle" class="archives-crud" style="position: absolute; left: 0; top: 0; padding: 0 14px 0 8px;"> |
|
|
<!-- 新增 --> |
|
|
<!-- 新增 --> |
|
|
<el-button v-if="!isHasProject" size="mini" :disabled="isProject && selectedCategory.isType === 2" icon="el-icon-plus" @click="handleForm('add','档案', 1)">新增</el-button> |
|
|
<el-button v-if="!isHasProject" size="mini" :disabled="isProject && selectedCategory.isType === 2" icon="el-icon-plus" @click="handleForm('add','档案', 1)">新增</el-button> |
|
|
<!-- 修改 --> |
|
|
<!-- 修改 --> |
|
|
@ -27,8 +27,8 @@ |
|
|
<i slot="prefix" class="iconfont icon-zhuangtai-fanbai" /> |
|
|
<i slot="prefix" class="iconfont icon-zhuangtai-fanbai" /> |
|
|
<el-option v-for="item in stateOptions" :key="item.value" :label="item.label" :value="item.value" /> |
|
|
<el-option v-for="item in stateOptions" :key="item.value" :label="item.label" :value="item.value" /> |
|
|
</el-select> |
|
|
</el-select> |
|
|
<el-input v-model="anjuanQuery[anjuanInputSelect]" clearable size="small" placeholder="请输入关键词" style="width: 220px;" class="input-prepend filter-item" @clear="getTableList()" @keyup.enter.native="getTableList"> |
|
|
|
|
|
<el-select slot="prepend" v-model="anjuanInputSelect" style="width: 90px" @change="querySelect(anjuanInputSelect)"> |
|
|
|
|
|
|
|
|
<el-input v-model="anjuanQuery[anjuanInputSelect]" clearable size="small" placeholder="请输入关键词" style="width: 320px;" class="input-prepend filter-item" @clear="getTableList()" @keyup.enter.native="getTableList"> |
|
|
|
|
|
<el-select slot="prepend" v-model="anjuanInputSelect" style="width: 100px" @change="querySelect(anjuanInputSelect)"> |
|
|
<el-option |
|
|
<el-option |
|
|
v-for="item in queryOption" |
|
|
v-for="item in queryOption" |
|
|
:key="item.value" |
|
|
:key="item.value" |
|
|
@ -40,18 +40,18 @@ |
|
|
<el-button class="filter-item" size="mini" type="success" icon="el-icon-search" @click="getTableList()">搜索</el-button> |
|
|
<el-button class="filter-item" size="mini" type="success" icon="el-icon-search" @click="getTableList()">搜索</el-button> |
|
|
</div> |
|
|
</div> |
|
|
<div v-if="!recycleMain.isRecycle" class="archives-handler-btn"> |
|
|
<div v-if="!recycleMain.isRecycle" class="archives-handler-btn"> |
|
|
|
|
|
|
|
|
<!-- 装盒btn 多选 --> |
|
|
<!-- 装盒btn 多选 --> |
|
|
<!-- <svg-icon icon-class="zhuanghe" /> --> |
|
|
<!-- <svg-icon icon-class="zhuanghe" /> --> |
|
|
<el-button class="packing-btn iconfont icon-sr-dn-pz" type="primary" :disabled="selectedCategory.isType === 5 ? selections.length === 0 : selections.length !== 1" @click="handlePacking(selections,0)"><svg-icon icon-class="zhuanghe" class="svg-arc-style" />装盒</el-button> |
|
|
<el-button class="packing-btn iconfont icon-sr-dn-pz" type="primary" :disabled="selectedCategory.isType === 5 ? selections.length === 0 : selections.length !== 1" @click="handlePacking(selections,0)"><svg-icon icon-class="zhuanghe" class="svg-arc-style" />装盒</el-button> |
|
|
|
|
|
<el-button :loading="codeLoading" class="warehousing-btn iconfont" type="primary" :disabled="selections.length === 0" @click="onPrint(selections)"><svg-icon icon-class="print" class="svg-arc-style" />打印标签</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> |
|
|
<!-- 分卷装盒btn 针对案卷-单选 --> |
|
|
<!-- 分卷装盒btn 针对案卷-单选 --> |
|
|
<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 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> --> |
|
|
<!-- <el-button class="warehousing-btn iconfont" type="primary">入库</el-button> --> |
|
|
<!-- 借阅btn 多选 --> |
|
|
<!-- 借阅btn 多选 --> |
|
|
<!-- <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> |
|
|
|
|
|
<el-button :loading="codeLoading" class="warehousing-btn iconfont" type="primary" :disabled="selections.length === 0" @click="onPrint(selections)"><svg-icon icon-class="print" 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> |
|
|
|
|
|
|
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div ref="printDiv" style="display: none;"> |
|
|
<div ref="printDiv" style="display: none;"> |
|
|
@ -430,12 +430,18 @@ export default { |
|
|
if (this.selectedCategory.isType === 5) { |
|
|
if (this.selectedCategory.isType === 5) { |
|
|
this.queryOption = [ |
|
|
this.queryOption = [ |
|
|
{ value: 'queryTitle', label: '姓名' }, |
|
|
{ value: 'queryTitle', label: '姓名' }, |
|
|
{ value: 'archiveNo', label: '编号' } |
|
|
|
|
|
|
|
|
{ value: 'archiveNo', label: '编号' }, |
|
|
|
|
|
{ value: 'nativePlace', label: '籍贯' }, |
|
|
|
|
|
{ value: 'idType', label: '身份类别' }, |
|
|
|
|
|
{ value: 'idNumber', label: '身份证号' } |
|
|
] |
|
|
] |
|
|
} else { |
|
|
} else { |
|
|
this.queryOption = [ |
|
|
this.queryOption = [ |
|
|
{ value: 'queryTitle', label: '姓名' }, |
|
|
{ value: 'queryTitle', label: '姓名' }, |
|
|
{ value: 'archiveNo', label: '档号' } |
|
|
|
|
|
|
|
|
{ value: 'archiveNo', label: '编号' }, |
|
|
|
|
|
{ value: 'nativePlace', label: '籍贯' }, |
|
|
|
|
|
{ value: 'idType', label: '身份类别' }, |
|
|
|
|
|
{ value: 'idNumber', label: '身份证号' } |
|
|
] |
|
|
] |
|
|
} |
|
|
} |
|
|
this.anjuanInputSelect = this.queryOption[0].value |
|
|
this.anjuanInputSelect = this.queryOption[0].value |
|
|
@ -473,6 +479,9 @@ export default { |
|
|
getTableList() { |
|
|
getTableList() { |
|
|
this.query.queryTitle = '' |
|
|
this.query.queryTitle = '' |
|
|
this.query.archiveNo = '' |
|
|
this.query.archiveNo = '' |
|
|
|
|
|
this.query.nativePlace = '' |
|
|
|
|
|
this.query.idType = '' |
|
|
|
|
|
this.query.idNumber = '' |
|
|
this.query.archiveCtgNo = '' |
|
|
this.query.archiveCtgNo = '' |
|
|
this.query.responsibleby = '' |
|
|
this.query.responsibleby = '' |
|
|
this.query.docNo = '' |
|
|
this.query.docNo = '' |
|
|
@ -487,6 +496,15 @@ export default { |
|
|
case 'archiveNo': // 档号 |
|
|
case 'archiveNo': // 档号 |
|
|
this.query.archiveNo = this.anjuanQuery[this.anjuanInputSelect] |
|
|
this.query.archiveNo = this.anjuanQuery[this.anjuanInputSelect] |
|
|
break |
|
|
break |
|
|
|
|
|
case 'nativePlace': // 籍贯 |
|
|
|
|
|
this.query.nativePlace = this.anjuanQuery[this.anjuanInputSelect] |
|
|
|
|
|
break |
|
|
|
|
|
case 'idType': // 身份类别 |
|
|
|
|
|
this.query.idType = this.anjuanQuery[this.anjuanInputSelect] |
|
|
|
|
|
break |
|
|
|
|
|
case 'idNumber': // 身份证号 |
|
|
|
|
|
this.query.idNumber = this.anjuanQuery[this.anjuanInputSelect] |
|
|
|
|
|
break |
|
|
case 'archiveCtgNo': // 实体分类号 |
|
|
case 'archiveCtgNo': // 实体分类号 |
|
|
this.query.archiveCtgNo = this.anjuanQuery[this.anjuanInputSelect] |
|
|
this.query.archiveCtgNo = this.anjuanQuery[this.anjuanInputSelect] |
|
|
break |
|
|
break |
|
|
|