2024-05-02 01:42:38 +08:00

79 lines
1.4 KiB
Vue
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<template>
<view class="danger-project">
<view class="finally" >
<view style="padding:10px;">
危大工程名称基坑
</view>
<view style="padding:10px;">
计划时间基坑
</view>
<view style="padding:10px;">
验收人基坑
</view>
<view style="padding:10px;">
验收结果基坑
</view>
</view>
<view class="no-data">
<image class="img" src="/static/noData.png"></image>
<text class="txt">暂无数据</text>
</view>
</view>
</template>
<script>
export default {
props:['detailId'],
data() {
return {
finallyCheckList: [],
};
},
created() {
this.initData()
},
methods:{
initData(){
this.sendRequest({
url:'xmgl/xzDangerousEngineeringAcceptance/list',
method:'get',
data:{
engineeringId: this.detailId,
projectSn: JSON.parse(uni.getStorageSync('projectDetail')).projectSn,
},
success:res=>{
uni.hideLoading()
console.log("xmgl/xzDangerousEngineeringAcceptance/list",res);
this.finallyCheckList = res.result;
}
})
},
}
}
</script>
<style lang="scss">
.danger-project{
.finally{
background-color: #fff;
height: 150px;
margin: 10px;
}
.no-data{
text-align: center;
.img{
display: block;
height: 200rpx;
width: 200rpx;
margin: 0 auto;
margin-top: 60rpx;
margin-bottom: 60rpx;
}
.txt{
color: #C0C4CC;
}
}
}
</style>