|
|
@ -4,12 +4,11 @@ |
|
|
|
<div class="head-container"> |
|
|
|
<crudOperation :permission="permission"> |
|
|
|
<template v-slot:right> |
|
|
|
<!-- 搜索 v-model="query.enabled" |
|
|
|
<el-select clearable size="small" placeholder="状态" class="filter-item" style="width: 100px" @change="crud.toQuery"> |
|
|
|
<i slot="prefix" class="iconfont icon-zhuangtai-fanbai" /> |
|
|
|
<!-- 搜索 v-model="query.enabled"--> |
|
|
|
<el-select clearable size="small" class="filter-item" style="width: 100px" @change="crud.toQuery"> |
|
|
|
<el-option v-for="item in stateOptions" :key="item.key" :label="item.label" :value="item.key" /> |
|
|
|
</el-select>--> |
|
|
|
<!-- <el-input v-model="query[inputSelect]" clearable size="small" placeholder="请输入关键词" style="width: 200px;" class="input-prepend filter-item" @keyup.enter.native="crud.toQuery"> |
|
|
|
</el-select> |
|
|
|
<el-input v-model="crud.query[inputSelect]" clearable size="small" placeholder="请输入关键词" style="width: 200px;" class="input-prepend filter-item" @keyup.enter.native="crud.toQuery"> |
|
|
|
<el-select slot="prepend" v-model="inputSelect" style="width: 80px" @change="querySelect"> |
|
|
|
<el-option |
|
|
|
v-for="item in queryOption" |
|
|
@ -18,7 +17,8 @@ |
|
|
|
:value="item.value" |
|
|
|
/> |
|
|
|
</el-select> |
|
|
|
</el-input> --> |
|
|
|
</el-input> |
|
|
|
<rrOperation /> |
|
|
|
</template> |
|
|
|
<template v-slot:rightButtonGroup> |
|
|
|
<div class="archives-handler-btn"> |
|
|
@ -63,13 +63,14 @@ |
|
|
|
<script> |
|
|
|
import caseCrudMethod from '@/api/archivesManage/caseManage' |
|
|
|
import eForm from './module/form' |
|
|
|
import CRUD, { presenter } from '@crud/crud' |
|
|
|
import CRUD, { presenter, crud } from '@crud/crud' |
|
|
|
import crudOperation from '@crud/CRUD.operation' |
|
|
|
import rrOperation from '@crud/RR.operation' |
|
|
|
import pagination from '@crud/Pagination' |
|
|
|
|
|
|
|
export default { |
|
|
|
components: { eForm, crudOperation, pagination }, |
|
|
|
mixins: [presenter()], |
|
|
|
components: { eForm, crudOperation, rrOperation, pagination }, |
|
|
|
mixins: [presenter(), crud()], |
|
|
|
cruds() { |
|
|
|
return CRUD({ |
|
|
|
url: 'api/case/initCaseList', |
|
|
@ -109,6 +110,21 @@ export default { |
|
|
|
label: '已入', |
|
|
|
value: 'right' |
|
|
|
} |
|
|
|
], |
|
|
|
inputSelect: 'caseName', |
|
|
|
queryOption: [ |
|
|
|
{ |
|
|
|
label: '盒名称', |
|
|
|
value: 'caseName' |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: 'TID', |
|
|
|
value: 'tid' |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '条形码', |
|
|
|
value: 'barcode' |
|
|
|
} |
|
|
|
] |
|
|
|
} |
|
|
|
}, |
|
|
|