|  | @ -17,7 +17,7 @@ | 
		
	
		
			
				|  |  |     <el-table |  |  |     <el-table | 
		
	
		
			
				|  |  |       ref="fieldTable" |  |  |       ref="fieldTable" | 
		
	
		
			
				|  |  |       style="min-width: 100%" |  |  |       style="min-width: 100%" | 
		
	
		
			
				|  |  |       height="calc(100vh - 302px)" |  |  |  | 
		
	
		
			
				|  |  |  |  |  |       height="calc(100vh - 355px)" | 
		
	
		
			
				|  |  |       @selection-change="selectionChangeHandler" |  |  |       @selection-change="selectionChangeHandler" | 
		
	
		
			
				|  |  |       @row-click="clickRowHandler" |  |  |       @row-click="clickRowHandler" | 
		
	
		
			
				|  |  |     > |  |  |     > | 
		
	
	
		
			
				|  | @ -120,29 +120,55 @@ | 
		
	
		
			
				|  |  |     </el-dialog> |  |  |     </el-dialog> | 
		
	
		
			
				|  |  | 
 |  |  | 
 | 
		
	
		
			
				|  |  |     <!-- 分页 --> |  |  |     <!-- 分页 --> | 
		
	
		
			
				|  |  |     <!-- <el-pagination |  |  |  | 
		
	
		
			
				|  |  |  |  |  |     <el-pagination | 
		
	
		
			
				|  |  |       :current-page="currentPage4" |  |  |       :current-page="currentPage4" | 
		
	
		
			
				|  |  |       :page-sizes="[100, 200, 300, 400]" |  |  |  | 
		
	
		
			
				|  |  |  |  |  |       :page-sizes="[10, 20, 30, 50,100]" | 
		
	
		
			
				|  |  |       :page-size="100" |  |  |       :page-size="100" | 
		
	
		
			
				|  |  |       layout="total, sizes, prev, pager, next, jumper" |  |  |       layout="total, sizes, prev, pager, next, jumper" | 
		
	
		
			
				|  |  |       :total="400" |  |  |  | 
		
	
		
			
				|  |  |  |  |  |       :total="0" | 
		
	
		
			
				|  |  |       @size-change="handleSizeChange" |  |  |       @size-change="handleSizeChange" | 
		
	
		
			
				|  |  |       @current-change="handleCurrentChange" |  |  |       @current-change="handleCurrentChange" | 
		
	
		
			
				|  |  |     /> --> |  |  |  | 
		
	
		
			
				|  |  |     <!-- <pagination /> --> |  |  |  | 
		
	
		
			
				|  |  |  |  |  |     /> | 
		
	
		
			
				|  |  |  |  |  |     <!-- <Pagination /> --> | 
		
	
		
			
				|  |  |   </div> |  |  |   </div> | 
		
	
		
			
				|  |  | </template> |  |  | </template> | 
		
	
		
			
				|  |  | 
 |  |  | 
 | 
		
	
		
			
				|  |  | <script> |  |  | <script> | 
		
	
		
			
				|  |  | // import pagination from '@crud/Pagination' |  |  |  | 
		
	
		
			
				|  |  |  |  |  | // import Pagination from '@crud/Pagination' | 
		
	
		
			
				|  |  | // import crudOperation from '@crud/CRUD.operation' |  |  | // import crudOperation from '@crud/CRUD.operation' | 
		
	
		
			
				|  |  | // import CRUD, { presenter } from '@crud/crud' |  |  |  | 
		
	
		
			
				|  |  |  |  |  | // import CRUD, { presenter } from "@crud/crud"; | 
		
	
		
			
				|  |  |  |  |  | // import CRUD, { presenter, header, form } from '@crud/crud' | 
		
	
		
			
				|  |  | import headSlot from '../components/headSlot.vue' |  |  | import headSlot from '../components/headSlot.vue' | 
		
	
		
			
				|  |  | import DateRangePicker from '@/components/DateRangePicker' |  |  | import DateRangePicker from '@/components/DateRangePicker' | 
		
	
		
			
				|  |  | 
 |  |  | 
 | 
		
	
		
			
				|  |  | export default { |  |  | export default { | 
		
	
		
			
				|  |  |   components: { headSlot, DateRangePicker }, |  |  |   components: { headSlot, DateRangePicker }, | 
		
	
		
			
				|  |  | 
 |  |  |  | 
		
	
		
			
				|  |  |  |  |  |   // mixins: [ | 
		
	
		
			
				|  |  |  |  |  |   // presenter() | 
		
	
		
			
				|  |  |  |  |  |   // header(), | 
		
	
		
			
				|  |  |  |  |  |   // form({}) | 
		
	
		
			
				|  |  |  |  |  |   // ], | 
		
	
		
			
				|  |  |  |  |  |   // cruds() { | 
		
	
		
			
				|  |  |  |  |  |   //   return [ | 
		
	
		
			
				|  |  |  |  |  |   //     CRUD({ | 
		
	
		
			
				|  |  |  |  |  |   //       title: "字典内容", | 
		
	
		
			
				|  |  |  |  |  |   //       url: "api/dictrionary/findSubsetById", | 
		
	
		
			
				|  |  |  |  |  |   //       query: { id: "" }, | 
		
	
		
			
				|  |  |  |  |  |   //       crudMethod: { ...crudDictDetail }, | 
		
	
		
			
				|  |  |  |  |  |   //       optShow: { | 
		
	
		
			
				|  |  |  |  |  |   //         add: false, | 
		
	
		
			
				|  |  |  |  |  |   //         edit: true, | 
		
	
		
			
				|  |  |  |  |  |   //         del: false, | 
		
	
		
			
				|  |  |  |  |  |   //         reset: false, | 
		
	
		
			
				|  |  |  |  |  |   //         download: false, | 
		
	
		
			
				|  |  |  |  |  |   //         group: false, | 
		
	
		
			
				|  |  |  |  |  |   //       }, | 
		
	
		
			
				|  |  |  |  |  |   //       queryOnPresenterCreated: false, | 
		
	
		
			
				|  |  |  |  |  |   //       confirmDeleteMsg: "确认删除当前字典内容么?", | 
		
	
		
			
				|  |  |  |  |  |   //       sort: ["dicSequence,asc"], | 
		
	
		
			
				|  |  |  |  |  |   //     }), | 
		
	
		
			
				|  |  |  |  |  |   //   ]; | 
		
	
		
			
				|  |  |  |  |  |   // }, | 
		
	
		
			
				|  |  |   data() { |  |  |   data() { | 
		
	
		
			
				|  |  |     return { |  |  |     return { | 
		
	
		
			
				|  |  |       tableData: [], |  |  |       tableData: [], | 
		
	
	
		
			
				|  | @ -173,12 +199,14 @@ export default { | 
		
	
		
			
				|  |  |         confirmButtonText: '确定', |  |  |         confirmButtonText: '确定', | 
		
	
		
			
				|  |  |         cancelButtonText: '取消', |  |  |         cancelButtonText: '取消', | 
		
	
		
			
				|  |  |         type: 'warning' |  |  |         type: 'warning' | 
		
	
		
			
				|  |  |       }).then(() => { |  |  |  | 
		
	
		
			
				|  |  |  |  |  |       }) | 
		
	
		
			
				|  |  |  |  |  |         .then(() => { | 
		
	
		
			
				|  |  |           this.$message({ |  |  |           this.$message({ | 
		
	
		
			
				|  |  |             type: 'success', |  |  |             type: 'success', | 
		
	
		
			
				|  |  |             message: '删除成功!' |  |  |             message: '删除成功!' | 
		
	
		
			
				|  |  |           }) |  |  |           }) | 
		
	
		
			
				|  |  |       }).catch(() => { |  |  |  | 
		
	
		
			
				|  |  |  |  |  |         }) | 
		
	
		
			
				|  |  |  |  |  |         .catch(() => { | 
		
	
		
			
				|  |  |           this.$message({ |  |  |           this.$message({ | 
		
	
		
			
				|  |  |             type: 'info', |  |  |             type: 'info', | 
		
	
		
			
				|  |  |             message: '已取消删除' |  |  |             message: '已取消删除' | 
		
	
	
		
			
				|  | 
 |