[update] 不符合项关闭ids字段改成selections
This commit is contained in:
+3
-3
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user