receipt_infopage.vue 71 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003
  1. <template>
  2. <view class="Receipt_infopage" v-if="Object.keys(infoDATA).length > 0">
  3. <view class="title">工单信息</view>
  4. <view class="page_item footerOtherMargin">
  5. <view class="page_item_top">
  6. <view class="page_item_top_L">
  7. <text class="L_text">单号:{{ infoDATA.gdcode }}</text>
  8. <view class="page_item_cont_start emergency1" v-if="infoDATA.emergencyType.value == 1">
  9. <text>
  10. <text class="cubeic-star icon_transport transport-shiwujiaoxing"></text>
  11. {{ infoDATA.emergencyType.name }}
  12. </text>
  13. </view>
  14. <view class="page_item_cont_start emergency" v-if="infoDATA.emergencyType.value == 2">
  15. <text>
  16. <text class="cubeic-star icon_transport transport-shiwujiaoxing"></text>
  17. {{ infoDATA.emergencyType.name }}
  18. </text>
  19. </view>
  20. <view class="page_item_cont_start emergencys" v-if="infoDATA.emergencyType.value == 3">
  21. <text>
  22. <text class="cubeic-star icon_transport transport-shiwujiaoxing"></text>
  23. {{ infoDATA.emergencyType.name }}
  24. </text>
  25. </view>
  26. </view>
  27. <view class="page_item_top_R">
  28. <text class="L_iocn" v-if="
  29. !(
  30. infoDATA.gdState.value == 5 &&
  31. infoDATA.taskType.associationType.value == 'inspect'
  32. )
  33. ">{{ infoDATA.gdState.name }}</text>
  34. <text class="L_iocn" v-if="
  35. infoDATA.gdState.value == 5 &&
  36. infoDATA.taskType.associationType.value == 'inspect'
  37. ">待送回</text>
  38. </view>
  39. <view class="L"></view>
  40. <view class="R"></view>
  41. </view>
  42. <view class="page_item_cont">
  43. <view class="page_item_cont_T">
  44. <view class="page_item_cont_title">
  45. <text> <text class="starting">起</text> 点科室 </text>
  46. <text class="text_big">{{ infoDATA.startDept.dept }}</text>
  47. </view>
  48. </view>
  49. <view class="line"></view>
  50. <view class="page_item_cont_B">
  51. <view class="page_item_cont_title" v-for="(dept, index) of infoDATA.middleDept" :key="'ico' + index">
  52. <view v-if="infoDATA.taskType.associationType.value == 'inspect'">
  53. <text> <text class="End">检</text> 查科室 </text>
  54. <text class="text_big">{{ dept.dept }}</text>
  55. <view></view>
  56. </view>
  57. </view>
  58. <template v-if="infoDATA.taskType.associationType.value != 'inspect'">
  59. <view class="page_item_cont_title" v-for="(dept, i) of infoDATA.endDepts" :key="i">
  60. <view>
  61. <text> <text class="End">终</text> 点科室 </text>
  62. <text class="text_big">{{ dept.dept }}</text>
  63. </view>
  64. </view>
  65. </template>
  66. <view v-if="
  67. infoDATA.taskType.associationType.value == 'inspect' ||
  68. infoDATA.taskType.associationType.value == 'patientTransport'
  69. ">
  70. <!-- 待抢单 -->
  71. <text class="red" v-if="infoDATA.gdState.value == 2">请扫描患者腕带,或者请扫描科室码</text>
  72. <!-- 待到达 -->
  73. <text class="red" v-if="infoDATA.gdState.value == 4">请扫描患者腕带</text>
  74. <!-- 执行中 -->
  75. <text class="red" v-if="infoDATA.gdState.value == 8">请扫描检查科室码,并扫描患者腕带</text>
  76. <!-- 待送达 -->
  77. <text class="red" v-if="infoDATA.gdState.value == 5">请扫描终点科室码,并扫描患者腕带</text>
  78. </view>
  79. </view>
  80. </view>
  81. <view class="page_item_foot">
  82. <view class="page_item_foot_text">
  83. <text class="text1">状态</text>
  84. <text class="text2" v-if="
  85. !(
  86. infoDATA.gdState.value == 5 &&
  87. infoDATA.taskType.associationType.value == 'inspect'
  88. )
  89. ">{{ infoDATA.gdState.name }}</text>
  90. <text class="text2" v-if="
  91. infoDATA.gdState.value == 5 &&
  92. infoDATA.taskType.associationType.value == 'inspect'
  93. ">待送回</text>
  94. </view>
  95. <!-- <view class="page_item_foot_text">
  96. <text class="text1">关联类型</text>
  97. <text class="text2">{{ infoDATA.taskType.associationType.name }}</text>
  98. </view> -->
  99. <view class="page_item_foot_text">
  100. <text class="text1">任务类型</text>
  101. <text class="text2">{{ infoDATA.taskType.taskName }}<template
  102. v-if="infoDATA.goodsRemark">-{{infoDATA.goodsRemark}}</template></text>
  103. </view>
  104. <view class="page_item_foot_text" v-if="infoDATA.taskType.associationType.value==='inspect'">
  105. <text class="text1">是否半程陪检</text>
  106. <text class="text2">{{ infoDATA.isHalfInspect===1?'是':'否' }}</text>
  107. </view>
  108. <view class="page_item_foot_text">
  109. <text class="text1">执行人员</text>
  110. <text class="text2">{{ infoDATA.worker?infoDATA.worker.name:'-' }}</text>
  111. </view>
  112. <view class="page_item_foot_text" v-if="infoDATA.gdState.value == '2'">
  113. <text class="text1">预计响应时间</text>
  114. <text class="text2">{{ infoDATA.estimeResponseTime || '无' }}</text>
  115. </view>
  116. <view class="page_item_foot_text" v-if="infoDATA.gdState.value == '5'">
  117. <text class="text1" v-if="!(infoDATA.taskType.associationType.value == 'inspect')">预计送达时间</text>
  118. <text class="text1" v-if="infoDATA.taskType.associationType.value == 'inspect'">预计送回时间</text>
  119. <text class="text2">{{ infoDATA.estimeCompleteTime || '无' }}</text>
  120. </view>
  121. <view class="page_item_foot_text" v-if="infoDATA.gdState.value == '4'">
  122. <text class="text1">预计到达时间</text>
  123. <text class="text2">{{ infoDATA.estimateArriveTime || '无' }}</text>
  124. </view>
  125. <view class="page_item_foot_text">
  126. <text class="text1">创建时间</text>
  127. <text class="text2">{{ infoDATA.startTime || '无' }}</text>
  128. </view>
  129. <view class="page_item_foot_text">
  130. <text class="text1">预约时间</text>
  131. <text class="text2" v-if="infoDATA.taskType.associationType.value == 'inspect'">{{ infoDATA.yyTime }}</text>
  132. <text class="text2"
  133. v-if="infoDATA.taskType.associationType.value == 'patientTransport' || infoDATA.taskType.associationType.value == 'other'">{{ infoDATA.yyjdTime|yyTimeFilter }}</text>
  134. </view>
  135. <view class="page_item_foot_text" v-if="
  136. infoDATA.taskType.associationType.value == 'inspect' ||
  137. infoDATA.taskType.associationType.value == 'patientTransport'
  138. ">
  139. <text class="text1">携带设备</text>
  140. <text class="text2">{{ infoDATA.goods || "暂无" }}</text>
  141. </view>
  142. <view class="page_item_info" style="padding: 0;" v-if="infoDATA.workOrderRemark !== undefined">
  143. <view class="page_item_foot_text">
  144. <view class="text1" v-if="infoDATA.taskType.associationType.value == 'inspect' || infoDATA.taskType.associationType.value == 'patientTransport'">备注信息</view>
  145. <view class="text1" v-else>工单备注</view>
  146. <view class="text2" style="float: none;word-break: break-all;">{{ infoDATA.workOrderRemark }}</view>
  147. </view>
  148. </view>
  149. <view class="page_item_foot_text" v-if="
  150. infoDATA.taskType.associationType.value == 'inspect' ||
  151. infoDATA.taskType.associationType.value == 'patientTransport'
  152. ">
  153. <text class="text1">患者姓名</text>
  154. <text class="text2">{{ infoDATA.patient.patientName }}
  155. <text v-if="infoDATA.patient.residenceNo">
  156. ({{
  157. infoDATA.patient.residenceNo
  158. }})
  159. </text>
  160. <text v-if="!infoDATA.patient.residenceNo">
  161. ({{
  162. infoDATA.patient.cardNo
  163. }})
  164. </text>
  165. </text>
  166. </view>
  167. <view class="page_item_foot_text" v-if="
  168. infoDATA.patient.residenceNo && (
  169. infoDATA.taskType.associationType.value == 'inspect' ||
  170. infoDATA.taskType.associationType.value == 'patientTransport')
  171. ">
  172. <text class="text1">床号</text>
  173. <text class="text2">{{
  174. infoDATA.patient ? infoDATA.patient.bedNum : "-"
  175. }}</text>
  176. </view>
  177. <view class="page_item_foot_text" v-if="
  178. !infoDATA.patient.residenceNo && (
  179. infoDATA.taskType.associationType.value == 'inspect' ||
  180. infoDATA.taskType.associationType.value == 'patientTransport')
  181. ">
  182. <text class="text1">身份证号</text>
  183. <text class="text2">{{
  184. infoDATA.patient ? infoDATA.patient.identityCardNo : "-"
  185. }}</text>
  186. </view>
  187. <view class="page_item_foot_text" v-if="
  188. (infoDATA.taskType.associationType.value == 'inspect' ||
  189. infoDATA.taskType.associationType.value == 'patientTransport')&&infoDATA.patient.careLevel
  190. ">
  191. <text class="text1">{{infoDATA.patient.careLevel.desc}}</text>
  192. <text class="text2"
  193. :class="[(infoDATA.patient.careLevel.value==0||infoDATA.patient.careLevel.value==1)?'red':'green']">{{infoDATA.patient.careLevel.name}}</text>
  194. </view>
  195. <view class="page_item_foot_text" v-if="
  196. (infoDATA.taskType.associationType.value == 'inspect' ||
  197. infoDATA.taskType.associationType.value == 'patientTransport')&&infoDATA.patient.illnessState
  198. ">
  199. <text class="text1">{{infoDATA.patient.illnessState.desc}}</text>
  200. <text class="text2"
  201. :class="{red:infoDATA.patient.illnessState.value==2||infoDATA.patient.illnessState.value==3}">{{infoDATA.patient.illnessState.name}}</text>
  202. </view>
  203. <view class="page_item_foot_text"
  204. v-if="
  205. (infoDATA.taskType.associationType.value == 'inspect' ||
  206. infoDATA.taskType.associationType.value == 'patientTransport')&&(infoDATA.isAccompany===1||infoDATA.isAccompany===0)">
  207. <text class="text1">陪同情况</text>
  208. <text class="text2"
  209. :class="{red:infoDATA.isAccompany===1}">{{ infoDATA.isAccompany===1?'需要医护陪同':'无需医护陪同'}}</text>
  210. </view>
  211. <view class="page_item_foot_text"
  212. v-if="(infoDATA.taskType.associationType.value == 'inspect' || infoDATA.taskType.associationType.value == 'patientTransport') && infoDATA.inspectScore">
  213. <text class="text1">陪检方式</text>
  214. <text class="text2">{{ infoDATA.inspectScore.inspectMode }}</text>
  215. </view>
  216. <view class="page_item_foot_text"
  217. v-if="(infoDATA.taskType.associationType.value == 'inspect' || infoDATA.taskType.associationType.value == 'patientTransport') && infoDATA.inspectUsers">
  218. <text class="text1">陪检人员</text>
  219. <text class="text2">{{ infoDATA.inspectUsers }}</text>
  220. </view>
  221. <view class="page_item_foot_text"
  222. v-if="(infoDATA.taskType.associationType.value == 'inspect' || infoDATA.taskType.associationType.value == 'patientTransport') && infoDATA.inspectUsersNum">
  223. <text class="text1">陪检人数</text>
  224. <text class="text2">{{ infoDATA.inspectUsersNum }}</text>
  225. </view>
  226. <view class="page_item_foot_text"
  227. v-if="infoDATA.taskType.associationType.value == 'other' && infoDATA.inspectUsers">
  228. <text class="text1">执行人员</text>
  229. <text class="text2">{{ infoDATA.inspectUsers }}</text>
  230. </view>
  231. <view class="page_item_foot_text"
  232. v-if="infoDATA.taskType.associationType.value == 'other' && infoDATA.inspectUsersNum">
  233. <text class="text1">执行人数</text>
  234. <text class="text2">{{ infoDATA.inspectUsersNum }}</text>
  235. </view>
  236. </view>
  237. <!-- 药包 -->
  238. <view class="page_item_info" v-if="infoDATA.taskType.associationType.value == 'drugsBag'">
  239. <text class="page_item_info_title">药包编码</text>
  240. <text class="text">{{ infoDATA.drugs?infoDATA.drugs.packid:'无' }}</text>
  241. </view>
  242. <!-- 血制品 -->
  243. <view class="page_item_info" v-if="
  244. infoDATA.taskType.associationType.value == 'ordinary' &&
  245. infoDATA.taskType.ordinaryField.value == 'blood'
  246. ">
  247. <view>
  248. <text class="page_item_info_title">·</text>
  249. <text class="text">
  250. 送达数量
  251. <text class="page_item_info_txt">{{infoDATA.deliveryNum || '无'}}</text>
  252. </text>
  253. <text class="text">
  254. 实收数量
  255. <text class="page_item_info_txt">{{infoDATA.actualReceiveNum || '无'}}</text>
  256. </text>
  257. <text class="text">
  258. 应收数量
  259. <text class="page_item_info_txt">{{infoDATA.expectReceiveNum || '无'}}</text>
  260. </text>
  261. </view>
  262. </view>
  263. <!-- 标本 -->
  264. <view class="page_item_info" v-if="
  265. infoDATA.taskType.associationType.value == 'specimen' ||
  266. infoDATA.taskType.associationType.value == 'specimenPlan'
  267. ">
  268. <view>
  269. <text class="page_item_info_title">标本信息</text>
  270. <text class="text">
  271. 预计接收
  272. <text class="page_item_info_txt">{{
  273. infoDATA.expectReceiveNum || '无'
  274. }}</text>
  275. </text>
  276. <text class="text"
  277. v-if="infoDATA.gdState.value == 5 || infoDATA.gdState.value == 6 || infoDATA.gdState.value == 7">
  278. 扫描接收
  279. <text class="page_item_info_txt">{{infoDATA.actualReceiveNum || '无'}}</text>
  280. </text>
  281. <text class="text" v-if="infoDATA.gdState.value == 6 || infoDATA.gdState.value == 7">
  282. 实际送达
  283. <text class="page_item_info_txt">{{actualDelivery || '无'}}</text>
  284. </text>
  285. </view>
  286. <view v-for="spe in infoDATA.specimenSet" :key="spe.id" class="spe_list">
  287. <view>
  288. <text class="page_item_info_title">标本类型</text>
  289. <text class="text">{{ spe.stype ? spe.stype.name : "-" }}({{
  290. spe.urgent == 1 ? "急" : "普"
  291. }})</text>
  292. </view>
  293. <view>
  294. <text class="page_item_info_title">标本编码</text>
  295. <text class="text">{{ spe.scode }}</text>
  296. </view>
  297. <view>
  298. <text class="page_item_info_title">患者姓名</text>
  299. <text class="text">{{ spe.patientName }}<text v-if="spe.bedNum">({{spe.bedNum}})</text></text>
  300. </view>
  301. <view>
  302. <text class="page_item_info_title">目标科室</text>
  303. <text class="text">{{
  304. spe.checkDept ? spe.checkDept.dept : "-"
  305. }}</text>
  306. </view>
  307. </view>
  308. </view>
  309. <!-- 静配 -->
  310. <view class="page_item_info" v-if="infoDATA.taskType.associationType.value == 'jPBag'">
  311. <text class="page_item_info_title">药包编码</text>
  312. <text class="text">{{ infoDATA.staticDistri?infoDATA.staticDistri.packid:'无' }}</text>
  313. </view>
  314. <!-- 陪检 -->
  315. <view v-if="infoDATA.taskType.associationType.value == 'inspect'">
  316. <view class="page_item_info">
  317. <text class="page_item_info_title">检查信息</text>
  318. </view>
  319. <view id="infos" :animation="animationData">
  320. <view class="page_item_infos" v-for="(item, index) of infoDATA.checkList" :key="index">
  321. <view class="page_item_info2">
  322. <view class="page_item_foot_text">
  323. <text class="text1">检查科室</text>
  324. <text class="text2">{{ item.execDept?item.execDept.dept:'-' }}</text>
  325. </view>
  326. <view class="page_item_foot_text">
  327. <text class="text1">检查项</text>
  328. <text class="text2">{{ item.inspectName||'-' }}</text>
  329. </view>
  330. <view class="page_item_foot_text">
  331. <text class="text1">叫号信息</text>
  332. <text class="text2">{{ item.reservationNumber||'-' }}</text>
  333. </view>
  334. <view class="page_item_foot_text">
  335. <text class="text1">预约时间</text>
  336. <text class="text2">{{ item.yyTime || "-" }}</text>
  337. </view>
  338. <!-- <view class="page_item_foot_text"
  339. v-show="item.inspectState.value==1||item.inspectState.value==2||item.inspectState.value==4">
  340. <view class="btn" @click.stop="remove(item)">移除</view>
  341. </view> -->
  342. <view class="page_item_foot_text">
  343. <view class="btn" @click.stop="remove(item)">移除</view>
  344. </view>
  345. </view>
  346. </view>
  347. </view>
  348. <view id="pulldown" @click="show('show')" v-if="showType == 'hiddle'">
  349. 点击可查看检查详情
  350. <text class="cubeic-pulldown icon_transport transport-paixujiantouxia"></text>
  351. </view>
  352. <view id="pullup" @click="show('hiddle')" v-if="showType == 'show'">
  353. 点击可收起检查详情
  354. <text class="cubeic-pullup icon_transport transport-paixujiantoushang"></text>
  355. </view>
  356. </view>
  357. </view>
  358. <view class="foot_btn2 footerPadding" style="flex-wrap: wrap;">
  359. <view class="btn2" @click="showAlert" v-if="infoDATA.gdState.value == 2">接单</view>
  360. <!-- 如果不是静配,药配,标本配送,标本轮巡,万能交接 -->
  361. <template
  362. v-if="((!infoDATA.worker)||(infoDATA.worker&&infoDATA.worker.id == currentUserId))&&infoDATA.gdState.value != 6&&infoDATA.gdState.value != 7&&infoDATA.gdState.value != 11">
  363. <view :class="[infoDATA.taskType.specialCloseButton == 1 ? 'btn3' : 'btn2']" v-if="
  364. infoDATA.gdState.value != 2 &&
  365. infoDATA.taskType.associationType.value != 'jPBag' &&
  366. infoDATA.taskType.associationType.value != 'drugsBag' &&
  367. infoDATA.taskType.associationType.value != 'specimen' &&
  368. infoDATA.taskType.associationType.value != 'specimenPlan' &&
  369. infoDATA.taskType.associationType.value != 'ordinary' &&
  370. !(infoDATA.taskType.associationType.value == 'other' && (infoDATA.gdState.value == 4 && infoDATA.taskType.carryingCourses[0].actionsSwitch || infoDATA.gdState.value == 5 && infoDATA.taskType.carryingCourses[1].actionsSwitch))
  371. " hover-class="seimin-btn-hover">
  372. <smallScreen :sData="infoDATA" :sType="1">扫码</smallScreen>
  373. </view>
  374. <!-- 其他临床服务-完成工单-待到达 -->
  375. <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>
  376. <!-- 其他临床服务-完成工单-待送达 -->
  377. <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>
  378. <!-- 其他临床服务-拍照 -->
  379. <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>
  380. <view :class="[infoDATA.taskType.specialCloseButton == 1 ? 'btn3' : 'btn2']" @click="photograph(infoDATA)" v-if="
  381. infoDATA.taskType.associationType.value != 'jPBag' &&
  382. infoDATA.taskType.associationType.value != 'drugsBag' &&
  383. infoDATA.taskType.associationType.value != 'specimen' &&
  384. infoDATA.taskType.associationType.value != 'specimenPlan' &&
  385. infoDATA.taskType.associationType.value != 'other' &&
  386. infoDATA.taskType.associationType.value != 'ordinary' &&
  387. infoDATA.gdState.value == 4
  388. " hover-class="seimin-btn-hover">拍照</view>
  389. <view class="btn3" @click="specialCloseClick()" v-if="
  390. infoDATA.gdState.value != 2 &&
  391. infoDATA.taskType.associationType.value != 'jPBag' &&
  392. infoDATA.taskType.associationType.value != 'drugsBag' &&
  393. infoDATA.taskType.associationType.value != 'specimen' &&
  394. infoDATA.taskType.associationType.value != 'specimenPlan' &&
  395. infoDATA.taskType.associationType.value != 'ordinary' &&
  396. infoDATA.taskType.specialCloseButton == 1
  397. " hover-class="seimin-btn-hover">特殊情况关闭</view>
  398. </template>
  399. <!-- 如果不是患者陪检或患者转运或其他,万能交接 -->
  400. <view :class="[infoDATA.taskType.specialCloseButton == 1 ? 'btn3' : 'btn2']" v-if="
  401. infoDATA.gdState.value != 2 &&
  402. infoDATA.taskType.associationType.value != 'patientTransport' &&
  403. infoDATA.taskType.associationType.value != 'inspect' &&
  404. infoDATA.taskType.associationType.value != 'other' &&
  405. infoDATA.taskType.associationType.value != 'ordinary'
  406. " hover-class="seimin-btn-hover">
  407. <smallScreen :sData="infoDATA" :sType="2">扫码</smallScreen>
  408. </view>
  409. <!-- 如果是万能交接 -->
  410. <view :class="[infoDATA.taskType.specialCloseButton == 1 ? 'btn3' : 'btn2']"
  411. v-if="infoDATA.taskType.associationType.value == 'ordinary'"
  412. hover-class="seimin-btn-hover" @click="goBack()">
  413. 知道了
  414. </view>
  415. <view class="btn3" @click="specialCloseClick()" v-if="
  416. infoDATA.gdState.value != 2 &&
  417. infoDATA.taskType.associationType.value != 'patientTransport' &&
  418. infoDATA.taskType.associationType.value != 'inspect' &&
  419. infoDATA.taskType.associationType.value != 'other' &&
  420. infoDATA.taskType.specialCloseButton == 1
  421. " hover-class="seimin-btn-hover">特殊情况关闭</view>
  422. <view class="btn3" @click="viewSpecimen(infoDATA)" v-if="
  423. infoDATA.taskType.associationType.value == 'specimen' ||
  424. infoDATA.taskType.associationType.value == 'specimenPlan'
  425. " hover-class="seimin-btn-hover">查看标本</view>
  426. <view class="btn3" @click="viewDrugsBag(infoDATA)" v-if="infoDATA.taskType.associationType.value == 'drugsBag'" hover-class="seimin-btn-hover">查看业务流程</view>
  427. <view class="btn3" @click="toDrugBatches(infoDATA.drugs.batchNo)" v-if="infoDATA.taskType.associationType.value == 'drugsBag' && taskTypeConfig.drugsBatchInfo == 1" hover-class="seimin-btn-hover">药品批次</view>
  428. <view class="btn3" @click="viewBlood(infoDATA)" v-if="infoDATA.taskType.associationType.value == 'ordinary' && infoDATA.taskType.ordinaryField.value == 'blood'" hover-class="seimin-btn-hover">查看血制品</view>
  429. <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>
  430. <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>
  431. <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>
  432. </view>
  433. <!-- 弹窗 -->
  434. <showModel :title="models.title" :icon="models.icon" :disjunctor="models.disjunctor" :content="models.content"
  435. @know="know" :operate="models.operate" @ok="ok" @cancel="cancel" :textareaFlag="textareaFlag"
  436. @textareaInput="textareaInput"></showModel>
  437. <!-- 弹窗 -->
  438. <inspectRemoveModel :title="models1.title" :icon="models1.icon" :disjunctor="models1.disjunctor"
  439. :content="models1.content" @know="know1" :operate="models1.operate" @ok="ok1" @cancel="cancel1" :remove="true">
  440. </inspectRemoveModel>
  441. <!-- 弹窗 -->
  442. <showModel :title="models2.title" :icon="models2.icon" :disjunctor="models2.disjunctor" :content="models2.content"
  443. :operate="models2.operate" @ok="ok2" @cancel="cancel2"></showModel>
  444. <!-- 填写交接人工号弹窗 -->
  445. <selectAccount v-if="hosModels.disjunctor" :disjunctor="hosModels.disjunctor" @ok="hosOk"
  446. @cancel="hosCancel">
  447. </selectAccount>
  448. <!-- 手动查询弹窗 -->
  449. <checkboxModal v-if="checkboxModels.disjunctor" :content="checkboxModels.content" :disjunctor="checkboxModels.disjunctor"
  450. @ok="checkboxOk" @cancel="checkboxCancel">
  451. </checkboxModal>
  452. </view>
  453. </template>
  454. <script>
  455. import selectAccount from "../../components/selectAccount/selectAccount.vue";
  456. import smallScreen from "../../components/smallScreen/smallScreen.vue";
  457. import {
  458. get,
  459. post,
  460. SM,
  461. webHandle
  462. } from "../../http/http.js";
  463. import {
  464. pathUrl,
  465. photographTool
  466. } from "../../tools/photograph.js";
  467. export default {
  468. components: {
  469. selectAccount,
  470. },
  471. data() {
  472. return {
  473. patientHandoverData: {},
  474. patientHandoverCode: '',
  475. other: {
  476. user: {},
  477. data: {},
  478. },
  479. // 手动查询弹窗model
  480. checkboxModels: {
  481. disjunctor: false,
  482. },
  483. taskTypeConfig: {},
  484. // 填写交接人工号弹窗model
  485. hosModels: {
  486. disjunctor: false,
  487. },
  488. currentCode: '', //当前拍照使用的科室二维码
  489. currentData: {}, //当前小扫描的工单对象
  490. multiplayerMode: 0,
  491. handoverOrder: 0,
  492. clinicalMultiplayerMode: 0,
  493. clinicalTaskIdsFlag: false,
  494. hosId: uni.getStorageSync('userData').user.currentHospital.id,
  495. SMFlag:true,
  496. actualDelivery: 0,
  497. currentUserId: 0,
  498. // 弹窗model
  499. models: {
  500. disjunctor: false,
  501. },
  502. // 弹窗model1
  503. models1: {
  504. disjunctor: false,
  505. },
  506. // 弹窗model1
  507. models2: {
  508. disjunctor: false,
  509. },
  510. currentInspect: null,
  511. showType: "show",
  512. infoDATA: {},
  513. dataId: "",
  514. animationData: {},
  515. // 特殊情况关闭原因开关
  516. textareaFlag: false,
  517. textareaText: "",
  518. };
  519. },
  520. filters: {
  521. // 自定义管道 yyTime
  522. yyTimeFilter: function(data) {
  523. if (data) {
  524. let nDate = null;
  525. if (typeof data == 'string') {
  526. let arr = data.split(/[-:\s]/);
  527. nDate = new Date(
  528. arr[0] - 0,
  529. arr[1] - 1,
  530. arr[2] - 0,
  531. arr[3] - 0,
  532. arr[4] - 0,
  533. 0
  534. );
  535. } else if (typeof data == 'number') {
  536. nDate = new Date(data);
  537. }
  538. const month = (nDate.getMonth() + 1).toString().padStart(2, 0);
  539. const date = nDate.getDate().toString().padStart(2, 0);
  540. const hour = nDate.getHours().toString().padStart(2, 0);
  541. const minute = nDate.getMinutes().toString().padStart(2, 0);
  542. return `${month}-${date} ${hour}:${minute}`;
  543. } else {
  544. return "-";
  545. }
  546. },
  547. },
  548. methods: {
  549. ok2() {
  550. uni.showLoading({
  551. title: "加载中",
  552. mask: true,
  553. });
  554. post("/patient/patientHandover", {
  555. id: this.patientHandoverCode.id,
  556. patientCode: this.patientHandoverData.patient.patientCode,
  557. }).then((result) => {
  558. this.models2.disjunctor = false;
  559. if (result.state == 200) {
  560. uni.hideLoading();
  561. uni.showToast({
  562. icon: "none",
  563. mask: true,
  564. title: "交接成功!",
  565. });
  566. setTimeout(() => {
  567. uni.navigateTo({
  568. url: `/pages/receiptpage/receiptpage`,
  569. });
  570. },300)
  571. } else {
  572. uni.hideLoading();
  573. uni.showToast({
  574. icon: "none",
  575. title: result.msg || "接口获取数据失败!",
  576. });
  577. }
  578. });
  579. },
  580. cancel2() {
  581. this.models2.disjunctor = false;
  582. },
  583. // 门诊患者交接
  584. patientHandover(infoDATA){
  585. console.log(infoDATA);
  586. this.patientHandoverData = infoDATA;
  587. if (!this.SMFlag) {
  588. return;
  589. }
  590. this.SMFlag = false;
  591. SM().then((content) => {
  592. uni.showLoading({
  593. title: "加载中",
  594. mask: true,
  595. });
  596. //检验二维码的有效性(扫码前必须验证)
  597. post("/dept/scanning", {
  598. content,
  599. })
  600. .then((result) => {
  601. try{
  602. this.patientHandoverCode = JSON.parse(result.code);
  603. }catch(e){
  604. this.patientHandoverCode = '';
  605. }
  606. this.SMFlag = true;
  607. // 200检测通过,201没有有效期也通过。
  608. if (result.state == 200 || result.state == 201) {
  609. uni.hideLoading();
  610. if(Object.prototype.toString.call(this.patientHandoverCode) === '[object Object]' && this.patientHandoverCode.name){
  611. this.models2 = {
  612. disjunctor: true,
  613. title: "提示",
  614. content: `您确认要与<span class="red">${this.patientHandoverCode.name}</span>交接吗?`,
  615. icon: "warn",
  616. operate: {
  617. ok: "确定",
  618. cancel: "取消",
  619. },
  620. };
  621. }else{
  622. uni.showToast({
  623. icon: "none",
  624. title: "请扫描正确的二维码!",
  625. });
  626. }
  627. } else {
  628. uni.hideLoading();
  629. uni.showToast({
  630. icon: "none",
  631. title: result.info || "接口获取数据失败!",
  632. });
  633. }
  634. })
  635. }).catch(err => {
  636. this.SMFlag = true;
  637. });
  638. },
  639. // 手动查询-确认
  640. checkboxOk(bulkCopy) {
  641. console.log(bulkCopy);
  642. this.checkboxModels.disjunctor = false;
  643. let { user, data } = this.other;
  644. this.additionalUserCommon(user, data.id, data.worker.id, bulkCopy);
  645. },
  646. // 手动查询-取消
  647. checkboxCancel() {
  648. this.checkboxModels.disjunctor = false;
  649. },
  650. // 手动查询弹窗
  651. showCheckboxModal(user, data) {
  652. this.other = {
  653. user,
  654. data,
  655. };
  656. this.checkboxModels = {
  657. content: `您要最追加的人员为${user.name},您确认要追加吗?`,
  658. disjunctor: true,
  659. }
  660. },
  661. // 判断药品页面控制-是否显示关联批次药品
  662. isShowDrugsBatchInfo(){
  663. post("/simple/data/fetchDataList/taskType", {
  664. "idx": 0,
  665. "sum": 10,
  666. "taskType": {
  667. "simpleQuery": true,
  668. "hosId": {
  669. "id": this.hosId
  670. },
  671. "associationType": {
  672. "key": "association_types",
  673. "value": "drugsBag"
  674. }
  675. }
  676. }).then((res) => {
  677. if (res.status == 200) {
  678. res.list = res.list || [];
  679. let taskType = res.list[0] || {};
  680. if(taskType.id){
  681. post("/simple/data/fetchDataList/taskTypeConfig", {
  682. "idx": 0,
  683. "sum": 10,
  684. "taskTypeConfig": {
  685. "taskTypeDTO": {
  686. "hosId": {
  687. "id": this.hosId
  688. },
  689. "associationType": taskType.associationType
  690. }
  691. }
  692. }).then((res) => {
  693. if (res.status == 200) {
  694. res.list = res.list || [];
  695. this.taskTypeConfig = res.list[0] || {};
  696. } else {
  697. uni.showToast({
  698. icon: "none",
  699. title: res.msg || "接口获取数据失败!",
  700. });
  701. }
  702. });
  703. }else{
  704. uni.showToast({
  705. icon: "none",
  706. title: "请配置药品任务类型!",
  707. });
  708. }
  709. } else {
  710. uni.showToast({
  711. icon: "none",
  712. title: res.msg || "接口获取数据失败!",
  713. });
  714. }
  715. });
  716. },
  717. // 跳转到药品批次页面
  718. toDrugBatches(batchNo){
  719. uni.navigateTo({
  720. url: `../drugBatches/drugBatches?batchNo=${batchNo}`,
  721. });
  722. },
  723. // 前往其他临床服务完成工单确认页面
  724. otherCompleteOrder(data){
  725. console.log(data);
  726. uni.navigateTo({
  727. url: `../otherCompleteOrder/otherCompleteOrder?orderId=${data.id}&taskType=${data.taskType ? encodeURIComponent(JSON.stringify(data.taskType)) : ''}&order=${data ? encodeURIComponent(JSON.stringify(data)) : ''}`,
  728. });
  729. },
  730. // 如果不是静配,药配,标本配送,标本轮巡
  731. // 科室签到(小扫描)-拍照
  732. nextDeptOrder_ss(data, accountObj) {
  733. console.log(this.currentCode);
  734. let isKs = 0;
  735. let ids = [];
  736. let id = data.id;
  737. ids.push(id);
  738. let list = {
  739. code: "",
  740. ids: ids,
  741. };
  742. let code = "";
  743. let type = "";
  744. if (this.currentCode) {
  745. let gdStateValue = data.gdState.value; //工单状态value
  746. let associationTypeValue = data.taskType.associationType.value; //关联类型value
  747. // 其他临床服务,并且工单状态是待到达||工单状态待送达
  748. if (
  749. (associationTypeValue == "other" &&
  750. gdStateValue == "4") ||
  751. gdStateValue == "5"
  752. ) {
  753. code = this.currentCode;
  754. type = "orderSign/" + code;
  755. list = {
  756. ids
  757. };
  758. if (accountObj) {
  759. list.handover = [accountObj.accountId];
  760. }
  761. isKs = 1;
  762. }
  763. uni.showLoading({
  764. title: "加载中",
  765. mask: true,
  766. });
  767. post("/workerOrder/" + type, list).then((res) => {
  768. uni.hideLoading();
  769. if (res) {
  770. if (res.status == 200) {
  771. if (
  772. gdStateValue == "4" &&
  773. associationTypeValue == "other"
  774. ) {
  775. uni.navigateTo({
  776. url: `../../pages/scanning_code/scanning_code?type=${associationTypeValue}&type1=${res.type}&id=${data.id}&deptCode=${code}&dept=${res.dept}&accountObj=${encodeURIComponent(JSON.stringify(accountObj))}`,
  777. });
  778. }
  779. if (gdStateValue == "5") {
  780. uni.navigateTo({
  781. url: `../../pages/scanning_code/scanning_code?type=${associationTypeValue}&type1=${res.type}&id=${data.id}&deptCode=${code}&dept=${res.dept}&accountObj=${encodeURIComponent(JSON.stringify(accountObj))}`,
  782. });
  783. }
  784. } else {
  785. uni.navigateTo({
  786. url: `../../pages/scanning_Result/scanning_Result?type=${
  787. associationTypeValue
  788. }&type1=${res.type}&id=${data.id}&status=600&msg=${
  789. res.msg
  790. }&isKs=${isKs}&model=${encodeURIComponent(
  791. JSON.stringify(res)
  792. )}&qrcode=${this.currentCode}`,
  793. });
  794. }
  795. } else {
  796. uni.navigateTo({
  797. url: `../../pages/scanning_Result/scanning_Result?id=${data.id}&status=600&msg=扫码失败!请扫描正确的二维码!&isKs=${isKs}&qrcode=${this.currentCode}`,
  798. });
  799. }
  800. });
  801. }
  802. },
  803. // 填写交接人工号-确认
  804. hosOk(data) {
  805. console.log(data);
  806. const {
  807. accountName,
  808. account,
  809. accountId
  810. } = data;
  811. if (!accountName && !account) {
  812. //没有填写交接人
  813. uni.showModal({
  814. title: '提示',
  815. content: "请填写交接人工号!",
  816. showCancel: false,
  817. success: function(res) {
  818. if (res.confirm) {
  819. console.log('用户点击确定');
  820. } else if (res.cancel) {
  821. console.log('用户点击取消');
  822. }
  823. }
  824. });
  825. return;
  826. } else if (!accountName && account || accountName && !account) {
  827. //没有填写交接人
  828. uni.showModal({
  829. title: '提示',
  830. content: "请填写正确的交接人工号!",
  831. showCancel: false,
  832. success: function(res) {
  833. if (res.confirm) {
  834. console.log('用户点击确定');
  835. } else if (res.cancel) {
  836. console.log('用户点击取消');
  837. }
  838. }
  839. });
  840. return;
  841. }
  842. this.hosModels.disjunctor = false;
  843. let associationTypeValue = this.currentData.taskType.associationType.value;
  844. console.log(associationTypeValue)
  845. this.uploadToOther(this.currentData, data, 'start');
  846. },
  847. // 填写交接人工号-取消
  848. hosCancel() {
  849. this.hosModels.disjunctor = false;
  850. },
  851. // 填写交接人工号弹窗
  852. showSelectAccount() {
  853. this.hosModels = {
  854. disjunctor: true,
  855. }
  856. },
  857. // 拍照-上传
  858. uploadToOther(data, accountObj, type){
  859. // 其他临床服务拍照签到
  860. console.log(data, 1111);
  861. let id_seimin;
  862. let asTypeValue_seimin;
  863. let gdStateValue_seimin;
  864. if (data.status != 200 && data.status !== undefined) {
  865. id_seimin = data.id;
  866. asTypeValue_seimin = data.type;
  867. gdStateValue_seimin = JSON.parse(data.model).gdstate2; //type改成gdstate
  868. } else {
  869. id_seimin = data.id;
  870. asTypeValue_seimin = data.taskType.associationType.value;
  871. gdStateValue_seimin = data.gdState.value;
  872. }
  873. //#ifdef H5
  874. uni.chooseImage({
  875. count: 1,
  876. sourceType: ['camera'],
  877. success: (chooseImageRes) => {
  878. console.log(chooseImageRes, pathUrl)
  879. const tempFilePaths = chooseImageRes.tempFilePaths;
  880. const tempFiles = chooseImageRes.tempFiles;
  881. let tp = tempFilePaths[0];
  882. uni.showLoading({
  883. mask: true,
  884. title: '加载中'
  885. });
  886. post('/workerOrder/findRecordInfoByOrderId', {
  887. orderId: id_seimin,
  888. gdOperate: 21,
  889. }).then(result => {
  890. console.log(result)
  891. if (result.state == 200) {
  892. uni.getImageInfo({
  893. src: tp,
  894. success: (res) => {
  895. console.log('压缩前', res)
  896. let canvasWidth = res.width //图片原始长宽
  897. let canvasHeight = res.height
  898. let img = new Image()
  899. img.src = res.path
  900. let canvas = document.createElement('canvas');
  901. let ctx = canvas.getContext('2d')
  902. canvas.width = canvasWidth
  903. canvas.height = canvasHeight
  904. ctx.drawImage(img, 0, 0, canvasWidth, canvasHeight)
  905. canvas.toBlob((fileSrc) => {
  906. tp = window.URL.createObjectURL(fileSrc)
  907. console.log('压缩后', tp);
  908. uni.uploadFile({
  909. url: pathUrl + '/common/common/uploadAttachment/'+(type == 'start' ? 'orderStartPhoto' : 'orderEndPhoto')+'/' + id_seimin + '/' + result.recordId,
  910. filePath: tp,
  911. name: 'file',
  912. formData: {
  913. 'filename': tempFiles[0].name ? tempFiles[0].name.split('.')[0] + '.jpg' : tempFiles[
  914. 0].path.split(
  915. /[\\/]/).reverse()[0].split('.')[0] + '.jpg'
  916. },
  917. success: (uploadFileRes) => {
  918. console.log(uploadFileRes, 10086, asTypeValue_seimin);
  919. this.nextDeptOrder_ss(data, accountObj, type);
  920. },
  921. fail: err => {
  922. console.error(err);
  923. uni.hideLoading();
  924. uni.showToast({
  925. icon: 'none',
  926. title: '上传失败',
  927. duration: 2000
  928. });
  929. }
  930. });
  931. }, 'image/jpeg', 0.3)
  932. },
  933. fail: function () {
  934. uni.hideLoading();
  935. uni.showToast({
  936. icon: 'none',
  937. title: '上传失败',
  938. duration: 2000
  939. });
  940. }
  941. })
  942. } else {
  943. uni.hideLoading();
  944. uni.showToast({
  945. icon: "none",
  946. title: result.msg || "接口获取数据失败!",
  947. });
  948. }
  949. })
  950. }
  951. });
  952. //#endif
  953. //#ifdef APP-PLUS
  954. uni.chooseImage({
  955. count: 1,
  956. sourceType: ['camera'],
  957. sizeType: ['compressed'],
  958. success: (chooseImageRes) => {
  959. console.log(chooseImageRes, pathUrl)
  960. const tempFilePaths = chooseImageRes.tempFilePaths;
  961. const tempFiles = chooseImageRes.tempFiles;
  962. let tp = tempFilePaths[0];
  963. uni.showLoading({
  964. mask: true,
  965. title: '加载中'
  966. });
  967. post('/workerOrder/findRecordInfoByOrderId', {
  968. orderId: id_seimin,
  969. gdOperate: 21,
  970. }).then(result => {
  971. console.log(result)
  972. if (result.state == 200) {
  973. uni.compressImage({
  974. src: tp,
  975. quality: 30,
  976. success: (res) => {
  977. console.log('压缩前', res)
  978. tp = res.tempFilePath;
  979. console.log('压缩后', tp);
  980. uni.uploadFile({
  981. url: pathUrl + '/common/common/uploadAttachment/'+(type == 'start' ? 'orderStartPhoto' : 'orderEndPhoto')+'/' + id_seimin + '/' + result.recordId,
  982. filePath: tp,
  983. name: 'file',
  984. formData: {
  985. 'filename': tempFiles[0].name ? tempFiles[0].name.split('.')[0] + '.jpg' : tempFiles[
  986. 0].path.split(
  987. /[\\/]/).reverse()[0].split('.')[0] + '.jpg'
  988. },
  989. success: (uploadFileRes) => {
  990. console.log(uploadFileRes, 10086, asTypeValue_seimin);
  991. this.nextDeptOrder_ss(data, accountObj, type);
  992. },
  993. fail: err => {
  994. console.error(err);
  995. uni.hideLoading();
  996. uni.showToast({
  997. icon: 'none',
  998. title: '上传失败',
  999. duration: 2000
  1000. });
  1001. }
  1002. });
  1003. },
  1004. fail: function () {
  1005. uni.hideLoading();
  1006. uni.showToast({
  1007. icon: 'none',
  1008. title: '上传失败',
  1009. duration: 2000
  1010. });
  1011. }
  1012. })
  1013. } else {
  1014. uni.hideLoading();
  1015. uni.showToast({
  1016. icon: "none",
  1017. title: result.msg || "接口获取数据失败!",
  1018. });
  1019. }
  1020. })
  1021. }
  1022. });
  1023. //#endif
  1024. },
  1025. // 拍照-其他
  1026. async photographToOther(data, type) {
  1027. this.currentData = data;
  1028. uni.showLoading({
  1029. title: "加载中",
  1030. mask: true,
  1031. });
  1032. // 其他临床服务
  1033. let result = await post("/dept/scanning", {
  1034. content: type === 'start' ? data.startDept.qrcode : data.endDepts[0].qrcode,
  1035. taskTypeId: data.taskType.id,
  1036. gdState: data.gdState.id,
  1037. });
  1038. uni.hideLoading();
  1039. this.currentCode = result.code;
  1040. if (result.state == 200 || result.state == 201) {
  1041. uni.showModal({
  1042. title: '提示',
  1043. content: '请尽量拍摄角度覆盖清洁区域?',
  1044. success: (res) => {
  1045. if (res.confirm) {
  1046. if (result.account) {
  1047. this.uploadToOther(data, {
  1048. account: result.account,
  1049. accountName: result.name,
  1050. accountId: result.id,
  1051. }, type);
  1052. } else {
  1053. this.uploadToOther(data, undefined, type);
  1054. }
  1055. } else if (res.cancel) {
  1056. console.log('用户点击取消');
  1057. }
  1058. }
  1059. });
  1060. } else if (result.state == '0000') {
  1061. this.showSelectAccount();
  1062. } else {
  1063. uni.showToast({
  1064. icon: "none",
  1065. title: result.info || "接口获取数据失败!",
  1066. });
  1067. }
  1068. },
  1069. goBack() {
  1070. uni.navigateTo({
  1071. url: "../receiptpage/receiptpage",
  1072. });
  1073. },
  1074. // 查看标本
  1075. viewSpecimen(workOrder) {
  1076. uni.navigateTo({
  1077. url: `../specimenDetail/specimenDetail?workOrderId=${workOrder.id}&associationTypeValue=${workOrder.taskType.associationType.value}`,
  1078. });
  1079. },
  1080. // 查看药品业务数据
  1081. viewDrugsBag(workOrder) {
  1082. uni.navigateTo({
  1083. url: `../drugsBagHistory/drugsBagHistory?id=${workOrder.drugs.id}&packid=${workOrder.drugs.packid}`,
  1084. });
  1085. },
  1086. // 查看血制品
  1087. viewBlood(workOrder) {
  1088. uni.showLoading({
  1089. title: "加载中",
  1090. mask: true,
  1091. });
  1092. post('/transflow/checkData', {
  1093. "type": "blood",
  1094. "orderId": workOrder.id
  1095. }).then(res => {
  1096. uni.hideLoading();
  1097. if(res.state == 200){
  1098. uni.navigateTo({
  1099. url: `../blood_list/blood_list?bloods=${encodeURIComponent(JSON.stringify(res.data.all))}`,
  1100. });
  1101. }else{
  1102. uni.showToast({
  1103. icon: "none",
  1104. title: res.msg || "接口获取数据失败!",
  1105. });
  1106. }
  1107. })
  1108. },
  1109. // 移除检查->知道了
  1110. know1() {
  1111. this.models1.disjunctor = false;
  1112. // this.getInfo(this.dataId);
  1113. uni.navigateTo({
  1114. url: '../receiptpage/receiptpage',
  1115. });
  1116. },
  1117. // 移除检查->确定
  1118. ok1(data) {
  1119. console.log(data);
  1120. const {
  1121. value,
  1122. yyTime
  1123. } = data;
  1124. if (!value) {
  1125. //没有选择移除原因
  1126. uni.showModal({
  1127. title: "提示",
  1128. content: "请选择移除原因!",
  1129. showCancel: false,
  1130. success: function(res) {
  1131. if (res.confirm) {
  1132. console.log("用户点击确定");
  1133. } else if (res.cancel) {
  1134. console.log("用户点击取消");
  1135. }
  1136. },
  1137. });
  1138. return;
  1139. } else if (value == 2 && !yyTime) {
  1140. //没有填写预约时间
  1141. uni.showModal({
  1142. title: "提示",
  1143. content: "请填写预约时间!",
  1144. showCancel: false,
  1145. success: function(res) {
  1146. if (res.confirm) {
  1147. console.log("用户点击确定");
  1148. } else if (res.cancel) {
  1149. console.log("用户点击取消");
  1150. }
  1151. },
  1152. });
  1153. return;
  1154. }
  1155. this.models1.disjunctor = false;
  1156. let postData = {
  1157. gdId: this.infoDATA.id,
  1158. inspectId: this.currentInspect.id,
  1159. reason: value == 1 ? 'checkDone' : 'modificationTime',
  1160. yyTime: value == 1 ? undefined : yyTime,
  1161. };
  1162. uni.showLoading({
  1163. title: '移除中',
  1164. mask: true,
  1165. })
  1166. post('/workerOrder/removeInspectByOderId', postData).then(res => {
  1167. uni.hideLoading();
  1168. if (res.state == 200) {
  1169. uni.showToast({
  1170. icon: 'none',
  1171. title: '移除成功!',
  1172. success() {
  1173. setTimeout(() => {
  1174. uni.navigateTo({
  1175. url: '../receiptpage/receiptpage',
  1176. });
  1177. }, 1500)
  1178. }
  1179. })
  1180. } else {
  1181. uni.showToast({
  1182. icon: 'none',
  1183. title: '移除失败!',
  1184. })
  1185. }
  1186. })
  1187. },
  1188. // 移除检查->取消
  1189. cancel1() {
  1190. this.models1.disjunctor = false;
  1191. },
  1192. // 移除
  1193. remove(item) {
  1194. this.currentInspect = item;
  1195. this.models1 = {
  1196. disjunctor: true,
  1197. content: "请选择您移除检查的原因?检查移除后将会自动完成或删除工单!",
  1198. icon: "warn",
  1199. operate: {
  1200. ok: "确定",
  1201. cancel: "取消",
  1202. },
  1203. };
  1204. },
  1205. // 拍照
  1206. photograph(data) {
  1207. photographTool(data);
  1208. },
  1209. // 特殊情况输入文字
  1210. textareaInput(value) {
  1211. this.textareaText = value;
  1212. if (value.trim().length >= 10) {
  1213. this.models.operate = {
  1214. ok: "确定",
  1215. cancel: "取消",
  1216. };
  1217. } else {
  1218. this.models.operate = {
  1219. cancel: "取消",
  1220. };
  1221. }
  1222. },
  1223. // 追加陪检人/执行人按钮
  1224. additionalUser(data) {
  1225. if (!this.SMFlag) {
  1226. return;
  1227. }
  1228. this.SMFlag = false;
  1229. console.log(data, 'data');
  1230. SM().then((ress1) => {
  1231. uni.showLoading({
  1232. title: "加载中",
  1233. mask: true,
  1234. });
  1235. //检验二维码的有效性
  1236. post("/dept/scanning", {
  1237. content: ress1,
  1238. taskTypeId: data.taskType.id,
  1239. gdState: data.gdState.id,
  1240. }).then((result) => {
  1241. this.SMFlag = true;
  1242. // this.currentCode = result.code;
  1243. if (result.state == 200 || result.state == 201) {
  1244. console.log(result);
  1245. let user;
  1246. try{
  1247. // json对象字符串
  1248. user = JSON.parse(result.code);
  1249. // 不是json对象字符串
  1250. if(Object.prototype.toString.call(user).slice(8, -1).toLowerCase() !== 'object'){
  1251. user = result.code;
  1252. }
  1253. }catch(e){
  1254. user = result.code;
  1255. }
  1256. if(Object.prototype.toString.call(user).slice(8, -1).toLowerCase() === 'object' && user.type == 'myQrCode' && user.id && user.name){
  1257. user.qrcode = ress1;
  1258. uni.hideLoading();
  1259. if(data.taskType.associationType.value == 'other'){
  1260. this.showCheckboxModal(user, data);
  1261. }else{
  1262. uni.showModal({
  1263. title: "提示",
  1264. content: `您要最追加的人员为${user.name},您确认要追加吗?`,
  1265. success: (res) => {
  1266. if (res.confirm) {
  1267. console.log("用户点击确定");
  1268. this.additionalUserCommon(user, data.id, data.worker.id, false);
  1269. } else if (res.cancel) {
  1270. console.log("用户点击取消");
  1271. }
  1272. },
  1273. });
  1274. }
  1275. }else if(Object.prototype.toString.call(user).slice(8, -1).toLowerCase() === 'string'){
  1276. let identityCardNumber = user;
  1277. // 根据身份证获取name
  1278. // todo
  1279. post("/data/fetchDataList/user", {idx: 0, sum: 1, user: { identityCardNumber }}).then((result) => {
  1280. uni.hideLoading();
  1281. if(result.status == 200){
  1282. result.list = result.list || [];
  1283. if(result.list.length){
  1284. let user = {name: result.list[0].name, identityCardNumber, qrcode: ress1};
  1285. if(data.taskType.associationType.value == 'other'){
  1286. this.showCheckboxModal(user, data);
  1287. }else{
  1288. uni.showModal({
  1289. title: "提示",
  1290. content: `您要最追加的人员为${user.name},您确认要追加吗?`,
  1291. success: (res) => {
  1292. if (res.confirm) {
  1293. console.log("用户点击确定");
  1294. this.additionalUserCommon(user, data.id, data.worker.id, false);
  1295. } else if (res.cancel) {
  1296. console.log("用户点击取消");
  1297. }
  1298. },
  1299. });
  1300. }
  1301. }else{
  1302. uni.navigateTo({
  1303. url: `../result_error/result_error?qrcode=${ress1}&msg=扫描二维码无法找到用户!`,
  1304. });
  1305. }
  1306. }else{
  1307. uni.navigateTo({
  1308. url: `../result_error/result_error?qrcode=${ress1}&msg=请扫描正确的二维码!`,
  1309. });
  1310. }
  1311. })
  1312. }else{
  1313. uni.hideLoading();
  1314. uni.navigateTo({
  1315. url: `../result_error/result_error?qrcode=${ress1}&msg=请扫描正确的二维码!`,
  1316. });
  1317. }
  1318. } else {
  1319. uni.hideLoading();
  1320. uni.navigateTo({
  1321. url: `../result_error/result_error?qrcode=${ress1}&msg=${result.info || '接口获取数据失败!'}`,
  1322. });
  1323. }
  1324. });
  1325. }).catch(err=>{
  1326. this.SMFlag = true;
  1327. });
  1328. },
  1329. // 追加陪检人/执行人
  1330. additionalUserCommon(user, gdId, workerId, bulkCopy) {
  1331. console.log(user, gdId, workerId, bulkCopy);
  1332. uni.showLoading({
  1333. title: "加载中",
  1334. mask: true,
  1335. });
  1336. // 二维码里有id则传userid,没有则传identityCardNumber
  1337. post("/workerOrder/additionalAccompanyingPersonnel", {
  1338. userId: user.id || undefined,
  1339. identityCardNumber: !user.id ? user.identityCardNumber : undefined,
  1340. gdId,
  1341. workerId,
  1342. bulkCopy: bulkCopy ? 1 : undefined,
  1343. }).then((result) => {
  1344. uni.hideLoading();
  1345. if (result.state == 200) {
  1346. this.getInfo(gdId);
  1347. uni.showToast({
  1348. icon: 'none',
  1349. duration: 4000,
  1350. title: '操作成功!'
  1351. })
  1352. } else {
  1353. uni.navigateTo({
  1354. url: `../result_error/result_error?qrcode=${user.qrcode}&msg=${result.msg || '接口获取数据失败!'}`,
  1355. });
  1356. }
  1357. });
  1358. },
  1359. // 特殊情况关闭按钮
  1360. specialCloseClick() {
  1361. this.textareaFlag = true;
  1362. this.models = {
  1363. title: "特殊情况关闭",
  1364. disjunctor: true,
  1365. content: "",
  1366. icon: "",
  1367. operate: {
  1368. cancel: "取消",
  1369. },
  1370. };
  1371. },
  1372. ok() {
  1373. uni.showLoading({
  1374. title: "加载中",
  1375. mask: true,
  1376. });
  1377. post("/workerOrder/specialCaseClose", {
  1378. workOrderId: this.dataId,
  1379. reason: this.textareaText.trim(),
  1380. }).then((result) => {
  1381. this.models.disjunctor = false;
  1382. this.textareaFlag = false;
  1383. this.textareaText = "";
  1384. if (result.state == 200) {
  1385. uni.hideLoading();
  1386. this.models = {
  1387. disjunctor: true,
  1388. content: "工单关闭成功",
  1389. icon: "success",
  1390. operate: {
  1391. know: "知道了",
  1392. },
  1393. };
  1394. } else {
  1395. uni.hideLoading();
  1396. this.models = {
  1397. disjunctor: true,
  1398. content: "工单关闭失败",
  1399. icon: "error",
  1400. operate: {
  1401. know: "知道了",
  1402. },
  1403. };
  1404. }
  1405. });
  1406. },
  1407. cancel() {
  1408. this.models.disjunctor = false;
  1409. this.textareaFlag = false;
  1410. this.textareaText = "";
  1411. },
  1412. // 点击可查看检查详情
  1413. show(type) {
  1414. this.showType = type;
  1415. if (type === "show") {
  1416. //展开
  1417. // 计算高度
  1418. const query = uni.createSelectorQuery().in(this);
  1419. query
  1420. .selectAll(".page_item_infos")
  1421. .boundingClientRect((data) => {
  1422. let len = data.reduce((prev, current) => {
  1423. return prev + current.height;
  1424. }, 0);
  1425. this.animation.height(len).step();
  1426. this.animationData = this.animation.export();
  1427. })
  1428. .exec();
  1429. } else if (type === "hiddle") {
  1430. this.animation.height(0).step();
  1431. this.animationData = this.animation.export();
  1432. }
  1433. },
  1434. // 抢单->知道了
  1435. know() {
  1436. this.models.disjunctor = false;
  1437. uni.navigateTo({
  1438. url: "../receiptpage/receiptpage",
  1439. });
  1440. },
  1441. // 抢单
  1442. showAlert() {
  1443. get("/workerOrder/takeOrder/" + this.infoDATA.id).then((res) => {
  1444. if (res.status == 200) {
  1445. this.models = {
  1446. disjunctor: true,
  1447. content: "接单成功",
  1448. icon: "success",
  1449. operate: {
  1450. know: "知道了",
  1451. },
  1452. };
  1453. } else {
  1454. uni.showToast({
  1455. icon: "none",
  1456. title: res.msg || "接口获取数据失败!",
  1457. });
  1458. }
  1459. });
  1460. },
  1461. // 请求详细页面的数据(除标本轮巡和标本配送)
  1462. getInfo(id) {
  1463. uni.showLoading({
  1464. title: "加载中",
  1465. mask: true,
  1466. });
  1467. get("/api/fetchData/workOrder/" + id).then((res) => {
  1468. uni.hideLoading();
  1469. if (res.status == 200) {
  1470. this.infoDATA = res.data;
  1471. // 计算高度
  1472. setTimeout(() => {
  1473. const query = uni.createSelectorQuery().in(this);
  1474. query
  1475. .selectAll(".page_item_infos")
  1476. .boundingClientRect((data) => {
  1477. let len = data.reduce((prev, current) => {
  1478. return prev + current.height;
  1479. }, 0);
  1480. this.animation.height(len).step();
  1481. this.animationData = this.animation.export();
  1482. })
  1483. .exec();
  1484. }, 500)
  1485. } else {
  1486. uni.showToast({
  1487. icon: "none",
  1488. title: res.msg || "接口获取数据失败!",
  1489. });
  1490. }
  1491. });
  1492. },
  1493. // 请求详细页面的数据
  1494. getInfoBySpecimen(id) {
  1495. uni.showLoading({
  1496. title: "加载中",
  1497. mask: true,
  1498. });
  1499. post("/api/getWechatItem", {
  1500. id
  1501. }).then((res) => {
  1502. uni.hideLoading();
  1503. if (res.state == 200) {
  1504. this.actualDelivery = res.actualDelivery;
  1505. this.infoDATA = res.data;
  1506. // 计算高度
  1507. setTimeout(() => {
  1508. const query = uni.createSelectorQuery().in(this);
  1509. query
  1510. .selectAll(".page_item_infos")
  1511. .boundingClientRect((data) => {
  1512. let len = data.reduce((prev, current) => {
  1513. return prev + current.height;
  1514. }, 0);
  1515. this.animation.height(len).step();
  1516. this.animationData = this.animation.export();
  1517. })
  1518. .exec();
  1519. }, 500)
  1520. } else {
  1521. uni.showToast({
  1522. icon: "none",
  1523. title: res.msg || "接口获取数据失败!",
  1524. });
  1525. }
  1526. });
  1527. },
  1528. // 获取检查页面控制开关
  1529. getTaskConfig(){
  1530. post("/simple/data/fetchDataList/taskTypeConfig", {
  1531. "idx": 0,
  1532. "sum": 10,
  1533. "taskTypeConfig": {
  1534. "taskTypeDTO": {
  1535. "hosId": {
  1536. "id": this.hosId
  1537. },
  1538. "associationType": {
  1539. "key": "association_types",
  1540. "value": "inspect"
  1541. }
  1542. }
  1543. }
  1544. }).then((result) => {
  1545. if (result.status == 200) {
  1546. if(result.list && result.list[0]){
  1547. this.multiplayerMode = result.list[0].multiplayerMode;
  1548. this.handoverOrder = result.list[0].handoverOrder;
  1549. }else{
  1550. this.multiplayerMode = 0;
  1551. this.handoverOrder = 0;
  1552. }
  1553. } else {
  1554. this.multiplayerMode = 0;
  1555. this.handoverOrder = 0;
  1556. }
  1557. });
  1558. },
  1559. // 获取临床服务页面控制开关
  1560. getTaskOtherConfig(options){
  1561. post("/simple/data/fetchDataList/taskTypeConfig", {
  1562. "idx": 0,
  1563. "sum": 10,
  1564. "taskTypeConfig": {
  1565. "hosId": this.hosId,
  1566. "associationType": options.associationTypeId,
  1567. }
  1568. }).then((result) => {
  1569. if (result.status == 200) {
  1570. if(result.list && result.list[0]){
  1571. this.clinicalMultiplayerMode = result.list[0].clinicalMultiplayerMode;
  1572. let clinicalTaskIds = result.list[0].clinicalTaskIds ? result.list[0].clinicalTaskIds.split(',') : [] ;
  1573. this.clinicalTaskIdsFlag = clinicalTaskIds.includes(options.taskTypeId);
  1574. console.log(clinicalTaskIds, options.taskTypeId)
  1575. }else{
  1576. this.clinicalMultiplayerMode = 0;
  1577. this.clinicalTaskIdsFlag = false;
  1578. }
  1579. } else {
  1580. this.clinicalMultiplayerMode = 0;
  1581. this.clinicalTaskIdsFlag = false;
  1582. }
  1583. });
  1584. },
  1585. },
  1586. onLoad(options) {
  1587. console.log(options, 'options');
  1588. options.associationTypeValue === 'drugsBag' && this.isShowDrugsBatchInfo();
  1589. this.currentUserId = uni.getStorageSync('userData').user.id;
  1590. let id = options.id;
  1591. this.dataId = id;
  1592. if (
  1593. options.associationTypeValue == 'specimen' ||
  1594. options.associationTypeValue == 'specimenPlan'
  1595. ) {
  1596. this.getInfoBySpecimen(id);
  1597. } else {
  1598. this.getInfo(id);
  1599. }
  1600. if (
  1601. options.associationTypeValue == 'inspect' ||
  1602. options.associationTypeValue == 'patientTransport'
  1603. ) {
  1604. this.getTaskConfig();
  1605. }else if(options.associationTypeValue == 'other'){
  1606. this.getTaskOtherConfig(options);
  1607. }
  1608. // 创建动画
  1609. this.animation = uni.createAnimation({
  1610. duration: 500,
  1611. timingFunction: "ease",
  1612. });
  1613. // #ifdef APP-PLUS
  1614. webHandle("no", "app");
  1615. // #endif
  1616. // #ifdef H5
  1617. webHandle("no", "wx");
  1618. // #endif
  1619. },
  1620. onUnload() {
  1621. // 页面关闭后清空数据
  1622. this.animationData = {};
  1623. },
  1624. };
  1625. </script>
  1626. <style lang="less">
  1627. .Receipt_infopage {
  1628. padding: 0 20rpx;
  1629. overflow: hidden;
  1630. .red {
  1631. color: red !important;
  1632. font-weight: bold !important;
  1633. }
  1634. .green {
  1635. color: #49b856 !important;
  1636. font-weight: bold !important;
  1637. }
  1638. .title {
  1639. font-size: 48rpx;
  1640. margin-top: 24rpx;
  1641. margin-bottom: 24rpx;
  1642. text-align: center;
  1643. }
  1644. .page_item {
  1645. margin-top: 16rpx;
  1646. margin-bottom: 124rpx;
  1647. background: #fff;
  1648. border-radius: 8rpx;
  1649. padding: 0 16rpx;
  1650. border: 2rpx solid #e5e9ed;
  1651. .L {
  1652. width: 40rpx;
  1653. height: 40rpx;
  1654. border-radius: 50%;
  1655. background: #f9fafb;
  1656. position: relative;
  1657. left: -50rpx;
  1658. top: 66rpx;
  1659. }
  1660. .R {
  1661. width: 40rpx;
  1662. height: 40rpx;
  1663. border-radius: 50%;
  1664. background: #f9fafb;
  1665. position: relative;
  1666. float: right;
  1667. right: -50rpx;
  1668. top: 26rpx;
  1669. }
  1670. .starting {
  1671. width: 50rpx;
  1672. height: 50rpx;
  1673. color: #fff;
  1674. background: #49b856;
  1675. display: inline-block;
  1676. border-radius: 50%;
  1677. text-align: center;
  1678. line-height: 46rpx;
  1679. font-size: 32rpx;
  1680. margin-right: 6rpx;
  1681. }
  1682. .End {
  1683. width: 50rpx;
  1684. height: 50rpx;
  1685. color: #fff;
  1686. background: #39b199;
  1687. display: inline-block;
  1688. border-radius: 50%;
  1689. text-align: center;
  1690. line-height: 46rpx;
  1691. font-size: 32rpx;
  1692. margin-right: 6rpx;
  1693. }
  1694. .page_item_top {
  1695. height: 86rpx;
  1696. border-bottom: 2rpx dashed #666;
  1697. padding: 0 16rpx;
  1698. .page_item_top_L {
  1699. height: 100%;
  1700. float: left;
  1701. line-height: 88rpx;
  1702. .emergencys {
  1703. background: #ff3b53 !important;
  1704. width: 124rpx !important;
  1705. }
  1706. .emergency {
  1707. background: #ff3b53 !important;
  1708. }
  1709. .emergency1 {
  1710. background: #49b856 !important;
  1711. }
  1712. .page_item_cont_start {
  1713. text-align: center;
  1714. height: 44rpx;
  1715. width: 104rpx;
  1716. line-height: 44rpx;
  1717. border-radius: 8rpx;
  1718. background: #49b856;
  1719. color: #fff;
  1720. display: inline-block;
  1721. font-size: 28rpx;
  1722. .cubeic-star {
  1723. margin-right: 8rpx;
  1724. }
  1725. }
  1726. .L_time {
  1727. color: #6cc076;
  1728. font-size: 32rpx;
  1729. }
  1730. .L_text {
  1731. font-size: 32rpx;
  1732. display: inline-block;
  1733. font-weight: 700;
  1734. margin-right: 16rpx;
  1735. }
  1736. }
  1737. .page_item_top_R {
  1738. height: 60rpx;
  1739. float: right;
  1740. padding-top: 20rpx;
  1741. font-size: 32rpx;
  1742. position: absolute;
  1743. right: 50rpx;
  1744. .L_iocn {
  1745. display: inline-block;
  1746. height: 52rpx;
  1747. line-height: 48rpx;
  1748. color: rgb(7, 134, 60);
  1749. font-size: 36rpx;
  1750. font-weight: 700;
  1751. }
  1752. }
  1753. }
  1754. .page_item_cont {
  1755. min-height: 180rpx;
  1756. // max-height: 424rpx;
  1757. padding: 0 16rpx;
  1758. text-align: left;
  1759. position: relative;
  1760. .text_big {
  1761. font-size: 32rpx;
  1762. position: absolute;
  1763. right: 16rpx;
  1764. font-weight: 700;
  1765. margin-top: 10rpx;
  1766. }
  1767. .text_big2 {
  1768. font-size: 32rpx;
  1769. position: absolute;
  1770. right: 16rpx;
  1771. font-weight: 700;
  1772. }
  1773. .line {
  1774. height: 20rpx;
  1775. width: 2rpx;
  1776. border-left: 2rpx solid #666;
  1777. position: absolute;
  1778. top: 82rpx;
  1779. left: 40rpx;
  1780. }
  1781. .lines {
  1782. height: 40%;
  1783. width: 2rpx;
  1784. border-left: 2rpx solid #666;
  1785. position: absolute;
  1786. top: 23%;
  1787. left: 36rpx;
  1788. }
  1789. .page_item_cont_T {
  1790. padding-top: 28rpx;
  1791. font-size: 28rpx;
  1792. .page_item_cont_title {
  1793. height: 100%;
  1794. font-size: 32rpx;
  1795. }
  1796. }
  1797. .page_item_cont_B {
  1798. padding-top: 28rpx;
  1799. margin-bottom: 28rpx;
  1800. .page_item_cont_title {
  1801. height: 60rpx;
  1802. font-size: 32rpx;
  1803. }
  1804. .page_item_cont_title1 {
  1805. height: 60rpx;
  1806. line-height: 60rpx;
  1807. font-size: 32rpx;
  1808. padding-left: 64rpx;
  1809. }
  1810. }
  1811. }
  1812. .page_item_foot {
  1813. border-top: 2rpx dashed #666;
  1814. border-bottom: 2rpx dashed #666;
  1815. padding: 28rpx 16rpx;
  1816. text-align: left;
  1817. .page_item_foot_text {
  1818. font-size: 32rpx;
  1819. margin-bottom: 20rpx;
  1820. .text1 {
  1821. color: rgb(102, 102, 102);
  1822. }
  1823. .text2 {
  1824. float: right;
  1825. font-weight: 700;
  1826. }
  1827. }
  1828. }
  1829. .page_item_info {
  1830. padding: 20rpx 16rpx;
  1831. text-align: left;
  1832. line-height: 60rpx;
  1833. font-size: 32rpx;
  1834. .spe_list {
  1835. padding: 32rpx 0;
  1836. border-top: 2rpx solid #666;
  1837. .page_item_info_title {
  1838. color: #666;
  1839. }
  1840. }
  1841. .page_item_info_title {
  1842. font-weight: 700;
  1843. }
  1844. .text {
  1845. float: right;
  1846. font-weight: 700;
  1847. .page_item_info_txt {
  1848. color: #49b856;
  1849. margin-left: 8rpx;
  1850. margin-right: 8rpx;
  1851. }
  1852. }
  1853. }
  1854. #infos {
  1855. height: 0;
  1856. overflow: hidden;
  1857. }
  1858. .page_item_infos {
  1859. padding-top: 20rpx;
  1860. padding-bottom: 20rpx;
  1861. border-bottom: 2rpx dashed #666;
  1862. .page_item_info2 {
  1863. text-align: left;
  1864. line-height: 60rpx;
  1865. font-size: 32rpx;
  1866. padding-left: 16rpx;
  1867. .page_item_foot_text {
  1868. font-size: 32rpx;
  1869. margin-bottom: 20rpx;
  1870. &:last-of-type {
  1871. margin-bottom: 0;
  1872. }
  1873. .text1 {
  1874. color: rgb(102, 102, 102);
  1875. }
  1876. .text2 {
  1877. float: right;
  1878. font-weight: 700;
  1879. }
  1880. .btn {
  1881. height: 66rpx;
  1882. width: 132rpx;
  1883. margin: 0 auto;
  1884. background-color: #49b856;
  1885. color: #fff;
  1886. border-radius: 8rpx;
  1887. font-size: 32rpx;
  1888. margin-top: 20rpx;
  1889. text-align: center;
  1890. }
  1891. }
  1892. }
  1893. }
  1894. #pulldown {
  1895. color: #49b856;
  1896. font-size: 36rpx;
  1897. height: 60rpx;
  1898. text-align: center;
  1899. .cubeic-pulldown {
  1900. font-size: 48rpx;
  1901. position: relative;
  1902. bottom: 6rpx;
  1903. }
  1904. }
  1905. #pullup {
  1906. color: #49b856;
  1907. font-size: 36rpx;
  1908. height: 60rpx;
  1909. text-align: center;
  1910. .cubeic-pullup {
  1911. font-size: 48rpx;
  1912. position: relative;
  1913. top: 12rpx;
  1914. }
  1915. }
  1916. }
  1917. .foot_btn2 {
  1918. position: fixed;
  1919. bottom: 0;
  1920. right: 20rpx;
  1921. left: 20rpx;
  1922. line-height: 66rpx;
  1923. height: 100rpx;
  1924. border-top: 2rpx solid #e5e9ed;
  1925. background: #f9fafb;
  1926. display: flex;
  1927. justify-content: space-between;
  1928. .btn2,
  1929. .btn3 {
  1930. height: 66rpx;
  1931. flex: 1;
  1932. margin: 0 1%;
  1933. background-image: linear-gradient(to right, #72c172, #3bb197);
  1934. color: #fff;
  1935. border-radius: 8rpx;
  1936. font-size: 28rpx;
  1937. margin-top: 8rpx;
  1938. margin-bottom: 8rpx;
  1939. text-align: center;
  1940. }
  1941. }
  1942. }
  1943. </style>