修复bug

This commit is contained in:
jiayu 2024-07-26 17:57:58 +08:00
parent 425eabfdde
commit 2b77d82b9b

View File

@ -59,40 +59,29 @@
export default {
data() {
return {
totalNum: 0,
statusBarHeight: 0,
nowTime: '',
projectSn: '',
dataList: [],
total: 0,
page: 1,
getGoId: -1,
taskStatus: {
complete: 0,
notStart: 0,
overdue: 0,
run: 0
},
routeManage: false,
inspection: false,
}
},
onLoad(option) {
this.getGoId = option.id;
this.getData()
},
mounted() {
this.getTime();
},
onShow() {
// this.dataList = [];
this.inspection = this.checkMenuPermission({menuPath: '/project/inspecPoint/inspection'})
this.routeManage = this.checkMenuPermission({menuPath: '/project/inspectRoute/routeManage'})
console.log(this.routeManage, this.inspection)
this.projectSn = JSON.parse(uni.getStorageSync('projectDetail')).projectSn;
this.statusBarHeight = uni.getStorageSync('systemInfo').statusBarHeight;
this.getData()
},
methods: {
//
@ -126,7 +115,6 @@
})
},
jumpPage(page) {
console.log(page, 'page');
uni.navigateTo({
url: `/pages/projectEnd/InspectionRoute/${page}`
})
@ -306,17 +294,6 @@
}
}
.overDataList {
padding-left: 7px;
margin-top: 15px;
}
.overDataList>span:not(:last-child)::after {
content: '|';
margin: 0 10px;
color: #e9e9e9;
}
.commonModules {
height: 66%;
margin: -10% 2%;
@ -357,27 +334,4 @@
font-weight: bold;
font-size: 34rpx;
}
.overEmergency {
display: flex;
align-items: center;
justify-content: center;
font-weight: bold;
font-size: 34rpx;
line-height: 44rpx;
padding-bottom: 20rpx;
color: #000000;
position: relative;
}
.overEmergency::after {
content: "";
width: 190rpx;
border-bottom: 6rpx solid #3A7BFF;
position: absolute;
bottom: 0;
left: 50%;
transform: translateX(-50%);
}
</style>