scanning_djEnd.vue 22 KB

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