123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931 |
- <!-- 检查和自查列表 -->
- <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="srearch">
- <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">
- <img src="@/pages_safetyCheck/images/icon_aqjc_ss.png">
- </view>
- <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">
- </view>
- </view>
- </view>
- <view class="level">
- <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" :class="item.manageStatus == 2?'manageClass':''" v-if="tabIndexTow==0">
- {{item.manageStatus == 2?'已检查':'待检查'+item.unCheckCount+'项'}}
- <img v-if="item.manageStatus != 2" src="@/pages_safetyCheck/images/icon_ssp_gd@1x.png">
- <img v-if="item.manageStatus == 2" src="@/pages_safetyCheck/images/icon_wd_gd@1x.png">
- </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>
- </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,
- } 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();
- })
- },
- //计划详情
- 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 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.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() {
- const {
- data
- } = await laboratoryLevelConfigGetWebLevelTitleList({});
- if (data.code == 200) {
- data.data.forEach(function(item){
- item.levelName=item.levelName.split('/')[0]
- })
- 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) {
- 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);
- // }
- // }
- }
- }
- },
- }
- }
- </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;
- margin-top: 20rpx;
- 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: 480rpx;
- 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: 0 30rpx;
- box-sizing: border-box;
- .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;
- }
- .hidden-li {
- padding: 0 30rpx;
- height: 80rpx;
- background: #FFFFFF;
- border-top: 1rpx solid #E0E0E0;
- display: flex;
- justify-content: flex-start;
- align-items: center;
- .hidden-li-l {
- width: 34rpx;
- height: 34rpx;
- }
- .hidden-li-c {
- font-size: 28rpx;
- color: #333333;
- line-height: 30rpx;
- text-align: left;
- flex: 1;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- margin: 0 84rpx 0 12rpx;
- }
- .hidden-li-r {
- 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;
- }
- }
- .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 {
- color: #0183FA;
- }
- #color-B {
- color: #FF8C00;
- }
- #color-C {
- color: #16B531;
- }
- }
- </style>
|