zhaoxiaoqiang
2022-08-04 a5c62b07b759d794c1b371f07ec5ce548207c846
upload
3 files modified
12 ■■■■ changed files
src/components/upload/uploadIdCard.vue 3 ●●●● patch | view | raw | blame | history
src/views/homeIndex/home-index.vue 3 ●●●● patch | view | raw | blame | history
src/views/order-handling/order-handling.vue 6 ●●●● patch | view | raw | blame | history
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 {
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",
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);
    });
  },