| | |
| | | |
| | | const toDetail = (id: number, deviceType: number) => { |
| | | console.log('点击卡片', id, deviceType); |
| | | toast.show("点击卡片"); |
| | | if (deviceType == 0) { |
| | | if (deviceType == 1) { |
| | | // 绞线 |
| | | uni.navigateTo({ |
| | | url: `/pages/production/detail/wireDetail?id=${id}`, |
| | | url: `/pages/routingInspection/detail/indexJX?id=${id}&deviceType=${deviceType}`, |
| | | }); |
| | | } else if (deviceType == 1) { |
| | | } else if (deviceType == 0) { |
| | | // 拉丝 |
| | | uni.navigateTo({ |
| | | url: `/pages/production/detail/twistDetail?id=${id}`, |
| | | url: `/pages/routingInspection/detail/indexLS?id=${id}&deviceType=${deviceType}`, |
| | | }); |
| | | } |
| | | }; |