1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371 |
- <template>
- <view>
- <view v-if="isLeader=='sys_user'">
- <scroll-view>
- <view class="view-bg">
- <text class="title-txt">工程用料统计</text>
- <view>
- <view class="uni-list-cell" style="border-bottom: 1px solid #f8f8f8;">
- <view class="uni-list-cell-left">
- 行政区
- </view>
- <view class="uni-list-cell-db">
- <view v-if="this.isEmpty(this.XZQValue.dictValue)" style="margin-top: 10;"
- @click="pickerShow('xzq')">
- <span style="color: darkgray;">请选择行政区</span>
- <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
- </view>
- <view v-else style="margin-top: 10;" @click="pickerShow('xzq')">
- <span style="color: black;">{{XZQValue.dictLabel}}</span>
- <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
- </view>
- </view>
- </view>
- <view class="uni-list-cell" style="border-bottom: 1px solid #f8f8f8;">
- <view class="uni-list-cell-left">
- 小区
- </view>
- <view class="uni-list-cell-db">
- <view v-if="this.isEmpty(this.XQValue.id)" style="margin-top: 10;"
- @click="pickerShow('xq')">
- <span style="color: darkgray;">请选择小区</span>
- <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
- </view>
- <view v-else style="margin-top: 10;" @click="pickerShow('xq')">
- <span style="color: black;">{{XQValue.name}}</span>
- <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
- </view>
- </view>
- </view>
- <view class="uni-list-cell" style="border-bottom: 1px solid #f8f8f8;">
- <view class="uni-list-cell-left">
- 材料
- </view>
- <view class="uni-list-cell-db">
- <view v-if="this.isEmpty(this.materialValue.name)" style="margin-top: 10;"
- @click="pickerShow('cz')">
- <span style="color: darkgray;">请选择材料</span>
- <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
- </view>
- <view v-else style="display: flex;align-items: center; justify-content: flex-end;">
- <view style="margin-top: 10; " @click="pickerShow('cz')">
- <span style="color: black;">{{materialValue.name}}</span>
- <!-- <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image> -->
- </view>
- <image :src="loadImgSrc('icon_close.png')"
- style=" width: 15px; height: 15px;margin-left:20rpx ;margin-right: -20rpx;"
- @click="clearMaterialInfo">
- </image>
- </view>
- </view>
- </view>
- <view class="uni-list-cell" style="border-bottom: 1px solid #f8f8f8;">
- <view class="uni-list-cell-left">
- 规格
- </view>
- <view class="uni-list-cell-db">
- <view v-if="this.isEmpty(this.specificationValue.name)" style="margin-top: 10;"
- @click="pickerShow('gg')">
- <span style="color: darkgray;">请选择规格</span>
- <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
- </view>
- <view v-else style="display: flex;align-items: center; justify-content: flex-end;">
- <view style="margin-top: 10;" @click="pickerShow('gg')">
- <span style="color: black;">{{specificationValue.name}}</span>
- <!-- <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image> -->
- </view>
- <image :src="loadImgSrc('icon_close.png')"
- style=" width: 15px; height: 15px;margin-left:20rpx ;margin-right: -20rpx;"
- @click="clearSpecificationInfo">
- </image>
- </view>
- </view>
- </view>
- </view>
- <view class="table">
- <view class="felx-row">
- <view class="h-tr" style="flex: 1">名称</view>
- <view class="h-tr" style="flex: 1">材料</view>
- <view class="h-tr" style="flex: 1;align-items: center;">预计用量</view>
- <view class="h-tr" style="flex: 1">实际用量</view>
- </view>
- </view>
- <view class="felx-row" v-for="(item, index) in materialUsageList" :key="index">
- <view class="h-td" style="flex: 1">{{ item.realityQuality }}</view>
- <view class="h-td" style="flex: 1">{{ item.realitySpecifications }}</view>
- <view class="h-td" style="flex: 1">{{ item.estimatedSize }}</view>
- <view class="h-td" style="flex: 1">{{ item.realitySize }}</view>
- </view>
- </view>
- <view class="view-bg" style="margin-bottom: 40rpx;">
- <text class="title-txt">工程进度统计</text>
- <view>
- <view class="uni-list-cell" style="border-bottom: 1px solid #f8f8f8;">
- <view class="uni-list-cell-left">
- 行政区
- </view>
- <view class="uni-list-cell-db">
- <view v-if="this.isEmpty(this.XZQValue2.dictValue)" style="margin-top: 10;"
- @click="pickerShow('xzq2')">
- <span style="color: darkgray;">请选择行政区</span>
- <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
- </view>
- <view v-else style="margin-top: 10;" @click="pickerShow('xzq2')">
- <span style="color: black;">{{XZQValue2.dictLabel}}</span>
- <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
- </view>
- </view>
- </view>
- <view class="uni-list-cell" style="border-bottom: 1px solid #f8f8f8;">
- <view class="uni-list-cell-left"> 小区</view>
- <view class="uni-list-cell-db">
- <view v-if="this.isEmpty(this.XQValue2.id)" style="margin-top: 10;"
- @click="pickerShow('xq2')">
- <span style="color: darkgray;">请选择小区</span>
- <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
- </view>
- <view v-else style="margin-top: 10;" @click="pickerShow('xq2')">
- <span style="color: black;">{{XQValue2.name}}</span>
- <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
- </view>
- </view>
- </view>
- <view class="uni-list-cell" style="border-bottom: 1px solid #f8f8f8;">
- <view class="uni-list-cell-left">楼栋</view>
- <view class="uni-list-cell-db">
- <view v-if="this.isEmpty(this.LDValue2.id)" style="margin-top: 10;"
- @click="pickerShow('ld2')">
- <span style="color: darkgray;">请选择楼栋</span>
- <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
- </view>
- <view style="margin-top: 10;" @click="pickerShow('ld2')">
- <span style="color: black;">{{LDValue2.name}}</span>
- <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
- </view>
- </view>
- </view>
- <view class="uni-list-cell" style="border-bottom: 1px solid #f8f8f8;">
- <view class="uni-list-cell-left">单元</view>
- <view class="uni-list-cell-db">
- <view v-if="this.isEmpty(this.DYValue2.id)" style="margin-top: 10;"
- @click="pickerShow('dy2')">
- <span style="color: darkgray;">请选择单元</span>
- <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
- </view>
- <view v-else style="margin-top: 10;" @click="pickerShow('dy2')">
- <span style="color: black;">{{DYValue2.name}}</span>
- <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
- </view>
- </view>
- </view>
- </view>
- <!-- <image :src="loadImgSrc('lou-img-bg.png')" style="width: 110%;
- height: 121px;
- position: absolute;
- bottom: 15px;
- left: -5px;
- z-index: 1;
- "></image> -->
- <view class="felx-row" v-if="!isEmpty(XQValue2.id)" style="margin-top: 10px;">
- <view class="h-td" style="flex: 1;">规模(户)</view>
- <view class="h-td" style="flex: 1;">未施工(户)</view>
- <view class="h-td" style="flex: 1;">施工中(户)</view>
- <view class="h-td" style="flex: 1;">竣工(户)</view>
- </view>
- <view class="felx-row" v-for="(item, index) in areaData" :key="index" v-if="!isEmpty(XQValue2.id)">
- <view class="h-td" style="flex: 1">{{ item.scale }}</view>
- <view class="h-td" style="flex: 1">{{ item.notstart }}</view>
- <view class="h-td" style="flex: 1">{{ item.willDone }}</view>
- <view class="h-td" style="flex: 1">{{ item.done }}</view>
- </view>
- <scroll-view :scroll-x="true" class="view_bg_build" v-if="roomList.length > 0" style="margin-top: 10px;">
- <view class="HuaDongBiao">
- <view class="NeiRong" v-for="(item,index) in roomList" :key="index">
- <view class="Fang" v-for="(item2, index2) in roomList[index]" :key="index2">
- <view v-if="item2.roomStatus=='施工中'" class="ShiGongZhong" @click="goHistory(item2)">
- {{ item2.roomName }}
- </view>
- <view v-else-if="item2.roomStatus=='未施工'" class="WeiShiGong">{{ item2.roomName }}
- </view>
- <view v-else class="JunGong" @click="goHistory(item2)">{{ item2.roomName }}</view>
- </view>
- </view>
- </view>
- <view style=" width: 48rpx;height: 63rpx;background: #C7EAFF; position:relative; left: 50%; transform:
- translateX(-50%); bottom: -10rpx;">
- </view>
- </scroll-view>
- <view v-if="roomList.length == 0" style="padding:50rpx;text-align: center;">暂无数据</view>
- <view style="align-items: center; margin-top: 20rpx;">
- <view style="display: flex;align-items: center;justify-content:center">
- <image class="block-iv" :src="loadImgSrc('ic_legend.png')"></image>
- <text style="margin-right: 20px;margin-left: 5px;">图例: </text>
- <div class="block-iv" style="background-color: #80d9ae;"></div>
- <text style="margin-right: 20px;margin-left: 5px;">竣工</text>
- <div class="block-iv" style="background-color: #5bd3ff;"></div>
- <text style="margin-right: 20px;margin-left: 5px;">施工中</text>
- <div class="block-iv" style="background-color: #ffc881;"></div>
- <text style="margin-right: 20px;margin-left: 5px;">未施工</text>
- </view>
- </view>
- </view>
- <view class="view-bg" style="margin-bottom: 40rpx;">
- <text class="title-txt">工业工程</text>
- <view class="uni-list-cell" style="border-bottom: 1px solid #f8f8f8;">
- <view class="uni-list-cell-left">工程名称</view>
- <view class="uni-list-cell-db">
- <view v-if="isEmpty(projectObj01.name)" style="margin-top: 10;"
- @click="getProjectTypeList('engineeringIndustry')">
- <span style="color: darkgray;">请选择工程</span>
- <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
- </view>
- <view v-else style="margin-top: 10;" @click="getProjectTypeList('engineeringIndustry')">
- <span style="color: black;">{{projectObj01.name}}</span>
- <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
- </view>
- </view>
- </view>
- <view v-if="!isEmpty(projectObj01.name)">
- <!-- v-if="!isEmpty(projectObj01.id)" -->
- <!-- <view class="table">
- <view class="felx-row">
- <view class="h-tr" style="flex: 1">名称</view>
- <view class="h-tr" style="flex: 1">实际用料</view>
- <view class="h-tr" style="flex: 1;align-items: center;">预计用料</view>
- <view class="h-tr" style="flex: 1">占比</view>
- </view>
- </view>
- <view class="felx-row">
- <view class="h-td" style="flex: 1">PE材料</view>
- <view class="h-td" style="flex: 1">{{ projectBody01.materialPercentagePE.actuality }}</view>
- <view class="h-td" style="flex: 1">{{ projectBody01.materialPercentagePE.anticipation }}
- </view>
- <view class="h-td" style="flex: 1">{{ projectBody01.materialPercentagePE.percentage }}
- </view>
- </view>
- <view class="felx-row">
- <view class="h-td" style="flex: 1">钢材</view>
- <view class="h-td" style="flex: 1">{{ projectBody01.materialPercentageIron.actuality }}
- </view>
- <view class="h-td" style="flex: 1">{{ projectBody01.materialPercentageIron.anticipation }}
- </view>
- <view class="h-td" style="flex: 1">{{ projectBody01.materialPercentageIron.percentage }}
- </view>
- </view>
- <view class="uni-list-cell" style="border-bottom: 1px solid #f8f8f8;">
- <view class="uni-list-cell-left">工程进度</view>
- <view class="uni-list-cell" style="border-bottom: 1px solid #f8f8f8;"></view>
- </view>
- <view class="felx-row" v-for="(item, index) in projectBody01.nodeCheck" :key="index">
- <view class="h-td" style="flex: 1">{{ item.name }}</view>
- <view class="h-td" style="flex: 1" @click="industryItemClick(item)">{{ item.value }}</view>
- </view> -->
- <view class="uni-list-cell" style="border-bottom: 1px solid #f8f8f8;">
- <view class="uni-list-cell-left">工程进度</view>
- <view class="uni-list-cell" style="border-bottom: 1px solid #f8f8f8;"></view>
- </view>
- <view class="felx-row">
- <view class="h-td" style="flex: 1;">名称</view>
- <view class="h-td" style="flex: 1;">占比</view>
- </view>
- <view class="felx-row" v-for="(item, index) in projectBody01.nodeCheck" :key="index">
- <view class="h-td" style="flex: 1">{{ item.enginClassification }}</view>
- <view class="h-td" style="flex: 1">{{ item.percentage }}</view>
- </view>
- </view>
- </view>
- <view class="view-bg" style="margin-bottom: 40rpx;">
- <text class="title-txt">市政工程</text>
- <view class="uni-list-cell" style="border-bottom: 1px solid #f8f8f8;">
- <view class="uni-list-cell-left">工程名称</view>
- <view class="uni-list-cell-db">
- <view v-if="isEmpty(projectObj02.id)" style="margin-top: 10;"
- @click="getProjectTypeList('engineeringMunicipal')">
- <span style="color: darkgray;">请选择工程</span>
- <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
- </view>
- <view v-else style="margin-top: 10;" @click="getProjectTypeList('engineeringMunicipal')">
- <span style="color: black;">{{projectObj02.name}}</span>
- <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
- </view>
- </view>
- </view>
- <view v-if="!isEmpty(projectObj02.id)">
- <view class="table">
- <view class="felx-row">
- <view class="h-tr" style="flex: 1">名称</view>
- <view class="h-tr" style="flex: 1">实际用料</view>
- <view class="h-tr" style="flex: 1;align-items: center;">预计用料</view>
- <view class="h-tr" style="flex: 1">占比</view>
- </view>
- </view>
- <view class="felx-row">
- <view class="h-td" style="flex: 1">PE材料</view>
- <view class="h-td" style="flex: 1">{{ projectBody02.materialPercentagePE.actuality }}</view>
- <view class="h-td" style="flex: 1">{{ projectBody02.materialPercentagePE.anticipation }}
- </view>
- <view class="h-td" style="flex: 1">{{ projectBody02.materialPercentagePE.percentage }}
- </view>
- </view>
- <view class="felx-row">
- <view class="h-td" style="flex: 1">钢材</view>
- <view class="h-td" style="flex: 1">{{ projectBody02.materialPercentageIron.actuality }}
- </view>
- <view class="h-td" style="flex: 1">{{ projectBody02.materialPercentageIron.anticipation }}
- </view>
- <view class="h-td" style="flex: 1">{{ projectBody02.materialPercentageIron.percentage }}
- </view>
- </view>
- <view class="uni-list-cell" style="border-bottom: 1px solid #f8f8f8;">
- <view class="uni-list-cell-left">工程进度</view>
- <view class="uni-list-cell" style="border-bottom: 1px solid #f8f8f8;"></view>
- </view>
- <view class="felx-row" v-for="(item, index) in projectBody02.nodeCheck" :key="index">
- <view class="h-td" style="flex: 1">{{ item.name }}</view>
- <view class="h-td" style="flex: 1" @click="municipalItemClick(item)">{{ item.value }}</view>
- </view>
- </view>
- </view>
- <view class="view-bg" style="margin-bottom: 40rpx;">
- <text class="title-txt">顶管工程</text>
- <view class="uni-list-cell" style="border-bottom: 1px solid #f8f8f8;">
- <view class="uni-list-cell-left">工程名称</view>
- <view class="uni-list-cell-db">
- <view v-if="isEmpty(projectObj03.id)" style="margin-top: 10;"
- @click="getProjectTypeList('engineeringPipeJacking')">
- <span style="color: darkgray;">请选择工程</span>
- <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
- </view>
- <view v-else style="margin-top: 10;" @click="getProjectTypeList('engineeringPipeJacking')">
- <span style="color: black;">{{projectObj03.name}}</span>
- <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
- </view>
- </view>
- </view>
- <view v-if="!isEmpty(projectObj03.id)">
- <view class="table">
- <view class="felx-row">
- <view class="h-tr" style="flex: 1">名称</view>
- <view class="h-tr" style="flex: 1">实际用料</view>
- <view class="h-tr" style="flex: 1;align-items: center;">预计用料</view>
- <view class="h-tr" style="flex: 1">占比</view>
- </view>
- </view>
- <view class="felx-row">
- <view class="h-td" style="flex: 1">PE材料</view>
- <view class="h-td" style="flex: 1">{{ projectBody03.materialPercentagePE.actuality }}</view>
- <view class="h-td" style="flex: 1">{{ projectBody03.materialPercentagePE.anticipation }}
- </view>
- <view class="h-td" style="flex: 1">{{ projectBody03.materialPercentagePE.percentage }}
- </view>
- </view>
- <view class="felx-row">
- <view class="h-td" style="flex: 1">钢材</view>
- <view class="h-td" style="flex: 1">{{ projectBody03.materialPercentageIron.actuality }}
- </view>
- <view class="h-td" style="flex: 1">{{ projectBody03.materialPercentageIron.anticipation }}
- </view>
- <view class="h-td" style="flex: 1">{{ projectBody03.materialPercentageIron.percentage }}
- </view>
- </view>
- <view class="uni-list-cell" style="border-bottom: 1px solid #f8f8f8;">
- <view class="uni-list-cell-left">工程进度</view>
- <view class="uni-list-cell" style="border-bottom: 1px solid #f8f8f8;"></view>
- </view>
- <view class="felx-row" v-for="(item, index) in projectBody03.nodeCheck" :key="index">
- <view class="h-td" style="flex: 1">{{ item.name }}</view>
- <view class="h-td" style="flex: 1" @click="topTubeItemClick(item)">{{ item.value }}</view>
- </view>
- </view>
- </view>
- <view class="view-bg" style="margin-bottom: 40rpx;">
- <text class="title-txt">碰口工程</text>
- <view class="uni-list-cell" style="border-bottom: 1px solid #f8f8f8;">
- <view class="uni-list-cell-left">工程名称</view>
- <view class="uni-list-cell-db">
- <view v-if="isEmpty(projectObj04.id)" style="margin-top: 10;"
- @click="getProjectTypeList('touchOperationEngineering')">
- <span style="color: darkgray;">请选择工程</span>
- <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
- </view>
- <view v-else style="margin-top: 10;"
- @click="getProjectTypeList('touchOperationEngineering')">
- <span style="color: black;">{{projectObj04.name}}</span>
- <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
- </view>
- </view>
- </view>
- <view v-if="!isEmpty(projectObj04.id)">
- <view class="uni-list-cell" style="border-bottom: 1px solid #f8f8f8;">
- <view class="uni-list-cell-left">工程进度</view>
- <view class="uni-list-cell" style="border-bottom: 1px solid #f8f8f8;"></view>
- </view>
- <view class="felx-row" v-for="(item, index) in projectBody04.nodeCheck" :key="index">
- <view class="h-td" style="flex: 1">{{ item.name }}</view>
- <view class="h-td" style="flex: 1" @click="collisionItemClick(item)">{{ item.value }}</view>
- </view>
- </view>
- </view>
- </scroll-view>
- </view>
- <view v-else-if="isLeader=='app_user'">
- <view class="background">
- <view>
- <view
- style="font-size: 16px;margin-left: 10px;margin-top: 10px;display: flex; justify-content: space-between;margin-bottom: 10px;">
- 筛选
- <image v-if="change==false" :src="loadImgSrc('icon_user_open.png')" @click='change1'
- style="display: flex;justify-content:flex-end; margin-right: 10px;width: 15px;height: 15px;">
- </image>
- <image v-if="change==true" :src="loadImgSrc('icon_user_close.png')" @click='change1'
- style="display: flex;justify-content:flex-end; margin-right: 10px;width: 15px;height: 15px;">
- </image>
- </view>
- </view>
- <view v-show="change" style="padding-right: 10px;">
- <view class="uni-list">
- <view class="container" style="border-bottom: 1px solid #f8f8f8;">
- <view class="uni-list-cell-left">
- 工程项
- </view>
- <view v-if="this.isEmpty(this.EngineeringValue)" class="uni-list-cell-db"
- style="margin-top: 10;" @click="pickerShow('gcx')">
- <span style="color: darkgray;">请选择工程项</span>
- <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
- </view>
- <view v-else class="uni-list-cell-db" style="margin-top: 10;" @click="pickerShow('gcx')">
- <span style="color: black;">{{EngineeringValue}}</span>
- <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
- </view>
- </view>
- </view>
- <view v-if="EngineeringValue=='民用工程'||EngineeringValue=='开栓'">
- <view class="uni-list">
- <view class="container" style="border-bottom: 1px solid #f8f8f8;">
- <view>
- 行政区
- </view>
- <view v-if="this.isEmpty(this.XZQValue3.dictValue)" style="margin-top: 10;"
- @click="pickerShow('xzq3')">
- <span style="color: darkgray;">请选择行政区</span>
- <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
- </view>
- <view v-else class="uni-list-cell-db" style="margin-top: 10;"
- @click="pickerShow('xzq3')">
- <span style="color: black;">{{XZQValue3.dictLabel}}</span>
- <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
- </view>
- </view>
- </view>
- <view class="uni-list">
- <view class="container" style="border-bottom: 1px solid #f8f8f8;">
- <view>
- 小区
- </view>
- <view v-if="this.isEmpty(this.XQValue3.id)" class="uni-list-cell-db"
- style="margin-top: 10;" @click="pickerShow('xq3')">
- <span style="color: darkgray;">请选择小区</span>
- <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
- </view>
- <view v-else class="uni-list-cell-db" style="margin-top: 10;"
- @click="pickerShow('xq3')">
- <span style="color: black;">{{XQValue3.name}}</span>
- <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
- </view>
- </view>
- </view>
- <view class="uni-list">
- <view class="container" style="border-bottom: 1px solid #f8f8f8;">
- <view class="uni-list-cell-left">
- 楼栋
- </view>
- <view v-if="this.isEmpty(this.LDValue3.id)" class="uni-list-cell-db"
- style="margin-top: 10;" @click="pickerShow('ld3')">
- <span style="color: darkgray;">请选择楼栋</span>
- <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
- </view>
- <view v-else class="uni-list-cell-db" style="margin-top: 10;"
- @click="pickerShow('ld3')">
- <span style="color: black;">{{LDValue3.name}}</span>
- <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
- </view>
- </view>
- </view>
- <view class="uni-list" style="margin-top: 10;">
- <view class="container" style="border-bottom: 1px solid #f8f8f8;">
- <view class="uni-list-cell-left">
- 单元
- </view>
- <view v-if="this.isEmpty(this.DYValue3.id)" class="uni-list-cell-db"
- style="margin-top: 10;" @click="pickerShow('dy3')">
- <span style="color: darkgray;">请选择单元</span>
- <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
- </view>
- <view v-else class="uni-list-cell-db" style="margin-top: 10;"
- @click="pickerShow('dy3')">
- <span style="color: black;">{{DYValue3.name}}</span>
- <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
- </view>
- </view>
- </view>
- <view class="uni-list">
- <view class="container" style="border-bottom: 1px solid #f8f8f8;">
- <view class="uni-list-cell-left">
- 房间
- </view>
- <view v-if="this.isEmpty(this.FJValue3.id)" class="uni-list-cell-db"
- style="margin-top: 10;" @click="pickerShow('fj3')">
- <span style="color: darkgray;">请选择房间</span>
- <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
- </view>
- <view v-else class="uni-list-cell-db" style="margin-top: 10;"
- @click="pickerShow('fj3')">
- <span style="color: black;">{{FJValue3.name}}</span>
- <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
- </view>
- </view>
- </view>
- <view class="uni-list" v-if="EngineeringValue=='民用工程'">
- <view class="container" style="border-bottom: 1px solid #f8f8f8;">
- <view class="uni-list-cell-left">
- 工程类型
- </view>
- <view v-if="this.isEmpty(this.ProjectType.dictValue)" class="uni-list-cell-db"
- style="margin-top: 10;" @click="pickerShow('gclx')">
- <span style="color: darkgray;">请选择工程类型</span>
- <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
- </view>
- <view v-else class="uni-list-cell-db" style="margin-top: 10;"
- @click="pickerShow('gclx')">
- <span style="color: black;">{{ProjectType.dictLabel}}</span>
- <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
- </view>
- </view>
- </view>
- </view>
- <view v-if="EngineeringValue!='开栓'">
- <view class="container" style="border-bottom: 1px solid #f8f8f8;"
- v-if="EngineeringValue!='民用工程'">
- <view class="uni-list-cell-left">
- 工程名称
- </view>
- <view class="uni-list-cell-db" style="margin-top: 10;">
- <input class="uni-input" type="text" v-model="EngineeringName" maxlength="80"
- placeholder="请输入工程名称"
- style="text-align: center; border: 1px solid #00aaff; border-radius: 20rpx;"></input>
- </view>
- </view>
- <view class="uni-list"
- v-if="EngineeringValue=='工业工程'||EngineeringValue=='带气封堵施工'||EngineeringValue=='民用工程'">
- <view class="container" style="border-bottom: 1px solid #f8f8f8;">
- <view class="uni-list-cell-left">
- 工程分类
- </view>
- <view v-if="this.isEmpty(this.ProjectClassification.dictValue)" class="uni-list-cell-db"
- style="margin-top: 10;" @click="pickerShow('gcfl')">
- <span style="color: darkgray;">请选择工程分类</span>
- <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
- </view>
- <view v-else class="uni-list-cell-db" style="margin-top: 10;"
- @click="pickerShow('gcfl')">
- <span style="color: black;">{{ProjectClassification.dictLabel}}</span>
- <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
- </view>
- </view>
- </view>
- <view class="uni-list"
- v-if="EngineeringValue=='市政工程'||EngineeringValue=='顶管工程'||EngineeringValue=='民用工程'||EngineeringValue=='基建工程'">
- <view class="container" style="border-bottom: 1px solid #f8f8f8;">
- <view class="uni-list-cell-left">
- 工程步骤
- </view>
- <view v-if="this.isEmpty(this.ProjectSteps.dictValue)" class="uni-list-cell-db"
- style="margin-top: 10;" @click="pickerShow('gcbz')">
- <span style="color: darkgray;">请选择工程步骤</span>
- <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
- </view>
- <view v-else class="uni-list-cell-db" style="margin-top: 10;"
- @click="pickerShow('gcbz')">
- <span style="color: black;">{{ProjectSteps.dictLabel}}</span>
- <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
- </view>
- </view>
- </view>
- </view>
- <view class="uni-list">
- <view class="container" style="border-bottom: 1px solid #f8f8f8;">
- <view class="uni-list-cell-left">
- 审核状态
- </view>
- <view v-if="this.isEmpty(this.ReviewStatus.dictValue)" class="uni-list-cell-db"
- style="margin-top: 10;" @click="pickerShow('shzt')">
- <span style="color: darkgray;">请选择审核状态</span>
- <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
- </view>
- <view v-else class="uni-list-cell-db" style="margin-top: 10;" @click="pickerShow('shzt')">
- <span style="color: black;">{{ReviewStatus.dictLabel}}</span>
- <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
- </view>
- </view>
- </view>
- <button class="tj-btn" style="margin: 40rpx 90rpx;" @click="serch"> 搜索</button>
- <button class="sc-btn" style="margin: 40rpx 90rpx;" @click="clear">重置筛选</button>
- </view>
- </view>
- <cc-pullScroolView class="pullScrollView" ref="pullScroll" :pullDown="pullDown" :isDownLoading="true">
- <view class="notice" v-for="(item,index) in list" :key="index">
- <view class="justify-content" @click="chooseNode(item)">
- <view v-if="EngineeringValue=='民用工程'">
- <view class="font-forty">
- {{item.areaName+item.buildingName+item.unitName+item.houseName+(item.enginType=='new_built'? '-新建':'-旧改')+'-'+item.enginClassificationName}}
- </view>
- <view class="font-twenty-eight gray" v-for="(state,stateIndex) in item.nodeReViewStateList"
- :key="stateIndex" v-if="state.Type!='开栓'">
- {{state.Type}}-{{state.state == 1 ? '审核通过': (state.content == '暂未审核' ? '暂未审核':'审核未通过')}}
- <view v-if="state.content != '暂未审核'">原因:{{state.content}}</view>
- </view>
- </view>
- <view v-if="EngineeringValue=='开栓'">
- <view class="font-forty">
- {{item.areaName+item.buildingName+item.unitName+item.houseName}}
- </view>
- <view class="font-twenty-eight gray">
- {{item.state == 0 ? '审核不通过': (item.state == 1?'审核通过':'未审核')}}
- </view>
- </view>
- <view
- v-if="EngineeringValue=='顶管工程'||EngineeringValue=='基建工程'||EngineeringValue=='碰口作业'||EngineeringValue=='市政工程'||EngineeringValue=='工业工程'||EngineeringValue=='带气封堵施工'">
- <view class="font-forty">
- 工程名称:{{item.enginName}}
- </view>
- <view class="font-twenty-eight gray" v-for="(state,stateIndex) in item.status"
- :key="stateIndex">
- <view>{{state.type}}-{{state.reviewStatus}}</view>
- </view>
- </view>
- <view class="font-twenty-eight gray">
- {{item.createTime}}
- </view>
- </view>
- </view>
- </cc-pullScroolView>
- </view>
- <view class="share">
- <view :class="{'share-box': shareState}" @click="handleHiddenShare">
- </view>
- <view class="share-item" :class="{'share-show': shareState}">
- <view class="share-to">
- <text>请选择</text>
- </view>
- <scroll-view scroll-y="true" class="scroll-Y">
- <view class="content">
- <view class="block" v-for="(item, index) in typeList" :key="index" @click="showTypeSheet(item)"
- v-if="item.Type!='开栓'">
- <text>{{item.Type}}</text>
- </view>
- </view>
- </scroll-view>
- <view class="cancel" @click.stop="handleHiddenShare">
- <text>取消</text>
- </view>
- </view>
- </view>
- <bottomSheet ref="refShare" :data="historyList"></bottomSheet>
- <BottomSheetNew ref="refShareNew" :data="historyListNew" :TitleType="bottomSheetTitle"></BottomSheetNew>
- <bottomSheetMore ref="refShareMore" :data="historyListMore" :TitleType="bottomSheetTitle"></bottomSheetMore>
- <SelectPicker :list="selectList" @change="changeSelect" v-if="open" @close="close" titleKey="name"
- subtitleKey="id" v-model="name"></SelectPicker>
- <SelectPicker :list="dictOptions" @change="changeSelect" v-if="openDict" @close="closeDict" titleKey="dictLabel"
- subtitleKey="dictValue" v-model="dictLabel"></SelectPicker>
- <SelectPicker :list="projectList" @change="changeSelectP" v-if="openP" @close="closeP" titleKey="name"
- subtitleKey="id" v-model="name"></SelectPicker>
- </view>
- </template>
- <script>
- import SelectPicker from '../../components/selectPicker/select_picker.vue'
- import bottomSheet from '../../components/bottomSheet/bottomSheet.vue'
- import CCBProjectList from '../../uni_modules/cc-pullScroolView/components/cc-pullScroolView/cc-pullScroolView.vue';
- import bottomSheetNew from '../../components/bottomSheet/bottomSheetMoreNew.vue'
- import bottomSheetMore from '../../components/bottomSheet/bottomSheetMore.vue'
- import {
- gethistoryList,
- getKShistoryList,
- getProjectStatisticsData
- } from '@/api/common'
- import {
- getUserType,
- getUserRole
- } from '@/utils/auth';
- import {
- getDicts
- } from "@/api/system/dict/data";
- import user from '@/store/modules/user'
- import {
- getAreaList,
- getBuildingList,
- getUnitList,
- getHousesList,
- getEnginMaterialQualityList,
- getEnginSpecificationsList,
- getMunicipalStatisticsData,
- getObtainRoomcCompletionInformationList,
- getRoomProjectId,
- getRoomProjectList,
- getHistoryByUserList,
- getByUserListAndDicts,
- getEnginProjectList,
- getengineeringNameList,
- getTopPipeNameList,
- getProjectName,
- getIndustryProjectScheduleDetails,
- getMunicipalProjectScheduleDetails,
- getTopTubeProjectScheduleDetails,
- getCollisionProjectScheduleDetails,
- getAreaCompletionInformationList
- } from '@/api/common'
- export default {
- components: {
- SelectPicker,
- CCBProjectList,
- bottomSheet,
- bottomSheetNew,
- bottomSheetMore
- },
- data() {
- return {
- bottomSheetTitle: "",
- historyList: {}, //历史数据
- historyListNew: {}, //历史数据
- historyListMore: {}, //历史数据
- userRole: getUserRole(),
- tabValue: ['旧改', '新建'],
- tabIndex: 0,
- isLeader: '',
- list: [],
- newlist: [],
- pageSize: 10,
- totalNum: '',
- pageNum: 1,
- typeList: '',
- villageIndex: 0,
- specificationIndex: 0,
- materialIndex: 0,
- villageIndex2: 0,
- buildIndex: 0,
- unitIndex: 0,
- open: false,
- openDict: false,
- selectList: [],
- dictOptions: [],
- XQList: [],
- LDList: [],
- DYList: [],
- projectValue: {
- 'dictValue': '0'
- },
- XZQValue: {},
- XQValue: {},
- XQList2: [],
- LDList2: [],
- DYList2: [],
- XQList3: [],
- LDList3: [],
- DYList3: [],
- FJList3: [],
- projectValue2: {
- 'dictValue': '0'
- },
- EngineeringValue: '',
- EngineeringName: '',
- EngineeringList: [],
- shareState: false,
- XZQValue2: {},
- XQValue2: {},
- LDValue2: {},
- DYValue2: {},
- XZQValue3: {},
- XQValue3: {},
- LDValue3: {},
- DYValue3: {},
- FJValue3: {},
- ProjectType: {},
- ProjectClassification: {},
- ProjectSteps: {},
- ReviewStatus: {},
- change: false,
- specificationValue: {},
- specificationList: [],
- materialValue: {},
- materialList: [],
- materialUsageList: [],
- roomList: [],
- roomCount: 4,
- nodeId: '',
- nodeType: '',
- roomItem: {},
- roomId: '',
- projectList: [],
- projectBody01: {},
- projectBody02: {
- 'materialPercentagePE': {
- 'actuality': '',
- 'anticipation': '',
- 'percentage': ''
- },
- 'materialPercentageIron': {
- 'actuality': '',
- 'anticipation': '',
- 'percentage': ''
- }
- },
- projectBody03: {
- 'materialPercentagePE': {
- 'actuality': '',
- 'anticipation': '',
- 'percentage': ''
- },
- 'materialPercentageIron': {
- 'actuality': '',
- 'anticipation': '',
- 'percentage': ''
- }
- },
- projectBody04: {
- 'materialPercentagePE': {
- 'actuality': '',
- 'anticipation': '',
- 'percentage': ''
- },
- 'materialPercentageIron': {
- 'actuality': '',
- 'anticipation': '',
- 'percentage': ''
- }
- },
- projectObj01: {},
- projectObj02: {},
- projectObj03: {},
- projectObj04: {},
- openP: false,
- currentProjectType: '',
- areaData: [],
- }
- },
- created() {},
- onLoad() {
- this.isLeader = getUserType()
- this.EngineeringValue = this.userRole[0];
- if (this.isLeader == 'app_user') {
- this.changeTab();
- }
- },
- // 上拉加载
- onReachBottom() {
- if (this.pageNum * 10 >= this.totalNum) {} else {
- this.$refs.pullScroll.showUpLoading();
- this.pageNum++;
- this.requestData();
- }
- },
- methods: {
- industryItemClick(item) {
- if ("未上传" == item.value) {
- return;
- }
- getIndustryProjectScheduleDetails(this.projectObj01.id, item.name).then(res => {
- this.historyListNew = res.data;
- this.bottomSheetTitle = res.data.zEngineeringNodeBo.type;
- this.showHistoryNewList();
- })
- },
- municipalItemClick(item) {
- if ("未上传" == item.value) {
- return;
- }
- getMunicipalProjectScheduleDetails(this.projectObj02.id, item.name).then(res => {
- this.historyListNew = res.data;
- this.bottomSheetTitle = res.data.zEngineeringNodeBo.type;
- this.showHistoryNewList();
- })
- },
- topTubeItemClick(item) {
- if ("未上传" == item.value) {
- return;
- }
- getTopTubeProjectScheduleDetails(this.projectObj03.id, item.name).then(res => {
- this.historyListMore = res.data;
- this.bottomSheetTitle = res.data.zEngineeringNodeBo.type;
- this.showHistoryMoreList();
- })
- },
- collisionItemClick(item) {
- if ("未上传" == item.value) {
- return;
- }
- getCollisionProjectScheduleDetails(this.projectObj04.id, item.name).then(res => {
- this.historyListNew = res.data;
- this.bottomSheetTitle = res.data.zEngineeringNodeBo.type;
- this.showHistoryNewList();
- })
- },
- changeSelectP(item, index) {
- this.openP = false;
- let type = this.currentProjectType;
- if (type == 'engineeringIndustry') { // 工业工程
- this.projectObj01 = item;
- this.getProjectData(item.name, type);
- } else if (type == 'engineeringMunicipal') { // 市政工程
- this.projectObj02 = item;
- this.getProjectData(item.id, type);
- } else if (type == 'engineeringPipeJacking') { // 顶管工程
- this.projectObj03 = item;
- this.getProjectData(item.id, type);
- } else if (type == 'touchOperationEngineering') { // 碰口作业
- this.projectObj04 = item;
- this.getProjectData(item.id, type);
- }
- },
- getProjectTypeList(type) {
- this.currentProjectType = type;
- if (type == 'engineeringIndustry') {
- this.projectList = null;
- getEnginProjectList().then(res => {
- this.projectList = res.data;
- this.openP = true;
- })
- } else if (type == 'engineeringMunicipal') {
- this.projectList = null;
- getengineeringNameList("", "", "").then(res => {
- this.projectList = res.data;
- this.openP = true;
- })
- } else if (type == 'engineeringPipeJacking') {
- this.projectList = null;
- getTopPipeNameList("", "").then(res => {
- this.projectList = res.data;
- this.openP = true;
- })
- } else if (type == 'touchOperationEngineering') {
- this.projectList = null;
- getProjectName("", 999999).then(res => {
- let result = JSON.parse(JSON.stringify(res.rows).replace(/enginName/g, 'name'));
- this.projectList = result;
- this.openP = true;
- })
- }
- },
- getProjectData(id, type) {
- getProjectStatisticsData(id, type).then(response => {
- if (type == 'engineeringIndustry') { // 工业工程
- this.projectBody01 = response.data;
- } else if (type == 'engineeringMunicipal') { // 市政工程
- this.projectBody02 = response.data;
- } else if (type == 'engineeringPipeJacking') { // 顶管工程
- this.projectBody03 = response.data;
- } else if (type == 'touchOperationEngineering') { // 碰口作业
- this.projectBody04 = response.data;
- }
- })
- },
- goHistory(item) {
- this.roomItem = item;
- getDicts(item.enginCycle + '_indoor_engin').then(response => {
- this.typeList = response.data;
- let result = JSON.parse(JSON.stringify(this.typeList).replace(/dictValue/g, 'Type'));
- this.typeList = result;
- this.handleShowSheet();
- });
- },
- serch() {
- this.changeTab();
- },
- change1() {
- this.change = !this.change
- },
- isEmpty(str) {
- return (!str || 0 === str.length);
- },
- handleShowSheet() {
- this.shareState = true;
- },
- handleHiddenShare() {
- this.shareState = false;
- },
- chooseNode(item) {
- if (this.EngineeringValue == '民用工程') {
- this.typeList = item.nodeReViewStateList
- this.nodeId = item.id;
- this.nodeType = item.enginClassification;
- this.roomId = item.houseId;
- if (this.nodeType == 'bottom_leg') { //底腿
- let obj = {
- id: this.nodeId,
- type: item.Type
- };
- uni.navigateTo({
- url: '/pages/statistics/history_details_bottom_leg?params=' + encodeURIComponent(JSON
- .stringify(
- obj))
- })
- }
- // else if (this.nodeType == 'pressure_regulating') { //调压柜
- // let obj = {
- // id: this.nodeId,
- // type: item.enginClassificationName
- // };
- // uni.navigateTo({
- // url: '/pages/statistics/historyDetailsCourtyard?params=' + encodeURIComponent(
- // JSON
- // .stringify(
- // obj))
- // })
- // }
- else {
- this.handleShowSheet();
- }
- } else if (this.EngineeringValue == '开栓') {
- this.nodeId = item.id;
- let obj = {
- type: 'edit',
- id: this.nodeId,
- };
- uni.navigateTo({
- url: '/pages/open_bolt/open_bolt?params=' + encodeURIComponent(JSON
- .stringify(
- obj))
- })
- } else if (this.EngineeringValue == '市政工程' || this.EngineeringValue == '基建工程' || this.EngineeringValue ==
- '顶管工程' || this.EngineeringValue == '工业工程' || this.EngineeringValue == '碰口作业') {
- console.log("=====", item)
- this.nodeId = item.id;
- let result = JSON.parse(JSON.stringify(item.status).replace(/type/g, 'Type'));
- this.typeList = result;
- if (item.enginClassification == '调压柜') {
- let obj = {
- id: this.nodeId,
- type: '调压柜',
- };
- console.log("===", obj)
- uni.navigateTo({
- url: '/pages/statistics/historyDetailsEnginproject?params=' + encodeURIComponent(JSON
- .stringify(
- obj))
- })
- } else {
- this.handleShowSheet();
- }
- }
- // else if (this.EngineeringValue == '工业工程') {
- // this.nodeId = item.id;
- // let obj = {
- // id: this.nodeId,
- // type: '历史数据'
- // };
- // uni.navigateTo({
- // url: '/pages/statistics/historyDetailsEnginproject?params=' + encodeURIComponent(JSON
- // .stringify(
- // obj))
- // })
- // }
- else if (this.EngineeringValue == '带气封堵施工') {
- this.nodeId = item.id;
- let obj = {
- id: this.nodeId,
- type: item.dictvalue
- };
- uni.navigateTo({
- url: '/pages/statistics/history_gas_sealing?params=' + encodeURIComponent(JSON
- .stringify(
- obj))
- })
- }
- },
- showHistoryList() {
- this.$refs.refShare.handleShowShare();
- },
- showHistoryNewList() {
- this.$refs.refShareNew.handleShowShare();
- },
- showHistoryMoreList() {
- this.$refs.refShareMore.handleShowShare();
- },
- showTypeSheet(item) {
- if (this.isLeader == 'sys_user') {
- let param = {
- areaId: this.roomItem.areaId,
- buildingId: this.roomItem.buildingId,
- unitId: this.roomItem.unitId,
- houseId: this.roomItem.roomId,
- enginCycle: this.projectValue2.dictValue, // 工程周期
- enginType: this.roomItem.enginCycle,
- enginClassification: 'indoor_engin', //写死 室内
- }
- getRoomProjectId(param).then(res => {
- if (res.code == '200') {
- if (res.data != null) {
- getRoomProjectList(res.data.id, item.Type).then(res => {
- if (res.data.zEngineeringNodeBo != null) {
- this.historyList = res.data
- this.showHistoryList();
- } else {
- this.$modal.msg("暂无历史信息")
- }
- })
- } else {
- this.$modal.msg("暂无工程信息")
- }
- } else {
- this.$modal.msg(res.msg)
- }
- })
- } else {
- if (this.EngineeringValue == '民用工程') {
- let obj = {
- id: this.nodeId,
- type: item.Type,
- roomId: this.roomId,
- };
- this.handleHiddenShare();
- if (this.nodeType == 'indoor_engin') { //室内
- uni.navigateTo({
- url: '/pages/statistics/historyDetails?params=' + encodeURIComponent(JSON
- .stringify(
- obj))
- })
- } else if (this.nodeType == 'overhead') { //架空
- uni.navigateTo({
- url: '/pages/statistics/historyDetailsCourtyard?params=' + encodeURIComponent(JSON
- .stringify(
- obj))
- })
- } else if (this.nodeType == 'courtyard') { //庭院
- uni.navigateTo({
- url: '/pages/statistics/historyDetailsCourtyard?params=' + encodeURIComponent(JSON
- .stringify(
- obj))
- })
- }
- } else if (this.EngineeringValue == '顶管工程') {
- let obj = {
- id: this.nodeId,
- type: item.Type,
- };
- uni.navigateTo({
- url: '/pages/statistics/historyDetailsTopTube?params=' + encodeURIComponent(JSON
- .stringify(
- obj))
- })
- this.handleHiddenShare();
- } else if (this.EngineeringValue == '基建工程') {
- let obj = {
- id: this.nodeId,
- type: item.Type,
- };
- uni.navigateTo({
- url: '/pages/statistics/historyDetailsInfrastructure?params=' + encodeURIComponent(JSON
- .stringify(
- obj))
- })
- this.handleHiddenShare();
- } else if (this.EngineeringValue == '市政工程') {
- let obj = {
- id: this.nodeId,
- type: item.Type,
- };
- uni.navigateTo({
- url: '/pages/statistics/historyDetailMunicipal?params=' + encodeURIComponent(JSON
- .stringify(
- obj))
- })
- this.handleHiddenShare();
- } else if (this.EngineeringValue == '工业工程') {
- let obj = {
- id: this.nodeId,
- type: item.Type,
- };
- uni.navigateTo({
- url: '/pages/statistics/historyDetailsEnginproject?params=' + encodeURIComponent(JSON
- .stringify(
- obj))
- })
- this.handleHiddenShare();
- } else if (this.EngineeringValue == '碰口作业') {
- let obj = {
- id: this.nodeId,
- type: item.Type,
- };
- console.log("===", obj)
- uni.navigateTo({
- url: '/pages/statistics/historyDetailsMouth?params=' + encodeURIComponent(JSON
- .stringify(
- obj))
- })
- this.handleHiddenShare();
- }
- }
- },
- pickerShow(e) {
- this.type = e;
- if (e == 'gcx') {
- this.open = true;
- this.EngineeringList = [];
- this.userRole.forEach((item, index) => {
- // if (item != '危险作业工程') {
- // console.log("===", item)
- this.EngineeringList.push({
- 'id': index,
- 'name': item
- })
- //}
- });
- this.selectList = this.EngineeringList;
- } else if (e == 'gczq') {
- this.openDict = true;
- getDicts("engin_cycle").then(response => {
- this.dictOptions = response.data;
- });
- } else if (e == 'gclx') {
- this.openDict = true;
- getDicts('indoor_engin_type').then(response => {
- this.dictOptions = response.data;
- });
- } else if (e == 'gcfl') {
- if (this.EngineeringValue == '民用工程') {
- if (this.isEmpty(this.ProjectType.dictValue)) {
- this.$modal.msg('请选择工程类型')
- } else {
- this.openDict = true;
- getDicts(this.ProjectType.dictValue).then(response => {
- this.dictOptions = response.data;
- });
- }
- } else {
- //工业5 带起封堵施工3
- let nodeType = '';
- if (this.EngineeringValue == '工业工程') {
- nodeType = '5';
- } else if (this.EngineeringValue == '带气封堵施工') {
- nodeType = '3';
- }
- this.openDict = true;
- getByUserListAndDicts(nodeType).then(
- response => {
- this.dictOptions = response.data;
- });
- }
- } else if (e == 'gcbz') {
- if (this.EngineeringValue == '民用工程') {
- if (this.isEmpty(this.ProjectClassification.dictValue)) {
- this.$modal.msg('请选择工程分类')
- } else {
- this.openDict = true;
- getDicts(this.ProjectType.dictValue + "_" + this.ProjectClassification.dictValue).then(
- response => {
- this.dictOptions = response.data;
- });
- }
- } else {
- let nodeType = '';
- if (this.EngineeringValue == '市政工程') {
- nodeType = '4';
- } else if (this.EngineeringValue == '基建工程') {
- nodeType = '2';
- } else if (this.EngineeringValue == '顶管工程') {
- nodeType = '1';
- }
- this.openDict = true;
- getByUserListAndDicts(nodeType).then(
- response => {
- this.dictOptions = response.data;
- });
- }
- } else if (e == 'shzt') {
- if (this.EngineeringValue == '民用工程') {
- if (this.isEmpty(this.ProjectSteps.dictValue)) {
- this.$modal.msg('请选择工程步骤')
- } else {
- this.openDict = true;
- getDicts('state_options').then(
- response => {
- this.dictOptions = response.data;
- });
- }
- } else {
- this.openDict = true;
- getDicts('state_options').then(
- response => {
- this.dictOptions = response.data;
- });
- }
- } else if (e == 'xzq') {
- if (this.isEmpty(this.projectValue.dictValue)) {
- this.$modal.msg('请选择工程周期')
- } else {
- this.openDict = true;
- getDicts("district").then(response => {
- this.dictOptions = response.data;
- });
- }
- } else if (e == 'xq') {
- if (this.isEmpty(this.XZQValue.dictValue)) {
- getAreaList('').then(res => {
- this.XQList = res.data;
- this.open = true;
- this.selectList = this.XQList;
- })
- } else {
- this.open = true;
- this.selectList = this.XQList;
- }
- } else if (e == 'ld') {
- if (this.isEmpty(this.XQValue.id)) {
- this.$modal.msg('请选择小区')
- } else {
- this.open = true;
- this.selectList = this.LDList;
- }
- } else if (e == 'dy') {
- if (this.isEmpty(this.LDValue.id)) {
- this.$modal.msg('请选择楼栋')
- } else {
- this.open = true;
- this.selectList = this.DYList;
- }
- } else if (e == 'gczq2') {
- this.openDict = true;
- getDicts("engin_cycle").then(response => {
- this.dictOptions = response.data;
- });
- } else if (e == 'xzq2' || e == 'xzq3') {
- if (this.isEmpty(this.projectValue2.dictValue)) {
- this.$modal.msg('请选择工程周期')
- } else {
- this.openDict = true;
- getDicts("district").then(response => {
- this.dictOptions = response.data;
- });
- }
- } else if (e == 'xq2') {
- if (this.isEmpty(this.XZQValue2.dictValue)) {
- getAreaList('').then(res => {
- this.XQList2 = res.data;
- this.open = true;
- this.selectList = this.XQList2;
- })
- } else {
- this.open = true;
- this.selectList = this.XQList2;
- }
- } else if (e == 'ld2') {
- if (this.isEmpty(this.XQValue2.id)) {
- this.$modal.msg('请选择小区')
- } else {
- this.open = true;
- this.selectList = this.LDList2;
- }
- } else if (e == 'dy2') {
- if (this.isEmpty(this.LDValue2.id)) {
- this.$modal.msg('请选择楼栋')
- } else {
- this.open = true;
- this.selectList = this.DYList2;
- }
- } else if (e == 'xq3') {
- if (this.isEmpty(this.XZQValue3.dictValue)) {
- getAreaList('').then(res => {
- this.XQList3 = res.data;
- this.open = true;
- this.selectList = this.XQList3;
- })
- } else {
- this.open = true;
- this.selectList = this.XQList3;
- }
- } else if (e == 'ld3') {
- if (this.isEmpty(this.XQValue3.id)) {
- this.$modal.msg('请选择小区')
- } else {
- this.open = true;
- this.selectList = this.LDList3;
- }
- } else if (e == 'dy3') {
- if (this.isEmpty(this.LDValue3.id)) {
- this.$modal.msg('请选择楼栋')
- } else {
- this.open = true;
- this.selectList = this.DYList3;
- }
- } else if (e == 'fj3') {
- if (this.isEmpty(this.DYValue3.id)) {
- this.$modal.msg('请选择单元')
- } else {
- this.open = true;
- this.selectList = this.FJList3;
- }
- } else if (e == 'gg') {
- if (this.isEmpty(this.materialValue.id)) {
- this.$modal.msg('请选择材料')
- } else {
- this.open = true;
- this.selectList = this.materialList;
- }
- } else if (e == 'cz') {
- this.open = true;
- getEnginMaterialQualityList("民用工程").then(response => {
- this.selectList = response.data;
- });
- }
- },
- clear() {
- //清空所有筛选项
- this.XZQValue3 = '';
- this.XQValue3 = '';
- this.LDValue3 = '';
- this.DYValue3 = '';
- this.FJValue3 = '';
- this.ProjectType = {
- dictValue: '',
- dictLabel: ''
- };
- this.ProjectClassification = {
- dictValue: '',
- dictLabel: ''
- };
- this.ProjectSteps = {
- dictValue: '',
- dictLabel: ''
- };
- this.ReviewStatus = {
- dictValue: '',
- dictLabel: ''
- };
- this.EngineeringName = '';
- this.changeTab();
- },
- closeP(item, index) {
- this.openP = false;
- },
- changeSelect(item, index) {
- this.open = false;
- this.openDict = false;
- if (this.type == 'gcx') {
- this.EngineeringValue = item.name
- this.clear();
- } else if (this.type == 'xzq') {
- this.XZQValue = item;
- this.XQValue = '';
- this.LDValue = '';
- this.DYValue = '';
- this.FJValue = '';
- getAreaList(item.dictValue).then(res => {
- this.XQList = res.data;
- })
- } else if (this.type == 'gczq') {
- this.projectValue = item
- } else if (this.type == 'gclx') {
- this.ProjectType = item
- this.ProjectClassification = '';
- this.ProjectSteps = '';
- this.ReviewStatus = '';
- } else if (this.type == 'gcfl') {
- this.ProjectClassification = item
- this.ProjectSteps = '';
- this.ReviewStatus = '';
- } else if (this.type == 'gcbz') {
- this.ProjectSteps = item
- this.ReviewStatus = '';
- } else if (this.type == 'shzt') {
- this.ReviewStatus = item
- } else if (this.type == 'xq') {
- this.XQValue = item;
- this.LDValue = '';
- this.DYValue = '';
- this.FJValue = '';
- this.queryMaterialsUsedList();
- } else if (this.type == 'ld') {
- this.LDValue = item;
- this.DYValue = '';
- this.FJValue = '';
- getUnitList(item.id).then(res => {
- this.DYList = res.data
- })
- } else if (this.type == 'dy') {
- this.DYValue = item;
- } else if (this.type == 'gczq2') {
- this.projectValue2 = item
- } else if (this.type == 'xzq2') {
- this.XZQValue2 = item;
- this.XQValue2 = '';
- this.LDValue2 = '';
- this.DYValue2 = '';
- this.FJValue2 = '';
- getAreaList(item.dictValue).then(res => {
- this.XQList2 = res.data;
- })
- } else if (this.type == 'xzq3') {
- this.XZQValue3 = item;
- this.XQValue3 = '';
- this.LDValue3 = '';
- this.DYValue3 = '';
- this.FJValue3 = '';
- getAreaList(item.dictValue).then(res => {
- this.XQList3 = res.data;
- })
- } else if (this.type == 'xq2') {
- this.XZQValue2 = {
- dictValue: item.district,
- dictLabel: item.districtName
- };
- this.XQValue2 = item;
- this.LDValue2 = '';
- this.DYValue2 = '';
- this.FJValue2 = '';
- getBuildingList(item.id).then(res => {
- this.LDList2 = res.data
- })
- getAreaCompletionInformationList(item.id, 0).then(res => {
- this.areaData = res.rows;
- })
- } else if (this.type == 'xq3') {
- this.XZQValue3 = {
- dictValue: item.district,
- dictLabel: item.districtName
- };
- this.XQValue3 = item;
- this.LDValue3 = '';
- this.DYValue3 = '';
- this.FJValue3 = '';
- getBuildingList(item.id).then(res => {
- this.LDList3 = res.data
- })
- } else if (this.type == 'ld2') {
- this.LDValue2 = item;
- this.DYValue2 = '';
- this.FJValue2 = '';
- getUnitList(item.id).then(res => {
- this.DYList2 = res.data
- })
- } else if (this.type == 'ld3') {
- this.LDValue3 = item;
- this.DYValue3 = '';
- this.FJValue3 = '';
- getUnitList(item.id).then(res => {
- this.DYList3 = res.data
- })
- } else if (this.type == 'dy3') {
- this.DYValue3 = item;
- this.FJValue3 = '';
- getHousesList(item.id).then(res => {
- this.FJList3 = res.data
- })
- } else if (this.type == 'fj3') {
- this.FJValue3 = item;
- } else if (this.type == 'dy2') {
- this.DYValue2 = item;
- this.queryProjectStatisticsList();
- } else if (this.type == 'gg') {
- this.specificationValue = item;
- this.queryMaterialsUsedList();
- } else if (this.type == 'cz') {
- this.materialValue = item;
- this.specificationValue = '';
- this.queryMaterialsUsedList();
- getEnginSpecificationsList(item.id).then(res => {
- this.materialList = res.data
- })
- }
- },
- close(e) {
- this.open = false
- },
- closeDict(e) {
- this.openDict = false
- },
- queryMaterialsUsedList() {
- if (this.isEmpty(this.XQValue.id)) {
- this.$modal.msg('请选择小区')
- return;
- }
- let param = {
- enginCycle: this.projectValue.dictValue, //工程周期
- areaId: this.XQValue.id,
- realityQuality: this.materialValue.id,
- realitySpecifications: this.specificationValue.id,
- };
- this.XZQValue = {
- dictValue: this.XQValue.district,
- dictLabel: this.XQValue.districtName
- };
- getMunicipalStatisticsData(param).then(res => {
- this.materialUsageList = res.data;
- })
- },
- queryProjectStatisticsList() {
- let param = {
- enginCycle: this.projectValue.dictValue, //工程周期
- areaId: this.XQValue2.id,
- buildingId: this.LDValue2.id,
- unitId: this.DYValue2.id,
- };
- getObtainRoomcCompletionInformationList(param).then(res => {
- this.roomList = res.data[0].roomStatusVoList;
- this.roomCount = res.data[0].roomStatusVoList.length;
- })
- },
- getColorByStatus(status) {
- if (this.isEmpty(status)) {
- return "#fff";
- }
- if (status == '施工中') {
- return "#5bd3ff";
- } else if (status == '未施工') {
- return "#ffc881";
- } else if (status == '竣工') {
- return "#80d9ae";
- }
- },
- clearMaterialInfo() {
- this.materialValue = '';
- this.specificationValue = '';
- this.queryMaterialsUsedList();
- },
- clearSpecificationInfo() {
- this.specificationValue = '';
- this.queryMaterialsUsedList();
- },
- pullDown(pullScroll) {
- this.pageNum = 1;
- setTimeout(() => {
- this.requestData(pullScroll);
- }, 1000);
- },
- getList() {
- let myThis = this;
- this.$nextTick(() => {
- myThis.$refs.pullScroll.refresh();
- });
- },
- changeTab() {
- this.pageSize = 10;
- this.totalNum = '';
- this.pageNum = 1;
- this.requestData();
- },
- requestData() {
- uni.showLoading()
- if (this.EngineeringValue == '民用工程') {
- let type = ''
- let param = {
- district: this.XZQValue3.dictValue == undefined ? '' : this.XZQValue3.dictValue,
- areaId: this.XQValue3.id == undefined ? '' : this.XQValue3.id,
- buildingId: this.LDValue3.id == undefined ? '' : this.LDValue3.id,
- unitId: this.DYValue3.id == undefined ? '' : this.DYValue3.id,
- houseId: this.FJValue3.id == undefined ? '' : this.FJValue3.id,
- enginType: this.ProjectType.dictValue == undefined ? '' : this.ProjectType.dictValue,
- enginCycle: '0',
- enginClassification: this.ProjectClassification.dictValue == undefined ? '' : this
- .ProjectClassification.dictValue,
- type: this.ProjectSteps.dictValue == undefined ? '' : this.ProjectSteps.dictValue,
- completionStatus: this.ReviewStatus.dictValue == undefined ? '' : this.ReviewStatus.dictValue,
- createBy: user.state.name,
- pageNum: this.pageNum,
- pageSize: this.pageSize
- }
- gethistoryList(param).then(res => {
- this.totalNum = res.total
- if (res.code == '200') {
- uni.hideLoading()
- if (res.rows.length !== 0) {
- if (this.pageNum == 1) {
- this.list = [];
- this.list = res.rows
- } else {
- this.list = this.list.concat(res.rows)
- }
- if (this.pageNum * 10 >= this.totalNum) {
- this.$refs.pullScroll.finish();
- } else {
- this.$refs.pullScroll.success();
- }
- } else {
- this.list = [];
- this.$refs.pullScroll.empty();
- }
- } else {
- this.$modal.msg(res.msg + "")
- this.$refs.pullScroll.error();
- }
- })
- } else if (this.EngineeringValue == '开栓') {
- let type = ''
- let param = {
- district: this.XZQValue3.dictValue == undefined ? '' : this.XZQValue3.dictValue,
- areaId: this.XQValue3.id == undefined ? '' : this.XQValue3.id,
- buildingId: this.LDValue3.id == undefined ? '' : this.LDValue3.id,
- unitId: this.DYValue3.id == undefined ? '' : this.DYValue3.id,
- houseId: this.FJValue3.id == undefined ? '' : this.FJValue3.id,
- completionStatus: this.ReviewStatus.dictValue == undefined ? '' : this.ReviewStatus.dictValue,
- createBy: user.state.name,
- pageNum: this.pageNum,
- pageSize: this.pageSize
- }
- getKShistoryList(param).then(res => {
- this.totalNum = res.total
- if (res.code == '200') {
- uni.hideLoading()
- if (res.rows.length !== 0) {
- if (this.pageNum == 1) {
- this.list = [];
- this.list = res.rows
- } else {
- this.list = this.list.concat(res.rows)
- }
- if (this.pageNum * 10 >= this.totalNum) {
- this.$refs.pullScroll.finish();
- } else {
- this.$refs.pullScroll.success();
- }
- } else {
- this.list = [];
- this.$refs.pullScroll.empty();
- }
- } else {
- this.$modal.msg(res.msg + "")
- this.$refs.pullScroll.error();
- }
- })
- } else if (this.EngineeringValue == '顶管工程' || this.EngineeringValue == '基建工程' || this.EngineeringValue ==
- '碰口作业' || this.EngineeringValue == '市政工程' || this.EngineeringValue == '工业工程' || this
- .EngineeringValue == '带气封堵施工') {
- //type 1 = 顶管, 2=基建 3=危险 4= 市政 5= 工业 type=6 是带气封堵
- let chooseType = '';
- switch (this.EngineeringValue) {
- case '顶管工程':
- chooseType = '1';
- break
- case '基建工程':
- chooseType = '2';
- break
- case '碰口作业':
- chooseType = '7';
- break
- case '市政工程':
- chooseType = '4';
- break
- case '工业工程':
- chooseType = '5';
- break
- case '带气封堵施工':
- chooseType = '6';
- break
- }
- let param = {
- type: chooseType,
- enginName: this.EngineeringName,
- enginType: this.ProjectClassification.dictValue == undefined ? '' : this
- .ProjectClassification.dictValue,
- nodeType: this.ProjectSteps.dictLabel == undefined ? '' : this.ProjectSteps.dictLabel,
- enginStatus: this.ReviewStatus.dictValue == undefined ? '' : this.ReviewStatus.dictValue,
- district: this.XZQValue3.dictValue == undefined ? '' : this.XZQValue3.dictValue,
- areaId: this.XQValue3.id == undefined ? '' : this.XQValue3.id,
- buildingId: this.LDValue3.id == undefined ? '' : this.LDValue3.id,
- unitId: this.DYValue3.id == undefined ? '' : this.DYValue3.id,
- houseId: this.FJValue3.id == undefined ? '' : this.FJValue3.id,
- completionStatus: this.ReviewStatus.dictValue == undefined ? '' : this.ReviewStatus.dictValue,
- createBy: user.state.name,
- pageNum: this.pageNum,
- pageSize: this.pageSize
- }
- getHistoryByUserList(param).then(res => {
- this.totalNum = res.data.total
- if (res.code == '200') {
- uni.hideLoading()
- if (res.data.rows.length !== 0) {
- if (this.pageNum == 1) {
- this.list = [];
- this.list = res.data.rows
- } else {
- this.list = this.list.concat(res.data.rows)
- }
- if (this.pageNum * 10 >= this.totalNum) {
- this.$refs.pullScroll.finish();
- } else {
- this.$refs.pullScroll.success();
- }
- } else {
- this.list = [];
- this.$refs.pullScroll.empty();
- }
- } else {
- this.$modal.msg(res.msg + "")
- this.$refs.pullScroll.error();
- }
- })
- }
- },
- }
- }
- </script>
- <style lang="scss">
- .to-right-icon {
- width: 15px;
- height: 15px;
- position: absolute;
- top: 50%;
- transform: translateY(-50%);
- }
- .uni-media-list {
- width: 100%;
- }
- .no-click {
- pointer-events: none;
- }
- .marginLeft5 {
- margin-left: 5px;
- }
- .title-txt {
- font-size: 15px;
- font-weight: bold;
- color: black;
- padding: 20rpx 0;
- }
- .content-txt {
- font-size: 10px;
- font-weight: bold;
- color: black;
- }
- .view-bg {
- margin-left: 8px;
- margin-right: 8px;
- margin-top: 8px;
- background-color: #fff;
- border-radius: 5px;
- padding: 20px;
- display: flex;
- flex-direction: column;
- }
- .uni-list {
- background-color: #FFFFFF;
- position: relative;
- width: 100%;
- display: flex;
- flex-direction: column;
- }
- .uni-list-cell {
- display: flex;
- align-items: center;
- justify-content: space-between;
- padding: 10px 0;
- position: relative;
- }
- .uni-list-cell-left {
- white-space: nowrap;
- font-size: 28rpx;
- }
- .centered {
- text-align: center;
- background-color: #e2f4ff;
- }
- .text {
- background-color: #e2f4ff;
- height: 20rpx;
- }
- .view_bg_build {
- background-color: #e2f4ff;
- padding: 10px 10px 0 10px;
- margin: 0 auto;
- border: 1px solid #5bd3ff;
- white-space: nowrap;
- position: relative;
- z-index: 2;
- }
- .grid-text {
- font-size: 14px;
- color: #000000;
- text-align: center;
- padding-left: 30rpx;
- padding-right: 30rpx;
- padding-top: 20rpx;
- padding-bottom: 20rpx;
- }
- .name {
- flex: 0;
- font-size: 14px;
- color: #000000;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- .table-item {
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- .block-iv {
- width: 20px;
- height: 20px;
- }
- .table {
- width: 100%;
- border-radius: 8rpx;
- background: #FFFFFF;
- /* border: 1rpx solid #EFEFEF; */
- font-size: 28rpx;
- margin-top: 40rpx;
- }
- .felx-row {
- width: 100%;
- display: flex;
- justify-content: space-between;
- align-items: center;
- }
- .h-tr {
- box-sizing: border-box;
- display: flex;
- flex-direction: row;
- flex-wrap: nowrap;
- justify-content: center;
- align-items: center;
- align-content: center;
- border-color: #ccc;
- border-style: solid;
- border-width: 0;
- border-width: 1px;
- color: #3d7dd7;
- }
- .h-td {
- box-sizing: border-box;
- padding: 3px;
- word-break: break-all;
- border-color: #ccc;
- border-style: solid;
- border-width: 1px;
- border-right-width: 1px;
- display: flex;
- flex-direction: row;
- flex-wrap: nowrap;
- justify-content: center;
- align-items: center;
- align-content: center;
- min-height: 64rpx;
- }
- .LouCeng {
- font-size: 30rpx;
- background-color: #4a4b52;
- color: #FFEB3B;
- font-weight: bold;
- }
- .Fang {
- width: 100%;
- display: inline-block;
- line-height: 50rpx;
- text-align: center;
- margin-right: 10px;
- margin-bottom: 10px;
- background-color: red;
- }
- .HuaDongBiao {
- display: flex;
- flex-direction: column-reverse;
- position: relative;
- }
- .NeiRong {
- display: flex;
- flex-wrap: nowrap;
- }
- .NeiRong :last-child {
- margin-right: 0 !important;
- }
- .ShiGongZhong {
- background-color: #5bd3ff;
- color: #000;
- }
- .WeiShiGong {
- background-color: #ffc881;
- color: #000;
- }
- .JunGong {
- background-color: #80d9ae;
- color: #000;
- }
- .container {
- display: flex;
- margin-left: 10px;
- width: 100%;
- margin-top: 10px;
- margin-right: 10px;
- justify-content: space-between;
- }
- .notice {
- margin: 20rpx;
- padding: 20rpx;
- background: #FFFFFF;
- box-shadow: 0rpx 8rpx 17rpx 0rpx rgba(0, 0, 0, 0.04);
- border-radius: 10rpx;
- }
- .text {
- border-left: 15rpx solid #3857F3;
- padding-left: 20rpx;
- }
- .share {
- width: 100%;
- height: 100%;
- }
- .share-box {
- width: 100%;
- height: 100%;
- position: fixed;
- top: 0rpx;
- left: 0rpx;
- bottom: 0rpx;
- right: 0rpx;
- background-color: rgba(0, 0, 0, 0.4);
- transition: .3s;
- z-index: 999;
- }
- .share-show {
- transition: all 0.3s ease;
- transform: translateY(0%) !important;
- }
- .scroll-Y {
- height: 350rpx;
- }
- .share-item {
- position: fixed;
- left: 0;
- bottom: 0;
- width: 100%;
- height: auto;
- background-color: #FFFFFF;
- transition: all 0.3s ease;
- transform: translateY(100%);
- z-index: 1999;
- border-top-left-radius: 40rpx;
- border-top-right-radius: 40rpx;
- .share-to {
- width: 100%;
- height: 3rem;
- display: flex;
- justify-content: center;
- align-items: center;
- &::after {
- content: '';
- width: 240rpx;
- height: 0rpx;
- border-top: 1px solid #E4E7ED;
- -webkit-transform: scaleY(0.5);
- transform: scaleY(0.5);
- margin-left: 30rpx;
- }
- &::before {
- content: '';
- width: 240rpx;
- height: 0rpx;
- border-top: 1px solid #E4E7ED;
- -webkit-transform: scaleY(0.5);
- transform: scaleY(0.5);
- margin-right: 30rpx;
- }
- }
- .content {
- width: 100%;
- height: 50%;
- display: flex;
- flex-wrap: wrap;
- .block {
- width: 100%;
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- height: 80rpx;
- text {
- margin-top: 16rpx;
- font-size: 28rpx;
- color: #606266;
- }
- }
- }
- .cancel {
- width: 100%;
- height: 3rem;
- display: flex;
- justify-content: center;
- align-items: center;
- border-top: 1rpx solid #E4E7ED;
- }
- }
- .background {
- // border: 15px solid hsla(0, 0%, 100%, .5);
- background: white;
- background-clip: padding-box;
- padding: 20rpx;
- border-radius: 20rpx;
- margin: 20rpx 10rpx;
- /*从padding开始往外面裁剪背景*/
- }
- </style>
|