12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043 |
- <!-- 检查和自查列表 -->
- <template>
- <view class="snapshotList">
- <scroll-view scroll-y @scrolltolower="scrollGet" class="info-max-box">
- <view class="title" @click="planClick()">
- <view class="title-l">
- <view class="title-l-t">{{optionData.planTitle}}</view>
- <view class="title-l-b">
- <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">
- </view>
- <view class="tabTitleTow">
- <view :class="tabIndexTow==index?'tab-C':'tab-D'" v-for="(item,index) in tabListTow"
- @click="tabClickTow(index)">{{item}}</view>
- </view>
- <view>
- <view class="level">
- <view class="level-li"
- :style="levelId==item.levelId?'border:1rpx solid '+item.levelColor+';background:'+item.levelColorTow+';':'levelColor-B'"
- @click="levelClick(item.levelId)" v-for="(item,index) in levelList">{{item.levelName}}</view>
- </view>
- <view class="srearch">
- <view class="srearch-n" @click="srearchClick()">
- <view class="srearch-l">
- <img src="@/pages_safetyCheck/images/icon_aqjc_ss.png">
- </view>
- <input class="srearch-c" type="text" v-model="searchValue" placeholder="搜索实验室" disabled />
- </view>
- </view>
- </view>
- <view class="hidden">
- <view class="lab-info" @click="listClick(item)" v-for="(item,index) in dataList">
- <img class="lab-info-l" src="@/pages_safetyCheck/images/icon_aqjc_shiyanshi.png">
- <view class="lab-info-c">
- <view class="lab-info-c-t">
- <view class="lab-info-c-t-l">{{item.subName}}</view>
- <view class="lab-info-c-t-r"
- :style="'border:1rpx solid '+item.classLevelColor+';background:'+item.classLevelColorTow+';'">
- <text
- :style="'border-right:1rpx solid '+item.classLevelColor+';color:'+item.classLevelColor+';'">{{item.classLevelName?item.classLevelName:''}}</text>
- <text
- :style="'color:'+item.classLevelColor+';'">{{item.classTypeNames?item.classTypeNames:''}}</text>
- </view>
- </view>
- <view class="lab-info-c-b">
- <text>{{tabIndexTow==0?(item.roomNum?item.roomNum:'-'):(item.subRoom?item.subRoom:'-')}}房间&{{item.buildName}}</text>
- <text>{{item.deptName}}</text>
- </view>
- </view>
- </view>
- <view class="get-data-null-p" v-if="getDataType">- 没有更多数据 -</view>
- </view>
- <img class="saoCode" @click="saoCode()" src="@/pages_safetyCheck/images/icon_aqjc_saoma.png">
- </scroll-view>
- </view>
- </template>
- <script>
- import {
- config
- } from '@/api/request/config.js'
- import {
- systemDeptDropList,
- } from '@/pages/api/index.js'
- import {
- laboratorySubRelInfoGetRelList,
- laboratoryLevelConfigGetWebLevelTitleList,
- securityAppCheckManageList,
- securityAppCheckDangerGetCheckDangerSubList,
- securityAppCheckDangerReviewSubList,
- securityAppCheckSetOptionList,
- } from '@/pages_safetyCheck/api/index.js'
- export default {
- name: "snapshotList",
- components: {
- },
- data() {
- return {
- baseUrl: config.base_url,
- pageType: 0,
- userType: 1,
- tabListTow: ['检查任务', '复查验证', '隐患整改'],
- tabIndexTow: 0,
- //学院选择
- deptData: {
- index: null,
- list: [],
- id: null,
- name: null
- },
- deptIndex: null,
- deptList: [],
- //弹层实验室数据
- popupType: false,
- roomList: [],
- //级别
- levelList: [],
- levelId: null,
- optionData: null,
- //实验室/房间号
- searchValue: '',
- subId: '',
- planSetId: null,
- // 查询参数
- queryParams: {
- page: 1,
- pageSize: 20,
- },
- dataList: [],
- total: 0,
- getDataType: false,
- }
- },
- onLoad(option) {
- let optionData = JSON.parse(decodeURIComponent(option.infoData))
- console.log(optionData)
- uni.setNavigationBarTitle({
- title: optionData.checkPlanSetVoList.checkName
- })
- this.$set(this, 'tabListTow',
- optionData.checkCategory == 1 ? ['检查任务', '复查验证', '隐患整改'] :
- (optionData.checkCategory == 2 ? ['自查任务', '复查验证', '隐患整改'] : [])
- )
- this.$set(this, 'optionData', optionData);
- this.$set(this, 'planSetId', optionData.checkPlanSetVoList.planSetId);
- },
- created() {
- this.systemDeptDropList();
- this.laboratoryLevelConfigGetWebLevelTitleList();
- },
- mounted() {
- let self = this;
- setTimeout(() => {
- self.getList();
- }, 100);
- },
- methods: {
- //滚动事件
- scrollGet() {
- let self = this;
- if (self.total / self.queryParams.pageSize <= self.queryParams.page) {
- this.$set(this, 'getDataType', true);
- } else {
- this.queryParams.page += 1;
- this.$nextTick(() => {
- this.getList();
- })
- }
- },
- //级别切换
- 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.$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.$nextTick(() => {
- this.getList();
- })
- },
- //实验室搜索框跳转
- srearchClick() {
- let infoData = {};
- infoData.pageType = this.tabIndexTow;
- infoData.laboratoryStatus = this.tabIndexTow;
- infoData.planTitle = this.optionData.planTitle;
- infoData.checkCategory = this.optionData.checkCategory;
- infoData.checkTypeName = this.optionData.checkTypeName;
- infoData.crossCheck = this.optionData.crossCheck;
- infoData.checkPlanSetVoList = this.optionData.checkPlanSetVoList;
- uni.navigateTo({
- url: '/pages_safetyCheck/views/snapshotManage/laboratorySearch?form=' + encodeURIComponent(
- JSON.stringify(infoData))
- });
- },
- //计划详情
- planClick() {
- let infoData = {
- 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.planTitle = this.optionData.planTitle;
- infoData.checkCategory = this.optionData.checkCategory;
- infoData.checkTypeName = this.optionData.checkTypeName;
- infoData.crossCheck = this.optionData.crossCheck;
- infoData.checkPlanSetVoList = this.optionData.checkPlanSetVoList;
- uni.navigateTo({
- url: '/pages_safetyCheck/views/itemsManage/hiddenDangerItems?infoData=' + encodeURIComponent(
- JSON.stringify(infoData))
- });
- },
- //搜索房间接口
- async buildBySub() {
- let self = this;
- const {
- data
- } = await laboratorySubRelInfoGetRelList({
- 'searchValue': this.form.searchValue,
- });
- if (data.code == 200) {
- if (data.data[0]) {
- this.roomList = data.data;
- } else {
- uni.showToast({
- title: '未找到相关实验室',
- icon: "none",
- mask: true,
- duration: 2000
- });
- }
- }
- },
- /******调用摄像头******/
- saoCode() {
- let self = this;
- uni.scanCode({
- onlyFromCamera: true,
- success: function(res) {
- let list = res.result.split("?")[1].split("&");
- let codeData = {};
- list.forEach((item) => {
- codeData[item.split("=")[0]] = item.split("=")[1];
- })
- if (codeData.code) {
- self.saoList(codeData.subId);
- } else {
- uni.showToast({
- title: '请扫描正确的二维码',
- icon: "none",
- mask: true,
- duration: 2000
- });
- }
- }
- });
- },
- //查询检查项
- async securityAppCheckSetOptionList(item) {
- let self = this;
- let upData = item;
- let obj = {
- page: 1,
- pageSize: 20,
- checkStatus: '0',
- manageId: upData.manageId,
- }
- const {
- data
- } = await securityAppCheckSetOptionList(obj);
- if (data.code == 200) {
- if (data.data.records[0]) {
- let infoData = self.optionData;
- infoData.pageType = self.tabIndexTow;;
- infoData.itemsStatus = 0;
- infoData.subName = upData.subName;
- infoData.roomNum = upData.roomNum;
- infoData.subId = data.data.records[0].subId;
- infoData.manageId = data.data.records[0].manageId;
- infoData.setOptionId = data.data.records[0].setOptionId;
- infoData.hazardCheckPro = data.data.records[0].hazardCheckPro;
- uni.navigateTo({
- url: '/pages_safetyCheck/views/inspectManage/conductInspections?infoData=' +
- encodeURIComponent(
- JSON
- .stringify(infoData))
- });
- } else {
- self.dialogStatus = 0;
- self.dialogVisible = false;
- uni.showToast({
- title: '该实验室暂无检查项!',
- icon: "none",
- mask: true,
- duration: 2000
- });
- return
- }
- }
- },
- //扫一扫查询数据
- 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]) {
- this.securityAppCheckSetOptionList(data.data.records[0])
- //跳转检查项列表页面
- /* let infoData = data.data.records[0];
- infoData.pageType = this.tabIndexTow;
- infoData.checkPlanSetVoList = this.optionData.checkPlanSetVoList;
- 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[0] && data.data[0].stayExamineCheckNum != 0) {
- //跳转检查项列表页面
- let infoData = data.data[0];
- infoData.pageType = this.tabIndexTow;
- infoData.checkPlanSetVoList = this.optionData.checkPlanSetVoList;
- 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[0]) {
- //跳转检查项列表页面
- let infoData = data.data[0];
- infoData.pageType = this.tabIndexTow;
- infoData.checkPlanSetVoList = this.optionData.checkPlanSetVoList;
- 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.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() {
- const {
- data
- } = await systemDeptDropList({
- deptName: '',
- level: 2,
- deptType: 1
- });
- if (data.code == 200) {
- data.data.unshift({
- deptid: null,
- deptName: '全部'
- })
- this.$set(this.deptData, 'list', data.data);
- }
- },
- //获取分级
- async laboratoryLevelConfigGetWebLevelTitleList() {
- let self = this;
- const {
- data
- } = await laboratoryLevelConfigGetWebLevelTitleList({});
- if (data.code == 200) {
- data.data.forEach(function(item) {
- item.levelName = item.levelName.split('/')[0]
- if (item.levelColor) {
- item.levelColorTow = self.hexToRgb(item.levelColor, 0.2)
- }
- })
- this.$set(this, 'levelList', data.data);
- }
- },
- //回车触发
- carriageReturnRequest() {
- this.$set(this, 'getDataType', false);
- this.$set(this.queryParams, 'page', 1);
- this.getList();
- },
- //检查任务
- async getList() {
- let self = this;
- 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) {
- data.data.records.forEach(function(item) {
- if (item.classLevelColor) {
- item.classLevelColorTow = self.hexToRgb(item.classLevelColor, 0.2)
- }
- })
- 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);
- // }
- // }
- }
- }
- },
- //十六进制颜色值和RGB格式转换
- hexToRgb(hex, opacity = 1) {
- // 去除#号
- var color = hex.replace("#", "");
- // 分割成红、绿、蓝三部分的16进制字符串
- var red = parseInt(color.substring(0, 2), 16);
- var green = parseInt(color.substring(2, 4), 16);
- var blue = parseInt(color.substring(4, 6), 16);
- return `RGB(${red}, ${green}, ${blue},${opacity})`;
- },
- }
- }
- </script>
- <style lang="stylus" scoped>
- .snapshotList {
- height: 100%;
- display flex;
- overflow: hidden;
- .info-max-box {
- padding-top: 20rpx;
- }
- .title {
- width: 690rpx;
- margin: 0 30rpx 20rpx;
- height: 150rpx;
- background: #FFFFFF;
- border-radius: 20rpx 20rpx 20rpx 20rpx;
- display: flex;
- justify-content: space-between;
- align-items: center;
- padding: 0 30rpx;
- box-sizing: border-box;
- .title-l {
- width: 594rpx;
- .title-l-t {
- font-size: 30rpx;
- color: #333333;
- line-height: 42rpx;
- text-align: left;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- .title-l-b {
- display: flex;
- justify-content: flex-start;
- margin-top: 16rpx;
- >view {
- width: 130rpx;
- height: 50rpx;
- background: rgba(1, 131, 250, 0.2);
- border-radius: 6rpx 6rpx 6rpx 6rpx;
- font-size: 24rpx;
- color: #0183FA;
- line-height: 50rpx;
- text-align: center;
- margin-right: 14rpx;
- }
- }
- }
- .title-r {
- width: 24rpx;
- height: 24rpx;
- }
- }
- .tabTitleTow {
- width: 690rpx;
- height: 80rpx;
- display: flex;
- justify-content: center;
- margin: 20rpx 0 0 30rpx;
- >view:nth-of-type(1) {
- width: 230rpx;
- height: 80rpx;
- border-radius: 50rpx 0rpx 0rpx 50rpx;
- }
- >view:nth-of-type(2) {
- width: 230rpx;
- height: 80rpx;
- border-radius: 0rpx 0rpx 0rpx 0rpx;
- }
- >view:nth-of-type(3) {
- width: 230rpx;
- height: 80rpx;
- border-radius: 0rpx 50rpx 50rpx 0rpx;
- }
- .tab-C {
- font-size: 30rpx;
- color: #FFFFFF;
- line-height: 80rpx;
- text-align: center;
- background: #0183FA;
- }
- .tab-D {
- font-size: 30rpx;
- color: #333333;
- line-height: 80rpx;
- text-align: center;
- background: #FFFFFF;
- }
- }
- .srearch {
- width: 750rpx;
- height: 100rpx;
- background: #FFFFFF;
- border-radius: 0rpx 0rpx 0rpx 0rpx;
- overflow: hidden;
- display: flex;
- display: flex;
- justify-content: space-between;
- align-items: center;
- padding: 0 30rpx;
- box-sizing: border-box;
- .college {
- width: 200rpx;
- height: 60rpx;
- border-radius: 50rpx 50rpx 50rpx 50rpx;
- border: 2rpx solid #E0E0E0;
- font-size: 24rpx;
- color: #333333;
- line-height: 60rpx;
- text-align: left;
- display: flex;
- justify-content: space-between;
- align-items: center;
- padding: 0 26rpx;
- box-sizing: border-box;
- 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;
- }
- }
- .srearch-n {
- width: 690rpx;
- height: 60rpx;
- border-radius: 50rpx 50rpx 50rpx 50rpx;
- border: 2rpx solid #E0E0E0;
- display: flex;
- justify-content: flex-start;
- align-items: center;
- .srearch-l {
- width: 60rpx;
- height: 60rpx;
- >img {
- width: 20rpx;
- height: 20rpx;
- margin: 20rpx 0 0 26rpx;
- }
- }
- .srearch-c {
- flex: 1;
- height: 58rpx;
- font-size: 24rpx;
- color: #999999;
- line-height: 30rpx;
- text-align: left;
- }
- .srearch-r {
- width: 90rpx;
- height: 60rpx;
- >img {
- width: 30rpx;
- height: 30rpx;
- margin: 14rpx 22rpx 0 30rpx;
- }
- }
- }
- }
- .level {
- width: 750rpx;
- height: 80rpx;
- background: #FFFFFF;
- display: flex;
- justify-content: flex-start;
- padding: 30rpx 30rpx 0;
- box-sizing: border-box;
- margin-top: 20rpx;
- .level-li {
- width: 100rpx;
- height: 50rpx;
- background: #F5F5F5;
- border-radius: 50rpx 50rpx 50rpx 50rpx;
- border: 2rpx solid #E0E0E0;
- margin-right: 10rpx;
- font-size: 24rpx;
- color: #333333;
- line-height: 50rpx;
- text-align: center;
- }
- #levelColor-A {
- background: rgba(255, 0, 0, 0.2);
- color: #FF0000;
- border: 1rpx solid #FF0000;
- }
- #levelColor-B {
- background: #F5F5F5;
- color: #333333;
- border: 2rpx solid #E0E0E0;
- }
- }
- .list {
- width: 690rpx;
- min-height: 765rpx;
- background: #FFFFFF;
- border-radius: 20rpx 20rpx 20rpx 20rpx;
- margin: 20rpx 0 0 30rpx;
- .list-li {
- display: flex;
- justify-content: space-between;
- border-bottom: 1rpx solid #E0E0E0;
- padding: 0 22rpx 0 28rpx;
- box-sizing: border-box;
- >view:nth-of-type(1) {
- font-size: 30rpx;
- color: #333333;
- line-height: 80rpx;
- text-align: left;
- }
- >view:nth-of-type(2) {
- font-size: 28rpx;
- color: #666666;
- line-height: 80rpx;
- text-align: left;
- display: flex;
- justify-content: flex-start;
- align-items: center;
- >img {
- width: 24rpx;
- height: 24rpx;
- margin-left: 8rpx;
- }
- }
- .project_r {
- width: 510rpx;
- min-height: 80rpx;
- display: flex;
- justify-content: flex-end;
- align-items: center;
- padding-left: 20rpx;
- box-sizing: border-box;
- color: #666;
- }
- }
- .describe {
- width: 636rpx;
- height: 120rpx;
- border-radius: 10rpx 10rpx 10rpx 10rpx;
- border: 2rpx solid #E0E0E0;
- margin: 20rpx 0 0 28rpx;
- padding: 12rpx 16rpx;
- box-sizing: border-box;
- }
- .check-for-img-max-box {
- margin: 20px 28rpx;
- .left-title-p {
- width: 100%;
- text-align: left;
- font-size: 30rpx;
- font-family: PingFang SC-Medium, PingFang SC;
- font-weight: 400;
- color: #333333;
- line-height: 80rpx;
- }
- .right-img-box {
- .img-box {
- display inline-block;
- height: 150rpx;
- width: 150rpx;
- position relative;
- margin: 0 14rpx 20rpx 0;
- border-radius 10rpx;
- overflow hidden;
- .img-data {
- height: 150rpx;
- width: 150rpx;
- }
- .position-img {
- position absolute;
- right: 0;
- top: 0;
- width: 36rpx;
- height: 36rpx;
- }
- }
- .img-box:nth-of-type(3n+3) {
- margin-right: 0rpx;
- }
- .add-button {
- margin: 0 0rpx 20rpx 0;
- border-radius 10rpx;
- overflow hidden;
- display inline-block;
- height: 150rpx;
- width: 150rpx;
- }
- }
- }
- }
- /* 隐患整改 */
- .hidden {
- box-sizing: border-box;
- margin: 20rpx 0;
- .hidden-li:nth-child(1) {
- border-top: none;
- }
- .lab-info {
- background: #FFFFFF;
- display: flex;
- justify-content: space-between;
- border: 2rpx dashed #D8D8D8;
- .lab-info-l {
- width: 80rpx;
- height: 80rpx;
- background: #0183FA;
- border-radius: 10rpx 10rpx 10rpx 10rpx;
- margin-left: 30rpx;
- margin-top: 30rpx;
- margin-bottom: 42rpx;
- }
- .lab-info-c {
- margin: 24rpx 30rpx 0 20rpx;
- flex: 1;
- .lab-info-c-t {
- display: flex;
- justify-content: space-between;
- .lab-info-c-t-l {
- font-size: 30rpx;
- color: #333333;
- line-height: 42rpx;
- text-align: left;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- .lab-info-c-t-r {
- display: flex;
- justify-content: flex-start;
- border-radius: 10rpx 10rpx 10rpx 10rpx;
- width: 180rpx;
- height: 40rpx;
- margin-left: 10rpx;
- >text {
- display: inline-block;
- flex: 1;
- text-align: center;
- font-size: 24rpx;
- line-height: 40rpx;
- text-align: center;
- }
- }
- }
- .lab-info-c-b {
- margin-top: 16rpx;
- display: flex;
- justify-content: space-between;
- >text:nth-of-type(1) {
- font-size: 30rpx;
- color: #666666;
- line-height: 30rpx;
- text-align: left;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- >text:nth-of-type(2) {
- font-size: 30rpx;
- color: #666666;
- line-height: 30rpx;
- text-align: left;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- }
- }
- }
- .lab-info: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 {
- color: #0183FA;
- }
- #color-B {
- color: #FF8C00;
- }
- #color-C {
- color: #16B531;
- }
- .saoCode {
- position: fixed;
- left: 288rpx;
- bottom: 20rpx;
- width: 130rpx;
- height: 130rpx;
- }
- }
- </style>
|