This commit is contained in:
bb_pan 2025-09-11 19:56:58 +08:00
parent 78fd01c58a
commit aa360c3ead
4 changed files with 19 additions and 9 deletions

View File

@ -109,14 +109,14 @@ const options = ref([
fontSize: '30rpx',
},
},
{
text: '删除',
style: {
backgroundColor: '#ed6042',
color: '#fff',
fontSize: '30rpx',
},
},
// {
// text: '',
// style: {
// backgroundColor: '#ed6042',
// color: '#fff',
// fontSize: '30rpx',
// },
// },
])
//

View File

@ -680,6 +680,8 @@ const saveCodeApi = async () => {
.cont {
color: #262626;
max-height: 119px;
overflow: auto;
}
}

View File

@ -185,8 +185,16 @@ const goOperate = (item,index) => {
}
const onQualified = async () => {
console.log('🚀 ~ onQualified ~ ids.value:', ids.value)
console.log(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)
if (res.code === 200) {
uni.showToast({

View File

@ -153,7 +153,7 @@ const onQualified = async () => {
const isSelect = detailsList.value.some((e) => e.isChecked == true)
if (!isSelect) {
uni.showToast({
title: '请勾选需要需要合格的数据!',
title: '请勾选需要合格的数据!',
icon: 'none',
})
return