产出品信息多选、操作
This commit is contained in:
		
							parent
							
								
									54cf828c22
								
							
						
					
					
						commit
						29bb28b69a
					
				| @ -15,9 +15,6 @@ | ||||
|       @current-change="handleCurrentChange" | ||||
|       @size-change="handleSizeChange" | ||||
|     > | ||||
|       <!-- <template #menu-left> | ||||
|         <el-button type="primary" icon="Plus" @click="handleAdd">新增网格</el-button> | ||||
|       </template> --> | ||||
|       <template #menu="scope"> | ||||
|         <custom-table-operate :actions="crudOptions.actions" :data="scope" /> | ||||
|       </template> | ||||
| @ -150,7 +147,7 @@ const filterObject = (obj) => { | ||||
| const crudData = ref([]); | ||||
| const crudOptions = reactive({ | ||||
|   ...CRUD_OPTIONS, | ||||
|   menu: false, | ||||
|   // menu: false, | ||||
|   header: false, | ||||
|   height: 'calc(100vh - 340px)', | ||||
|   selection: true, | ||||
| @ -202,13 +199,13 @@ const handleSizeChange = (val) => { | ||||
| const handleView = (row) => { | ||||
|   isReadonly.value = true; | ||||
|   formData.value = { ...row }; | ||||
|   dialogTitle.value = '查看网格'; | ||||
|   dialogTitle.value = '产出品信息'; | ||||
|   visible.value = true; | ||||
| }; | ||||
| const handleEdit = (row) => { | ||||
|   isReadonly.value = false; | ||||
|   formData.value = { ...row }; | ||||
|   dialogTitle.value = '编辑网格'; | ||||
|   dialogTitle.value = '编辑'; | ||||
|   visible.value = true; | ||||
| }; | ||||
| const handleDelete = async (row) => { | ||||
|  | ||||
| @ -1,5 +1,6 @@ | ||||
| export const mockData = [ | ||||
|   { | ||||
|     id: '1', | ||||
|     AreaCode: '530501', // 行政区划编码
 | ||||
|     gridCode: 'G001', // 网格编码
 | ||||
|     landCode: 'L001', // 地块编码
 | ||||
| @ -22,6 +23,7 @@ export const mockData = [ | ||||
|     outputValue: 77952, | ||||
|   }, | ||||
|   { | ||||
|     id: '2', | ||||
|     AreaCode: '530502', | ||||
|     gridCode: 'G002', | ||||
|     landCode: 'L002', | ||||
| @ -43,6 +45,7 @@ export const mockData = [ | ||||
|     outputValue: 116025, | ||||
|   }, | ||||
|   { | ||||
|     id: '3', | ||||
|     AreaCode: '530503', | ||||
|     gridCode: 'G003', | ||||
|     landCode: 'L003', | ||||
| @ -64,6 +67,7 @@ export const mockData = [ | ||||
|     outputValue: 207200, | ||||
|   }, | ||||
|   { | ||||
|     id: '4', | ||||
|     AreaCode: '530505', | ||||
|     gridCode: 'G005', | ||||
|     landCode: 'L005', | ||||
| @ -85,6 +89,7 @@ export const mockData = [ | ||||
|     outputValue: 112560, | ||||
|   }, | ||||
|   { | ||||
|     id: '5', | ||||
|     AreaCode: '530506', | ||||
|     gridCode: 'G006', | ||||
|     landCode: 'L006', | ||||
| @ -106,6 +111,7 @@ export const mockData = [ | ||||
|     outputValue: 108000, | ||||
|   }, | ||||
|   { | ||||
|     id: '6', | ||||
|     AreaCode: '530507', | ||||
|     gridCode: 'G007', | ||||
|     landCode: 'L007', | ||||
| @ -127,6 +133,7 @@ export const mockData = [ | ||||
|     outputValue: 198400, | ||||
|   }, | ||||
|   { | ||||
|     id: '7', | ||||
|     AreaCode: '530508', | ||||
|     gridCode: 'G008', | ||||
|     landCode: 'L008', | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user