|  |  | @ -3,14 +3,16 @@ | 
			
		
	
		
			
				
					|  |  |  |     <div class="head-container"> | 
			
		
	
		
			
				
					|  |  |  |       <!-- <el-button v-permission="permission.download" :loading="crud.downloadLoading" size="mini" icon="el-icon-download" @click="handleExport">导出</el-button> --> | 
			
		
	
		
			
				
					|  |  |  |       <el-button size="mini" icon="el-icon-download">导出</el-button> | 
			
		
	
		
			
				
					|  |  |  |       <el-select slot="prepend" v-model="caseState" class="filter-item" style="width: 130px;height:30px;margin-right:10px" @change="initData"> | 
			
		
	
		
			
				
					|  |  |  |         <el-option v-for="item in caseStateOptions" :key="item.value" :label="item.label" :value="item.value" /> | 
			
		
	
		
			
				
					|  |  |  |       <el-select slot="prepend" v-model="bindType" class="filter-item" style="width: 130px;height:30px;margin-right:10px" @change="initData"> | 
			
		
	
		
			
				
					|  |  |  |         <el-option v-for="item in bindTypeOptions" :key="item.value" :label="item.label" :value="item.value" /> | 
			
		
	
		
			
				
					|  |  |  |       </el-select> | 
			
		
	
		
			
				
					|  |  |  |       <el-input v-model="typeVal" clearable size="small" placeholder="请输入关键词" style="width: 200px;" class="input-prepend filter-item" @keyup.enter.native="initData"> | 
			
		
	
		
			
				
					|  |  |  |         <el-select slot="prepend" v-model="inputSelect" style="width: 80px"> | 
			
		
	
		
			
				
					|  |  |  |       <el-input v-model="keyWord" clearable size="small" placeholder="请输入关键词" style="width: 200px;" class="input-prepend filter-item" @keyup.enter.native="initData"> | 
			
		
	
		
			
				
					|  |  |  |         <el-select slot="prepend" v-model="type" style="width: 80px"> | 
			
		
	
		
			
				
					|  |  |  |           <el-option v-for="item in typeOptions" :key="item.value" :label="item.label" :value="item.value" /> | 
			
		
	
		
			
				
					|  |  |  |         </el-select> | 
			
		
	
		
			
				
					|  |  |  |       </el-input> | 
			
		
	
		
			
				
					|  |  |  |       <rrOperation /> | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |     </div> | 
			
		
	
		
			
				
					|  |  |  |     <!--表格渲染--> | 
			
		
	
		
			
				
					|  |  |  |     <!-- <el-table ref="table" v-loading="crud.loading" :data="crud.data" style="width: 100%;" height="calc(100vh - 357px)" @selection-change="crud.selectionChangeHandler" @row-click="clickRowHandler"> --> | 
			
		
	
	
		
			
				
					|  |  | @ -42,15 +44,16 @@ | 
			
		
	
		
			
				
					|  |  |  | <script> | 
			
		
	
		
			
				
					|  |  |  | import pagination from '@crud/Pagination' | 
			
		
	
		
			
				
					|  |  |  | import CRUD, { presenter, crud } from '@crud/crud' | 
			
		
	
		
			
				
					|  |  |  | import rrOperation from '@crud/RR.operation' | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  | export default { | 
			
		
	
		
			
				
					|  |  |  |   name: 'CaseLog', | 
			
		
	
		
			
				
					|  |  |  |   components: { pagination }, | 
			
		
	
		
			
				
					|  |  |  |   components: { pagination, rrOperation }, | 
			
		
	
		
			
				
					|  |  |  |   mixins: [presenter(), crud()], | 
			
		
	
		
			
				
					|  |  |  |   cruds() { | 
			
		
	
		
			
				
					|  |  |  |     return CRUD({ | 
			
		
	
		
			
				
					|  |  |  |       // title: '岗位', | 
			
		
	
		
			
				
					|  |  |  |       // url: 'api/job', | 
			
		
	
		
			
				
					|  |  |  |       url: 'api/case/initCaseList', | 
			
		
	
		
			
				
					|  |  |  |       // crudMethod: { ...crudJob }, | 
			
		
	
		
			
				
					|  |  |  |       optShow: { | 
			
		
	
		
			
				
					|  |  |  |         add: false, | 
			
		
	
	
		
			
				
					|  |  | @ -63,7 +66,25 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |   }, | 
			
		
	
		
			
				
					|  |  |  |   data() { | 
			
		
	
		
			
				
					|  |  |  |     return { | 
			
		
	
		
			
				
					|  |  |  |       tableData: [] | 
			
		
	
		
			
				
					|  |  |  |       tableData: [], | 
			
		
	
		
			
				
					|  |  |  |       keyWord: '', | 
			
		
	
		
			
				
					|  |  |  |       bindType: '0', | 
			
		
	
		
			
				
					|  |  |  |       bindTypeOptions: [ | 
			
		
	
		
			
				
					|  |  |  |         { value: '0', label: '全部' }, | 
			
		
	
		
			
				
					|  |  |  |         { value: '1', label: '装盒' }, | 
			
		
	
		
			
				
					|  |  |  |         { value: '2', label: '拆盒' } | 
			
		
	
		
			
				
					|  |  |  |       ], | 
			
		
	
		
			
				
					|  |  |  |       type: '1', | 
			
		
	
		
			
				
					|  |  |  |       typeOptions: [ | 
			
		
	
		
			
				
					|  |  |  |         { value: '1', label: '盒名称' }, | 
			
		
	
		
			
				
					|  |  |  |         { value: '2', label: 'TID' }, | 
			
		
	
		
			
				
					|  |  |  |         { value: '3', label: '条形码' } | 
			
		
	
		
			
				
					|  |  |  |       ] | 
			
		
	
		
			
				
					|  |  |  |     } | 
			
		
	
		
			
				
					|  |  |  |   }, | 
			
		
	
		
			
				
					|  |  |  |   methods: { | 
			
		
	
		
			
				
					|  |  |  |     initData() { | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |     } | 
			
		
	
		
			
				
					|  |  |  |   } | 
			
		
	
		
			
				
					|  |  |  | } | 
			
		
	
	
		
			
				
					|  |  | 
 |