diff --git a/pages/projectEnd/InspectionRoute/inspectionPlan.vue b/pages/projectEnd/InspectionRoute/inspectionPlan.vue
index e9cd3def..b3a2db2d 100644
--- a/pages/projectEnd/InspectionRoute/inspectionPlan.vue
+++ b/pages/projectEnd/InspectionRoute/inspectionPlan.vue
@@ -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;
diff --git a/pages/projectEnd/InspectionRoute/inspectionPointList.vue b/pages/projectEnd/InspectionRoute/inspectionPointList.vue
index 2b187899..08f4eddf 100644
--- a/pages/projectEnd/InspectionRoute/inspectionPointList.vue
+++ b/pages/projectEnd/InspectionRoute/inspectionPointList.vue
@@ -39,7 +39,7 @@
责任企业:
- {{item.enterpriseName}}
+ {{item.enterpriseName}}
@@ -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;