Browse Source

筛查添加tenantId

newMaster
liuzhipeng 3 months ago
parent
commit
cf570a4806
  1. 10
      acupuncture-前台/src/views/screening/h5.vue
  2. 2
      acupuncture-前台/src/views/screening/qrCode.vue

10
acupuncture-前台/src/views/screening/h5.vue

@ -180,7 +180,7 @@ export default {
loading: false, loading: false,
disabled: true, disabled: true,
hospitalId: "", tenantId: "",
tenantName: "", tenantName: "",
stepNum: 2, // stepNum: 2, //
uploadFileUrl: process.env.VUE_APP_BASE_URL + "/baidu/ocr/idcardInfo", // uploadFileUrl: process.env.VUE_APP_BASE_URL + "/baidu/ocr/idcardInfo", //
@ -413,7 +413,9 @@ export default {
}; };
}, },
created() { created() {
this.hospitalId = this.$route.query.hospitalId; this.tenantId = this.$route.query.tenantId;
console.log("this.tenantId", this.tenantId);
this.getQueryHospitalNoToken(); // id this.getQueryHospitalNoToken(); // id
}, },
methods: { methods: {
@ -558,8 +560,8 @@ export default {
const params = { const params = {
param: { param: {
type: 33, type: 33,
hospitalId: this.hospitalId, tenantId: this.tenantId,
centerId: this.hospitalId, centerId: this.tenantId,
}, },
}; };
create(params).then(async (res) => { create(params).then(async (res) => {

2
acupuncture-前台/src/views/screening/qrCode.vue

@ -90,7 +90,7 @@
> >
<template slot-scope="scope"> <template slot-scope="scope">
<img <img
:src="qzUrl + scope.row.url" :src="qzUrl + '/acupuncture' + scope.row.url"
alt="" alt=""
width="100" width="100"
height="100" height="100"

Loading…
Cancel
Save