修复bug
This commit is contained in:
parent
425eabfdde
commit
2b77d82b9b
@ -59,40 +59,29 @@
|
|||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
totalNum: 0,
|
|
||||||
statusBarHeight: 0,
|
statusBarHeight: 0,
|
||||||
nowTime: '',
|
nowTime: '',
|
||||||
projectSn: '',
|
|
||||||
dataList: [],
|
dataList: [],
|
||||||
total: 0,
|
|
||||||
page: 1,
|
|
||||||
getGoId: -1,
|
|
||||||
taskStatus: {
|
taskStatus: {
|
||||||
complete: 0,
|
complete: 0,
|
||||||
notStart: 0,
|
notStart: 0,
|
||||||
overdue: 0,
|
overdue: 0,
|
||||||
run: 0
|
run: 0
|
||||||
},
|
},
|
||||||
routeManage: false,
|
|
||||||
inspection: false,
|
inspection: false,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onLoad(option) {
|
onLoad(option) {
|
||||||
this.getGoId = option.id;
|
this.getGoId = option.id;
|
||||||
this.getData()
|
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.getTime();
|
this.getTime();
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
// this.dataList = [];
|
|
||||||
this.inspection = this.checkMenuPermission({menuPath: '/project/inspecPoint/inspection'})
|
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.statusBarHeight = uni.getStorageSync('systemInfo').statusBarHeight;
|
||||||
|
this.getData()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
//实时时间
|
//实时时间
|
||||||
@ -126,7 +115,6 @@
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
jumpPage(page) {
|
jumpPage(page) {
|
||||||
console.log(page, 'page');
|
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: `/pages/projectEnd/InspectionRoute/${page}`
|
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 {
|
.commonModules {
|
||||||
height: 66%;
|
height: 66%;
|
||||||
margin: -10% 2%;
|
margin: -10% 2%;
|
||||||
@ -357,27 +334,4 @@
|
|||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-size: 34rpx;
|
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>
|
</style>
|
||||||
Loading…
x
Reference in New Issue
Block a user