scanning_djEnd.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778
  1. <template>
  2. <view class="Scanning_djEnd">
  3. <view class="Scanning_top" v-if="infoDATA.status == 200">
  4. <view class="Scanning_top_icon">
  5. <text class="cubeic-ok icon_transport transport-duigou"></text>
  6. </view>
  7. <view class="Scanning_top_text">
  8. <view class="text1">操作成功</view>
  9. </view>
  10. </view>
  11. <view
  12. class="Scanning_top"
  13. v-if="
  14. infoDATA.status == 10005 ||
  15. infoDATA.status == 100018 ||
  16. infoDATA.status == 10004 ||
  17. infoDATA.status == 100021 ||
  18. infoDATA.status == 500 ||
  19. infoDATA.status == 100031
  20. "
  21. >
  22. <view class="Scanning_top_icon">
  23. <text class="cubeic-close icon_transport transport-shibai"></text>
  24. </view>
  25. <view class="Scanning_top_text">
  26. <view class="text1">操作失败</view>
  27. </view>
  28. </view>
  29. <view
  30. class="Scanning_cont"
  31. v-if="
  32. (infoDATA.status == 200 && type == 'specimenPlan') ||
  33. (infoDATA.status == 200 && type == 'specimen')
  34. "
  35. ></view>
  36. <view
  37. class="Scanning_cont"
  38. v-if="
  39. (infoDATA.status == 200 && type == 'patientTransport') ||
  40. (infoDATA.status == 200 && type == 'inspect')
  41. "
  42. >扫描患者腕带并将患者送往目标科室.</view
  43. >
  44. <view
  45. class="Scanning_cont"
  46. v-if="
  47. (infoDATA.status == 200 &&
  48. type == 'drugsBag' &&
  49. (type1 == 'drug-ddd-2' || type1 == 'drug-dsd-2')) ||
  50. (infoDATA.status == 200 &&
  51. type == 'jPBag' &&
  52. (type1 == 'jp-ddd-2' || type1 == 'jp-dsd-2'))
  53. "
  54. >已到达目标科室,请扫描药包或静配包.</view>
  55. <view
  56. class="Scanning_cont"
  57. v-if="
  58. (infoDATA.status == 200 &&
  59. type == 'drugsBag' &&
  60. (type1 == 'drug-ddd-1' || type1 == 'drug-dsd-1')) ||
  61. (infoDATA.status == 200 &&
  62. type == 'jPBag' &&
  63. (type1 == 'jp-ddd-1' || type1 == 'jp-dsd-1'))
  64. "
  65. >
  66. <view v-if="accountObj"> 交接人账号 : {{ accountObj.account }} </view>
  67. <view v-if="accountObj"> 交接人姓名 : {{ accountObj.accountName }} </view>
  68. <view>已到达目标科室,请取药包或静配包后送达目标科室.</view>
  69. </view>
  70. <view
  71. class="Scanning_cont"
  72. v-if="
  73. infoDATA.status == 200 && type == 'other' && infoDATA.type == 'qt-ddd-1'
  74. "
  75. >已到达目标科室,请执行该工单.</view
  76. >
  77. <view
  78. class="Scanning_cont"
  79. v-if="
  80. (infoDATA.state == 'finish' &&
  81. infoDATA.status == 200 &&
  82. type == 'specimenPlan' &&
  83. infoDATA.type == 'plan-spe-dsd-1') ||
  84. (infoDATA.status == 200 &&
  85. type == 'other' &&
  86. infoDATA.type == 'qt-dsd-1')
  87. "
  88. >已到达目标科室,工单已完成.</view
  89. >
  90. <view
  91. class="Scanning_cont"
  92. v-if="
  93. (infoDATA.status == 200 &&
  94. type == 'specimenPlan' &&
  95. infoDATA.type != 'plan-spe-ddd-1' &&
  96. infoDATA.type != 'plan-spe-dsd-1') ||
  97. (infoDATA.status == 200 &&
  98. type == 'specimen' &&
  99. infoDATA.type != 'spe-ddd-1' &&
  100. infoDATA.type != 'spe-dsd-1')
  101. "
  102. >已到达目标科室,请扫描标本.</view
  103. >
  104. <view
  105. class="Scanning_cont"
  106. v-if="
  107. (infoDATA.status == 200 &&
  108. type == 'specimenPlan' &&
  109. infoDATA.type == 'plan-spe-ddd-1') ||
  110. (infoDATA.status == 200 &&
  111. type == 'specimen' &&
  112. infoDATA.type == 'spe-ddd-1')
  113. "
  114. >已到达目标科室,请取标本后送达目标科室.</view
  115. >
  116. <view
  117. class="Scanning_cont"
  118. v-if="
  119. (infoDATA.state != 'finish' &&
  120. infoDATA.status == 200 &&
  121. type == 'specimenPlan' &&
  122. infoDATA.type == 'plan-spe-dsd-1') ||
  123. (infoDATA.status == 200 &&
  124. type == 'specimen' &&
  125. infoDATA.type == 'spe-dsd-1')
  126. "
  127. >已到达目标科室,请放置标本完成该工单.</view
  128. >
  129. <view class="Scanning_cont" v-if="infoDATA.status != 200">
  130. <view>{{ infoDATA.msg }}</view>
  131. </view>
  132. <view
  133. class="foot_btn"
  134. v-if="type == 'inspect' || type == 'patientTransport'"
  135. >
  136. <view class="btn3" @click="Scanning_again()">继续扫描</view>
  137. </view>
  138. <view class="foot_btn" v-if="type == 'drugsBag' || type == 'jPBag'">
  139. <view
  140. class="btn3"
  141. @click="Scanning_again()"
  142. v-if="
  143. type1 === 'drug-ddd-2' ||
  144. type1 === 'drug-dsd-2' ||
  145. type1 === 'jp-ddd-2' ||
  146. type1 === 'jp-dsd-2'
  147. "
  148. >继续扫描</view
  149. >
  150. <view
  151. class="btn3"
  152. @click="showAlert()"
  153. v-if="
  154. type1 === 'drug-ddd-1' ||
  155. type1 === 'drug-dsd-1' ||
  156. type1 === 'jp-ddd-1' ||
  157. type1 === 'jp-dsd-1'
  158. "
  159. >知道了</view
  160. >
  161. </view>
  162. <view
  163. class="foot_btn"
  164. v-if="
  165. (type == 'specimenPlan' &&
  166. type1 != 'plan-spe-dsd-1' &&
  167. (type1 != 'plan-spe-ddd-1') & (type1 != 'plan-spe-ddd-2')) ||
  168. (type == 'specimen' &&
  169. type1 != 'spe-dsd-1' &&
  170. (type1 != 'spe-ddd-1') & (type1 != 'spe-ddd-2'))
  171. "
  172. >
  173. <view class="btn1" @click="Scanning_again()">扫描标本</view>
  174. <view
  175. class="btn3"
  176. @click="getNoScanSpecimen()"
  177. >查看未扫描标本</view
  178. >
  179. <view
  180. class="btn2"
  181. @click="Scanning_complete(ids)"
  182. >完成扫描</view
  183. >
  184. </view>
  185. <view
  186. class="foot_btn"
  187. v-if="
  188. (type == 'specimenPlan' && type1 == 'plan-spe-ddd-2') ||
  189. (type == 'specimen' && type1 == 'spe-ddd-2')
  190. "
  191. >
  192. <view class="btn1" @click="Scanning_again()">扫描标本</view>
  193. <view
  194. class="btn3"
  195. @click="getNoScanSpecimen()"
  196. >查看未扫描标本</view
  197. >
  198. <view
  199. class="btn2"
  200. @click="Scanning_complete(ids)"
  201. >完成扫描</view
  202. >
  203. </view>
  204. <view
  205. class="foot_btn"
  206. v-if="
  207. (infoDATA.state != 'finish' &&
  208. type == 'specimenPlan' &&
  209. type1 == 'plan-spe-dsd-1') ||
  210. (type == 'specimen' && type1 == 'spe-dsd-1')
  211. "
  212. >
  213. <view class="btn1" @click="Scanning_complete1(ids)">完成工单</view>
  214. <view class="btn2" @click="showAlert()">继续配送</view>
  215. </view>
  216. <view
  217. class="foot_btn"
  218. v-if="
  219. infoDATA.status != 200 &&
  220. type != 'specimenPlan' &&
  221. type != 'specimen' &&
  222. type !== 'jPBag' &&
  223. type !== 'inspect' &&
  224. type !== 'drugsBag' &&
  225. type !== 'patientTransport'
  226. "
  227. >
  228. <view class="btn3" @click="showAlert()">知道了</view>
  229. </view>
  230. <view
  231. class="foot_btn"
  232. v-if="
  233. (infoDATA.status == 200 && type1 == 'spe-ddd-1') ||
  234. (infoDATA.status == 200 && type1 == 'plan-spe-ddd-1')
  235. "
  236. >
  237. <view class="btn3" @click="showAlert()">知道了</view>
  238. </view>
  239. <view
  240. class="foot_btn"
  241. v-if="
  242. (infoDATA.state == 'finish' &&
  243. infoDATA.status == 200 &&
  244. type == 'specimenPlan' &&
  245. type1 == 'plan-spe-dsd-1') ||
  246. (infoDATA.status == 200 && type == 'other')
  247. "
  248. >
  249. <view class="btn3" @click="showAlert()">知道了</view>
  250. </view>
  251. <!-- 弹窗 -->
  252. <showModel
  253. :title="models.title"
  254. :icon="models.icon"
  255. :disjunctor="models.disjunctor"
  256. :content="models.content"
  257. @ok="ok"
  258. @cancel="cancel"
  259. :operate="models.operate"
  260. ></showModel>
  261. <!-- 弹窗 -->
  262. <showModel
  263. :title="models2.title"
  264. :icon="models2.icon"
  265. :disjunctor="models2.disjunctor"
  266. :content="models2.content"
  267. @ok="ok2"
  268. @know="know2"
  269. @cancel="cancel2"
  270. :operate="models2.operate"
  271. >
  272. </showModel>
  273. </view>
  274. </template>
  275. <script>
  276. import showModel from "../../components/showModel/showModel.vue";
  277. import { get, post, SM, webHandle } from "../../http/http.js";
  278. export default {
  279. data() {
  280. return {
  281. // 交接人信息
  282. accountObj: undefined,
  283. //传给后端查询是否继续扫描
  284. deptId: undefined,
  285. SMFlag: true,
  286. // 弹窗model
  287. models: {
  288. disjunctor: false,
  289. },
  290. // 完成扫描弹窗model1
  291. models2: {
  292. disjunctor: false,
  293. },
  294. wcId: "", //工单完成ID
  295. wcFlag: false,
  296. modelFlag: "", //工单完成类型
  297. infoDATA: [],
  298. ids: [],
  299. type: "",
  300. type1: "",
  301. queryObj: {}, //路由传递过来的参数
  302. gotoFlag: true,
  303. speNum: 0,
  304. content: "",
  305. };
  306. },
  307. methods: {
  308. // 查看未扫描标本
  309. getNoScanSpecimen() {
  310. if (!this.gotoFlag) {
  311. return;
  312. }
  313. this.gotoFlag = false;
  314. let id = JSON.parse(this.queryObj.ids)[0];
  315. uni.navigateTo({
  316. url: `../noScanSpecimen/noScanSpecimen?workOrderId=${id}&deptCode=${this.queryObj.deptCode}`,
  317. });
  318. },
  319. // 正常完成扫描
  320. overFinish() {
  321. //完成扫描
  322. let postType = "";
  323. if (
  324. this.queryObj.type1 === "plan-spe-ddd-2" ||
  325. this.queryObj.type1 === "plan-spe-dsd-2" ||
  326. this.queryObj.type1 === "plan-spe-dsd-3"
  327. ) {
  328. postType = "finishPlanSpes";
  329. } else if (this.queryObj.type1 == "spe-ddd-2") {
  330. postType = "finishSpes";
  331. }
  332. let data = {
  333. type: this.queryObj.type1,
  334. ids: this.wcId,
  335. };
  336. uni.showLoading({
  337. title: "加载中",
  338. mask: true,
  339. });
  340. post("/workerOrder/" + postType, data).then((res) => {
  341. if (res.status == 200) {
  342. this.models2 = {
  343. disjunctor: true,
  344. title: "提示",
  345. content: `完成扫描成功`,
  346. icon: "success",
  347. operate: {
  348. know: "知道了",
  349. },
  350. };
  351. } else {
  352. uni.hideLoading();
  353. uni.showToast({
  354. icon: "none",
  355. title: "请求失败!",
  356. });
  357. }
  358. });
  359. },
  360. // 确定
  361. ok() {
  362. this.models.disjunctor = false;
  363. if (this.modelFlag === "complete") {
  364. uni.showLoading({
  365. title: "加载中",
  366. mask: true,
  367. });
  368. let id = JSON.parse(this.queryObj.ids)[0];
  369. let postData = {
  370. ids: [id],
  371. sign: true,
  372. deptQrCode: this.queryObj.deptCode,
  373. };
  374. post("/workerOrder/expectedAndActual", postData).then((ress) => {
  375. uni.hideLoading();
  376. if (ress.status == 200) {
  377. if (this.wcFlag) {
  378. //正常完成扫描
  379. this.overFinish();
  380. } else {
  381. this.gotoOver();
  382. }
  383. } else if (ress.status == 1000035) {
  384. let content = "";
  385. if (
  386. this.queryObj.type1 === "spe-ddd-2" ||
  387. this.queryObj.type1 === "plan-spe-ddd-2"
  388. ) {
  389. //待到达
  390. content = `系统内预计标本<strong class="red">${ress.expectReceiveNum}</strong>只,您扫描收取标本<strong class="red">${ress.actualReceiveNum}</strong>只,其中<strong class="red">${ress.notReceiveNum}</strong>只未扫描;`;
  391. } else {
  392. //待送达
  393. this.content = `本工单已签到<strong class="red">${
  394. ress.scanSet ? ress.scanSet.join("、") : ""
  395. }</strong>,剩余需签到科室<strong class="red">${
  396. ress.notScanSet ? ress.notScanSet.join("、") : ""
  397. }</strong>,总签收<strong class="red">${
  398. ress.totalAcceptance
  399. }</strong>只,剩余<strong class="red">${
  400. ress.notAcceptance
  401. }</strong>只未签收,您确定完成工单吗?`;
  402. content = `您在<strong class="red">${ress.deptName}</strong>检验科扫描了<strong class="red">${ress.deptScanNum}</strong>个标本,还需扫描<strong class="red">${ress.deptNotScanNum}</strong>标本。`;
  403. }
  404. this.models2 = {
  405. disjunctor: true,
  406. title: "提示",
  407. content,
  408. icon: "warn",
  409. operate: {
  410. ok: "确定",
  411. cancel: "取消",
  412. },
  413. };
  414. } else {
  415. uni.showToast({
  416. icon: "none",
  417. title: "请求失败!",
  418. });
  419. }
  420. });
  421. } else if (this.modelFlag === "complete1") {
  422. //1对1标本完成工单
  423. let ids = this.wcId;
  424. uni.showLoading({
  425. title: "加载中",
  426. mask: true,
  427. });
  428. post("/workerOrder/finishSpeOrder", ids).then((res) => {
  429. if (res.status == 200) {
  430. uni.reLaunch({
  431. url: "../receiptpage/receiptpage",
  432. });
  433. } else {
  434. uni.hideLoading();
  435. uni.showToast({
  436. icon: "none",
  437. title: "请求失败!",
  438. });
  439. }
  440. });
  441. }
  442. },
  443. // 取消
  444. cancel() {
  445. this.models.disjunctor = false;
  446. },
  447. // 确定
  448. ok2() {
  449. this.models2.disjunctor = false;
  450. let id = JSON.parse(this.queryObj.ids)[0];
  451. let postData = {
  452. ids: [id],
  453. deptQrCode: this.queryObj.deptCode,
  454. };
  455. uni.showLoading({
  456. title: "加载中",
  457. mask: true,
  458. });
  459. post("/workerOrder/expectedAndActual", postData).then((ress) => {
  460. uni.hideLoading();
  461. if (ress.status == 200) {
  462. if (this.wcFlag) {
  463. this.overFinish();
  464. } else {
  465. this.gotoOver();
  466. }
  467. } else {
  468. uni.showToast({
  469. icon: "none",
  470. title: "请求失败!",
  471. });
  472. }
  473. });
  474. },
  475. // 取消
  476. cancel2() {
  477. this.models2.disjunctor = false;
  478. },
  479. know2() {
  480. this.models2.disjunctor = false;
  481. uni.reLaunch({
  482. url: "../receiptpage/receiptpage",
  483. });
  484. },
  485. //完成扫描
  486. Scanning_complete(id) {
  487. this.modelFlag = "complete";
  488. this.wcId = id;
  489. if (
  490. this.queryObj.type1 == "plan-spe-ddd-2" ||
  491. this.queryObj.type1 == "spe-ddd-2"
  492. ) {
  493. this.wcFlag = true;
  494. this.models = {
  495. disjunctor: true,
  496. title: "提示",
  497. content: "是否确定标本已扫描完成?",
  498. icon: "warn",
  499. operate: {
  500. ok: "确定",
  501. cancel: "取消",
  502. },
  503. };
  504. } else if (
  505. this.queryObj.type1 == "plan-spe-dsd-2" ||
  506. this.queryObj.type1 == "plan-spe-dsd-3" ||
  507. this.queryObj.type1 == "spe-dsd-2" ||
  508. this.queryObj.type1 == "spe-dsd-3"
  509. ) {
  510. this.wcFlag = false;
  511. this.models = {
  512. disjunctor: true,
  513. title: "提示",
  514. content: "是否确定标本已扫描完成?",
  515. icon: "warn",
  516. operate: {
  517. ok: "确定",
  518. cancel: "取消",
  519. },
  520. };
  521. } else {
  522. this.gotoOver();
  523. }
  524. },
  525. // 跳转完成工单页面
  526. gotoOver() {
  527. uni.navigateTo({
  528. url: `../scanning/scanning?type=${this.queryObj.type}&type1=${
  529. this.queryObj.type1
  530. }&deptCode=${this.queryObj.code}&dept=${
  531. this.queryObj.dept
  532. }&id=${encodeURIComponent(JSON.stringify(this.wcId))}&content=${
  533. this.content
  534. }`,
  535. });
  536. },
  537. //一对一完成工单
  538. Scanning_complete1(id) {
  539. this.modelFlag = "complete1";
  540. this.wcId = id;
  541. this.models = {
  542. disjunctor: true,
  543. title: "提示",
  544. content: "是否确定标本配送完成?",
  545. icon: "warn",
  546. operate: {
  547. ok: "确定",
  548. cancel: "取消",
  549. },
  550. };
  551. },
  552. //继续扫描
  553. Scanning_again() {
  554. if (!this.SMFlag) {
  555. return;
  556. }
  557. this.SMFlag = false;
  558. SM()
  559. .then((ress1) => {
  560. uni.showLoading({
  561. title: "加载中",
  562. mask: true,
  563. });
  564. // ----------------
  565. //检验二维码的有效性
  566. post("/dept/scanning", {
  567. content: ress1,
  568. }).then((result) => {
  569. this.SMFlag = true;
  570. if (result.state == 200 || result.state == 201) {
  571. let ress = result.code;
  572. let speCode = ress;
  573. let data = {
  574. code: speCode,
  575. type: this.queryObj.type1,
  576. deptCode: this.code,
  577. ids: this.ids,
  578. };
  579. let postType = "";
  580. if (this.type == "jPBag" || this.type == "drugsBag") {
  581. postType = "handleDrugsAndJp";
  582. delete data.ids;
  583. if(this.accountObj){
  584. data.handover = this.accountObj.accountId;
  585. }
  586. data.deptId = this.deptId;
  587. }
  588. if (this.type == "specimen") {
  589. postType = "handleSpes";
  590. data["speCode"] = data.code;
  591. delete data.code;
  592. if(this.accountObj){
  593. data.handover = this.accountObj.accountId;
  594. }
  595. }
  596. if (this.type == "specimenPlan") {
  597. postType = "handlePlanSpes";
  598. data["speCode"] = data.code;
  599. delete data.code;
  600. if(this.accountObj){
  601. data.handover = this.accountObj.accountId;
  602. }
  603. }
  604. if (this.type == "inspect") {
  605. postType = "handleIns";
  606. }
  607. if (this.type == "patientTransport") {
  608. postType = "handleTrans";
  609. }
  610. post("/workerOrder/" + postType, data).then((ress) => {
  611. uni.hideLoading();
  612. if (ress.status == 200) {
  613. this.speNum = ress.specimenCount;
  614. uni.navigateTo({
  615. url: `../scanning_djInfo/scanning_djInfo?type=${
  616. this.queryObj.type
  617. }&type1=${
  618. this.queryObj.type1
  619. }&infoData=${encodeURIComponent(
  620. JSON.stringify(ress.data)
  621. )}&status=${ress.status}&msg=${ress.msg}&deptCode=${
  622. this.queryObj.code
  623. }&dept=${this.queryObj.dept}&ids=${encodeURIComponent(
  624. JSON.stringify(this.ids)
  625. )}&model=${encodeURIComponent(
  626. JSON.stringify(ress)
  627. )}&speNum=${this.speNum}&accountObj=${encodeURIComponent(JSON.stringify(this.accountObj))}&deptId=${this.deptId}`,
  628. });
  629. } else {
  630. uni.navigateTo({
  631. url: `../scanning_djInfo/scanning_djInfo?type=${
  632. this.queryObj.type
  633. }&type1=${this.queryObj.type1}&status=${ress.status}&msg=${
  634. ress.msg
  635. }&deptCode=${this.queryObj.code}&dept=${
  636. this.queryObj.dept
  637. }&ids=${encodeURIComponent(
  638. JSON.stringify(this.ids)
  639. )}&infoData=${encodeURIComponent(
  640. JSON.stringify(ress.data)
  641. )}&model=${encodeURIComponent(JSON.stringify(ress))}&accountObj=${encodeURIComponent(JSON.stringify(this.accountObj))}&deptId=${this.deptId}`,
  642. });
  643. }
  644. });
  645. } else {
  646. uni.hideLoading();
  647. uni.showToast({
  648. icon: "none",
  649. title: "请求失败!",
  650. });
  651. }
  652. });
  653. // ------------------------------
  654. })
  655. .catch((err) => {
  656. this.SMFlag = true;
  657. });
  658. },
  659. // 知道了
  660. showAlert() {
  661. uni.navigateTo({
  662. url: "../receiptpage/receiptpage",
  663. });
  664. },
  665. },
  666. onShow() {
  667. this.SMFlag = true;
  668. this.gotoFlag = true;
  669. },
  670. onLoad(options) {
  671. console.log(options, "djEnd");
  672. if (options.speNum) {
  673. this.speNum = options.speNum;
  674. }
  675. if (options.accountObj && options.accountObj != "undefined") {
  676. this.accountObj = JSON.parse(options.accountObj);
  677. }
  678. if (options.deptId && options.deptId != "undefined") {
  679. this.deptId = options.deptId;
  680. }
  681. this.queryObj = options;
  682. let list = JSON.parse(options.model); //签到返回的信息
  683. this.code = options.code; //二维码code
  684. this.ids = options.ids && JSON.parse(options.ids); //科室ID数组
  685. this.infoDATA = list;
  686. if (options.type) {
  687. //关联类型
  688. this.type = options.type;
  689. } else {
  690. this.type = list.type;
  691. }
  692. this.type1 = options.type1;
  693. // #ifdef APP-PLUS
  694. webHandle("no", "app");
  695. // #endif
  696. // #ifdef H5
  697. webHandle("no", "wx");
  698. // #endif
  699. },
  700. };
  701. </script>
  702. <style lang="less">
  703. .Scanning_djEnd {
  704. padding: 0px 20rpx;
  705. .Scanning_top {
  706. height: 270rpx;
  707. .Scanning_top_icon {
  708. width: 140rpx;
  709. height: 140rpx;
  710. margin: 0 auto;
  711. // margin-top: 116rpx;
  712. border-radius: 50%;
  713. line-height: 140rpx;
  714. .cubeic-ok {
  715. font-size: 140rpx;
  716. color: #35b34a;
  717. }
  718. .cubeic-close {
  719. font-size: 140rpx;
  720. color: #ff3b53;
  721. }
  722. }
  723. .Scanning_top_text {
  724. .text1 {
  725. margin-top: 40rpx;
  726. font-size: 48rpx;
  727. text-align: center;
  728. }
  729. }
  730. }
  731. .Scanning_cont {
  732. font-size: 32rpx;
  733. text-align: center;
  734. view {
  735. margin-bottom: 16rpx;
  736. }
  737. .text {
  738. margin-top: 24rpx;
  739. color: #35b34a;
  740. }
  741. .text1 {
  742. margin-top: 24rpx;
  743. color: #ff3b53;
  744. }
  745. }
  746. .foot_btn {
  747. line-height: 88rpx;
  748. height: 100rpx;
  749. margin-top: 40rpx;
  750. text-align: center;
  751. display: flex;
  752. view {
  753. height: 88rpx;
  754. flex: 1;
  755. margin: 0 1%;
  756. background-image: linear-gradient(to right, #72c172, #3bb197);
  757. color: #fff;
  758. border-radius: 8rpx;
  759. font-size: 32rpx;
  760. margin-top: 16rpx;
  761. }
  762. }
  763. }
  764. </style>