receipt_infopage.vue 44 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323
  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_info" style="padding: 0;" v-if="infoDATA.workOrderRemark !== undefined">
  145. <view class="page_item_foot_text">
  146. <view class="text1">工单备注</view>
  147. <view class="text2" style="float: none;word-break: break-all;">{{ infoDATA.workOrderRemark }}</view>
  148. </view>
  149. </view>
  150. <view class="page_item_foot_text" v-if="
  151. infoDATA.taskType.associationType.value == 'inspect' ||
  152. infoDATA.taskType.associationType.value == 'patientTransport'
  153. ">
  154. <text class="text1">携带设备</text>
  155. <text class="text2">{{ infoDATA.goods || "暂无" }}</text>
  156. </view>
  157. <view class="page_item_foot_text" v-if="
  158. infoDATA.taskType.associationType.value == 'inspect' ||
  159. infoDATA.taskType.associationType.value == 'patientTransport'
  160. ">
  161. <text class="text1">患者姓名</text>
  162. <text class="text2">{{ infoDATA.patient.patientName }}({{
  163. infoDATA.patient.residenceNo
  164. }})</text>
  165. </view>
  166. <view class="page_item_foot_text" v-if="
  167. (infoDATA.taskType.associationType.value == 'inspect' ||
  168. infoDATA.taskType.associationType.value == 'patientTransport')&&infoDATA.patient.careLevel
  169. ">
  170. <text class="text1">{{infoDATA.patient.careLevel.desc}}</text>
  171. <text class="text2"
  172. :class="[(infoDATA.patient.careLevel.value==0||infoDATA.patient.careLevel.value==1)?'red':'green']">{{infoDATA.patient.careLevel.name}}</text>
  173. </view>
  174. <view class="page_item_foot_text" v-if="
  175. (infoDATA.taskType.associationType.value == 'inspect' ||
  176. infoDATA.taskType.associationType.value == 'patientTransport')&&infoDATA.patient.illnessState
  177. ">
  178. <text class="text1">{{infoDATA.patient.illnessState.desc}}</text>
  179. <text class="text2"
  180. :class="{red:infoDATA.patient.illnessState.value==2||infoDATA.patient.illnessState.value==3}">{{infoDATA.patient.illnessState.name}}</text>
  181. </view>
  182. <view class="page_item_foot_text"
  183. v-if="
  184. (infoDATA.taskType.associationType.value == 'inspect' ||
  185. infoDATA.taskType.associationType.value == 'patientTransport')&&(infoDATA.isAccompany===1||infoDATA.isAccompany===0)">
  186. <text class="text1">陪同情况</text>
  187. <text class="text2"
  188. :class="{red:infoDATA.isAccompany===1}">{{ infoDATA.isAccompany===1?'需要医护陪同':'无需医护陪同'}}</text>
  189. </view>
  190. <view class="page_item_foot_text"
  191. v-if="(infoDATA.taskType.associationType.value == 'inspect' || infoDATA.taskType.associationType.value == 'patientTransport') && infoDATA.inspectScore">
  192. <text class="text1">陪检方式</text>
  193. <text class="text2">{{ infoDATA.inspectScore.inspectMode }}</text>
  194. </view>
  195. <view class="page_item_foot_text"
  196. v-if="(infoDATA.taskType.associationType.value == 'inspect' || infoDATA.taskType.associationType.value == 'patientTransport') && infoDATA.inspectUsers">
  197. <text class="text1">陪检人员</text>
  198. <text class="text2">{{ infoDATA.inspectUsers }}</text>
  199. </view>
  200. <view class="page_item_foot_text"
  201. v-if="(infoDATA.taskType.associationType.value == 'inspect' || infoDATA.taskType.associationType.value == 'patientTransport') && infoDATA.inspectUsersNum">
  202. <text class="text1">陪检人数</text>
  203. <text class="text2">{{ infoDATA.inspectUsersNum }}</text>
  204. </view>
  205. </view>
  206. <!-- 药包 -->
  207. <view class="page_item_info" v-if="infoDATA.taskType.associationType.value == 'drugsBag'">
  208. <text class="page_item_info_title">药包编码</text>
  209. <text class="text">{{ infoDATA.drugs?infoDATA.drugs.packid:'无' }}</text>
  210. </view>
  211. <!-- 血制品 -->
  212. <view class="page_item_info" v-if="
  213. infoDATA.taskType.associationType.value == 'ordinary' &&
  214. infoDATA.taskType.ordinaryField.value == 'blood'
  215. ">
  216. <view>
  217. <text class="page_item_info_title">·</text>
  218. <text class="text">
  219. 送达数量
  220. <text class="page_item_info_txt">{{infoDATA.deliveryNum || '无'}}</text>
  221. </text>
  222. <text class="text">
  223. 实收数量
  224. <text class="page_item_info_txt">{{infoDATA.actualReceiveNum || '无'}}</text>
  225. </text>
  226. <text class="text">
  227. 应收数量
  228. <text class="page_item_info_txt">{{infoDATA.expectReceiveNum || '无'}}</text>
  229. </text>
  230. </view>
  231. </view>
  232. <!-- 标本 -->
  233. <view class="page_item_info" v-if="
  234. infoDATA.taskType.associationType.value == 'specimen' ||
  235. infoDATA.taskType.associationType.value == 'specimenPlan'
  236. ">
  237. <view>
  238. <text class="page_item_info_title">标本信息</text>
  239. <text class="text">
  240. 预计接收
  241. <text class="page_item_info_txt">{{
  242. infoDATA.expectReceiveNum || '无'
  243. }}</text>
  244. </text>
  245. <text class="text"
  246. v-if="infoDATA.gdState.value == 5 || infoDATA.gdState.value == 6 || infoDATA.gdState.value == 7">
  247. 扫描接收
  248. <text class="page_item_info_txt">{{infoDATA.actualReceiveNum || '无'}}</text>
  249. </text>
  250. <text class="text" v-if="infoDATA.gdState.value == 6 || infoDATA.gdState.value == 7">
  251. 实际送达
  252. <text class="page_item_info_txt">{{actualDelivery || '无'}}</text>
  253. </text>
  254. </view>
  255. <view v-for="spe in infoDATA.specimenSet" :key="spe.id" class="spe_list">
  256. <view>
  257. <text class="page_item_info_title">标本类型</text>
  258. <text class="text">{{ spe.stype ? spe.stype.name : "-" }}({{
  259. spe.urgent == 1 ? "急" : "普"
  260. }})</text>
  261. </view>
  262. <view>
  263. <text class="page_item_info_title">标本编码</text>
  264. <text class="text">{{ spe.scode }}</text>
  265. </view>
  266. <view>
  267. <text class="page_item_info_title">患者姓名</text>
  268. <text class="text">{{ spe.patientName }}<text v-if="spe.bedNum">({{spe.bedNum}})</text></text>
  269. </view>
  270. <view>
  271. <text class="page_item_info_title">目标科室</text>
  272. <text class="text">{{
  273. spe.checkDept ? spe.checkDept.dept : "-"
  274. }}</text>
  275. </view>
  276. </view>
  277. </view>
  278. <!-- 静配 -->
  279. <view class="page_item_info" v-if="infoDATA.taskType.associationType.value == 'jPBag'">
  280. <text class="page_item_info_title">药包编码</text>
  281. <text class="text">{{ infoDATA.staticDistri?infoDATA.staticDistri.packid:'无' }}</text>
  282. </view>
  283. <!-- 陪检 -->
  284. <view v-if="infoDATA.taskType.associationType.value == 'inspect'">
  285. <view class="page_item_info">
  286. <text class="page_item_info_title">检查信息</text>
  287. </view>
  288. <view id="infos" :animation="animationData">
  289. <view class="page_item_infos" v-for="(item, index) of infoDATA.checkList" :key="index">
  290. <view class="page_item_info2">
  291. <view class="page_item_foot_text">
  292. <text class="text1">检查科室</text>
  293. <text class="text2">{{ item.execDept?item.execDept.dept:'-' }}</text>
  294. </view>
  295. <view class="page_item_foot_text">
  296. <text class="text1">检查项</text>
  297. <text class="text2">{{ item.inspectName||'-' }}</text>
  298. </view>
  299. <view class="page_item_foot_text">
  300. <text class="text1">叫号信息</text>
  301. <text class="text2">{{ item.reservationNumber||'-' }}</text>
  302. </view>
  303. <view class="page_item_foot_text">
  304. <text class="text1">预约时间</text>
  305. <text class="text2">{{ item.yyTime || "-" }}</text>
  306. </view>
  307. <!-- <view class="page_item_foot_text"
  308. v-show="item.inspectState.value==1||item.inspectState.value==2||item.inspectState.value==4">
  309. <view class="btn" @click.stop="remove(item)">移除</view>
  310. </view> -->
  311. <view class="page_item_foot_text">
  312. <view class="btn" @click.stop="remove(item)">移除</view>
  313. </view>
  314. </view>
  315. </view>
  316. </view>
  317. <view id="pulldown" @click="show('show')" v-if="showType == 'hiddle'">
  318. 点击可查看检查详情
  319. <text class="cubeic-pulldown icon_transport transport-paixujiantouxia"></text>
  320. </view>
  321. <view id="pullup" @click="show('hiddle')" v-if="showType == 'show'">
  322. 点击可收起检查详情
  323. <text class="cubeic-pullup icon_transport transport-paixujiantoushang"></text>
  324. </view>
  325. </view>
  326. </view>
  327. <view class="foot_btn2 footerPadding">
  328. <view class="btn2" @click="showAlert" v-if="infoDATA.gdState.value == 2">接单</view>
  329. <!-- 如果不是静配,药配,标本配送,标本轮巡,万能交接 -->
  330. <template
  331. v-if="((!infoDATA.worker)||(infoDATA.worker&&infoDATA.worker.id == currentUserId))&&infoDATA.gdState.value != 6&&infoDATA.gdState.value != 7&&infoDATA.gdState.value != 11">
  332. <view :class="[infoDATA.taskType.specialCloseButton == 1 ? 'btn3' : 'btn2']" v-if="
  333. infoDATA.gdState.value != 2 &&
  334. infoDATA.taskType.associationType.value != 'jPBag' &&
  335. infoDATA.taskType.associationType.value != 'drugsBag' &&
  336. infoDATA.taskType.associationType.value != 'specimen' &&
  337. infoDATA.taskType.associationType.value != 'specimenPlan' &&
  338. infoDATA.taskType.associationType.value != 'ordinary'
  339. " hover-class="seimin-btn-hover">
  340. <smallScreen :sData="infoDATA" :sType="1">扫码</smallScreen>
  341. </view>
  342. <view :class="[infoDATA.taskType.specialCloseButton == 1 ? 'btn3' : 'btn2']" @click="photograph(infoDATA)" v-if="
  343. infoDATA.gdState.value != 2 &&
  344. infoDATA.taskType.associationType.value != 'jPBag' &&
  345. infoDATA.taskType.associationType.value != 'drugsBag' &&
  346. infoDATA.taskType.associationType.value != 'specimen' &&
  347. infoDATA.taskType.associationType.value != 'specimenPlan' &&
  348. infoDATA.taskType.associationType.value != 'other' &&
  349. infoDATA.taskType.associationType.value != 'ordinary' &&
  350. infoDATA.gdState.value == 4
  351. " hover-class="seimin-btn-hover">拍照</view>
  352. <view class="btn3" @click="specialCloseClick()" v-if="
  353. infoDATA.gdState.value != 2 &&
  354. infoDATA.taskType.associationType.value != 'jPBag' &&
  355. infoDATA.taskType.associationType.value != 'drugsBag' &&
  356. infoDATA.taskType.associationType.value != 'specimen' &&
  357. infoDATA.taskType.associationType.value != 'specimenPlan' &&
  358. infoDATA.taskType.associationType.value != 'ordinary' &&
  359. infoDATA.taskType.specialCloseButton == 1
  360. " hover-class="seimin-btn-hover">特殊情况关闭</view>
  361. </template>
  362. <!-- 如果不是患者陪检或患者转运或其他,万能交接 -->
  363. <view :class="[infoDATA.taskType.specialCloseButton == 1 ? 'btn3' : 'btn2']" v-if="
  364. infoDATA.gdState.value != 2 &&
  365. infoDATA.taskType.associationType.value != 'patientTransport' &&
  366. infoDATA.taskType.associationType.value != 'inspect' &&
  367. infoDATA.taskType.associationType.value != 'other' &&
  368. infoDATA.taskType.associationType.value != 'ordinary'
  369. " hover-class="seimin-btn-hover">
  370. <smallScreen :sData="infoDATA" :sType="2">扫码</smallScreen>
  371. </view>
  372. <!-- 如果是万能交接 -->
  373. <view :class="[infoDATA.taskType.specialCloseButton == 1 ? 'btn3' : 'btn2']"
  374. v-if="infoDATA.taskType.associationType.value == 'ordinary'"
  375. hover-class="seimin-btn-hover" @click="goBack()">
  376. 知道了
  377. </view>
  378. <view class="btn3" @click="specialCloseClick()" v-if="
  379. infoDATA.gdState.value != 2 &&
  380. infoDATA.taskType.associationType.value != 'patientTransport' &&
  381. infoDATA.taskType.associationType.value != 'inspect' &&
  382. infoDATA.taskType.associationType.value != 'other' &&
  383. infoDATA.taskType.specialCloseButton == 1
  384. " hover-class="seimin-btn-hover">特殊情况关闭</view>
  385. <view class="btn3" @click="viewSpecimen(infoDATA)" v-if="
  386. infoDATA.taskType.associationType.value == 'specimen' ||
  387. infoDATA.taskType.associationType.value == 'specimenPlan'
  388. " hover-class="seimin-btn-hover">查看标本</view>
  389. <view class="btn3" @click="viewDrugsBag(infoDATA)" v-if="infoDATA.taskType.associationType.value == 'drugsBag'" hover-class="seimin-btn-hover">查看业务流程</view>
  390. <view class="btn3" @click="viewBlood(infoDATA)" v-if="infoDATA.taskType.associationType.value == 'ordinary' && infoDATA.taskType.ordinaryField.value == 'blood'" hover-class="seimin-btn-hover">查看血制品</view>
  391. <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>
  392. </view>
  393. <!-- 弹窗 -->
  394. <showModel :title="models.title" :icon="models.icon" :disjunctor="models.disjunctor" :content="models.content"
  395. @know="know" :operate="models.operate" @ok="ok" @cancel="cancel" :textareaFlag="textareaFlag"
  396. @textareaInput="textareaInput"></showModel>
  397. <!-- 弹窗 -->
  398. <inspectRemoveModel :title="models1.title" :icon="models1.icon" :disjunctor="models1.disjunctor"
  399. :content="models1.content" @know="know1" :operate="models1.operate" @ok="ok1" @cancel="cancel1" :remove="true">
  400. </inspectRemoveModel>
  401. </view>
  402. </template>
  403. <script>
  404. import smallScreen from "../../components/smallScreen/smallScreen.vue";
  405. import {
  406. get,
  407. post,
  408. SM,
  409. webHandle
  410. } from "../../http/http.js";
  411. import {
  412. photographTool
  413. } from "../../tools/photograph.js";
  414. export default {
  415. data() {
  416. return {
  417. multiplayerMode: 0,
  418. hosId: uni.getStorageSync('userData').user.currentHospital.id,
  419. SMFlag:true,
  420. actualDelivery: 0,
  421. currentUserId: 0,
  422. // 弹窗model
  423. models: {
  424. disjunctor: false,
  425. },
  426. // 弹窗model1
  427. models1: {
  428. disjunctor: false,
  429. },
  430. currentInspect: null,
  431. showType: "show",
  432. infoDATA: {},
  433. dataId: "",
  434. animationData: {},
  435. // 特殊情况关闭原因开关
  436. textareaFlag: false,
  437. textareaText: "",
  438. };
  439. },
  440. filters: {
  441. // 自定义管道 yyTime
  442. yyTimeFilter: function(data) {
  443. if (data) {
  444. let nDate = null;
  445. if (typeof data == 'string') {
  446. let arr = data.split(/[-:\s]/);
  447. nDate = new Date(
  448. arr[0] - 0,
  449. arr[1] - 1,
  450. arr[2] - 0,
  451. arr[3] - 0,
  452. arr[4] - 0,
  453. 0
  454. );
  455. } else if (typeof data == 'number') {
  456. nDate = new Date(data);
  457. }
  458. const month = (nDate.getMonth() + 1).toString().padStart(2, 0);
  459. const date = nDate.getDate().toString().padStart(2, 0);
  460. const hour = nDate.getHours().toString().padStart(2, 0);
  461. const minute = nDate.getMinutes().toString().padStart(2, 0);
  462. return `${month}-${date} ${hour}:${minute}`;
  463. } else {
  464. return "-";
  465. }
  466. },
  467. },
  468. methods: {
  469. goBack() {
  470. uni.navigateTo({
  471. url: "../receiptpage/receiptpage",
  472. });
  473. },
  474. // 查看标本
  475. viewSpecimen(workOrder) {
  476. uni.navigateTo({
  477. url: `../specimenDetail/specimenDetail?workOrderId=${workOrder.id}&associationTypeValue=${workOrder.taskType.associationType.value}`,
  478. });
  479. },
  480. // 查看药品业务数据
  481. viewDrugsBag(workOrder) {
  482. uni.navigateTo({
  483. url: `../drugsBagHistory/drugsBagHistory?id=${workOrder.drugs.id}&packid=${workOrder.drugs.packid}`,
  484. });
  485. },
  486. // 查看血制品
  487. viewBlood(workOrder) {
  488. uni.showLoading({
  489. title: "加载中",
  490. mask: true,
  491. });
  492. post('/transflow/checkData', {
  493. "type": "blood",
  494. "orderId": workOrder.id
  495. }).then(res => {
  496. uni.hideLoading();
  497. if(res.state == 200){
  498. uni.navigateTo({
  499. url: `../blood_list/blood_list?bloods=${encodeURIComponent(JSON.stringify(res.data.all))}`,
  500. });
  501. }else{
  502. uni.showToast({
  503. icon: "none",
  504. title: "请求失败!",
  505. });
  506. }
  507. })
  508. },
  509. // 移除检查->知道了
  510. know1() {
  511. this.models1.disjunctor = false;
  512. // this.getInfo(this.dataId);
  513. uni.navigateTo({
  514. url: '../receiptpage/receiptpage',
  515. });
  516. },
  517. // 移除检查->确定
  518. ok1(data) {
  519. console.log(data);
  520. const {
  521. value,
  522. yyTime
  523. } = data;
  524. if (!value) {
  525. //没有选择移除原因
  526. uni.showModal({
  527. title: "提示",
  528. content: "请选择移除原因!",
  529. showCancel: false,
  530. success: function(res) {
  531. if (res.confirm) {
  532. console.log("用户点击确定");
  533. } else if (res.cancel) {
  534. console.log("用户点击取消");
  535. }
  536. },
  537. });
  538. return;
  539. } else if (value == 2 && !yyTime) {
  540. //没有填写预约时间
  541. uni.showModal({
  542. title: "提示",
  543. content: "请填写预约时间!",
  544. showCancel: false,
  545. success: function(res) {
  546. if (res.confirm) {
  547. console.log("用户点击确定");
  548. } else if (res.cancel) {
  549. console.log("用户点击取消");
  550. }
  551. },
  552. });
  553. return;
  554. }
  555. this.models1.disjunctor = false;
  556. let postData = {
  557. gdId: this.infoDATA.id,
  558. inspectId: this.currentInspect.id,
  559. reason: value == 1 ? 'checkDone' : 'modificationTime',
  560. yyTime: value == 1 ? undefined : yyTime,
  561. };
  562. uni.showLoading({
  563. title: '移除中',
  564. mask: true,
  565. })
  566. post('/workerOrder/removeInspectByOderId', postData).then(res => {
  567. uni.hideLoading();
  568. if (res.state == 200) {
  569. uni.showToast({
  570. icon: 'none',
  571. title: '移除成功!',
  572. success() {
  573. setTimeout(() => {
  574. uni.navigateTo({
  575. url: '../receiptpage/receiptpage',
  576. });
  577. }, 1500)
  578. }
  579. })
  580. } else {
  581. uni.showToast({
  582. icon: 'none',
  583. title: '移除失败!',
  584. })
  585. }
  586. })
  587. },
  588. // 移除检查->取消
  589. cancel1() {
  590. this.models1.disjunctor = false;
  591. },
  592. // 移除
  593. remove(item) {
  594. this.currentInspect = item;
  595. this.models1 = {
  596. disjunctor: true,
  597. content: "请选择您移除检查的原因?检查移除后将会自动完成或删除工单!",
  598. icon: "warn",
  599. operate: {
  600. ok: "确定",
  601. cancel: "取消",
  602. },
  603. };
  604. },
  605. // 拍照
  606. photograph(data) {
  607. photographTool(data);
  608. },
  609. // 特殊情况输入文字
  610. textareaInput(value) {
  611. this.textareaText = value;
  612. if (value.trim().length >= 10) {
  613. this.models.operate = {
  614. ok: "确定",
  615. cancel: "取消",
  616. };
  617. } else {
  618. this.models.operate = {
  619. cancel: "取消",
  620. };
  621. }
  622. },
  623. // 追加陪检人员按钮
  624. additionalUser(data) {
  625. if (!this.SMFlag) {
  626. return;
  627. }
  628. this.SMFlag = false;
  629. // this.currentData = data;
  630. console.log(data, 'data');
  631. SM().then((ress1) => {
  632. uni.showLoading({
  633. title: "加载中",
  634. mask: true,
  635. });
  636. //检验二维码的有效性
  637. post("/dept/scanning", {
  638. content: ress1,
  639. taskTypeId: data.taskType.id,
  640. gdState: data.gdState.id,
  641. }).then((result) => {
  642. this.SMFlag = true;
  643. // this.currentCode = result.code;
  644. if (result.state == 200 || result.state == 201) {
  645. uni.hideLoading();
  646. console.log(result);
  647. let user = {};
  648. try{
  649. user = JSON.parse(result.code);
  650. console.log(user);
  651. }catch(e){
  652. uni.showToast({
  653. icon: "none",
  654. title: "请扫描正确的二维码!",
  655. });
  656. }
  657. if(user.type == 'myQrCode' && user.id && user.name){
  658. uni.showModal({
  659. title: "提示",
  660. content: `您要最追加的人员为${user.name},您确认要追加吗?`,
  661. success: (res) => {
  662. if (res.confirm) {
  663. console.log("用户点击确定");
  664. this.additionalUserCommon(user.id, data.id, data.worker.id);
  665. } else if (res.cancel) {
  666. console.log("用户点击取消");
  667. }
  668. },
  669. });
  670. }else{
  671. uni.showToast({
  672. icon: "none",
  673. title: "请扫描正确的二维码!",
  674. });
  675. }
  676. } else {
  677. uni.hideLoading();
  678. uni.showToast({
  679. icon: "none",
  680. title: "请求失败!",
  681. });
  682. }
  683. });
  684. }).catch(err=>{
  685. this.SMFlag = true;
  686. });
  687. },
  688. // 追加陪检人
  689. additionalUserCommon(userId, gdId, workerId) {
  690. console.log(userId, gdId, workerId);
  691. uni.showLoading({
  692. title: "加载中",
  693. mask: true,
  694. });
  695. post("/workerOrder/additionalAccompanyingPersonnel", {
  696. userId,
  697. gdId,
  698. workerId,
  699. }).then((result) => {
  700. uni.hideLoading();
  701. if (result.state == 200) {
  702. this.getInfo(this.dataId);
  703. uni.showToast({
  704. icon: 'none',
  705. duration: 4000,
  706. title: '操作成功!'
  707. })
  708. } else {
  709. uni.showToast({
  710. icon: 'none',
  711. duration: 4000,
  712. title: result.msg || '操作失败!'
  713. })
  714. }
  715. });
  716. },
  717. // 特殊情况关闭按钮
  718. specialCloseClick() {
  719. this.textareaFlag = true;
  720. this.models = {
  721. title: "特殊情况关闭",
  722. disjunctor: true,
  723. content: "",
  724. icon: "",
  725. operate: {
  726. cancel: "取消",
  727. },
  728. };
  729. },
  730. ok() {
  731. uni.showLoading({
  732. title: "加载中",
  733. mask: true,
  734. });
  735. post("/workerOrder/specialCaseClose", {
  736. workOrderId: this.dataId,
  737. reason: this.textareaText.trim(),
  738. }).then((result) => {
  739. this.models.disjunctor = false;
  740. this.textareaFlag = false;
  741. this.textareaText = "";
  742. if (result.state == 200) {
  743. uni.hideLoading();
  744. this.models = {
  745. disjunctor: true,
  746. content: "工单关闭成功",
  747. icon: "success",
  748. operate: {
  749. know: "知道了",
  750. },
  751. };
  752. } else {
  753. uni.hideLoading();
  754. this.models = {
  755. disjunctor: true,
  756. content: "工单关闭失败",
  757. icon: "error",
  758. operate: {
  759. know: "知道了",
  760. },
  761. };
  762. }
  763. });
  764. },
  765. cancel() {
  766. this.models.disjunctor = false;
  767. this.textareaFlag = false;
  768. this.textareaText = "";
  769. },
  770. // 点击可查看检查详情
  771. show(type) {
  772. this.showType = type;
  773. if (type === "show") {
  774. //展开
  775. // 计算高度
  776. const query = uni.createSelectorQuery().in(this);
  777. query
  778. .selectAll(".page_item_infos")
  779. .boundingClientRect((data) => {
  780. let len = data.reduce((prev, current) => {
  781. return prev + current.height;
  782. }, 0);
  783. this.animation.height(len).step();
  784. this.animationData = this.animation.export();
  785. })
  786. .exec();
  787. } else if (type === "hiddle") {
  788. this.animation.height(0).step();
  789. this.animationData = this.animation.export();
  790. }
  791. },
  792. // 抢单->知道了
  793. know() {
  794. this.models.disjunctor = false;
  795. uni.navigateTo({
  796. url: "../receiptpage/receiptpage",
  797. });
  798. },
  799. // 抢单
  800. showAlert() {
  801. get("/workerOrder/takeOrder/" + this.infoDATA.id).then((res) => {
  802. if (res.status == 200) {
  803. this.models = {
  804. disjunctor: true,
  805. content: "接单成功",
  806. icon: "success",
  807. operate: {
  808. know: "知道了",
  809. },
  810. };
  811. } else {
  812. uni.showToast({
  813. icon: "none",
  814. title: "请求失败!",
  815. });
  816. }
  817. });
  818. },
  819. // 请求详细页面的数据(除标本轮巡和标本配送)
  820. getInfo(id) {
  821. uni.showLoading({
  822. title: "加载中",
  823. mask: true,
  824. });
  825. get("/api/fetchData/workOrder/" + id).then((res) => {
  826. uni.hideLoading();
  827. if (res.status == 200) {
  828. this.infoDATA = res.data;
  829. // 计算高度
  830. setTimeout(() => {
  831. const query = uni.createSelectorQuery().in(this);
  832. query
  833. .selectAll(".page_item_infos")
  834. .boundingClientRect((data) => {
  835. let len = data.reduce((prev, current) => {
  836. return prev + current.height;
  837. }, 0);
  838. this.animation.height(len).step();
  839. this.animationData = this.animation.export();
  840. })
  841. .exec();
  842. }, 500)
  843. } else {
  844. uni.showToast({
  845. icon: "none",
  846. title: "请求失败!",
  847. });
  848. }
  849. });
  850. },
  851. // 请求详细页面的数据
  852. getInfoBySpecimen(id) {
  853. uni.showLoading({
  854. title: "加载中",
  855. mask: true,
  856. });
  857. post("/api/getWechatItem", {
  858. id
  859. }).then((res) => {
  860. uni.hideLoading();
  861. if (res.state == 200) {
  862. this.actualDelivery = res.actualDelivery;
  863. this.infoDATA = res.data;
  864. // 计算高度
  865. setTimeout(() => {
  866. const query = uni.createSelectorQuery().in(this);
  867. query
  868. .selectAll(".page_item_infos")
  869. .boundingClientRect((data) => {
  870. let len = data.reduce((prev, current) => {
  871. return prev + current.height;
  872. }, 0);
  873. this.animation.height(len).step();
  874. this.animationData = this.animation.export();
  875. })
  876. .exec();
  877. }, 500)
  878. } else {
  879. uni.showToast({
  880. icon: "none",
  881. title: "请求失败!",
  882. });
  883. }
  884. });
  885. },
  886. // 获取检查页面控制开关
  887. getTaskConfig(){
  888. post("/simple/data/fetchDataList/taskTypeConfig", {
  889. "idx": 0,
  890. "sum": 10,
  891. "taskTypeConfig": {
  892. "taskTypeDTO": {
  893. "hosId": {
  894. "id": this.hosId
  895. },
  896. "associationType": {
  897. "key": "association_types",
  898. "value": "inspect"
  899. }
  900. }
  901. }
  902. }).then((result) => {
  903. if (result.status == 200) {
  904. if(result.list && result.list[0]){
  905. this.multiplayerMode = result.list[0].multiplayerMode;
  906. }else{
  907. this.multiplayerMode = 0;
  908. }
  909. } else {
  910. this.multiplayerMode = 0;
  911. }
  912. });
  913. }
  914. },
  915. onLoad(options) {
  916. console.log(options, 'options');
  917. this.currentUserId = uni.getStorageSync('userData').user.id;
  918. let id = options.id;
  919. this.dataId = id;
  920. if (
  921. options.associationTypeValue == 'specimen' ||
  922. options.associationTypeValue == 'specimenPlan'
  923. ) {
  924. this.getInfoBySpecimen(id);
  925. } else {
  926. this.getInfo(id);
  927. }
  928. if (
  929. options.associationTypeValue == 'inspect' ||
  930. options.associationTypeValue == 'patientTransport'
  931. ) {
  932. this.getTaskConfig();
  933. }
  934. // 创建动画
  935. this.animation = uni.createAnimation({
  936. duration: 500,
  937. timingFunction: "ease",
  938. });
  939. // #ifdef APP-PLUS
  940. webHandle("no", "app");
  941. // #endif
  942. // #ifdef H5
  943. webHandle("no", "wx");
  944. // #endif
  945. },
  946. onUnload() {
  947. // 页面关闭后清空数据
  948. this.animationData = {};
  949. },
  950. };
  951. </script>
  952. <style lang="less">
  953. .Receipt_infopage {
  954. padding: 0 20rpx;
  955. overflow: hidden;
  956. .red {
  957. color: red !important;
  958. font-weight: bold !important;
  959. }
  960. .green {
  961. color: #49b856 !important;
  962. font-weight: bold !important;
  963. }
  964. .title {
  965. font-size: 48rpx;
  966. margin-top: 24rpx;
  967. margin-bottom: 24rpx;
  968. text-align: center;
  969. }
  970. .page_item {
  971. margin-top: 16rpx;
  972. margin-bottom: 124rpx;
  973. background: #fff;
  974. border-radius: 8rpx;
  975. padding: 0 16rpx;
  976. border: 2rpx solid #e5e9ed;
  977. .L {
  978. width: 40rpx;
  979. height: 40rpx;
  980. border-radius: 50%;
  981. background: #f9fafb;
  982. position: relative;
  983. left: -50rpx;
  984. top: 66rpx;
  985. }
  986. .R {
  987. width: 40rpx;
  988. height: 40rpx;
  989. border-radius: 50%;
  990. background: #f9fafb;
  991. position: relative;
  992. float: right;
  993. right: -50rpx;
  994. top: 26rpx;
  995. }
  996. .starting {
  997. width: 50rpx;
  998. height: 50rpx;
  999. color: #fff;
  1000. background: #49b856;
  1001. display: inline-block;
  1002. border-radius: 50%;
  1003. text-align: center;
  1004. line-height: 46rpx;
  1005. font-size: 32rpx;
  1006. margin-right: 6rpx;
  1007. }
  1008. .End {
  1009. width: 50rpx;
  1010. height: 50rpx;
  1011. color: #fff;
  1012. background: #39b199;
  1013. display: inline-block;
  1014. border-radius: 50%;
  1015. text-align: center;
  1016. line-height: 46rpx;
  1017. font-size: 32rpx;
  1018. margin-right: 6rpx;
  1019. }
  1020. .page_item_top {
  1021. height: 86rpx;
  1022. border-bottom: 2rpx dashed #666;
  1023. padding: 0 16rpx;
  1024. .page_item_top_L {
  1025. height: 100%;
  1026. float: left;
  1027. line-height: 88rpx;
  1028. .emergencys {
  1029. background: #ff3b53 !important;
  1030. width: 124rpx !important;
  1031. }
  1032. .emergency {
  1033. background: #ff3b53 !important;
  1034. }
  1035. .emergency1 {
  1036. background: #49b856 !important;
  1037. }
  1038. .page_item_cont_start {
  1039. text-align: center;
  1040. height: 44rpx;
  1041. width: 104rpx;
  1042. line-height: 44rpx;
  1043. border-radius: 8rpx;
  1044. background: #49b856;
  1045. color: #fff;
  1046. display: inline-block;
  1047. font-size: 28rpx;
  1048. .cubeic-star {
  1049. margin-right: 8rpx;
  1050. }
  1051. }
  1052. .L_time {
  1053. color: #6cc076;
  1054. font-size: 32rpx;
  1055. }
  1056. .L_text {
  1057. font-size: 32rpx;
  1058. display: inline-block;
  1059. font-weight: 700;
  1060. margin-right: 16rpx;
  1061. }
  1062. }
  1063. .page_item_top_R {
  1064. height: 60rpx;
  1065. float: right;
  1066. padding-top: 20rpx;
  1067. font-size: 32rpx;
  1068. position: absolute;
  1069. right: 50rpx;
  1070. .L_iocn {
  1071. display: inline-block;
  1072. height: 52rpx;
  1073. line-height: 48rpx;
  1074. color: rgb(7, 134, 60);
  1075. font-size: 36rpx;
  1076. font-weight: 700;
  1077. }
  1078. }
  1079. }
  1080. .page_item_cont {
  1081. min-height: 180rpx;
  1082. // max-height: 424rpx;
  1083. padding: 0 16rpx;
  1084. text-align: left;
  1085. position: relative;
  1086. .text_big {
  1087. font-size: 32rpx;
  1088. position: absolute;
  1089. right: 16rpx;
  1090. font-weight: 700;
  1091. margin-top: 10rpx;
  1092. }
  1093. .text_big2 {
  1094. font-size: 32rpx;
  1095. position: absolute;
  1096. right: 16rpx;
  1097. font-weight: 700;
  1098. }
  1099. .line {
  1100. height: 20rpx;
  1101. width: 2rpx;
  1102. border-left: 2rpx solid #666;
  1103. position: absolute;
  1104. top: 82rpx;
  1105. left: 40rpx;
  1106. }
  1107. .lines {
  1108. height: 40%;
  1109. width: 2rpx;
  1110. border-left: 2rpx solid #666;
  1111. position: absolute;
  1112. top: 23%;
  1113. left: 36rpx;
  1114. }
  1115. .page_item_cont_T {
  1116. padding-top: 28rpx;
  1117. font-size: 28rpx;
  1118. .page_item_cont_title {
  1119. height: 100%;
  1120. font-size: 32rpx;
  1121. }
  1122. }
  1123. .page_item_cont_B {
  1124. padding-top: 28rpx;
  1125. margin-bottom: 28rpx;
  1126. .page_item_cont_title {
  1127. height: 60rpx;
  1128. font-size: 32rpx;
  1129. }
  1130. .page_item_cont_title1 {
  1131. height: 60rpx;
  1132. line-height: 60rpx;
  1133. font-size: 32rpx;
  1134. padding-left: 64rpx;
  1135. }
  1136. }
  1137. }
  1138. .page_item_foot {
  1139. border-top: 2rpx dashed #666;
  1140. border-bottom: 2rpx dashed #666;
  1141. padding: 28rpx 16rpx;
  1142. text-align: left;
  1143. .page_item_foot_text {
  1144. font-size: 32rpx;
  1145. margin-bottom: 20rpx;
  1146. .text1 {
  1147. color: rgb(102, 102, 102);
  1148. }
  1149. .text2 {
  1150. float: right;
  1151. font-weight: 700;
  1152. }
  1153. }
  1154. }
  1155. .page_item_info {
  1156. padding: 20rpx 16rpx;
  1157. text-align: left;
  1158. line-height: 60rpx;
  1159. font-size: 32rpx;
  1160. .spe_list {
  1161. padding: 32rpx 0;
  1162. border-top: 2rpx solid #666;
  1163. .page_item_info_title {
  1164. color: #666;
  1165. }
  1166. }
  1167. .page_item_info_title {
  1168. font-weight: 700;
  1169. }
  1170. .text {
  1171. float: right;
  1172. font-weight: 700;
  1173. .page_item_info_txt {
  1174. color: #49b856;
  1175. margin-left: 8rpx;
  1176. margin-right: 8rpx;
  1177. }
  1178. }
  1179. }
  1180. #infos {
  1181. height: 0;
  1182. overflow: hidden;
  1183. }
  1184. .page_item_infos {
  1185. padding-top: 20rpx;
  1186. padding-bottom: 20rpx;
  1187. border-bottom: 2rpx dashed #666;
  1188. .page_item_info2 {
  1189. text-align: left;
  1190. line-height: 60rpx;
  1191. font-size: 32rpx;
  1192. padding-left: 16rpx;
  1193. .page_item_foot_text {
  1194. font-size: 32rpx;
  1195. margin-bottom: 20rpx;
  1196. &:last-of-type {
  1197. margin-bottom: 0;
  1198. }
  1199. .text1 {
  1200. color: rgb(102, 102, 102);
  1201. }
  1202. .text2 {
  1203. float: right;
  1204. font-weight: 700;
  1205. }
  1206. .btn {
  1207. height: 66rpx;
  1208. width: 132rpx;
  1209. margin: 0 auto;
  1210. background-color: #49b856;
  1211. color: #fff;
  1212. border-radius: 8rpx;
  1213. font-size: 32rpx;
  1214. margin-top: 20rpx;
  1215. text-align: center;
  1216. }
  1217. }
  1218. }
  1219. }
  1220. #pulldown {
  1221. color: #49b856;
  1222. font-size: 36rpx;
  1223. height: 60rpx;
  1224. text-align: center;
  1225. .cubeic-pulldown {
  1226. font-size: 48rpx;
  1227. position: relative;
  1228. bottom: 6rpx;
  1229. }
  1230. }
  1231. #pullup {
  1232. color: #49b856;
  1233. font-size: 36rpx;
  1234. height: 60rpx;
  1235. text-align: center;
  1236. .cubeic-pullup {
  1237. font-size: 48rpx;
  1238. position: relative;
  1239. top: 12rpx;
  1240. }
  1241. }
  1242. }
  1243. .foot_btn2 {
  1244. position: fixed;
  1245. bottom: 0;
  1246. right: 20rpx;
  1247. left: 20rpx;
  1248. line-height: 66rpx;
  1249. height: 100rpx;
  1250. border-top: 2rpx solid #e5e9ed;
  1251. background: #f9fafb;
  1252. display: flex;
  1253. justify-content: space-between;
  1254. .btn2,
  1255. .btn3 {
  1256. height: 66rpx;
  1257. flex: 1;
  1258. margin: 0 1%;
  1259. background-image: linear-gradient(to right, #72c172, #3bb197);
  1260. color: #fff;
  1261. border-radius: 8rpx;
  1262. font-size: 28rpx;
  1263. margin-top: 16rpx;
  1264. text-align: center;
  1265. }
  1266. }
  1267. }
  1268. </style>