1230bug
Showing
94 changed files
with
180 additions
and
18 deletions
1 | NODE_ENV = 'production' | 1 | NODE_ENV = 'production' |
2 | VUE_APP_TITLE = 'sandbox' | 2 | VUE_APP_TITLE = 'sandbox' |
3 | VUE_APP_BASE_URL= 'https://30.76.147.155' | 3 | VUE_APP_BASE_URL= '.' |
4 | VUE_APP_RSA_PUBLIC_KEY = 'B5FE03847F02046C47292AF0FF2DE88977241483DD40C123046EB39CBE4C48167B120096CFF12CD16559322884A3C56FA92B07B89AB51FC8C91A75127622151DDD730DFF1F993D5A290CEAC0BBA7FC88285D8994ACBAFF50101EDE9A0925AD5DFFAFE96D53C370E9C5B37DF2F871F81C4D7CA6B7EC37FF459C07975AD9A74A95' | 4 | VUE_APP_RSA_PUBLIC_KEY = 'B5FE03847F02046C47292AF0FF2DE88977241483DD40C123046EB39CBE4C48167B120096CFF12CD16559322884A3C56FA92B07B89AB51FC8C91A75127622151DDD730DFF1F993D5A290CEAC0BBA7FC88285D8994ACBAFF50101EDE9A0925AD5DFFAFE96D53C370E9C5B37DF2F871F81C4D7CA6B7EC37FF459C07975AD9A74A95' |
5 | VUE_APP_RSA_KEY_INDEX = '10001' | 5 | VUE_APP_RSA_KEY_INDEX = '10001' |
6 | VUE_APP_VHIS_INDEX= 'https://icpois-stg1.pingan.com/vhis/insurIndex' | 6 | VUE_APP_VHIS_INDEX= 'https://icpois-stg1.pingan.com/vhis/insurIndex' | ... | ... |
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
sandbox/assets/css/chunk-402b94dd.css
0 → 100644
1 | .empty-line[data-v-48a574a6]{margin-bottom:500px}.bis[data-v-d2d2f2fa]{background-repeat:no-repeat;background-size:100% 100%}.fl[data-v-d2d2f2fa]{display:flex}.flc[data-v-d2d2f2fa]{display:flex;justify-content:center}.flb[data-v-d2d2f2fa]{display:flex;justify-content:space-between}.fcc[data-v-d2d2f2fa],.fla[data-v-d2d2f2fa]{display:flex;align-items:center}.fcc[data-v-d2d2f2fa]{justify-content:center}.alert[data-v-d2d2f2fa],.bb[data-v-d2d2f2fa],.ipt-wrap .ipt[data-v-d2d2f2fa]{box-sizing:border-box}.fullp[data-v-d2d2f2fa]{width:100%;height:100%}.pointer[data-v-d2d2f2fa]{cursor:pointer}.text-l[data-v-d2d2f2fa]{text-align:left}.text-r[data-v-d2d2f2fa]{text-align:right}.bc[data-v-d2d2f2fa],.text-c[data-v-d2d2f2fa]{text-align:center}.flex1[data-v-d2d2f2fa]{flex:1}.disabled[data-v-d2d2f2fa]{cursor:default!important;color:#4c4948!important;background-color:#dcdddd!important;background-image:none!important;box-shadow:none!important}.cOrange[data-v-d2d2f2fa]{color:#f05a23}.cGreen[data-v-d2d2f2fa]{color:#006441}.cGray[data-v-d2d2f2fa]{color:#bfbfbf}.cDark[data-v-d2d2f2fa]{color:#dcdcdc}.alert[data-v-d2d2f2fa]{display:flex;align-items:center;position:relative;width:100%;border-radius:10px;border:1px solid #dcdddd;background-color:#f2f2f2;margin:0 auto 12px;padding:6px 36px}.alert .icon[data-v-d2d2f2fa]{margin-right:5px;display:inline-block}.alert .btn[data-v-d2d2f2fa]{color:#f05a23}.alert .close[data-v-d2d2f2fa]{position:absolute;right:17px}.ipt-wrap .ipt[data-v-d2d2f2fa]{width:100%;height:4.5rem;border-radius:4.5rem;border:1px solid #dcdddd!important;background-color:#fff;padding:0 2rem;flex:1;letter-spacing:.1rem}.ipt-wrap .down-arrow[data-v-d2d2f2fa]{position:absolute;top:2.2rem;right:2rem;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAICAYAAADN5B7xAAAAnklEQVQYlY2PPQoCQQyFv5E9gQdaG0VncG9iZWdtYWWneJCBSWHnNSxkwcLaUnRjsTPL4A/6QYok74U8M7WTGugDd8DQ0gMUeMRq4uxaADtgxX9sjKpSObsG5j/EWx9kZlQVgMrZPTD8Ij74IIP0a2IMnD+IL8AoNZ3BB2mAkjZgQoHSB7m9GaLplF8DnA9yzDVdhpzK2SVQ+CCL190TREgyBB3ltCcAAAAASUVORK5CYII=);width:1rem;height:.666667rem;pointer-events:none;cursor:default}.ipt-wrap .eye[data-v-d2d2f2fa]{position:absolute;top:1.2rem;right:2rem;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAYCAMAAAA8nnbJAAAASFBMVEUAAADc3d3c3d3c3d3c3d3c3d3c3d3c3d3c3d3c3d3c3d3c3d3c3d3c3d3c3d3c3d3c3d3c3d3c3d3d3d3c3d3c3d3c3d3c3d2MgPlJAAAAF3RSTlMAiEXazT5WARAxIWHzsAxM5XIZBJ27BlWYBu8AAACYSURBVCjP7Y/LFoMgDERF3gKKAs7//2mjSA+17abrziKHcJNMMvz1iyb74XOcj6i5f4cLcu3zGG/IQZhraEROHTEZkC1ZAf5sTc6DxQYdgorgqzVpkswj2mHj1Ueh7EMSuFQEJprLhSZmw0wBbFuYYLT7hnKYmmaihae3hKz26nVpd14la2HomQr6ZLYeQclditg37Sb16QM4Lgb/IrG3AgAAAABJRU5ErkJggg==);width:27px;height:24px;pointer-events:none;cursor:default}.ipt-wrap .eye-act[data-v-d2d2f2fa]{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAYCAMAAAA8nnbJAAAAVFBMVEUAAADd3d3c3d3c3d3c3d3c3d3c3d3c3d3c3d3c3d3c3d3d3d3c3d3c3d3c3d3c3d3c3d3c3d3c3d3c3d3c3d3c3d3c3d3d3d3c3d3c3d3c3d3c3d0oEK0uAAAAG3RSTlMAL5qyB4ATDQM7opFkhfB34NbpS/bLGFbIbSHSfxLbAAAArElEQVQoz82RWRKDIBBEEVAEWRTQLH3/ewaYKqNW8p28D5bpmp6mYP/KqD7XO7eiEIUdLoouwn0KoTcRmI6q4vCP4jd0ZekMctqlbYGTjEkOoK/2S9mIIULXfULFlpM0cBRuJUmiMbcix60N87xdnyDIC3msfQL9qY8SJDI1MPI0r/PVkugx63fOMSBrtpM8hKb3KRshNnZAOcDzEJwAlsQuKCtyjTLpr//wS15nnwwqYeZsVQAAAABJRU5ErkJggg==)}.err .ipt[data-v-d2d2f2fa],.ipt.err[data-v-d2d2f2fa],.ipt[data-v-d2d2f2fa]:focus{border-color:#f05a23!important}.swiper-pagination-bullet[data-v-d2d2f2fa]{width:1rem!important;height:1rem!important}.swiper-pagination-bullet-active[data-v-d2d2f2fa]{background:#f05a23!important}@media (max-width:768px){.alert[data-v-d2d2f2fa]{padding:4px 36px 4px 12px}}@font-face{font-family:iconfont;src:url("data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAAASEAAsAAAAACSAAAAQ3AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCDSAqFGIQnATYCJAMYCw4ABCAFhG0HVBvZBxGVnNvIfhzYDV+BAe9wtJiGONTGYuHBZ/Oh77Q3OxupItOeFFTcQjpRXwK+AIbn08ne766XppsiwRKPksQTj7AO4xAOv3fOAdsJc0KNZO3Io89Lf8K9BkY+ce+4df4Dms+yXMacNNbEAOOAAtrbF1mBxAlqy/Dq8uqwrgMBiPGAD4g6dbgGQhSseQRAKstK8iFMmFAVBMHSdsFWFpkNHhYzhbkEYJb3efIGQUQIDCaFtXQ0l1KEhOfKV+G019Ary7GgbzgHAGEXUIAPABZIZ6GrGTSI+oBia7/A4gVAioWBeq58vvHlkJeNr8INBhIyy0dwwV8esJg4MBAgfGCVlKUNj/HguZIawGrqjZgLPHg5xACK1Y2YCwy8Cpdclo4/YIMIcBLANZh9YGkIPHta2NorTKxUSlUNV7Koz2zswo0mRfNNRs9fbFq8YJr5uEXLWo7cEd+6pbl9W3v3rj4g7tzRpU+7HauR0YbmJ2+dalLELZy6ude0uGh+75Zp5iXFCxZMW2Q+0IQOKsa7SMJIKH18h3y9hWY+mN4tEtW0bYT2memWpk1db7L81tQ7dgs3isUbt1rrl0kU0yy1Sza7ZCw0m4lCIzFMF2ww15+Qp1u43sRk/hJT7YJN5uaLluolPZSTvq1m4vmbgR7veM116OjBGp2K21oMbkRGnvqglnCLVharuAM6gl+toTNYPZs5doyZDXyHbx/RSvZMt6tNtx7RlzkWlcysWQySV2I+Pio008Np8mQvL/j0CEVLLIItloiEIPIFnCBDN7ZpC6n3i/erE0uXICT/t+269rVrjx4de+wrwynfjo1BaN/tXQmzJ3wIF9krghUHqN1eFB4fMvuCROrnvVwdkUeWLff2k70IiO8fs2yOabXpHHdlvX+A5rmK6dx4piXlbHunib+iNeVM+UnXFvWZjR2uleVF/jsbK12wo8OWDpY+TRH0jP8syLs0WIlOAIDhFHOP+gIA1TF3kCOBOcbaj9FjgYCJ97CEFvwt35GfKZ2Yq4j5JiGUsAC+Juu7saSZavDK1Wgs/jeaagB/Q0WUsuYutTOdIKDlmTLhATa03MskN0+G0t1vcjyETCMMArY4CLmQiuaDSSIETSgem7dBu0/G6o2REgGeJiAQSrvAkDsKSukyiaU9Bo+Zd+BTZgwxXdZHSrjFro4ZoqKlgj+VSe4UsdaVX3iDfgeR41KP8UIuNkCBfgHpxBUd8hArGj760FgVcZkjpaLbEAJTbWYHWTeltfaNvz9X9KJNIcfBSrIMhApapMAfKSOxjnJ6V6vM+29AewuEXNFR432BrLCDk0B+AhqQrqquUceljG7woR00qhQ7i5OxiKRiBwSIMlJbPMkBqdoo7RDuNfyZblxT1WZ6TbzLfbBZ53QYQglLeIRPBBB9hPTHH9oLMhQ5r5ipDFwwMRwxRezrfzAAAA==") format("woff2")}.iconfont[data-v-d2d2f2fa]{font-family:iconfont!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.iconrefresh[data-v-d2d2f2fa]:before{content:"\E874"}.iconempty[data-v-d2d2f2fa]:before{content:"\E6A6"}.iconclose[data-v-d2d2f2fa]:before{content:"\E849"}.content iframe[data-v-d2d2f2fa]{height:100%;min-height:800px} | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
1 | .empty-line[data-v-48a574a6]{margin-bottom:500px}.bis[data-v-d2d2f2fa]{background-repeat:no-repeat;background-size:100% 100%}.fl[data-v-d2d2f2fa]{display:flex}.flc[data-v-d2d2f2fa]{display:flex;justify-content:center}.flb[data-v-d2d2f2fa]{display:flex;justify-content:space-between}.fcc[data-v-d2d2f2fa],.fla[data-v-d2d2f2fa]{display:flex;align-items:center}.fcc[data-v-d2d2f2fa]{justify-content:center}.alert[data-v-d2d2f2fa],.bb[data-v-d2d2f2fa],.ipt-wrap .ipt[data-v-d2d2f2fa]{box-sizing:border-box}.fullp[data-v-d2d2f2fa]{width:100%;height:100%}.pointer[data-v-d2d2f2fa]{cursor:pointer}.text-l[data-v-d2d2f2fa]{text-align:left}.text-r[data-v-d2d2f2fa]{text-align:right}.bc[data-v-d2d2f2fa],.text-c[data-v-d2d2f2fa]{text-align:center}.flex1[data-v-d2d2f2fa]{flex:1}.disabled[data-v-d2d2f2fa]{cursor:default!important;color:#4c4948!important;background-color:#dcdddd!important;background-image:none!important;box-shadow:none!important}.cOrange[data-v-d2d2f2fa]{color:#f05a23}.cGreen[data-v-d2d2f2fa]{color:#006441}.cGray[data-v-d2d2f2fa]{color:#bfbfbf}.cDark[data-v-d2d2f2fa]{color:#dcdcdc}.alert[data-v-d2d2f2fa]{display:flex;align-items:center;position:relative;width:100%;border-radius:10px;border:1px solid #dcdddd;background-color:#f2f2f2;margin:0 auto 12px;padding:6px 36px}.alert .icon[data-v-d2d2f2fa]{margin-right:5px;display:inline-block}.alert .btn[data-v-d2d2f2fa]{color:#f05a23}.alert .close[data-v-d2d2f2fa]{position:absolute;right:17px}.ipt-wrap .ipt[data-v-d2d2f2fa]{width:100%;height:4.5rem;border-radius:4.5rem;border:1px solid #dcdddd!important;background-color:#fff;padding:0 2rem;flex:1;letter-spacing:.1rem}.ipt-wrap .down-arrow[data-v-d2d2f2fa]{position:absolute;top:2.2rem;right:2rem;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAICAYAAADN5B7xAAAAnklEQVQYlY2PPQoCQQyFv5E9gQdaG0VncG9iZWdtYWWneJCBSWHnNSxkwcLaUnRjsTPL4A/6QYok74U8M7WTGugDd8DQ0gMUeMRq4uxaADtgxX9sjKpSObsG5j/EWx9kZlQVgMrZPTD8Ij74IIP0a2IMnD+IL8AoNZ3BB2mAkjZgQoHSB7m9GaLplF8DnA9yzDVdhpzK2SVQ+CCL190TREgyBB3ltCcAAAAASUVORK5CYII=);width:1rem;height:.666667rem;pointer-events:none;cursor:default}.ipt-wrap .eye[data-v-d2d2f2fa]{position:absolute;top:1.2rem;right:2rem;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAYCAMAAAA8nnbJAAAASFBMVEUAAADc3d3c3d3c3d3c3d3c3d3c3d3c3d3c3d3c3d3c3d3c3d3c3d3c3d3c3d3c3d3c3d3c3d3c3d3d3d3c3d3c3d3c3d3c3d2MgPlJAAAAF3RSTlMAiEXazT5WARAxIWHzsAxM5XIZBJ27BlWYBu8AAACYSURBVCjP7Y/LFoMgDERF3gKKAs7//2mjSA+17abrziKHcJNMMvz1iyb74XOcj6i5f4cLcu3zGG/IQZhraEROHTEZkC1ZAf5sTc6DxQYdgorgqzVpkswj2mHj1Ueh7EMSuFQEJprLhSZmw0wBbFuYYLT7hnKYmmaihae3hKz26nVpd14la2HomQr6ZLYeQclditg37Sb16QM4Lgb/IrG3AgAAAABJRU5ErkJggg==);width:27px;height:24px;pointer-events:none;cursor:default}.ipt-wrap .eye-act[data-v-d2d2f2fa]{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAYCAMAAAA8nnbJAAAAVFBMVEUAAADd3d3c3d3c3d3c3d3c3d3c3d3c3d3c3d3c3d3c3d3d3d3c3d3c3d3c3d3c3d3c3d3c3d3c3d3c3d3c3d3c3d3c3d3d3d3c3d3c3d3c3d3c3d0oEK0uAAAAG3RSTlMAL5qyB4ATDQM7opFkhfB34NbpS/bLGFbIbSHSfxLbAAAArElEQVQoz82RWRKDIBBEEVAEWRTQLH3/ewaYKqNW8p28D5bpmp6mYP/KqD7XO7eiEIUdLoouwn0KoTcRmI6q4vCP4jd0ZekMctqlbYGTjEkOoK/2S9mIIULXfULFlpM0cBRuJUmiMbcix60N87xdnyDIC3msfQL9qY8SJDI1MPI0r/PVkugx63fOMSBrtpM8hKb3KRshNnZAOcDzEJwAlsQuKCtyjTLpr//wS15nnwwqYeZsVQAAAABJRU5ErkJggg==)}.err .ipt[data-v-d2d2f2fa],.ipt.err[data-v-d2d2f2fa],.ipt[data-v-d2d2f2fa]:focus{border-color:#f05a23!important}.swiper-pagination-bullet[data-v-d2d2f2fa]{width:1rem!important;height:1rem!important}.swiper-pagination-bullet-active[data-v-d2d2f2fa]{background:#f05a23!important}@media (max-width:768px){.alert[data-v-d2d2f2fa]{padding:4px 36px 4px 12px}}@font-face{font-family:iconfont;src:url("data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAAASEAAsAAAAACSAAAAQ3AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCDSAqFGIQnATYCJAMYCw4ABCAFhG0HVBvZBxGVnNvIfhzYDV+BAe9wtJiGONTGYuHBZ/Oh77Q3OxupItOeFFTcQjpRXwK+AIbn08ne766XppsiwRKPksQTj7AO4xAOv3fOAdsJc0KNZO3Io89Lf8K9BkY+ce+4df4Dms+yXMacNNbEAOOAAtrbF1mBxAlqy/Dq8uqwrgMBiPGAD4g6dbgGQhSseQRAKstK8iFMmFAVBMHSdsFWFpkNHhYzhbkEYJb3efIGQUQIDCaFtXQ0l1KEhOfKV+G019Ary7GgbzgHAGEXUIAPABZIZ6GrGTSI+oBia7/A4gVAioWBeq58vvHlkJeNr8INBhIyy0dwwV8esJg4MBAgfGCVlKUNj/HguZIawGrqjZgLPHg5xACK1Y2YCwy8Cpdclo4/YIMIcBLANZh9YGkIPHta2NorTKxUSlUNV7Koz2zswo0mRfNNRs9fbFq8YJr5uEXLWo7cEd+6pbl9W3v3rj4g7tzRpU+7HauR0YbmJ2+dalLELZy6ude0uGh+75Zp5iXFCxZMW2Q+0IQOKsa7SMJIKH18h3y9hWY+mN4tEtW0bYT2memWpk1db7L81tQ7dgs3isUbt1rrl0kU0yy1Sza7ZCw0m4lCIzFMF2ww15+Qp1u43sRk/hJT7YJN5uaLluolPZSTvq1m4vmbgR7veM116OjBGp2K21oMbkRGnvqglnCLVharuAM6gl+toTNYPZs5doyZDXyHbx/RSvZMt6tNtx7RlzkWlcysWQySV2I+Pio008Np8mQvL/j0CEVLLIItloiEIPIFnCBDN7ZpC6n3i/erE0uXICT/t+269rVrjx4de+wrwynfjo1BaN/tXQmzJ3wIF9krghUHqN1eFB4fMvuCROrnvVwdkUeWLff2k70IiO8fs2yOabXpHHdlvX+A5rmK6dx4piXlbHunib+iNeVM+UnXFvWZjR2uleVF/jsbK12wo8OWDpY+TRH0jP8syLs0WIlOAIDhFHOP+gIA1TF3kCOBOcbaj9FjgYCJ97CEFvwt35GfKZ2Yq4j5JiGUsAC+Juu7saSZavDK1Wgs/jeaagB/Q0WUsuYutTOdIKDlmTLhATa03MskN0+G0t1vcjyETCMMArY4CLmQiuaDSSIETSgem7dBu0/G6o2REgGeJiAQSrvAkDsKSukyiaU9Bo+Zd+BTZgwxXdZHSrjFro4ZoqKlgj+VSe4UsdaVX3iDfgeR41KP8UIuNkCBfgHpxBUd8hArGj760FgVcZkjpaLbEAJTbWYHWTeltfaNvz9X9KJNIcfBSrIMhApapMAfKSOxjnJ6V6vM+29AewuEXNFR432BrLCDk0B+AhqQrqquUceljG7woR00qhQ7i5OxiKRiBwSIMlJbPMkBqdoo7RDuNfyZblxT1WZ6TbzLfbBZ53QYQglLeIRPBBB9hPTHH9oLMhQ5r5ipDFwwMRwxRezrfzAAAA==") format("woff2")}.iconfont[data-v-d2d2f2fa]{font-family:iconfont!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.iconrefresh[data-v-d2d2f2fa]:before{content:"\E874"}.iconempty[data-v-d2d2f2fa]:before{content:"\E6A6"}.iconclose[data-v-d2d2f2fa]:before{content:"\E849"}.content iframe[data-v-d2d2f2fa]{height:100%;min-height:800px} | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
This diff could not be displayed because it is too large.
sandbox/static/js/app.1577709525264.js
0 → 100644
This diff could not be displayed because it is too large.
1 | (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0b1d2b77"],{"121a":function(t,e,a){},"2b5c":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAPCAYAAADUFP50AAABMUlEQVQokY3SO0gcURiG4WfHAfGGiEiECBaCFintttLO4N1eUlhoZ6F1sAjYWC0WoqA2FpJGFAshoJ0hYG0XBQuzNuIFoi6rFjMLs8Ms+DUH/vO95/y33MjXISn9QD8+oQnXKGIDvyqmIAEM4wpfsIUB9GEB5yhgv2LOxT+OYw+T8Ql1aMZd4vFj1CMfoA07yCcg+IbVVBmDaMVaiO84wmnK9IpyugEYxVkQN6KQYSijlBH/i8cAD/iTYWhQXV9SxRBP+J9xeYOlVLpvWMZtiEZ04l8KPEAHPqfAEtpCURPGsJ4Cy6KhZ6krwBrmahiyNI27IE6piO0PQF2i2c5WVm4CvThEdw1oBr8xj5MwDj6LNmcFm7jAJV7Qjh60YEo8ulC1FkWLPR6nFeIeP7GbNL4DTFpA9HKFTM8AAAAASUVORK5CYII="},"6f92":function(t,e,a){},c366:function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"content"},[n("div",[n("div",{staticClass:"top-space"}),n("h2",{staticClass:"tit"},[t._v(t._s(t.data.title))]),n("div",{staticClass:"box back",on:{click:t.toNewsList}},[t._v(" "+t._s(t.$t("newsDetail.back"))+" >")]),n("div",{staticClass:"box dat"},[n("div",{staticClass:"date"},[n("img",{staticClass:"icon-clock",attrs:{src:a("2b5c"),alt:""}}),t._v(" "+t._s(t.$t("newsDetail.publishAt"))+":"+t._s(t.data.dateFormat))]),n("div",{staticClass:"pv"},[t._v(t._s(t.$t("newsDetail.readers"))+":"+t._s(t.data.pv)+" "+t._s(t.$t("newsDetail.per")))])]),n("div",{staticClass:"box desc ql-editor",domProps:{innerHTML:t._s(t.data.content)}},[t._v("\n\t\t\t"+t._s(t.data.content)+"\n\t\t")])])])},i=[],c=(a("efce"),a("4634"),a("ed8b"),a("97a3")),s=a("591a"),o=a("4ec3"),r=a.n(o),l=a("ed0b"),d=(a("121a"),a("71e2")),u=a("fa7d");function p(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}function b(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?p(a,!0).forEach((function(e){Object(c["a"])(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):p(a).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}var f={data:function(){return{key:"value",data:{title:"",content:"",dateFormat:"",pv:0},hadData:!0}},computed:b({},Object(s["c"])({userInfo:function(t){return t.userInfo}})),components:{},methods:{toNewsList:function(){this.$router.go(-1)},initData:function(){var t=this,e=this.$route.query.c,a=this.$i18n.locale,n={l:a,newsCode:e};Object(l["b"])({url:r.a.newsDetail,data:n}).then((function(e){e?(t.data.title=e.title,t.data.content=e.content,t.data.dateFormat=Object(d["b"])(e.createAt),t.data.pv=e.pv,t.data.title&&Object(u["g"])(t.data.title)):t.hadData=!1}))}},mounted:function(){this.initData()},created:function(){document.documentElement.scrollTop=0,document.body.scrollTop=0}},A=f,v=(a("e804"),a("6691")),O=Object(v["a"])(A,n,i,!1,null,"59e2a84e",null);e["default"]=O.exports},e804:function(t,e,a){"use strict";var n=a("6f92"),i=a.n(n);i.a}}]); | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
This diff could not be displayed because it is too large.
1 | (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1da27b4a"],{"121a":function(A,n,v){},"2b5c":function(A,n){A.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAPCAYAAADUFP50AAABMUlEQVQokY3SO0gcURiG4WfHAfGGiEiECBaCFintttLO4N1eUlhoZ6F1sAjYWC0WoqA2FpJGFAshoJ0hYG0XBQuzNuIFoi6rFjMLs8Ms+DUH/vO95/y33MjXISn9QD8+oQnXKGIDvyqmIAEM4wpfsIUB9GEB5yhgv2LOxT+OYw+T8Ql1aMZd4vFj1CMfoA07yCcg+IbVVBmDaMVaiO84wmnK9IpyugEYxVkQN6KQYSijlBH/i8cAD/iTYWhQXV9SxRBP+J9xeYOlVLpvWMZtiEZ04l8KPEAHPqfAEtpCURPGsJ4Cy6KhZ6krwBrmahiyNI27IE6piO0PQF2i2c5WVm4CvThEdw1oBr8xj5MwDj6LNmcFm7jAJV7Qjh60YEo8ulC1FkWLPR6nFeIeP7GbNL4DTFpA9HKFTM8AAAAASUVORK5CYII="},"6f92":function(A,n,v){},"71e2":function(A,n,v){"use strict";v.d(n,"b",(function(){return E})),v.d(n,"a",(function(){return e})),v.d(n,"d",(function(){return O})),v.d(n,"c",(function(){return R})),v.d(n,"e",(function(){return S}));v("e6d1"),v("cc1d"),v("c041");var t=[{v:"10",n:"HONG KONG,CHINA"},{v:"28",n:"CHINA"},{v:"401",n:"AFGHANISTAN"},{v:"403",n:"ALBANIA"},{v:"405",n:"ALGERIA"},{v:"407",n:"AMERICAN SAMOA"},{v:"409",n:"ANDORRA"},{v:"411",n:"ANGOLA"},{v:"413",n:"ANGUILLA"},{v:"415",n:"ANTARCTICA"},{v:"417",n:"ANTIGUA AND BARBUDA"},{v:"419",n:"ARGENTINA"},{v:"421",n:"ARMENIA"},{v:"423",n:"ARUBA"},{v:"425",n:"AUSTRALIA"},{v:"427",n:"AUSTRIA"},{v:"429",n:"AZERBAIJAN"},{v:"431",n:"BAHAMAS"},{v:"433",n:"BAHRAIN"},{v:"435",n:"BANGLADESH"},{v:"437",n:"BARBADOS"},{v:"439",n:"BELARUS"},{v:"441",n:"BELGIUM"},{v:"443",n:"BELIZE"},{v:"445",n:"BENIN"},{v:"447",n:"BERMUDA"},{v:"449",n:"BHUTAN"},{v:"451",n:"BOLIVIA"},{v:"453",n:"BOSNIA AND HERZEGOVINA"},{v:"455",n:"BOTSWANA"},{v:"457",n:"BOUVET ISLAND"},{v:"459",n:"BRAZIL"},{v:"461",n:"BRUNEI DARUSSALAM"},{v:"463",n:"BULGARIA"},{v:"465",n:"BURKINA FASO"},{v:"467",n:"BURUNDI"},{v:"469",n:"CAMBODIA"},{v:"471",n:"CAMEROON"},{v:"473",n:"CANADA"},{v:"475",n:"CAPE VERDE"},{v:"477",n:"CAYMAN ISLANDS"},{v:"479",n:"CENTRAL AFRICAN REPUBLIC"},{v:"481",n:"CHAD"},{v:"483",n:"CHILE"},{v:"485",n:"CHRISTMAS ISLAND"},{v:"487",n:"COCOS (KEELING) ISLANDS"},{v:"489",n:"COLOMBIA"},{v:"491",n:"COMOROS"},{v:"493",n:"CONGO, REPUBLIC OF"},{v:"495",n:"COOK ISLANDS"},{v:"497",n:"COSTA RICA"},{v:"499",n:"COTE D'IVOIRE"},{v:"501",n:"CROATIA"},{v:"503",n:"CUBA"},{v:"505",n:"CYPRUS"},{v:"507",n:"CZECH REPUBLIC"},{v:"509",n:"DENMARK"},{v:"511",n:"DJIBOUTI"},{v:"513",n:"DOMINICA"},{v:"515",n:"EAST TIMOR"},{v:"517",n:"ECUADOR"},{v:"519",n:"EGYPT"},{v:"521",n:"EL SALVADOR"},{v:"523",n:"EQUATORIAL GUINEA"},{v:"525",n:"ERITREA"},{v:"527",n:"ESTONIA"},{v:"529",n:"ETHIOPIA"},{v:"531",n:"FALKLAND ISLANDS"},{v:"533",n:"FAROE ISLANDS"},{v:"535",n:"FIJI"},{v:"537",n:"FINLAND"},{v:"539",n:"FRANCE"},{v:"541",n:"GABON"},{v:"543",n:"GAMBIA"},{v:"545",n:"GEORGIA"},{v:"547",n:"GERMANY"},{v:"549",n:"GHANA"},{v:"551",n:"GIBRALTAR"},{v:"553",n:"GREECE"},{v:"555",n:"GREENLAND"},{v:"557",n:"GRENADA"},{v:"559",n:"GUADELOUPE"},{v:"561",n:"GUAM"},{v:"563",n:"GUATEMALA"},{v:"565",n:"GUINEA"},{v:"567",n:"GUINEA-BISSAU"},{v:"569",n:"GUYANA"},{v:"571",n:"HAITI"},{v:"573",n:"HEARD AND MC DONALD ISLANDS"},{v:"575",n:"HOLY SEE (VATICAN CITY STATE)"},{v:"577",n:"HONDURAS"},{v:"579",n:"HUNGARY"},{v:"581",n:"ICELAND"},{v:"583",n:"INDIA"},{v:"585",n:"INDONESIA"},{v:"587",n:"IRAN"},{v:"589",n:"IRAQ"},{v:"591",n:"IRELAND"},{v:"593",n:"ISRAEL"},{v:"595",n:"ITALY"},{v:"597",n:"JAMAICA"},{v:"599",n:"JAPAN"},{v:"601",n:"JORDAN"},{v:"603",n:"KAZAKHSTAN"},{v:"605",n:"KENYA"},{v:"607",n:"KIRIBATI"},{v:"609",n:"KOSOVO"},{v:"611",n:"KUWAIT"},{v:"613",n:"KYRGYZSTAN"},{v:"615",n:"LAOS"},{v:"617",n:"LATVIA"},{v:"619",n:"LEBANON"},{v:"621",n:"LESOTHO"},{v:"623",n:"LIBERIA"},{v:"625",n:"LIBYAN ARAB JAMAHIRIYA"},{v:"627",n:"LIECHTENSTEIN"},{v:"629",n:"LITHUANIA"},{v:"631",n:"LUXEMBOURG"},{v:"633",n:"MADAGASCAR"},{v:"635",n:"MALAWI"},{v:"637",n:"MALAYSIA"},{v:"639",n:"MALDIVES"},{v:"641",n:"MALI"},{v:"643",n:"MALTA"},{v:"645",n:"MARSHALL ISLANDS"},{v:"647",n:"MARTINIQUE"},{v:"649",n:"MAURITANIA"},{v:"651",n:"MAURITIUS"},{v:"653",n:"MAYOTTE"},{v:"655",n:"MEXICO"},{v:"657",n:"MICRONESIA"},{v:"659",n:"MONACO"},{v:"661",n:"MONGOLIA"},{v:"663",n:"MONTENEGRO"},{v:"665",n:"MONTSERRAT"},{v:"667",n:"MOROCCO"},{v:"669",n:"MOZAMBIQUE"},{v:"671",n:"MYANMAR"},{v:"673",n:"NAMIBIA"},{v:"675",n:"NAURU"},{v:"677",n:"NEPAL"},{v:"679",n:"NETHERLANDS"},{v:"681",n:"NEW CALEDONIA"},{v:"683",n:"NEW ZEALAND"},{v:"685",n:"NICARAGUA"},{v:"687",n:"NIGER"},{v:"689",n:"NIGERIA"},{v:"691",n:"NIUE"},{v:"693",n:"NORFOLK ISLAND"},{v:"695",n:"NORTH KOREA"},{v:"697",n:"NORTHERN MARIANA ISLANDS"},{v:"699",n:"NORWAY"},{v:"701",n:"OMAN"},{v:"703",n:"PAKISTAN"},{v:"705",n:"PALAU"},{v:"707",n:"PALESTINE"},{v:"709",n:"PANAMA"},{v:"711",n:"PAPUA NEW GUINEA"},{v:"713",n:"PARAGUAY"},{v:"715",n:"PERU"},{v:"717",n:"PHILIPPINES"},{v:"719",n:"PITCAIRN"},{v:"721",n:"POLAND"},{v:"723",n:"PORTUGAL"},{v:"725",n:"PUERTO RICO"},{v:"727",n:"QATAR"},{v:"729",n:"REPUBLIC OF MACEDONI"},{v:"731",n:"REPUBLIC OF MOLDOVA"},{v:"733",n:"REUNION"},{v:"735",n:"ROMANIA"},{v:"737",n:"RUSSIA"},{v:"739",n:"RWANDA"},{v:"741",n:"SAINT KITTS AND NEVIS"},{v:"743",n:"SAINT LUCIA"},{v:"745",n:"SAINT VINCENT AND THE GRENADINES"},{v:"747",n:"SAMOA"},{v:"749",n:"SAN MARINO"},{v:"751",n:"SAO TOME AND PRINCIPE"},{v:"753",n:"SAUDI ARABIA"},{v:"755",n:"SENEGAL"},{v:"757",n:"SERBIA"},{v:"759",n:"SERBIA AND MONTENEGRO"},{v:"761",n:"SEYCHELLES"},{v:"763",n:"SIERRA LEONE"},{v:"765",n:"SINGAPORE"},{v:"767",n:"SLOVAKIA"},{v:"769",n:"SLOVENIA"},{v:"771",n:"SOLOMON ISLANDS"},{v:"773",n:"SOMALIA"},{v:"775",n:"SOUTH AFRICA"},{v:"777",n:"SOUTH GEORGIA AND THE SOUTH SANDWICH ISL"},{v:"779",n:"SOUTH KOREA"},{v:"781",n:"SOUTH YEMEN"},{v:"783",n:"SPAIN"},{v:"785",n:"SRI LANKA"},{v:"787",n:"ST. HELENA"},{v:"789",n:"ST. PIERRE AND MIQUELON"},{v:"791",n:"STATELESS"},{v:"793",n:"SUDAN"},{v:"795",n:"SURINAME"},{v:"797",n:"SVALBARD AND JAN MAYEN ISLANDS"},{v:"799",n:"SWAZILAND"},{v:"801",n:"SWEDEN"},{v:"803",n:"SWITZERLAND"},{v:"805",n:"SYRIAN ARAB REPUBLIC"},{v:"807",n:"TAIWAN,CHINA"},{v:"809",n:"TAJIKISTAN"},{v:"811",n:"THAILAND"},{v:"813",n:"TIMOR-LESTE"},{v:"815",n:"TOGO"},{v:"817",n:"TOKELAU"},{v:"819",n:"TONGA"},{v:"821",n:"TRINIDAD AND TOBAGO"},{v:"823",n:"TUNISIA"},{v:"825",n:"TURKEY"},{v:"827",n:"TURKMENISTAN"},{v:"829",n:"TURKS AND CAICOS ISLANDS"},{v:"831",n:"TUVALU"},{v:"833",n:"UGANDA"},{v:"835",n:"UKRAINE"},{v:"837",n:"UNITED ARAB EMIRATES"},{v:"839",n:"UNITED KINGDOM"},{v:"841",n:"UNITED REPUBLIC OF TANZANIA"},{v:"843",n:"UPPER VOLTA"},{v:"845",n:"URUGUAY"},{v:"847",n:"UZBEKISTAN"},{v:"849",n:"VANUATU"},{v:"851",n:"VENEZUELA"},{v:"853",n:"VIETNAM"},{v:"855",n:"VIRGIN ISLANDS"},{v:"857",n:"WALLIS AND FUTUNA ISLANDS"},{v:"859",n:"WESTERN SAHARA"},{v:"861",n:"YEMEN"},{v:"863",n:"YUGOSLAVIA"},{v:"865",n:"ZAIRE"},{v:"867",n:"ZAMBIA"},{v:"869",n:"ZIMBABWE"},{v:"119",n:"MACAU,CHINA"},{v:"225",n:"UNITED STATES"},{v:"494",n:"CONGO, DEMOCRATIC REP"},{v:"906",n:"REPUBLIC OF SOUTH SUDAN"}],I=[{v:"1",n:"已婚"},{v:"2",n:"未婚"},{v:"5",n:"其他"}],N=[{v:"1",n:"身份证(旧)"},{v:"36",n:"身份证(新)"},{v:"33",n:"香港身份证"},{v:"40",n:"护照"},{v:"9",n:"其他"}];function E(A){var n=new Date(A),v=n.getFullYear(),t=n.getMonth()+1,I=n.getDate(),N=v+"-"+(t<10?"0"+t:t)+"-"+(I<10?"0"+I:I);return N}function e(A,n){if(/[^0-9\.]/.test(A))return"0.00";if(null==A||"null"==A||""==A)return"0.00";A=A.toString().replace(/^(\d*)$/,"$1."),A=(A+"00").replace(/(\d*\.\d\d)\d*/,"$1"),A=A.replace(".",",");var v=/(\d)(\d{3},)/;while(v.test(A))A=A.replace(v,"$1,$2");if(A=A.replace(/,(\d\d)$/,".$1"),0==n){var t=A.split(".");"00"==t[1]&&(A=t[0])}return A}function O(){return t}function R(){return I}function S(){return N}},c366:function(A,n,v){"use strict";v.r(n);var t=function(){var A=this,n=A.$createElement,t=A._self._c||n;return t("div",{staticClass:"content"},[t("div",[t("div",{staticClass:"top-space"}),t("h2",{staticClass:"tit"},[A._v(A._s(A.data.title))]),t("div",{staticClass:"box back",on:{click:A.toNewsList}},[A._v(" "+A._s(A.$t("newsDetail.back"))+" >")]),t("div",{staticClass:"box dat"},[t("div",{staticClass:"date"},[t("img",{staticClass:"icon-clock",attrs:{src:v("2b5c"),alt:""}}),A._v(" "+A._s(A.$t("newsDetail.publishAt"))+":"+A._s(A.data.dateFormat))]),t("div",{staticClass:"pv"},[A._v(A._s(A.$t("newsDetail.readers"))+":"+A._s(A.data.pv)+" "+A._s(A.$t("newsDetail.per")))])]),t("div",{staticClass:"box desc ql-editor",domProps:{innerHTML:A._s(A.data.content)}},[A._v("\n\t\t\t"+A._s(A.data.content)+"\n\t\t")])])])},I=[],N=(v("efce"),v("4634"),v("ed8b"),v("97a3")),E=v("591a"),e=v("4ec3"),O=v.n(e),R=v("ed0b"),S=(v("121a"),v("71e2")),a=v("fa7d");function L(A,n){var v=Object.keys(A);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(A);n&&(t=t.filter((function(n){return Object.getOwnPropertyDescriptor(A,n).enumerable}))),v.push.apply(v,t)}return v}function T(A){for(var n=1;n<arguments.length;n++){var v=null!=arguments[n]?arguments[n]:{};n%2?L(v,!0).forEach((function(n){Object(N["a"])(A,n,v[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(A,Object.getOwnPropertyDescriptors(v)):L(v).forEach((function(n){Object.defineProperty(A,n,Object.getOwnPropertyDescriptor(v,n))}))}return A}var r={data:function(){return{key:"value",data:{title:"",content:"",dateFormat:"",pv:0},hadData:!0}},computed:T({},Object(E["c"])({userInfo:function(A){return A.userInfo}})),components:{},methods:{toNewsList:function(){this.$router.go(-1)},initData:function(){var A=this,n=this.$route.query.c,v=this.$i18n.locale,t={l:v,newsCode:n};Object(R["b"])({url:O.a.newsDetail,data:t}).then((function(n){n?(A.data.title=n.title,A.data.content=n.content,A.data.dateFormat=Object(S["b"])(n.createAt),A.data.pv=n.pv,A.data.title&&Object(a["g"])(A.data.title)):A.hadData=!1}))}},mounted:function(){this.initData()},created:function(){document.documentElement.scrollTop=0,document.body.scrollTop=0}},c=r,i=(v("e804"),v("6691")),D=Object(i["a"])(c,t,I,!1,null,"59e2a84e",null);n["default"]=D.exports},e804:function(A,n,v){"use strict";var t=v("6f92"),I=v.n(t);I.a}}]); | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-402b94dd"],{2150:function(t,e,i){"use strict";var n=i("d457"),o=i.n(n);o.a},"287a":function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"content"},[i("auth",{directives:[{name:"show",rawName:"v-show",value:!1,expression:"false"}],on:{onLogout:t.userLogout}}),t.outsideUrl?i("iframe",{attrs:{id:"myiframe",width:"100%",height:"100%",scrolling:"yes",frameborder:"0",src:t.outsideUrl}}):t._e()],1)},o=[],s=(i("efce"),i("4634"),i("ed8b"),i("97a3")),r=i("591a"),a=i("4ec3"),c=i.n(a),u=i("ed0b"),h=i("f72f"),f=i("509f"),l=i.n(f);function g(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function p(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?g(i,!0).forEach((function(e){Object(s["a"])(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):g(i).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var A="MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDA1SNj4qiOEmvTkZfp+Gt0UOLTCdxuEqRE+k0fROhgZdN2GmtDg6jcZV/CXKdwQGGdwOYdxEngRQb2K/SXd5Rnu4MkuAoHopDNrBRVqoJNQi6VOv6fvAEzeYivtS9aMM7IvdZuN1QlASCz2vxfUKJ3BaijMQqQE9m0pVm+0BDEfwIDAQAB",d=new l.a;function m(t){var e=JSON.stringify(t),i=d.encrypt(e);return i}d.setPublicKey(A);var v={data:function(){return{key:"value",outsideUrl:"",information:{}}},components:{Auth:h["a"]},computed:p({},Object(r["c"])({userInfo:function(t){return t.userInfo}})),methods:{init:function(){var t=this;this.isLogin()?Object(u["c"])({url:c.a.profile,sid:!0}).then((function(e){e&&(t.information=e,t.gotoVhis())})):this.gotoVhis()},userLogout:function(){this.gotoVhis()},isLogin:function(){return this.userInfo&&this.userInfo.sid},gotoVhis:function(){var t="https://icpois-stg1.pingan.com/vhis/insurIndex",e=this.$i18n.locale;switch(e){case"zh":t+="?language=zh-cn";break;case"en":t+="?language=en";break;default:t+="?language=zh-hk";break}if(t+="&partnerId=PA001&productCode=VHIS001",this.information&&this.information.idType&&this.information.idNo){var i={name:this.information.fullName,gender:this.information.sex,birthday:this.information.birthDate,certiType:this.information.policyIdType,certiNo:this.information.idNo};t+="&data="+m(i)}this.outsideUrl=t}},watch:{},mounted:function(){this.init()},created:function(){}},b=v,w=(i("2150"),i("6691")),O=Object(w["a"])(b,n,o,!1,null,"d2d2f2fa",null);e["default"]=O.exports},5557:function(t,e,i){},a164:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABWklEQVQ4jZ3TMUiUcRzG8c/7dhLeFtwRwlHDhYOI00EHoZgQUZtDQY4niHC4RENBEkriINnQkHu01pY2nVRLhBZB3apgwRVF0VJR5nDvxd/XV6EeeIf3z/N9/r8H/r/oy1hZSiXUcR4ncAibWMESmqE5TsF1vEUPriUBxzCJCM8xG3K5AL6OGobwKhX8AQ0s4kEyZS2c4BymMJKCy+gP/jdwGoPJVH8DFnA1MYS6jPnU2VdM4Ca6Ywwkne/Zqyj50mrgHc7EqOIZfmUYD9IqqjGKaP0jLGGKMT6j8B8BBXyKsYaK7K53cGOfgFNYj/FCu/9ohuksLmScV9CL5Rz+YBq38BQfA+Nj5FNwHncxh2+dd3Afy9rvvRSYm9oVOzqCh3iP2+zehToe4TVm0IfD6NLeiSt4gy1cxO90QKfKMI7jCb7jJ17iJC5hHD86UJSxzqGOJpe0sJ1l2AEH3EWOEBiFEQAAAABJRU5ErkJggg=="},c309:function(t,e,i){"use strict";var n=i("5557"),o=i.n(n);o.a},d457:function(t,e,i){},ddb8:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAAuUlEQVQokZWS0Q3CMAxEXyoWYAV3CRAfZRwYoQzQlgFaYBmQ+IAl4qxiftIqROEDS5Gs050vPhkzw6tuzIxfz6s6r7o3MyoNoQFeGkJHoTQEB4zAXUPYVsATuAFtLkrIR+Bci7xTy4tXNa/aFbB+/p4zs3TaBByAHljHfqhF2tl1ERRE5GSAqrRoUpYDiyCbPgDXUhCrErkWaSNGFFGLnAB+ppEkNaXpOa/aAI+Y89eCifsY3Xf8exofnNjWcJSbj90AAAAASUVORK5CYII="},f72f:function(t,e,i){"use strict";var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.showPanel?n("div",[t.showUnAuth?n("div",[n("div",{staticClass:"alert"},[n("img",{staticClass:"icon",attrs:{src:i("a164"),alt:""}}),n("div",{staticClass:"txt"},[t._v("\n "+t._s(t.tips.tit)+"\n "),n("span",{staticClass:"pointer btn",on:{click:t.gotoLoginPage}},[t._v(t._s(t.$t("customService.unauth.login")))]),t._v(" \n "+t._s(t.tips.or)+"\n "),n("span",{staticClass:"pointer btn",on:{click:t.gotoRegisterPage}},[t._v(t._s(t.$t("customService.unauth.register")))]),t._v("\n "+t._s(t.tips.tail)+"\n ")]),"suggest"==t.model?n("img",{staticClass:"pointer close",attrs:{src:i("ddb8"),alt:""},on:{click:function(e){t.showSuggest=!1}}}):t._e()])]):t._e(),t.showProfileInfo?n("div",[n("div",{staticClass:"alert"},[n("img",{staticClass:"icon",attrs:{src:i("a164"),alt:""}}),n("div",{staticClass:"txt"},[t._v("\n "+t._s(t.$t("customService.unauth.baseInfoTip"))+" \n "),n("span",{staticClass:"pointer btn",on:{click:t.gotoInformationPage}},[t._v(t._s(t.$t("customService.unauth.infoBtn")))]),t._v("\n "+t._s(t.$t("customService.unauth.baseInfoTail"))+"\n ")])])]):t._e(),"suggest"!=t.model?n("div",{staticClass:"empty-line"}):t._e()]):t._e()},o=[],s=(i("efce"),i("4634"),i("ed8b"),i("7cfd"),i("97a3")),r=i("591a");function a(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function c(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?a(i,!0).forEach((function(e){Object(s["a"])(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):a(i).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var u={props:{model:{type:String,default:"auth"},checkProfile:{type:Boolean,default:!1},tipModel:{type:String,default:"m3"}},data:function(){return{key:"value",showProfileInfo:!1,showUnAuth:!1,showSuggest:!0,tips:{}}},components:{},computed:c({},Object(r["c"])({userInfo:function(t){return t.userInfo}}),{locale:function(){return this.$i18n.locale||"tc"},i18n:function(){return this.$i18n.messages&&this.$i18n.locale?this.$i18n.messages[this.$i18n.locale]:{}},showPanel:function(){var t="auth"==this.model&&(this.showProfileInfo||this.showUnAuth),e="suggest"==this.model&&this.showSuggest;return t||e}}),methods:{initData:function(){this.tips=this.i18n.customService.unauth[this.tipModel],this.userInfo&&this.userInfo.name?this.loginAction():this.logoutAction()},loginAction:function(){this.showUnAuth=!1,this.checkProfile?1==this.userInfo.hadFullInfo?this.$emit("onLogin",this.userInfo):this.showProfileInfo=!0:this.$emit("onLogin",this.userInfo)},logoutAction:function(){this.showUnAuth=!0,this.showProfileInfo=!1,this.$emit("onLogout",{})},gotoLoginPage:function(){var t=this.$route.path,e="?";for(var i in this.$route.query)t+=e+i+"="+this.$route.query[i],e="&";this.$router.push({path:"/login?callback="+t})},gotoRegisterPage:function(){this.$router.push({path:"/register"})},gotoInformationPage:function(){var t=this.$route.fullPath;this.$router.push({path:"/infomation/improve",query:{c:t,a:1}})},noAuth:function(){this.$store.commit("SET_USER_INFO",null),this.initData(),this.$emit("onLogout",{})}},mounted:function(){this.initData()},created:function(){},watch:{userInfo:function(t){t&&t.name?this.loginAction():this.logoutAction()}}},h=u,f=(i("c309"),i("6691")),l=Object(f["a"])(h,n,o,!1,null,"48a574a6",null);e["a"]=l.exports}}]); | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff could not be displayed because it is too large.
This diff is collapsed.
Click to expand it.
1 | (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-ae62fc9e"],{1733:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACEAAAAPCAYAAABqQqYpAAABjklEQVQ4jcXTMUhVcRQG8N99PpCEkoZQDIJ4RlAQFA5uhVAgBIoowluCAiEbCreGokWKQmippiCCKHAppyTEsTYHI5qaGgoarkPBc9CG/3l0sXvB6b0PDpz7nfu/3/c/59wsbzb68QRTOKBz+IM3WKjjBSY7KN5GH66iL8ubjR1kXTDRRqvWZQPQWyshVzGB3wVuAmuRj+F4RAPvgz+LD4UzS7hSeP6O0/i2V7DMxCesoImd4FbwOfL1ELyFBZwL/jAeRN7CfbzEZnBP8RNH92MCeqQb3q6oD+NCxJHgboTBr9LW5xgI8W08lxaxd+/H6hUiB6V2XsOpkvqjCHgldW0SQ3iGj7iMUSziDH7heplYlQnh+gvmSmp3o57hWHA98e6idPNVaWz3pNGNS3v0H6rG0cZDXCzhN/EW7/CjwM9hFydwSRrVTJiarxIp68QIzhdMvsas1FJhaiOijpMYjNogHks708adMDNeZSLLm43dqmKnUPPvN+wWWjVptt3Ecl3a8hzTONRB8S0s4+ZfrpxKJ/cIpTQAAAAASUVORK5CYII="},"1a59":function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("div",{staticClass:"ebg"}),i("div",{staticClass:"content"},[i("div",{staticClass:"top-space"}),i("div",{staticClass:"box"},[i("div",{staticClass:"news"},t._l(t.news,(function(e,s){return i("div",{key:s,staticClass:"news-item",on:{click:function(a){return t.toNewsDetail(e.newsCode)}}},[i("div",{staticClass:"news-item-tit"},[i("div",{staticClass:"point"}),i("div",{staticClass:"tit"},[t._v(t._s(e.title))]),1==e.hadNewTag?i("img",{staticClass:"new",attrs:{src:a("1733")}}):t._e()]),i("div",{staticClass:"news-item-date"},[t._v(t._s(e.dateFormat))])])})),0),i("pagination",{ref:"pagination",staticClass:"pagination",attrs:{total:t.totalPage,totalItem:t.totalItem},on:{selpage:t.selPage}})],1)])])},s=[],n=(a("4634"),a("4ec3")),r=a.n(n),o=a("ed0b"),c=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"comp"},[a("div",{staticClass:"pagination gird-g"},[a("div",[t._v(t._s(t.$t("pagination.total"))),a("span",{staticClass:"t1"},[t._v(t._s(t.totalItem))]),t._v(t._s(t.$t("pagination.unit")))]),a("div",{staticClass:"pagination-item"},[a("span",{staticClass:"pointer",class:{"pagination-disabled":1==t.cur}},[a("a",{on:{click:function(e){return t.prevPage()}}},[t._v(t._s(t.$t("pagination.firstPage")))])]),t._l(t.indexs,(function(e,i){return a("span",{key:i,staticClass:"page-num pointer",class:{active:t.cur==e},on:{click:function(a){return t.selPage(e)}}},[a("a",[t._v(t._s(e))])])})),a("span",{staticClass:"pointer",class:{"pagination-disabled":t.cur==t.total}},[a("a",{on:{click:function(e){return t.nextPage()}}},[t._v(t._s(t.$t("pagination.nextPage")))])])],2),a("div",{staticClass:"pagination-item"},[a("span",[t._v(t._s(t.$t("pagination.per")))]),a("input",{directives:[{name:"model",rawName:"v-model",value:t.sel,expression:"sel"}],staticClass:"ipt",attrs:{placeholder:t.cur,type:"text"},domProps:{value:t.sel},on:{input:function(e){e.target.composing||(t.sel=e.target.value)}}}),a("span",[t._v("/ "+t._s(t.total)+t._s(t.$t("pagination.page")))]),a("span",{staticClass:"jump pointer",on:{click:t.jumpPage}},[t._v(t._s(t.$t("pagination.goto")))])])])])},u=[],l=(a("8f42"),{name:"pagination",props:{total:{type:Number,default:1},totalItem:{type:Number,default:1}},data:function(){return{cur:1,sel:1}},components:{},computed:{offSet:function(){return 5*(this.cur-1)},indexs:function(){var t=1,e=this.total,a=[];this.total>=11&&(this.cur>5&&this.cur<this.total-4?(t=this.cur-5,e=this.cur+4):this.cur<=5?(t=1,e=10):(e=this.total,t=this.total-9));while(t<=e)a.push(t),t++;return a}},methods:{jumpPage:function(){this.cur=this.sel,this.cur<1&&(this.cur=1),this.cur>this.total&&(this.cur=this.total),this.sendPage()},selPage:function(t){t!=this.cur&&(this.cur=t,this.sel=this.cur,this.sendPage())},prevPage:function(){this.cur--,this.cur<1&&(this.cur=1),this.sel=this.cur,this.sendPage()},nextPage:function(){this.cur++,this.cur>this.total&&(this.cur=this.total),this.sel=this.cur,this.sendPage()},sendPage:function(){this.$emit("selpage",{page:this.cur})},initData:function(){}},mounted:function(){},created:function(){}}),p=l,h=(a("80b2"),a("6691")),f=Object(h["a"])(p,c,u,!1,null,"2ae4ffb0",null),d=f.exports,g=a("71e2"),v={name:"newsList",components:{Pagination:d},data:function(){return{key:"value",queryForm:{l:"tc",page:1,size:10},totalPage:0,totalItem:0,news:[]}},methods:{toNewsDetail:function(t){this.$router.push({path:"/news/detail",query:{c:t}})},selPage:function(t){var e=t.page;this.$router.push({path:"/news/list",query:{page:e}}),this.initData()},initData:function(){var t=this,e=this.$i18n.locale;this.queryForm.l=e;var a=this.$route.query.page||1;this.queryForm.page=a,this.$nextTick((function(){t.$refs.pagination.selPage(a)})),Object(o["b"])({url:r.a.newsList,data:this.queryForm}).then((function(e){var a=e.list;a.forEach((function(t){t.dateFormat=Object(g["b"])(t.createAt)})),t.$set(t,"news",a),t.totalPage=Math.ceil(e.total/t.queryForm.size),t.totalItem=e.total}))}},mounted:function(){},created:function(){document.documentElement.scrollTop=0,document.body.scrollTop=0,this.initData()}},m=v,A=(a("8186"),Object(h["a"])(m,i,s,!1,null,"6c3b28f4",null));e["default"]=A.exports},"307d":function(t,e,a){},"3a06":function(t,e){t.exports="\t\n\v\f\r \u2028\u2029\ufeff"},7130:function(t,e,a){var i=a("2498"),s=a("3038"),n=a("0cc1"),r=a("3a06"),o="["+r+"]",c=" ",u=RegExp("^"+o+o+"*"),l=RegExp(o+o+"*$"),p=function(t,e,a){var s={},o=n((function(){return!!r[t]()||c[t]()!=c})),u=s[t]=o?e(h):r[t];a&&(s[a]=u),i(i.P+i.F*o,"String",s)},h=p.trim=function(t,e){return t=String(s(t)),1&e&&(t=t.replace(u,"")),2&e&&(t=t.replace(l,"")),t};t.exports=p},"80b2":function(t,e,a){"use strict";var i=a("dcd0"),s=a.n(i);s.a},8186:function(t,e,a){"use strict";var i=a("307d"),s=a.n(i);s.a},"8f42":function(t,e,a){"use strict";var i=a("3f8b"),s=a("549d"),n=a("6077"),r=a("1e01"),o=a("2ab1"),c=a("0cc1"),u=a("cb2e").f,l=a("e493").f,p=a("d3d8").f,h=a("7130").trim,f="Number",d=i[f],g=d,v=d.prototype,m=n(a("65c3")(v))==f,A="trim"in String.prototype,C=function(t){var e=o(t,!1);if("string"==typeof e&&e.length>2){e=A?e.trim():h(e,3);var a,i,s,n=e.charCodeAt(0);if(43===n||45===n){if(a=e.charCodeAt(2),88===a||120===a)return NaN}else if(48===n){switch(e.charCodeAt(1)){case 66:case 98:i=2,s=49;break;case 79:case 111:i=8,s=55;break;default:return+e}for(var r,c=e.slice(2),u=0,l=c.length;u<l;u++)if(r=c.charCodeAt(u),r<48||r>s)return NaN;return parseInt(c,i)}}return+e};if(!d(" 0o1")||!d("0b1")||d("+0x1")){d=function(t){var e=arguments.length<1?0:t,a=this;return a instanceof d&&(m?c((function(){v.valueOf.call(a)})):n(a)!=f)?r(new g(C(e)),a,d):C(e)};for(var N,_=a("f9a5")?u(g):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),b=0;_.length>b;b++)s(g,N=_[b])&&!s(d,N)&&p(d,N,l(g,N));d.prototype=v,v.constructor=d,a("a6d5")(i,f,d)}},dcd0:function(t,e,a){}}]); | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
This diff could not be displayed because it is too large.
File moved
... | @@ -7,8 +7,6 @@ import { | ... | @@ -7,8 +7,6 @@ import { |
7 | httpPost | 7 | httpPost |
8 | } from '@/api/fetch-api.js' | 8 | } from '@/api/fetch-api.js' |
9 | 9 | ||
10 | import { gotoVHIS } from '@/utils/biz.js'; | ||
11 | |||
12 | export default { | 10 | export default { |
13 | name: "DropDownList", | 11 | name: "DropDownList", |
14 | data() { | 12 | data() { |
... | @@ -112,7 +110,10 @@ export default { | ... | @@ -112,7 +110,10 @@ export default { |
112 | this.logoutHandler(); | 110 | this.logoutHandler(); |
113 | break; | 111 | break; |
114 | case "gotoVHIS": | 112 | case "gotoVHIS": |
115 | gotoVHIS(this.$i18n.locale); | 113 | // gotoVHIS(this.$i18n.locale); |
114 | this.$router.push({ | ||
115 | path: "/vhis" | ||
116 | }); | ||
116 | break; | 117 | break; |
117 | } | 118 | } |
118 | } | 119 | } | ... | ... |
... | @@ -99,6 +99,7 @@ | ... | @@ -99,6 +99,7 @@ |
99 | // 公共组件 | 99 | // 公共组件 |
100 | .n-item { | 100 | .n-item { |
101 | margin-bottom: 2rem; | 101 | margin-bottom: 2rem; |
102 | padding-right: .833333rem ; | ||
102 | color: #dcdddd; | 103 | color: #dcdddd; |
103 | 104 | ||
104 | &:first-child { | 105 | &:first-child { |
... | @@ -146,6 +147,7 @@ | ... | @@ -146,6 +147,7 @@ |
146 | .n-item { | 147 | .n-item { |
147 | min-width: 0; | 148 | min-width: 0; |
148 | margin-right: 0; | 149 | margin-right: 0; |
150 | padding-right: .833333rem ; | ||
149 | } | 151 | } |
150 | } | 152 | } |
151 | 153 | ... | ... |
... | @@ -7,8 +7,6 @@ import { | ... | @@ -7,8 +7,6 @@ import { |
7 | httpPost | 7 | httpPost |
8 | } from '@/api/fetch-api.js' | 8 | } from '@/api/fetch-api.js' |
9 | 9 | ||
10 | import { gotoVHIS } from '@/utils/biz.js'; | ||
11 | |||
12 | export default { | 10 | export default { |
13 | name: "DropDownList", | 11 | name: "DropDownList", |
14 | data() { | 12 | data() { |
... | @@ -77,7 +75,10 @@ export default { | ... | @@ -77,7 +75,10 @@ export default { |
77 | this.logoutHandler(); | 75 | this.logoutHandler(); |
78 | break; | 76 | break; |
79 | case "gotoVHIS": | 77 | case "gotoVHIS": |
80 | gotoVHIS(this.$i18n.locale); | 78 | // gotoVHIS(this.$i18n.locale); |
79 | this.$router.push({ | ||
80 | path: "/vhis" | ||
81 | }); | ||
81 | break; | 82 | break; |
82 | } | 83 | } |
83 | } | 84 | } | ... | ... |
... | @@ -109,7 +109,7 @@ export default { | ... | @@ -109,7 +109,7 @@ export default { |
109 | this.checkPolicyNumber(); | 109 | this.checkPolicyNumber(); |
110 | this.checkContactDate(); | 110 | this.checkContactDate(); |
111 | 111 | ||
112 | if (!submitBtnDisabled) { | 112 | if (!this.submitBtnDisabled) { |
113 | this.isSubmit = true; | 113 | this.isSubmit = true; |
114 | httpPost({ | 114 | httpPost({ |
115 | url: api.saveComplain, | 115 | url: api.saveComplain, | ... | ... |
... | @@ -10,8 +10,6 @@ import { | ... | @@ -10,8 +10,6 @@ import { |
10 | } from "vuex"; | 10 | } from "vuex"; |
11 | var UA = require("ua-device"); | 11 | var UA = require("ua-device"); |
12 | 12 | ||
13 | import { gotoVHIS } from '@/utils/biz.js'; | ||
14 | |||
15 | export default { | 13 | export default { |
16 | data() { | 14 | data() { |
17 | return { | 15 | return { |
... | @@ -59,7 +57,10 @@ export default { | ... | @@ -59,7 +57,10 @@ export default { |
59 | }, | 57 | }, |
60 | methods: { | 58 | methods: { |
61 | toVhis() { | 59 | toVhis() { |
62 | gotoVHIS(this.locale); | 60 | // gotoVHIS(this.locale); |
61 | this.$router.push({ | ||
62 | path: "/vhis" | ||
63 | }); | ||
63 | }, | 64 | }, |
64 | /** | 65 | /** |
65 | * 推荐产品 | 66 | * 推荐产品 |
... | @@ -152,7 +153,7 @@ export default { | ... | @@ -152,7 +153,7 @@ export default { |
152 | this.fetchIndexVideo().then(res => { | 153 | this.fetchIndexVideo().then(res => { |
153 | this.refreshVideoPlayer(); | 154 | this.refreshVideoPlayer(); |
154 | }); | 155 | }); |
155 | if(!this.isMobile){ | 156 | if (!this.isMobile) { |
156 | window.addEventListener('resize', () => this.refreshVideoPlayer(), false); | 157 | window.addEventListener('resize', () => this.refreshVideoPlayer(), false); |
157 | } | 158 | } |
158 | }, | 159 | }, |
... | @@ -184,7 +185,28 @@ export default { | ... | @@ -184,7 +185,28 @@ export default { |
184 | this.$set(this, 'bannerList', bannerList); | 185 | this.$set(this, 'bannerList', bannerList); |
185 | }, | 186 | }, |
186 | btnNavigateTo(type, link) { | 187 | btnNavigateTo(type, link) { |
187 | location.href = link; | 188 | switch (type) { |
189 | case "none": | ||
190 | break; | ||
191 | case "news": | ||
192 | this.$router.push({ | ||
193 | path: "/news/detail", | ||
194 | query: { | ||
195 | c: link | ||
196 | } | ||
197 | }); | ||
198 | break; | ||
199 | case "product": | ||
200 | break; | ||
201 | case "vhis": | ||
202 | this.$router.push({ | ||
203 | path: "/vhis" | ||
204 | }); | ||
205 | break; | ||
206 | default: | ||
207 | location.href = link; | ||
208 | break; | ||
209 | } | ||
188 | } | 210 | } |
189 | }, | 211 | }, |
190 | beforeDestroy() { | 212 | beforeDestroy() { | ... | ... |
... | @@ -6,7 +6,7 @@ import { | ... | @@ -6,7 +6,7 @@ import { |
6 | httpPost | 6 | httpPost |
7 | } from '@/api/fetch-api.js' | 7 | } from '@/api/fetch-api.js' |
8 | 8 | ||
9 | import { contactMethodCheck,checkVerifyCode } from '@utils/utils.js'; | 9 | import { contactMethodCheck, checkVerifyCode } from '@utils/utils.js'; |
10 | 10 | ||
11 | import modalComp from '@/components/modal-comp/modal-comp.vue'; | 11 | import modalComp from '@/components/modal-comp/modal-comp.vue'; |
12 | import modalSimpleComp from '@/components/modal-simple-comp/modal-simple-comp.vue'; | 12 | import modalSimpleComp from '@/components/modal-simple-comp/modal-simple-comp.vue'; |
... | @@ -59,7 +59,7 @@ export default { | ... | @@ -59,7 +59,7 @@ export default { |
59 | }, | 59 | }, |
60 | modalSimpleVisiable: false, | 60 | modalSimpleVisiable: false, |
61 | modalVisiable: false, | 61 | modalVisiable: false, |
62 | modalProtocolVisiable:false, | 62 | modalProtocolVisiable: false, |
63 | targetPath: "", | 63 | targetPath: "", |
64 | modalIcon: "succ", | 64 | modalIcon: "succ", |
65 | modalContent: "" | 65 | modalContent: "" |
... | @@ -205,7 +205,7 @@ export default { | ... | @@ -205,7 +205,7 @@ export default { |
205 | data["vcodeuuid"] = this.values.vcodeuuid; | 205 | data["vcodeuuid"] = this.values.vcodeuuid; |
206 | data["imageValue"] = this.registerForm.imageValue; | 206 | data["imageValue"] = this.registerForm.imageValue; |
207 | } | 207 | } |
208 | httpPost({ url: api.stdSendOTP, data: data }).then(response=>{ | 208 | httpPost({ url: api.stdSendOTP, data: data }).then(response => { |
209 | switch (response.returnCode) { | 209 | switch (response.returnCode) { |
210 | case "0": | 210 | case "0": |
211 | this._startTimeClick(); | 211 | this._startTimeClick(); |
... | @@ -352,6 +352,7 @@ export default { | ... | @@ -352,6 +352,7 @@ export default { |
352 | // let message = this.i18n.register.tips.e5; | 352 | // let message = this.i18n.register.tips.e5; |
353 | if (msg == "非法操作") { | 353 | if (msg == "非法操作") { |
354 | this._showOTPTip(); | 354 | this._showOTPTip(); |
355 | return; | ||
355 | } | 356 | } |
356 | this.errorTips.p2 = msg; | 357 | this.errorTips.p2 = msg; |
357 | 358 | ... | ... |
src/pages/vhis/vhis.js
0 → 100644
1 | import { mapState } from "vuex"; | ||
2 | import api from '@/api/api' | ||
3 | import { httpPost } from '@/api/fetch-api.js' | ||
4 | |||
5 | import Auth from '@components/auth/auth.vue'; | ||
6 | import JsEncrypt from "jsencrypt"; | ||
7 | |||
8 | let key = process.env.VUE_APP_CONTENT_ENCRYPT_KEY; | ||
9 | let rsa = new JsEncrypt(); | ||
10 | rsa.setPublicKey(key); | ||
11 | |||
12 | function encryptContent(obj) { | ||
13 | let str = JSON.stringify(obj); | ||
14 | let securityContent = rsa.encrypt(str); | ||
15 | return securityContent; | ||
16 | }; | ||
17 | |||
18 | |||
19 | export default { | ||
20 | data() { | ||
21 | return { | ||
22 | key: 'value', | ||
23 | outsideUrl: "", | ||
24 | information: {}, | ||
25 | } | ||
26 | }, | ||
27 | components: { | ||
28 | Auth | ||
29 | }, | ||
30 | computed: { | ||
31 | ...mapState({ | ||
32 | userInfo: state => state.userInfo | ||
33 | }), | ||
34 | }, | ||
35 | methods: { | ||
36 | init() { | ||
37 | if (this.isLogin()) { | ||
38 | httpPost({ url: api.profile, sid: true }).then(content => { | ||
39 | if (content) { | ||
40 | this.information = content; | ||
41 | this.gotoVhis(); | ||
42 | } | ||
43 | }) | ||
44 | } else { | ||
45 | this.gotoVhis(); | ||
46 | } | ||
47 | }, | ||
48 | userLogout(){ | ||
49 | this.gotoVhis(); | ||
50 | }, | ||
51 | isLogin() { | ||
52 | return this.userInfo && this.userInfo.sid; | ||
53 | }, | ||
54 | gotoVhis() { | ||
55 | let url = process.env.VUE_APP_VHIS_INDEX; | ||
56 | let lan = this.$i18n.locale; | ||
57 | switch (lan) { | ||
58 | case 'zh': | ||
59 | url += "?language=zh-cn"; | ||
60 | break; | ||
61 | case 'en': | ||
62 | url += "?language=en"; | ||
63 | break; | ||
64 | default: | ||
65 | url += "?language=zh-hk"; | ||
66 | break; | ||
67 | } | ||
68 | url += "&partnerId=PA001&productCode=VHIS001"; | ||
69 | if (this.information && this.information.idType && this.information.idNo) { | ||
70 | let data = { | ||
71 | name: this.information.fullName, | ||
72 | gender: this.information.sex, | ||
73 | birthday: this.information.birthDate, | ||
74 | certiType: this.information.policyIdType, | ||
75 | certiNo: this.information.idNo | ||
76 | }; | ||
77 | url += "&data=" + encryptContent(data); | ||
78 | } | ||
79 | // url = "http://www.baidu.com" | ||
80 | // console.log("vhis:", url); | ||
81 | this.outsideUrl = url; | ||
82 | } | ||
83 | }, | ||
84 | watch: { | ||
85 | }, | ||
86 | mounted() { | ||
87 | this.init(); | ||
88 | // let url = this.$route.query.p; | ||
89 | // if (url) { | ||
90 | // this.outsideUrl = url; | ||
91 | // setTimeout(() => { | ||
92 | // var iframe = document.getElementById("myiframe"); | ||
93 | // try { | ||
94 | // var bHeight = iframe.contentWindow.document.body.scrollHeight; | ||
95 | // var dHeight = iframe.contentWindow.document.documentElement.scrollHeight; | ||
96 | // var height = Math.min(bHeight, dHeight); | ||
97 | // iframe.height = height + 50; | ||
98 | // } catch (ex) { | ||
99 | // } | ||
100 | // }, 500); | ||
101 | // } | ||
102 | }, | ||
103 | created() { | ||
104 | } | ||
105 | } |
src/pages/vhis/vhis.scss
0 → 100644
src/pages/vhis/vhis.vue
0 → 100644
1 | |||
2 | <template> | ||
3 | <div class="content"> | ||
4 | |||
5 | <auth @onLogout="userLogout" v-show="false"></auth> | ||
6 | <iframe v-if="outsideUrl" id="myiframe" width="100%" height="100%" scrolling="yes" frameborder="0" :src="outsideUrl"></iframe> | ||
7 | </div> | ||
8 | </template> | ||
9 | |||
10 | |||
11 | <script src="./vhis.js"></script> | ||
12 | <style lang="scss" scoped> | ||
13 | @import "./vhis.scss"; | ||
14 | </style> |
... | @@ -260,6 +260,14 @@ const routes = [ | ... | @@ -260,6 +260,14 @@ const routes = [ |
260 | meta: { | 260 | meta: { |
261 | title: '网站地图' | 261 | title: '网站地图' |
262 | } | 262 | } |
263 | }, | ||
264 | { | ||
265 | path: '/vhis', | ||
266 | name: 'vhis', | ||
267 | component: () => import('./pages/vhis/vhis.vue'), | ||
268 | meta: { | ||
269 | title: '平安人寿香港' | ||
270 | } | ||
263 | } | 271 | } |
264 | // 404页面 | 272 | // 404页面 |
265 | // { | 273 | // { | ... | ... |
-
Please register or sign in to post a comment