| | |
| | | <!-- |
| | | * @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> |
| | |
| | | }, |
| | | // 选择拍照或者相册选项 |
| | | handleMenuSelect(item, index) { |
| | | console.log(this.$refs) |
| | | if (index === 0) { |
| | | this.$refs.androidInputFileCapture.click(); |
| | | } else { |
| | |
| | | * @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> |
| | |
| | | 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", |
| | |
| | | * @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> |
| | |
| | | }; |
| | | }, |
| | | 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); |
| | | }); |
| | | }, |