@@ -189,14 +189,22 @@
sheetId: sheetId,
state: num
}, 'POST').then(res => {
- uni.showToast({
- title: '操作成功',
- icon: 'none',
- duration: 3000
- });
-
- that.page = 1;
- that.getList()
+ if(res.code==0){
+ uni.showToast({
+ title: '操作成功',
+ icon: 'none',
+ duration: 3000
+ });
+ that.page = 1;
+ that.getList()
+ }else{
+ title: res.msg,
+ duration: 4000
+ }
+
})
} else if (res.cancel) {
@@ -232,6 +240,15 @@
} else {
this.items = this.items.concat(list)
}
},
@@ -450,6 +467,7 @@ line-height: 50rpx;
.searchInput{
line-height: 36rpx;height: 36rpx;font-size: 26rpx;
padding-left: 16rpx;
+ width: 600rpx;
.content{
min-height: 100vh;