|
@@ -71,7 +71,7 @@
|
|
|
<script>
|
|
|
import {mapGetters} from "vuex";
|
|
|
import tools from "@/utils/scan/tools";
|
|
|
- import {deleteZone, getDataDictionary, zoneQuery} from '@/api/scan/request';
|
|
|
+ import {zoneDelete, getDataDictionary, zoneQuery} from '@/api/scan/request';
|
|
|
|
|
|
import eqToSpaceTable from '@/components/business_space/newTables/eqToSpaceTable';
|
|
|
import syInSpaceTable from '@/components/business_space/newTables/syInSpaceTable';
|
|
@@ -449,13 +449,8 @@
|
|
|
cancelButtonText: '取消',
|
|
|
type: 'warning'
|
|
|
}).then(() => {
|
|
|
- let pa = {
|
|
|
- data: [{
|
|
|
- RoomID: this.exampleData.RoomID
|
|
|
- }],
|
|
|
- zone: this.params.zone
|
|
|
- }
|
|
|
- deleteZone(pa, res => {
|
|
|
+ let pa = [{ RoomID: this.exampleData.RoomID }];
|
|
|
+ zoneDelete(pa, res => {
|
|
|
this.$message.success('删除成功')
|
|
|
this.goBack()
|
|
|
})
|