From a5c62b07b759d794c1b371f07ec5ce548207c846 Mon Sep 17 00:00:00 2001
From: zhaoxiaoqiang <287285524@qq.com>
Date: Thu, 04 Aug 2022 15:19:48 +0800
Subject: [PATCH] upload
---
src/components/upload/uploadIdCard.vue | 3 ++-
src/views/homeIndex/home-index.vue | 3 +--
src/views/order-handling/order-handling.vue | 6 +++---
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/components/upload/uploadIdCard.vue b/src/components/upload/uploadIdCard.vue
index 4ecaabc..c624e71 100644
--- a/src/components/upload/uploadIdCard.vue
+++ b/src/components/upload/uploadIdCard.vue
@@ -1,7 +1,7 @@
<!--
* @Date: 2019-08-30 18:04:49
* @LastEditors: zxq
- * @LastEditTime: 2022-06-10 14:38:34
+ * @LastEditTime: 2022-08-04 15:18:51
* @Description:
-->
<template>
@@ -313,6 +313,7 @@
},
// 选择拍照或者相册选项
handleMenuSelect(item, index) {
+ console.log(this.$refs)
if (index === 0) {
this.$refs.androidInputFileCapture.click();
} else {
diff --git a/src/views/homeIndex/home-index.vue b/src/views/homeIndex/home-index.vue
index cec5b19..4d1fd11 100644
--- a/src/views/homeIndex/home-index.vue
+++ b/src/views/homeIndex/home-index.vue
@@ -2,7 +2,7 @@
* @Author: 小明丶
* @Date: 2020-05-20 20:29:47
* @LastEditors: zxq
- * @LastEditTime: 2022-08-04 14:34:56
+ * @LastEditTime: 2022-08-04 14:55:01
* @Description:
-->
<template>
@@ -159,7 +159,6 @@
scanType: ["qrCode", "barCode"], // 可以指定扫二维码还是一维码,默认二者都有
success: function(res) {
var result = res.resultStr; // 当needResult 为 1 时,扫码返回的结果
- console.log(result);
_this.str = res.resultStr;
_this.$router.push({
path: "/order-handling",
diff --git a/src/views/order-handling/order-handling.vue b/src/views/order-handling/order-handling.vue
index 2445682..6b3a820 100644
--- a/src/views/order-handling/order-handling.vue
+++ b/src/views/order-handling/order-handling.vue
@@ -2,7 +2,7 @@
* @Author: 小明丶
* @Date: 2020-05-21 19:43:21
* @LastEditors: zxq
- * @LastEditTime: 2022-02-28 17:28:09
+ * @LastEditTime: 2022-08-04 15:14:13
* @Description: 扫码办单订单信息页面
-->
<template>
@@ -51,8 +51,8 @@
};
},
created() {
- this.$api.createTrial({ orderUrl: this.$route.query.url}).then(res => {
- this.mation = res.body;
+ this.$api.createTrial({ orderUrl: this.$route.query.url}).then(({body}) => {
+ this.mation = body;
localStorage.setItem('projId',res.body.projId);
});
},
--
Gitblit v1.8.0