diff --git a/pages/examine/index.vue b/pages/examine/index.vue
index 19e6089..fce1675 100644
--- a/pages/examine/index.vue
+++ b/pages/examine/index.vue
@@ -203,22 +203,22 @@
{{item.label}}
-
+
-
+
{{item.PATROL_POSITION}}
-
+
{{subItem.PATROL_DATE.split(' ')[1]}}
检查人: {{subItem.PATROL_PERSON}}
-
+
{{ subItem.PATROL_SITUATION || "-"}}
@@ -253,6 +253,26 @@
+
+
+
+ {{item.PATROL_PERSON}}
+ 检查人
+
+
+ {{item.PATROL_DATE}}
+ 检查日期
+
+
+ {{item.PATROL_ROUTE}}
+ 路线
+
+
+
+ 图片
+
+
+
@@ -425,6 +445,8 @@ export default {
item.DetailList.forEach(subItem=>{
subItem.showChild = true
})
+ // 反转给的考核列表 让时间从小到大
+ item.DetailList.reverse()
})
// 页面上展示的数组
this.popupServiceShowList = this.popupServiceList[0]
@@ -464,11 +486,11 @@ export default {
subItem.showChild = !subItem.showChild
},
// 打开看整改图片的弹出框
- handleShowImgDetail(subItem){
- if (subItem.PATROL_SITUATION){
- this.showImg = true
- }
- },
+ handleShowImgDetail(subItem){
+ if (subItem.PATROL_SITUATION){
+ this.showImg = true
+ }
+ },
changeDetail(subItem){
this.showImgUrl=subItem
this.$forceUpdate()
@@ -476,9 +498,10 @@ export default {
previewImage(event,subItem){
console.log('event',event)
console.log('subItem',subItem)
+ // 预览图片的方法
wx.previewImage({
current: event.currentTarget.dataset.src, // 当前显示图片的http链接
- urls: subItem.imgList // 需要预览的图片http链接列表
+ urls: subItem.imgList // 需要预览的图片http链接列表 数组形式
})
},
// 整改的预览图片
@@ -552,7 +575,8 @@ export default {
this.getMeetingDetail()
}
},
- // 点击选项卡改变选项卡
+ // 点击选项卡改变选择的种类
+ // 根据点击的 去请求这个种类下面的列表
handleChangeTab(value){
this.selectTab = value
uni.showLoading({
@@ -598,6 +622,9 @@ export default {
duration:3000
})
}else{
+ uni.showLoading({
+ title: '正在加载...'
+ })
this.selectDate = value
// 切换日期日常巡检列表 选项卡为2的时候调用
if (this.selectTab===2){
@@ -608,16 +635,16 @@ export default {
}
}
},
- // 搜索
- handleNoShow(item){
- console.log('item',item)
- item.showChild = !item.showChild
- this.$forceUpdate()
- },
- hideShowImg(){
+ // 搜索
+ handleNoShow(item){
+ console.log('item',item)
+ item.showChild = !item.showChild
+ this.$forceUpdate()
+ },
+ hideShowImg(){
this.showImg = false
- this.showImgUrl = {}
- },
+ this.showImgUrl = {}
+ },
// 改变弹出框中的选项卡
handleChangePopupTab(value){
this.popupTabSelect = value
@@ -626,7 +653,6 @@ export default {
},
// 片区列表
async getAreaList(){
-
const total = await request.$webGet(`CommercialApi/BaseInfo/GetSPRegionList`,{Province_Code:Store.state.userData.ProvinceCode})
uni.hideLoading()
if (total.Result_Code===100){
@@ -639,7 +665,7 @@ export default {
this.selectAreaValue = this.areaList[0].value
this.selectAreaName = this.areaList[0].label
// 只能先拿到 selectAreaValue 再去请求列表
- // 获得考核管理列表
+ // 获得考核管理列表 第一次进度肯定是考核管理
this.getManagerList()
}
},
@@ -667,6 +693,9 @@ export default {
},
// 考核管理列表
async getManagerList(){
+ uni.showLoading({
+ title: '正在加载...'
+ })
const date = new Date(this.searchTime)
let y = date.getFullYear()
let m = date.getMonth() + 1
@@ -1424,7 +1453,7 @@ export default {
.itemBox{
width: 100%;
display: flex;
- align-items: center;
+ align-items: flex-end;
.detailItem{
width: 100%;
.detailValue{