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

View File

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