receipt_infopage.vue 70 KB

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