12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261 |
- <template>
- <view class="Receipt_infopage" v-if="Object.keys(infoDATA).length > 0">
- <view class="title">工单信息</view>
- <view class="page_item footerOtherMargin">
- <view class="page_item_top">
- <view class="page_item_top_L">
- <text class="L_text">单号:{{ infoDATA.gdcode }}</text>
- <view class="page_item_cont_start emergency1" v-if="infoDATA.emergencyType.value == 1">
- <text>
- <text class="cubeic-star newicon newicon-shiwujiaoxing"></text>
- {{ infoDATA.emergencyType.name }}
- </text>
- </view>
- <view class="page_item_cont_start emergency" v-if="infoDATA.emergencyType.value == 2">
- <text>
- <text class="cubeic-star newicon newicon-shiwujiaoxing"></text>
- {{ infoDATA.emergencyType.name }}
- </text>
- </view>
- <view class="page_item_cont_start emergencys" v-if="infoDATA.emergencyType.value == 3">
- <text>
- <text class="cubeic-star newicon newicon-shiwujiaoxing"></text>
- {{ infoDATA.emergencyType.name }}
- </text>
- </view>
- </view>
- <view class="page_item_top_R">
- <text class="L_iocn" v-if="
- !(
- infoDATA.gdState.value == 5 &&
- infoDATA.taskType.associationType.value == 'inspect'
- )
- ">{{ infoDATA.gdState.name }}</text>
- <text class="L_iocn" v-if="
- infoDATA.gdState.value == 5 &&
- infoDATA.taskType.associationType.value == 'inspect'
- ">待送回</text>
- </view>
- <view class="L"></view>
- <view class="R"></view>
- </view>
- <view class="page_item_cont">
- <view class="page_item_cont_T">
- <view class="page_item_cont_title">
- <text> <text class="starting">起</text> 点科室 </text>
- <text class="text_big">{{ infoDATA.startDept.dept }}</text>
- </view>
- </view>
- <view class="line"></view>
- <view class="page_item_cont_B">
- <view class="page_item_cont_title" v-for="(dept, index) of infoDATA.middleDept" :key="'ico' + index">
- <view v-if="infoDATA.taskType.associationType.value == 'inspect'">
- <text> <text class="End">检</text> 查科室 </text>
- <text class="text_big">{{ dept.dept }}</text>
- <view></view>
- </view>
- </view>
- <template v-if="infoDATA.taskType.associationType.value != 'inspect'">
- <view class="page_item_cont_title" v-for="(dept, i) of infoDATA.endDepts" :key="i">
- <view>
- <text> <text class="End">终</text> 点科室 </text>
- <text class="text_big">{{ dept.dept }}</text>
- </view>
- </view>
- </template>
- <view v-if="
- infoDATA.taskType.associationType.value == 'inspect' ||
- infoDATA.taskType.associationType.value == 'patientTransport'
- ">
- <!-- 待抢单 -->
- <text class="red" v-if="infoDATA.gdState.value == 2">请扫描患者腕带,或者请扫描科室码</text>
- <!-- 待到达 -->
- <text class="red" v-if="infoDATA.gdState.value == 4">请扫描患者腕带</text>
- <!-- 执行中 -->
- <text class="red" v-if="infoDATA.gdState.value == 8">请扫描检查科室码,并扫描患者腕带</text>
- <!-- 待送达 -->
- <text class="red" v-if="infoDATA.gdState.value == 5">请扫描终点科室码,并扫描患者腕带</text>
- </view>
- </view>
- </view>
- <view class="page_item_foot">
- <view class="page_item_foot_text">
- <text class="text1">状态</text>
- <text class="text2" v-if="
- !(
- infoDATA.gdState.value == 5 &&
- infoDATA.taskType.associationType.value == 'inspect'
- )
- ">{{ infoDATA.gdState.name }}</text>
- <text class="text2" v-if="
- infoDATA.gdState.value == 5 &&
- infoDATA.taskType.associationType.value == 'inspect'
- ">待送回</text>
- </view>
- <!-- <view class="page_item_foot_text">
- <text class="text1">关联类型</text>
- <text class="text2">{{ infoDATA.taskType.associationType.name }}</text>
- </view> -->
- <view class="page_item_foot_text">
- <text class="text1">任务类型</text>
- <text class="text2">{{ infoDATA.taskType.taskName }}<template
- v-if="infoDATA.goodsRemark">-{{infoDATA.goodsRemark}}</template></text>
- </view>
- <view class="page_item_foot_text" v-if="infoDATA.taskType.associationType.value==='inspect'">
- <text class="text1">是否半程陪检</text>
- <text class="text2">{{ infoDATA.isHalfInspect===1?'是':'否' }}</text>
- </view>
- <view class="page_item_foot_text">
- <text class="text1">执行人员</text>
- <text class="text2">{{ infoDATA.worker?infoDATA.worker.name:'-' }}</text>
- </view>
- <view class="page_item_foot_text" v-if="infoDATA.gdState.value == '2'">
- <text class="text1">预计响应时间</text>
- <text class="text2">{{ infoDATA.estimeResponseTime || '无' }}</text>
- </view>
- <view class="page_item_foot_text" v-if="infoDATA.gdState.value == '5'">
- <text class="text1" v-if="!(infoDATA.taskType.associationType.value == 'inspect')">预计送达时间</text>
- <text class="text1" v-if="infoDATA.taskType.associationType.value == 'inspect'">预计送回时间</text>
- <text class="text2">{{ infoDATA.estimeCompleteTime || '无' }}</text>
- </view>
- <view class="page_item_foot_text" v-if="infoDATA.gdState.value == '4'">
- <text class="text1">预计到达时间</text>
- <text class="text2">{{ infoDATA.estimateArriveTime || '无' }}</text>
- </view>
- <view class="page_item_foot_text">
- <text class="text1">创建时间</text>
- <text class="text2">{{ infoDATA.startTime || '无' }}</text>
- </view>
- <view class="page_item_foot_text" v-if="!(infoDATA.taskType.associationType.value == 'ordinary' && (infoDATA.taskType.ordinaryField.value == 'drugsJpbag' || infoDATA.taskType.ordinaryField.value == 'drugsWestern' || infoDATA.taskType.ordinaryField.value == 'drugsReturn' || infoDATA.taskType.ordinaryField.value == 'drugsPoison' || infoDATA.taskType.ordinaryField.value == 'drugsHerbal'))">
- <text class="text1">预约时间</text>
- <text class="text2" v-if="infoDATA.taskType.associationType.value == 'inspect'">{{ infoDATA.yyTime }}</text>
- <text class="text2"
- v-if="infoDATA.taskType.associationType.value == 'patientTransport' || infoDATA.taskType.associationType.value == 'other'">{{ infoDATA.yyjdTime|yyTimeFilter }}</text>
- </view>
- <view class="page_item_foot_text" v-if="
- infoDATA.taskType.associationType.value == 'inspect' ||
- infoDATA.taskType.associationType.value == 'patientTransport'
- ">
- <text class="text1" v-if="infoDATA.patient.residenceNo">床号</text>
- <text class="text2" v-if="infoDATA.patient.residenceNo">{{
- infoDATA.patient ? infoDATA.patient.bedNum : "-"
- }}</text>
- <text class="text1" v-if="!infoDATA.patient.residenceNo">身份证号</text>
- <text class="text2" v-if="!infoDATA.patient.residenceNo">{{
- infoDATA.patient ? infoDATA.patient.identityCardNo : "-"
- }}</text>
- </view>
- <view class="page_item_foot_text" v-if="
- infoDATA.taskType.associationType.value == 'inspect' ||
- infoDATA.taskType.associationType.value == 'patientTransport'
- ">
- <text class="text1">携带设备</text>
- <text class="text2">{{ infoDATA.goods || "暂无" }}</text>
- </view>
- <view class="page_item_info" style="padding: 0;" v-if="infoDATA.workOrderRemark !== undefined">
- <view class="page_item_foot_text">
- <view class="text1" v-if="infoDATA.taskType.associationType.value == 'inspect' || infoDATA.taskType.associationType.value == 'patientTransport'">备注信息</view>
- <view class="text1" v-else>工单备注</view>
- <view class="text2" style="float: none;word-break: break-all;">{{ infoDATA.workOrderRemark }}</view>
- </view>
- </view>
- <view class="page_item_foot_text" v-if="
- infoDATA.taskType.associationType.value == 'inspect' ||
- infoDATA.taskType.associationType.value == 'patientTransport'
- ">
- <text class="text1">患者姓名</text>
- <text class="text2">{{ infoDATA.patient.patientName }}
- <text v-if="infoDATA.patient.residenceNo">
- ({{
- infoDATA.patient.residenceNo
- }})
- </text>
- <text v-if="!infoDATA.patient.residenceNo">
- ({{
- infoDATA.patient.cardNo
- }})
- </text>
- </text>
- </view>
- <view class="page_item_foot_text" v-if="
- (infoDATA.taskType.associationType.value == 'inspect' ||
- infoDATA.taskType.associationType.value == 'patientTransport')&&infoDATA.patient.careLevel
- ">
- <text class="text1">{{infoDATA.patient.careLevel.desc}}</text>
- <text class="text2"
- :class="[(infoDATA.patient.careLevel.value==0||infoDATA.patient.careLevel.value==1)?'red':'green']">{{infoDATA.patient.careLevel.name}}</text>
- </view>
- <view class="page_item_foot_text" v-if="
- (infoDATA.taskType.associationType.value == 'inspect' ||
- infoDATA.taskType.associationType.value == 'patientTransport')&&infoDATA.patient.illnessState
- ">
- <text class="text1">{{infoDATA.patient.illnessState.desc}}</text>
- <text class="text2"
- :class="{red:infoDATA.patient.illnessState.value==2||infoDATA.patient.illnessState.value==3}">{{infoDATA.patient.illnessState.name}}</text>
- </view>
- <view class="page_item_foot_text"
- v-if="
- (infoDATA.taskType.associationType.value == 'inspect' ||
- infoDATA.taskType.associationType.value == 'patientTransport')&&(infoDATA.isAccompany===1||infoDATA.isAccompany===0)">
- <text class="text1">陪同情况</text>
- <text class="text2"
- :class="{red:infoDATA.isAccompany===1}">{{ infoDATA.isAccompany===1?'需要医护陪同':'无需医护陪同'}}</text>
- </view>
- <view class="page_item_foot_text"
- v-if="(infoDATA.taskType.associationType.value == 'inspect' || infoDATA.taskType.associationType.value == 'patientTransport') && infoDATA.inspectScore">
- <text class="text1">陪检方式</text>
- <text class="text2">{{ infoDATA.inspectScore.inspectMode }}</text>
- </view>
- <view class="page_item_foot_text"
- v-if="(infoDATA.taskType.associationType.value == 'inspect' || infoDATA.taskType.associationType.value == 'patientTransport') && infoDATA.inspectUsers">
- <text class="text1">陪检人员</text>
- <text class="text2">{{ infoDATA.inspectUsers }}</text>
- </view>
- <view class="page_item_foot_text"
- v-if="(infoDATA.taskType.associationType.value == 'inspect' || infoDATA.taskType.associationType.value == 'patientTransport') && infoDATA.inspectUsersNum">
- <text class="text1">陪检人数</text>
- <text class="text2">{{ infoDATA.inspectUsersNum }}</text>
- </view>
- <view class="page_item_foot_text"
- v-if="infoDATA.taskType.associationType.value == 'other' && infoDATA.inspectUsers">
- <text class="text1">执行人员</text>
- <text class="text2">{{ infoDATA.inspectUsers }}</text>
- </view>
- <view class="page_item_foot_text"
- v-if="infoDATA.taskType.associationType.value == 'other' && infoDATA.inspectUsersNum">
- <text class="text1">执行人数</text>
- <text class="text2">{{ infoDATA.inspectUsersNum }}</text>
- </view>
- </view>
- <!-- 药包 -->
- <view class="page_item_info" v-if="infoDATA.taskType.associationType.value == 'drugsBag'">
- <text class="page_item_info_title">药包编码</text>
- <text class="text">{{ infoDATA.drugs?infoDATA.drugs.packid:'无' }}</text>
- </view>
- <!-- 血制品 -->
- <view class="page_item_info" v-if="
- infoDATA.taskType.associationType.value == 'ordinary' &&
- infoDATA.taskType.ordinaryField.value == 'blood'
- ">
- <view>
- <text class="page_item_info_title">·</text>
- <text class="text">
- 送达数量
- <text class="page_item_info_txt">{{infoDATA.deliveryNum || '无'}}</text>
- </text>
- <text class="text">
- 实收数量
- <text class="page_item_info_txt">{{infoDATA.actualReceiveNum || '无'}}</text>
- </text>
- <text class="text">
- 应收数量
- <text class="page_item_info_txt">{{infoDATA.expectReceiveNum || '无'}}</text>
- </text>
- </view>
- </view>
- <!-- 标本 -->
- <view class="page_item_info" v-if="
- infoDATA.taskType.associationType.value == 'specimen' ||
- infoDATA.taskType.associationType.value == 'specimenPlan'
- ">
- <view>
- <text class="page_item_info_title">标本信息</text>
- <text class="text">
- 预计接收
- <text class="page_item_info_txt">{{
- infoDATA.expectReceiveNum || '无'
- }}</text>
- </text>
- <text class="text"
- v-if="infoDATA.gdState.value == 5 || infoDATA.gdState.value == 6 || infoDATA.gdState.value == 7">
- 扫描接收
- <text class="page_item_info_txt">{{infoDATA.actualReceiveNum || '无'}}</text>
- </text>
- <text class="text" v-if="infoDATA.gdState.value == 6 || infoDATA.gdState.value == 7">
- 实际送达
- <text class="page_item_info_txt">{{actualDelivery || '无'}}</text>
- </text>
- </view>
- <view v-for="spe in infoDATA.specimenSet" :key="spe.id" class="spe_list">
- <view>
- <text class="page_item_info_title">标本类型</text>
- <text class="text">{{ spe.stype ? spe.stype.name : "-" }}({{
- spe.urgent == 1 ? "急" : "普"
- }})</text>
- </view>
- <view>
- <text class="page_item_info_title">标本编码</text>
- <text class="text">{{ spe.scode }}</text>
- </view>
- <view>
- <text class="page_item_info_title">患者姓名</text>
- <text class="text">{{ spe.patientName }}<text v-if="spe.bedNum">({{spe.bedNum}})</text></text>
- </view>
- <view>
- <text class="page_item_info_title">目标科室</text>
- <text class="text">{{
- spe.checkDept ? spe.checkDept.dept : "-"
- }}</text>
- </view>
- </view>
- </view>
- <!-- 静配 -->
- <view class="page_item_info" v-if="infoDATA.taskType.associationType.value == 'jPBag'">
- <text class="page_item_info_title">药包编码</text>
- <text class="text">{{ infoDATA.staticDistri?infoDATA.staticDistri.packid:'无' }}</text>
- </view>
- <!-- 陪检 -->
- <view v-if="infoDATA.taskType.associationType.value == 'inspect'">
- <view class="page_item_info">
- <text class="page_item_info_title">检查信息</text>
- </view>
- <view id="infos" :animation="animationData">
- <view class="page_item_infos" v-for="(item, index) of infoDATA.checkList" :key="index">
- <view class="page_item_info2">
- <view class="page_item_foot_text">
- <text class="text1">检查科室</text>
- <text class="text2">{{ item.execDept?item.execDept.dept:'-' }}</text>
- </view>
- <view class="page_item_foot_text">
- <text class="text1">检查项</text>
- <text class="text2">{{ item.inspectName||'-' }}</text>
- </view>
- <view class="page_item_foot_text">
- <text class="text1">叫号信息</text>
- <text class="text2">{{ item.reservationNumber||'-' }}</text>
- </view>
- <view class="page_item_foot_text">
- <text class="text1">预约时间</text>
- <text class="text2">{{ item.yyTime || "-" }}</text>
- </view>
- <!-- <view class="page_item_foot_text"
- v-show="item.inspectState.value==1||item.inspectState.value==2||item.inspectState.value==4">
- <view class="btn" @click.stop="remove(item)">移除</view>
- </view> -->
- <view class="page_item_foot_text">
- <view class="btn" @click.stop="remove(item)">移除</view>
- </view>
- </view>
- </view>
- </view>
- <view id="pulldown" @click="show('show')" v-if="showType == 'hiddle'">
- 点击可查看检查详情
- <text class="cubeic-pulldown newicon newicon-paixujiantouxia"></text>
- </view>
- <view id="pullup" @click="show('hiddle')" v-if="showType == 'show'">
- 点击可收起检查详情
- <text class="cubeic-pullup newicon newicon-paixujiantoushang"></text>
- </view>
- </view>
- </view>
- <view class="foot_btn2 footerPadding" style="flex-wrap: wrap;">
- <view class="btn2" @click="showAlert" v-if="infoDATA.gdState.value == 2">接单</view>
- <!-- 如果不是静配,药配,标本配送,标本轮巡,万能交接 -->
- <template
- v-if="((!infoDATA.worker)||(infoDATA.worker&&infoDATA.worker.id == currentUserId))&&infoDATA.gdState.value != 6&&infoDATA.gdState.value != 7&&infoDATA.gdState.value != 11">
- <view :class="[infoDATA.taskType.specialCloseButton == 1 ? 'btn3' : 'btn2']" v-if="
- infoDATA.gdState.value != 2 &&
- infoDATA.taskType.associationType.value != 'jPBag' &&
- infoDATA.taskType.associationType.value != 'drugsBag' &&
- infoDATA.taskType.associationType.value != 'specimen' &&
- infoDATA.taskType.associationType.value != 'specimenPlan' &&
- infoDATA.taskType.associationType.value != 'ordinary' &&
- !(infoDATA.taskType.associationType.value == 'other' && (infoDATA.gdState.value == 4 && infoDATA.taskType.carryingCourses[0].actionsSwitch || infoDATA.gdState.value == 5 && infoDATA.taskType.carryingCourses[1].actionsSwitch))
- " hover-class="seimin-btn-hover">
- <smallScreen :sData="infoDATA" :sType="1">扫码</smallScreen>
- </view>
- <!-- 其他临床服务-完成工单-待到达 -->
- <view v-if="infoDATA.taskType.associationType.value == 'other' && infoDATA.gdState.value == 4 && infoDATA.taskType.carryingCourses[0].actionsSwitch" class="btn2 page_item_btn" @click="otherCompleteOrder(infoDATA)" hover-class="seimin-btn-hover">确认到达</view>
- <!-- 其他临床服务-完成工单-待送达 -->
- <view v-if="infoDATA.taskType.associationType.value == 'other' && infoDATA.gdState.value == 5 && infoDATA.taskType.carryingCourses[1].actionsSwitch" class="btn2 page_item_btn" @click="otherCompleteOrder(infoDATA)" hover-class="seimin-btn-hover">完成工单</view>
- <!-- 其他临床服务-拍照 -->
- <view v-if="infoDATA.taskType.associationType.value == 'other' && infoDATA.gdState.value == 4 && infoDATA.taskType.carryingCourses[0].photoSwitch" class="btn2 page_item_btn" @click="photographToOther(infoDATA, 'start')" hover-class="seimin-btn-hover">拍照</view>
- <view :class="[infoDATA.taskType.specialCloseButton == 1 ? 'btn3' : 'btn2']" @click="photograph(infoDATA)" v-if="
- infoDATA.taskType.associationType.value != 'jPBag' &&
- infoDATA.taskType.associationType.value != 'drugsBag' &&
- infoDATA.taskType.associationType.value != 'specimen' &&
- infoDATA.taskType.associationType.value != 'specimenPlan' &&
- infoDATA.taskType.associationType.value != 'other' &&
- infoDATA.taskType.associationType.value != 'ordinary' &&
- infoDATA.gdState.value == 4
- " hover-class="seimin-btn-hover">拍照</view>
- <view class="btn3" @click="specialCloseClick()" v-if="
- infoDATA.gdState.value != 2 &&
- infoDATA.taskType.associationType.value != 'jPBag' &&
- infoDATA.taskType.associationType.value != 'drugsBag' &&
- infoDATA.taskType.associationType.value != 'specimen' &&
- infoDATA.taskType.associationType.value != 'specimenPlan' &&
- infoDATA.taskType.associationType.value != 'ordinary' &&
- infoDATA.taskType.specialCloseButton == 1
- " hover-class="seimin-btn-hover">特殊情况关闭</view>
- </template>
- <!-- 如果不是患者陪检或患者转运或其他,万能交接 -->
- <view :class="[infoDATA.taskType.specialCloseButton == 1 ? 'btn3' : 'btn2']" v-if="
- infoDATA.gdState.value != 2 &&
- infoDATA.taskType.associationType.value != 'patientTransport' &&
- infoDATA.taskType.associationType.value != 'inspect' &&
- infoDATA.taskType.associationType.value != 'other' &&
- infoDATA.taskType.associationType.value != 'ordinary'
- " hover-class="seimin-btn-hover">
- <smallScreen :sData="infoDATA" :sType="2">扫码</smallScreen>
- </view>
- <!-- 如果是万能交接 -->
- <view :class="[infoDATA.taskType.specialCloseButton == 1 ? 'btn3' : 'btn2']"
- v-if="infoDATA.taskType.associationType.value == 'ordinary'"
- hover-class="seimin-btn-hover" @click="goBack()">
- 知道了
- </view>
- <view class="btn3" @click="specialCloseClick()" v-if="
- infoDATA.gdState.value != 2 &&
- infoDATA.taskType.associationType.value != 'patientTransport' &&
- infoDATA.taskType.associationType.value != 'inspect' &&
- infoDATA.taskType.associationType.value != 'other' &&
- infoDATA.taskType.specialCloseButton == 1
- " hover-class="seimin-btn-hover">特殊情况关闭</view>
- <view class="btn3" @click="viewSpecimen(infoDATA)" v-if="
- infoDATA.taskType.associationType.value == 'specimen' ||
- infoDATA.taskType.associationType.value == 'specimenPlan'
- " hover-class="seimin-btn-hover">查看标本</view>
- <view class="btn3" @click="viewDrugsBag(infoDATA)" v-if="infoDATA.taskType.associationType.value == 'drugsBag'" hover-class="seimin-btn-hover">查看业务流程</view>
- <view class="btn3" @click="toDrugBatches(infoDATA.drugs.batchNo)" v-if="infoDATA.taskType.associationType.value == 'drugsBag' && taskTypeConfig.drugsBatchInfo == 1" hover-class="seimin-btn-hover">药品批次</view>
- <view class="btn3" @click="viewBlood(infoDATA)" v-if="infoDATA.taskType.associationType.value == 'ordinary' && infoDATA.taskType.ordinaryField.value == 'blood'" hover-class="seimin-btn-hover">查看血制品</view>
- <view class="btn3" @click="viewNewDrugsBag(infoDATA, infoDATA.taskType.ordinaryField.value)" v-if="infoDATA.taskType.associationType.value == 'ordinary' && (infoDATA.taskType.ordinaryField.value == 'drugsJpbag' || infoDATA.taskType.ordinaryField.value == 'drugsWestern' || infoDATA.taskType.ordinaryField.value == 'drugsReturn' || infoDATA.taskType.ordinaryField.value == 'drugsPoison' || infoDATA.taskType.ordinaryField.value == 'drugsHerbal')" hover-class="seimin-btn-hover">业务数据</view>
- <view class="btn3" @click="additionalUser(infoDATA)" v-if="(infoDATA.taskType.associationType.value == 'inspect' || infoDATA.taskType.associationType.value == 'patientTransport') && infoDATA.worker && infoDATA.worker.id && multiplayerMode === 1" hover-class="seimin-btn-hover">追加陪检人员</view>
- <view class="btn3" @click="additionalUser(infoDATA)" v-if="infoDATA.taskType.associationType.value == 'other' && infoDATA.worker && infoDATA.worker.id && clinicalMultiplayerMode === 1 && clinicalTaskIdsFlag && !infoDATA.copyBy" hover-class="seimin-btn-hover">追加执行人员</view>
- <view class="btn3" style="flex-basis: 100%;" @click="patientHandover(infoDATA)" v-if="infoDATA.taskType.associationType.value == 'patientTransport' && infoDATA.worker && infoDATA.worker.id && handoverOrder === 1" hover-class="seimin-btn-hover">扫描交接</view>
- </view>
- <!-- 弹窗 -->
- <showModel :title="models.title" :icon="models.icon" :disjunctor="models.disjunctor" :content="models.content"
- @know="know" :operate="models.operate" @ok="ok" @cancel="cancel" :textareaFlag="textareaFlag"
- @textareaInput="textareaInput"></showModel>
- <!-- 弹窗 -->
- <inspectRemoveModel :title="models1.title" :icon="models1.icon" :disjunctor="models1.disjunctor"
- :content="models1.content" @know="know1" :operate="models1.operate" @ok="ok1" @cancel="cancel1" :remove="true">
- </inspectRemoveModel>
- <!-- 弹窗 -->
- <showModel :title="models2.title" :icon="models2.icon" :disjunctor="models2.disjunctor" :content="models2.content"
- :operate="models2.operate" @ok="ok2" @cancel="cancel2"></showModel>
- <!-- 填写交接人工号弹窗 -->
- <selectAccount v-if="hosModels.disjunctor" :disjunctor="hosModels.disjunctor" @ok="hosOk"
- @cancel="hosCancel">
- </selectAccount>
- <!-- 手动查询弹窗 -->
- <checkboxModal v-if="checkboxModels.disjunctor" :content="checkboxModels.content" :disjunctor="checkboxModels.disjunctor"
- @ok="checkboxOk" @cancel="checkboxCancel">
- </checkboxModal>
- <!-- PDA扫描 -->
- <scanner></scanner>
- </view>
- </template>
- <script>
- import scanner from "../../components/scanner/scanner.vue";
- import selectAccount from "../../components/selectAccount/selectAccount.vue";
- import smallScreen from "../../components/smallScreen/smallScreen.vue";
- import {
- get,
- post,
- SM,
- webHandle
- } from "../../http/http.js";
- import {
- pathUrl,
- photographTool
- } from "../../tools/photograph.js";
- export default {
- components: {
- selectAccount,
- scanner
- },
- data() {
- return {
- patientHandoverData: {},
- patientHandoverCode: '',
- other: {
- user: {},
- data: {},
- },
- // 手动查询弹窗model
- checkboxModels: {
- disjunctor: false,
- },
- taskTypeConfig: {},
- // 填写交接人工号弹窗model
- hosModels: {
- disjunctor: false,
- },
- currentCode: '', //当前拍照使用的科室二维码
- currentData: {}, //当前小扫描的工单对象
- multiplayerMode: 0,
- handoverOrder: 0,
- clinicalMultiplayerMode: 0,
- clinicalTaskIdsFlag: false,
- hosId: uni.getStorageSync('userData').user.currentHospital.id,
- SMFlag:true,
- actualDelivery: 0,
- currentUserId: 0,
- // 弹窗model
- models: {
- disjunctor: false,
- },
- // 弹窗model1
- models1: {
- disjunctor: false,
- },
- // 弹窗model1
- models2: {
- disjunctor: false,
- },
- currentInspect: null,
- showType: "show",
- infoDATA: {},
- dataId: "",
- animationData: {},
- // 特殊情况关闭原因开关
- textareaFlag: false,
- textareaText: "",
- };
- },
- 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 "-";
- }
- },
- },
- methods: {
- ok2() {
- uni.showLoading({
- title: "加载中",
- mask: true,
- });
- post("/patient/patientHandover", {
- id: this.patientHandoverCode.id,
- patientCode: this.patientHandoverData.patient.patientCode,
- }).then((result) => {
- this.models2.disjunctor = false;
- if (result.state == 200) {
- uni.hideLoading();
- uni.showToast({
- icon: "none",
- mask: true,
- title: "交接成功!",
- });
- setTimeout(() => {
- uni.navigateTo({
- url: `/pages/receiptpage/receiptpage`,
- });
- },300)
- } else {
- uni.hideLoading();
- uni.showToast({
- icon: "none",
- title: result.msg || "接口获取数据失败!",
- });
- }
- });
- },
- cancel2() {
- this.models2.disjunctor = false;
- },
- // 门诊患者交接
- patientHandover(infoDATA){
- console.log(infoDATA);
- this.patientHandoverData = infoDATA;
- if (!this.SMFlag) {
- return;
- }
- this.SMFlag = false;
- SM().then((content) => {
- uni.showLoading({
- title: "加载中",
- mask: true,
- });
- //检验二维码的有效性(扫码前必须验证)
- post("/dept/scanning", {
- content,
- })
- .then((result) => {
- try{
- this.patientHandoverCode = JSON.parse(result.code);
- }catch(e){
- this.patientHandoverCode = '';
- }
- this.SMFlag = true;
- // 200检测通过,201没有有效期也通过。
- if (result.state == 200 || result.state == 201) {
- uni.hideLoading();
- if(Object.prototype.toString.call(this.patientHandoverCode) === '[object Object]' && this.patientHandoverCode.name){
- this.models2 = {
- disjunctor: true,
- title: "提示",
- content: `您确认要与<span class="red">${this.patientHandoverCode.name}</span>交接吗?`,
- icon: "warn",
- operate: {
- ok: "确定",
- cancel: "取消",
- },
- };
- }else{
- uni.showToast({
- icon: "none",
- title: "请扫描正确的二维码!",
- });
- }
- } else {
- uni.hideLoading();
- uni.showToast({
- icon: "none",
- title: result.info || "接口获取数据失败!",
- });
- }
- })
- }).catch(err => {
- this.SMFlag = true;
- });
- },
- // 手动查询-确认
- 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,
- }
- },
- // 判断药品页面控制-是否显示关联批次药品
- isShowDrugsBatchInfo(){
- post("/simple/data/fetchDataList/taskType", {
- "idx": 0,
- "sum": 10,
- "taskType": {
- "simpleQuery": true,
- "hosId": {
- "id": this.hosId
- },
- "associationType": {
- "key": "association_types",
- "value": "drugsBag"
- }
- }
- }).then((res) => {
- if (res.status == 200) {
- res.list = res.list || [];
- let taskType = res.list[0] || {};
- if(taskType.id){
- post("/simple/data/fetchDataList/taskTypeConfig", {
- "idx": 0,
- "sum": 10,
- "taskTypeConfig": {
- "taskTypeDTO": {
- "hosId": {
- "id": this.hosId
- },
- "associationType": taskType.associationType
- }
- }
- }).then((res) => {
- if (res.status == 200) {
- res.list = res.list || [];
- this.taskTypeConfig = res.list[0] || {};
- } else {
- uni.showToast({
- icon: "none",
- title: res.msg || "接口获取数据失败!",
- });
- }
- });
- }else{
- uni.showToast({
- icon: "none",
- title: "请配置药品任务类型!",
- });
- }
- } else {
- uni.showToast({
- icon: "none",
- title: res.msg || "接口获取数据失败!",
- });
- }
- });
- },
- // 跳转到药品批次页面
- toDrugBatches(batchNo){
- uni.navigateTo({
- url: `../drugBatches/drugBatches?batchNo=${batchNo}`,
- });
- },
- // 前往其他临床服务完成工单确认页面
- 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)) : ''}`,
- });
- },
- // 如果不是静配,药配,标本配送,标本轮巡
- // 科室签到(小扫描)-拍照
- 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 = {
- 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 || "接口获取数据失败!",
- });
- }
- },
- goBack() {
- uni.navigateTo({
- url: "../receiptpage/receiptpage",
- });
- },
- // 查看标本
- viewSpecimen(workOrder) {
- uni.navigateTo({
- url: `../specimenDetail/specimenDetail?workOrderId=${workOrder.id}&associationTypeValue=${workOrder.taskType.associationType.value}`,
- });
- },
- // 查看药品业务数据
- viewDrugsBag(workOrder) {
- uni.navigateTo({
- url: `../drugsBagHistory/drugsBagHistory?id=${workOrder.drugs.id}&packid=${workOrder.drugs.packid}`,
- });
- },
- // 查看血制品
- viewBlood(workOrder) {
- uni.showLoading({
- title: "加载中",
- mask: true,
- });
- post('/transflow/checkData', {
- "type": "blood",
- "orderId": workOrder.id
- }).then(res => {
- uni.hideLoading();
- if(res.state == 200){
- uni.navigateTo({
- url: `../blood_list/blood_list?bloods=${encodeURIComponent(JSON.stringify(res.data.all))}`,
- });
- }else{
- uni.showToast({
- icon: "none",
- title: res.msg || "接口获取数据失败!",
- });
- }
- })
- },
- // 查看新药品
- viewNewDrugsBag(workOrder, type) {
- uni.showLoading({
- title: "加载中",
- mask: true,
- });
- let postData = {
- "idx": 0,
- "sum": 1,
- "taskTypeConfig": {
- "taskTypeDTO": {
- "hosId": {
- "id": this.hosId
- },
- "ordinaryField": {
- "key": "ordinary_field",
- "value": type
- }
- }
- }
- };
- post('/simple/data/fetchDataList/taskTypeConfig', postData).then(res => {
- uni.hideLoading();
- if(res.status == 200){
- let list = res.list || [];
- if(list.length){
- let config = list[0];
- if(config.drugsModel === 1){
- uni.navigateTo({
- url: `/pages/newDrug/detail?drugsBagType=${type}&orderId=${workOrder.id}`,
- });
- } else if(config.drugsModel === 2){
- uni.navigateTo({
- url: `/pages/newDrug/list?drugsBagType=${type}&orderId=${workOrder.id}`,
- });
- }
- }else{
- uni.showToast({
- icon: "none",
- title: "未查询到配置!",
- });
- }
- }else{
- uni.showToast({
- icon: "none",
- title: res.msg || "接口获取数据失败!",
- });
- }
- })
- },
- // 移除检查->知道了
- know1() {
- this.models1.disjunctor = false;
- // this.getInfo(this.dataId);
- uni.navigateTo({
- url: '../receiptpage/receiptpage',
- });
- },
- // 移除检查->确定
- ok1(data) {
- console.log(data);
- const {
- value,
- yyTime
- } = data;
- if (!value) {
- //没有选择移除原因
- uni.showModal({
- title: "提示",
- content: "请选择移除原因!",
- showCancel: false,
- success: function(res) {
- if (res.confirm) {
- console.log("用户点击确定");
- } else if (res.cancel) {
- console.log("用户点击取消");
- }
- },
- });
- return;
- } else if (value == 2 && !yyTime) {
- //没有填写预约时间
- uni.showModal({
- title: "提示",
- content: "请填写预约时间!",
- showCancel: false,
- success: function(res) {
- if (res.confirm) {
- console.log("用户点击确定");
- } else if (res.cancel) {
- console.log("用户点击取消");
- }
- },
- });
- return;
- }
- this.models1.disjunctor = false;
- let postData = {
- gdId: this.infoDATA.id,
- inspectId: this.currentInspect.id,
- reason: value == 1 ? 'checkDone' : 'modificationTime',
- yyTime: value == 1 ? undefined : yyTime,
- };
- uni.showLoading({
- title: '移除中',
- mask: true,
- })
- post('/workerOrder/removeInspectByOderId', postData).then(res => {
- uni.hideLoading();
- if (res.state == 200) {
- uni.showToast({
- icon: 'none',
- title: '移除成功!',
- success() {
- setTimeout(() => {
- uni.navigateTo({
- url: '../receiptpage/receiptpage',
- });
- }, 1500)
- }
- })
- } else {
- uni.showToast({
- icon: 'none',
- title: '移除失败!',
- })
- }
- })
- },
- // 移除检查->取消
- cancel1() {
- this.models1.disjunctor = false;
- },
- // 移除
- remove(item) {
- this.currentInspect = item;
- this.models1 = {
- disjunctor: true,
- content: "请选择您移除检查的原因?检查移除后将会自动完成或删除工单!",
- icon: "warn",
- operate: {
- ok: "确定",
- cancel: "取消",
- },
- };
- },
- // 拍照
- photograph(data) {
- photographTool(data);
- },
- // 特殊情况输入文字
- textareaInput(value) {
- this.textareaText = value;
- if (value.trim().length >= 10) {
- this.models.operate = {
- ok: "确定",
- cancel: "取消",
- };
- } else {
- this.models.operate = {
- cancel: "取消",
- };
- }
- },
- // 追加陪检人/执行人按钮
- 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) {
- this.getInfo(gdId);
- uni.showToast({
- icon: 'none',
- duration: 4000,
- title: '操作成功!'
- })
- } else {
- uni.navigateTo({
- url: `../result_error/result_error?qrcode=${user.qrcode}&msg=${result.msg || '接口获取数据失败!'}`,
- });
- }
- });
- },
- // 特殊情况关闭按钮
- specialCloseClick() {
- this.textareaFlag = true;
- this.models = {
- title: "特殊情况关闭",
- disjunctor: true,
- content: "",
- icon: "",
- operate: {
- cancel: "取消",
- },
- };
- },
- ok() {
- uni.showLoading({
- title: "加载中",
- mask: true,
- });
- post("/workerOrder/specialCaseClose", {
- workOrderId: this.dataId,
- reason: this.textareaText.trim(),
- }).then((result) => {
- this.models.disjunctor = false;
- this.textareaFlag = false;
- this.textareaText = "";
- if (result.state == 200) {
- uni.hideLoading();
- this.models = {
- disjunctor: true,
- content: "工单关闭成功",
- icon: "success",
- operate: {
- know: "知道了",
- },
- };
- } else {
- uni.hideLoading();
- this.models = {
- disjunctor: true,
- content: "工单关闭失败",
- icon: "error",
- operate: {
- know: "知道了",
- },
- };
- }
- });
- },
- cancel() {
- this.models.disjunctor = false;
- this.textareaFlag = false;
- this.textareaText = "";
- },
- // 点击可查看检查详情
- show(type) {
- this.showType = type;
- if (type === "show") {
- //展开
- // 计算高度
- const query = uni.createSelectorQuery().in(this);
- query
- .selectAll(".page_item_infos")
- .boundingClientRect((data) => {
- let len = data.reduce((prev, current) => {
- return prev + current.height;
- }, 0);
- this.animation.height(len).step();
- this.animationData = this.animation.export();
- })
- .exec();
- } else if (type === "hiddle") {
- this.animation.height(0).step();
- this.animationData = this.animation.export();
- }
- },
- // 抢单->知道了
- know() {
- this.models.disjunctor = false;
- uni.navigateTo({
- url: "../receiptpage/receiptpage",
- });
- },
- // 抢单
- showAlert() {
- get("/workerOrder/takeOrder/" + this.infoDATA.id).then((res) => {
- if (res.status == 200) {
- this.models = {
- disjunctor: true,
- content: "接单成功",
- icon: "success",
- operate: {
- know: "知道了",
- },
- };
- } else {
- uni.showToast({
- icon: "none",
- title: res.msg || "接口获取数据失败!",
- });
- }
- });
- },
- // 请求详细页面的数据(除标本轮巡和标本配送)
- getInfo(id) {
- uni.showLoading({
- title: "加载中",
- mask: true,
- });
- get("/api/fetchData/workOrder/" + id).then((res) => {
- uni.hideLoading();
- if (res.status == 200) {
- this.infoDATA = res.data;
- // 计算高度
- setTimeout(() => {
- const query = uni.createSelectorQuery().in(this);
- query
- .selectAll(".page_item_infos")
- .boundingClientRect((data) => {
- let len = data.reduce((prev, current) => {
- return prev + current.height;
- }, 0);
- this.animation.height(len).step();
- this.animationData = this.animation.export();
- })
- .exec();
- }, 500)
- } else {
- uni.showToast({
- icon: "none",
- title: res.msg || "接口获取数据失败!",
- });
- }
- });
- },
- // 请求详细页面的数据
- getInfoBySpecimen(id) {
- uni.showLoading({
- title: "加载中",
- mask: true,
- });
- post("/api/getWechatItem", {
- id
- }).then((res) => {
- uni.hideLoading();
- if (res.state == 200) {
- this.actualDelivery = res.actualDelivery;
- this.infoDATA = res.data;
- // 计算高度
- setTimeout(() => {
- const query = uni.createSelectorQuery().in(this);
- query
- .selectAll(".page_item_infos")
- .boundingClientRect((data) => {
- let len = data.reduce((prev, current) => {
- return prev + current.height;
- }, 0);
- this.animation.height(len).step();
- this.animationData = this.animation.export();
- })
- .exec();
- }, 500)
- } else {
- uni.showToast({
- icon: "none",
- title: res.msg || "接口获取数据失败!",
- });
- }
- });
- },
- // 获取检查页面控制开关
- getTaskConfig(){
- post("/simple/data/fetchDataList/taskTypeConfig", {
- "idx": 0,
- "sum": 10,
- "taskTypeConfig": {
- "taskTypeDTO": {
- "hosId": {
- "id": this.hosId
- },
- "associationType": {
- "key": "association_types",
- "value": "inspect"
- }
- }
- }
- }).then((result) => {
- if (result.status == 200) {
- if(result.list && result.list[0]){
- this.multiplayerMode = result.list[0].multiplayerMode;
- this.handoverOrder = result.list[0].handoverOrder;
- }else{
- this.multiplayerMode = 0;
- this.handoverOrder = 0;
- }
- } else {
- this.multiplayerMode = 0;
- this.handoverOrder = 0;
- }
- });
- },
- // 获取临床服务页面控制开关
- getTaskOtherConfig(options){
- post("/simple/data/fetchDataList/taskTypeConfig", {
- "idx": 0,
- "sum": 10,
- "taskTypeConfig": {
- "hosId": this.hosId,
- "associationType": options.associationTypeId,
- }
- }).then((result) => {
- if (result.status == 200) {
- if(result.list && result.list[0]){
- this.clinicalMultiplayerMode = result.list[0].clinicalMultiplayerMode;
- let clinicalTaskIds = result.list[0].clinicalTaskIds ? result.list[0].clinicalTaskIds.split(',') : [] ;
- this.clinicalTaskIdsFlag = clinicalTaskIds.includes(options.taskTypeId);
- console.log(clinicalTaskIds, options.taskTypeId)
- }else{
- this.clinicalMultiplayerMode = 0;
- this.clinicalTaskIdsFlag = false;
- }
- } else {
- this.clinicalMultiplayerMode = 0;
- this.clinicalTaskIdsFlag = false;
- }
- });
- },
- // 获取是否需要选择陪检方式
- getInspectAndPatientTransform(content){
- let sData = this.infoDATA
- let sType = null
- if(((!sData.worker)||(sData.worker&&sData.worker.id == this.currentUserId))&&sData.gdState.value != 6&&sData.gdState.value != 7&&sData.gdState.value != 11){
- if(sData.gdState.value != 2 &&
- sData.taskType.associationType.value != 'jPBag' &&
- sData.taskType.associationType.value != 'drugsBag' &&
- sData.taskType.associationType.value != 'specimen' &&
- sData.taskType.associationType.value != 'specimenPlan' &&
- sData.taskType.associationType.value != 'ordinary' &&
- !(sData.taskType.associationType.value == 'other' && (sData.gdState.value == 4 && sData.taskType.carryingCourses[0].actionsSwitch || sData.gdState.value == 5 && sData.taskType.carryingCourses[1].actionsSwitch))){
- sType = 1
- }
- }
- if(sData.gdState.value != 2 &&
- sData.taskType.associationType.value != 'patientTransport' &&
- sData.taskType.associationType.value != 'inspect' &&
- sData.taskType.associationType.value != 'other' &&
- sData.taskType.associationType.value != 'ordinary'){
- sType = 2
- }
- // 患者陪检,患者其他服务,工单状态是待到达
- if((sData.taskType.associationType.value === 'inspect' || sData.taskType.associationType.value === 'patientTransport') && sData.gdState.value == 4){
- const postData = {
- "idx":0,
- "sum":1,
- "taskTypeConfig":{
- "taskTypeDTO":{
- "hosId": {"id": this.hosId},
- "associationType": {
- "key": "association_types",
- "value":"inspect",
- },
- },
- },
- };
- uni.showLoading({
- mask: true,
- title: '加载中'
- })
- post("/simple/data/fetchDataList/taskTypeConfig", postData).then((res) => {
- console.log(res)
- if (res.status == 200) {
- res.list = res.list || [];
- if(res.list[0] && res.list[0].signTypeIds){
- // 如果开启
- const postData = {
- "idx":0,
- "sum":9999,
- "workOrderInspectScore":{
- "hosId": this.hosId,
- },
- };
- post("/simple/data/fetchDataList/workOrderInspectScore", postData).then((res) => {
- console.log(res)
- uni.hideLoading();
- if (res.status == 200) {
- res.list = res.list || [];
- let radioInspectionDistanceItem = res.list.map(v => ({id: v.id + "__" + v.inspectMode, inspectMode: v.inspectMode}));
- console.log(radioInspectionDistanceItem)
- this.models4 = {
- disjunctor: true,
- title: "请选择陪检方式",
- radioInspectionDistanceItem,
- icon: "",
- operate: {
- ok: "确定",
- cancel: "取消",
- },
- };
- } else {
- uni.showToast({
- icon: "none",
- title: res.msg || "接口获取数据失败!",
- });
- }
- })
- }else{
- uni.hideLoading();
- this.Scan_ss(content,sData,sType);
- }
- } else {
- uni.hideLoading();
- uni.showToast({
- icon: "none",
- title: res.msg || "接口获取数据失败!",
- });
- }
- })
- }else{
- this.Scan_ss(content,sData,sType);
- }
- },
- Scan_ss(content, data, type) {
- if (!this.SMFlag) {
- return;
- }
- this.SMFlag = false;
- this.currentData = data;
- if(content){
- content = content.replace('\n','')
- uni.showLoading({
- title: "加载中",
- mask: true,
- });
- //检验二维码的有效性
- post("/dept/scanning", {
- content: content,
- taskTypeId: data.taskType.id,
- gdState: data.gdState.id,
- }).then((result) => {
- this.SMFlag = true;
- this.currentCode = result.code;
- if (result.state == 200 || result.state == 201) {
- if (result.account) {
- if (type == 1) {
- this.isOpenTransportationProcessRemarks(this.currentData, {
- account: result.account,
- accountName: result.name,
- accountId: result.id,
- }, 'nextDeptOrder_ss');
- } else if (type == 2) {
- this.nextDeptOrder_s(this.currentData, {
- account: result.account,
- accountName: result.name,
- accountId: result.id,
- });
- }
- } else {
- if (type == 1) {
- this.isOpenTransportationProcessRemarks(this.currentData, undefined, 'nextDeptOrder_ss');
- } else if (type == 2) {
- this.nextDeptOrder_s(this.currentData);
- }
- }
- } else if (result.state == '0000') {
- uni.hideLoading();
- // this.showSelectAccount(); //yeye
- } else {
- uni.hideLoading();
- uni.showToast({
- icon: "none",
- title: result.info || "接口获取数据失败!",
- });
- }
- });
- }
- },
- // 其他临床服务-运输过程-终点科室是否开通备注填写
- isOpenTransportationProcessRemarks(data, accountObj, funName){
- const tasktype = data.taskType;
- console.log(tasktype, data);
- if(tasktype.associationType.value === 'other' && tasktype.carryingCourses[1].logSwitch && data.gdState.value == 5){
- uni.navigateTo({
- url: `../../pages/transportationProcessRemarks/transportationProcessRemarks?data=${data ? encodeURIComponent(JSON.stringify(data)) : ''}&accountObj=${accountObj ? encodeURIComponent(JSON.stringify(accountObj)) : ''}¤tCode=${this.currentCode}&funName=${funName}&actions=${this.actions ? encodeURIComponent(JSON.stringify(this.actions)) : ''}&imageValue=${this.imageValue ? encodeURIComponent(JSON.stringify(this.imageValue)) : ''}`
- })
- }else{
- this[funName](data, accountObj);
- }
- },
- // 如果不是患者陪检或患者转运或其他
- // 科室签到
- nextDeptOrder_s(data, accountObj) {
- console.log(this.currentCode);
- let ids = [];
- let id = data.id;
- ids.push(id);
- let code = "";
- let postData = {
- ids
- };
- if (accountObj) {
- postData.handover = [accountObj.accountId];
- }
- if (this.currentCode) {
- code = this.currentCode;
- // 科室签到
- post("/workerOrder/orderSign/" + code, postData).then((res) => {
- uni.hideLoading();
- if (res.status == 200) {
- // 跳转到扫描科室
- // type1: res.type, //type类型
- // id: data.id, //工单ID
- // deptCode: code, //二维码
- // dept: res.dept //科室名称
- console.log(data,'工单')
- let endDepts = data.endDepts.map(v=>v.id).toString();
- console.log(endDepts,'smallScreen');
- uni.navigateTo({
- url: `../../pages/scanning_code/scanning_code?type=${data.taskType.associationType.value}&type1=${res.type}&id=${data.id}&deptCode=${code}&dept=${res.dept}&accountObj=${encodeURIComponent(JSON.stringify(accountObj))}&deptId=${res.deptId}&endDepts=${endDepts}`,
- });
- } else {
- uni.navigateTo({
- url: `../../pages/scanning_Result/scanning_Result?type=${data.taskType.associationType.value}&type1=${res.type}&id=${data.id}&status=600&msg=${res.msg}&isKs=1&qrcode=${this.currentCode}`,
- });
- }
- });
- }
- },
- },
- onShow(){
- this.SMFlag = true;
- let that = this
- // #ifdef APP-PLUS
- uni.$off('scan') // 每次进来先 移除全局自定义事件监听器
- uni.$on('scan', function(data) {
- that.getInspectAndPatientTransform(data)
- })
- // #endif
- },
- onLoad(options) {
- console.log(options, 'options');
- options.associationTypeValue === 'drugsBag' && this.isShowDrugsBatchInfo();
- this.currentUserId = uni.getStorageSync('userData').user.id;
- let id = options.id;
- this.dataId = id;
- if (
- options.associationTypeValue == 'specimen' ||
- options.associationTypeValue == 'specimenPlan'
- ) {
- this.getInfoBySpecimen(id);
- } else {
- this.getInfo(id);
- }
- if (
- options.associationTypeValue == 'inspect' ||
- options.associationTypeValue == 'patientTransport'
- ) {
- this.getTaskConfig();
- }else if(options.associationTypeValue == 'other'){
- this.getTaskOtherConfig(options);
- }
- // 创建动画
- this.animation = uni.createAnimation({
- duration: 500,
- timingFunction: "ease",
- });
- // #ifdef APP-PLUS
- webHandle("no", "app");
- // #endif
- // #ifdef H5
- webHandle("no", "wx");
- // #endif
- },
- onUnload() {
- // 页面关闭后清空数据
- this.animationData = {};
- },
- };
- </script>
- <style lang="less">
- .Receipt_infopage {
- padding: 0 20rpx;
- overflow: hidden;
- .red {
- color: red !important;
- font-weight: bold !important;
- }
- .green {
- color: #49b856 !important;
- font-weight: bold !important;
- }
- .title {
- font-size: 48rpx;
- margin-top: 24rpx;
- margin-bottom: 24rpx;
- text-align: center;
- }
- .page_item {
- margin-top: 16rpx;
- margin-bottom: 124rpx;
- background: #fff;
- border-radius: 8rpx;
- padding: 0 16rpx;
- border: 2rpx solid #e5e9ed;
- .L {
- width: 40rpx;
- height: 40rpx;
- border-radius: 50%;
- background: #f9fafb;
- position: relative;
- left: -50rpx;
- top: 66rpx;
- }
- .R {
- width: 40rpx;
- height: 40rpx;
- border-radius: 50%;
- background: #f9fafb;
- position: relative;
- float: right;
- right: -50rpx;
- top: 26rpx;
- }
- .starting {
- width: 50rpx;
- height: 50rpx;
- color: #fff;
- background: #49b856;
- display: inline-block;
- border-radius: 50%;
- text-align: center;
- line-height: 46rpx;
- font-size: 32rpx;
- margin-right: 6rpx;
- }
- .End {
- width: 50rpx;
- height: 50rpx;
- color: #fff;
- background: #39b199;
- display: inline-block;
- border-radius: 50%;
- text-align: center;
- line-height: 46rpx;
- font-size: 32rpx;
- margin-right: 6rpx;
- }
- .page_item_top {
- height: 86rpx;
- border-bottom: 2rpx dashed #666;
- padding: 0 16rpx;
- .page_item_top_L {
- height: 100%;
- float: left;
- line-height: 88rpx;
- .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;
- display: inline-block;
- font-size: 28rpx;
- .cubeic-star {
- margin-right: 8rpx;
- }
- }
- .L_time {
- color: #6cc076;
- font-size: 32rpx;
- }
- .L_text {
- font-size: 32rpx;
- display: inline-block;
- font-weight: 700;
- margin-right: 16rpx;
- }
- }
- .page_item_top_R {
- height: 60rpx;
- float: right;
- padding-top: 20rpx;
- font-size: 32rpx;
- position: absolute;
- right: 50rpx;
- .L_iocn {
- display: inline-block;
- height: 52rpx;
- line-height: 48rpx;
- color: rgb(7, 134, 60);
- font-size: 36rpx;
- font-weight: 700;
- }
- }
- }
- .page_item_cont {
- min-height: 180rpx;
- // max-height: 424rpx;
- padding: 0 16rpx;
- text-align: left;
- position: relative;
- .text_big {
- font-size: 32rpx;
- position: absolute;
- right: 16rpx;
- font-weight: 700;
- margin-top: 10rpx;
- }
- .text_big2 {
- font-size: 32rpx;
- position: absolute;
- right: 16rpx;
- font-weight: 700;
- }
- .line {
- height: 20rpx;
- width: 2rpx;
- border-left: 2rpx solid #666;
- position: absolute;
- top: 82rpx;
- left: 40rpx;
- }
- .lines {
- height: 40%;
- width: 2rpx;
- border-left: 2rpx solid #666;
- position: absolute;
- top: 23%;
- left: 36rpx;
- }
- .page_item_cont_T {
- padding-top: 28rpx;
- font-size: 28rpx;
- .page_item_cont_title {
- height: 100%;
- font-size: 32rpx;
- }
- }
- .page_item_cont_B {
- padding-top: 28rpx;
- margin-bottom: 28rpx;
- .page_item_cont_title {
- height: 60rpx;
- font-size: 32rpx;
- }
- .page_item_cont_title1 {
- height: 60rpx;
- line-height: 60rpx;
- font-size: 32rpx;
- padding-left: 64rpx;
- }
- }
- }
- .page_item_foot {
- border-top: 2rpx dashed #666;
- border-bottom: 2rpx dashed #666;
- padding: 28rpx 16rpx;
- text-align: left;
- .page_item_foot_text {
- font-size: 32rpx;
- margin-bottom: 20rpx;
- .text1 {
- color: rgb(102, 102, 102);
- }
- .text2 {
- float: right;
- font-weight: 700;
- }
- }
- }
- .page_item_info {
- padding: 20rpx 16rpx;
- text-align: left;
- line-height: 60rpx;
- font-size: 32rpx;
- .spe_list {
- padding: 32rpx 0;
- border-top: 2rpx solid #666;
- .page_item_info_title {
- color: #666;
- }
- }
- .page_item_info_title {
- font-weight: 700;
- }
- .text {
- float: right;
- font-weight: 700;
- .page_item_info_txt {
- color: #49b856;
- margin-left: 8rpx;
- margin-right: 8rpx;
- }
- }
- }
- #infos {
- height: 0;
- overflow: hidden;
- }
- .page_item_infos {
- padding-top: 20rpx;
- padding-bottom: 20rpx;
- border-bottom: 2rpx dashed #666;
- .page_item_info2 {
- text-align: left;
- line-height: 60rpx;
- font-size: 32rpx;
- padding-left: 16rpx;
- .page_item_foot_text {
- font-size: 32rpx;
- margin-bottom: 20rpx;
- &:last-of-type {
- margin-bottom: 0;
- }
- .text1 {
- color: rgb(102, 102, 102);
- }
- .text2 {
- float: right;
- font-weight: 700;
- }
- .btn {
- height: 66rpx;
- width: 132rpx;
- margin: 0 auto;
- background-color: #49b856;
- color: #fff;
- border-radius: 8rpx;
- font-size: 32rpx;
- margin-top: 20rpx;
- text-align: center;
- }
- }
- }
- }
- #pulldown {
- color: #49b856;
- font-size: 36rpx;
- height: 60rpx;
- text-align: center;
- .cubeic-pulldown {
- font-size: 48rpx;
- position: relative;
- bottom: 6rpx;
- }
- }
- #pullup {
- color: #49b856;
- font-size: 36rpx;
- height: 60rpx;
- text-align: center;
- .cubeic-pullup {
- font-size: 48rpx;
- position: relative;
- top: 12rpx;
- }
- }
- }
- .foot_btn2 {
- position: fixed;
- bottom: 0;
- right: 20rpx;
- left: 20rpx;
- line-height: 66rpx;
- height: 100rpx;
- border-top: 2rpx solid #e5e9ed;
- background: #f9fafb;
- display: flex;
- justify-content: space-between;
- .btn2,
- .btn3 {
- 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: 8rpx;
- margin-bottom: 8rpx;
- text-align: center;
- }
- }
- }
- </style>
|