瀏覽代碼

升级为https

lighter 1 年之前
父節點
當前提交
e097f1ff41

+ 1 - 1
.env.production

@@ -1,3 +1,3 @@
 ENV = 'production'
 
-VITE_BASE_URL = 'http://218.104.151.241/wxserver'
+VITE_BASE_URL = 'https://staticweb.hnthyy.cn/wxserver'

+ 2 - 2
src/components/electronic-health-card/index.vue

@@ -1,6 +1,6 @@
 <template>
   <div style="position: relative;width: 86%; margin-left: 7%; margin-top: 12px" @click="handleCardClick">
-    <img src="http://staticweb.hnthyy.cn/images/hunan-dzjkk.png"
+    <img src="https://staticweb.hnthyy.cn/images/hunan-dzjkk.png"
          style="width: 100%">
     <div style="position: absolute; bottom: 38px; left: 20px">
       <div style="font-size: 24px;">
@@ -73,7 +73,7 @@ export default {
 
         document.getElementById(props.cardInfo.healthCardId).innerHTML=''
         const image = new Image();
-        image.src = 'http://staticweb.hnthyy.cn/images/dzjkklogo.png';
+        image.src = 'https://staticweb.hnthyy.cn/images/dzjkklogo.png';
         image.onload = () => {
           const canvas = qrcanvas({
             size: 90,

+ 1 - 1
src/views/hospital-service/electronic-health-card/ActiveHealthCard.vue

@@ -13,7 +13,7 @@ export default {
     onMounted(() => {
       getEncryptOpenid().then(res => {
         const encryptData = encodeURI(res);
-        const redirectUri = encodeURI('http://staticweb.hnthyy.cn/electronicHealthCardHome')
+        const redirectUri = encodeURI('https://staticweb.hnthyy.cn/electronicHealthCardHome')
         window.location.href = `https://health.tengmed.com/open/batchActiveCard?open_id=${encryptData}&redirect_uri=${redirectUri}`
       })
     })

+ 2 - 2
src/views/hospital-service/electronic-health-card/AddElectronicHealthCard.vue

@@ -44,13 +44,13 @@ export default {
 
     const newUserRegister = () => {
       const isvAppId = '4c84fdd3b55e43c780f407a49d4d0cd4';
-      const redirectUri = encodeURI('http://staticweb.hnthyy.cn/newUserRegForElectronicHealthCard')
+      const redirectUri = encodeURI('https://staticweb.hnthyy.cn/newUserRegForElectronicHealthCard')
       window.location.href = `https://health.tengmed.com/open/getUserCode?apiVersion=3&type=register&isvAppId=${isvAppId}&redirect_uri=${redirectUri}`
     }
 
     const linkHealthCard = () => {
       const hospitalId = '37156';
-      const redirectUri = encodeURI('http://staticweb.hnthyy.cn/linkHealthCardResult')
+      const redirectUri = encodeURI('https://staticweb.hnthyy.cn/linkHealthCardResult')
       window.location.href = `https://health.tengmed.com/open/getHealthCardList?redirect_uri=${redirectUri}&hospitalId=${hospitalId}`;
     }
 

+ 1 - 1
src/views/hospital-service/electronic-health-card/LinkHealthCardResult.vue

@@ -62,7 +62,7 @@ export default {
         case 0:
         case '0':
           const isvAppId = '4c84fdd3b55e43c780f407a49d4d0cd4';
-          const redirectUri = encodeURI('http://staticweb.hnthyy.cn/newUserRegForElectronicHealthCard')
+          const redirectUri = encodeURI('https://staticweb.hnthyy.cn/newUserRegForElectronicHealthCard')
           window.location.href = `https://health.tengmed.com/open/getUserCode?apiVersion=3&type=register&isvAppId=${isvAppId}&redirect_uri=${redirectUri}`
           break;
         case -1:

+ 2 - 2
src/views/hospital-service/electronic-health-card/ShowCardQrCode.vue

@@ -39,7 +39,7 @@ export default {
     const makeQrCode = () => {
       document.getElementById('qrCode').innerHTML=''
       const image = new Image();
-      image.src = 'http://staticweb.hnthyy.cn/images/dzjkklogo.png';
+      image.src = 'https://staticweb.hnthyy.cn/images/dzjkklogo.png';
       image.onload = () => {
         const canvas = qrcanvas({
           size: 200,
@@ -63,7 +63,7 @@ export default {
 
     const myCardPacket = () => {
       getOrderIdByOutAppId(card.value.qrCodeText).then(res => {
-        const redirectUri = 'http://staticweb.hnthyy.cn/electronicHealthCardHome'
+        const redirectUri = 'https://staticweb.hnthyy.cn/electronicHealthCardHome'
         window.location.href = `https://03-h5-health.tengmed.com/api/open/takeMsCard?order_id=${res}&redirect_uri=${redirectUri}`
       })
     }

+ 1 - 1
src/views/hospital-service/physical-exam/PhysicalExamIndex.vue

@@ -83,7 +83,7 @@ const handleClickIndex = (tjIndex:object): void => {
   const fileName = (tjIndex['工作单位'] ? tjIndex['工作单位'] : '长沙泰和医院体检报告' ) + '.pdf'
   axios({
     method: 'post',
-    url: 'http://staticweb.hnthyy.cn/wxserver/physicalCheck/exportPDF',
+    url: 'https://staticweb.hnthyy.cn/wxserver/physicalCheck/exportPDF',
     data: tjIndex,
     responseType: 'blob',
   }).then((res) => {

+ 1 - 1
src/views/hospital-service/shareholder/ShareholdersEquity.vue

@@ -43,7 +43,7 @@ const benefits = {
 
 <style scoped>
 .gdbj {
-  background-image: url('http://staticweb.hnthyy.cn/images/gdbj.jpg');
+  background-image: url('https://staticweb.hnthyy.cn/images/gdbj.jpg');
   background-repeat: no-repeat;
   background-size: 100% 100%
 }

+ 0 - 1
src/views/isolations/ChronicDisease.vue

@@ -219,7 +219,6 @@ const commonPickerField = {
 
 const showAddressPicker = ref(false)
 const onConfirmArea = (values) => {
-  console.log(values)
   crmPatientMi.value.provinceCode = values.selectedValues[0]
   crmPatientMi.value.cityCode = values.selectedValues[1]
   crmPatientMi.value.areaCode = values.selectedValues[2]

+ 0 - 2
src/views/mine/my-coupons/MyCoupons.vue

@@ -37,8 +37,6 @@ import store from "../../../store";
 
 const screenSize = store.state.screenSize
 
-console.log(screenSize)
-
 const usableCoupons = ref([])
 const unusableCoupons = ref([])
 

+ 1 - 1
src/views/public-pages/PaymentSuccess.vue

@@ -135,7 +135,7 @@ if (!createOrderRequest.patientId) {
 }
 
 function toHome() {
-  window.open('https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxbde6b16acad84204&redirect_uri=http://staticweb.hnthyy.cn/wxserver/redirect/page&response_type=code&scope=snsapi_base&state=1#wechat_redirect')
+  window.open('https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxbde6b16acad84204&redirect_uri=https://staticweb.hnthyy.cn/wxserver/redirect/page&response_type=code&scope=snsapi_base&state=1#wechat_redirect')
 }
 
 function closePage() {

+ 1 - 1
src/views/public-pages/ResultSuccess.vue

@@ -29,7 +29,7 @@ const router = useRouter()
 const params = router.currentRoute.value.params;
 
 const toHome = () => {
-  window.open('https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxbde6b16acad84204&redirect_uri=http://staticweb.hnthyy.cn/wxserver/redirect/page&response_type=code&scope=snsapi_base&state=1#wechat_redirect')
+  window.open('https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxbde6b16acad84204&redirect_uri=https://staticweb.hnthyy.cn/wxserver/redirect/page&response_type=code&scope=snsapi_base&state=1#wechat_redirect')
 }
 
 const closePage = () => {