[update] 不符合项关闭ids字段改成selections

This commit is contained in:
lideqin
2024-07-01 13:41:57 +08:00
parent 25892ec00d
commit 2e4a421764
@@ -41,13 +41,13 @@
</template>
<script>
import { nonmatchItemClose, nonmatchItemBatchClose } from '@/api/regulatoryComplianceAssessmentDatabase'
import { nonmatchItemBatchClose } from '@/api/regulatoryComplianceAssessmentDatabase'
export default {
name: 'NonmatchItemCloseModal',
data () {
return {
title: this.$t('enterpriseStandardLibrary.standard.temporaryPermissionSet'),
title: this.$t('close'),
visible: false,
confirmLoading: false,
form: this.$form.createForm(this),
@@ -100,7 +100,7 @@ export default {
if (!err) {
this.confirmLoading = true
const param = Object.assign({}, values)
param.ids = this.model.ids
param.selections = this.model.ids
nonmatchItemBatchClose(param).then(res => {
if (res.success) {
this.$message.success(res.message)