.
This commit is contained in:
parent
1449771944
commit
e3feb21166
@ -57,6 +57,23 @@ export function saveBatchControlAngle(groupId) {
|
||||
})
|
||||
}
|
||||
|
||||
// 查询轮灌-轮灌方案 列表
|
||||
export function getBatchControlShareList(landId) {
|
||||
return request({
|
||||
url: `/system/irrigateScenario/getBatchControlShareList/${landId}`,
|
||||
method: 'get',
|
||||
})
|
||||
}
|
||||
|
||||
// 保存批量控制分享
|
||||
export function saveBatchControlShare(data) {
|
||||
return request({
|
||||
url: '/system/irrigateScenario/saveBatchControlShare',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
|
||||
// 查询轮灌-轮灌方案 列表
|
||||
|
@ -75,7 +75,8 @@
|
||||
mounted() {},
|
||||
methods: {
|
||||
queryList() {
|
||||
isApi.getBatchControlList(this.landId).then(res => {
|
||||
isApi.getBatchControlShareList(this.landId).then(res => {
|
||||
console.error(res);
|
||||
if (res.data) {
|
||||
this.$refs.paging.completeByTotal(res.data.groups || []);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user