| 
					
				 | 
			
			
				@@ -4,13 +4,23 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <avue-crud ref="crud" :option="option" :data="dataList" :page.sync="page" :search.sync="search" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         @search-change="searchChange" @current-change="currentChange" @size-change="sizeChange" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         @refresh-change="refreshChange" @on-load="onLoad" :table-loading="loading" @saveColumn="saveColumn" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        @resetColumn="resetColumn" :cell-style="cellStyle" @search-criteria-switch="searchCriteriaSwitch"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        @resetColumn="resetColumn" :cell-style="cellStyle" @search-criteria-switch="searchCriteriaSwitch" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                 @expand-change="expandChange"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <template slot="menuLeft"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <el-button type="primary" size="mini" @click.stop="newAdd()">新建档案 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           </el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <el-button type="primary" size="mini" @click.stop="openExport()">导出 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             </el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <template slot="expand" slot-scope="{row}"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              <avue-crud 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  ref="expandCrud" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  :option="optionXiala" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  :table-loading="row.loading" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  :data="row.orderItemsList"></avue-crud> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <template slot="corpIdSearch"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <crop-select v-model="search.corpId" corpType="KH"></crop-select> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </template> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -38,8 +48,9 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 <script> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import detailsPage from "./detailsPage"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-import { option } from "./js/optionList"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import { option, optionXiala } from "./js/optionList"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    corpequipmentarchivesitemList, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     corpequipmentarchivesList, corpequipmentarchivesRemove 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } from "@/api/basicData/EquipmentArchives"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -65,6 +76,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         pageSizes: [10, 20, 30, 40, 50, 100, 200, 300, 400, 500] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       option: {}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        optionXiala:{}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   components: { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -72,6 +84,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   async created() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     this.option = option 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.optionXiala = optionXiala 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     this.option.height = window.innerHeight - 210; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   activated() { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -86,6 +99,18 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   methods: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      // 表格的下拉 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      expandChange(row, expendList){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          row.loading = true 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          corpequipmentarchivesitemList({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              current: 1, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              size: 20, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              pid:row.id 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          }).then(res=>{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              row.orderItemsList = res.data.data.records 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              row.loading = false 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       // 导出设备 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       openExport() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           let params = JSON.parse(JSON.stringify(this.search)) 
			 |