receipt_infopage.vue 71 KB

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