This commit is contained in:
		
							parent
							
								
									78fd01c58a
								
							
						
					
					
						commit
						aa360c3ead
					
				| 
						 | 
					@ -109,14 +109,14 @@ const options = ref([
 | 
				
			||||||
            fontSize: '30rpx',
 | 
					            fontSize: '30rpx',
 | 
				
			||||||
        },
 | 
					        },
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    {
 | 
					    // {
 | 
				
			||||||
        text: '删除',
 | 
					    //     text: '删除',
 | 
				
			||||||
        style: {
 | 
					    //     style: {
 | 
				
			||||||
            backgroundColor: '#ed6042',
 | 
					    //         backgroundColor: '#ed6042',
 | 
				
			||||||
            color: '#fff',
 | 
					    //         color: '#fff',
 | 
				
			||||||
            fontSize: '30rpx',
 | 
					    //         fontSize: '30rpx',
 | 
				
			||||||
        },
 | 
					    //     },
 | 
				
			||||||
    },
 | 
					    // },
 | 
				
			||||||
]) 
 | 
					]) 
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// 右滑按钮组
 | 
					// 右滑按钮组
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -680,6 +680,8 @@ const saveCodeApi = async () => {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            .cont {
 | 
					            .cont {
 | 
				
			||||||
                color: #262626;
 | 
					                color: #262626;
 | 
				
			||||||
 | 
					                max-height: 119px;
 | 
				
			||||||
 | 
					                overflow: auto;
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -185,8 +185,16 @@ const goOperate = (item,index) => {
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
const onQualified = async () => {
 | 
					const onQualified = async () => {
 | 
				
			||||||
 | 
					    console.log('🚀 ~ onQualified ~ ids.value:', ids.value)
 | 
				
			||||||
    console.log(queryParams.value.ids[1])
 | 
					    console.log(queryParams.value.ids[1])
 | 
				
			||||||
    let id = [queryParams.value.ids[1]]
 | 
					    let id = [queryParams.value.ids[1]]
 | 
				
			||||||
 | 
					    if (ids.value.length == 0) {
 | 
				
			||||||
 | 
					        uni.showToast({
 | 
				
			||||||
 | 
					            title: '请勾选需要合格的数据!',
 | 
				
			||||||
 | 
					            icon: 'none',
 | 
				
			||||||
 | 
					        })
 | 
				
			||||||
 | 
					        return
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
    const res = await auditRepairPass(ids.value)
 | 
					    const res = await auditRepairPass(ids.value)
 | 
				
			||||||
    if (res.code === 200) {
 | 
					    if (res.code === 200) {
 | 
				
			||||||
        uni.showToast({
 | 
					        uni.showToast({
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -153,7 +153,7 @@ const onQualified = async () => {
 | 
				
			||||||
    const isSelect = detailsList.value.some((e) => e.isChecked == true) 
 | 
					    const isSelect = detailsList.value.some((e) => e.isChecked == true) 
 | 
				
			||||||
    if (!isSelect) {
 | 
					    if (!isSelect) {
 | 
				
			||||||
        uni.showToast({
 | 
					        uni.showToast({
 | 
				
			||||||
            title: '请勾选需要需要合格的数据!',
 | 
					            title: '请勾选需要合格的数据!',
 | 
				
			||||||
            icon: 'none',
 | 
					            icon: 'none',
 | 
				
			||||||
        })
 | 
					        })
 | 
				
			||||||
        return
 | 
					        return
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue