receipt_infopage.vue 73 KB

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