scanning_Result.vue 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687
  1. <template>
  2. <view class="Scanning_Result">
  3. <view class="Scanning_top" v-if="res.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 class="success_tips" v-if="type == 'inspect' || type == 'patientTransport'">
  10. (请您评估患者的意识状况、生命体征、配合程度,如有异常请及时联系护士!)
  11. </view>
  12. </view>
  13. </view>
  14. <view class="Scanning_top" v-if="res.status != 200">
  15. <view class="Scanning_top_icon">
  16. <text class="cubeic-close icon_transport transport-shibai"></text>
  17. </view>
  18. <view class="Scanning_top_text">
  19. <view class="text1"> 操作失败 </view>
  20. </view>
  21. </view>
  22. <view class="Scanning_cont" v-if="
  23. (res.status == 200 && type == 'specimenPlan') ||
  24. (res.status == 200 && type == 'specimen')
  25. ">
  26. <view> 标本类型 : {{ infoDATA.stype.name || "-" }} </view>
  27. <view> 标本编号 : {{ infoDATA.scode || "-" }} </view>
  28. <view> 患者姓名 : {{ infoDATA.patientName || "-" }} </view>
  29. <view> 已扫描 : {{ speNum }} </view>
  30. </view>
  31. <view class="Scanning_cont" v-if="
  32. (res.status == 200 && type == 'inspect') || type == 'patientTransport'
  33. ">
  34. <view v-if="res.patient"> 患者姓名 : {{ res.patient || "-" }} </view>
  35. <view v-if="res.patientCode">
  36. 患者编号 : {{ res.patientCode || "-" }}
  37. </view>
  38. <view v-if="res.deptName">
  39. 住院科室 : {{ res.deptName !== "undefined" ? res.deptName : "-" }}
  40. </view>
  41. <view v-if="res.bedNum">
  42. 床号 : {{ res.bedNum !== "undefined" ? res.bedNum : "-" }}
  43. </view>
  44. <view v-if="res.data">
  45. 检查项目 :
  46. <text v-for="(data, i) in res.data" :key="i">{{
  47. data.inspectName
  48. }}</text>
  49. </view>
  50. <view v-if="
  51. res.status == 200 &&
  52. infoType != 'ins-zxz-1' &&
  53. infoType != 'ins-dsd-1' &&
  54. infoType != 'ins-ddd-1' &&
  55. infoType != 'trans-ddd-1' &&
  56. infoType != 'trans-dsd-1'
  57. ">
  58. {{ res.msg || "" }}
  59. </view>
  60. <view v-if="infoType == 'trans-dsd-1' && res.status == 200">
  61. 工单已完成
  62. </view>
  63. <view v-if="infoType == 'ins-dsd-1' && res.status == 200">
  64. 工单已完成。
  65. </view>
  66. <!-- 半程陪检 -->
  67. <view v-if="infoDATA.type == 'ins-half-ok' && res.status == 200">
  68. 已到达检查科室,工单已完成。
  69. </view>
  70. </view>
  71. <view class="Scanning_cont" v-if="res.status == 200 && (type == 'drugsBag' || type == 'jPBag')">
  72. <view v-if="type == 'drugsBag'"> 药包编码 : #{{ infoDATA.packid }} </view>
  73. <view v-if="type == 'drugsBag' && accountObj && (queryObj.type1 === 'drug-ddd-2' || queryObj.type1 === 'drug-dsd-2')"> 交接人账号 : {{ accountObj.account }} </view>
  74. <view v-if="type == 'drugsBag' && accountObj && (queryObj.type1 === 'drug-ddd-2' || queryObj.type1 === 'drug-dsd-2')"> 交接人姓名 : {{ accountObj.accountName }} </view>
  75. <view v-if="type == 'jPBag'">
  76. 静配药包编码 : #{{ infoDATA.packid }}
  77. </view>
  78. <view> 所属科室 : {{ infoDATA.target.dept || "-" }} </view>
  79. <view v-if="infoType === 'drug-dsd-2' || infoType === 'jp-dsd-2'">
  80. 工单已完成。
  81. </view>
  82. </view>
  83. <view class="Scanning_cont" v-if="res.status != 200">
  84. <view class="Scanning_cont_center">
  85. {{ res.msg === "undefined" || !res.msg ? "" : res.msg }}
  86. </view>
  87. </view>
  88. <view class="foot_btn" v-if="
  89. (type == 'specimen' && isKs != '1') ||
  90. (type == 'specimenPlan' && isKs != '1')
  91. ">
  92. <view class="btn1" @click="Scanning_again()"> 继续扫描 </view>
  93. <view class="btn2" @click="Scanning_complete(dataId)"> 完成扫描 </view>
  94. </view>
  95. <view class="foot_btn" v-if="
  96. (type != 'specimenPlan' &&
  97. type != 'specimen' &&
  98. type != 'drugsBag' &&
  99. type != 'jPBag' &&
  100. (type != 'inspect') & (type != 'patientTransport')) ||
  101. (queryObj.status == 200 &&
  102. type == 'drugsBag' &&
  103. infoType == 'drug-ddd-2') ||
  104. (queryObj.status == 200 &&
  105. type == 'drugsBag' &&
  106. infoType == 'drug-dsd-2') ||
  107. (queryObj.status == 200 && type == 'jPBag' && infoType == 'jp-ddd-2') ||
  108. (queryObj.status == 200 && type == 'jPBag' && infoType == 'jp-dsd-2') ||
  109. (queryObj.status == 200 && type == 'inspect') ||
  110. (queryObj.status == 200 && type == 'patientTransport')
  111. ">
  112. <view class="btn3" @click="showAlert(dataId)"> 知道了 </view>
  113. </view>
  114. <view class="foot_btn" v-if="
  115. (isKs != '1' &&
  116. queryObj.status != 200 &&
  117. type == 'drugsBag' &&
  118. infoType == 'drug-ddd-2') ||
  119. (isKs != '1' &&
  120. queryObj.status != 200 &&
  121. type == 'drugsBag' &&
  122. infoType == 'drug-dsd-2') ||
  123. (isKs != '1' &&
  124. queryObj.status != 200 &&
  125. type == 'jPBag' &&
  126. infoType == 'jp-ddd-2') ||
  127. (isKs != '1' &&
  128. queryObj.status != 200 &&
  129. type == 'jPBag' &&
  130. infoType == 'jp-dsd-2') ||
  131. (isKs != '1' && queryObj.status != 200 && type == 'inspect') ||
  132. (isKs != '1' && queryObj.status != 200 && type == 'patientTransport')
  133. ">
  134. <view class="btn3" @click="Scanning_again()"> 继续扫描 </view>
  135. <view class="btn3" @click="photograph(queryObj, { DEPTCode, DEPT, infoType })" v-if="
  136. (isKs != '1' && queryObj.status != 200 && type == 'inspect') ||
  137. (isKs != '1' && queryObj.status != 200 && type == 'patientTransport')
  138. ">
  139. 拍照
  140. </view>
  141. </view>
  142. <view class="foot_btn" v-if="
  143. infoType == 'spe-ddd-1' ||
  144. (isKs == '1' && queryObj.status != 200 && infoType == 'spe-dsd-2') ||
  145. (isKs == '1' && queryObj.status != 200 && infoType == 'spe-dsd-1') ||
  146. (isKs == '1' && queryObj.status != 200 && infoType == 'spe-ddd-2') ||
  147. (isKs == '1' && queryObj.status != 200 && infoType == 'spe-dsd-3') ||
  148. (isKs == '1' &&
  149. queryObj.status != 200 &&
  150. infoType == 'plan-spe-ddd-1') ||
  151. (isKs == '1' &&
  152. queryObj.status != 200 &&
  153. infoType == 'plan-spe-ddd-2') ||
  154. (isKs == '1' &&
  155. queryObj.status != 200 &&
  156. infoType == 'plan-spe-dsd-1') ||
  157. (isKs == '1' &&
  158. queryObj.status != 200 &&
  159. infoType == 'plan-spe-dsd-2') ||
  160. (isKs == '1' && queryObj.status != 200 && infoType == 'drug-ddd-2') ||
  161. (isKs == '1' && queryObj.status != 200 && infoType == 'drug-dsd-2') ||
  162. (isKs == '1' && queryObj.status != 200 && infoType == 'jp-ddd-2') ||
  163. (isKs == '1' && queryObj.status != 200 && infoType == 'jp-dsd-2') ||
  164. (isKs == '1' && queryObj.status != 200 && infoType == 'drug-ddd-1') ||
  165. (isKs == '1' && queryObj.status != 200 && infoType == 'drug-dsd-1') ||
  166. (isKs == '1' && queryObj.status != 200 && infoType == 'jp-ddd-1') ||
  167. (isKs == '1' && queryObj.status != 200 && infoType == 'jp-dsd-1') ||
  168. (isKs == '1' &&
  169. queryObj.status != 200 &&
  170. infoType == 'plan-spe-dsd-3') ||
  171. (isKs == '1' &&
  172. queryObj.status != 200 &&
  173. type == 'inspect' &&
  174. queryObj.type1 === 'undefined') ||
  175. (isKs == '1' &&
  176. queryObj.status != 200 &&
  177. type == 'patientTransport' &&
  178. queryObj.type1 === 'undefined')
  179. ">
  180. <view class="btn3" @click="showAlert(dataId)"> 知道了 </view>
  181. </view>
  182. <view class="foot_btn" v-if="
  183. (isKs == '1' &&
  184. queryObj.status != 200 &&
  185. type == 'inspect' &&
  186. queryObj.type1 === 'ins-zxz-1') ||
  187. (isKs == '1' &&
  188. queryObj.status != 200 &&
  189. type == 'inspect' &&
  190. queryObj.type1 === 'ins-dsd-1') ||
  191. (isKs == '1' &&
  192. queryObj.status != 200 &&
  193. type == 'patientTransport' &&
  194. queryObj.type1 === 'trans-dsd-1')
  195. ">
  196. <view class="btn1" @click="showAlert(dataId)"> 知道了 </view>
  197. <view class="btn2" @click="goToRight(dataId)"> 继续执行工单 </view>
  198. </view>
  199. <!-- 弹窗 -->
  200. <showModel :title="models.title" :icon="models.icon" :disjunctor="models.disjunctor" :content="models.content"
  201. @ok="ok" @cancel="cancel" :operate="models.operate"></showModel>
  202. <!-- 弹窗 -->
  203. <showModel :title="models1.title" :icon="models1.icon" :disjunctor="models1.disjunctor"
  204. :radioItem="models1.radioItem" @ok="ok1" @radioChange="radioChange1" @cancel="cancel1" :operate="models1.operate">
  205. </showModel>
  206. </view>
  207. </template>
  208. <script>
  209. import showModel from "../../components/showModel/showModel.vue";
  210. import {
  211. get,
  212. post,
  213. SM,
  214. webHandle
  215. } from "../../http/http.js";
  216. import {
  217. photographTool
  218. } from "../../tools/photograph.js";
  219. export default {
  220. data() {
  221. return {
  222. // 交接人信息
  223. accountObj:undefined,
  224. // 完成扫描的id
  225. wcId: "",
  226. // 弹窗model
  227. models: {
  228. disjunctor: false,
  229. },
  230. // 单选框弹窗model1
  231. models1: {
  232. disjunctor: false,
  233. },
  234. isKs: "", //是否科室签到 1
  235. infoDATA: {},
  236. res: {},
  237. infoType: "",
  238. DEPTCode: "",
  239. RESData: {},
  240. DEPT: "",
  241. dataId: "",
  242. type: "",
  243. model: {},
  244. speNum: 0,
  245. queryObj: {}, //路由传递过来的数据
  246. selectRadio: [], //单选框选中的数据,第一项是qrcode,第二项是名称
  247. };
  248. },
  249. methods: {
  250. // 拍照
  251. photograph(data, obj) {
  252. photographTool(data, obj);
  253. },
  254. // 继续扫描
  255. Scanning_again() {
  256. SM().then((ress1) => {
  257. // ----------------
  258. uni.showLoading({
  259. title: "加载中",
  260. mask: true,
  261. });
  262. //检验二维码的有效性
  263. post("/dept/scanning", {
  264. content: ress1,
  265. }).then((result) => {
  266. if (result.state == 200 || result.state == 201) {
  267. let codes = result.code;
  268. if (codes) {
  269. let speCode = codes;
  270. let data = {
  271. code: speCode,
  272. type: this.queryObj.type1,
  273. deptCode: this.DEPTCode,
  274. ids: [],
  275. };
  276. data.ids.push(this.dataId);
  277. let postType = "";
  278. if (this.type == "jPBag" || this.type == "drugsBag") {
  279. postType = "handleDrugsAndJp";
  280. }
  281. if (this.type == "specimen") {
  282. data["speCode"] = data.code;
  283. delete data.code;
  284. postType = "handleSpes";
  285. }
  286. if (this.type == "specimenPlan") {
  287. data["speCode"] = data.code;
  288. delete data.code;
  289. postType = "handlePlanSpes";
  290. }
  291. if (this.type == "inspect") {
  292. postType = "handleIns";
  293. }
  294. if (this.type == "patientTransport") {
  295. postType = "handleTrans";
  296. }
  297. post("/workerOrder/" + postType, data).then((ress) => {
  298. uni.hideLoading();
  299. if (ress.status == 200) {
  300. if (this.type == "specimenPlan" || this.type == "specimen") {
  301. this.infoDATA = ress.data;
  302. this.speNum++;
  303. uni.setStorageSync("speNum", this.speNum);
  304. uni.navigateTo({
  305. url: `../scanning_Result/scanning_Result?type=${
  306. this.queryObj.type
  307. }&type1=${
  308. this.queryObj.type1
  309. }&infoData=${encodeURIComponent(
  310. JSON.stringify(ress.data)
  311. )}&status=${ress.status}&msg=${ress.msg}&deptCode=${
  312. this.queryObj.deptCode
  313. }&dept=${this.queryObj.dept}&id=${this.dataId}&speNum=${
  314. this.speNum
  315. }&model=${encodeURIComponent(JSON.stringify(ress))}`,
  316. });
  317. } else if (
  318. this.type == "inspect" ||
  319. this.type == "patientTransport"
  320. ) {
  321. uni.navigateTo({
  322. url: `../scanning_Result/scanning_Result?type=${
  323. this.queryObj.type //baba
  324. }&type1=${
  325. this.queryObj.type1
  326. }&infoData=${encodeURIComponent(
  327. JSON.stringify(ress.data)
  328. )}&status=${ress.status}&msg=${ress.msg}&deptCode=${
  329. this.queryObj.deptCode
  330. }&dept=${this.queryObj.dept}&id=${this.dataId}&speNum=${
  331. this.speNum
  332. }&model=${encodeURIComponent(
  333. JSON.stringify(ress)
  334. )}&patient=${ress.patient}&patientCode=${
  335. ress.patientCode
  336. }&deptName=${ress.deptName}&bedNum=${ress.bedNum}`,
  337. });
  338. } else {
  339. uni.navigateTo({
  340. url: `../scanning_Result/scanning_Result?type=${
  341. this.queryObj.type
  342. }&type1=${
  343. this.queryObj.type1
  344. }&infoData=${encodeURIComponent(
  345. JSON.stringify(ress.data)
  346. )}&status=${ress.status}&msg=${ress.msg}&deptCode=${
  347. this.queryObj.deptCode
  348. }&dept=${this.queryObj.dept}&id=${this.dataId}&speNum=${
  349. this.speNum
  350. }&model=${encodeURIComponent(JSON.stringify(ress))}`,
  351. });
  352. }
  353. } else {
  354. uni.navigateTo({
  355. url: `../scanning_Result/scanning_Result?type=${
  356. this.queryObj.type
  357. }&type1=${this.queryObj.type1}&status=${ress.status}&msg=${
  358. ress.msg
  359. }&deptCode=${this.queryObj.deptCode}&dept=${
  360. this.queryObj.dept
  361. }&id=${this.dataId}&speNum=${
  362. this.speNum
  363. }&model=${encodeURIComponent(
  364. JSON.stringify(this.infoDATA)
  365. )}`,
  366. });
  367. }
  368. });
  369. } else {
  370. uni.hideLoading();
  371. }
  372. } else {
  373. uni.hideLoading();
  374. uni.showToast({
  375. icon: "none",
  376. title: "请求失败!",
  377. });
  378. }
  379. });
  380. // ------------------------------
  381. });
  382. },
  383. // 确定
  384. ok() {
  385. this.models.disjunctor = false;
  386. let data = {
  387. type: this.queryObj.type1,
  388. ids: [],
  389. };
  390. data.ids.push(this.wcId);
  391. // uni.showLoading({
  392. // title: '加载中',
  393. // mask: true
  394. // });
  395. //只要是标本轮巡1对多或者多对多
  396. if (
  397. this.queryObj.type1 === "plan-spe-ddd-2" ||
  398. this.queryObj.type1 === "plan-spe-ddd-3" ||
  399. this.queryObj.type1 === "plan-spe-dsd-2" ||
  400. this.queryObj.type1 === "plan-spe-dsd-3"
  401. ) {
  402. post("/workerOrder/finishPlanSpes", data).then((res) => {
  403. // uni.hideLoading()
  404. if (res.status == 200) {
  405. uni.navigateTo({
  406. url: "../receiptpage/receiptpage",
  407. });
  408. } else {
  409. uni.showToast({
  410. icon: "none",
  411. title: "请求失败!",
  412. });
  413. }
  414. });
  415. } else {
  416. post("/workerOrder/finishSpes", data).then((res) => {
  417. // uni.hideLoading()
  418. if (res.status == 200) {
  419. uni.navigateTo({
  420. url: "../receiptpage/receiptpage",
  421. });
  422. } else {
  423. uni.showToast({
  424. icon: "none",
  425. title: "请求失败!",
  426. });
  427. }
  428. });
  429. }
  430. },
  431. // 取消
  432. cancel() {
  433. this.models.disjunctor = false;
  434. },
  435. // 完成扫描
  436. Scanning_complete(id) {
  437. let data = {
  438. type: this.queryObj.type1,
  439. ids: [],
  440. };
  441. data.ids.push(id);
  442. if (
  443. this.queryObj.type1 == "plan-spe-ddd-2" ||
  444. this.queryObj.type1 == "spe-ddd-2"
  445. ) {
  446. this.wcId = id;
  447. this.models = {
  448. disjunctor: true,
  449. title: "提示",
  450. content: "是否确定标本已扫描完成?",
  451. icon: "warn",
  452. operate: {
  453. ok: "确定",
  454. cancel: "取消",
  455. },
  456. };
  457. } else {
  458. uni.navigateTo({
  459. url: `../scanning/scanning?type=${this.queryObj.type}&type1=${
  460. this.queryObj.type1
  461. }&id=${encodeURIComponent(JSON.stringify(data.ids))}&deptCode=${
  462. this.queryObj.deptCode
  463. }&dept=${this.queryObj.dept}&speNum=${this.speNum}`,
  464. });
  465. }
  466. },
  467. // 继续执行工单,当扫错科室码的时候,直接跳过,默默执行正确的科室码
  468. goToRight(id) {
  469. // flag 为1时查检查科室,flag为2时查终点科室
  470. let flag;
  471. // 患者转科,患者陪检
  472. if (
  473. this.queryObj.type1 == "trans-dsd-1" ||
  474. this.queryObj.type1 == "ins-dsd-1"
  475. ) {
  476. flag = 2;
  477. }
  478. if (this.queryObj.type1 == "ins-zxz-1") {
  479. flag = 1;
  480. }
  481. let postData = {
  482. workOrderId: id,
  483. flag: flag,
  484. };
  485. uni.showLoading({
  486. title: "加载中",
  487. mask: true,
  488. });
  489. post("/workerOrder/continueWorkOrder", postData).then((res) => {
  490. uni.hideLoading();
  491. console.log(res);
  492. if (res.state == 200) {
  493. let radioItem = [];
  494. res.data.forEach((item) => {
  495. let flag = radioItem.every(
  496. (item1) => item1.qrcode !== item.qrcode + "__" + item.deptName
  497. ); //如果radioItem里的所有项都与之不重复
  498. if (flag) {
  499. radioItem.push({
  500. qrcode: item.qrcode + "__" + item.deptName,
  501. deptName: item.deptName,
  502. });
  503. }
  504. });
  505. this.models1 = {
  506. disjunctor: true,
  507. title: "请选择正确的科室",
  508. radioItem,
  509. icon: "",
  510. operate: {
  511. ok: "确定",
  512. cancel: "取消",
  513. },
  514. };
  515. } else {
  516. uni.showToast({
  517. icon: "none",
  518. title: "请求失败!",
  519. });
  520. }
  521. });
  522. },
  523. // 选中单选框
  524. radioChange1(item) {
  525. console.log(item);
  526. this.selectRadio = item.split("__");
  527. },
  528. // 确定
  529. ok1() {
  530. this.models1.disjunctor = false;
  531. if (!this.selectRadio.length) {
  532. //默认选中第一项,选中则是选中项
  533. this.selectRadio = [
  534. this.models1.radioItem[0].qrcode.split("__")[0],
  535. this.models1.radioItem[0].deptName,
  536. ];
  537. }
  538. uni.navigateTo({
  539. url: `../scanning_code/scanning_code?type=${this.queryObj.type}&type1=${this.queryObj.type1}&id=${this.queryObj.id}&deptCode=${this.selectRadio[0]}&dept=${this.selectRadio[1]}`,
  540. });
  541. },
  542. // 取消
  543. cancel1() {
  544. this.models1.disjunctor = false;
  545. },
  546. // 知道了
  547. showAlert(id) {
  548. uni.navigateTo({
  549. url: "../receiptpage/receiptpage",
  550. });
  551. },
  552. },
  553. onLoad(options) {
  554. console.log(options, "result");
  555. this.queryObj = options;
  556. this.isKs = this.queryObj.isKs;
  557. if (options.infoData && options.infoData != "undefined") {
  558. this.infoDATA = JSON.parse(options.infoData);
  559. } else if (options.model) {
  560. this.infoDATA = JSON.parse(options.model);
  561. }
  562. if(options.accountObj && options.accountObj != "undefined"){
  563. this.accountObj = JSON.parse(options.accountObj);
  564. }
  565. this.dataId = options.id;
  566. this.RESData = options.resData;
  567. this.res["status"] = options.status;
  568. this.res["msg"] = options.msg;
  569. console.log(options.patient);
  570. this.res["patient"] = options.patient;
  571. this.res["patientCode"] = options.patientCode;
  572. this.res["deptName"] = options.deptName;
  573. this.res["bedNum"] = options.bedNum;
  574. this.infoType = options.type1;
  575. if (options.dept) {
  576. this.DEPT = options.dept;
  577. }
  578. if (options.speNum) {
  579. this.speNum = options.speNum;
  580. } else {
  581. this.speNumLocal = uni.getStorageSync("speNum");
  582. if (this.speNumLocal) {
  583. this.speNum = Number(this.speNumLocal);
  584. } else {
  585. this.speNum = 0;
  586. }
  587. }
  588. this.DEPTCode = options.deptCode;
  589. this.type = options.type;
  590. // #ifdef APP-PLUS
  591. webHandle("no", "app");
  592. // #endif
  593. // #ifdef H5
  594. webHandle("no", "wx");
  595. // #endif
  596. },
  597. };
  598. </script>
  599. <style lang="less">
  600. .Scanning_Result {
  601. padding: 0 74rpx;
  602. .Scanning_top {
  603. .Scanning_top_icon {
  604. width: 140rpx;
  605. height: 140rpx;
  606. margin: 0 auto;
  607. margin-top: 116rpx;
  608. border-radius: 50%;
  609. line-height: 140rpx;
  610. .cubeic-ok {
  611. font-size: 140rpx;
  612. color: #35b34a;
  613. }
  614. .cubeic-close {
  615. font-size: 140rpx;
  616. color: #ff3b53;
  617. }
  618. }
  619. .Scanning_top_text {
  620. .text1 {
  621. margin-top: 40rpx;
  622. font-size: 48rpx;
  623. text-align: center;
  624. }
  625. .success_tips {
  626. color: red;
  627. font-size: 30rpx;
  628. }
  629. }
  630. }
  631. .Scanning_cont {
  632. font-size: 32rpx;
  633. text-align: center;
  634. view {
  635. margin-bottom: 16rpx;
  636. }
  637. .Scanning_cont_center {
  638. text-align: center;
  639. }
  640. .text {
  641. margin-top: 24rpx;
  642. color: #35b34a;
  643. }
  644. .text1 {
  645. margin-top: 24rpx;
  646. color: #ff3b53;
  647. }
  648. }
  649. .foot_btn {
  650. line-height: 88rpx;
  651. height: 100rpx;
  652. margin-top: 40rpx;
  653. display: flex;
  654. justify-content: center;
  655. .btn1,
  656. .btn2,
  657. .btn3 {
  658. height: 88rpx;
  659. width: 45%;
  660. margin: 0 1%;
  661. background-image: linear-gradient(to right, #72c172, #3bb197);
  662. color: #fff;
  663. border-radius: 8rpx;
  664. font-size: 32rpx;
  665. margin-top: 16rpx;
  666. text-align: center;
  667. }
  668. }
  669. }
  670. </style>