代码修复
This commit is contained in:
		
							parent
							
								
									c9cc82a12b
								
							
						
					
					
						commit
						ab0ebfca34
					
				| 
						 | 
				
			
			@ -358,44 +358,7 @@ export default {
 | 
			
		|||
                typeName: '',
 | 
			
		||||
                modelName: '',
 | 
			
		||||
            },
 | 
			
		||||
            tableData: [
 | 
			
		||||
                {
 | 
			
		||||
                    machineryNum: '001',
 | 
			
		||||
                    machineryName: '机具名称1',
 | 
			
		||||
                    machineryType: '机具类型1',
 | 
			
		||||
                    specificationModel: '规格型号1',
 | 
			
		||||
                    rentalDate: '2021-01-01',
 | 
			
		||||
                    rentalPrice: '1000',
 | 
			
		||||
                    unit: '所属单位1',
 | 
			
		||||
                    manufacturer: '生产厂家1',
 | 
			
		||||
                    productionDate: '2021-01-01',
 | 
			
		||||
                    isNewEquipment: '是',
 | 
			
		||||
                    verificationNum: '检验证编号1',
 | 
			
		||||
                    inspectionUnit: '检验单位1',
 | 
			
		||||
                    inspectionDate: '2021-01-01',
 | 
			
		||||
                    nextInspectionDate: '2021-01-01',
 | 
			
		||||
                    machinistName: '机手姓名1',
 | 
			
		||||
                    status: 0,
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    machineryNum: '002',
 | 
			
		||||
                    machineryName: '机具名称2',
 | 
			
		||||
                    machineryType: '机具类型2',
 | 
			
		||||
                    specificationModel: '规格型号2',
 | 
			
		||||
                    rentalDate: '2021-01-02',
 | 
			
		||||
                    rentalPrice: '2000',
 | 
			
		||||
                    unit: '所属单位2',
 | 
			
		||||
                    manufacturer: '生产厂家2',
 | 
			
		||||
                    productionDate: '2021-01-02',
 | 
			
		||||
                    isNewEquipment: '否',
 | 
			
		||||
                    verificationNum: '检验证编号2',
 | 
			
		||||
                    inspectionUnit: '检验单位2',
 | 
			
		||||
                    inspectionDate: '2021-01-02',
 | 
			
		||||
                    nextInspectionDate: '2021-01-02',
 | 
			
		||||
                    machinistName: '',
 | 
			
		||||
                    status: 1,
 | 
			
		||||
                },
 | 
			
		||||
            ],
 | 
			
		||||
            tableData: [],
 | 
			
		||||
            queryParams: {
 | 
			
		||||
                pageNum: 1,
 | 
			
		||||
                pageSize: 10,
 | 
			
		||||
| 
						 | 
				
			
			@ -447,7 +410,7 @@ export default {
 | 
			
		|||
            const res = await receiveNotificationsDetailsApi(params)
 | 
			
		||||
            console.log(res, '接收的数据')
 | 
			
		||||
 | 
			
		||||
            // this.tableData = res.rows
 | 
			
		||||
            this.tableData = res.rows
 | 
			
		||||
            this.total = res.total
 | 
			
		||||
            // console.log('🚀 ~ getList ~ 获取列表:', params)
 | 
			
		||||
        },
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue