巡检点bug修复
This commit is contained in:
parent
1171ed3f3b
commit
638a9881f2
@ -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;
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user