scanning_ins.vue 48 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515
  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. <button @click="getInspectList()">查看检查</button>
  29. </view>
  30. <view v-if="infoDATA.residenceNo">住院号 : {{ infoDATA.residenceNo || "-" }}</view>
  31. <view v-if="!infoDATA.residenceNo">身份证号 : {{ infoDATA.identityCardNo || "-" }}</view>
  32. <view v-if="infoDATA.residenceNo">住院科室 : {{ infoDATA.department ? infoDATA.department.dept : "-" }}</view>
  33. <view>注意事项 : {{ infoDATA.remark || "-" }}</view>
  34. </view>
  35. </view>
  36. <!-- ------------------未完成工单 start----------------- -->
  37. <view class="page_items" v-if="
  38. workData.length === 0 && patientOrders && patientOrders.length > 0
  39. ">
  40. <view class="page_item" v-for="(infoDATA, i) of patientOrders" :key="i">
  41. <view class="page_item_top">
  42. <view class="page_item_top_L">
  43. <text class="L_text">单号:{{ infoDATA.gdcode }}</text>
  44. </view>
  45. <view class="page_item_top_R">
  46. <button class="L_iocn" @click="notice(infoDATA)">通知</button>
  47. </view>
  48. <view class="L"></view>
  49. <view class="R"></view>
  50. </view>
  51. <view class="page_item_cont">
  52. <view class="page_item_cont_T">
  53. <view class="page_item_cont_title">
  54. <text> <text class="starting">起</text> 点科室 </text>
  55. <text class="text_big">{{ infoDATA.startDept.dept }}</text>
  56. </view>
  57. </view>
  58. <view class="line"></view>
  59. <view class="page_item_cont_B">
  60. <template v-if="infoDATA.taskType.associationType.value == 'inspect'">
  61. <view class="page_item_cont_title" v-for="(dept, i) of infoDATA.middleDept" :key="i">
  62. <text> <text class="End">检</text> 查科室 </text>
  63. <text class="text_big">{{ dept.dept }}</text>
  64. <view></view>
  65. </view>
  66. </template>
  67. <template v-if="infoDATA.taskType.associationType.value != 'inspect'">
  68. <view class="page_item_cont_title" v-for="(dept, i) of infoDATA.endDepts" :key="i">
  69. <text> <text class="End">终</text> 点科室 </text>
  70. <text class="text_big">{{ dept.dept }}</text>
  71. </view>
  72. </template>
  73. </view>
  74. </view>
  75. <view class="page_item_foot">
  76. <view class="page_item_foot_text">
  77. <text class="text1">状态</text>
  78. <text class="text2" v-if="
  79. !(
  80. infoDATA.gdState.value == '5' &&
  81. infoDATA.taskType.associationType.value == 'inspect'
  82. )
  83. ">{{ infoDATA.gdState.name }}</text>
  84. <text class="text2" v-if="
  85. infoDATA.gdState.value == '5' &&
  86. infoDATA.taskType.associationType.value == 'inspect'
  87. ">待送回</text>
  88. </view>
  89. <view class="page_item_foot_text" v-if="infoDATA.taskType.associationType.value == 'inspect'">
  90. <text class="text1">预约时间</text>
  91. <text class="text2">{{
  92. infoDATA.checkList &&
  93. infoDATA.checkList[0] &&
  94. infoDATA.checkList[0].yyTime
  95. ? infoDATA.checkList[0].yyTime
  96. : "-"
  97. }}</text>
  98. </view>
  99. </view>
  100. </view>
  101. </view>
  102. <!-- ------------------未完成工单 end----------------- -->
  103. <view class="title" v-if="workData && workData.length > 0">
  104. <text class="span1">工单信息</text>
  105. </view>
  106. <view class="page_items" v-if="!workData" style="font-size: 18px; margin-top: 15%">
  107. <view class="zwsj">
  108. <image class="zwsj_img" mode="widthFix" src="../../static/img/zanwushuju.png"></image>
  109. <view class="zwsj_txt">暂无工单</view>
  110. </view>
  111. </view>
  112. <view class="page_items" v-if="workData && workData.length > 0">
  113. <view class="page_item" v-for="(infoDATA, i) of workData" :key="i">
  114. <view class="page_item_top">
  115. <view class="page_item_top_L" @click="ac1(infoDATA, i, acType)">
  116. <text class="ac">
  117. <text :class="{ acSpan: idTYPE == infoDATA.id }"></text>
  118. </text>
  119. <text class="L_text">单号:{{ infoDATA.gdcode }}</text>
  120. <!-- emergencyType.value 1是正常,2是急,3是加急 -->
  121. <view class="page_item_cont_start emergency1" v-if="infoDATA.emergencyType.value == 1">
  122. <text>
  123. <text class="cubeic-star newicon newicon-shiwujiaoxing"></text>
  124. {{ infoDATA.emergencyType.name }}
  125. </text>
  126. </view>
  127. <view class="page_item_cont_start emergency" v-if="infoDATA.emergencyType.value == 2">
  128. <text>
  129. <text class="cubeic-star newicon newicon-shiwujiaoxing"></text>
  130. {{ infoDATA.emergencyType.name }}
  131. </text>
  132. </view>
  133. <view class="page_item_cont_start emergencys" v-if="infoDATA.emergencyType.value == 3">
  134. <text>
  135. <text class="cubeic-star newicon newicon-shiwujiaoxing"></text>
  136. {{ infoDATA.emergencyType.name }}
  137. </text>
  138. </view>
  139. </view>
  140. <view class="page_item_top_R">
  141. <text class="L_iocn" v-if="infoDATA.taskType.associationType.value == 'inspect'">患者陪检</text>
  142. <text class="L_iocn" v-if="
  143. infoDATA.taskType.associationType.value == 'patientTransport'
  144. ">患者转运</text>
  145. </view>
  146. <view class="L"></view>
  147. <view class="R"></view>
  148. </view>
  149. <view class="page_item_cont">
  150. <view class="page_item_cont_T">
  151. <view class="page_item_cont_title">
  152. <text> <text class="starting">起</text> 点科室 </text>
  153. <text class="text_big">{{ infoDATA.startDept.dept }}</text>
  154. </view>
  155. </view>
  156. <view class="line"></view>
  157. <view class="page_item_cont_B">
  158. <template v-if="infoDATA.taskType.associationType.value == 'inspect'">
  159. <view class="page_item_cont_title" v-for="(dept, i) of infoDATA.middleDept" :key="i">
  160. <text> <text class="End">检</text> 查科室 </text>
  161. <text class="text_big">{{ dept.dept }}</text>
  162. <view></view>
  163. </view>
  164. </template>
  165. <template v-if="infoDATA.taskType.associationType.value != 'inspect'">
  166. <view class="page_item_cont_title" v-for="(dept, i) of infoDATA.endDepts" :key="i">
  167. <text> <text class="End">终</text> 点科室 </text>
  168. <text class="text_big">{{ dept.dept }}</text>
  169. </view>
  170. </template>
  171. </view>
  172. </view>
  173. <view class="page_item_foot">
  174. <view class="page_item_foot_text">
  175. <text class="text1">状态</text>
  176. <text class="text2" v-if="
  177. !(
  178. infoDATA.gdState.value == '5' &&
  179. infoDATA.taskType.associationType.value == 'inspect'
  180. )
  181. ">{{ infoDATA.gdState.name }}</text>
  182. <text class="text2" v-if="
  183. infoDATA.gdState.value == '5' &&
  184. infoDATA.taskType.associationType.value == 'inspect'
  185. ">待送回</text>
  186. </view>
  187. <view class="page_item_foot_text" v-if="infoDATA.gdState.value == '2'">
  188. <text class="text1">预计响应时间</text>
  189. <text class="text2">{{ infoDATA.estimeResponseTime || '无' }}</text>
  190. </view>
  191. <view class="page_item_foot_text" v-if="infoDATA.gdState.value == '5'">
  192. <text class="text1" v-if="!(infoDATA.taskType.associationType.value == 'inspect')">预计送达时间</text>
  193. <text class="text1" v-if="infoDATA.taskType.associationType.value == 'inspect'">预计送回时间</text>
  194. <text class="text2">{{ infoDATA.estimeCompleteTime || '无' }}</text>
  195. </view>
  196. <view class="page_item_foot_text" v-if="infoDATA.gdState.value == '4'">
  197. <text class="text1">预计到达时间</text>
  198. <text class="text2">{{ infoDATA.estimateArriveTime || '无' }}</text>
  199. </view>
  200. <view class="page_item_foot_text">
  201. <text class="text1">创建时间</text>
  202. <text class="text2">{{ infoDATA.startTime || '无' }}</text>
  203. </view>
  204. </view>
  205. </view>
  206. </view>
  207. <view class="foot_btn1" v-if="infoDATA.residenceNo && batchCreationAndReturn == 1">
  208. <view class="btn1 btn4" @click="scanDept('all')">批量送回病房</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. },
  668. // 通知
  669. notice(info) {
  670. let postData = {
  671. userIds: info.worker.id + "",
  672. content: `您负责护送的患者${info.patient.patientName}(${info.patient.bedNum})已经检查完毕,请尽快执行工单的下一步。`,
  673. };
  674. post("/wechat/sendCustomMessage", postData).then((res) => {
  675. if (res.status == 200) {
  676. uni.showToast({
  677. title: "通知成功",
  678. duration: 2000,
  679. });
  680. } else {
  681. uni.showToast({
  682. icon: "none",
  683. title: res.msg || "接口获取数据失败!",
  684. });
  685. }
  686. });
  687. },
  688. //需要帮助、无需帮助
  689. // help() {
  690. // this.models = {
  691. // disjunctor: true,
  692. // title: "提示",
  693. // content: this.infoDATA.focusPatient == 1 ?
  694. // "如设置为“无需帮助”则后期此患者检查将不会自动进行建单,可通过“需要帮助”设置自动建单" : "如设置为“需要帮助”则后期此患者检查会自动进行建单,可通过“无需帮助”取消设置",
  695. // icon: "warn",
  696. // operate: {
  697. // ok: "确定",
  698. // cancel: "取消",
  699. // },
  700. // };
  701. // },
  702. //需要帮助,无需帮助确定
  703. // ok() {
  704. // this.models.disjunctor = false;
  705. // post("/nurse/updData/patient", {
  706. // patient: {
  707. // id: this.infoDATA.id,
  708. // focusPatient: this.infoDATA.focusPatient == 1 ? 0 : 1,
  709. // },
  710. // }).then((res) => {
  711. // let msg = "设置失败";
  712. // let icon = "error";
  713. // if (res.status == 200) {
  714. // msg = "设置成功";
  715. // icon = "success";
  716. // this.infoDATA.focusPatient = res.data.focusPatient;
  717. // }
  718. // this.models = {
  719. // disjunctor: true,
  720. // content: msg,
  721. // icon: icon,
  722. // operate: {
  723. // know: "知道了",
  724. // },
  725. // };
  726. // });
  727. // },
  728. //需要帮助,无需帮助取消
  729. // cancel() {
  730. // this.models.disjunctor = false;
  731. // },
  732. //知道了
  733. know() {
  734. this.models.disjunctor = false;
  735. },
  736. // 知道了
  737. showAlert() {
  738. uni.navigateTo({
  739. url: "../receiptpage/receiptpage",
  740. });
  741. },
  742. //一键操作
  743. allStart(data) {
  744. console.log(data)
  745. let list = {};
  746. if (data) {
  747. let type = "";
  748. if (data.gdState.value == "8") {
  749. if (!this.SMFlag) {
  750. return;
  751. }
  752. this.SMFlag = false;
  753. SM().then((ress1) => {
  754. // ----------------
  755. uni.showLoading({
  756. title: "加载中",
  757. mask: true,
  758. });
  759. //检验二维码的有效性
  760. post("/dept/scanning", {
  761. content: ress1,
  762. }).then((result) => {
  763. this.SMFlag = true;
  764. this.currentCode = result.code;
  765. if (result.state == 200 || result.state == 201) {
  766. let ress = result.code;
  767. if (ress) {
  768. var ids = [];
  769. ids.push(data.id);
  770. type = "orderSign/" + ress;
  771. list = {
  772. ids
  773. };
  774. // 科室签到
  775. post("/workerOrder/" + type, list).then((res) => {
  776. uni.hideLoading();
  777. if (res.status == 200) {
  778. // model: JSON.stringify(res), //签到返回的信息
  779. // type: data.taskType.associationType.value, //关联类型
  780. // code: ress, //二维码code
  781. // ids //科室ID数组
  782. uni.navigateTo({
  783. url: `../scanning_djEnd/scanning_djEnd?type=${
  784. data.taskType.associationType.value
  785. }&code=${ress}&ids=${ids}&model=${encodeURIComponent(
  786. JSON.stringify(res)
  787. )}`,
  788. });
  789. } else {
  790. uni.navigateTo({
  791. url: `../scanning_djEnd/scanning_djEnd?model=${encodeURIComponent(
  792. JSON.stringify(res)
  793. )}&qrcode=${this.currentCode}`,
  794. });
  795. }
  796. });
  797. }
  798. } else {
  799. uni.hideLoading();
  800. uni.showToast({
  801. icon: "none",
  802. title: result.info || "接口获取数据失败!",
  803. });
  804. }
  805. });
  806. // ------------------------------
  807. }).catch(err => {
  808. this.SMFlag = true;
  809. });
  810. } else {
  811. if (data.taskType.associationType.value == "patientTransport") {
  812. type = "handleTrans";
  813. let data = {
  814. ids: this.userId.ids,
  815. // "11789558|51131895|7|黄石城乡|陈琛|女|19981003|20180803081051|Z消化内科Ⅰ"
  816. code: this.code,
  817. inspectMode: this.selectRadio.length > 0 ? this.selectRadio[0] : undefined,
  818. };
  819. list = data;
  820. }
  821. if (data.taskType.associationType.value == "inspect") {
  822. type = "handleIns";
  823. let data = {
  824. ids: this.userId.ids,
  825. // "11789558|51131895|7|黄石城乡|陈琛|女|19981003|20180803081051|Z消化内科Ⅰ"
  826. code: this.code,
  827. inspectMode: this.selectRadio.length > 0 ? this.selectRadio[0] : undefined,
  828. };
  829. list = data;
  830. }
  831. uni.showLoading({
  832. title: "加载中",
  833. mask: true,
  834. });
  835. post("/workerOrder/" + type, list).then((res) => {
  836. console.log(1111,res)
  837. uni.hideLoading();
  838. if (res.status == 200) {
  839. if(data.gdState.value == 4 && data.taskType.associationType.value === 'patientTransport'){
  840. // 门诊服务点
  841. if(res.orderList){
  842. uni.navigateTo({
  843. url: `/pages/outpatient/outpatientStartSignIn/outpatientStartSignIn?model=${encodeURIComponent(JSON.stringify(res))}`,
  844. });
  845. }else{
  846. uni.navigateTo({
  847. url: `../scanning_insEnd/scanning_insEnd?type=${
  848. data.taskType.associationType.value
  849. }&model=${encodeURIComponent(JSON.stringify(res))}`,
  850. });
  851. }
  852. }else{
  853. uni.navigateTo({
  854. url: `../scanning_insEnd/scanning_insEnd?type=${
  855. data.taskType.associationType.value
  856. }&model=${encodeURIComponent(JSON.stringify(res))}`,
  857. });
  858. }
  859. } else {
  860. uni.navigateTo({
  861. url: `../scanning_insEnd/scanning_insEnd?model=${encodeURIComponent(
  862. JSON.stringify(res)
  863. )}`,
  864. });
  865. }
  866. }).catch(err=>{
  867. console.log(9999,err)
  868. })
  869. }
  870. } else {
  871. this.models = {
  872. disjunctor: true,
  873. content: "请选择工单",
  874. icon: "warn",
  875. operate: {
  876. know: "知道了",
  877. },
  878. };
  879. }
  880. },
  881. //选中
  882. ac(data, i, type) {
  883. this.idTYPE = "";
  884. },
  885. //未选中
  886. ac1(data, i, type) {
  887. if (this.idTYPE == data.id) {
  888. //显示
  889. this.isShow = true;
  890. this.idTYPE = "";
  891. this.userId.ids = [];
  892. this.typeData = null;
  893. } else {
  894. if (data.gdState.value >= 5) {
  895. //隐藏
  896. this.isShow = false;
  897. } else {
  898. //显示
  899. this.isShow = true;
  900. }
  901. this.idTYPE = data.id;
  902. this.typeData = data;
  903. this.userId.ids[0] = this.idTYPE;
  904. }
  905. },
  906. texiao() {
  907. if (this.workData && this.workData.length > 0) {
  908. setTimeout(() => {
  909. this.animation.height(0).opacity(0).step();
  910. this.animationData = this.animation.export();
  911. }, 15000);
  912. }
  913. },
  914. // 获取需要帮助权限
  915. // getWechatFocusSwitch() {
  916. // let postData = {
  917. // idx: 0,
  918. // sum: 1,
  919. // taskType: {
  920. // hosIds: this.hosId,
  921. // associationType: {
  922. // id: 260,
  923. // },
  924. // },
  925. // };
  926. // post("/configuration/fetchDataList/taskType", postData).then((res) => {
  927. // if (res.status == 200) {
  928. // this.wechatFocusSwitch = res.list[0].wechatFocusSwitch || 0;
  929. // } else {
  930. // uni.showToast({
  931. // icon: "none",
  932. // title: res.msg || "接口获取数据失败!",
  933. // });
  934. // }
  935. // });
  936. // },
  937. // 获取检查页面控制
  938. getTaskTypeConfig(){
  939. uni.showLoading({
  940. title: "加载中",
  941. mask: true,
  942. });
  943. post("/simple/data/fetchDataList/taskTypeConfig", {
  944. "idx": 0,
  945. "sum": 10,
  946. "taskTypeConfig": {
  947. "taskTypeDTO": {
  948. "hosId": {
  949. "id": this.hosId
  950. },
  951. "associationType": {
  952. "key": "association_types",
  953. "value": "inspect"
  954. }
  955. }
  956. }
  957. }).then((result) => {
  958. uni.hideLoading();
  959. if (result.status == 200) {
  960. let configs = result.list || [];
  961. if(configs.length){
  962. this.addService = configs[0].addService;
  963. this.batchCreationAndReturn = configs[0].batchCreationAndReturn;
  964. }
  965. } else {
  966. uni.showToast({
  967. icon: "none",
  968. title: result.msg || "接口获取数据失败!",
  969. });
  970. }
  971. });
  972. }
  973. },
  974. onLoad(options) {
  975. console.log(options);
  976. this.options = options;
  977. // 送回病房建单 start
  978. if (options.id && options.dept) {
  979. this.sendBuild();
  980. }
  981. // 送回病房建单 end
  982. this.hosId = uni.getStorageSync("userData").user.currentHospital.id;
  983. // this.getWechatFocusSwitch();
  984. this.getTaskTypeConfig()
  985. this.infoDATA = JSON.parse(options.infoDATA);
  986. console.log(this.infoDATA);
  987. this.workData = JSON.parse(options.workData);
  988. if (options.patientOrders != 'undefined') {
  989. this.patientOrders = JSON.parse(options.patientOrders);
  990. }
  991. this.code = options.code;
  992. // #ifdef APP-PLUS
  993. webHandle("no", "app");
  994. // #endif
  995. // #ifdef H5
  996. webHandle("no", "wx");
  997. // #endif
  998. },
  999. onShow() {
  1000. this.SMFlag = true;
  1001. // 创建动画
  1002. this.animation = uni.createAnimation({
  1003. duration: 500,
  1004. timingFunction: "ease",
  1005. delay: 2000,
  1006. });
  1007. setTimeout(() => {
  1008. this.texiao();
  1009. }, 500);
  1010. },
  1011. onHide() {
  1012. this.animationData = {};
  1013. },
  1014. onUnload() {
  1015. // 页面关闭后清空数据
  1016. this.animationData = {};
  1017. },
  1018. };
  1019. </script>
  1020. <style lang="less">
  1021. ::-webkit-scrollbar {
  1022. width: 0px;
  1023. }
  1024. ::-webkit-scrollbar-track {
  1025. background-color: none;
  1026. }
  1027. ::-webkit-scrollbar-thumb {
  1028. background-color: none;
  1029. }
  1030. ::-webkit-scrollbar-thumb:hover {
  1031. background-color: none;
  1032. }
  1033. ::-webkit-scrollbar-thumb:active {
  1034. background-color: none;
  1035. }
  1036. .Scanning_ins {
  1037. .title {
  1038. font-size: 36rpx;
  1039. margin-top: 20rpx;
  1040. margin-bottom: 20rpx;
  1041. font-weight: 700;
  1042. position: relative;
  1043. height: 40rpx;
  1044. .span1 {
  1045. position: absolute;
  1046. left: 0;
  1047. font-weight: 700;
  1048. }
  1049. .span2 {
  1050. position: absolute;
  1051. right: 20%;
  1052. color: rgb(73, 184, 86);
  1053. }
  1054. .span3 {
  1055. position: absolute;
  1056. right: 0;
  1057. color: rgb(73, 184, 86);
  1058. }
  1059. }
  1060. .Scanning {
  1061. padding: 0 20rpx;
  1062. .Scanning_top {
  1063. // height: 500rpx;
  1064. .Scanning_top_icon {
  1065. width: 140rpx;
  1066. height: 140rpx;
  1067. margin: 0 auto;
  1068. margin-top: 36rpx;
  1069. border-radius: 50%;
  1070. line-height: 140rpx;
  1071. .cubeic-ok {
  1072. font-size: 140rpx;
  1073. color: #35b34a;
  1074. }
  1075. }
  1076. .Scanning_top_text {
  1077. .text1 {
  1078. margin-top: 30rpx;
  1079. font-size: 48rpx;
  1080. text-align: center;
  1081. }
  1082. .success_tips {
  1083. color: red;
  1084. font-size: 30rpx;
  1085. }
  1086. }
  1087. .Scanning_cont {
  1088. font-size: 32rpx;
  1089. margin-top: 16rpx;
  1090. view {
  1091. margin-bottom: 8rpx;
  1092. display: flex;
  1093. justify-content: center;
  1094. align-items: center;
  1095. button {
  1096. font-size: 32rpx;
  1097. height: 52rpx;
  1098. line-height: 52rpx;
  1099. margin: 0;
  1100. color: rgb(7, 134, 60);
  1101. font-weight: 700;
  1102. }
  1103. }
  1104. .text {
  1105. margin-top: 24rpx;
  1106. color: #35b34a;
  1107. }
  1108. .text1 {
  1109. margin-top: 24rpx;
  1110. color: #ff3b53;
  1111. }
  1112. }
  1113. }
  1114. .page_items {
  1115. padding-bottom: 200rpx;
  1116. .zwsj {
  1117. margin-top: 180rpx;
  1118. display: flex;
  1119. flex-direction: column;
  1120. align-items: center;
  1121. .zwsj_txt {
  1122. font-size: 36rpx;
  1123. font-weight: 700;
  1124. margin-top: 20rpx;
  1125. }
  1126. .zwsj_img {
  1127. width: 582rpx;
  1128. }
  1129. }
  1130. .page_item {
  1131. margin-top: 16rpx;
  1132. min-height: 310rpx;
  1133. background: #fff;
  1134. border-radius: 8rpx;
  1135. overflow: hidden;
  1136. padding: 0 16rpx;
  1137. border: 2rpx solid #e5e9ed;
  1138. .L {
  1139. width: 40rpx;
  1140. height: 40rpx;
  1141. border-radius: 50%;
  1142. background: #f9fafb;
  1143. position: relative;
  1144. left: -50rpx;
  1145. top: 66rpx;
  1146. }
  1147. .R {
  1148. width: 40rpx;
  1149. height: 40rpx;
  1150. border-radius: 50%;
  1151. background: #f9fafb;
  1152. position: relative;
  1153. float: right;
  1154. right: -50rpx;
  1155. top: 26rpx;
  1156. }
  1157. .starting {
  1158. width: 50rpx;
  1159. height: 50rpx;
  1160. color: #fff;
  1161. background: #49b856;
  1162. display: inline-block;
  1163. border-radius: 50%;
  1164. text-align: center;
  1165. line-height: 46rpx;
  1166. font-size: 32rpx;
  1167. margin-right: 6rpx;
  1168. }
  1169. .End {
  1170. width: 50rpx;
  1171. height: 50rpx;
  1172. color: #fff;
  1173. background: #39b199;
  1174. display: inline-block;
  1175. border-radius: 50%;
  1176. text-align: center;
  1177. line-height: 46rpx;
  1178. font-size: 32rpx;
  1179. margin-right: 6rpx;
  1180. }
  1181. .page_item_top {
  1182. height: 86rpx;
  1183. border-bottom: 2rpx dashed #e5e9ed;
  1184. padding: 0 16rpx;
  1185. .page_item_top_L {
  1186. height: 100%;
  1187. float: left;
  1188. line-height: 88rpx;
  1189. display: flex;
  1190. align-items: center;
  1191. .ac {
  1192. width: 32rpx;
  1193. height: 32rpx;
  1194. border: 2rpx solid #ccc;
  1195. display: flex;
  1196. justify-content: center;
  1197. align-items: center;
  1198. position: relative;
  1199. .acSpan {
  1200. width: 24rpx;
  1201. height: 24rpx;
  1202. background: #39b199;
  1203. display: block;
  1204. }
  1205. }
  1206. .ac1 {
  1207. width: 32rpx;
  1208. height: 32rpx;
  1209. border: 2rpx solid #ccc;
  1210. display: inline-block;
  1211. position: relative;
  1212. }
  1213. .emergencys {
  1214. background: #ff3b53 !important;
  1215. width: 124rpx !important;
  1216. }
  1217. .emergency {
  1218. background: #ff3b53 !important;
  1219. }
  1220. .emergency1 {
  1221. background: #49b856 !important;
  1222. }
  1223. .page_item_cont_start {
  1224. text-align: center;
  1225. height: 44rpx;
  1226. width: 104rpx;
  1227. line-height: 44rpx;
  1228. border-radius: 8rpx;
  1229. background: #49b856;
  1230. color: #fff;
  1231. display: inline-block;
  1232. font-size: 28rpx;
  1233. }
  1234. .L_time {
  1235. color: #6cc076;
  1236. font-size: 32rpx;
  1237. }
  1238. .L_text {
  1239. font-size: 32rpx;
  1240. display: inline-block;
  1241. font-weight: 700;
  1242. }
  1243. }
  1244. .page_item_top_R {
  1245. height: 60rpx;
  1246. float: right;
  1247. padding-top: 20rpx;
  1248. font-size: 32rpx;
  1249. position: absolute;
  1250. right: 50rpx;
  1251. .L_iocn {
  1252. display: inline-block;
  1253. height: 52rpx;
  1254. line-height: 48rpx;
  1255. color: rgb(7, 134, 60);
  1256. font-size: 36rpx;
  1257. font-weight: 700;
  1258. }
  1259. }
  1260. }
  1261. .page_item_cont {
  1262. min-height: 180rpx;
  1263. max-height: 424rpx;
  1264. padding: 0 16rpx;
  1265. text-align: left;
  1266. position: relative;
  1267. .text_big {
  1268. font-size: 32rpx;
  1269. position: absolute;
  1270. right: 16rpx;
  1271. font-weight: 700;
  1272. margin-top: 10rpx;
  1273. }
  1274. .text_big2 {
  1275. font-size: 32rpx;
  1276. position: absolute;
  1277. right: 16rpx;
  1278. font-weight: 700;
  1279. }
  1280. .line {
  1281. height: 20rpx;
  1282. width: 2rpx;
  1283. border-left: 2rpx solid #e5e9ed;
  1284. position: absolute;
  1285. top: 82rpx;
  1286. left: 40rpx;
  1287. }
  1288. .lines {
  1289. height: 40%;
  1290. width: 2rpx;
  1291. border-left: 2rpx solid #e5e9ed;
  1292. position: absolute;
  1293. top: 23%;
  1294. left: 36rpx;
  1295. }
  1296. .page_item_cont_T {
  1297. padding-top: 28rpx;
  1298. font-size: 28rpx;
  1299. .page_item_cont_title {
  1300. height: 100%;
  1301. font-size: 32rpx;
  1302. }
  1303. }
  1304. .page_item_cont_B {
  1305. padding-top: 28rpx;
  1306. margin-bottom: 28rpx;
  1307. .page_item_cont_title {
  1308. height: 60rpx;
  1309. font-size: 32rpx;
  1310. }
  1311. .page_item_cont_title1 {
  1312. height: 60rpx;
  1313. line-height: 60rpx;
  1314. font-size: 32rpx;
  1315. padding-left: 64rpx;
  1316. }
  1317. }
  1318. }
  1319. .page_item_foot {
  1320. border-top: 2rpx dashed #e5e9ed;
  1321. border-bottom: 2rpx dashed #e5e9ed;
  1322. padding: 28rpx 16rpx;
  1323. text-align: left;
  1324. .page_item_foot_text {
  1325. height: 48rpx;
  1326. font-size: 32rpx;
  1327. line-height: 48rpx;
  1328. margin-bottom: 20rpx;
  1329. .text1 {
  1330. color: rgb(102, 102, 102);
  1331. }
  1332. .text2 {
  1333. float: right;
  1334. font-weight: 700;
  1335. }
  1336. }
  1337. }
  1338. #infos {
  1339. display: none;
  1340. }
  1341. .page_item_infos {
  1342. padding-bottom: 20rpx;
  1343. border-bottom: 2rpx dashed #e5e9ed;
  1344. .page_item_info2 {
  1345. text-align: left;
  1346. line-height: 60rpx;
  1347. font-size: 32rpx;
  1348. padding-left: 16rpx;
  1349. .page_item_foot_text {
  1350. height: 48rpx;
  1351. font-size: 32rpx;
  1352. line-height: 48rpx;
  1353. margin-bottom: 20rpx;
  1354. .text1 {
  1355. color: rgb(102, 102, 102);
  1356. }
  1357. .text2 {
  1358. float: right;
  1359. font-weight: 700;
  1360. }
  1361. }
  1362. }
  1363. }
  1364. }
  1365. }
  1366. .foot_btn1 {
  1367. position: fixed;
  1368. bottom: 84rpx;
  1369. right: 20rpx;
  1370. left: 20rpx;
  1371. line-height: 66rpx;
  1372. height: 100rpx;
  1373. border-top: 2rpx solid #e5e9ed;
  1374. background: #f9fafb;
  1375. display: flex;
  1376. justify-content: space-between;
  1377. .btn1,
  1378. .btn2 {
  1379. height: 66rpx;
  1380. width: 32%;
  1381. background-image: linear-gradient(to right, #72c172, #3bb197);
  1382. color: #fff;
  1383. border-radius: 8rpx;
  1384. font-size: 32rpx;
  1385. margin-top: 16rpx;
  1386. text-align: center;
  1387. }
  1388. .btn3 {
  1389. height: 66rpx;
  1390. width: 48%;
  1391. background-image: linear-gradient(to right, #72c172, #3bb197);
  1392. color: #fff;
  1393. border-radius: 8rpx;
  1394. font-size: 32rpx;
  1395. margin-top: 16rpx;
  1396. text-align: center;
  1397. }
  1398. .btn4{
  1399. width: 100% !important;
  1400. }
  1401. .btn5{
  1402. width: 48% !important;
  1403. }
  1404. }
  1405. .foot_btn2 {
  1406. position: fixed;
  1407. bottom: 0;
  1408. right: 20rpx;
  1409. left: 20rpx;
  1410. line-height: 66rpx;
  1411. height: 100rpx;
  1412. background: #f9fafb;
  1413. display: flex;
  1414. justify-content: space-between;
  1415. .btn1,
  1416. .btn2 {
  1417. height: 66rpx;
  1418. width: 32%;
  1419. background-image: linear-gradient(to right, #72c172, #3bb197);
  1420. color: #fff;
  1421. border-radius: 8rpx;
  1422. font-size: 32rpx;
  1423. margin-top: 16rpx;
  1424. text-align: center;
  1425. }
  1426. .btn3 {
  1427. height: 66rpx;
  1428. width: 48%;
  1429. background-image: linear-gradient(to right, #72c172, #3bb197);
  1430. color: #fff;
  1431. border-radius: 8rpx;
  1432. font-size: 32rpx;
  1433. margin-top: 16rpx;
  1434. text-align: center;
  1435. }
  1436. .btn4{
  1437. width: 100% !important;
  1438. }
  1439. .btn5{
  1440. width: 48% !important;
  1441. }
  1442. }
  1443. }
  1444. }
  1445. </style>