|
@@ -114,7 +114,7 @@ export default {
|
|
|
methods: {
|
|
|
// 获取停车场名称
|
|
|
nameParking () {
|
|
|
- this.$http.post('/sc-community-web/parkingCar/findParkInfo', { pageNum: this.mixins_page.pageNum, pageSize: this.mixins_page.pageSize }).then(({ data, status, msg }) => {
|
|
|
+ this.$http.post('/sc-community/parkingCar/findParkInfo', { pageNum: this.mixins_page.pageNum, pageSize: this.mixins_page.pageSize }).then(({ data, status, msg }) => {
|
|
|
console.log(data.list);
|
|
|
for (let i = 0; i < data.list.length; i++) {
|
|
|
this.nameParkingLot.push({
|
|
@@ -135,7 +135,7 @@ export default {
|
|
|
if (this.nameParkingLotName.length == 0) {
|
|
|
this.$message.error('请选择停车场名称');
|
|
|
} else {
|
|
|
- this.mixins_dataUrl = '/sc-community-web/parkingCar/findChannelInfo';
|
|
|
+ this.mixins_dataUrl = '/sc-community/parkingCar/findChannelInfo';
|
|
|
this.mixins_query = { parkId: this.mixins_query.parkId, pageIndex: this.mixins_page.pageNum, pageSize: this.mixins_page.pageSize, parkName: this.nameParkingLotName, nodeName: this.nodeName };
|
|
|
this.mixins_search();
|
|
|
}
|
|
@@ -143,7 +143,7 @@ export default {
|
|
|
},
|
|
|
// 开闸
|
|
|
switchOn (row) {
|
|
|
- this.$http.post('/sc-community-web/parkingCar/operateChannel', { parkId: this.mixins_query.parkId, type: '0', nodeId: row.id }).then(({ data, status, msg }) => {
|
|
|
+ this.$http.post('/sc-community/parkingCar/operateChannel', { parkId: this.mixins_query.parkId, type: '0', nodeId: row.id }).then(({ data, status, msg }) => {
|
|
|
if (status == 0) {
|
|
|
this.$message.success('开闸成功');
|
|
|
} else {
|
|
@@ -154,7 +154,7 @@ export default {
|
|
|
},
|
|
|
// 关闸
|
|
|
closeGate (row) {
|
|
|
- this.$http.post('/sc-community-web/parkingCar/operateChannel', { parkId: this.mixins_query.parkId, type: '1', nodeId: row.id }).then(({ data, status, msg }) => {
|
|
|
+ this.$http.post('/sc-community/parkingCar/operateChannel', { parkId: this.mixins_query.parkId, type: '1', nodeId: row.id }).then(({ data, status, msg }) => {
|
|
|
if (status == 0) {
|
|
|
this.$message.success('关闸成功');
|
|
|
} else {
|
|
@@ -164,7 +164,7 @@ export default {
|
|
|
},
|
|
|
// 强制常开
|
|
|
forcedNormallyOpen (row) {
|
|
|
- this.$http.post('/sc-community-web/parkingCar/operateChannel', { parkId: this.mixins_query.parkId, type: '2', nodeId: row.id }).then(({ data, status, msg }) => {
|
|
|
+ this.$http.post('/sc-community/parkingCar/operateChannel', { parkId: this.mixins_query.parkId, type: '2', nodeId: row.id }).then(({ data, status, msg }) => {
|
|
|
if (status == 0) {
|
|
|
this.$message.success('强制常开成功');
|
|
|
} else {
|
|
@@ -174,7 +174,7 @@ export default {
|
|
|
},
|
|
|
// 结束常开
|
|
|
endNormallyOpen (row) {
|
|
|
- this.$http.post('/sc-community-web/parkingCar/operateChannel', { parkId: this.mixins_query.parkId, type: '3', nodeId: row.id }).then(({ data, status, msg }) => {
|
|
|
+ this.$http.post('/sc-community/parkingCar/operateChannel', { parkId: this.mixins_query.parkId, type: '3', nodeId: row.id }).then(({ data, status, msg }) => {
|
|
|
if (status == 0) {
|
|
|
this.$message.success('强制常开成功');
|
|
|
} else {
|