设备列表

This commit is contained in:
仲么了
2023-09-06 10:56:10 +08:00
parent 47f5beccab
commit 12936a21ed
11 changed files with 478 additions and 148 deletions

View File

@@ -128,9 +128,9 @@ export default {
},
onShow() {
if (!this.options.project) {
let engineering = uni.getStorageSync('projectSelectEngineering')
let engineering = uni.getStorageSync('onceSelectEngineering')
if (engineering) {
uni.removeStorageSync('projectSelectEngineering')
uni.removeStorageSync('onceSelectEngineering')
this.formData.engineeringId = engineering.id
this.formData.engineeringName = engineering.name
}
@@ -191,7 +191,7 @@ export default {
console.log(123)
if (this.options.project) return this.$util.toast('项目已经创建,不能修改工程')
uni.navigateTo({
url: '/pages/home/selectEngineering?from=projectNew',
url: '/pages/home/selectEngineering?from=once',
})
},
beforeRemove(e) {