1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335 |
- <template>
- <view class="Receiptpage">
- <view class="page_tab">
- <view class="page_tab_bar" :class="{ active: item.label === selectedLabelSlots }" v-for="item in tabs"
- :key="item.value" @click="clickHandler(item.label)">
- {{ item.label }}
- <text class="tab_num">( {{ item.num }} )</text>
- <view class="more" v-if="item.label === '执行中'" @click.stop="execFilter"></view>
- <!-- <picker class="more_picker" v-if="item.label === '执行中'" @click.stop @change="execFilter($event)" :value="index"
- :range="array" range-key="name">
- <view class="uni-input">{{ array[index].name }}</view>
- </picker> -->
- </view>
- </view>
- <view v-if="zxzData.length == 0" class="zwsj">
- <image class="zwsj-img" mode="widthFix" src="../../static/img/zanwushuju.png"></image>
- <view class="zwsj-txt">暂无数据</view>
- </view>
- <view class="page_items">
- <scroll-view class="page_items_scroll" scroll-y :refresher-enabled="scroll_refresher_enabled"
- :refresher-triggered="triggered" @refresherrefresh="refresherrefresh" @refresherrestore="refresherrestore"
- @scroll="scroll" @scrolltolower="scrolltolower" :scroll-top="scroll_top" @refresherabort="refresherabort">
- <view class="page_item_wrap" v-for="(item, index) of zxzData" :key="index">
- <view class="page_item">
- <view class="L"></view>
- <view class="R"></view>
- <view class="page_item_top">
- <view class="page_item_top_L">
- <!-- <text class="L_iocn" v-if="item.taskType.associationType.value == 'specimen'">标</text>
- <text class="L_iocn" v-if="item.taskType.associationType.value == 'drugsBag'">药</text>
- <text class="L_iocn" v-if="item.taskType.associationType.value == 'specimenPlan'">巡</text>
- <text class="L_iocn" v-if="item.taskType.associationType.value == 'jPBag'">静</text>
- <text class="L_iocn" v-if="item.taskType.associationType.value == 'inspect'">病</text>
- <text class="L_iocn" v-if="
- item.taskType.associationType.value == 'patientTransport'
- ">病</text>
- <text class="L_iocn" v-if="item.taskType.associationType.value == 'other'">其</text> -->
- <view class="page_item_cont_start emergency1" v-if="item.emergencyType.value == 1">
- <image mode="widthFix" class="page_item_cont_start-img" src="../../static/img/icon_shandian.png">
- </image>
- {{ item.emergencyType.name }}
- </view>
- <view class="page_item_cont_start emergency" v-if="item.emergencyType.value == 2">
- <image mode="widthFix" class="page_item_cont_start-img" src="../../static/img/icon_shandian.png">
- </image>
- {{ item.emergencyType.name }}
- </view>
- <view class="page_item_cont_start emergencys" v-if="item.emergencyType.value == 3">
- <image mode="widthFix" class="page_item_cont_start-img" src="../../static/img/icon_shandian.png">
- </image>
- {{ item.emergencyType.name }}
- </view>
- <view class="page_item_top_R type" style="margin-left: 16rpx;">
- {{
- item.isHalfInspect === 1 ? "半程陪检" : item.taskType.taskName
- }}<template v-if="item.goodsRemark">-{{item.goodsRemark}}</template>
- </view>
- <!-- <text class="L_time" v-if="item.overdueTime">{{ item.overdueTime }}前送达</text> -->
- </view>
- <view class="page_item_top_R" v-if="
- !(
- item.taskType.associationType.value == 'inspect' &&
- item.gdState.value == 5
- )
- ">
- <text class="text_big">{{ item.gdState.name }}</text>
- </view>
- <view class="page_item_top_R" v-if="
- item.taskType.associationType.value == 'inspect' &&
- item.gdState.value == 5
- ">
- <text class="text_big">待送回</text>
- </view>
- <!-- <view class="page_item_top_R type">
- {{
- item.isHalfInspect === 1 ? "半程陪检" : item.taskType.taskName
- }}<template v-if="item.goodsRemark">-{{item.goodsRemark}}</template>
- </view> -->
- </view>
- <view class="page_item_cont" @click="itemInfo(item)">
- <view class="page_item_cont_T">
- <view class="page_item_cont_title">
- <text> <text class="starting">起</text> 点科室 </text>
- <text class="text_big">{{ item.startDept.dept }}</text>
- </view>
- <!-- <view class="page_item_cont_start emergency1" v-if="item.emergencyType.value == 1">
- <image mode="widthFix" class="page_item_cont_start-img" src="../../static/img/icon_shandian.png">
- </image>
- {{ item.emergencyType.name }}
- </view>
- <view class="page_item_cont_start emergency" v-if="item.emergencyType.value == 2">
- <image mode="widthFix" class="page_item_cont_start-img" src="../../static/img/icon_shandian.png">
- </image>
- {{ item.emergencyType.name }}
- </view>
- <view class="page_item_cont_start emergencys" v-if="item.emergencyType.value == 3">
- <image mode="widthFix" class="page_item_cont_start-img" src="../../static/img/icon_shandian.png">
- </image>
- {{ item.emergencyType.name }}
- </view> -->
- </view>
- <view class="page_item_conts" v-if="item.taskType.associationType.value == 'specimen'">
- <view v-if="item.overdueTime">{{ item.overdueTime }}前送达</view>
- <view>扫描标本数量 : {{ item.actualReceiveNum || '无'}}</view>
- <view class="line"></view>
- </view>
- <view class="page_item_conts" v-else-if="item.taskType.associationType.value == 'ordinary' && item.taskType.ordinaryField.value == 'blood'">
- <view v-if="item.overdueTime">{{ item.overdueTime }}前送达</view>
- <view>接收数量 : {{ item.actualReceiveNum || '无'}}</view>
- <view class="line"></view>
- </view>
- <view class="page_item_conts" v-else-if="item.taskType.associationType.value == 'inspect'">
- <view v-if="item.overdueTime">{{ item.overdueTime }}前送达</view>
- <view>
- 预约时间 : {{ item.yyTime | yyTimeFilter
- }}<text v-if="item.reservationNumber">({{ item.reservationNumber }})</text>
- </view>
- <view>
- 床号 : {{ item.patient ? item.patient.patientName : "-" }}({{
- item.patient ? item.patient.bedNum : "-"
- }})
- </view>
- <view v-if="item.goods">
- 携带设备 :
- <text>{{ item.goods || "暂无" }}</text>
- </view>
- <view style="word-break: break-all;" v-if="item.workOrderRemark">
- 备注信息 :
- <text>{{ item.workOrderRemark || "暂无" }}</text>
- </view>
- <view v-if="item.patient.careLevel">
- 护理等级 :
- <text :class="[
- item.patient.careLevel.value == 0 ||
- item.patient.careLevel.value == 1
- ? 'red'
- : 'green',
- ]">{{ item.patient.careLevel.name }}</text>
- </view>
- <view v-if="item.patient.illnessState">
- 病情级别 :
- <text :class="{
- red:
- item.patient.illnessState.value == 2 ||
- item.patient.illnessState.value == 3,
- }">{{ item.patient.illnessState.name }}</text>
- </view>
- <view v-if="item.isAccompany === 1 || item.isAccompany === 0">
- 陪同情况 :
- <text :class="{ red: item.isAccompany === 1 }">{{
- item.isAccompany === 1 ? "需要医护陪同" : "无需医护陪同"
- }}</text>
- </view>
- <view class="line"></view>
- </view>
- <view class="page_item_conts" v-else-if="item.taskType.associationType.value == 'patientTransport'">
- <view v-if="item.overdueTime">{{ item.overdueTime }}前送达</view>
- <view>
- 预约时间 : {{ item.yyjdTime | yyTimeFilter
- }}<text v-if="item.reservationNumber">({{ item.reservationNumber }})</text>
- </view>
- <view>
- 床号 : {{ item.patient ? item.patient.patientName : "-" }}({{
- item.patient ? item.patient.bedNum : "-"
- }})
- </view>
- <view v-if="item.goods">
- 携带设备 :
- <text>{{ item.goods || "暂无" }}</text>
- </view>
- <view style="word-break: break-all;" v-if="item.workOrderRemark">
- 备注信息 :
- <text>{{ item.workOrderRemark || "暂无" }}</text>
- </view>
- <view v-if="item.patient.careLevel">
- 护理等级 :
- <text :class="[
- item.patient.careLevel.value == 0 ||
- item.patient.careLevel.value == 1
- ? 'red'
- : 'green',
- ]">{{ item.patient.careLevel.name }}</text>
- </view>
- <view v-if="item.patient.illnessState">
- 病情级别 :
- <text :class="{
- red:
- item.patient.illnessState.value == 2 ||
- item.patient.illnessState.value == 3,
- }">{{ item.patient.illnessState.name }}</text>
- </view>
- <view v-if="item.isAccompany === 1 || item.isAccompany === 0">
- 陪同情况 :
- <text :class="{ red: item.isAccompany === 1 }">{{
- item.isAccompany === 1 ? "需要医护陪同" : "无需医护陪同"
- }}</text>
- </view>
- <view class="line"></view>
- </view>
- <view class="page_item_conts" v-else-if="item.taskType.associationType.value == 'drugsBag'">
- <view v-if="item.overdueTime">{{ item.overdueTime }}前送达</view>
- <view>
- 药包编码 : {{ item.drugs ? item.drugs.packid : "无" }}
- </view>
- <view class="line"></view>
- </view>
- <view class="page_item_conts" v-else-if="item.taskType.associationType.value == 'jPBag'">
- <view v-if="item.overdueTime">{{ item.overdueTime }}前送达</view>
- <view>
- 药包编码 :
- {{ item.staticDistri ? item.staticDistri.packid : "无" }}
- </view>
- <view class="line"></view>
- </view>
- <view class="page_item_conts" v-else>
- <view v-if="item.overdueTime">{{ item.overdueTime }}前送达</view>
- <view style="word-break: break-all;" v-if="item.workOrderRemark">
- 备注信息 :
- <text>{{ item.workOrderRemark || "暂无" }}</text>
- </view>
- <view class="line"></view>
- </view>
- <view class="page_item_cont_B">
- <view class="page_item_cont_title" v-if="item.taskType.associationType.value != 'inspect'">
- <text> <text class="End">终</text> 点科室 </text>
- <text class="text_big" v-for="(dept, i) of item.endDepts" :key="i">{{ dept.dept }}</text>
- </view>
- <view class="page_item_cont_title" v-if="item.taskType.associationType.value == 'inspect'">
- <text> <text class="End">检</text> 查科室 </text>
- <text class="text_big" v-for="(dept, i) of item.middleDept" :key="i">{{ dept.dept }}</text>
- </view>
- </view>
- </view>
- <view v-if="
- item.taskType.associationType.value == 'inspect' ||
- item.taskType.associationType.value == 'patientTransport'
- ">
- <!-- 待抢单 -->
- <text class="red" v-if="item.gdState.value == 2">请扫描患者腕带,或者请扫描科室码</text>
- <!-- 待到达 -->
- <text class="red" v-if="item.gdState.value == 4">请扫描患者腕带</text>
- <!-- 执行中 -->
- <text class="red" v-if="item.gdState.value == 8">请扫描检查科室码,并扫描患者腕带</text>
- <!-- 待送达 -->
- <text class="red" v-if="item.gdState.value == 5">请扫描终点科室码,并扫描患者腕带</text>
- </view>
- <view v-else-if="item.taskType.associationType.value == 'other'">
- <!-- 待到达 -->
- <text class="red" v-if="item.gdState.value == 4 && item.taskType.carryingCourses[0].checkoutMethod.value == 1">可通过扫描科室码或者拍照进行签到</text>
- <text class="red" v-if="item.gdState.value == 4 && item.taskType.carryingCourses[0].checkoutMethod.value == 2">扫描交接人员二维码进行交接</text>
- </view>
- <!-- 如果不是患者陪检或患者转运或其他,万能交接 -->
- <view class="page_item_btn" v-if="
- selectedLabelSlots == '执行中' &&
- item.taskType.associationType.value != 'patientTransport' &&
- item.taskType.associationType.value != 'inspect' &&
- item.taskType.associationType.value != 'other' &&
- item.taskType.associationType.value != 'ordinary'
- " hover-class="seimin-btn-hover">
- <smallScreen :sData="item" :sType="2">扫码</smallScreen>
- </view>
- <!-- 如果不是静配,药配,标本配送,标本轮巡,万能交接 -->
- <view class="page_item_btn_wrap" v-if="
- selectedLabelSlots == '执行中' &&
- item.taskType.associationType.value != 'jPBag' &&
- item.taskType.associationType.value != 'drugsBag' &&
- item.taskType.associationType.value != 'specimen' &&
- item.taskType.associationType.value != 'specimenPlan' &&
- item.taskType.associationType.value != 'ordinary'
- ">
- <view v-if="!(item.taskType.associationType.value == 'other' && (item.gdState.value == 4 && item.taskType.carryingCourses[0].actionsSwitch || item.gdState.value == 5 && item.taskType.carryingCourses[1].actionsSwitch))" class="page_item_btn" hover-class="seimin-btn-hover">
- <smallScreen :sData="item" :sType="1">扫码</smallScreen>
- </view>
- <!-- 其他临床服务-完成工单-待到达 -->
- <view v-if="item.taskType.associationType.value == 'other' && item.gdState.value == 4 && item.taskType.carryingCourses[0].actionsSwitch" class="page_item_btn" @click="otherCompleteOrder(item)" hover-class="seimin-btn-hover">确认到达</view>
- <!-- 其他临床服务-完成工单-待送达 -->
- <view v-if="item.taskType.associationType.value == 'other' && item.gdState.value == 5 && item.taskType.carryingCourses[1].actionsSwitch" class="page_item_btn" @click="otherCompleteOrder(item)" hover-class="seimin-btn-hover">完成工单</view>
- <!-- 其他临床服务-拍照 -->
- <view v-if="item.taskType.associationType.value == 'other' && item.gdState.value == 4 && item.taskType.carryingCourses[0].photoSwitch" class="page_item_btn" @click="photographToOther(item, 'start')" hover-class="seimin-btn-hover">拍照</view>
- <view v-if="item.taskType.associationType.value != 'other' && item.gdState.value == 4" class="page_item_btn" @click="photograph(item)" hover-class="seimin-btn-hover">拍照</view>
- <!-- 其他临床服务-追加 -->
- <view v-if="item.taskType.associationType.value == 'other' && item.worker && item.worker.id && clinicalMultiplayerMode === 1 && showAppendUser === 1 && item.clinicalTaskIdsFlag && !item.copyBy" class="page_item_btn" @click="additionalUser(item)" hover-class="seimin-btn-hover">追加</view>
- </view>
- <view class="page_item_btn" v-if="selectedLabelSlots == '待接单'" @click="showAlerts(item)" hover-class="seimin-btn-hover">接单</view>
- </view>
- <view class="L-l"></view>
- <view class="R-l"></view>
- </view>
- </scroll-view>
- </view>
- <!-- 底部扫一扫 -->
- <view class="bigScreenWrap">
- <bigScreen ref="bigscreen"></bigScreen>
- <view class="more" v-if="arrayBigScreen.length"></view>
- <picker class="more_picker" @click.stop @change="execFilterBigScreen($event)" :value="indexBigScreen"
- :range="arrayBigScreen" range-key="name" v-if="arrayBigScreen.length">
- <view class="uni-input">{{ arrayBigScreen[indexBigScreen].name }}</view>
- </picker>
- </view>
- <!-- 悬浮按钮 -->
- <uni-fab :pattern="pattern" :content="content" :direction="direction" @trigger="trigger"></uni-fab>
- <!-- 弹窗 -->
- <showModel :title="models.title" :icon="models.icon" :disjunctor="models.disjunctor" :content="models.content"
- @ok="ok" @cancel="cancel" @know="know" :operate="models.operate"></showModel>
- <!-- 我的二维码-弹窗 -->
- <showMyQrcode v-if="showMyQrcodeModel.disjunctor" :disjunctor="showMyQrcodeModel.disjunctor" @know="closeMyQrcodeModel"></showMyQrcode>
- <!-- 科室二维码-弹窗 -->
- <showDepartmentQrcode v-if="showDepartmentQrcodeModel.disjunctor" :disjunctor="showDepartmentQrcodeModel.disjunctor" @know="closeDepartmentQrcodeModel"></showDepartmentQrcode>
- <!-- 手动查询标本弹窗 -->
- <handViewSpecimen v-if="speModels.disjunctor" :title="speModels.title" :disjunctor="speModels.disjunctor"
- @ok="speOk" @cancel="speCancel">
- </handViewSpecimen>
- <!-- 手动查询药品弹窗 -->
- <handViewDrugsBag v-if="drugbagModels.disjunctor" :title="drugbagModels.title"
- :disjunctor="drugbagModels.disjunctor" @ok="drugbagOk" @cancel="drugbagCancel">
- </handViewDrugsBag>
- <!-- 填写交接人账号弹窗 -->
- <selectAccount v-if="hosModels.disjunctor" :title="hosModels.title" :disjunctor="hosModels.disjunctor" @ok="hosOk"
- @cancel="hosCancel">
- </selectAccount>
- <!-- 手动查询弹窗 -->
- <checkboxModal v-if="checkboxModels.disjunctor" :content="checkboxModels.content" :disjunctor="checkboxModels.disjunctor"
- @ok="checkboxOk" @cancel="checkboxCancel">
- </checkboxModal>
- <!-- 执行中筛选 -->
- <view class="execFilterMask" v-if="isShowExecFilter" @click="isShowExecFilter = false">
- <view class="execFilter" @click.stop>
- <view class="execFilterHeader">
- 全部筛选
- </view>
- <view class="execFilterBody">
- <view class="execFilterItem">
- <view class="execFilterItemHeader">
- 工单状态
- </view>
- <view class="execFilterItemBody">
- <view class="execFilterItemBox" @click="currentId = item.id" :class="{active: item.id == currentId}" v-for="item in array" :key="item.id">
- {{item.name}}
- </view>
- </view>
- </view>
-
- <view class="execFilterItem">
- <view class="execFilterItemHeader">
- 申请科室
- </view>
- <view class="execFilterItemBody">
- <input class="deptName" v-model.trim="deptName" placeholder="请输入科室名称" placeholder-style="color:#cecece" />
- </view>
- </view>
- </view>
-
- <view class="execFilterFooter">
- <view class="btn" @click="execFilterReset()">重置</view>
- <view class="btn" @click="execFilterOk()">完成</view>
- </view>
- </view>
- </view>
- </view>
- </template>
- <script>
- import selectAccount from "../../components/selectAccount/selectAccount.vue";
- import smallScreen from "../../components/smallScreen/smallScreen.vue";
- import showModel from "../../components/showModel/showModel.vue";
- import bigScreen from "../../components/bigScreen/bigScreen.vue";
- // https://ext.dcloud.net.cn/plugin?id=144
- import uniFab from "@/components/uni-fab/uni-fab.vue";
- import {
- get,
- post,
- SM,
- deleteIt,
- webHandle
- } from "../../http/http.js";
- import {
- photographTool,
- pathUrl
- } from "../../tools/photograph.js";
- export default {
- data() {
- return {
- isShowExecFilter: false,
- deptName: '',
- currentId: 0,
- otherAssociationTypeId: null,
- hosId: uni.getStorageSync('userData').user.currentHospital.id,
- clinicalMultiplayerMode: 0,
- showAppendUser: 0,
- clinicalTaskIds: [],
- other: {
- user: {},
- data: {},
- },
- // 手动查询弹窗model
- checkboxModels: {
- disjunctor: false,
- },
- // 填写交接人账号弹窗model
- hosModels: {
- disjunctor: false,
- },
- currentCode: '', //当前拍照使用的科室二维码
- currentData: {}, //当前小扫描的工单对象
- // 弹窗model
- showMyQrcodeModel: {
- disjunctor: false,
- },
- // 弹窗model
- showDepartmentQrcodeModel: {
- disjunctor: false,
- },
- SMFlag: true,
- // 手动查询标本弹窗model
- speModels: {
- disjunctor: false,
- },
- // 手动查询药品弹窗model
- drugbagModels: {
- disjunctor: false,
- },
- // 筛选条件
- array: [{
- id: 0,
- name: "全部",
- },
- {
- id: 71,
- name: "待到达",
- },
- {
- id: 72,
- name: "待送达",
- },
- {
- id: 75,
- name: "执行中",
- },
- ],
- // 筛选条件
- arrayBigScreen: [],
- index: 0,
- indexBigScreen: 0,
- arrayKey: 0,
- arrayKeyBigScreen: 0,
- // 当前登录人是否是药房角色
- pharmacistFlag: false,
- // 抢单的id
- qdId: "",
- // 弹窗model
- models: {
- disjunctor: false,
- },
- // 悬浮按钮样式
- pattern: {
- buttonColor: "#6cc076",
- },
- // 悬浮按钮展开菜单显示方式
- direction: "vertical",
- // 悬浮按钮展开菜单内容配置项
- content: [{
- text: "我的任务",
- }, ],
- // 当前选中tab页名称
- selectedLabelSlots: "待接单",
- // tab页信息
- tabs: [{
- label: "待接单", //tab页名称
- value: "1", //值
- num: 0, //数量
- },
- {
- label: "执行中",
- value: "2",
- num: 0,
- },
- ],
- //列表数据
- zxzData: [],
- //分页页码
- idx: 0,
- // 列表项总数
- totalNum: -1,
- triggered: false, //下拉刷新状态
- freshing: false, //上拉加载开关
- scroll_top: 0, //距离顶部的距离
- scroll_refresher_enabled: true, //是否开启自定义下拉刷新
- };
- },
- filters: {
- // 自定义管道 yyTime
- yyTimeFilter: function(data) {
- if (data) {
- let nDate = null;
- if (typeof data == 'string') {
- let arr = data.split(/[-:\s]/);
- nDate = new Date(
- arr[0] - 0,
- arr[1] - 1,
- arr[2] - 0,
- arr[3] - 0,
- arr[4] - 0,
- 0
- );
- } else if (typeof data == 'number') {
- nDate = new Date(data);
- }
- const month = (nDate.getMonth() + 1).toString().padStart(2, 0);
- const date = nDate.getDate().toString().padStart(2, 0);
- const hour = nDate.getHours().toString().padStart(2, 0);
- const minute = nDate.getMinutes().toString().padStart(2, 0);
- return `${month}-${date} ${hour}:${minute}`;
- } else {
- return "-";
- }
- },
- },
- components: {
- uniFab,
- showModel,
- bigScreen,
- selectAccount,
- },
- methods: {
- async initList(){
- uni.showLoading({
- title: "加载中",
- mask: true,
- });
- //获取其他临床服务业务类型
- let res = await this.getOtherAssociationTypes();
- let otherAssociationType = res.find(v => v.value === 'other');
- this.otherAssociationTypeId = otherAssociationType ? otherAssociationType.id : null;
- if(this.otherAssociationTypeId){
- // 获取临床服务页面控制开关
- let result = await this.getTaskOtherConfig();
- if (result.status == 200) {
- if(result.list && result.list[0]){
- this.clinicalMultiplayerMode = result.list[0].clinicalMultiplayerMode;
- this.showAppendUser = result.list[0].showAppendUser;
- this.clinicalTaskIds = result.list[0].clinicalTaskIds ? result.list[0].clinicalTaskIds.split(',') : [] ;
- }else{
- this.clinicalMultiplayerMode = 0;
- this.showAppendUser = 0;
- }
- } else {
- this.clinicalMultiplayerMode = 0;
- this.showAppendUser = 0;
- }
- }else{
- uni.showToast({
- icon: 'none',
- title: '未设置其他临床服务业务类型!'
- })
- }
-
- this.waitingOrdersGetNum();
- this.executingOrders(0);
- },
- //获取其他临床服务业务类型
- getOtherAssociationTypes(){
- return post('/common/common/getDictionary', {
- "type": "list",
- "key": "association_types"
- });
- },
- // 获取临床服务页面控制开关
- getTaskOtherConfig(){
- return post("/simple/data/fetchDataList/taskTypeConfig", {
- "idx": 0,
- "sum": 10,
- "taskTypeConfig": {
- "hosId": this.hosId,
- "associationType": this.otherAssociationTypeId,
- }
- });
- },
- // 手动查询-确认
- checkboxOk(bulkCopy) {
- console.log(bulkCopy);
- this.checkboxModels.disjunctor = false;
- let { user, data } = this.other;
- this.additionalUserCommon(user, data.id, data.worker.id, bulkCopy);
- },
- // 手动查询-取消
- checkboxCancel() {
- this.checkboxModels.disjunctor = false;
- },
- // 手动查询弹窗
- showCheckboxModal(user, data) {
- this.other = {
- user,
- data,
- };
- this.checkboxModels = {
- content: `您要最追加的人员为${user.name},您确认要追加吗?`,
- disjunctor: true,
- }
- },
- // 追加陪检人/执行人按钮
- additionalUser(data) {
- if (!this.SMFlag) {
- return;
- }
- this.SMFlag = false;
- console.log(data, 'data');
- SM().then((ress1) => {
- uni.showLoading({
- title: "加载中",
- mask: true,
- });
- //检验二维码的有效性
- post("/dept/scanning", {
- content: ress1,
- taskTypeId: data.taskType.id,
- gdState: data.gdState.id,
- }).then((result) => {
- this.SMFlag = true;
- // this.currentCode = result.code;
- if (result.state == 200 || result.state == 201) {
- console.log(result);
- let user;
- try{
- // json对象字符串
- user = JSON.parse(result.code);
- // 不是json对象字符串
- if(Object.prototype.toString.call(user).slice(8, -1).toLowerCase() !== 'object'){
- user = result.code;
- }
- }catch(e){
- user = result.code;
- }
- if(Object.prototype.toString.call(user).slice(8, -1).toLowerCase() === 'object' && user.type == 'myQrCode' && user.id && user.name){
- user.qrcode = ress1;
- uni.hideLoading();
- if(data.taskType.associationType.value == 'other'){
- this.showCheckboxModal(user, data);
- }else{
- uni.showModal({
- title: "提示",
- content: `您要最追加的人员为${user.name},您确认要追加吗?`,
- success: (res) => {
- if (res.confirm) {
- console.log("用户点击确定");
- this.additionalUserCommon(user, data.id, data.worker.id, false);
- } else if (res.cancel) {
- console.log("用户点击取消");
- }
- },
- });
- }
- }else if(Object.prototype.toString.call(user).slice(8, -1).toLowerCase() === 'string'){
- let identityCardNumber = user;
- // 根据身份证获取name
- // todo
- post("/data/fetchDataList/user", {idx: 0, sum: 1, user: { identityCardNumber }}).then((result) => {
- uni.hideLoading();
- if(result.status == 200){
- result.list = result.list || [];
- if(result.list.length){
- let user = {name: result.list[0].name, identityCardNumber, qrcode: ress1};
- if(data.taskType.associationType.value == 'other'){
- this.showCheckboxModal(user, data);
- }else{
- uni.showModal({
- title: "提示",
- content: `您要最追加的人员为${user.name},您确认要追加吗?`,
- success: (res) => {
- if (res.confirm) {
- console.log("用户点击确定");
- this.additionalUserCommon(user, data.id, data.worker.id, false);
- } else if (res.cancel) {
- console.log("用户点击取消");
- }
- },
- });
- }
- }else{
- uni.navigateTo({
- url: `../result_error/result_error?qrcode=${ress1}&msg=扫描二维码无法找到用户!`,
- });
- }
- }else{
- uni.navigateTo({
- url: `../result_error/result_error?qrcode=${ress1}&msg=请扫描正确的二维码!`,
- });
- }
- })
- }else{
- uni.hideLoading();
- uni.navigateTo({
- url: `../result_error/result_error?qrcode=${ress1}&msg=请扫描正确的二维码!`,
- });
- }
- } else {
- uni.hideLoading();
- uni.navigateTo({
- url: `../result_error/result_error?qrcode=${ress1}&msg=${result.info || '接口获取数据失败!'}`,
- });
- }
- });
- }).catch(err=>{
- this.SMFlag = true;
- });
- },
- // 追加陪检人/执行人
- additionalUserCommon(user, gdId, workerId, bulkCopy) {
- console.log(user, gdId, workerId, bulkCopy);
- uni.showLoading({
- title: "加载中",
- mask: true,
- });
- // 二维码里有id则传userid,没有则传identityCardNumber
- post("/workerOrder/additionalAccompanyingPersonnel", {
- userId: user.id || undefined,
- identityCardNumber: !user.id ? user.identityCardNumber : undefined,
- gdId,
- workerId,
- bulkCopy: bulkCopy ? 1 : undefined,
- }).then((result) => {
- uni.hideLoading();
- if (result.state == 200) {
- uni.showToast({
- icon: 'none',
- duration: 4000,
- title: '操作成功!'
- })
- uni.redirectTo({
- url: `../receiptpage/receiptpage`,
- });
- } else {
- uni.navigateTo({
- url: `../result_error/result_error?qrcode=${user.qrcode}&msg=${result.msg || '接口获取数据失败!'}`,
- });
- }
- });
- },
- // 前往其他临床服务完成工单确认页面
- otherCompleteOrder(data){
- console.log(data);
- uni.navigateTo({
- url: `../otherCompleteOrder/otherCompleteOrder?orderId=${data.id}&taskType=${data.taskType ? encodeURIComponent(JSON.stringify(data.taskType)) : ''}&order=${data ? encodeURIComponent(JSON.stringify(data)) : ''}`,
- });
- },
- // 手动查询药品-确认
- drugbagOk(data) {
- console.log(data);
- if (!data.id) {
- //没有查询到药品
- uni.showModal({
- title: '提示',
- content: "没有查询到发药单号!",
- showCancel: false,
- success: function(res) {
- if (res.confirm) {
- console.log('用户点击确定');
- } else if (res.cancel) {
- console.log('用户点击取消');
- }
- }
- });
- return;
- }
- this.drugbagModels.disjunctor = false;
- uni.navigateTo({
- url: `/pages/scanning_drug/scanning_drug?drugsBagId=${data.id}`,
- });
- },
- // 手动查询药品-取消
- drugbagCancel() {
- this.drugbagModels.disjunctor = false;
- },
- // 手动查询药品弹窗
- showHandViewDrugsbag() {
- console.log(1)
- this.drugbagModels = {
- title: '填写发药单号',
- disjunctor: true,
- }
- },
- // 手动查询标本-确认
- speOk(data) {
- console.log(data);
- if (!data.id) {
- //没有查询到标本
- uni.showModal({
- title: '提示',
- content: "没有查询到标本!",
- showCancel: false,
- success: function(res) {
- if (res.confirm) {
- console.log('用户点击确定');
- } else if (res.cancel) {
- console.log('用户点击取消');
- }
- }
- });
- return;
- }
- this.speModels.disjunctor = false;
- let infoDATA = {
- stype: data.stype,
- scode: data.scode,
- patientName: data.patientName,
- sickRoom: data.sickRoom ?
- data.sickRoom.dept : "-",
- checkDept: data.checkDept ?
- data.checkDept.dept : "-",
- bedNum: data.bedNum,
- };
- uni.navigateTo({
- url: `../scanning_B/scanning_B?res=${encodeURIComponent(
- JSON.stringify({data,status:666,scanCodeSpecimenOrderSign:data.scanCodeSpecimenOrderSign,workOrder:data.workOrderDTO})
- )}&infoDATA=${encodeURIComponent(
- JSON.stringify(infoDATA)
- )}`,
- });
- },
- // 手动查询标本-取消
- speCancel() {
- this.speModels.disjunctor = false;
- },
- // 手动查询标本弹窗
- showHandViewSpecimen() {
- this.speModels = {
- title: '填写标本编码',
- disjunctor: true,
- }
- },
- // 执行中筛选
- // execFilter({
- // detail: {
- // value
- // }
- // }) {
- // this.index = value;
- // this.arrayKey = this.array[value].id;
- // this.zxzData = [];
- // this.totalNum = -1;
- // this.idx = 0;
- // this.selectedLabelSlots = "执行中";
- // this.executingOrders(0);
- // },
- // 执行中筛选
- execFilter() {
- this.isShowExecFilter = true;
- },
- // 执行中确定
- execFilterOk() {
- this.isShowExecFilter = false;
- this.zxzData = [];
- this.totalNum = -1;
- this.idx = 0;
- this.selectedLabelSlots = "执行中";
- this.executingOrders(0);
- },
- // 执行中重置
- execFilterReset() {
- this.currentId = 0;
- this.deptName = '';
- },
- // 大扫描筛选
- execFilterBigScreen({
- detail: {
- value
- }
- }) {
- this.indexBigScreen = value;
- this.arrayKeyBigScreen = this.arrayBigScreen[value].id;
- console.log(this.arrayKeyBigScreen);
- console.log(this.$refs.bigscreen);
- this.$refs.bigscreen.Scanning(this.arrayKeyBigScreen);
- },
- // 获取科室二维码设置开关
- getMenu() {
- let menu = uni.getStorageSync("userData").menu;
- //判断当前登陆人具体角色 start
- let roles = uni.getStorageSync("userData").user.role;
- this.pharmacistFlag = roles.some(
- (item) => item.rolecode === "pharmacist"
- );
- //判断当前登陆人具体角色 end
- console.log(menu);
- this.arrayBigScreen = [];
- menu.forEach((item) => {
- if (item.link === "wxInspect") {
- this.content.push({
- text: "检查信息",
- });
- } else if (item.link === "wxPatient") {
- this.content.push({
- text: "患者信息",
- });
- } else if (item.link === "wxPharmacy") {
- // 如果是配药师人员,则增加药房
- if (this.pharmacistFlag) {
- this.content.push({
- text: "药房",
- });
- }
- } else if (item.link === "wxCode") {
- this.content.push({
- text: "二维码设置",
- });
- } else if (item.link === "wxSpecimenEntry") {
- this.content.push({
- text: "标本录入",
- });
- } else if (item.link === "wxDrugsbagEntry") {
- this.content.push({
- text: "药品录入",
- });
- } else if (item.link === "wxTakeMedicine") {
- this.content.push({
- text: "摆药取药",
- });
- } else if (item.link === "myQrcode") {
- this.content.push({
- text: "我的二维码",
- });
- } else if (item.link === "departmentQrcode") {
- this.content.push({
- text: "科室二维码",
- });
- } else if (item.link === "formManagementWechat") {
- this.content.push({
- text: "查看表单",
- });
- } else if (item.link === "BIAOBEN") {
- this.arrayBigScreen.push({
- id: 'BIAOBEN|$|',
- name: "标本",
- });
- } else if (item.link === "YAOPING") {
- this.arrayBigScreen.push({
- id: 'YAOPING|$|',
- name: "药品",
- });
- } else if (item.link === "HUANZHE") {
- this.arrayBigScreen.push({
- id: 'HUANZHE|$|',
- name: "患者",
- });
- } else if (item.link === "XIEZHIPING") {
- this.arrayBigScreen.push({
- id: 'XIEZHIPING|$|',
- name: "血制品",
- });
- } else if (item.link === "KJJD") {
- this.arrayBigScreen.push({
- id: 'KJJD|$|',
- name: "快捷建单",
- });
- } else if (item.link === "kuaijiejiedan") {
- this.arrayBigScreen.push({
- id: 'kuaijiejiedan|$|',
- name: "快捷接单",
- });
- } else if (item.link === "quickOrderAcceptanceWx") {
- this.content.push({
- text: "快捷接单",
- });
- }
- });
- },
- // 拍照
- photograph(data) {
- photographTool(data);
- },
- // 如果不是静配,药配,标本配送,标本轮巡
- // 科室签到(小扫描)-拍照
- nextDeptOrder_ss(data, accountObj) {
- console.log(this.currentCode);
- let isKs = 0;
- let ids = [];
- let id = data.id;
- ids.push(id);
- let list = {
- code: "",
- ids: ids,
- };
- let code = "";
- let type = "";
- if (this.currentCode) {
- let gdStateValue = data.gdState.value; //工单状态value
- let associationTypeValue = data.taskType.associationType.value; //关联类型value
-
- // 其他临床服务,并且工单状态是待到达||工单状态待送达
- if (
- (associationTypeValue == "other" &&
- gdStateValue == "4") ||
- gdStateValue == "5"
- ) {
- code = this.currentCode;
- type = "orderSign/" + code;
- list = {
- ids
- };
- if (accountObj) {
- list.handover = [accountObj.accountId];
- }
- isKs = 1;
- }
- uni.showLoading({
- title: "加载中",
- mask: true,
- });
- post("/workerOrder/" + type, list).then((res) => {
- uni.hideLoading();
- if (res) {
- if (res.status == 200) {
- if (
- gdStateValue == "4" &&
- associationTypeValue == "other"
- ) {
- uni.navigateTo({
- url: `../../pages/scanning_code/scanning_code?type=${associationTypeValue}&type1=${res.type}&id=${data.id}&deptCode=${code}&dept=${res.dept}&accountObj=${encodeURIComponent(JSON.stringify(accountObj))}`,
- });
- }
- if (gdStateValue == "5") {
- uni.navigateTo({
- url: `../../pages/scanning_code/scanning_code?type=${associationTypeValue}&type1=${res.type}&id=${data.id}&deptCode=${code}&dept=${res.dept}&accountObj=${encodeURIComponent(JSON.stringify(accountObj))}`,
- });
- }
- } else {
- uni.navigateTo({
- url: `../../pages/scanning_Result/scanning_Result?type=${
- associationTypeValue
- }&type1=${res.type}&id=${data.id}&status=600&msg=${
- res.msg
- }&isKs=${isKs}&model=${encodeURIComponent(
- JSON.stringify(res)
- )}&qrcode=${this.currentCode}`,
- });
- }
- } else {
- uni.navigateTo({
- url: `../../pages/scanning_Result/scanning_Result?id=${data.id}&status=600&msg=扫码失败!请扫描正确的二维码!&isKs=${isKs}&qrcode=${this.currentCode}`,
- });
- }
- });
- }
- },
- // 填写交接人账号-确认
- hosOk(data) {
- console.log(data);
- const {
- accountName,
- account,
- accountId
- } = data;
- if (!accountName && !account) {
- //没有填写交接人
- uni.showModal({
- title: '提示',
- content: "请填写交接人账号!",
- showCancel: false,
- success: function(res) {
- if (res.confirm) {
- console.log('用户点击确定');
- } else if (res.cancel) {
- console.log('用户点击取消');
- }
- }
- });
- return;
- } else if (!accountName && account || accountName && !account) {
- //没有填写交接人
- uni.showModal({
- title: '提示',
- content: "请填写正确的交接人账号!",
- showCancel: false,
- success: function(res) {
- if (res.confirm) {
- console.log('用户点击确定');
- } else if (res.cancel) {
- console.log('用户点击取消');
- }
- }
- });
- return;
- }
- this.hosModels.disjunctor = false;
- let associationTypeValue = this.currentData.taskType.associationType.value;
- console.log(associationTypeValue)
- this.uploadToOther(this.currentData, data, 'start');
- },
- // 填写交接人账号-取消
- hosCancel() {
- this.hosModels.disjunctor = false;
- },
- // 填写交接人账号弹窗
- showSelectAccount() {
- this.hosModels = {
- title: '填写交接人账号',
- disjunctor: true,
- }
- },
- // 拍照-上传
- uploadToOther(data, accountObj, type){
- // 其他临床服务拍照签到
- console.log(data, 1111);
- let id_seimin;
- let asTypeValue_seimin;
- let gdStateValue_seimin;
- if (data.status != 200 && data.status !== undefined) {
- id_seimin = data.id;
- asTypeValue_seimin = data.type;
- gdStateValue_seimin = JSON.parse(data.model).gdstate2; //type改成gdstate
- } else {
- id_seimin = data.id;
- asTypeValue_seimin = data.taskType.associationType.value;
- gdStateValue_seimin = data.gdState.value;
- }
- //#ifdef H5
- uni.chooseImage({
- count: 1,
- sourceType: ['camera'],
- success: (chooseImageRes) => {
- console.log(chooseImageRes, pathUrl)
- const tempFilePaths = chooseImageRes.tempFilePaths;
- const tempFiles = chooseImageRes.tempFiles;
- let tp = tempFilePaths[0];
- uni.showLoading({
- mask: true,
- title: '加载中'
- });
- post('/workerOrder/findRecordInfoByOrderId', {
- orderId: id_seimin,
- gdOperate: 21,
- }).then(result => {
- console.log(result)
- if (result.state == 200) {
- uni.getImageInfo({
- src: tp,
- success: (res) => {
- console.log('压缩前', res)
- let canvasWidth = res.width //图片原始长宽
- let canvasHeight = res.height
- let img = new Image()
- img.src = res.path
- let canvas = document.createElement('canvas');
- let ctx = canvas.getContext('2d')
- canvas.width = canvasWidth
- canvas.height = canvasHeight
- ctx.drawImage(img, 0, 0, canvasWidth, canvasHeight)
- canvas.toBlob((fileSrc) => {
- tp = window.URL.createObjectURL(fileSrc)
- console.log('压缩后', tp);
- uni.uploadFile({
- url: pathUrl + '/common/common/uploadAttachment/'+(type == 'start' ? 'orderStartPhoto' : 'orderEndPhoto')+'/' + id_seimin + '/' + result.recordId,
- filePath: tp,
- name: 'file',
- formData: {
- 'filename': tempFiles[0].name ? tempFiles[0].name.split('.')[0] + '.jpg' : tempFiles[
- 0].path.split(
- /[\\/]/).reverse()[0].split('.')[0] + '.jpg'
- },
- success: (uploadFileRes) => {
- console.log(uploadFileRes, 10086, asTypeValue_seimin);
- this.nextDeptOrder_ss(data, accountObj, type);
- },
- fail: err => {
- console.error(err);
- uni.hideLoading();
- uni.showToast({
- icon: 'none',
- title: '上传失败',
- duration: 2000
- });
- }
- });
- }, 'image/jpeg', 0.3)
- },
- fail: function () {
- uni.hideLoading();
- uni.showToast({
- icon: 'none',
- title: '上传失败',
- duration: 2000
- });
- }
- })
- } else {
- uni.hideLoading();
- uni.showToast({
- icon: "none",
- title: result.msg || "接口获取数据失败!",
- });
- }
- })
- }
- });
- //#endif
- //#ifdef APP-PLUS
- uni.chooseImage({
- count: 1,
- sourceType: ['camera'],
- sizeType: ['compressed'],
- success: (chooseImageRes) => {
- console.log(chooseImageRes, pathUrl)
- const tempFilePaths = chooseImageRes.tempFilePaths;
- const tempFiles = chooseImageRes.tempFiles;
- let tp = tempFilePaths[0];
- uni.showLoading({
- mask: true,
- title: '加载中'
- });
- post('/workerOrder/findRecordInfoByOrderId', {
- orderId: id_seimin,
- gdOperate: 21,
- }).then(result => {
- console.log(result)
- if (result.state == 200) {
- uni.compressImage({
- src: tp,
- quality: 30,
- success: (res) => {
- console.log('压缩前', res)
- tp = res.tempFilePath;
- console.log('压缩后', tp);
- uni.uploadFile({
- url: pathUrl + '/common/common/uploadAttachment/'+(type == 'start' ? 'orderStartPhoto' : 'orderEndPhoto')+'/' + id_seimin + '/' + result.recordId,
- filePath: tp,
- name: 'file',
- formData: {
- 'filename': tempFiles[0].name ? tempFiles[0].name.split('.')[0] + '.jpg' : tempFiles[
- 0].path.split(
- /[\\/]/).reverse()[0].split('.')[0] + '.jpg'
- },
- success: (uploadFileRes) => {
- console.log(uploadFileRes, 10086, asTypeValue_seimin);
- this.nextDeptOrder_ss(data, accountObj, type);
- },
- fail: err => {
- console.error(err);
- uni.hideLoading();
- uni.showToast({
- icon: 'none',
- title: '上传失败',
- duration: 2000
- });
- }
- });
- },
- fail: function () {
- uni.hideLoading();
- uni.showToast({
- icon: 'none',
- title: '上传失败',
- duration: 2000
- });
- }
- })
- } else {
- uni.hideLoading();
- uni.showToast({
- icon: "none",
- title: result.msg || "接口获取数据失败!",
- });
- }
- })
- }
- });
- //#endif
- },
- // 拍照-其他
- async photographToOther(data, type) {
- this.currentData = data;
- uni.showLoading({
- title: "加载中",
- mask: true,
- });
- // 其他临床服务
- let result = await post("/dept/scanning", {
- content: type === 'start' ? data.startDept.qrcode : data.endDepts[0].qrcode,
- taskTypeId: data.taskType.id,
- gdState: data.gdState.id,
- });
- uni.hideLoading();
- this.currentCode = result.code;
- if (result.state == 200 || result.state == 201) {
- uni.showModal({
- title: '提示',
- content: '请尽量拍摄角度覆盖清洁区域?',
- success: (res) => {
- if (res.confirm) {
- if (result.account) {
- this.uploadToOther(data, {
- account: result.account,
- accountName: result.name,
- accountId: result.id,
- }, type);
- } else {
- this.uploadToOther(data, undefined, type);
- }
- } else if (res.cancel) {
- console.log('用户点击取消');
- }
- }
- });
- } else if (result.state == '0000') {
- this.showSelectAccount();
- } else {
- uni.showToast({
- icon: "none",
- title: result.info || "接口获取数据失败!",
- });
- }
- },
- // 悬浮按钮点击事件
- trigger(e) {
- if (e.item.text === "我的任务") {
- uni.navigateTo({
- url: "../mypage/mypage",
- });
- } else if (e.item.text === "退出登录") {
- // 假登录
- uni.showToast({
- title: "退出成功!",
- });
- let ip = uni.getStorageSync("ip"); //记住域名或ip
- let username = uni.getStorageSync("username"); //记住用户名
- let password = uni.getStorageSync("password"); //记住密码
- let savePasswordTime = uni.getStorageSync("savePasswordTime"); //记住密码的时间戳
- let clientid = uni.getStorageSync("clientid");
- uni.clearStorageSync();
- if (username) {
- uni.setStorageSync("ip", ip); //记住域名或ip
- uni.setStorageSync("username", username); //记住用户名
- uni.setStorageSync("password", password); //记住密码
- uni.setStorageSync("savePasswordTime", savePasswordTime); //记住密码的时间戳
- }
- uni.setStorageSync("clientid", clientid);
- uni.navigateTo({
- url: "../homePage/homePage",
- });
- // 假登录
- deleteIt("/auth/logout2").then((result) => {
- if (result.status == 200) {
- uni.showToast({
- title: "退出成功!",
- });
- let ip = uni.getStorageSync("ip"); //记住域名或ip
- let username = uni.getStorageSync("username"); //记住用户名
- let password = uni.getStorageSync("password"); //记住密码
- let clientid = uni.getStorageSync("clientid");
- uni.clearStorageSync();
- uni.setStorageSync("ip", ip); //记住域名或ip
- uni.setStorageSync("username", username); //记住用户名
- uni.setStorageSync("password", password); //记住密码
- uni.setStorageSync("clientid", clientid);
- uni.navigateTo({
- url: "../homePage/homePage",
- });
- } else {
- uni.showToast({
- icon: "none",
- title: result.msg || "接口获取数据失败!",
- });
- }
- });
- } else if (e.item.text === "药房") {
- uni.navigateTo({
- url: "../pharmacy/pharmacy",
- });
- } else if (e.item.text === "患者信息") {
- uni.navigateTo({
- url: "../patientInformationList/patientInformationList",
- });
- } else if (e.item.text === "负责科室") {
- if (uni.getStorageSync("setDepts")) {
- uni.removeStorageSync("setDepts"); //清空选择的科室,初始化
- }
- let obj = uni.getStorageSync("setDeptConfg");
- uni.navigateTo({
- url: `../setDept/setDept?configName=${obj.configName}&id=${obj.id}&changedept=1`,
- });
- } else if (e.item.text === "检查信息") {
- uni.navigateTo({
- url: "../inspectList/inspectList",
- });
- } else if (e.item.text === "二维码设置") {
- uni.navigateTo({
- url: "../settingCode/settingCode",
- });
- } else if (e.item.text === "标本录入") {
- this.showHandViewSpecimen();
- } else if (e.item.text === "药品录入") {
- this.showHandViewDrugsbag();
- } else if (e.item.text === "摆药取药") {
- this.handleTakeMedicine()
- } else if (e.item.text === "我的二维码") {
- this.myQrcodeHandler()
- } else if (e.item.text === "科室二维码") {
- this.departmentQrcodeHandler()
- } else if (e.item.text === "查看表单") {
- uni.navigateTo({
- url: "../formManagementWechat/formManagementWechat",
- });
- } else if (e.item.text === "快捷接单") {
- uni.navigateTo({
- url: "../quickOrderAcceptanceWx/quickOrderAcceptanceWx",
- });
- }
- },
- // 我的二维码
- myQrcodeHandler(){
- this.showMyQrcodeModel = {
- disjunctor: true,
- };
- },
- closeMyQrcodeModel(){
- this.showMyQrcodeModel.disjunctor = false;
- },
- // 科室二维码
- departmentQrcodeHandler(){
- this.showDepartmentQrcodeModel = {
- disjunctor: true,
- };
- },
- closeDepartmentQrcodeModel(){
- this.showDepartmentQrcodeModel.disjunctor = false;
- },
- // 摆药取药
- handleTakeMedicine() {
- if (!this.SMFlag) {
- return;
- }
- this.SMFlag = false;
- SM().then((content) => {
- uni.showLoading({
- title: "加载中",
- mask: true,
- });
- //检验二维码的有效性(扫码前必须验证)
- post("/dept/scanning", {
- content,
- })
- .then((result) => {
- this.currentCode = result.code;
- this.SMFlag = true;
- // 200检测通过,201没有有效期也通过。
- if (result.state == 200 || result.state == 201) {
- uni.hideLoading();
- uni.navigateTo({
- url: `../promptPage/promptPage?code=${result.code}`,
- });
- } else {
- uni.hideLoading();
- uni.showToast({
- icon: "none",
- title: result.info || "接口获取数据失败!",
- });
- }
- })
- }).catch(err => {
- this.SMFlag = true;
- });
- },
- // 点击tab页切换
- clickHandler(key) {
- this.selectedLabelSlots = key;
- this.idx = 0;
- this.totalNum = -1;
- // this.zxzData = [];
- this.scroll_top = Math.random(); //回到顶部
- if (key === "待接单") {
- this.waitingOrders(0);
- } else if (key === "执行中") {
- this.executingOrders(0);
- }
- },
- // 进入详情页
- itemInfo(workOrder) {
- console.log(workOrder);
- uni.navigateTo({
- url: `../receipt_infopage/receipt_infopage?id=${workOrder.id}&associationTypeValue=${workOrder.taskType.associationType.value}&associationTypeId=${workOrder.taskType.associationType.id}&taskTypeId=${workOrder.taskType.id}`,
- });
- },
- //抢单后知道了
- know() {
- this.models.disjunctor = false;
- this.idx = 0;
- this.totalNum = -1;
- // this.zxzData = [];
- this.executingOrdersGetNum();
- this.waitingOrders(0); //seimin
- this.scroll_top = Math.random(); //回到顶部
- },
- //抢单确定
- ok() {
- this.models.disjunctor = false;
- get("/workerOrder/takeOrder/" + this.qdId.id).then((res) => {
- let msg = "接单失败";
- let icon = "error";
- if (res.status == 200) {
- msg = "接单成功";
- icon = "success";
- }
- this.models = {
- disjunctor: true,
- content: msg,
- icon: icon,
- operate: {
- know: "知道了",
- },
- };
- });
- },
- //抢单取消
- cancel() {
- this.models.disjunctor = false;
- },
- // 抢单
- showAlerts(data) {
- this.qdId = data;
- this.models = {
- disjunctor: true,
- title: "提示",
- content: "是否确定接单?",
- icon: "warn",
- operate: {
- ok: "确定",
- cancel: "取消",
- },
- };
- },
- //执行中列表数据获取
- executingOrders(idx) {
- console.log(this.zxzData.length, this.totalNum);
- if (this.zxzData.length == this.totalNum) {
- uni.showToast({
- icon: "none",
- title: "没有更多数据了!",
- });
- this.freshing = true;
- return;
- }
- let data = {
- idx,
- sum: 20,
- };
-
- // if (this.arrayKey) {
- // data.keyWord = this.arrayKey;
- // } else {
- // delete data.keyWord;
- // }
- if (this.currentId) {
- data.keyWord = this.currentId;
- } else {
- delete data.keyWord;
- }
-
- if (this.deptName) {
- data.deptName = this.deptName;
- } else {
- delete data.deptName;
- }
-
- uni.showLoading({
- title: "加载中",
- mask: true,
- });
- post("/workerOrder/executingOrders", data).then((res) => {
- uni.hideLoading();
- if (res.status == 200) {
- this.triggered = false;
- this.freshing = true;
- this.totalNum = res.data.resultCount;
- res.data.data = res.data.data || [];
- res.data.data.forEach(v => {
- v.clinicalTaskIdsFlag = this.clinicalTaskIds.includes(v.taskType.id.toString());
- })
- if (idx === 0) {
- this.zxzData = res.data.data;
- } else {
- this.zxzData.push(...res.data.data);
- }
- this.tabs[1].num = res.data.resultCount;
- } else {
- uni.showToast({
- icon: "none",
- title: res.msg || "接口获取数据失败!",
- });
- }
- });
- },
- //待抢单列表数据获取
- waitingOrders(idx) {
- if (this.zxzData.length == this.totalNum) {
- uni.showToast({
- icon: "none",
- title: "没有更多数据了!",
- });
- this.freshing = true;
- return;
- }
- let data = {
- idx,
- sum: 20,
- };
- uni.showLoading({
- title: "加载中",
- mask: true,
- });
- // 请求列表数据
- post("/workerOrder/waitingOrders", data).then((res) => {
- uni.hideLoading();
- if (res.status == 200) {
- this.triggered = false;
- this.freshing = true;
- this.totalNum = res.data.resultCount;
- if (idx === 0) {
- this.zxzData = res.data.data;
- } else {
- this.zxzData.push(...res.data.data);
- }
- this.tabs[0].num = res.data.resultCount;
- } else {
- uni.showToast({
- icon: "none",
- title: res.msg || "接口获取数据失败!",
- });
- }
- });
- },
- //刷新
- refresherrefresh() {
- if (this.triggered) {
- return;
- }
- this.triggered = true;
- this.idx = 0;
- this.totalNum = -1;
- if (this.selectedLabelSlots == "待接单") {
- this.waitingOrders(0);
- } else if (this.selectedLabelSlots == "执行中") {
- this.executingOrders(0);
- }
- },
- // 滚动
- scroll(e) {
- if (e.detail.scrollTop < 20) {
- this.scroll_refresher_enabled = true;
- } else {
- this.scroll_refresher_enabled = false;
- }
- },
- // 下拉刷新复位
- refresherrestore() {
- this.triggered = false;
- console.log("下拉刷新复位");
- },
- //下拉刷新中止
- refresherabort() {
- this.triggered = false;
- console.log("下拉刷新中止");
- },
- //分页,上拉加载
- scrolltolower() {
- if (this.freshing) {
- this.freshing = false;
- if (this.selectedLabelSlots == "待接单") {
- this.waitingOrders(++this.idx);
- } else if (this.selectedLabelSlots == "执行中") {
- this.executingOrders(++this.idx);
- }
- }
- },
- // 执行中获取数字
- executingOrdersGetNum() {
- let data = {
- idx: 0,
- sum: 20,
- };
- if (this.arrayKey) {
- data.keyWord = this.arrayKey;
- } else {
- delete data.keyWord;
- }
- post("/workerOrder/executingOrders", data).then((res) => {
- if (res.status == 200) {
- this.tabs[1].num = res.data.resultCount;
- } else {
- uni.showToast({
- icon: "none",
- title: res.msg || "接口获取数据失败!",
- });
- }
- });
- },
- // 待接单获取数字
- waitingOrdersGetNum() {
- let data = {
- idx: 0,
- sum: 20,
- };
- post("/workerOrder/waitingOrders", data).then((res) => {
- if (res.status == 200) {
- this.tabs[0].num = res.data.resultCount;
- } else {
- uni.showToast({
- icon: "none",
- title: res.msg || "接口获取数据失败!",
- });
- }
- });
- },
- // 阻止浏览器滑动
- stop(e) {
- e.preventDefault();
- },
- // 更新用户所在科室
- updateUser(dept) {
- post("/user/data/bindDutyDept", {dutyDept: +dept.id}).then((res) => {
- if (res.status == 200) {
- this.getCurrentUserNow();
- }else{
- uni.showToast({
- icon: "none",
- title: res.msg || "接口获取数据失败!",
- });
- }
- })
- },
- // 重新获取用户信息
- getCurrentUserNow() {
- get("/user/data/getCurrentUser").then((res) => {
- if (res.status == 200) {
- let userData = uni.getStorageSync('userData');
- userData.user = res.data;
- uni.setStorageSync('userData', userData);
- // 显示科室二维码
- this.departmentQrcodeHandler()
- }else{
- uni.showToast({
- icon: "none",
- title: res.msg || "接口获取数据失败!",
- });
- }
- })
- },
- },
- onLoad(options) {
- console.log(options, 'options');
- // 获取菜单权限
- this.getMenu();
- post("/auth/getUserWorkDept", {}).then((ress) => {
- if (ress.status == 200) {
- let userId = uni.getStorageSync("userData").user.id;
- let groupManager = ress.settings && ress.settings.groupManager; //当前工作组合选择的组
- let workType = ress.settings ? ress.settings.workType : -1; //1是综合,2是自主
- let ruleType = ress.settings ? ress.settings.ruleType : -1; //3是科室绑定人员,4是科室绑定分组,2是绑定分组
- if (workType == 2 && (ruleType == 3 || (ruleType == 4 && userId == groupManager.manager))) {
- //自选排班,科室绑定分组,当前登陆人是组长
- this.content.unshift({
- text: "负责科室",
- });
- }
- }
- });
- // let setDeptConfg = uni.getStorageSync("setDeptConfg");
- // let manager = uni.getStorageSync("manager");
- // let userId = uni.getStorageSync("userData").user.id;
- // console.log(setDeptConfg, manager, userId);
- // if (
- // setDeptConfg.workSchemeType == 2 &&
- // (setDeptConfg.ruleType == 3 ||
- // (setDeptConfg.ruleType == 4 && userId == manager))
- // ) {
- // //自选排班,科室绑定人员 || 科室绑定分组 && 组长是当前登陆人
- // this.content.unshift({
- // text: "负责科室",
- // });
- // }
- // #ifdef APP-PLUS
- // this.content.push({
- // text: "退出登录",
- // });
- // #endif
- this.selectedLabelSlots = "执行中";
- this.initList();
-
- // 科室二维码切换科室回显
- if (options.showDepartmentQrcodeId && options.showDepartmentQrcodeDept) {
- this.updateUser({id: options.showDepartmentQrcodeId, dept: options.showDepartmentQrcodeDept})
- }
- // #ifdef APP-PLUS
- webHandle("no", "app");
- // #endif
- // #ifdef H5
- webHandle("no", "wx");
- // #endif
- },
- onShow() {
- this.SMFlag = true;
- // #ifdef H5
- document.body.addEventListener("touchmove", this.stop, {
- passive: false,
- });
- // #endif
- },
- onHide() {
- // #ifdef H5
- document.body.removeEventListener("touchmove", this.stop, {
- passive: false,
- });
- // #endif
- },
- };
- </script>
- <style lang="less">
- .Receiptpage {
- width: 100%;
- height: 100%;
- position: relative;
-
- .execFilterMask{
- position: fixed;
- top: 0;
- right: 0;
- bottom: 0;
- left: 0;
- z-index: 9999;
- background-color: rgba(0, 0, 0, 0.5);
- display: flex;
- flex-direction: column;
- justify-content: flex-end;
-
- .execFilter{
- position: relative;
- background-color: #fff;
- height: 90vh;
- border-radius: 100rpx 100rpx 0 0;
-
- .execFilterHeader{
- height: 100rpx;
- display: flex;
- justify-content: center;
- align-items: center;
- border-bottom: 2rpx solid #ccc;
- }
-
- .execFilterBody{
- .execFilterItem{
- padding: 40rpx;
- border-bottom: 2rpx dashed #ccc;
- &:last-of-type{
- border-bottom: none;
- }
- .execFilterItemHeader{}
- .execFilterItemBody{
- display: flex;
- flex-wrap: wrap;
- padding: 40rpx 0 0;
- justify-content: space-between;
- text-align: left;
-
- .execFilterItemBox{
- width: 200rpx;
- height: 80rpx;
- text-align: center;
- line-height: 80rpx;
- background-color: #f6f6f6;
- margin-bottom: 20rpx;
- border-radius: 80rpx;
- &.active{
- color: #fff;
- background-color: #49b856;
- }
- }
-
- .deptName {
- height: 80rpx;
- background-color: #f6f6f6;
- border-radius: 20rpx;
- padding: 0 20rpx;
- }
- }
- }
- }
-
- .execFilterFooter {
- position: absolute;
- bottom: 0;
- right: 0;
- left: 0;
- line-height: 66rpx;
- height: 100rpx;
- display: flex;
- justify-content: space-between;
-
- .btn {
- height: 66rpx;
- flex: 1;
- margin: 0 1%;
- background-image: linear-gradient(to right, #72c172, #3bb197);
- color: #fff;
- border-radius: 8rpx;
- font-size: 28rpx;
- margin-top: 16rpx;
- text-align: center;
- }
- }
- }
- }
-
- .more {
- position: absolute;
- right: 20rpx;
- width: 40rpx;
- height: 4rpx;
- border-top: 2px solid #49b856;
- border-bottom: 2px solid #49b856;
- background-color: #49b856;
- padding: 5px 0;
- background-clip: content-box;
- z-index: 9999;
- top: 50%;
- transform: translateY(-50%);
- }
-
- .more_picker {
- position: absolute;
- right: 0;
- height: 100%;
- opacity: 0;
- z-index: 9999;
- }
-
- .bigScreenWrap{
- position: fixed;
- left: 0;
- right: 0;
- bottom: 30rpx;
- z-index: 999;
- height: 88rpx;
- }
- .red {
- color: red !important;
- font-weight: bold !important;
- }
- .page_tab {
- width: 100%;
- height: 96rpx;
- display: flex;
- position: fixed;
- left: 0;
- top: 0;
- z-index: 999;
- .page_tab_bar {
- flex: 1;
- font-size: 36rpx;
- background: #fff;
- display: flex;
- justify-content: center;
- align-items: center;
- position: relative;
- &:after {
- content: "";
- position: absolute;
- left: 0;
- bottom: 0;
- height: 2rpx;
- width: 100%;
- background-color: transparent;
- }
- .tab_num {
- color: #ff3b53;
- margin-left: 8rpx;
- }
- &.active {
- color: #49b856;
- &:after {
- background-color: #49b856;
- }
- }
- }
- }
- .zwsj {
- position: absolute;
- left: 50%;
- top: 180rpx;
- transform: translateX(-50%);
- .zwsj-img {
- width: 560rpx;
- }
- .zwsj-txt {
- font-size: 36rpx;
- font-weight: 700;
- margin-top: 20rpx;
- text-align: center;
- }
- }
- .page_items {
- height: calc(100vh - 214rpx);
- padding: 0 20rpx;
- // padding-bottom: 88rpx;
- padding-top: 96rpx;
- .page_items_scroll {
- height: 100%;
- .page_item_wrap {
- position: relative;
- margin-bottom: 32rpx;
- .page_item {
- margin-bottom: 16rpx;
- // min-height: 356rpx;
- background: #fff;
- border-radius: 8rpx;
- overflow: hidden;
- border: 2rpx solid #e5e9ed;
- .L {
- width: 40rpx;
- height: 40rpx;
- border-radius: 50%;
- background: #f9fafb;
- position: absolute;
- left: -24rpx;
- top: 68rpx;
- border: 2rpx solid #e5e9ed;
- }
- .R {
- width: 40rpx;
- height: 40rpx;
- border-radius: 50%;
- background: #f9fafb;
- position: absolute;
- float: right;
- right: -24rpx;
- top: 68rpx;
- border: 2rpx solid #e5e9ed;
- }
- .starting {
- width: 40rpx;
- height: 40rpx;
- color: #fff;
- background: #49b856;
- display: inline-block;
- border-radius: 50%;
- text-align: center;
- line-height: 40rpx;
- font-size: 28rpx;
- }
- .End {
- width: 40rpx;
- height: 40rpx;
- color: #fff;
- background: #39b199;
- display: inline-block;
- border-radius: 50%;
- text-align: center;
- line-height: 40rpx;
- font-size: 28rpx;
- }
- .page_item_top {
- height: 86rpx;
- border-bottom: 2rpx dashed #e5e9ed;
- padding: 0 16rpx;
- .page_item_top_L {
- height: 100%;
- float: left;
- line-height: 88rpx;
- display: flex;
- align-items: center;
-
- .emergencys {
- background: #ff3b53 !important;
- width: 124rpx !important;
- }
-
- .emergency {
- background: #ff3b53 !important;
- }
-
- .emergency1 {
- background: #49b856 !important;
- }
-
- .page_item_cont_start {
- text-align: center;
- height: 44rpx;
- width: 104rpx;
- line-height: 44rpx;
- border-radius: 8rpx;
- background: #49b856;
- color: #fff;
-
- .page_item_cont_start-img {
- width: 22rpx;
- position: relative;
- top: 6rpx;
- margin-right: 8rpx;
- }
- }
- .L_iocn {
- display: inline-block;
- width: 44rpx;
- height: 44rpx;
- line-height: 42rpx;
- border-radius: 100rpx;
- color: #6cc076;
- font-size: 32rpx;
- border: 4rpx solid #6cc076;
- background: #f0f6ed;
- text-align: center;
- margin-right: 8rpx;
- }
- .L_time {
- color: #6cc076;
- font-size: 32rpx;
- }
- .L_text {
- font-size: 32rpx;
- }
- }
- .page_item_top_R {
- height: 100%;
- float: right;
- line-height: 88rpx;
- font-size: 32rpx;
- &.type {
- margin-right: 32rpx;
- color: red;
- max-width: 260rpx;
- white-space: nowrap;
- text-overflow: ellipsis;
- overflow: hidden;
- }
- .text_big{
- font-weight: bold;
- }
- }
- }
- .page_item_cont {
- min-height: 180rpx;
- padding: 0 16rpx;
- text-align: left;
- position: relative;
- display: flex;
- flex-direction: column;
- justify-content: space-between;
- .text_big {
- font-size: 32rpx;
- margin-left: 10rpx;
- font-weight: 700;
- }
- .line {
- height: 100%;
- width: 2rpx;
- border-left: 2rpx solid #e5e9ed;
- position: absolute;
- // top: 70rpx;
- top: 50%;
- left: 20rpx;
- transform: translateY(-50%);
- }
- .lines {
- height: 40%;
- width: 2rpx;
- border-left: 2rpx solid #e5e9ed;
- position: absolute;
- top: 23%;
- left: 36rpx;
- }
- .emergencys {
- background: #ff3b53 !important;
- width: 124rpx !important;
- }
- .emergency {
- background: #ff3b53 !important;
- }
- .emergency1 {
- background: #49b856 !important;
- }
- .page_item_cont_T {
- // min-height: 80rpx;
- // max-height: 324rpx;
- font-size: 28rpx;
- margin-top: 16rpx;
- display: flex;
- justify-content: space-between;
- .page_item_cont_title {
- height: 100%;
- // float: left;
- }
- .page_item_cont_start {
- text-align: center;
- // float: right;
- height: 44rpx;
- width: 104rpx;
- line-height: 44rpx;
- border-radius: 8rpx;
- background: #49b856;
- color: #fff;
- .page_item_cont_start-img {
- width: 22rpx;
- position: relative;
- top: 6rpx;
- margin-right: 8rpx;
- }
- }
- }
- .page_item_conts {
- min-height: 30rpx;
- color: rgb(102, 102, 102);
- padding-left: 50rpx;
- font-size: 28rpx;
- margin: 16rpx 0;
- position: relative;
- view:not(.line) {
- line-height: 1.2;
- }
- text {
- color: #49b856;
- }
- }
- .page_item_cont_B {
- // padding-top: 20rpx;
- font-size: 28rpx;
- // overflow: hidden;
- margin-bottom: 16rpx;
- .page_item_cont_title {
- height: 100%;
- float: left;
- }
- }
- }
- .page_item_btn_wrap {
- display: flex;
- justify-content: space-between;
- .page_item_btn {
- height: 88rpx;
- flex: 1;
- margin-left: 1%;
- margin-right: 1%;
- background-image: linear-gradient(to right, #72c172, #3bb197);
- border-radius: 8rpx;
- line-height: 88rpx;
- color: #fff;
- font-size: 36rpx;
- font-weight: 700;
- text-align: center;
- }
- }
- .page_item_btn {
- height: 88rpx;
- background-image: linear-gradient(to right, #72c172, #3bb197);
- border-radius: 8rpx;
- line-height: 88rpx;
- color: #fff;
- font-size: 36rpx;
- font-weight: 700;
- text-align: center;
- }
- }
- .L-l {
- width: 2rpx;
- height: 40rpx;
- background: #f9fafb;
- position: absolute;
- left: 20rpx;
- top: 72rpx;
- display: none;
- }
- .R-l {
- width: 2rpx;
- height: 40rpx;
- background: #f9fafb;
- position: absolute;
- right: 20rpx;
- top: 72rpx;
- display: none;
- }
- }
- }
- }
- .text {
- font-size: 36rpx;
- }
- .wt_icon {
- font-size: 40rpx;
- }
- }
- </style>
|