scanning_ins.vue 47 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475
  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_btn2" v-if="workData && workData.length > 0 && isShow">
  208. <!-- <view class="btn1" @click="allStart(typeData)">一键操作</view> -->
  209. <view class="btn1" :class="(!infoDATA.residenceNo && addService==0)?'btn5':''" @click="getInspectAndPatientTransform(typeData)">一键操作</view>
  210. <!-- <view class="btn1" @click="scanDept()">送回病房</view> -->
  211. <view class="btn1" v-if="infoDATA.residenceNo" @click="scanDept()">送回病房</view>
  212. <view class="btn1" v-if="!infoDATA.residenceNo && addService==1" @click="additional()">追加服务</view>
  213. <view class="btn2" :class="(!infoDATA.residenceNo && addService==0)?'btn5':''" @click="showAlert">知道了</view>
  214. </view>
  215. <!-- <view class="foot_btn2" v-if="
  216. workData && workData.length === 0 && isShow && wechatFocusSwitch == 1
  217. "> -->
  218. <view class="foot_btn2" v-if="
  219. workData && workData.length === 0 && isShow
  220. ">
  221. <!-- <view class="btn1" @click="help">{{
  222. infoDATA.focusPatient == 1 ? "无需帮助" : "需要帮助"
  223. }}</view> -->
  224. <view class="btn3" v-if="infoDATA.residenceNo" @click="scanDept()">送回病房</view>
  225. <view class="btn3" v-if="!infoDATA.residenceNo && addService==1" @click="additional()">追加服务</view>
  226. <view class="btn3" :class="(!infoDATA.residenceNo && addService==0)?'btn4':''" @click="showAlert">知道了</view>
  227. </view>
  228. <view class="foot_btn2" v-if="!isShow">
  229. <view class="btn3" v-if="infoDATA.residenceNo" @click="scanDept()">送回病房</view>
  230. <view class="btn3" v-if="!infoDATA.residenceNo && addService==1" @click="additional()">追加服务</view>
  231. <view class="btn3" :class="(!infoDATA.residenceNo && addService==0)?'btn4':''" @click="showAlert">知道了</view>
  232. </view>
  233. </view>
  234. <!-- 弹窗 -->
  235. <!-- <showModel :title="models.title" :icon="models.icon" :disjunctor="models.disjunctor" :content="models.content"
  236. @know="know" :operate="models.operate" @ok="ok" @cancel="cancel"></showModel> -->
  237. <showModel :title="models.title" :icon="models.icon" :disjunctor="models.disjunctor" :content="models.content"
  238. @know="know" :operate="models.operate"></showModel>
  239. <!-- 送回病房弹窗 -->
  240. <showModel :title="models1.title" :icon="models1.icon" :disjunctor="models1.disjunctor" :content="models1.content"
  241. :operate="models1.operate" @ok="ok1" @cancel="cancel1"></showModel>
  242. <!-- 送回病房建单弹窗 -->
  243. <showModel :title="models2.title" :icon="models2.icon" :disjunctor="models2.disjunctor" :content="models2.content"
  244. :operate="models2.operate" @ok="ok2" @cancel="cancel2"></showModel>
  245. <!-- 送回病房建单弹窗-扫描科室 -->
  246. <showModel :title="models3.title" :icon="models3.icon" :disjunctor="models3.disjunctor" :content="models3.content"
  247. :operate="models3.operate" @ok="ok3" @cancel="cancel3"></showModel>
  248. <!-- 弹窗 -->
  249. <showModel :title="models4.title" :icon="models4.icon" :disjunctor="models4.disjunctor"
  250. :radioInspectionDistanceItem="models4.radioInspectionDistanceItem" @ok="ok4" @cancel="cancel4"
  251. @radioChange="radioChange4" :operate="models4.operate">
  252. </showModel>
  253. </view>
  254. </template>
  255. <script>
  256. import showModel from "../../components/showModel/showModel.vue";
  257. import {
  258. get,
  259. post,
  260. SM,
  261. webHandle
  262. } from "../../http/http.js";
  263. export default {
  264. data() {
  265. return {
  266. isInspectAndPatientTransform: false, //是否是一键操作
  267. selectRadio: [], //单选框选中的数据,第一项是qrcode,第二项是名称
  268. // 单选框弹窗model1
  269. models4: {
  270. disjunctor: false,
  271. },
  272. currentCode: '', //当前小扫描的科室二维码
  273. SMFlag: true,
  274. options: {},
  275. // wechatFocusSwitch: 0,
  276. hosId: "",
  277. // 弹窗model
  278. models: {
  279. disjunctor: false,
  280. },
  281. // 送回病房弹窗model
  282. models1: {
  283. disjunctor: false,
  284. },
  285. // 送回病房建单弹窗model
  286. models2: {
  287. disjunctor: false,
  288. },
  289. // 送回病房建单弹窗model-扫描科室
  290. models3: {
  291. disjunctor: false,
  292. },
  293. infoDATA: {},
  294. workData: [],
  295. patientOrders: [],
  296. acType: Number,
  297. tabType: 1,
  298. idTYPE: "",
  299. userId: {
  300. ids: [],
  301. },
  302. typeData: null,
  303. types: false,
  304. code: "",
  305. animationData: {}, //动画
  306. isShow: true, //是否显示“一键操作”
  307. currentStartDept: {}, //扫描的起点科室
  308. addService:null //是否开启允许追加服务
  309. };
  310. },
  311. methods: {
  312. // 获取是否需要选择陪检方式
  313. getInspectAndPatientTransformSend() {
  314. let infoDATA = JSON.parse(this.options.infoDATA);
  315. const postData = {
  316. "idx": 0,
  317. "sum": 1,
  318. "taskTypeConfig": {
  319. "taskTypeDTO": {
  320. "hosId": {
  321. "id": this.hosId
  322. },
  323. "associationType": {
  324. "key": "association_types",
  325. "value": "inspect",
  326. },
  327. },
  328. },
  329. };
  330. uni.showLoading({
  331. mask: true,
  332. title: '加载中'
  333. })
  334. post("/simple/data/fetchDataList/taskTypeConfig", postData).then((res) => {
  335. console.log(res)
  336. if (res.status == 200) {
  337. res.list = res.list || [];
  338. if (res.list[0] && res.list[0].signTypeIds) {
  339. // 如果开启
  340. const postData = {
  341. "idx": 0,
  342. "sum": 9999,
  343. "workOrderInspectScore": {
  344. "hosId": this.hosId,
  345. },
  346. };
  347. post("/simple/data/fetchDataList/workOrderInspectScore", postData).then((res) => {
  348. console.log(res)
  349. uni.hideLoading();
  350. if (res.status == 200) {
  351. res.list = res.list || [];
  352. let radioInspectionDistanceItem = res.list.map(v => ({
  353. id: v.id + "__" + v.inspectMode,
  354. inspectMode: v.inspectMode
  355. }));
  356. this.models4 = {
  357. disjunctor: true,
  358. title: "请选择陪检方式",
  359. radioInspectionDistanceItem,
  360. icon: "",
  361. operate: {
  362. ok: "确定",
  363. cancel: "取消",
  364. },
  365. };
  366. } else {
  367. uni.showToast({
  368. icon: "none",
  369. title: res.msg || "接口获取数据失败!",
  370. });
  371. }
  372. })
  373. } else {
  374. this.ok3Result();
  375. }
  376. } else {
  377. uni.hideLoading();
  378. uni.showToast({
  379. icon: "none",
  380. title: res.msg || "接口获取数据失败!",
  381. });
  382. }
  383. })
  384. },
  385. // 获取是否需要选择陪检方式
  386. getInspectAndPatientTransform() {
  387. this.isInspectAndPatientTransform = true;
  388. console.log(this.typeData);
  389. if (this.typeData) {
  390. const postData = {
  391. "idx": 0,
  392. "sum": 1,
  393. "taskTypeConfig": {
  394. "taskTypeDTO": {
  395. "hosId": {
  396. "id": this.hosId
  397. },
  398. "associationType": {
  399. "key": "association_types",
  400. "value": "inspect",
  401. },
  402. },
  403. },
  404. };
  405. uni.showLoading({
  406. mask: true,
  407. title: '加载中'
  408. })
  409. post("/simple/data/fetchDataList/taskTypeConfig", postData).then((res) => {
  410. console.log(res)
  411. if (res.status == 200) {
  412. res.list = res.list || [];
  413. if (res.list[0] && res.list[0].signTypeIds && this.typeData.gdState.value == 4) {
  414. // 如果开启并且工单状态是待到达
  415. const postData = {
  416. "idx": 0,
  417. "sum": 9999,
  418. "workOrderInspectScore": {
  419. "hosId": this.hosId,
  420. },
  421. };
  422. post("/simple/data/fetchDataList/workOrderInspectScore", postData).then((res) => {
  423. console.log(res)
  424. uni.hideLoading();
  425. if (res.status == 200) {
  426. res.list = res.list || [];
  427. let radioInspectionDistanceItem = res.list.map(v => ({
  428. id: v.id + "__" + v.inspectMode,
  429. inspectMode: v.inspectMode
  430. }));
  431. this.models4 = {
  432. disjunctor: true,
  433. title: "请选择陪检方式",
  434. radioInspectionDistanceItem,
  435. icon: "",
  436. operate: {
  437. ok: "确定",
  438. cancel: "取消",
  439. },
  440. };
  441. } else {
  442. uni.showToast({
  443. icon: "none",
  444. title: res.msg || "接口获取数据失败!",
  445. });
  446. }
  447. })
  448. } else {
  449. this.allStart(this.typeData);
  450. }
  451. } else {
  452. uni.hideLoading();
  453. uni.showToast({
  454. icon: "none",
  455. title: res.msg || "接口获取数据失败!",
  456. });
  457. }
  458. })
  459. } else {
  460. this.models = {
  461. disjunctor: true,
  462. content: "请选择工单",
  463. icon: "warn",
  464. operate: {
  465. know: "知道了",
  466. },
  467. };
  468. }
  469. },
  470. // 选中单选框
  471. radioChange4(item) {
  472. console.log(item);
  473. this.selectRadio = item.split("__");
  474. },
  475. // 确定
  476. ok4() {
  477. console.log(this.selectRadio);
  478. if (!this.selectRadio.length) {
  479. return;
  480. }
  481. this.models4.disjunctor = false;
  482. // 判断是一键操作还是送回病房
  483. if(this.isInspectAndPatientTransform){
  484. this.allStart(this.typeData);
  485. }else{
  486. this.ok3Result();
  487. }
  488. },
  489. cancel4() {
  490. this.models4.disjunctor = false;
  491. },
  492. ok2() {
  493. this.models2.disjunctor = false;
  494. this.getInspectAndPatientTransformSend();
  495. },
  496. cancel2() {
  497. this.models2.disjunctor = false;
  498. },
  499. ok3Result() {
  500. uni.showLoading({
  501. mask: true,
  502. title: '加载中'
  503. })
  504. let userId = uni.getStorageSync("userData").user.id;
  505. let postData = {
  506. "workOrder": {
  507. sourceId: 4,
  508. "hosId": this.hosId,
  509. "startDept": {
  510. "id": this.options.id || this.currentStartDept.id
  511. },
  512. "createDept": this.options.id || this.currentStartDept.id,
  513. "patient": {
  514. "patientCode": this.infoDATA.patientCode
  515. },
  516. "worker": {
  517. "id": userId
  518. },
  519. },
  520. "inspectMode": this.selectRadio.length > 0 ? this.selectRadio[0] : undefined,
  521. };
  522. post("/workerOrder/returnSickRoom", postData).then((res) => {
  523. console.log(res)
  524. uni.hideLoading();
  525. if (res.status == 200) {
  526. uni.showToast({
  527. icon: 'success',
  528. title: '建单成功',
  529. });
  530. } else {
  531. uni.showToast({
  532. icon: "none",
  533. title: res.msg || "接口获取数据失败!",
  534. });
  535. }
  536. })
  537. },
  538. ok3() {
  539. this.models3.disjunctor = false;
  540. this.getInspectAndPatientTransformSend();
  541. },
  542. cancel3() {
  543. this.models3.disjunctor = false;
  544. },
  545. // 送回病房-建单
  546. sendBuild() {
  547. let infoDATA = JSON.parse(this.options.infoDATA);
  548. this.models2 = {
  549. disjunctor: true,
  550. title: "提示",
  551. content: `您选择的起点科室为【${this.options.dept}】,您将从【${this.options.dept}】把【${infoDATA.patientName}】送回【${infoDATA.department.dept}】,如您确认请点击“确认建单”。`,
  552. icon: "warn",
  553. operate: {
  554. ok: "确认建单",
  555. cancel: "取消",
  556. },
  557. };
  558. },
  559. // 追加服务
  560. additional(){
  561. uni.navigateTo({
  562. url: `/pages/outpatient/outpatientEndTaskType/outpatientEndTaskType?model=${encodeURIComponent(JSON.stringify(this.infoDATA))}`,
  563. });
  564. },
  565. // 送回病房-扫描科室
  566. scanDept() {
  567. this.isInspectAndPatientTransform = false;
  568. if (!this.SMFlag) {
  569. return;
  570. }
  571. this.SMFlag = false;
  572. let infoDATA = JSON.parse(this.options.infoDATA);
  573. let code = "";
  574. SM().then((ress1) => {
  575. uni.showLoading({
  576. title: "加载中",
  577. mask: true,
  578. });
  579. //检验二维码的有效性
  580. post("/dept/scanning", {
  581. content: ress1,
  582. }).then((result) => {
  583. this.SMFlag = true;
  584. if (result.state == 200 || result.state == 201) {
  585. let ress = result.code;
  586. if (ress) {
  587. code = ress;
  588. // 科室扫描
  589. let postData = {
  590. "type": "query",
  591. "qrCode": code
  592. };
  593. post("/dept/scanChangeDept", postData).then((res) => {
  594. uni.hideLoading();
  595. if (res.status == 200) {
  596. if (res.data) {
  597. if(res.data.deptDTO){
  598. this.currentStartDept = res.data.deptDTO;
  599. }else{
  600. this.currentStartDept = res.data;
  601. }
  602. this.models3 = {
  603. disjunctor: true,
  604. title: "提示",
  605. content: `您选择的起点科室为【${this.currentStartDept.dept}】,您将从【${this.currentStartDept.dept}】把【${infoDATA.patientName}】送回【${infoDATA.department.dept}】,如您确认请点击“确认建单”。`,
  606. icon: "warn",
  607. operate: {
  608. ok: "确认建单",
  609. cancel: "取消",
  610. },
  611. };
  612. } else {
  613. uni.hideLoading();
  614. uni.showToast({
  615. icon: "none",
  616. title: "请扫描正确的科室码!",
  617. });
  618. }
  619. } else {
  620. uni.hideLoading();
  621. uni.showToast({
  622. icon: "none",
  623. title: res.msg || "接口获取数据失败!",
  624. });
  625. }
  626. });
  627. }
  628. } else {
  629. uni.hideLoading();
  630. uni.showToast({
  631. icon: "none",
  632. title: result.info || "接口获取数据失败!",
  633. });
  634. }
  635. });
  636. }).catch(err => {
  637. this.SMFlag = true;
  638. });
  639. },
  640. // 送回病房-选择起点科室
  641. sendBack() {
  642. let infoDATA = JSON.parse(this.options.infoDATA);
  643. this.models1 = {
  644. disjunctor: true,
  645. title: "提示",
  646. content: `您好,您是要将【${infoDATA.patientName}】送回病房吗?如确认请您点击“选择起点科室”建立工单。`,
  647. icon: "warn",
  648. operate: {
  649. ok: "选择起点科室",
  650. cancel: "取消",
  651. },
  652. };
  653. },
  654. ok1() {
  655. this.models1.disjunctor = false;
  656. uni.navigateTo({
  657. url: `../search/search?type=sendBack&code=${this.options.code}&infoDATA=${this.options.infoDATA}&patientOrders=${this.options.patientOrders}&workData=${this.options.workData}`,
  658. });
  659. },
  660. cancel1() {
  661. this.models1.disjunctor = false;
  662. },
  663. // 查看检查
  664. getInspectList() {
  665. uni.navigateTo({
  666. url: `../inspectList/inspectList?id=${this.infoDATA.department.id}&dept=${this.infoDATA.department.dept}&patientCode=${this.infoDATA.patientCode}`,
  667. });
  668. },
  669. // 通知
  670. notice(info) {
  671. let postData = {
  672. userIds: info.worker.id + "",
  673. content: `您负责护送的患者${info.patient.patientName}(${info.patient.bedNum})已经检查完毕,请尽快执行工单的下一步。`,
  674. };
  675. post("/wechat/sendCustomMessage", postData).then((res) => {
  676. if (res.status == 200) {
  677. uni.showToast({
  678. title: "通知成功",
  679. duration: 2000,
  680. });
  681. } else {
  682. uni.showToast({
  683. icon: "none",
  684. title: res.msg || "接口获取数据失败!",
  685. });
  686. }
  687. });
  688. },
  689. //需要帮助、无需帮助
  690. // help() {
  691. // this.models = {
  692. // disjunctor: true,
  693. // title: "提示",
  694. // content: this.infoDATA.focusPatient == 1 ?
  695. // "如设置为“无需帮助”则后期此患者检查将不会自动进行建单,可通过“需要帮助”设置自动建单" : "如设置为“需要帮助”则后期此患者检查会自动进行建单,可通过“无需帮助”取消设置",
  696. // icon: "warn",
  697. // operate: {
  698. // ok: "确定",
  699. // cancel: "取消",
  700. // },
  701. // };
  702. // },
  703. //需要帮助,无需帮助确定
  704. // ok() {
  705. // this.models.disjunctor = false;
  706. // post("/nurse/updData/patient", {
  707. // patient: {
  708. // id: this.infoDATA.id,
  709. // focusPatient: this.infoDATA.focusPatient == 1 ? 0 : 1,
  710. // },
  711. // }).then((res) => {
  712. // let msg = "设置失败";
  713. // let icon = "error";
  714. // if (res.status == 200) {
  715. // msg = "设置成功";
  716. // icon = "success";
  717. // this.infoDATA.focusPatient = res.data.focusPatient;
  718. // }
  719. // this.models = {
  720. // disjunctor: true,
  721. // content: msg,
  722. // icon: icon,
  723. // operate: {
  724. // know: "知道了",
  725. // },
  726. // };
  727. // });
  728. // },
  729. //需要帮助,无需帮助取消
  730. // cancel() {
  731. // this.models.disjunctor = false;
  732. // },
  733. //知道了
  734. know() {
  735. this.models.disjunctor = false;
  736. },
  737. // 知道了
  738. showAlert() {
  739. uni.navigateTo({
  740. url: "../receiptpage/receiptpage",
  741. });
  742. },
  743. //一键操作
  744. allStart(data) {
  745. console.log(data)
  746. let list = {};
  747. if (data) {
  748. let type = "";
  749. if (data.gdState.value == "8") {
  750. if (!this.SMFlag) {
  751. return;
  752. }
  753. this.SMFlag = false;
  754. SM().then((ress1) => {
  755. // ----------------
  756. uni.showLoading({
  757. title: "加载中",
  758. mask: true,
  759. });
  760. //检验二维码的有效性
  761. post("/dept/scanning", {
  762. content: ress1,
  763. }).then((result) => {
  764. this.SMFlag = true;
  765. this.currentCode = result.code;
  766. if (result.state == 200 || result.state == 201) {
  767. let ress = result.code;
  768. if (ress) {
  769. var ids = [];
  770. ids.push(data.id);
  771. type = "orderSign/" + ress;
  772. list = {
  773. ids
  774. };
  775. // 科室签到
  776. post("/workerOrder/" + type, list).then((res) => {
  777. uni.hideLoading();
  778. if (res.status == 200) {
  779. // model: JSON.stringify(res), //签到返回的信息
  780. // type: data.taskType.associationType.value, //关联类型
  781. // code: ress, //二维码code
  782. // ids //科室ID数组
  783. uni.navigateTo({
  784. url: `../scanning_djEnd/scanning_djEnd?type=${
  785. data.taskType.associationType.value
  786. }&code=${ress}&ids=${ids}&model=${encodeURIComponent(
  787. JSON.stringify(res)
  788. )}`,
  789. });
  790. } else {
  791. uni.navigateTo({
  792. url: `../scanning_djEnd/scanning_djEnd?model=${encodeURIComponent(
  793. JSON.stringify(res)
  794. )}&qrcode=${this.currentCode}`,
  795. });
  796. }
  797. });
  798. }
  799. } else {
  800. uni.hideLoading();
  801. uni.showToast({
  802. icon: "none",
  803. title: result.info || "接口获取数据失败!",
  804. });
  805. }
  806. });
  807. // ------------------------------
  808. }).catch(err => {
  809. this.SMFlag = true;
  810. });
  811. } else {
  812. if (data.taskType.associationType.value == "patientTransport") {
  813. type = "handleTrans";
  814. let data = {
  815. ids: this.userId.ids,
  816. // "11789558|51131895|7|黄石城乡|陈琛|女|19981003|20180803081051|Z消化内科Ⅰ"
  817. code: this.code,
  818. inspectMode: this.selectRadio.length > 0 ? this.selectRadio[0] : undefined,
  819. };
  820. list = data;
  821. }
  822. if (data.taskType.associationType.value == "inspect") {
  823. type = "handleIns";
  824. let data = {
  825. ids: this.userId.ids,
  826. // "11789558|51131895|7|黄石城乡|陈琛|女|19981003|20180803081051|Z消化内科Ⅰ"
  827. code: this.code,
  828. inspectMode: this.selectRadio.length > 0 ? this.selectRadio[0] : undefined,
  829. };
  830. list = data;
  831. }
  832. uni.showLoading({
  833. title: "加载中",
  834. mask: true,
  835. });
  836. post("/workerOrder/" + type, list).then((res) => {
  837. console.log(1111,res)
  838. uni.hideLoading();
  839. if (res.status == 200) {
  840. if(data.gdState.value == 4 && data.taskType.associationType.value === 'patientTransport'){
  841. // 门诊服务点
  842. if(res.orderList){
  843. uni.navigateTo({
  844. url: `/pages/outpatient/outpatientStartSignIn/outpatientStartSignIn?model=${encodeURIComponent(JSON.stringify(res))}`,
  845. });
  846. }else{
  847. uni.navigateTo({
  848. url: `../scanning_insEnd/scanning_insEnd?type=${
  849. data.taskType.associationType.value
  850. }&model=${encodeURIComponent(JSON.stringify(res))}`,
  851. });
  852. }
  853. }else{
  854. uni.navigateTo({
  855. url: `../scanning_insEnd/scanning_insEnd?type=${
  856. data.taskType.associationType.value
  857. }&model=${encodeURIComponent(JSON.stringify(res))}`,
  858. });
  859. }
  860. } else {
  861. uni.navigateTo({
  862. url: `../scanning_insEnd/scanning_insEnd?model=${encodeURIComponent(
  863. JSON.stringify(res)
  864. )}`,
  865. });
  866. }
  867. }).catch(err=>{
  868. console.log(9999,err)
  869. })
  870. }
  871. } else {
  872. this.models = {
  873. disjunctor: true,
  874. content: "请选择工单",
  875. icon: "warn",
  876. operate: {
  877. know: "知道了",
  878. },
  879. };
  880. }
  881. },
  882. //选中
  883. ac(data, i, type) {
  884. this.idTYPE = "";
  885. },
  886. //未选中
  887. ac1(data, i, type) {
  888. if (this.idTYPE == data.id) {
  889. //显示
  890. this.isShow = true;
  891. this.idTYPE = "";
  892. this.userId.ids = [];
  893. this.typeData = null;
  894. } else {
  895. if (data.gdState.value >= 5) {
  896. //隐藏
  897. this.isShow = false;
  898. } else {
  899. //显示
  900. this.isShow = true;
  901. }
  902. this.idTYPE = data.id;
  903. this.typeData = data;
  904. this.userId.ids[0] = this.idTYPE;
  905. }
  906. },
  907. texiao() {
  908. if (this.workData && this.workData.length > 0) {
  909. setTimeout(() => {
  910. this.animation.height(0).opacity(0).step();
  911. this.animationData = this.animation.export();
  912. }, 15000);
  913. }
  914. },
  915. // 获取需要帮助权限
  916. // getWechatFocusSwitch() {
  917. // let postData = {
  918. // idx: 0,
  919. // sum: 1,
  920. // taskType: {
  921. // hosIds: this.hosId,
  922. // associationType: {
  923. // id: 260,
  924. // },
  925. // },
  926. // };
  927. // post("/configuration/fetchDataList/taskType", postData).then((res) => {
  928. // if (res.status == 200) {
  929. // this.wechatFocusSwitch = res.list[0].wechatFocusSwitch || 0;
  930. // } else {
  931. // uni.showToast({
  932. // icon: "none",
  933. // title: res.msg || "接口获取数据失败!",
  934. // });
  935. // }
  936. // });
  937. // },
  938. // 获取检查页面控制
  939. getTaskTypeConfig(){
  940. uni.showLoading({
  941. title: "加载中",
  942. mask: true,
  943. });
  944. post("/simple/data/fetchDataList/taskTypeConfig", {
  945. "idx": 0,
  946. "sum": 10,
  947. "taskTypeConfig": {
  948. "taskTypeDTO": {
  949. "hosId": {
  950. "id": this.hosId
  951. },
  952. "associationType": {
  953. "key": "association_types",
  954. "value": "inspect"
  955. }
  956. }
  957. }
  958. }).then((result) => {
  959. uni.hideLoading();
  960. if (result.status == 200) {
  961. let configs = result.list || [];
  962. if(configs.length){
  963. this.addService = configs[0].addService
  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: 400rpx;
  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. margin-bottom: 110rpx;
  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_btn2 {
  1367. position: fixed;
  1368. bottom: 0;
  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. }
  1406. }
  1407. </style>