master
xy 2 years ago
parent feef84fd23
commit f3e0eec3c2

@ -25,7 +25,7 @@
"position" TEXT, "position" TEXT,
"worker_name" TEXT, "worker_name" TEXT,
"worker_id" INTEGER, "worker_id" INTEGER,
"assets_status" INTEGER, "assets_status" TEXT,
"photo" TEXT, "photo" TEXT,
"content" TEXT, "content" TEXT,
"is_check" INTEGER DEFAULT 0 "is_check" INTEGER DEFAULT 0

@ -98,6 +98,7 @@
testConnect() { testConnect() {
this.$u.api.test().then(res => { this.$u.api.test().then(res => {
console.log(res);
if(res.data.msg === '链接成功'){ if(res.data.msg === '链接成功'){
this.isConnect = true this.isConnect = true
}else{ }else{
@ -108,6 +109,7 @@
}) })
} }
}).catch(err => { }).catch(err => {
console.log(err);
this.isConnect = false this.isConnect = false
uni.showToast({ uni.showToast({
icon:'none', icon:'none',

@ -147,12 +147,16 @@
isShowSelect: false, isShowSelect: false,
action: `${ROOTPATH}/index.php?s=/Home/Worker/upload.html`, action: `${ROOTPATH}/index.php?s=/Home/Worker/upload.html`,
statusList: [{ statusList: [{
value: 1, value: "待处置",
label: "正常" label: "待处置"
}, },
{ {
value: 2, value: "闲置",
label: "维修" label: "闲置"
},
{
value: "在用",
label: "在用"
} }
], ],
@ -450,7 +454,7 @@
padding-left: 10rpx; padding-left: 10rpx;
} }
&:nth-last-child() { &:nth-last-child(1) {
padding-bottom: 0; padding-bottom: 0;
} }
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.4 KiB

Loading…
Cancel
Save