123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389 |
- <!-- 安全检查-工作台 -->
- <template>
- <view class="examine">
- <scroll-view scroll-y @scrolltolower="scrollGet" class="info-max-box">
- <view>
- <view class="statistics" v-if="pageType==0 || pageType==1">
- <view class="statistics_li" v-for="(item,index) in statisticsList" :key="index">
- <text>{{item.name}}</text>
- <text>{{item.value}}</text>
- </view>
- </view>
- <viwe class="inspect_btn" v-if="pageType==0 || pageType==1">
- <view class="inspect_btn_li" @click="handleClick('','patrolPlan')">
- <img src="@/images/Version3.3.3/icon_xyxc_xyxc.png"/>
- <text>校院巡查</text>
- </view>
- <text class="line"></text>
- <view class="inspect_btn_li" @click="handleClick('','selfPlan')">
- <img src="@/images/Version3.3.3/icon_xyxc_syszc.png"/>
- <text>实验室自查</text>
- </view>
- <text class="line"></text>
- <view class="inspect_btn_li" @click="handleClick('','dangerPlan')">
- <img src="@/images/Version3.3.3/icon_xyxc_aqyh.png"/>
- <text>安全隐患</text>
- </view>
- <text class="line"></text>
- <view class="inspect_btn_li" @click="handleClick('','snapshot')">
- <img src="@/images/Version3.3.3/icon_aqjc_ssp.png"/>
- <text>随手拍</text>
- </view>
- </viwe>
- <!--管理员------------- -->
- <view class="tabTitle" v-if="pageType==0">
- <view class="tabTitle_li" @tap="tabClick(index)" :key="index" v-for="(item,index) in tabText">
- <view :class="{on:curTab==index}" class="tabTitle_text">{{item.name}}<text>{{item.num}}</text></view>
- <view :class="{on:curTab==index}" class="tabTitle_across"></view>
- </view>
- </view>
- <view class="list" v-if="pageType==0">
- <view class="list_li" v-for="(item,index) in dataList" :key="index" @click="handleClick(item,'edit')">
- <view class="list_li_t">
- <view class="list_li_t_l">
- <img v-if="item.checkRange==1" src="@/images/Version3.3.3/icon_xyxc_qx.png"/>
- <img v-if="item.checkRange==2" src="@/images/Version3.3.3/icon_xyxc_xy.png"/>
- <img v-if="item.checkRange==3" src="@/images/Version3.3.3/icon_xyxc_sys.png"/>
- <text></text>
- </view>
- <view class="list_li_t_c">{{item.title}}</view>
- <view class="list_li_t_r"></view>
- </view>
- <view class="list_li_m">
- <view class="list_li_m_t">计划周期:{{item.cycleStartTime}}至{{item.cycleEndTime}}</view>
- <view class="list_li_m_b">
- <text class="blue_color" v-if="item.checkStatus==1">未开始</text>
- <text class="red_color" v-if="item.checkStatus==2">进行中</text>
- <text>{{item.checkType==1?'校院巡查':'实验室自查'}}</text>
- </view>
- </view>
- <view class="list_li_b">
- <img src="@/images/Version3.3.3/icon_djcsys.png"/>
- <text v-if="item.checkStatus==1">待检查实验室:</text>
- <text v-if="item.checkStatus==1">{{item.subjectNum}}间</text>
- <text v-if="item.checkStatus==2">检查进度:</text>
- <text v-if="item.checkStatus==2">{{item.checkSchedule}}间</text>
- </view>
- </view>
- </view>
- <!--检查者------------- -->
- <view class="tabTitle_tow" v-if="pageType==1">
- <view class="tabTitle_tow_li" @tap="tabClickTow(index)" :key="index" v-for="(item,index) in tabTextTow">
- <view :class="{on:curTabTow==index}" class="tabTitle_tow_text">{{item}}<text>2</text></view>
- <view :class="{on:curTabTow==index}" class="tabTitle_tow_across"></view>
- </view>
- </view>
- <view class="list_tow" v-if="pageType==1">
- <view class="list_tow_li" v-for="(item,index) in dataList2" :key="index">
- <view class="list_tow_li_t">
- <view class="list_tow_li_t_l">
- <img src="@/images/Version3.3.3/icon_xyxc_qx.png"/>
- <text></text>
- </view>
- <view class="list_tow_li_t_c">{{item.subjectName}}-{{item.roomNumber}}</view>
- <view class="list_tow_li_t_c2" v-if="item.isOverdue==1">已逾期</view>
- <view class="list_tow_li_t_r"></view>
- </view>
- <view class="list_tow_li_m">
- <view class="list_tow_li_m_t">{{item.title}}</view>
- <view class="list_tow_li_m_b">
- <text class="blue_color" v-if="item.manageStatus==0">待检查</text>
- <text class="red_color" v-if="item.manageStatus==1">检查中</text>
- <text class="green_color" v-if="item.manageStatus==2">已检查</text>
- <text class="orange_color" v-if="item.rectifyStatus==3">待审核</text>
- <text>{{item.checkType==1?'校院巡查':'实验室自查'}}</text>
- <text>{{item.collegeName}}</text>
- </view>
- </view>
- <!-- 开始检查 -->
- <view v-if="item.rectifyStatus==3" class="list_tow_li_b" @click="handleTowClick(item,'check')">复核</view>
- <view v-if="item.manageStatus==0 && item.notStarted" class="list_tow_li_b" @click="handleTowClick(item,'add')">开始检查</view>
- <view v-if="item.manageStatus==1" class="list_tow_li_b" @click="handleTowClick(item,'edit')">编辑</view>
- <view v-if="!item.notStarted" class="list_tow_li_b_tow"><img src="@/images/Version3.3.3/icon_xyxcgl_jhwks.png"/>计划未开始</view>
- <view v-if="item.manageStatus==2" class="list_tow_li_b_three">
- <img src="@/images/Version3.3.3/icon_djcsys.png"/>
- <text>整改进度:</text>
- <text>{{item.rectifySchedule}}</text>
- <text class="report">整改报告</text>
- </view>
- </view>
- </view>
- <!-- 整改人----------- -->
- <view class="statistics_three" v-if="pageType==2">
- <view class="statistics_three_li" v-for="(item,index) in statisticsListThree" :key="index">
- <text>{{item.name}}</text>
- <text>{{item.value}}</text>
- </view>
- </view>
- <viwe class="inspect_btn_three" v-if="pageType==2">
- <view class="inspect_btn_three_li" @click="handleClick('','schoolDanger')">
- <img src="@/images/Version3.3.3/icon_xyxc_xyxc.png"/>
- <text>校院巡查隐患</text>
- </view>
- <text class="line"></text>
- <view class="inspect_btn_three_li" @click="handleClick('','labDanger')">
- <img src="@/images/Version3.3.3/icon_xyxc_syszc.png"/>
- <text>实验室自查隐患</text>
- </view>
- <text class="line"></text>
- <view class="inspect_btn_three_li" @click="handleClick('','snapshot')">
- <img src="@/images/Version3.3.3/icon_aqjc_ssp.png"/>
- <text>随手拍</text>
- </view>
- </viwe>
-
- <view class="tabTitle_three" v-if="pageType==2">
- <view class="tabTitle_three_li" @tap="tabClickThree(index)" :key="index" v-for="(item,index) in tabTextThree">
- <view :class="{on:curTabThree==index}" class="tabTitle_three_text">{{item}}<text>2</text></view>
- <view :class="{on:curTabThree==index}" class="tabTitle_three_across"></view>
- </view>
- </view>
- <view class="list_three" v-if="pageType==2">
- <view class="list_three_li" v-for="(item,index) in dataList" :key="index" @click="handleClick(item,'edit')">
- <view class="list_three_li_t">
- <view class="list_three_li_t_l">
- <img src="@/images/Version3.3.3/icon_xyxc_qx.png"/>
- <text></text>
- </view>
- <view class="list_three_li_t_c">实验室名称-房间号</view>
- <view class="list_three_li_t_c2">已逾期</view>
- <view class="list_three_li_t_r"></view>
- </view>
- <view class="list_three_li_m">
- <view class="list_three_li_m_t">计划标题计划标题计划标题计划标题计划标题计划...</view>
- <view class="list_three_li_m_b">
- <text class="blue_color">未开始</text>
- <text>校院巡查</text>
- <text>环境与测绘学院</text>
- </view>
- </view>
- <view class="list_three_li_b">
- <text>整改期限:2023-01-01</text>
- </view>
- </view>
- </view>
- </view>
- </scroll-view>
- <view class="bottom_btn" @click="handleClick('','start')">开展检查</view>
- <img class="scan_btn" src="@/images/Version3.3.3/icon_xyxc_sm.png"/>
- </view>
- </template>
- <script>
- import { config } from '@/api/request/config.js'
- import {checkPlanList,getCheckStatusCount,dataStatistics,checkManageList,checkHazardList} from '@/api/index.js'
- export default {
- name: "rectifyList",
- components: {
-
- },
- data() {
- return {
- pageType:1,
- //列表请求参数
- getData:{
- pageNum:1,
- pageSize:20,
- checkStatus:1,
- },
- getData2:{
- pageNum:1,
- pageSize:20,
- checkType:'',
- manageStatus:0,//管理状态(-1全部 0待检查,1检查中,2已检查)
- rectifyStatus:'',
- },
-
- userType:1,//人员类型 3整改人 2检查人 1管理员
- statisticsList:[
- {name:'本月已检查',value:'0'},
- {name:'本月检查隐患',value:'0'},
- {name:'本月已整改',value:''},
- {name:'本月检查合格率',value:'40%'},
- {name:'本月已检查',value:'0'},
- {name:'本月复核通过率',value:'0%'},
- ],
- statisticsListThree:[
- {name:'本月已检查',value:'0'},
- {name:'本月已整改',value:'0%'},
- {name:'本月复核通过率',value:'0%'},
- ],
- tabText:[{name:'未开始',num:0,},{name:'进行中',num:0}],
- curTab:0,
- tabTextTow:['待检查','检查中','待复核'],
- curTabTow:0,
- tabTextThree:['隐患待整改','随手拍整改'],
- curTabThree:0,
- total:0,
- dataList:[],//管理员
- total2:0,
- dataList2:[],//检查者
- currentDate:'',
-
- }
- },
- onLoad() {
- },
- onShow() {
- //获取当前日期
- this.currentDate=this.getNowFormatDate()
- },
- mounted(){
-
- this.getCheckStatusCount();
- this.dataStatistics();
- if(this.pageType==0){//管理员
- this.getList();
- }else if(this.pageType==1){//检查者
- this.getList2();
- }
-
- },
- methods: {
- //滚动事件
- scrollGet(){
- let self=this;
- if(self.total/self.getData.pageSize<=self.getData.pageNum){
- console.log('没有更多数据!')
- }else{
- setTimeout(function(){
- self.getData.pageNum += 1;
- self.getList();
- },1000)
-
- }
- },
- //管理员
- tabClick(index) {
- this.curTab = index;
- this.getData.pageNum=1;
- this.dataList=[];
- if(index==0){//未开始
- this.getData.checkStatus=1
- this.getList()
- }else if(index==1){//进行中
- this.getData.checkStatus=2
- this.getList()
- }
- },
- tabClickTow(index) {
- this.curTabTow = index;
- this.getData2.pageNum=1;
- this.dataList2=[];
- if(index==0){//未开始
- this.getData2.manageStatus=0
- this.getList2()
- }else if(index==1){//进行中
- this.getData2.manageStatus=1
- this.getList2()
- }else if(index==2){//待复核
- this.getData2.rectifyStatus=3
- this.checkHazardList()
- }
-
- },
- tabClickThree(index) {
- this.curTabThree = index;
- },
- handleClick(row,doType){
- let self=this;
-
- if(self.pageType==0 && doType=='patrolPlan'){//校院巡查-计划
- uni.navigateTo({
- url: '/pages/pages_safetyExamine/patrolPlan/patrolPlanList?pageType=1'
- });
- }else if(self.pageType==0 && doType=='selfPlan'){//实验室自查-计划
- uni.navigateTo({
- url: '/pages/pages_safetyExamine/patrolPlan/patrolPlanList?pageType=2'
- });
- }else if(self.pageType==0 && doType=='dangerPlan'){//安全隐患-计划
- uni.navigateTo({
- url: '/pages/pages_safetyExamine/dangerManage/dangerManage?pageType=1'
- });
- }else if(self.pageType==1 && doType=='patrolPlan'){//校院巡查-检查
- uni.navigateTo({
- url: '/pages/pages_safetyExamine/examineManage/examineList?pageType=1'
- });
- }else if(self.pageType==1 && doType=='selfPlan'){//实验室自查-检查
- uni.navigateTo({
- url: '/pages/pages_safetyExamine/examineManage/examineList?pageType=2'
- });
- }else if(self.pageType==1 && doType=='dangerPlan'){//安全隐患-检查
- uni.navigateTo({
- url: '/pages/pages_safetyExamine/dangerManage/dangerManage?pageType=2'
- });
- }else if(self.pageType==2 && doType=='schoolDanger'){//校院巡查隐患
- uni.navigateTo({
- url: '/pages/pages_safetyExamine/dangerManage/dangerList?pageType=1'
- });
- }else if(self.pageType==2 && doType=='labDanger'){//实验室自查隐患
- uni.navigateTo({
- url: '/pages/pages_safetyExamine/dangerManage/dangerList?pageType=2'
- });
- }else if(doType=='edit'){//编辑
- uni.navigateTo({
- url: '/pages/pages_safetyExamine/patrolPlan/patrolPlanEdit?pageType='+row.checkType+'&id='+row.id
- });
- }else if(doType=='snapshot'){//随手拍
- uni.navigateTo({
- url: '/pages/pages_safetyExamine/snapshotManage/snapshotAdd'
- });
- }else if(doType=='start'){//开展检查
- uni.navigateTo({
- url: '/pages/pages_safetyExamine/examineManage/examineAdd'
- });
- }
-
- },
- //检查者
- handleTowClick(row,doType){
- if(doType=='add'){//开始检查
- uni.navigateTo({
- url: '/pages/pages_safetyExamine/examineManage/examineAdd?id='+row.id
- });
- }else if(doType=='edit'){//编辑
- uni.navigateTo({
- url: '/pages/pages_safetyExamine/examineManage/examineAdd?id='+row.id
- });
- }else if(doType=='check'){//复核
-
- }
- },
-
- //数据统计
- async dataStatistics(){
- let self = this;
- const {data} = await dataStatistics({'userType':this.userType,});
- if(data.code==200){
- if(this.userType==1 || this.userType==1){//管理员和检查者
- this.statisticsList=[
- {name:'本月已检查',value:data.data.checkTotal},
- {name:'本月检查隐患',value:data.data.hazardTotal},
- {name:'本月已整改',value:data.data.rectifyTotal},
- {name:'本月检查合格率',value:data.data.qualifyRate},
- {name:'本月整改率',value:data.data. rectificationRate},
- {name:'本月复核通过率',value:data.data.passRate},
- ]
- }else if(this.userType==3){//整改者
- this.statisticsListThree=[
- {name:'本月已检查',value:data.data.checkTotal},
- {name:'本月已整改',value:data.data.rectifyTotal},
- {name:'本月复核通过率',value:data.data.passRate},
- ]
- }
-
- }
- },
- //获取当前日期函数
- getNowFormatDate() {
- let date = new Date(),
- year = date.getFullYear(), //获取完整的年份(4位)
- month = date.getMonth() + 1, //获取当前月份(0-11,0代表1月)
- strDate = date.getDate() // 获取当前日(1-31)
- if (month < 10) month = `0${month}` // 如果月份是个位数,在前面补0
- if (strDate < 10) strDate = `0${strDate}` // 如果日是个位数,在前面补0
-
- return `${year}-${month}-${strDate}`
- },
- //是否可以开始检查
- compareTime(date1){
- if(!date1){
- return false
- } else {
- const oDate1 = new Date(date1);
- const oDate2 = new Date(this.currentDate)
-
- if(oDate1.getTime() <= oDate2.getTime()){
- return true; //可以开始
- } else {
- return false; //不能开始
- }
- }
- },
- //检查计划各检查状态数据数量
- async getCheckStatusCount(){
- let self = this;
- const {data} = await getCheckStatusCount();
- if(data.code==200){
- this.tabText[0].num=data.data.noStart;
- this.tabText[1].num=data.data.start;
- }
- },
- //管理员
- async getList(){
- let self = this;
- const {data} = await checkPlanList(this.getData);
- if(data.code==200){
- this.dataList=[...this.dataList,...data.data.records]
- this.total=data.data.total;
- }
- },
- //检查者
- async getList2(){
- let self = this;
- const {data} = await checkManageList(this.getData2);
- if(data.code==200){
- //判断计划是否开始
- data.data.records.forEach(function(item){
- item.notStarted=self.compareTime(item.cycleStartTime)
- })
- this.dataList2=[...this.dataList,...data.data.records]
- this.total2=data.data.total;
- }
- },
- //待复核列表
- async checkHazardList(){
- let self = this;
- const {data} = await checkHazardList(this.getData2);
- if(data.code==200){
- //判断计划是否开始
- data.data.records.forEach(function(item){
- item.notStarted=self.compareTime(item.cycleStartTime)
- })
- this.dataList2=[...this.dataList,...data.data.records]
- this.total2=data.data.total;
- }
- },
- }
- }
- </script>
- <style lang="stylus" scoped>
- .examine{
- height:100%;
- display flex;
- .info-max-box{
- flex: 1;
- overflow: scroll;
- padding-bottom: 128rpx;
- }
- .blue_color{
- color: #0183FA;
- border: 1rpx solid #0183FA;
- }
- .red_color{
- color: #FF4545;
- border: 1rpx solid #FF4545;
- }
- .green_color{
- color: #1FA50D;
- border: 1rpx solid #1FA50D;
- }
- .orange_color{
- color: #FA8E1B;
- border: 1rpx solid #FA8E1B;
- }
-
- .statistics{
- background: #fff;
- display: flex;
- justify-content: flex-start;
- flex-wrap: wrap;
- padding: 38rpx 26rpx;
- box-sizing: border-box;
- .statistics_li{
- width: 230rpx;
- border-right: 1rpx solid #D8D8D8;
- border-bottom: 1rpx solid #D8D8D8;
- >text{
- display: block;
- text-align: center;
- }
- >text:nth-of-type(1){
- font-size: 26rpx;
- font-family: PingFang SC-Medium, PingFang SC;
- font-weight: 400;
- color: #666666;
- line-height: 26rpx;
- margin-top: 24rpx;
- }
- >text:nth-of-type(2){
- font-size: 34rpx;
- font-family: PingFang SC-Heavy, PingFang SC;
- font-weight: 400;
- color: #1FA50D;
- line-height: 34rpx;
- margin-top: 28rpx;
- }
- }
- >view:nth-of-type(1){
- >text:nth-of-type(1){
- margin-top: 4rpx;
- }
- >text:nth-of-type(2){
- margin-bottom: 18rpx;
- color: #1FA50D;
- }
- }
- >view:nth-of-type(2){
- >text:nth-of-type(1){
- margin-top: 4rpx;
- }
- >text:nth-of-type(2){
- margin-bottom: 18rpx;
- color: #FA8201;
- }
- }
- >view:nth-of-type(3){
- border-right:none;
- >text:nth-of-type(1){
- margin-top: 4rpx;
- }
- >text:nth-of-type(2){
- margin-bottom: 18rpx;
- color: #0183FA;
- }
- }
- >view:nth-of-type(4){
- border-bottom:none;
- >text:nth-of-type(2){
- color: #1FA50D;
- }
- }
- >view:nth-of-type(5){
- border-bottom:none;
- >text:nth-of-type(2){
- color: #FA8201;
- }
- }
- >view:nth-of-type(6){
- border-right:none;border-bottom:none;
- >text:nth-of-type(2){
- color: #0183FA;
- }
- }
- }
- .inspect_btn{
- height: 150rpx;
- background: #fff;
- display: flex;
- justify-content: space-between;
- align-items: center;
- margin-top: 20rpx;
- padding: 0 30rpx;
- box-sizing: border-box;
- .inspect_btn_li{
- >img{
- width: 60rpx;
- height: 60rpx;
- margin:0 auto;
- }
- >text{
- font-size: 28rpx;
- font-family: PingFang SC-Medium, PingFang SC;
- font-weight: 400;
- color: #333333;
- line-height: 28rpx;
- margin-top: 14rpx;
- }
- }
- .line{
- display: inline-block;
- height: 60rpx;
- width: 1rpx;
- background: #E0E0E0;
- }
-
- }
- /* 切换按钮 */
- .tabTitle{
- width:100%;
- height: 100rpx;
- background: #fff;
- display flex;
- justify-content: center;
- align-items: center;
- margin-top: 20rpx;
- position: sticky;
- top: 0;
- z-index: 100;
- box-shadow: 0rpx 3rpx 8rpx 0rpx rgba(0,0,0,0.16);
- .tabTitle_li{
- position: relative;
- width:372rpx;
- text-align center;
- .tabTitle_text{
- display: inline-block;
- font-size: 30rpx;
- font-family: PingFang SC;
- font-weight: 500;
- color: #333333;
- line-height: 46rpx;
- position: relative;
- >text{
- position:absolute;
- min-width: 30rpx;
- min-height: 30rpx;
- border-radius:54%;
- background: #E80000;
- font-size: 18rpx;
- font-family: PingFang SC-Medium, PingFang SC;
- font-weight: 400;
- color: #FFFFFF;
- text-align: center;
- line-height: 30rpx;
- margin-left: 6rpx;
- padding:2rpx;
- box-sizing: border-box;
- }
- &.on{
- color:#0183FA;
- }
- }
- .tabTitle_across{
- width: 50rpx;
- height: 4rpx;
- background: #0183FA;
- border-radius: 2rpx;
- margin-left 162rpx;
- display none;
- &.on{
- display block;
- }
- }
-
- }
- .tabTitle_li:nth-of-type(1)::after{
- content: '';
- position: absolute;
- top: 0rpx;
- right: 0rpx;
- width: 1rpx;
- height: 50rpx;
- background: #E0E0E0;
- }
- }
- .list{
- padding: 0 30rpx;
- box-sizing: border-box;
- margin-top: 20rpx;
- .list_li{
- position: relative;
- width: 690rpx;
- height: 360rpx;
- background: #fff;
- border-radius: 10rpx;
- overflow: hidden;
- margin-bottom: 20rpx;
- .list_li_t{
- width: 100%;
- position: absolute;
- left: 0;
- top: 0;
- .list_li_t_l{
- >img{
- width: 70rpx;
- height: 70rpx;
- }
- >text{
- position: absolute;
- left: -15rpx;
- top: 76rpx;
- display: inline-block;
- width: 30rpx;
- height: 30rpx;
- background: #F5F5F5;
- border-radius: 15rpx;
- }
- }
- .list_li_t_c{
- width: 630rpx;
- height: 110rpx;
- position: absolute;
- left: 30rpx;
- top: 0;
- font-size: 30rpx;
- font-family: PingFang SC-Medium, PingFang SC;
- font-weight: 400;
- color: #333333;
- line-height: 110rpx;
- border-bottom: 1rpx dashed #D8D8D8;
- overflow: hidden;
- text-overflow:ellipsis;
- white-space: nowrap;
- }
- .list_li_t_r{
- position: absolute;
- right:-15rpx;
- top: 76rpx;
- width: 30rpx;
- height: 30rpx;
- background:#F5F5F5;
- border-radius: 15rpx;
- }
- }
- .list_li_m{
- position: absolute;
- top: 110rpx;
- left: 0;
- width: 690rpx;
- height: 168rpx;
- border-bottom: 1rpx solid #E0E0E0;
- padding-left: 30rpx;
- box-sizing: border-box;
- .list_li_m_t{
- font-size: 28rpx;
- font-family: PingFang SC-Medium, PingFang SC;
- font-weight: 400;
- color: #666666;
- line-height: 40rpx;
- margin-top:22rpx;
- }
- .list_li_m_b{
- margin-top:26rpx;
- >text:nth-of-type(1){
- font-size: 26rpx;
- font-family: PingFang SC-Medium, PingFang SC;
- font-weight: 400;
- line-height: 40rpx;
- border-radius: 6rpx;
- padding: 0 20rpx;
- margin-right: 14rpx;
- }
- >text:nth-of-type(2){
- font-size: 26rpx;
- font-family: PingFang SC-Medium, PingFang SC;
- font-weight: 400;
- color: #0183FA;
- line-height: 40rpx;
- padding: 0 8rpx;
- border-radius: 6rpx;
- background: rgba(1,131,250,0.1);
- }
- }
- }
- .list_li_b{
- height: 80rpx;
- position: absolute;
- top: 278rpx;
- left: 0;
- display: flex;
- justify-content: flex-start;
- align-items: center;
- >img{
- width: 24rpx;
- height: 30rpx;
- margin-right: 26rpx;
- margin-left: 30rpx;
- }
- >text:nth-of-type(1){
- font-size: 28rpx;
- font-family: PingFang SC-Medium, PingFang SC;
- font-weight: 400;
- color: #333333;
- line-height: 28rpx;
- }
- >text:nth-of-type(2){
- font-size: 28rpx;
- font-family: PingFang SC-Medium, PingFang SC;
- font-weight: 400;
- color: #0183FA;
- line-height: 28rpx;
- }
- }
- }
- }
- /* 检查者 */
- .tabTitle_tow{
- width:100%;
- height: 100rpx;
- background: #fff;
- display flex;
- justify-content: flex-start;
- align-items: center;
- margin-top: 20rpx;
- position: sticky;
- top: 0;
- z-index: 100;
- box-shadow: 0rpx 3rpx 8rpx 0rpx rgba(0,0,0,0.16);
- .tabTitle_tow_li{
- position: relative;
- width:162rpx;
- text-align center;
- .tabTitle_tow_text{
- display: inline-block;
- font-size: 30rpx;
- font-family: PingFang SC;
- font-weight: 500;
- color: #333333;
- line-height: 46rpx;
- position: relative;
- >text{
- position:absolute;
- min-width: 30rpx;
- min-height: 30rpx;
- border-radius:54%;
- background: #E80000;
- font-size: 18rpx;
- font-family: PingFang SC-Medium, PingFang SC;
- font-weight: 400;
- color: #FFFFFF;
- text-align: center;
- line-height: 30rpx;
- margin-left: 6rpx;
- padding:2rpx;
- box-sizing: border-box;
- }
- &.on{
- color:#0183FA;
- }
- }
- .tabTitle_tow_across{
- width: 50rpx;
- height: 4rpx;
- background: #0183FA;
- border-radius: 2rpx;
- margin-left 56rpx;
- display none;
- &.on{
- display block;
- }
- }
-
- }
- }
- .list_tow{
- padding: 0 30rpx;
- box-sizing: border-box;
- margin-top: 20rpx;
- .list_tow_li{
- position: relative;
- width: 690rpx;
- height: 360rpx;
- background: #fff;
- border-radius: 10rpx;
- overflow: hidden;
- margin-bottom: 20rpx;
- .list_tow_li_t{
- width: 100%;
- position: absolute;
- left: 0;
- top: 0;
- .list_tow_li_t_l{
- >img{
- width: 70rpx;
- height: 70rpx;
- }
- >text{
- position: absolute;
- left: -15rpx;
- top: 76rpx;
- display: inline-block;
- width: 30rpx;
- height: 30rpx;
- background: #F5F5F5;
- border-radius: 15rpx;
- }
- }
- .list_tow_li_t_c{
- width: 630rpx;
- height: 110rpx;
- position: absolute;
- left: 30rpx;
- top: 0;
- font-size: 30rpx;
- font-family: PingFang SC-Medium, PingFang SC;
- font-weight: 400;
- color: #333333;
- line-height: 110rpx;
- border-bottom: 1rpx dashed #D8D8D8;
- overflow: hidden;
- text-overflow:ellipsis;
- white-space: nowrap;
- padding-right: 120rpx;
- box-sizing: border-box;
- }
- .list_tow_li_t_c2{
- position: absolute;
- right: 20rpx;
- top: 38rpx;
- width: 120rpx;
- height: 40rpx;
- font-size: 28rpx;
- font-family: PingFang SC-Medium, PingFang SC;
- font-weight: 400;
- color: #FF5757;
- line-height: 40rpx;
- border: 1rpx solid #FF5757;
- border-radius: 6rpx;
- text-align: center;
- }
- .list_tow_li_t_r{
- position: absolute;
- right:-15rpx;
- top: 76rpx;
- width: 30rpx;
- height: 30rpx;
- background:#F5F5F5;
- border-radius: 15rpx;
- }
- }
- .list_tow_li_m{
- position: absolute;
- top: 110rpx;
- left: 0;
- width: 690rpx;
- height: 168rpx;
- border-bottom: 1rpx solid #E0E0E0;
- padding-left: 30rpx;
- box-sizing: border-box;
- .list_tow_li_m_t{
- font-size: 28rpx;
- font-family: PingFang SC-Medium, PingFang SC;
- font-weight: 400;
- color: #666666;
- line-height: 40rpx;
- margin-top:22rpx;
- }
- .list_tow_li_m_b{
- margin-top:26rpx;
- >text:nth-of-type(1){
- font-size: 26rpx;
- font-family: PingFang SC-Medium, PingFang SC;
- font-weight: 400;
- line-height: 40rpx;
- border-radius: 6rpx;
- padding: 0 20rpx;
- margin-right: 14rpx;
- }
- >text:nth-of-type(2){
- font-size: 26rpx;
- font-family: PingFang SC-Medium, PingFang SC;
- font-weight: 400;
- color: #0183FA;
- line-height: 40rpx;
- padding: 0 8rpx;
- border-radius: 6rpx;
- background: rgba(1,131,250,0.1);
- margin-right: 24rpx;
- }
- >text:nth-of-type(3){
- display: inline-block;
- width: 350rpx;
- font-size: 26rpx;
- font-family: PingFang SC-Medium, PingFang SC;
- font-weight: 400;
- color: #333333;
- line-height: 26rpx;
- overflow: hidden;
- text-overflow:ellipsis;
- white-space: nowrap;
-
- }
- }
- }
- .list_tow_li_b{
- height: 80rpx;
- width: 100%;
- position: absolute;
- top: 278rpx;
- left: 0;
- border-top: 1rpx solid #E0E0E0;
- font-size: 28rpx;
- font-family: PingFang SC-Medium, PingFang SC;
- font-weight: 400;
- color: #0183FA;
- line-height: 80rpx;
- text-align: center;
- }
- .list_tow_li_b_tow{
- height: 80rpx;
- width: 100%;
- position: absolute;
- top: 278rpx;
- left: 0;
- border-top: 1rpx solid #E0E0E0;
- font-size: 28rpx;
- font-family: PingFang SC-Medium, PingFang SC;
- font-weight: 400;
- color: #0183FA;
- line-height: 80rpx;
- display: flex;
- justify-content: center;
- align-items: center;
- >img{
- width: 28rpx;
- height: 30rpx;
- margin-right: 12rpx;
- }
- }
- .list_tow_li_b_three{
- height: 80rpx;
- position: absolute;
- top: 278rpx;
- left: 0;
- display: flex;
- justify-content: flex-start;
- align-items: center;
- width: 100%;
- border-top: 1rpx solid #E0E0E0;
- >img{
- width: 24rpx;
- height: 30rpx;
- margin-right: 26rpx;
- margin-left: 30rpx;
- }
- >text:nth-of-type(1){
- font-size: 28rpx;
- font-family: PingFang SC-Medium, PingFang SC;
- font-weight: 400;
- color: #333333;
- line-height: 28rpx;
- }
- >text:nth-of-type(2){
- flex:1;
- font-size: 28rpx;
- font-family: PingFang SC-Medium, PingFang SC;
- font-weight: 400;
- color: #0183FA;
- line-height: 28rpx;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- }
- .report{
- font-size: 28rpx;
- font-family: PingFang SC-Medium, PingFang SC;
- font-weight: 400;
- color: #0183FA;
- line-height: 28rpx;
- margin-right: 40rpx;
- }
- }
- }
- }
- /* 整改人 */
- .statistics_three{
- background: #fff;
- display: flex;
- justify-content: flex-start;
- flex-wrap: wrap;
- padding: 38rpx 30rpx;
- box-sizing: border-box;
- .statistics_three_li{
- width: 230rpx;
- position: relative;
- >text{
- display: block;
- text-align: center;
- }
- >text:nth-of-type(1){
- font-size: 26rpx;
- font-family: PingFang SC-Medium, PingFang SC;
- font-weight: 400;
- color: #666666;
- line-height: 26rpx;
- }
- >text:nth-of-type(2){
- font-size: 34rpx;
- font-family: PingFang SC-Heavy, PingFang SC;
- font-weight: 400;
- color: #1FA50D;
- line-height: 34rpx;
- margin-top: 28rpx;
- }
- }
- .statistics_three_li::after{
- content:'';
- position: absolute;
- top: 20rpx;
- right:0rpx;
- width: 1rpx;
- height: 60rpx;
- background: #D8D8D8;
- }
- .statistics_three_li:nth-of-type(3)::after{
- display: none;
- }
- >view:nth-of-type(1){
- >text:nth-of-type(2){
- color: #1FA50D;
- }
- }
- >view:nth-of-type(2){
- >text:nth-of-type(2){
- color: #FA8201;
- }
- }
- >view:nth-of-type(3){
- >text:nth-of-type(2){
- color: #0183FA;
- }
- }
- }
- .inspect_btn_three{
- height: 150rpx;
- background: #fff;
- display: flex;
- justify-content: space-between;
- align-items: center;
- margin-top: 20rpx;
- padding: 0 74rpx;
- box-sizing: border-box;
- .inspect_btn_three_li{
- >img{
- width: 60rpx;
- height: 60rpx;
- margin:0 auto;
- }
- >text{
- font-size: 28rpx;
- font-family: PingFang SC-Medium, PingFang SC;
- font-weight: 400;
- color: #333333;
- line-height: 28rpx;
- margin-top: 14rpx;
- }
- }
- .line{
- display: inline-block;
- height: 60rpx;
- width: 1rpx;
- background: #E0E0E0;
- }
-
- }
- /* 切换按钮 */
- .tabTitle_three{
- width:100%;
- height: 100rpx;
- background: #fff;
- display flex;
- justify-content: center;
- align-items: center;
- margin-top: 20rpx;
- position: sticky;
- top: 0;
- z-index: 100;
- box-shadow: 0rpx 3rpx 8rpx 0rpx rgba(0,0,0,0.16);
- .tabTitle_three_li{
- position: relative;
- width:372rpx;
- text-align center;
- .tabTitle_three_text{
- display: inline-block;
- font-size: 30rpx;
- font-family: PingFang SC;
- font-weight: 500;
- color: #333333;
- line-height: 46rpx;
- position: relative;
- >text{
- position:absolute;
- min-width: 30rpx;
- min-height: 30rpx;
- border-radius:54%;
- background: #E80000;
- font-size: 18rpx;
- font-family: PingFang SC-Medium, PingFang SC;
- font-weight: 400;
- color: #FFFFFF;
- text-align: center;
- line-height: 30rpx;
- margin-left: 6rpx;
- padding:2rpx;
- box-sizing: border-box;
- }
- &.on{
- color:#0183FA;
- }
- }
- .tabTitle_three_across{
- width: 50rpx;
- height: 4rpx;
- background: #0183FA;
- border-radius: 2rpx;
- margin-left 162rpx;
- display none;
- &.on{
- display block;
- }
- }
-
- }
- .tabTitle_three_li:nth-of-type(1)::after{
- content: '';
- position: absolute;
- top: 0rpx;
- right: 0rpx;
- width: 1rpx;
- height: 50rpx;
- background: #E0E0E0;
- }
- }
- .list_three{
- padding: 0 30rpx;
- box-sizing: border-box;
- margin-top: 20rpx;
- .list_three_li{
- position: relative;
- width: 690rpx;
- height: 348rpx;
- background: #fff;
- border-radius: 10rpx;
- overflow: hidden;
- margin-bottom: 20rpx;
- .list_three_li_t{
- width: 100%;
- position: absolute;
- left: 0;
- top: 0;
- .list_three_li_t_l{
- >img{
- width: 70rpx;
- height: 70rpx;
- }
- >text{
- position: absolute;
- left: -15rpx;
- top: 76rpx;
- display: inline-block;
- width: 30rpx;
- height: 30rpx;
- background: #F5F5F5;
- border-radius: 15rpx;
- }
- }
- .list_three_li_t_c{
- width: 630rpx;
- height: 110rpx;
- position: absolute;
- left: 30rpx;
- top: 0;
- font-size: 30rpx;
- font-family: PingFang SC-Medium, PingFang SC;
- font-weight: 400;
- color: #333333;
- line-height: 110rpx;
- border-bottom: 1rpx dashed #D8D8D8;
- overflow: hidden;
- text-overflow:ellipsis;
- white-space: nowrap;
- padding-right: 60rpx;
- box-sizing: border-box;
- }
- .list_three_li_t_c2{
- position: absolute;
- right: 20rpx;
- top: 38rpx;
- width: 120rpx;
- height: 40rpx;
- font-size: 28rpx;
- font-family: PingFang SC-Medium, PingFang SC;
- font-weight: 400;
- color: #FF5757;
- line-height: 40rpx;
- border: 1rpx solid #FF5757;
- border-radius: 6rpx;
- text-align: center;
- }
- .list_three_li_t_r{
- position: absolute;
- right:-15rpx;
- top: 76rpx;
- width: 30rpx;
- height: 30rpx;
- background:#F5F5F5;
- border-radius: 15rpx;
- }
- }
- .list_three_li_m{
- position: absolute;
- top: 110rpx;
- left: 0;
- width: 690rpx;
- height: 158rpx;
- padding-left: 30rpx;
- box-sizing: border-box;
- .list_three_li_m_t{
- font-size: 28rpx;
- font-family: PingFang SC-Medium, PingFang SC;
- font-weight: 400;
- color: #666666;
- line-height: 40rpx;
- margin-top:22rpx;
- }
- .list_three_li_m_b{
- margin-top:26rpx;
- >text:nth-of-type(1){
- font-size: 26rpx;
- font-family: PingFang SC-Medium, PingFang SC;
- font-weight: 400;
- line-height: 40rpx;
- border-radius: 6rpx;
- padding: 0 20rpx;
- margin-right: 14rpx;
- }
- >text:nth-of-type(2){
- font-size: 26rpx;
- font-family: PingFang SC-Medium, PingFang SC;
- font-weight: 400;
- color: #0183FA;
- line-height: 40rpx;
- padding: 0 8rpx;
- border-radius: 6rpx;
- background: rgba(1,131,250,0.1);
- margin-right: 24rpx;
- }
- >text:nth-of-type(3){
- display: inline-block;
- width: 380rpx;
- font-size: 26rpx;
- font-family: PingFang SC-Medium, PingFang SC;
- font-weight: 400;
- color: #333333;
- line-height: 26rpx;
- overflow: hidden;
- text-overflow:ellipsis;
- white-space: nowrap;
-
- }
- }
- }
- .list_three_li_b{
- height: 80rpx;
- width: 100%;
- position: absolute;
- top: 268rpx;
- left: 0;
- padding-left: 30rpx;
- box-sizing: border-box;
- >text:nth-of-type(1){
- font-size: 26rpx;
- font-family: PingFang SC-Medium, PingFang SC;
- font-weight: 400;
- color: #333333;
- line-height: 26rpx;
-
- }
- }
- }
- }
- .bottom_btn{
- position: fixed;
- bottom: 20rpx;
- left: 30rpx;
- font-size: 30rpx;
- font-family: PingFang SC-Medium, PingFang SC;
- font-weight: 400;
- color: #FFFFFF;
- line-height: 90rpx;
- width: 690rpx;
- height: 90rpx;
- background: #0183FA;
- border-radius: 20rpx;
- text-align: center;
-
- }
- .scan_btn{
- position: fixed;
- bottom: 210rpx;
- right: 0rpx;
- width: 130rpx;
- height: 130rpx;
- }
- }
- </style>
|