[update] 不符合项关闭ids字段改成selections
This commit is contained in:
+3
-3
@@ -41,13 +41,13 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { nonmatchItemClose, nonmatchItemBatchClose } from '@/api/regulatoryComplianceAssessmentDatabase'
|
import { nonmatchItemBatchClose } from '@/api/regulatoryComplianceAssessmentDatabase'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'NonmatchItemCloseModal',
|
name: 'NonmatchItemCloseModal',
|
||||||
data () {
|
data () {
|
||||||
return {
|
return {
|
||||||
title: this.$t('enterpriseStandardLibrary.standard.temporaryPermissionSet'),
|
title: this.$t('close'),
|
||||||
visible: false,
|
visible: false,
|
||||||
confirmLoading: false,
|
confirmLoading: false,
|
||||||
form: this.$form.createForm(this),
|
form: this.$form.createForm(this),
|
||||||
@@ -100,7 +100,7 @@ export default {
|
|||||||
if (!err) {
|
if (!err) {
|
||||||
this.confirmLoading = true
|
this.confirmLoading = true
|
||||||
const param = Object.assign({}, values)
|
const param = Object.assign({}, values)
|
||||||
param.ids = this.model.ids
|
param.selections = this.model.ids
|
||||||
nonmatchItemBatchClose(param).then(res => {
|
nonmatchItemBatchClose(param).then(res => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.$message.success(res.message)
|
this.$message.success(res.message)
|
||||||
|
|||||||
Reference in New Issue
Block a user