scanning_ins.vue 48 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491
  1. <template>
  2. <view class="Scanning_ins">
  3. <view class="Scanning">
  4. <view class="Scanning_top" id="Scanning_tops" :animation="animationData">
  5. <view class="Scanning_top_icon">
  6. <text class="cubeic-ok newicon newicon-duigou"></text>
  7. </view>
  8. <view class="Scanning_top_text">
  9. <view class="text1">扫描成功</view>
  10. <view class="success_tips">
  11. (请您评估患者的意识状况、生命体征、配合程度,如有异常请及时联系护士!)
  12. </view>
  13. </view>
  14. <view class="Scanning_cont">
  15. <view>
  16. <text>患者姓名 : {{ infoDATA.patientName || "-" }}
  17. <text v-if="infoDATA.residenceNo">
  18. ({{
  19. infoDATA.bedNum || "-"
  20. }})
  21. </text>
  22. <text v-if="!infoDATA.residenceNo">
  23. ({{
  24. infoDATA.cardNo || "-"
  25. }})
  26. </text>
  27. </text>
  28. </view>
  29. <view v-if="infoDATA.residenceNo">住院号 : {{ infoDATA.residenceNo || "-" }}</view>
  30. <view v-if="!infoDATA.residenceNo">身份证号 : {{ infoDATA.identityCardNo || "-" }}</view>
  31. <view v-if="infoDATA.residenceNo">住院科室 : {{ infoDATA.department ? infoDATA.department.dept : "-" }}</view>
  32. <view>注意事项 : {{ infoDATA.remark || "-" }}</view>
  33. </view>
  34. </view>
  35. <!-- ------------------未完成工单 start----------------- -->
  36. <view class="page_items" v-if="
  37. workData.length === 0 && patientOrders && patientOrders.length > 0
  38. ">
  39. <view class="page_item" v-for="(infoDATA, i) of patientOrders" :key="i">
  40. <view class="page_item_top">
  41. <view class="page_item_top_L">
  42. <text class="L_text">单号:{{ infoDATA.gdcode }}</text>
  43. </view>
  44. <view class="page_item_top_R">
  45. <button class="L_iocn" @click="notice(infoDATA)">通知</button>
  46. </view>
  47. <view class="L"></view>
  48. <view class="R"></view>
  49. </view>
  50. <view class="page_item_cont">
  51. <view class="page_item_cont_T">
  52. <view class="page_item_cont_title">
  53. <text> <text class="starting">起</text> 点科室 </text>
  54. <text class="text_big">{{ infoDATA.startDept.dept }}</text>
  55. </view>
  56. </view>
  57. <view class="line"></view>
  58. <view class="page_item_cont_B">
  59. <template v-if="infoDATA.taskType.associationType.value == 'inspect'">
  60. <view class="page_item_cont_title" v-for="(dept, i) of infoDATA.middleDept" :key="i">
  61. <text> <text class="End">检</text> 查科室 </text>
  62. <text class="text_big">{{ dept.dept }}</text>
  63. <view></view>
  64. </view>
  65. </template>
  66. <template v-if="infoDATA.taskType.associationType.value != 'inspect'">
  67. <view class="page_item_cont_title" v-for="(dept, i) of infoDATA.endDepts" :key="i">
  68. <text> <text class="End">终</text> 点科室 </text>
  69. <text class="text_big">{{ dept.dept }}</text>
  70. </view>
  71. </template>
  72. </view>
  73. </view>
  74. <view class="page_item_foot">
  75. <view class="page_item_foot_text">
  76. <text class="text1">状态</text>
  77. <text class="text2" v-if="
  78. !(
  79. infoDATA.gdState.value == '5' &&
  80. infoDATA.taskType.associationType.value == 'inspect'
  81. )
  82. ">{{ infoDATA.gdState.name }}</text>
  83. <text class="text2" v-if="
  84. infoDATA.gdState.value == '5' &&
  85. infoDATA.taskType.associationType.value == 'inspect'
  86. ">待送回</text>
  87. </view>
  88. <view class="page_item_foot_text" v-if="infoDATA.taskType.associationType.value == 'inspect'">
  89. <text class="text1">预约时间</text>
  90. <text class="text2">{{
  91. infoDATA.checkList &&
  92. infoDATA.checkList[0] &&
  93. infoDATA.checkList[0].yyTime
  94. ? infoDATA.checkList[0].yyTime
  95. : "-"
  96. }}</text>
  97. </view>
  98. </view>
  99. </view>
  100. </view>
  101. <!-- ------------------未完成工单 end----------------- -->
  102. <view class="title" v-if="workData && workData.length > 0">
  103. <text class="span1">工单信息</text>
  104. </view>
  105. <view class="page_items" v-if="!workData" style="font-size: 18px; margin-top: 15%">
  106. <view class="zwsj">
  107. <image class="zwsj_img" mode="widthFix" src="../../static/img/zanwushuju.png"></image>
  108. <view class="zwsj_txt">暂无工单</view>
  109. </view>
  110. </view>
  111. <view class="page_items" v-if="workData && workData.length > 0">
  112. <view class="page_item" v-for="(infoDATA, i) of workData" :key="i">
  113. <view class="page_item_top">
  114. <view class="page_item_top_L" @click="ac1(infoDATA, i, acType)">
  115. <text class="ac">
  116. <text :class="{ acSpan: idTYPE == infoDATA.id }"></text>
  117. </text>
  118. <text class="L_text">单号:{{ infoDATA.gdcode }}</text>
  119. <!-- emergencyType.value 1是正常,2是急,3是加急 -->
  120. <view class="page_item_cont_start emergency1" v-if="infoDATA.emergencyType.value == 1">
  121. <text>
  122. <text class="cubeic-star newicon newicon-shiwujiaoxing"></text>
  123. {{ infoDATA.emergencyType.name }}
  124. </text>
  125. </view>
  126. <view class="page_item_cont_start emergency" v-if="infoDATA.emergencyType.value == 2">
  127. <text>
  128. <text class="cubeic-star newicon newicon-shiwujiaoxing"></text>
  129. {{ infoDATA.emergencyType.name }}
  130. </text>
  131. </view>
  132. <view class="page_item_cont_start emergencys" v-if="infoDATA.emergencyType.value == 3">
  133. <text>
  134. <text class="cubeic-star newicon newicon-shiwujiaoxing"></text>
  135. {{ infoDATA.emergencyType.name }}
  136. </text>
  137. </view>
  138. </view>
  139. <view class="page_item_top_R">
  140. <text class="L_iocn" v-if="infoDATA.taskType.associationType.value == 'inspect'">患者陪检</text>
  141. <text class="L_iocn" v-if="
  142. infoDATA.taskType.associationType.value == 'patientTransport'
  143. ">患者转运</text>
  144. </view>
  145. <view class="L"></view>
  146. <view class="R"></view>
  147. </view>
  148. <view class="page_item_cont">
  149. <view class="page_item_cont_T">
  150. <view class="page_item_cont_title">
  151. <text> <text class="starting">起</text> 点科室 </text>
  152. <text class="text_big">{{ infoDATA.startDept.dept }}</text>
  153. </view>
  154. </view>
  155. <view class="line"></view>
  156. <view class="page_item_cont_B">
  157. <template v-if="infoDATA.taskType.associationType.value == 'inspect'">
  158. <view class="page_item_cont_title" v-for="(dept, i) of infoDATA.middleDept" :key="i">
  159. <text> <text class="End">检</text> 查科室 </text>
  160. <text class="text_big">{{ dept.dept }}</text>
  161. <view></view>
  162. </view>
  163. </template>
  164. <template v-if="infoDATA.taskType.associationType.value != 'inspect'">
  165. <view class="page_item_cont_title" v-for="(dept, i) of infoDATA.endDepts" :key="i">
  166. <text> <text class="End">终</text> 点科室 </text>
  167. <text class="text_big">{{ dept.dept }}</text>
  168. </view>
  169. </template>
  170. </view>
  171. </view>
  172. <view class="page_item_foot">
  173. <view class="page_item_foot_text">
  174. <text class="text1">状态</text>
  175. <text class="text2" v-if="
  176. !(
  177. infoDATA.gdState.value == '5' &&
  178. infoDATA.taskType.associationType.value == 'inspect'
  179. )
  180. ">{{ infoDATA.gdState.name }}</text>
  181. <text class="text2" v-if="
  182. infoDATA.gdState.value == '5' &&
  183. infoDATA.taskType.associationType.value == 'inspect'
  184. ">待送回</text>
  185. </view>
  186. <view class="page_item_foot_text" v-if="infoDATA.gdState.value == '2'">
  187. <text class="text1">预计响应时间</text>
  188. <text class="text2">{{ infoDATA.estimeResponseTime || '无' }}</text>
  189. </view>
  190. <view class="page_item_foot_text" v-if="infoDATA.gdState.value == '5'">
  191. <text class="text1" v-if="!(infoDATA.taskType.associationType.value == 'inspect')">预计送达时间</text>
  192. <text class="text1" v-if="infoDATA.taskType.associationType.value == 'inspect'">预计送回时间</text>
  193. <text class="text2">{{ infoDATA.estimeCompleteTime || '无' }}</text>
  194. </view>
  195. <view class="page_item_foot_text" v-if="infoDATA.gdState.value == '4'">
  196. <text class="text1">预计到达时间</text>
  197. <text class="text2">{{ infoDATA.estimateArriveTime || '无' }}</text>
  198. </view>
  199. <view class="page_item_foot_text">
  200. <text class="text1">创建时间</text>
  201. <text class="text2">{{ infoDATA.startTime || '无' }}</text>
  202. </view>
  203. </view>
  204. </view>
  205. </view>
  206. <view class="foot_btn1" v-if="infoDATA.residenceNo && batchCreationAndReturn == 1">
  207. <view class="btn3" @click="scanDept('all')">批量送回病房</view>
  208. <view class="btn3" @click="getInspectList()">查看检查</view>
  209. </view>
  210. <view class="foot_btn2" v-if="workData && workData.length > 0 && isShow">
  211. <view class="btn1" :class="(!infoDATA.residenceNo && addService==0)?'btn5':''" @click="getInspectAndPatientTransform(typeData)">一键操作</view>
  212. <view class="btn1" v-if="infoDATA.residenceNo" @click="scanDept()">送回病房</view>
  213. <view class="btn1" v-if="!infoDATA.residenceNo && addService==1" @click="additional()">追加服务</view>
  214. <view class="btn2" :class="(!infoDATA.residenceNo && addService==0)?'btn5':''" @click="showAlert">知道了</view>
  215. </view>
  216. <view class="foot_btn2" v-if="workData && workData.length === 0 && isShow">
  217. <view class="btn3" v-if="infoDATA.residenceNo" @click="scanDept()">送回病房</view>
  218. <view class="btn3" v-if="!infoDATA.residenceNo && addService==1" @click="additional()">追加服务</view>
  219. <view class="btn3" :class="(!infoDATA.residenceNo && addService==0)?'btn4':''" @click="showAlert">知道了</view>
  220. </view>
  221. <view class="foot_btn2" v-if="!isShow">
  222. <view class="btn3" v-if="infoDATA.residenceNo" @click="scanDept()">送回病房</view>
  223. <view class="btn3" v-if="!infoDATA.residenceNo && addService==1" @click="additional()">追加服务</view>
  224. <view class="btn3" :class="(!infoDATA.residenceNo && addService==0)?'btn4':''" @click="showAlert">知道了</view>
  225. </view>
  226. </view>
  227. <showModel :title="models.title" :icon="models.icon" :disjunctor="models.disjunctor" :content="models.content"
  228. @know="know" :operate="models.operate"></showModel>
  229. <!-- 送回病房弹窗 -->
  230. <showModel :title="models1.title" :icon="models1.icon" :disjunctor="models1.disjunctor" :content="models1.content"
  231. :operate="models1.operate" @ok="ok1" @cancel="cancel1"></showModel>
  232. <!-- 送回病房建单弹窗 -->
  233. <showModel :title="models2.title" :icon="models2.icon" :disjunctor="models2.disjunctor" :content="models2.content"
  234. :operate="models2.operate" @ok="ok2" @cancel="cancel2"></showModel>
  235. <!-- 送回病房建单弹窗-扫描科室 -->
  236. <showModel :title="models3.title" :icon="models3.icon" :disjunctor="models3.disjunctor" :content="models3.content"
  237. :operate="models3.operate" @ok="ok3" @cancel="cancel3"></showModel>
  238. <!-- 弹窗 -->
  239. <showModel :title="models4.title" :icon="models4.icon" :disjunctor="models4.disjunctor"
  240. :radioInspectionDistanceItem="models4.radioInspectionDistanceItem" @ok="ok4" @cancel="cancel4"
  241. @radioChange="radioChange4" :operate="models4.operate">
  242. </showModel>
  243. </view>
  244. </template>
  245. <script>
  246. import showModel from "../../components/showModel/showModel.vue";
  247. import {
  248. get,
  249. post,
  250. SM,
  251. webHandle
  252. } from "../../http/http.js";
  253. export default {
  254. data() {
  255. return {
  256. isInspectAndPatientTransform: false, //是否是一键操作
  257. selectRadio: [], //单选框选中的数据,第一项是qrcode,第二项是名称
  258. // 单选框弹窗model1
  259. models4: {
  260. disjunctor: false,
  261. },
  262. currentCode: '', //当前小扫描的科室二维码
  263. SMFlag: true,
  264. options: {},
  265. // wechatFocusSwitch: 0,
  266. hosId: "",
  267. // 弹窗model
  268. models: {
  269. disjunctor: false,
  270. },
  271. // 送回病房弹窗model
  272. models1: {
  273. disjunctor: false,
  274. },
  275. // 送回病房建单弹窗model
  276. models2: {
  277. disjunctor: false,
  278. },
  279. // 送回病房建单弹窗model-扫描科室
  280. models3: {
  281. disjunctor: false,
  282. },
  283. infoDATA: {},
  284. workData: [],
  285. patientOrders: [],
  286. acType: Number,
  287. tabType: 1,
  288. idTYPE: "",
  289. userId: {
  290. ids: [],
  291. },
  292. typeData: null,
  293. types: false,
  294. code: "",
  295. animationData: {}, //动画
  296. isShow: true, //是否显示“一键操作”
  297. currentStartDept: {}, //扫描的起点科室
  298. addService:null, //是否开启允许追加服务
  299. batchCreationAndReturn:null //批量建立送回
  300. };
  301. },
  302. methods: {
  303. // 获取是否需要选择陪检方式
  304. getInspectAndPatientTransformSend() {
  305. let infoDATA = JSON.parse(this.options.infoDATA);
  306. const postData = {
  307. "idx": 0,
  308. "sum": 1,
  309. "taskTypeConfig": {
  310. "taskTypeDTO": {
  311. "hosId": {
  312. "id": this.hosId
  313. },
  314. "associationType": {
  315. "key": "association_types",
  316. "value": "inspect",
  317. },
  318. },
  319. },
  320. };
  321. uni.showLoading({
  322. mask: true,
  323. title: '加载中'
  324. })
  325. post("/simple/data/fetchDataList/taskTypeConfig", postData).then((res) => {
  326. console.log(res)
  327. if (res.status == 200) {
  328. res.list = res.list || [];
  329. if (res.list[0] && res.list[0].signTypeIds) {
  330. // 如果开启
  331. const postData = {
  332. "idx": 0,
  333. "sum": 9999,
  334. "workOrderInspectScore": {
  335. "hosId": this.hosId,
  336. },
  337. };
  338. post("/simple/data/fetchDataList/workOrderInspectScore", postData).then((res) => {
  339. console.log(res)
  340. uni.hideLoading();
  341. if (res.status == 200) {
  342. res.list = res.list || [];
  343. let radioInspectionDistanceItem = res.list.map(v => ({
  344. id: v.id + "__" + v.inspectMode,
  345. inspectMode: v.inspectMode
  346. }));
  347. this.models4 = {
  348. disjunctor: true,
  349. title: "请选择陪检方式",
  350. radioInspectionDistanceItem,
  351. icon: "",
  352. operate: {
  353. ok: "确定",
  354. cancel: "取消",
  355. },
  356. };
  357. } else {
  358. uni.showToast({
  359. icon: "none",
  360. title: res.msg || "接口获取数据失败!",
  361. });
  362. }
  363. })
  364. } else {
  365. this.ok3Result();
  366. }
  367. } else {
  368. uni.hideLoading();
  369. uni.showToast({
  370. icon: "none",
  371. title: res.msg || "接口获取数据失败!",
  372. });
  373. }
  374. })
  375. },
  376. // 获取是否需要选择陪检方式
  377. getInspectAndPatientTransform() {
  378. this.isInspectAndPatientTransform = true;
  379. console.log(this.typeData);
  380. if (this.typeData) {
  381. const postData = {
  382. "idx": 0,
  383. "sum": 1,
  384. "taskTypeConfig": {
  385. "taskTypeDTO": {
  386. "hosId": {
  387. "id": this.hosId
  388. },
  389. "associationType": {
  390. "key": "association_types",
  391. "value": "inspect",
  392. },
  393. },
  394. },
  395. };
  396. uni.showLoading({
  397. mask: true,
  398. title: '加载中'
  399. })
  400. post("/simple/data/fetchDataList/taskTypeConfig", postData).then((res) => {
  401. console.log(res)
  402. if (res.status == 200) {
  403. res.list = res.list || [];
  404. if (res.list[0] && res.list[0].signTypeIds && this.typeData.gdState.value == 4) {
  405. // 如果开启并且工单状态是待到达
  406. const postData = {
  407. "idx": 0,
  408. "sum": 9999,
  409. "workOrderInspectScore": {
  410. "hosId": this.hosId,
  411. },
  412. };
  413. post("/simple/data/fetchDataList/workOrderInspectScore", postData).then((res) => {
  414. console.log(res)
  415. uni.hideLoading();
  416. if (res.status == 200) {
  417. res.list = res.list || [];
  418. let radioInspectionDistanceItem = res.list.map(v => ({
  419. id: v.id + "__" + v.inspectMode,
  420. inspectMode: v.inspectMode
  421. }));
  422. this.models4 = {
  423. disjunctor: true,
  424. title: "请选择陪检方式",
  425. radioInspectionDistanceItem,
  426. icon: "",
  427. operate: {
  428. ok: "确定",
  429. cancel: "取消",
  430. },
  431. };
  432. } else {
  433. uni.showToast({
  434. icon: "none",
  435. title: res.msg || "接口获取数据失败!",
  436. });
  437. }
  438. })
  439. } else {
  440. this.allStart(this.typeData);
  441. }
  442. } else {
  443. uni.hideLoading();
  444. uni.showToast({
  445. icon: "none",
  446. title: res.msg || "接口获取数据失败!",
  447. });
  448. }
  449. })
  450. } else {
  451. this.models = {
  452. disjunctor: true,
  453. content: "请选择工单",
  454. icon: "warn",
  455. operate: {
  456. know: "知道了",
  457. },
  458. };
  459. }
  460. },
  461. // 选中单选框
  462. radioChange4(item) {
  463. console.log(item);
  464. this.selectRadio = item.split("__");
  465. },
  466. // 确定
  467. ok4() {
  468. console.log(this.selectRadio);
  469. if (!this.selectRadio.length) {
  470. return;
  471. }
  472. this.models4.disjunctor = false;
  473. // 判断是一键操作还是送回病房
  474. if(this.isInspectAndPatientTransform){
  475. this.allStart(this.typeData);
  476. }else{
  477. this.ok3Result();
  478. }
  479. },
  480. cancel4() {
  481. this.models4.disjunctor = false;
  482. },
  483. ok2() {
  484. this.models2.disjunctor = false;
  485. this.getInspectAndPatientTransformSend();
  486. },
  487. cancel2() {
  488. this.models2.disjunctor = false;
  489. },
  490. ok3Result() {
  491. uni.showLoading({
  492. mask: true,
  493. title: '加载中'
  494. })
  495. let userId = uni.getStorageSync("userData").user.id;
  496. let postData = {
  497. "workOrder": [{
  498. sourceId: 4,
  499. "hosId": this.hosId,
  500. "startDept": {
  501. "id": this.options.id || this.currentStartDept.id
  502. },
  503. "createDept": this.options.id || this.currentStartDept.id,
  504. "patient": {
  505. "patientCode": this.infoDATA.patientCode
  506. },
  507. "worker": {
  508. "id": userId
  509. },
  510. }],
  511. "inspectMode": this.selectRadio.length > 0 ? this.selectRadio[0] : undefined,
  512. };
  513. post("/workerOrder/returnSickRoom", postData).then((res) => {
  514. console.log(res)
  515. uni.hideLoading();
  516. if (res.status == 200) {
  517. uni.showToast({
  518. icon: 'success',
  519. title: '建单成功',
  520. });
  521. } else {
  522. uni.showToast({
  523. icon: "none",
  524. title: res.msg || "接口获取数据失败!",
  525. });
  526. }
  527. })
  528. },
  529. ok3() {
  530. this.models3.disjunctor = false;
  531. this.getInspectAndPatientTransformSend();
  532. },
  533. cancel3() {
  534. this.models3.disjunctor = false;
  535. },
  536. // 送回病房-建单
  537. sendBuild() {
  538. let infoDATA = JSON.parse(this.options.infoDATA);
  539. this.models2 = {
  540. disjunctor: true,
  541. title: "提示",
  542. content: `您选择的起点科室为【${this.options.dept}】,您将从【${this.options.dept}】把【${infoDATA.patientName}】送回【${infoDATA.department.dept}】,如您确认请点击“确认建单”。`,
  543. icon: "warn",
  544. operate: {
  545. ok: "确认建单",
  546. cancel: "取消",
  547. },
  548. };
  549. },
  550. // 追加服务
  551. additional(){
  552. uni.navigateTo({
  553. url: `/pages/outpatient/outpatientEndTaskType/outpatientEndTaskType?model=${encodeURIComponent(JSON.stringify(this.infoDATA))}`,
  554. });
  555. },
  556. // 送回病房-扫描科室
  557. scanDept(type = '') {
  558. if(type === 'all'){
  559. // 批量送回
  560. let infoDATA = JSON.parse(this.options.infoDATA);
  561. uni.navigateTo({
  562. url: `/pages/newSendBack/sendBackPatient/sendBackPatient?patientId=${infoDATA.id}&patientName=${infoDATA.patientName}&patientResidenceNo=${infoDATA.residenceNo}&patientCode=${infoDATA.patientCode}`,
  563. });
  564. return;
  565. }
  566. this.isInspectAndPatientTransform = false;
  567. if (!this.SMFlag) {
  568. return;
  569. }
  570. this.SMFlag = false;
  571. let infoDATA = JSON.parse(this.options.infoDATA);
  572. let code = "";
  573. SM().then((ress1) => {
  574. uni.showLoading({
  575. title: "加载中",
  576. mask: true,
  577. });
  578. //检验二维码的有效性
  579. post("/dept/scanning", {
  580. content: ress1,
  581. }).then((result) => {
  582. this.SMFlag = true;
  583. if (result.state == 200 || result.state == 201) {
  584. let ress = result.code;
  585. if (ress) {
  586. code = ress;
  587. // 科室扫描
  588. let postData = {
  589. "type": "query",
  590. "qrCode": code
  591. };
  592. post("/dept/scanChangeDept", postData).then((res) => {
  593. uni.hideLoading();
  594. if (res.status == 200) {
  595. if (res.data) {
  596. if(res.data.deptDTO){
  597. this.currentStartDept = res.data.deptDTO;
  598. }else{
  599. this.currentStartDept = res.data;
  600. }
  601. this.models3 = {
  602. disjunctor: true,
  603. title: "提示",
  604. content: `您选择的起点科室为【${this.currentStartDept.dept}】,您将从【${this.currentStartDept.dept}】把【${infoDATA.patientName}】送回【${infoDATA.department.dept}】,如您确认请点击“确认建单”。`,
  605. icon: "warn",
  606. operate: {
  607. ok: "确认建单",
  608. cancel: "取消",
  609. },
  610. };
  611. } else {
  612. uni.hideLoading();
  613. uni.showToast({
  614. icon: "none",
  615. title: "请扫描正确的科室码!",
  616. });
  617. }
  618. } else {
  619. uni.hideLoading();
  620. uni.showToast({
  621. icon: "none",
  622. title: res.msg || "接口获取数据失败!",
  623. });
  624. }
  625. });
  626. }
  627. } else {
  628. uni.hideLoading();
  629. uni.showToast({
  630. icon: "none",
  631. title: result.info || "接口获取数据失败!",
  632. });
  633. }
  634. });
  635. }).catch(err => {
  636. this.SMFlag = true;
  637. });
  638. },
  639. // 送回病房-选择起点科室
  640. sendBack() {
  641. let infoDATA = JSON.parse(this.options.infoDATA);
  642. this.models1 = {
  643. disjunctor: true,
  644. title: "提示",
  645. content: `您好,您是要将【${infoDATA.patientName}】送回病房吗?如确认请您点击“选择起点科室”建立工单。`,
  646. icon: "warn",
  647. operate: {
  648. ok: "选择起点科室",
  649. cancel: "取消",
  650. },
  651. };
  652. },
  653. ok1() {
  654. this.models1.disjunctor = false;
  655. uni.navigateTo({
  656. url: `../search/search?type=sendBack&code=${this.options.code}&infoDATA=${this.options.infoDATA}&patientOrders=${this.options.patientOrders}&workData=${this.options.workData}`,
  657. });
  658. },
  659. cancel1() {
  660. this.models1.disjunctor = false;
  661. },
  662. // 查看检查
  663. getInspectList() {
  664. // uni.navigateTo({
  665. // url: `../inspectList/inspectList?id=${this.infoDATA.department.id}&dept=${this.infoDATA.department.dept}&patientCode=${this.infoDATA.patientCode}`,
  666. // });
  667. uni.navigateTo({
  668. url: `../patientInformationInfo/patientInformationInfo?patientCode=${this.infoDATA.patientCode}`,
  669. });
  670. },
  671. // 通知
  672. notice(info) {
  673. let postData = {
  674. wechatConfigType: "hsms",
  675. userIds: info.worker.id + "",
  676. content: `您负责护送的患者${info.patient.patientName}(${info.patient.bedNum})已经检查完毕,请尽快执行工单的下一步。`,
  677. };
  678. post("/wechat/sendCustomMessage", postData).then((res) => {
  679. if (res.status == 200) {
  680. uni.showToast({
  681. title: "通知成功",
  682. duration: 2000,
  683. });
  684. } else {
  685. uni.showToast({
  686. icon: "none",
  687. title: res.msg || "接口获取数据失败!",
  688. });
  689. }
  690. });
  691. },
  692. //需要帮助、无需帮助
  693. // help() {
  694. // this.models = {
  695. // disjunctor: true,
  696. // title: "提示",
  697. // content: this.infoDATA.focusPatient == 1 ?
  698. // "如设置为“无需帮助”则后期此患者检查将不会自动进行建单,可通过“需要帮助”设置自动建单" : "如设置为“需要帮助”则后期此患者检查会自动进行建单,可通过“无需帮助”取消设置",
  699. // icon: "warn",
  700. // operate: {
  701. // ok: "确定",
  702. // cancel: "取消",
  703. // },
  704. // };
  705. // },
  706. //需要帮助,无需帮助确定
  707. // ok() {
  708. // this.models.disjunctor = false;
  709. // post("/nurse/updData/patient", {
  710. // patient: {
  711. // id: this.infoDATA.id,
  712. // focusPatient: this.infoDATA.focusPatient == 1 ? 0 : 1,
  713. // },
  714. // }).then((res) => {
  715. // let msg = "设置失败";
  716. // let icon = "error";
  717. // if (res.status == 200) {
  718. // msg = "设置成功";
  719. // icon = "success";
  720. // this.infoDATA.focusPatient = res.data.focusPatient;
  721. // }
  722. // this.models = {
  723. // disjunctor: true,
  724. // content: msg,
  725. // icon: icon,
  726. // operate: {
  727. // know: "知道了",
  728. // },
  729. // };
  730. // });
  731. // },
  732. //需要帮助,无需帮助取消
  733. // cancel() {
  734. // this.models.disjunctor = false;
  735. // },
  736. //知道了
  737. know() {
  738. this.models.disjunctor = false;
  739. },
  740. // 知道了
  741. showAlert() {
  742. uni.navigateTo({
  743. url: "../receiptpage/receiptpage",
  744. });
  745. },
  746. //一键操作
  747. allStart(data) {
  748. console.log(data)
  749. let list = {};
  750. if (data) {
  751. let type = "";
  752. if (data.gdState.value == "8") {
  753. if (!this.SMFlag) {
  754. return;
  755. }
  756. this.SMFlag = false;
  757. SM().then((ress1) => {
  758. // ----------------
  759. uni.showLoading({
  760. title: "加载中",
  761. mask: true,
  762. });
  763. //检验二维码的有效性
  764. post("/dept/scanning", {
  765. content: ress1,
  766. }).then((result) => {
  767. this.SMFlag = true;
  768. this.currentCode = result.code;
  769. if (result.state == 200 || result.state == 201) {
  770. let ress = result.code;
  771. if (ress) {
  772. var ids = [];
  773. ids.push(data.id);
  774. type = "orderSign/" + ress;
  775. list = {
  776. ids
  777. };
  778. // 科室签到
  779. post("/workerOrder/" + type, list).then((res) => {
  780. uni.hideLoading();
  781. if (res.status == 200) {
  782. // model: JSON.stringify(res), //签到返回的信息
  783. // type: data.taskType.associationType.value, //关联类型
  784. // code: ress, //二维码code
  785. // ids //科室ID数组
  786. uni.navigateTo({
  787. url: `../scanning_djEnd/scanning_djEnd?type=${
  788. data.taskType.associationType.value
  789. }&code=${ress}&ids=${ids}&model=${encodeURIComponent(
  790. JSON.stringify(res)
  791. )}`,
  792. });
  793. } else {
  794. uni.navigateTo({
  795. url: `../scanning_djEnd/scanning_djEnd?model=${encodeURIComponent(
  796. JSON.stringify(res)
  797. )}&qrcode=${this.currentCode}`,
  798. });
  799. }
  800. });
  801. }
  802. } else {
  803. uni.hideLoading();
  804. uni.showToast({
  805. icon: "none",
  806. title: result.info || "接口获取数据失败!",
  807. });
  808. }
  809. });
  810. // ------------------------------
  811. }).catch(err => {
  812. this.SMFlag = true;
  813. });
  814. } else {
  815. if (data.taskType.associationType.value == "patientTransport") {
  816. type = "handleTrans";
  817. let data = {
  818. ids: this.userId.ids,
  819. // "11789558|51131895|7|黄石城乡|陈琛|女|19981003|20180803081051|Z消化内科Ⅰ"
  820. code: this.code,
  821. inspectMode: this.selectRadio.length > 0 ? this.selectRadio[0] : undefined,
  822. };
  823. list = data;
  824. }
  825. if (data.taskType.associationType.value == "inspect") {
  826. type = "handleIns";
  827. let data = {
  828. ids: this.userId.ids,
  829. // "11789558|51131895|7|黄石城乡|陈琛|女|19981003|20180803081051|Z消化内科Ⅰ"
  830. code: this.code,
  831. inspectMode: this.selectRadio.length > 0 ? this.selectRadio[0] : undefined,
  832. };
  833. list = data;
  834. }
  835. uni.showLoading({
  836. title: "加载中",
  837. mask: true,
  838. });
  839. post("/workerOrder/" + type, list).then((res) => {
  840. console.log(1111,res)
  841. uni.hideLoading();
  842. if (res.status == 200) {
  843. if(data.gdState.value == 4 && data.taskType.associationType.value === 'patientTransport'){
  844. // 门诊服务点
  845. if(res.orderList){
  846. uni.navigateTo({
  847. url: `/pages/outpatient/outpatientStartSignIn/outpatientStartSignIn?model=${encodeURIComponent(JSON.stringify(res))}`,
  848. });
  849. }else{
  850. uni.navigateTo({
  851. url: `../scanning_insEnd/scanning_insEnd?type=${
  852. data.taskType.associationType.value
  853. }&model=${encodeURIComponent(JSON.stringify(res))}`,
  854. });
  855. }
  856. }else{
  857. uni.navigateTo({
  858. url: `../scanning_insEnd/scanning_insEnd?type=${
  859. data.taskType.associationType.value
  860. }&model=${encodeURIComponent(JSON.stringify(res))}`,
  861. });
  862. }
  863. } else {
  864. uni.navigateTo({
  865. url: `../scanning_insEnd/scanning_insEnd?model=${encodeURIComponent(
  866. JSON.stringify(res)
  867. )}`,
  868. });
  869. }
  870. }).catch(err=>{
  871. console.log(9999,err)
  872. })
  873. }
  874. } else {
  875. this.models = {
  876. disjunctor: true,
  877. content: "请选择工单",
  878. icon: "warn",
  879. operate: {
  880. know: "知道了",
  881. },
  882. };
  883. }
  884. },
  885. //选中
  886. ac(data, i, type) {
  887. this.idTYPE = "";
  888. },
  889. //未选中
  890. ac1(data, i, type) {
  891. if (this.idTYPE == data.id) {
  892. //显示
  893. this.isShow = true;
  894. this.idTYPE = "";
  895. this.userId.ids = [];
  896. this.typeData = null;
  897. } else {
  898. if (data.gdState.value >= 5) {
  899. //隐藏
  900. this.isShow = false;
  901. } else {
  902. //显示
  903. this.isShow = true;
  904. }
  905. this.idTYPE = data.id;
  906. this.typeData = data;
  907. this.userId.ids[0] = this.idTYPE;
  908. }
  909. },
  910. texiao() {
  911. if (this.workData && this.workData.length > 0) {
  912. setTimeout(() => {
  913. this.animation.height(0).opacity(0).step();
  914. this.animationData = this.animation.export();
  915. }, 15000);
  916. }
  917. },
  918. // 获取需要帮助权限
  919. // getWechatFocusSwitch() {
  920. // let postData = {
  921. // idx: 0,
  922. // sum: 1,
  923. // taskType: {
  924. // hosIds: this.hosId,
  925. // associationType: {
  926. // id: 260,
  927. // },
  928. // },
  929. // };
  930. // post("/configuration/fetchDataList/taskType", postData).then((res) => {
  931. // if (res.status == 200) {
  932. // this.wechatFocusSwitch = res.list[0].wechatFocusSwitch || 0;
  933. // } else {
  934. // uni.showToast({
  935. // icon: "none",
  936. // title: res.msg || "接口获取数据失败!",
  937. // });
  938. // }
  939. // });
  940. // },
  941. // 获取检查页面控制
  942. getTaskTypeConfig(){
  943. uni.showLoading({
  944. title: "加载中",
  945. mask: true,
  946. });
  947. post("/simple/data/fetchDataList/taskTypeConfig", {
  948. "idx": 0,
  949. "sum": 10,
  950. "taskTypeConfig": {
  951. "taskTypeDTO": {
  952. "hosId": {
  953. "id": this.hosId
  954. },
  955. "associationType": {
  956. "key": "association_types",
  957. "value": "inspect"
  958. }
  959. }
  960. }
  961. }).then((result) => {
  962. uni.hideLoading();
  963. if (result.status == 200) {
  964. let configs = result.list || [];
  965. if(configs.length){
  966. this.addService = configs[0].addService;
  967. this.batchCreationAndReturn = configs[0].batchCreationAndReturn;
  968. }
  969. } else {
  970. uni.showToast({
  971. icon: "none",
  972. title: result.msg || "接口获取数据失败!",
  973. });
  974. }
  975. });
  976. }
  977. },
  978. onLoad(options) {
  979. console.log(options);
  980. this.options = options;
  981. // 送回病房建单 start
  982. if (options.id && options.dept) {
  983. this.sendBuild();
  984. }
  985. // 送回病房建单 end
  986. this.hosId = uni.getStorageSync("userData").user.currentHospital.id;
  987. // this.getWechatFocusSwitch();
  988. this.getTaskTypeConfig()
  989. this.infoDATA = JSON.parse(options.infoDATA);
  990. console.log(this.infoDATA);
  991. this.workData = JSON.parse(options.workData);
  992. if (options.patientOrders != 'undefined') {
  993. this.patientOrders = JSON.parse(options.patientOrders);
  994. }
  995. this.code = options.code;
  996. // #ifdef APP-PLUS
  997. webHandle("no", "app");
  998. // #endif
  999. // #ifdef H5
  1000. webHandle("no", "wx");
  1001. // #endif
  1002. },
  1003. onShow() {
  1004. this.SMFlag = true;
  1005. // 创建动画
  1006. this.animation = uni.createAnimation({
  1007. duration: 500,
  1008. timingFunction: "ease",
  1009. delay: 2000,
  1010. });
  1011. setTimeout(() => {
  1012. this.texiao();
  1013. }, 500);
  1014. },
  1015. onHide() {
  1016. this.animationData = {};
  1017. },
  1018. onUnload() {
  1019. // 页面关闭后清空数据
  1020. this.animationData = {};
  1021. },
  1022. };
  1023. </script>
  1024. <style lang="less">
  1025. ::-webkit-scrollbar {
  1026. width: 0px;
  1027. }
  1028. ::-webkit-scrollbar-track {
  1029. background-color: none;
  1030. }
  1031. ::-webkit-scrollbar-thumb {
  1032. background-color: none;
  1033. }
  1034. ::-webkit-scrollbar-thumb:hover {
  1035. background-color: none;
  1036. }
  1037. ::-webkit-scrollbar-thumb:active {
  1038. background-color: none;
  1039. }
  1040. .Scanning_ins {
  1041. .title {
  1042. font-size: 36rpx;
  1043. margin-top: 20rpx;
  1044. margin-bottom: 20rpx;
  1045. font-weight: 700;
  1046. position: relative;
  1047. height: 40rpx;
  1048. .span1 {
  1049. position: absolute;
  1050. left: 0;
  1051. font-weight: 700;
  1052. }
  1053. .span2 {
  1054. position: absolute;
  1055. right: 20%;
  1056. color: rgb(73, 184, 86);
  1057. }
  1058. .span3 {
  1059. position: absolute;
  1060. right: 0;
  1061. color: rgb(73, 184, 86);
  1062. }
  1063. }
  1064. .Scanning {
  1065. padding: 0 20rpx;
  1066. .Scanning_top {
  1067. // height: 500rpx;
  1068. .Scanning_top_icon {
  1069. width: 140rpx;
  1070. height: 140rpx;
  1071. margin: 0 auto;
  1072. margin-top: 36rpx;
  1073. border-radius: 50%;
  1074. line-height: 140rpx;
  1075. .cubeic-ok {
  1076. font-size: 140rpx;
  1077. color: #35b34a;
  1078. }
  1079. }
  1080. .Scanning_top_text {
  1081. .text1 {
  1082. margin-top: 30rpx;
  1083. font-size: 48rpx;
  1084. text-align: center;
  1085. }
  1086. .success_tips {
  1087. color: red;
  1088. font-size: 30rpx;
  1089. }
  1090. }
  1091. .Scanning_cont {
  1092. font-size: 32rpx;
  1093. margin-top: 16rpx;
  1094. view {
  1095. margin-bottom: 8rpx;
  1096. display: flex;
  1097. justify-content: center;
  1098. align-items: center;
  1099. button {
  1100. font-size: 32rpx;
  1101. height: 52rpx;
  1102. line-height: 52rpx;
  1103. margin: 0;
  1104. color: rgb(7, 134, 60);
  1105. font-weight: 700;
  1106. }
  1107. }
  1108. .text {
  1109. margin-top: 24rpx;
  1110. color: #35b34a;
  1111. }
  1112. .text1 {
  1113. margin-top: 24rpx;
  1114. color: #ff3b53;
  1115. }
  1116. }
  1117. }
  1118. .page_items {
  1119. padding-bottom: 200rpx;
  1120. .zwsj {
  1121. margin-top: 180rpx;
  1122. display: flex;
  1123. flex-direction: column;
  1124. align-items: center;
  1125. .zwsj_txt {
  1126. font-size: 36rpx;
  1127. font-weight: 700;
  1128. margin-top: 20rpx;
  1129. }
  1130. .zwsj_img {
  1131. width: 582rpx;
  1132. }
  1133. }
  1134. .page_item {
  1135. margin-top: 16rpx;
  1136. min-height: 310rpx;
  1137. background: #fff;
  1138. border-radius: 8rpx;
  1139. overflow: hidden;
  1140. padding: 0 16rpx;
  1141. border: 2rpx solid #e5e9ed;
  1142. .L {
  1143. width: 40rpx;
  1144. height: 40rpx;
  1145. border-radius: 50%;
  1146. background: #f9fafb;
  1147. position: relative;
  1148. left: -50rpx;
  1149. top: 66rpx;
  1150. }
  1151. .R {
  1152. width: 40rpx;
  1153. height: 40rpx;
  1154. border-radius: 50%;
  1155. background: #f9fafb;
  1156. position: relative;
  1157. float: right;
  1158. right: -50rpx;
  1159. top: 26rpx;
  1160. }
  1161. .starting {
  1162. width: 50rpx;
  1163. height: 50rpx;
  1164. color: #fff;
  1165. background: #49b856;
  1166. display: inline-block;
  1167. border-radius: 50%;
  1168. text-align: center;
  1169. line-height: 46rpx;
  1170. font-size: 32rpx;
  1171. margin-right: 6rpx;
  1172. }
  1173. .End {
  1174. width: 50rpx;
  1175. height: 50rpx;
  1176. color: #fff;
  1177. background: #39b199;
  1178. display: inline-block;
  1179. border-radius: 50%;
  1180. text-align: center;
  1181. line-height: 46rpx;
  1182. font-size: 32rpx;
  1183. margin-right: 6rpx;
  1184. }
  1185. .page_item_top {
  1186. height: 86rpx;
  1187. border-bottom: 2rpx dashed #e5e9ed;
  1188. padding: 0 16rpx;
  1189. .page_item_top_L {
  1190. height: 100%;
  1191. float: left;
  1192. line-height: 88rpx;
  1193. display: flex;
  1194. align-items: center;
  1195. .ac {
  1196. width: 32rpx;
  1197. height: 32rpx;
  1198. border: 2rpx solid #ccc;
  1199. display: flex;
  1200. justify-content: center;
  1201. align-items: center;
  1202. position: relative;
  1203. .acSpan {
  1204. width: 24rpx;
  1205. height: 24rpx;
  1206. background: #39b199;
  1207. display: block;
  1208. }
  1209. }
  1210. .ac1 {
  1211. width: 32rpx;
  1212. height: 32rpx;
  1213. border: 2rpx solid #ccc;
  1214. display: inline-block;
  1215. position: relative;
  1216. }
  1217. .emergencys {
  1218. background: #ff3b53 !important;
  1219. width: 124rpx !important;
  1220. }
  1221. .emergency {
  1222. background: #ff3b53 !important;
  1223. }
  1224. .emergency1 {
  1225. background: #49b856 !important;
  1226. }
  1227. .page_item_cont_start {
  1228. text-align: center;
  1229. height: 44rpx;
  1230. width: 104rpx;
  1231. line-height: 44rpx;
  1232. border-radius: 8rpx;
  1233. background: #49b856;
  1234. color: #fff;
  1235. display: inline-block;
  1236. font-size: 28rpx;
  1237. }
  1238. .L_time {
  1239. color: #6cc076;
  1240. font-size: 32rpx;
  1241. }
  1242. .L_text {
  1243. font-size: 32rpx;
  1244. display: inline-block;
  1245. font-weight: 700;
  1246. }
  1247. }
  1248. .page_item_top_R {
  1249. height: 60rpx;
  1250. float: right;
  1251. padding-top: 20rpx;
  1252. font-size: 32rpx;
  1253. position: absolute;
  1254. right: 50rpx;
  1255. .L_iocn {
  1256. display: inline-block;
  1257. height: 52rpx;
  1258. line-height: 48rpx;
  1259. color: rgb(7, 134, 60);
  1260. font-size: 36rpx;
  1261. font-weight: 700;
  1262. }
  1263. }
  1264. }
  1265. .page_item_cont {
  1266. min-height: 180rpx;
  1267. max-height: 424rpx;
  1268. padding: 0 16rpx;
  1269. text-align: left;
  1270. position: relative;
  1271. .text_big {
  1272. font-size: 32rpx;
  1273. position: absolute;
  1274. right: 16rpx;
  1275. font-weight: 700;
  1276. margin-top: 10rpx;
  1277. }
  1278. .text_big2 {
  1279. font-size: 32rpx;
  1280. position: absolute;
  1281. right: 16rpx;
  1282. font-weight: 700;
  1283. }
  1284. .line {
  1285. height: 20rpx;
  1286. width: 2rpx;
  1287. border-left: 2rpx solid #e5e9ed;
  1288. position: absolute;
  1289. top: 82rpx;
  1290. left: 40rpx;
  1291. }
  1292. .lines {
  1293. height: 40%;
  1294. width: 2rpx;
  1295. border-left: 2rpx solid #e5e9ed;
  1296. position: absolute;
  1297. top: 23%;
  1298. left: 36rpx;
  1299. }
  1300. .page_item_cont_T {
  1301. padding-top: 28rpx;
  1302. font-size: 28rpx;
  1303. .page_item_cont_title {
  1304. height: 100%;
  1305. font-size: 32rpx;
  1306. }
  1307. }
  1308. .page_item_cont_B {
  1309. padding-top: 28rpx;
  1310. margin-bottom: 28rpx;
  1311. .page_item_cont_title {
  1312. height: 60rpx;
  1313. font-size: 32rpx;
  1314. }
  1315. .page_item_cont_title1 {
  1316. height: 60rpx;
  1317. line-height: 60rpx;
  1318. font-size: 32rpx;
  1319. padding-left: 64rpx;
  1320. }
  1321. }
  1322. }
  1323. .page_item_foot {
  1324. border-top: 2rpx dashed #e5e9ed;
  1325. border-bottom: 2rpx dashed #e5e9ed;
  1326. padding: 28rpx 16rpx;
  1327. text-align: left;
  1328. .page_item_foot_text {
  1329. height: 48rpx;
  1330. font-size: 32rpx;
  1331. line-height: 48rpx;
  1332. margin-bottom: 20rpx;
  1333. .text1 {
  1334. color: rgb(102, 102, 102);
  1335. }
  1336. .text2 {
  1337. float: right;
  1338. font-weight: 700;
  1339. }
  1340. }
  1341. }
  1342. #infos {
  1343. display: none;
  1344. }
  1345. .page_item_infos {
  1346. padding-bottom: 20rpx;
  1347. border-bottom: 2rpx dashed #e5e9ed;
  1348. .page_item_info2 {
  1349. text-align: left;
  1350. line-height: 60rpx;
  1351. font-size: 32rpx;
  1352. padding-left: 16rpx;
  1353. .page_item_foot_text {
  1354. height: 48rpx;
  1355. font-size: 32rpx;
  1356. line-height: 48rpx;
  1357. margin-bottom: 20rpx;
  1358. .text1 {
  1359. color: rgb(102, 102, 102);
  1360. }
  1361. .text2 {
  1362. float: right;
  1363. font-weight: 700;
  1364. }
  1365. }
  1366. }
  1367. }
  1368. }
  1369. }
  1370. .foot_btn1 {
  1371. position: fixed;
  1372. bottom: 84rpx;
  1373. right: 20rpx;
  1374. left: 20rpx;
  1375. line-height: 66rpx;
  1376. height: 100rpx;
  1377. border-top: 2rpx solid #e5e9ed;
  1378. background: #f9fafb;
  1379. display: flex;
  1380. justify-content: space-between;
  1381. .btn1,
  1382. .btn2,
  1383. .btn3,
  1384. .btn4,
  1385. .btn5 {
  1386. height: 66rpx;
  1387. flex: 1;
  1388. background-image: linear-gradient(to right, #72c172, #3bb197);
  1389. color: #fff;
  1390. border-radius: 8rpx;
  1391. font-size: 32rpx;
  1392. margin: 16rpx 1% 0;
  1393. text-align: center;
  1394. }
  1395. }
  1396. .foot_btn2 {
  1397. position: fixed;
  1398. bottom: 0;
  1399. right: 20rpx;
  1400. left: 20rpx;
  1401. line-height: 66rpx;
  1402. height: 100rpx;
  1403. background: #f9fafb;
  1404. display: flex;
  1405. justify-content: space-between;
  1406. .btn1,
  1407. .btn2,
  1408. .btn3,
  1409. .btn4,
  1410. .btn5 {
  1411. height: 66rpx;
  1412. flex: 1;
  1413. background-image: linear-gradient(to right, #72c172, #3bb197);
  1414. color: #fff;
  1415. border-radius: 8rpx;
  1416. font-size: 32rpx;
  1417. margin: 16rpx 1% 0;
  1418. text-align: center;
  1419. }
  1420. }
  1421. }
  1422. }
  1423. </style>