|
@@ -4,12 +4,13 @@
|
|
|
<scroll-view scroll-y @scrolltolower="scrollGet" class="info-max-box">
|
|
|
<view class="title" @click="planClick()">
|
|
|
<view class="title-l">
|
|
|
- <view class="title-l-t">{{newData.planTitle}}</view>
|
|
|
+ <view class="title-l-t">{{optionData.planTitle}}</view>
|
|
|
<view class="title-l-b">
|
|
|
- <view v-if="newData.checkCategory">
|
|
|
- {{newData.checkCategory==1?'校院巡查':(newData.checkCategory==2?'学院自查':'')}}</view>
|
|
|
- <view v-if="newData.checkTypeName">{{newData.checkTypeName}}</view>
|
|
|
- <view v-if="newData.crossCheck==1">交叉互检</view>
|
|
|
+ <view v-if="optionData.checkCategory">
|
|
|
+ {{optionData.checkCategory==1?'校院巡查':(optionData.checkCategory==2?'学院自查':'')}}
|
|
|
+ </view>
|
|
|
+ <view v-if="optionData.checkTypeName">{{optionData.checkTypeName}}</view>
|
|
|
+ <view v-if="optionData.crossCheck==1">交叉互检</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
<img class="title-r" src="@/pages_safetyCheck/images/icon_wd_gd@1x.png">
|
|
@@ -20,16 +21,17 @@
|
|
|
</view>
|
|
|
<view>
|
|
|
<view class="srearch">
|
|
|
- <picker @change="deptChange" :value="deptIndex" :range="deptList" :range-key="'deptName'">
|
|
|
- <view class="college">{{queryParams.deptName?queryParams.deptName:'学院'}}
|
|
|
+ <picker @change="deptChange" :value="deptData.index" :range="deptData.list" :range-key="'deptName'">
|
|
|
+ <view class="college">
|
|
|
+ <view>{{deptData.name?deptData.name:'学院'}}</view>
|
|
|
<img src="@/pages_safetyCheck/images/icon_06.png">
|
|
|
</view>
|
|
|
</picker>
|
|
|
<view class="srearch-n">
|
|
|
- <view class="srearch-l" @click="popupClick(1)">
|
|
|
+ <view class="srearch-l">
|
|
|
<img src="@/pages_safetyCheck/images/icon_aqjc_ss.png">
|
|
|
</view>
|
|
|
- <input class="srearch-c" type="text" @confirm="carriageReturnRequest" v-model="form.searchValue"
|
|
|
+ <input class="srearch-c" type="text" @confirm="carriageReturnRequest" v-model="searchValue"
|
|
|
placeholder="实验室/房间号" />
|
|
|
<view class="srearch-r" @click="saoCode()">
|
|
|
<img src="@/pages_safetyCheck/images/icon_aqjc_sm.png">
|
|
@@ -37,37 +39,34 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="level">
|
|
|
- <view class="level-li" :id="levelIndex==index?'levelColor-A':'levelColor-B'"
|
|
|
- @click="levelClick(index)" v-for="(item,index) in levelList">{{item}}</view>
|
|
|
+ <view class="level-li" :id="levelId==item.levelId?'levelColor-A':'levelColor-B'" @click="levelClick(item.levelId)"
|
|
|
+ v-for="(item,index) in levelList">{{item.levelName}}</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="hidden">
|
|
|
<view class="hidden-li" @click="listClick(item)" v-for="(item,index) in dataList">
|
|
|
<img class="hidden-li-l" src="@/pages_safetyCheck/images/icon_sys_xz@1x.png">
|
|
|
<view class="hidden-li-c">{{item.subName}}</view>
|
|
|
- <view class="hidden-li-r">待检查{{item.unCheckCount}}项
|
|
|
+ <view class="hidden-li-r" :class="item.manageStatus == 2?'manageClass':''" v-if="tabIndexTow==0">
|
|
|
+ {{item.manageStatus == 2?'已检查':'待检查'+item.unCheckCount+'项'}}
|
|
|
<img src="@/pages_safetyCheck/images/icon_ssp_gd@1x.png">
|
|
|
</view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
-
|
|
|
- </scroll-view>
|
|
|
- <view class="popup-max-box" v-if="popupType">
|
|
|
- <view class="popup-null" @click="popupClick(2)"></view>
|
|
|
- <view class="popup-big-box">
|
|
|
- <view class="popup-input-box">
|
|
|
- <input type="text" maxlength="10" v-model="room" placeholder="请输入关键字">
|
|
|
- <view @click="buildBySub">搜索</view>
|
|
|
- </view>
|
|
|
- <view class="popup-for-max-box">
|
|
|
- <view class="popup-for-null" v-if="!roomList[0]">暂无数据</view>
|
|
|
- <view class="popup-for-box" v-for="(item,index) in roomList" :key="index">
|
|
|
- <view class="name-p">{{item.subName}} ({{item.roomNum?item.roomNum:'-'}})</view>
|
|
|
- <view class="button-p" @click="popupClickItem(item)">确定</view>
|
|
|
+ <view class="hidden-li-r" :class="item.manageStatus == 2?'manageClass':''" v-if="tabIndexTow==1">
|
|
|
+ {{item.overCheck?'已检查':'待复查'+item.stayExamineCheckNum+'项'}}
|
|
|
+ <img src="@/pages_safetyCheck/images/icon_ssp_gd@1x.png">
|
|
|
</view>
|
|
|
+ <view class="hidden-li-r" :class="item.manageStatus == 2?'manageClass':''" v-if="tabIndexTow==2">
|
|
|
+ {{item.overCheck?'已检查':'待整改'+item.stayExamineCheckNum+'项'}}
|
|
|
+ <img src="@/pages_safetyCheck/images/icon_ssp_gd@1x.png">
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="get-data-p" v-if="!getDataType">
|
|
|
+ <img class="get-data-img" src="@/pages_safetyCheck/images/icon_aqjc_sl.png">
|
|
|
+ <view class="get-data-text">上拉加载</view>
|
|
|
</view>
|
|
|
+ <view class="get-data-null-p" v-if="getDataType">- 没有更多数据 -</view>
|
|
|
</view>
|
|
|
- </view>
|
|
|
+ </scroll-view>
|
|
|
</view>
|
|
|
</template>
|
|
|
|
|
@@ -80,8 +79,10 @@
|
|
|
} from '@/pages/api/index.js'
|
|
|
import {
|
|
|
laboratorySubRelInfoGetRelList,
|
|
|
- checkOptionListNew,
|
|
|
- securityAppCheckManageList
|
|
|
+ laboratoryClassLevelGetList,
|
|
|
+ securityAppCheckManageList,
|
|
|
+ securityAppCheckDangerGetCheckDangerSubList,
|
|
|
+ securityAppCheckDangerReviewSubList,
|
|
|
} from '@/pages_safetyCheck/api/index.js'
|
|
|
export default {
|
|
|
name: "snapshotList",
|
|
@@ -96,55 +97,55 @@
|
|
|
tabListTow: ['检查任务', '复查验证', '隐患整改'],
|
|
|
tabIndexTow: 0,
|
|
|
//学院选择
|
|
|
+ deptData:{
|
|
|
+ index:null,
|
|
|
+ list:[],
|
|
|
+ id:null,
|
|
|
+ name:null
|
|
|
+ },
|
|
|
deptIndex: null,
|
|
|
deptList: [],
|
|
|
- newData: {
|
|
|
- planCategory: [], //检查类别
|
|
|
- },
|
|
|
- form: {
|
|
|
- rectifyDescribe: '',
|
|
|
- imgDtoList: [],
|
|
|
- hazardCheckName: '',
|
|
|
- },
|
|
|
+ //弹层实验室数据
|
|
|
popupType: false,
|
|
|
roomList: [],
|
|
|
- checkOptionList: [],
|
|
|
- levelList: ['一级', '二级', '三级', '四级'],
|
|
|
- levelIndex: 0,
|
|
|
+ //级别
|
|
|
+ levelList: [],
|
|
|
+ levelId: null,
|
|
|
+ optionData: {
|
|
|
+ planCategory: [], //检查类别
|
|
|
+ },
|
|
|
+ //实验室/房间号
|
|
|
+ searchValue:'',
|
|
|
+ subId:'',
|
|
|
+ planSetId:null,
|
|
|
// 查询参数
|
|
|
queryParams: {
|
|
|
page: 1,
|
|
|
pageSize: 10,
|
|
|
- deptId: '',
|
|
|
- deptName: '',
|
|
|
- manageStatus:'',//0待检查,1检查中,2已检查
|
|
|
- planSetId:'',//计划批次Id
|
|
|
},
|
|
|
- dataList:[],
|
|
|
+ dataList: [],
|
|
|
+ total:0,
|
|
|
+ getDataType:false,
|
|
|
}
|
|
|
},
|
|
|
onLoad(option) {
|
|
|
- this.$set(this, 'newData', JSON.parse(decodeURIComponent(option.infoData)));
|
|
|
- this.pageType = this.newData.pageType;
|
|
|
- console.log(this.newData)
|
|
|
+ let optionData = JSON.parse(decodeURIComponent(option.infoData))
|
|
|
uni.setNavigationBarTitle({
|
|
|
- title: this.newData.checkPlanSetVoList[0].checkName
|
|
|
+ title: optionData.checkPlanSetVoList.checkName
|
|
|
})
|
|
|
- this.queryParams.planSetId= this.newData.checkPlanSetVoList[0].planSetId
|
|
|
- if (this.pageType == 0) {
|
|
|
- //校级检查
|
|
|
- this.tabListTow = ['检查任务', '复查验证', '隐患整改'];
|
|
|
- } else if (this.pageType == 1) {
|
|
|
- //学院自查
|
|
|
- this.tabListTow = ['自查任务', '复查验证', '隐患整改'];
|
|
|
- }
|
|
|
-
|
|
|
+ this.$set(this, 'tabListTow',
|
|
|
+ optionData.checkCategory == 1 ? ['检查任务', '复查验证', '隐患整改'] :
|
|
|
+ (optionData.checkCategory == 2 ? ['自查任务', '复查验证', '隐患整改'] : [])
|
|
|
+ )
|
|
|
+ this.$set(this, 'optionData', optionData);
|
|
|
+ this.$set(this, 'planSetId', optionData.checkPlanSetVoList.planSetId);
|
|
|
},
|
|
|
onShow() {
|
|
|
|
|
|
},
|
|
|
mounted() {
|
|
|
this.systemDeptDropList();
|
|
|
+ this.laboratoryClassLevelGetList();
|
|
|
this.getList();
|
|
|
},
|
|
|
methods: {
|
|
@@ -156,52 +157,58 @@
|
|
|
} else {
|
|
|
this.queryParams.page += 1;
|
|
|
this.$nextTick(() => {
|
|
|
- if(this.pageType==0){
|
|
|
- //检查任务
|
|
|
- this.getList();
|
|
|
- }else if(this.pageType==1){
|
|
|
-
|
|
|
- }else if(this.pageType==2){
|
|
|
-
|
|
|
- }
|
|
|
+ this.getList();
|
|
|
})
|
|
|
}
|
|
|
},
|
|
|
- levelClick(index) {
|
|
|
- this.levelIndex = index;
|
|
|
+ //级别切换
|
|
|
+ levelClick(id) {
|
|
|
+ if(this.levelId == id){
|
|
|
+ this.$set(this,'levelId',null);
|
|
|
+ }else{
|
|
|
+ this.$set(this,'levelId',id);
|
|
|
+ }
|
|
|
+ this.$set(this, 'getDataType', false);
|
|
|
+ this.$set(this.queryParams,'page',1);
|
|
|
+ this.getList();
|
|
|
},
|
|
|
+ //查询类型切换
|
|
|
tabClickTow(index) {
|
|
|
- this.tabIndexTow = index;
|
|
|
- this.pageType = index;
|
|
|
+ this.$set(this.queryParams,'page',1);
|
|
|
+ this.$set(this,'deptData',{
|
|
|
+ index:null,
|
|
|
+ list:this.deptData.list,
|
|
|
+ id:null,
|
|
|
+ name:null
|
|
|
+ });
|
|
|
+ this.$set(this,'searchValue',null);
|
|
|
+ this.$set(this,'levelId',null);
|
|
|
+ this.$set(this, 'getDataType', false);
|
|
|
+ this.$set(this, 'dataList', []);
|
|
|
+ this.$set(this, 'total', 0);
|
|
|
+ this.$set(this,'tabIndexTow',index);
|
|
|
+ this.getList();
|
|
|
},
|
|
|
+ //计划详情
|
|
|
planClick() {
|
|
|
let infoData = {
|
|
|
- planId: this.newData.planId
|
|
|
+ planId: this.optionData.planId
|
|
|
};
|
|
|
uni.navigateTo({
|
|
|
url: '/pages_safetyCheck/views/planDetail?infoData=' + encodeURIComponent(JSON.stringify(
|
|
|
infoData))
|
|
|
});
|
|
|
},
|
|
|
+ //实验室列表数据选择
|
|
|
listClick(row) {
|
|
|
let infoData = row;
|
|
|
infoData.pageType = this.tabIndexTow;
|
|
|
+ infoData.checkPlanSetVoList = this.optionData.checkPlanSetVoList;
|
|
|
uni.navigateTo({
|
|
|
url: '/pages_safetyCheck/views/itemsManage/hiddenDangerItems?infoData=' + encodeURIComponent(
|
|
|
JSON.stringify(infoData))
|
|
|
});
|
|
|
},
|
|
|
- /******搜索房间弹层开关******/
|
|
|
- popupClick(type) {
|
|
|
- if (type == 1) {
|
|
|
- this.room = "";
|
|
|
- this.roomList = [];
|
|
|
- this.popupType = true;
|
|
|
- this.buildBySub();
|
|
|
- } else if (type == 2) {
|
|
|
- this.popupType = false;
|
|
|
- }
|
|
|
- },
|
|
|
//搜索房间接口
|
|
|
async buildBySub() {
|
|
|
let self = this;
|
|
@@ -223,12 +230,6 @@
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
- //确认搜索房间
|
|
|
- popupClickItem(item) {
|
|
|
- this.$set(this.queryParams, "subId", item.subId)
|
|
|
- this.$set(this.queryParams, "levelId", item.levelId)
|
|
|
- this.popupType = false;
|
|
|
- },
|
|
|
/******调用摄像头******/
|
|
|
saoCode() {
|
|
|
let self = this;
|
|
@@ -240,9 +241,8 @@
|
|
|
list.forEach((item) => {
|
|
|
codeData[item.split("=")[0]] = item.split("=")[1];
|
|
|
})
|
|
|
- console.log('二维码', codeData)
|
|
|
if (codeData.code) {
|
|
|
- self.laboratoryAppletGetSubDetailInfo(codeData.code);
|
|
|
+ self.saoList(codeData.subId);
|
|
|
} else {
|
|
|
uni.showToast({
|
|
|
title: '请扫描正确的二维码',
|
|
@@ -254,15 +254,102 @@
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
+ //扫一扫查询数据
|
|
|
+ async saoList(subId){
|
|
|
+ let obj = {
|
|
|
+ planSetId:this.planSetId,
|
|
|
+ subId:subId,
|
|
|
+ }
|
|
|
+ if(this.tabIndexTow == 0){
|
|
|
+ //检查计划
|
|
|
+ const { data } = await securityAppCheckManageList(obj);
|
|
|
+ if (data.code == 200) {
|
|
|
+ if(data.data.records[0]){
|
|
|
+ //跳转检查项列表页面
|
|
|
+ let infoData = data.data.records[0];
|
|
|
+ infoData.pageType = this.tabIndexTow;
|
|
|
+ infoData.checkName = this.optionData.checkPlanSetVoList.checkName;
|
|
|
+ uni.navigateTo({
|
|
|
+ url: '/pages_safetyCheck/views/itemsManage/hiddenDangerItems?infoData=' + encodeURIComponent(
|
|
|
+ JSON.stringify(infoData))
|
|
|
+ });
|
|
|
+ }else{
|
|
|
+ //未找到数据提示
|
|
|
+ uni.showToast({
|
|
|
+ title: '未找到该实验室与本计划批次关联的数据',
|
|
|
+ icon: "none",
|
|
|
+ mask: true,
|
|
|
+ duration: 2000
|
|
|
+ });
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }else if(this.tabIndexTow == 1){
|
|
|
+ //复查计划
|
|
|
+ obj.planId = this.optionData.planId;
|
|
|
+ const { data } = await securityAppCheckDangerReviewSubList(obj);
|
|
|
+ if (data.code == 200) {
|
|
|
+ if(data.data.records[0]){
|
|
|
+ //跳转检查项列表页面
|
|
|
+ let infoData = data.data.records[0];
|
|
|
+ infoData.pageType = this.tabIndexTow;
|
|
|
+ infoData.checkName = this.optionData.checkPlanSetVoList.checkName;
|
|
|
+ uni.navigateTo({
|
|
|
+ url: '/pages_safetyCheck/views/itemsManage/hiddenDangerItems?infoData=' + encodeURIComponent(
|
|
|
+ JSON.stringify(infoData))
|
|
|
+ });
|
|
|
+ }else{
|
|
|
+ //未找到数据提示
|
|
|
+ uni.showToast({
|
|
|
+ title: '未找到该实验室与本计划批次关联的数据',
|
|
|
+ icon: "none",
|
|
|
+ mask: true,
|
|
|
+ duration: 2000
|
|
|
+ });
|
|
|
+ }
|
|
|
+ }
|
|
|
+ } else if(this.tabIndexTow == 2){
|
|
|
+ //整改计划
|
|
|
+ obj.planId = this.optionData.planId;
|
|
|
+ const { data } = await securityAppCheckDangerGetCheckDangerSubList(obj);
|
|
|
+ if (data.code == 200) {
|
|
|
+ if(data.data.records[0]){
|
|
|
+ //跳转检查项列表页面
|
|
|
+ let infoData = data.data.records[0];
|
|
|
+ infoData.pageType = this.tabIndexTow;
|
|
|
+ infoData.checkName = this.optionData.checkPlanSetVoList.checkName;
|
|
|
+ uni.navigateTo({
|
|
|
+ url: '/pages_safetyCheck/views/itemsManage/hiddenDangerItems?infoData=' + encodeURIComponent(
|
|
|
+ JSON.stringify(infoData))
|
|
|
+ });
|
|
|
+ }else{
|
|
|
+ //未找到数据提示
|
|
|
+ uni.showToast({
|
|
|
+ title: '未找到该实验室与本计划批次关联的数据',
|
|
|
+ icon: "none",
|
|
|
+ mask: true,
|
|
|
+ duration: 2000
|
|
|
+ });
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
//学院选择
|
|
|
deptChange(e) {
|
|
|
let self = this;
|
|
|
- self.deptList.forEach(function(item, index) {
|
|
|
- if (index == e.detail.value) {
|
|
|
- self.$set(self.queryParams, 'deptId', item.deptId)
|
|
|
- self.$set(self.queryParams, 'deptName', item.deptName)
|
|
|
- }
|
|
|
+ self.deptData.list.forEach(function(item, index) {
|
|
|
+ if (index == e.detail.value) {
|
|
|
+ if(!item.deptId){
|
|
|
+ self.$set(self.deptData, 'id', null)
|
|
|
+ self.$set(self.deptData, 'name', null)
|
|
|
+ }else{
|
|
|
+ self.$set(self.deptData, 'id', item.deptId)
|
|
|
+ self.$set(self.deptData, 'name', item.deptName)
|
|
|
+ }
|
|
|
+ }
|
|
|
})
|
|
|
+ this.$set(this, 'getDataType', false);
|
|
|
+ this.$set(this.queryParams,'page',1);
|
|
|
+ this.getList();
|
|
|
},
|
|
|
//获取院系
|
|
|
async systemDeptDropList() {
|
|
@@ -274,38 +361,105 @@
|
|
|
deptType: 1
|
|
|
});
|
|
|
if (data.code == 200) {
|
|
|
- this.deptList = data.data
|
|
|
+ data.data.unshift({
|
|
|
+ deptid:null,
|
|
|
+ deptName:'全部'
|
|
|
+ })
|
|
|
+ this.$set(this.deptData,'list',data.data);
|
|
|
+ }
|
|
|
+ },
|
|
|
+ //获取分级
|
|
|
+ async laboratoryClassLevelGetList() {
|
|
|
+ const {
|
|
|
+ data
|
|
|
+ } = await laboratoryClassLevelGetList({});
|
|
|
+ if (data.code == 200) {
|
|
|
+ this.$set(this,'levelList',data.data);
|
|
|
}
|
|
|
},
|
|
|
//回车触发
|
|
|
carriageReturnRequest() {
|
|
|
- console.log('123123')
|
|
|
+ this.$set(this, 'getDataType', false);
|
|
|
+ this.$set(this.queryParams,'page',1);
|
|
|
+ this.getList();
|
|
|
},
|
|
|
//检查任务
|
|
|
async getList() {
|
|
|
let self = this;
|
|
|
- const {
|
|
|
- data
|
|
|
- } = await securityAppCheckManageList(this.queryParams);
|
|
|
- if (data.code == 200) {
|
|
|
- if (self.queryParams.page == 1) {
|
|
|
- this.dataList = data.data.records;
|
|
|
- this.total = data.data.total;
|
|
|
- if (data.data.total / self.queryParams.pageSize <= self.queryParams.page) {
|
|
|
- this.$set(this, 'getDataType', true);
|
|
|
- }
|
|
|
- } else {
|
|
|
- this.dataList = [...this.dataList, ...data.data.records]
|
|
|
- this.total = data.data.total;
|
|
|
- if (data.data.total / self.queryParams.pageSize <= self.queryParams.page) {
|
|
|
- this.$set(this, 'getDataType', true);
|
|
|
+ let obj = JSON.parse(JSON.stringify(this.queryParams));
|
|
|
+ obj.planSetId = this.planSetId;
|
|
|
+ obj.deptId = this.deptData.id?this.deptData.id:'';
|
|
|
+ obj.searchValue = this.searchValue?this.searchValue:'';
|
|
|
+ obj.levelId = this.levelId?this.levelId:'';
|
|
|
+ if(this.tabIndexTow == 0){
|
|
|
+ //检查计划
|
|
|
+ const { data } = await securityAppCheckManageList(obj);
|
|
|
+ if (data.code == 200) {
|
|
|
+ if (self.queryParams.page == 1) {
|
|
|
+ this.dataList = data.data.records;
|
|
|
+ this.total = data.data.total;
|
|
|
+ if (data.data.total / self.queryParams.pageSize <= self.queryParams.page) {
|
|
|
+ this.$set(this, 'getDataType', true);
|
|
|
+ }
|
|
|
+ } else {
|
|
|
+ this.dataList = [...this.dataList, ...data.data.records]
|
|
|
+ this.total = data.data.total;
|
|
|
+ if (data.data.total / self.queryParams.pageSize <= self.queryParams.page) {
|
|
|
+ this.$set(this, 'getDataType', true);
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
+ }else if(this.tabIndexTow == 1){
|
|
|
+ //复查计划
|
|
|
+ obj.planId = this.optionData.planId;
|
|
|
+ const { data } = await securityAppCheckDangerReviewSubList(obj);
|
|
|
+ if (data.code == 200) {
|
|
|
+ this.dataList = data.data;
|
|
|
+ this.$set(this, 'getDataType', true);
|
|
|
+ // 后台接口暂时不支持分页
|
|
|
+ // if (self.queryParams.page == 1) {
|
|
|
+ // this.dataList = data.data.records;
|
|
|
+ // this.total = data.data.total;
|
|
|
+ // if (data.data.total / self.queryParams.pageSize <= self.queryParams.page) {
|
|
|
+ // this.$set(this, 'getDataType', true);
|
|
|
+ // }
|
|
|
+ // } else {
|
|
|
+ // this.dataList = [...this.dataList, ...data.data.records]
|
|
|
+ // this.total = data.data.total;
|
|
|
+ // if (data.data.total / self.queryParams.pageSize <= self.queryParams.page) {
|
|
|
+ // this.$set(this, 'getDataType', true);
|
|
|
+ // }
|
|
|
+ // }
|
|
|
+ }
|
|
|
+
|
|
|
+ }else if(this.tabIndexTow == 2){
|
|
|
+ //整改计划
|
|
|
+ obj.planId = this.optionData.planId;
|
|
|
+ const { data } = await securityAppCheckDangerGetCheckDangerSubList(obj);
|
|
|
+ if (data.code == 200) {
|
|
|
+ this.dataList = data.data;
|
|
|
+ this.$set(this, 'getDataType', true);
|
|
|
+ // 后台接口暂时不支持分页
|
|
|
+ // if (self.queryParams.page == 1) {
|
|
|
+ // this.dataList = data.data.records;
|
|
|
+ // this.total = data.data.total;
|
|
|
+ // if (data.data.total / self.queryParams.pageSize <= self.queryParams.page) {
|
|
|
+ // this.$set(this, 'getDataType', true);
|
|
|
+ // }
|
|
|
+ // } else {
|
|
|
+ // this.dataList = [...this.dataList, ...data.data.records]
|
|
|
+ // this.total = data.data.total;
|
|
|
+ // if (data.data.total / self.queryParams.pageSize <= self.queryParams.page) {
|
|
|
+ // this.$set(this, 'getDataType', true);
|
|
|
+ // }
|
|
|
+ // }
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
},
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
|
|
|
}
|
|
|
}
|
|
@@ -315,9 +469,13 @@
|
|
|
.snapshotList {
|
|
|
height: 100%;
|
|
|
display flex;
|
|
|
-
|
|
|
+ overflow: hidden;
|
|
|
+ .info-max-box{
|
|
|
+ padding-top:20rpx;
|
|
|
+ }
|
|
|
.title {
|
|
|
- width: 750rpx;
|
|
|
+ width: 690rpx;
|
|
|
+ margin:0 30rpx 20rpx;
|
|
|
height: 150rpx;
|
|
|
background: #FFFFFF;
|
|
|
border-radius: 20rpx 20rpx 20rpx 20rpx;
|
|
@@ -438,8 +596,15 @@
|
|
|
overflow: hidden;
|
|
|
text-overflow: ellipsis;
|
|
|
white-space: nowrap;
|
|
|
-
|
|
|
+ >view{
|
|
|
+ width:124rpx;
|
|
|
+ display:block;
|
|
|
+ overflow:hidden;
|
|
|
+ text-overflow:ellipsis;
|
|
|
+ white-space:nowrap;
|
|
|
+ }
|
|
|
>img {
|
|
|
+ display: block;
|
|
|
width: 24rpx;
|
|
|
height: 12rpx;
|
|
|
}
|
|
@@ -475,13 +640,13 @@
|
|
|
}
|
|
|
|
|
|
.srearch-r {
|
|
|
- width: 60rpx;
|
|
|
+ width: 90rpx;
|
|
|
height: 60rpx;
|
|
|
|
|
|
>img {
|
|
|
width: 30rpx;
|
|
|
height: 30rpx;
|
|
|
- margin: 14rpx 22rpx 0 0;
|
|
|
+ margin: 14rpx 22rpx 0 30rpx;
|
|
|
}
|
|
|
|
|
|
|
|
@@ -638,180 +803,18 @@
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- /* 实验室弹框 */
|
|
|
- .popup-max-box {
|
|
|
- z-index: 10;
|
|
|
- height: 100%;
|
|
|
- width: 100%;
|
|
|
- position fixed;
|
|
|
- background rgba(0, 0, 0, 0.2);
|
|
|
- display flex;
|
|
|
-
|
|
|
- flex-direction column;
|
|
|
-
|
|
|
- .popup-null {
|
|
|
- flex: 1;
|
|
|
- }
|
|
|
-
|
|
|
- .popup-big-box {
|
|
|
- border-top-left-radius: 20rpx;
|
|
|
- border-top-right-radius: 20rpx;
|
|
|
-
|
|
|
- background #fff;
|
|
|
-
|
|
|
- .popup-input-box {
|
|
|
- padding: 30rpx 20rpx;
|
|
|
- display: flex;
|
|
|
-
|
|
|
- input {
|
|
|
- flex: 1;
|
|
|
- height: 70rpx;
|
|
|
- border: 1rpx solid #e0e0e0;
|
|
|
- border-radius: 10rpx;
|
|
|
- margin-right: 20rpx;
|
|
|
- padding: 0 20rpx;
|
|
|
- }
|
|
|
-
|
|
|
- view {
|
|
|
- background #0183FA;
|
|
|
- color: #fff;
|
|
|
- border-radius: 10rpx;
|
|
|
- width: 140rpx;
|
|
|
- line-height: 70rpx;
|
|
|
- text-align center;
|
|
|
- font-size: 28rpx;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- .popup-for-max-box {
|
|
|
- margin: 0 20rpx 30rpx;
|
|
|
- height: 600rpx;
|
|
|
- overflow-y scroll;
|
|
|
-
|
|
|
- .popup-for-null {
|
|
|
- line-height: 100rpx;
|
|
|
- text-align center;
|
|
|
- color: #999;
|
|
|
- }
|
|
|
-
|
|
|
- .popup-for-box {
|
|
|
- display: flex;
|
|
|
- padding: 10px 0;
|
|
|
-
|
|
|
- .name-p {
|
|
|
- flex: 1;
|
|
|
- line-height: 60rpx;
|
|
|
- }
|
|
|
-
|
|
|
- .button-p {
|
|
|
- background #0183FA;
|
|
|
- color: #fff;
|
|
|
- text-align center;
|
|
|
- width: 100rpx;
|
|
|
- line-height: 60rpx;
|
|
|
- height: 60rpx;
|
|
|
- border-radius: 10rpx;
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- .subBtn {
|
|
|
- width: 690rpx;
|
|
|
- height: 100rpx;
|
|
|
- background: #0183FA;
|
|
|
- border-radius: 50rpx 50rpx 50rpx 50rpx;
|
|
|
- font-weight: 400;
|
|
|
- font-size: 30rpx;
|
|
|
- color: #FFFFFF;
|
|
|
- line-height: 100rpx;
|
|
|
- text-align: center;
|
|
|
- position: fixed;
|
|
|
- left: 30rpx;
|
|
|
- bottom: 10rpx;
|
|
|
- }
|
|
|
-
|
|
|
- /* 上报记录 */
|
|
|
- .escalation {
|
|
|
-
|
|
|
- .escalation-li {
|
|
|
- width: 690rpx;
|
|
|
- height: 162rpx;
|
|
|
- background: #FFFFFF;
|
|
|
- border-radius: 20rpx 20rpx 20rpx 20rpx;
|
|
|
- margin: 20rpx 30rpx;
|
|
|
- padding: 0 30rpx;
|
|
|
- box-sizing: border-box;
|
|
|
-
|
|
|
- .escalation-li-t {
|
|
|
- display: flex;
|
|
|
- justify-content: space-between;
|
|
|
- align-items: center;
|
|
|
- border-bottom: 1rpx solid #E0E0E0;
|
|
|
-
|
|
|
- >view:nth-of-type(1) {
|
|
|
- font-weight: 400;
|
|
|
- font-size: 30rpx;
|
|
|
- color: #333333;
|
|
|
- line-height: 80rpx;
|
|
|
- text-align: left;
|
|
|
- }
|
|
|
-
|
|
|
- >view:nth-of-type(2) {
|
|
|
- font-weight: 400;
|
|
|
- font-size: 28rpx;
|
|
|
- color: #0183FA;
|
|
|
- line-height: 80rpx;
|
|
|
- text-align: left;
|
|
|
- display: flex;
|
|
|
- justify-content: flex-start;
|
|
|
- align-items: center;
|
|
|
-
|
|
|
- >img {
|
|
|
- width: 24rpx;
|
|
|
- height: 24rpx;
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- .escalation-li-b {
|
|
|
- display: flex;
|
|
|
- justify-content: space-between;
|
|
|
- align-items: center;
|
|
|
-
|
|
|
- >view:nth-of-type(1) {
|
|
|
- font-weight: 400;
|
|
|
- font-size: 30rpx;
|
|
|
- color: #333333;
|
|
|
- line-height: 80rpx;
|
|
|
- text-align: left;
|
|
|
- }
|
|
|
-
|
|
|
- >view:nth-of-type(2) {
|
|
|
- font-weight: 400;
|
|
|
- font-size: 30rpx;
|
|
|
- color: #666666;
|
|
|
- line-height: 80rpx;
|
|
|
- text-align: left;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
/* 隐患整改 */
|
|
|
.hidden {
|
|
|
- width: 690rpx;
|
|
|
- border-radius: 20rpx 20rpx 20rpx 20rpx;
|
|
|
- background: #FFFFFF;
|
|
|
- padding: 0 30rpx;
|
|
|
box-sizing: border-box;
|
|
|
- margin: 20rpx 30rpx;
|
|
|
-
|
|
|
+ margin: 20rpx 0;
|
|
|
+ .hidden-li:nth-child(1){
|
|
|
+ border-top:none;
|
|
|
+ }
|
|
|
.hidden-li {
|
|
|
+ padding: 0 30rpx;
|
|
|
height: 80rpx;
|
|
|
- border-bottom: 1rpx solid #E0E0E0;
|
|
|
+ background: #FFFFFF;
|
|
|
+ border-top: 1rpx solid #E0E0E0;
|
|
|
display: flex;
|
|
|
justify-content: flex-start;
|
|
|
align-items: center;
|
|
@@ -847,11 +850,35 @@
|
|
|
height: 24rpx;
|
|
|
}
|
|
|
}
|
|
|
+ .manageClass{
|
|
|
+ color: #009c1f !important;;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
.hidden-li:last-of-type {
|
|
|
border: none;
|
|
|
}
|
|
|
+ .get-data-p {
|
|
|
+ height: 100rpx;
|
|
|
+ text-align: center;
|
|
|
+
|
|
|
+ .get-data-img {
|
|
|
+ width: 30rpx;
|
|
|
+ height: 30rpx;
|
|
|
+ margin: 0 auto;
|
|
|
+ margin-top: 15rpx;
|
|
|
+ }
|
|
|
+
|
|
|
+ .get-data-text {
|
|
|
+ text-align: center;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .get-data-null-p {
|
|
|
+ height: 100rpx;
|
|
|
+ line-height: 100rpx;
|
|
|
+ text-align: center;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
#color-A {
|
|
@@ -866,4 +893,4 @@
|
|
|
color: #16B531;
|
|
|
}
|
|
|
}
|
|
|
-</style>
|
|
|
+</style>
|