|
@@ -11,9 +11,9 @@
|
|
} from '@/api/request/config.js'
|
|
} from '@/api/request/config.js'
|
|
import {
|
|
import {
|
|
chemicalAioVerifyScanLogin,
|
|
chemicalAioVerifyScanLogin,
|
|
- chemicalAioVerifyAppletLogin
|
|
|
|
|
|
+ chemicalAioVerifyAppletLogin,
|
|
|
|
+ laboratoryAppletGetSubDetailInfo
|
|
} from '@/pages/api/index.js'
|
|
} from '@/pages/api/index.js'
|
|
-
|
|
|
|
export default {
|
|
export default {
|
|
name: "saoCode",
|
|
name: "saoCode",
|
|
data() {
|
|
data() {
|
|
@@ -99,7 +99,7 @@
|
|
this.$set(this, 'webViewType', true);
|
|
this.$set(this, 'webViewType', true);
|
|
} else if (codeData.type == 5) {
|
|
} else if (codeData.type == 5) {
|
|
//实验室详情
|
|
//实验室详情
|
|
-
|
|
|
|
|
|
+ this.laboratoryAppletGetSubDetailInfo(codeData.infoId);
|
|
} else if (codeData.type == 10) {
|
|
} else if (codeData.type == 10) {
|
|
uni.showToast({
|
|
uni.showToast({
|
|
mask: true,
|
|
mask: true,
|
|
@@ -176,6 +176,19 @@
|
|
});
|
|
});
|
|
}, 2000);
|
|
}, 2000);
|
|
},
|
|
},
|
|
|
|
+ //实验室详情-跳转
|
|
|
|
+ async laboratoryAppletGetSubDetailInfo(infoId) {
|
|
|
|
+ const {
|
|
|
|
+ data
|
|
|
|
+ } = await laboratoryAppletGetSubDetailInfo({
|
|
|
|
+ infoId: infoId
|
|
|
|
+ });
|
|
|
|
+ if (data.code == 200) {
|
|
|
|
+ uni.redirectTo({
|
|
|
|
+ url: '/pages_manage/views/laboratory/infoPage?infoData=' + encodeURIComponent(JSON.stringify(data.data))
|
|
|
|
+ });
|
|
|
|
+ }
|
|
|
|
+ },
|
|
},
|
|
},
|
|
}
|
|
}
|
|
</script>
|
|
</script>
|