食堂超市设备deviceType

This commit is contained in:
zzyuan 2025-06-03 09:13:30 +08:00
parent a780d041ff
commit 9af5ed4e41
2 changed files with 4 additions and 4 deletions

View File

@ -580,7 +580,7 @@
"canteenId":this.queryParams.canteenId,
"stallId":this.queryParams.stallId,
"searchValue":this.queryParams.keyWord,
"deviceType":1
"deviceType":20
}
console.log("param",param)
// let str = base64.encode(JSON.stringify(param))
@ -677,7 +677,7 @@
console.log(this.baseForm)
this.$refs["baseForm"].validate(valid => {
if (valid) {
this.baseForm.deviceType=1
this.baseForm.deviceType=20
// this.baseForm.metadata=this.metadata
if (this.baseForm.deviceId != undefined) {
updateDeviceApi(this.baseForm).then(response => {

View File

@ -329,7 +329,7 @@
"areaId":this.queryParams.areaId,
"canteenId":this.queryParams.canteenId,
"searchValue":this.queryParams.keyWord,
"deviceType":2
"deviceType":53
}
getDeviceListPageApi(param).then(response => {
this.tableListData = response.rows;
@ -409,7 +409,7 @@
"areaId": this.baseForm.areaId,
"canteenId": this.baseForm.canteenId,
}]
this.baseForm.deviceType=2
this.baseForm.deviceType=53
if (this.baseForm.deviceId != undefined) {
updateDeviceApi(this.baseForm).then(response => {
this.$modal.msgSuccess("修改成功");