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', fontSize: '30rpx',
}, },
}, },
{ // {
text: '删除', // text: '',
style: { // style: {
backgroundColor: '#ed6042', // backgroundColor: '#ed6042',
color: '#fff', // color: '#fff',
fontSize: '30rpx', // fontSize: '30rpx',
}, // },
}, // },
]) ])
// //

View File

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

View File

@ -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({

View File

@ -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