巡检点bug修复

This commit is contained in:
jiayu 2024-07-25 18:07:45 +08:00
parent 1171ed3f3b
commit 638a9881f2
2 changed files with 17 additions and 5 deletions

View File

@ -959,7 +959,6 @@
content: '您确定要删除此项吗?',
success: async (res) => {
if(res.confirm) {
let that = this;
let data = {
projectSn: this.condition.projectSn,
id: item.id
@ -971,7 +970,14 @@
success: res => {
console.info(res, 'res')
if (res.code == 200) {
that.showToast('删除成功');
uni.showToast({
title: "删除成功"
})
setTimeout(() => {
this.condition.pageNo = 1;
this.listData = [];
this.getListData()
}, 1000);
}
}
})
@ -1017,6 +1023,7 @@
width: 100%;
height: 100%;
}
flex-shrink: 0;
}
.plan_path{
background-color: #5181F6;

View File

@ -39,7 +39,7 @@
</view>
<view class="card_title">
<text class="label">责任企业</text>
<text class="value">{{item.enterpriseName}}</text>
<text class="value wrap">{{item.enterpriseName}}</text>
</view>
<view class="card_title">
<view class="plan_duty">
@ -224,8 +224,10 @@
uni.showToast({
title: "删除成功"
})
this.condition.pageNo = 1
this.getListData(true)
setTimeout(() => {
this.condition.pageNo = 1
this.getListData(true)
}, 1000);
}
}
})
@ -373,6 +375,9 @@
text-align: left;
white-space: nowrap;
font-family: SourceHanSansSC-regular;
&.wrap {
white-space: pre-wrap;
}
}
.label {
min-height: 40rpx;