Jelajahi Sumber

logo跳转去除

zhouna 3 tahun lalu
induk
melakukan
d4a62686df

+ 1 - 1
src/html/index.html

@@ -4,7 +4,7 @@
   <meta charset="UTF-8">
   <meta name="viewport" content="width=device-width, initial-scale=1.0">
   <meta http-equiv="X-UA-Compatible" content="ie=edge">
-  <link rel="shortcut icon" href="../resource/favicon.ico" type="image/x-icon">
+  <!--<link rel="shortcut icon" href="../resource/favicon.ico" type="image/x-icon">-->
   <title>AI病案质控平台-首页</title>
 </head>
 

+ 1 - 1
src/html/login.html

@@ -4,7 +4,7 @@
   <meta charset="UTF-8">
   <meta name="viewport" content="width=device-width, initial-scale=1.0">
   <meta http-equiv="X-UA-Compatible" content="ie=edge">
-  <link rel="shortcut icon" href="../resource/favicon.ico" type="image/x-icon">
+  <!--<link rel="shortcut icon" href="../resource/favicon.ico" type="image/x-icon">-->
   <title>登录页</title>
 </head>
 <body>

+ 1 - 1
src/html/qcScore.html

@@ -4,7 +4,7 @@
     <meta charset="UTF-8">
     <meta name="viewport" content="width=device-width, initial-scale=1.0">
     <meta http-equiv="X-UA-Compatible" content="ie=edge">
-    <link rel="shortcut icon" href="../resource/favicon.ico" type="image/x-icon">
+    <!--<link rel="shortcut icon" href="../resource/favicon.ico" type="image/x-icon">-->
     <title>质控评分</title>
     <script type="text/html" id="subMenuTmpl">
         {{if sonMode.length}}

+ 2 - 2
src/js/checkTaskList.js

@@ -365,8 +365,8 @@ function bindScoreDetail() {
     });
 }
 function scoreDetail(obj) {
-
-    window.open(`./qcScore.html?id=${obj.id}&age=${obj.age}&name=${obj.name}&hid=${obj.hid}&code=${obj.code}`)
+    const hideLogo = window.parent.location.search.indexOf("hideLg=")>-1;
+    window.open(`./qcScore.html?id=${obj.id}&age=${obj.age}&name=${obj.name}&hid=${obj.hid}&code=${obj.code}`+(hideLogo?'&hideLg=1':''))
 }
 //病历等级选择
 function bindLeveldSelect() {

+ 2 - 1
src/js/dept/qcListCopyDept.js

@@ -527,7 +527,8 @@ function isTextCenter(name){
 }
 
 function scoreDetail(id,age,hid,code,name){
-    window.open(`./qcScore.html?id=${id}&age=${age}&name=${name}&hid=${getCookie('hospitalid')}&code=${code}`)
+    const hideLogo = window.parent.location.search.indexOf("hideLg=")>-1;
+    window.open(`./qcScore.html?id=${id}&age=${age}&name=${name}&hid=${getCookie('hospitalid')}&code=${code}`+(hideLogo?'&hideLg=1':''))
 }
 function bindScoreDetail(hisId){
     $('.patientNameSpan').on('click',function(e){

+ 2 - 1
src/js/dept/qcListCopyUnqualifiedDept.js

@@ -448,7 +448,8 @@ function isTextCenter(name){
 }
 
 function scoreDetail(id,age,hid,code,name){
-    window.open(`./qcScore.html?id=${id}&age=${age}&name=${name}&hid=${getCookie('hospitalid')}&code=${code}`)
+    const hideLogo = window.parent.location.search.indexOf("hideLg=")>-1;
+    window.open(`./qcScore.html?id=${id}&age=${age}&name=${name}&hid=${getCookie('hospitalid')}&code=${code}`+(hideLogo?'&hideLg=1':''))
 }
 function bindScoreDetail(hisId){
     $('.patientNameSpan').on('click',function(e){

+ 2 - 1
src/js/dept/qcListOutHospitalDept.js

@@ -461,7 +461,8 @@ function isTextCenter(name){
 }
 
 function scoreDetail(id,age,hid,code,name){
-    window.open(`./qcScore.html?id=${id}&age=${age}&name=${name}&hid=${getCookie('hospitalid')}&code=${code}`)
+    const hideLogo = window.parent.location.search.indexOf("hideLg=")>-1;
+    window.open(`./qcScore.html?id=${id}&age=${age}&name=${name}&hid=${getCookie('hospitalid')}&code=${code}`+(hideLogo?'&hideLg=1':''))
 }
 function bindScoreDetail(hisId){
     $('.patientNameSpan').on('click',function(e){

+ 2 - 1
src/js/dept/readmissionDept.js

@@ -317,8 +317,9 @@ function renderTab(data, hisId, activePage) {
 }
 
 function scoreDetail(id, age, hid, code, name) {
+    const hideLogo = getUrlArgObjectNew("hideLg");
   window.open(
-    `./qcScore.html?id=${id}&age=${age}&name=${name}&hid=${getCookie('hospitalid')}&code=${code}`
+    `./qcScore.html?id=${id}&age=${age}&name=${name}&hid=${getCookie('hospitalid')}&code=${code}`+(hideLogo?'&hideLg=1':'')
   );
 }
 // 跳转至病人详情

+ 2 - 1
src/js/dept/uccDeptDetail.js

@@ -453,7 +453,8 @@ function isTextCenter(name){
 }
 
 function scoreDetail(id,age,hid,code,name){
-    window.open(`./qcScore.html?id=${id}&age=${age}&name=${name}&hid=${getCookie('hospitalid')}&code=${code}`)
+    const hideLogo = window.parent.location.search.indexOf("hideLg=")>-1;
+    window.open(`./qcScore.html?id=${id}&age=${age}&name=${name}&hid=${getCookie('hospitalid')}&code=${code}`+(hideLogo?'&hideLg=1':''))
 }
 function bindScoreDetail(hisId){
     $('.patientNameSpan').on('click',function(e){

+ 2 - 1
src/js/itemDefectDetail.js

@@ -267,7 +267,8 @@ function renderTab(data,hisId){
 }
 
 function scoreDetail(id,age,hid,code,name){
-    window.open(`./qcScore.html?id=${id}&age=${age}&name=${name}&hid=${getCookie('hospitalid')}&code=${code}`)
+    const hideLogo = window.parent.location.search.indexOf("hideLg=")>-1;
+    window.open(`./qcScore.html?id=${id}&age=${age}&name=${name}&hid=${getCookie('hospitalid')}&code=${code}`+(hideLogo?'&hideLg=1':''))
 }
 function bindScoreDetail(hisId){
     $('.patientNameSpan').on('click',function(e){

+ 2 - 1
src/js/qcList.js

@@ -374,7 +374,8 @@ function isTextCenter(name) {
 }
 
 function scoreDetail(id, age, hid, code, name) {
-    window.open(`./qcScore.html?id=${id}&age=${age}&name=${name}&hid=${getCookie('hospitalid')}&code=${code}`)
+    const hideLogo = window.parent.location.search.indexOf("hideLg=")>-1;
+    window.open(`./qcScore.html?id=${id}&age=${age}&name=${name}&hid=${getCookie('hospitalid')}&code=${code}`+(hideLogo?'&hideLg=1':''))
 }
 function bindScoreDetail(hisId) {
     $('.patientNameSpan').on('click', function (e) {

+ 2 - 1
src/js/qcListCopy.js

@@ -520,7 +520,8 @@ function isTextCenter(name){
 }
 
 function scoreDetail(id,age,hid,code,name){
-    window.open(`./qcScore.html?id=${id}&age=${age}&name=${name}&hid=${getCookie('hospitalid')}&code=${code}`)
+    const hideLogo = window.parent.location.search.indexOf("hideLg=")>-1;
+    window.open(`./qcScore.html?id=${id}&age=${age}&name=${name}&hid=${getCookie('hospitalid')}&code=${code}`+(hideLogo?'&hideLg=1':''))
 }
 function bindScoreDetail(hisId){
     $('.patientNameSpan').on('click',function(e){

+ 2 - 1
src/js/qcListCopyUnqualified.js

@@ -451,7 +451,8 @@ function isTextCenter(name){
 }
 
 function scoreDetail(id,age,hid,code,name){
-    window.open(`./qcScore.html?id=${id}&age=${age}&name=${name}&hid=${getCookie('hospitalid')}&code=${code}`)
+    const hideLogo = window.parent.location.search.indexOf("hideLg=")>-1;
+    window.open(`./qcScore.html?id=${id}&age=${age}&name=${name}&hid=${getCookie('hospitalid')}&code=${code}`+(hideLogo?'&hideLg=1':''))
 }
 function bindScoreDetail(hisId){
     $('.patientNameSpan').on('click',function(e){

+ 2 - 1
src/js/qcListDept.js

@@ -405,7 +405,8 @@ function isTextCenter(name){
 }
 
 function scoreDetail(id,age,code,name){
-    window.open(`./qcScore.html?id=${id}&age=${age}&code=${code}&hid=${getCookie('hospitalid')}&name=${name}`)
+    const hideLogo = window.parent.location.search.indexOf("hideLg=")>-1;
+    window.open(`./qcScore.html?id=${id}&age=${age}&code=${code}&hid=${getCookie('hospitalid')}&name=${name}`+(hideLogo?'&hideLg=1':''))
 }
 function bindScoreDetail(){
     $('.patientNameSpan').on('click',function(e){

+ 2 - 1
src/js/qcListDeptYw.js

@@ -418,7 +418,8 @@ function isTextCenter(name){
 }
 
 function scoreDetail(id,age,code,name){
-    window.open(`./qcScore.html?id=${id}&age=${age}&code=${code}&hid=${getCookie('hospitalid')}&name=${name}`)
+    const hideLogo = window.parent.location.search.indexOf("hideLg=")>-1;
+    window.open(`./qcScore.html?id=${id}&age=${age}&code=${code}&hid=${getCookie('hospitalid')}&name=${name}`+(hideLogo?'&hideLg=1':''))
 }
 function bindScoreDetail(){
     $('.patientNameSpan').on('click',function(e){

+ 2 - 1
src/js/qcListDocteam.js

@@ -385,7 +385,8 @@ function isTextCenter(name){
 }
 
 function scoreDetail(id,age,code,name){
-    window.open(`./qcScore.html?id=${id}&age=${age}&code=${code}&hid=${getCookie('hospitalid')}&name=${name}`)
+    const hideLogo = window.parent.location.search.indexOf("hideLg=")>-1;
+    window.open(`./qcScore.html?id=${id}&age=${age}&code=${code}&hid=${getCookie('hospitalid')}&name=${name}`+(hideLogo?'&hideLg=1':''))
 }
 function bindScoreDetail(){
     $('.patientNameSpan').on('click',function(e){

+ 2 - 1
src/js/qcListOutHospital.js

@@ -453,7 +453,8 @@ function isTextCenter(name){
 }
 
 function scoreDetail(id,age,hid,code,name){
-    window.open(`./qcScore.html?id=${id}&age=${age}&name=${name}&hid=${getCookie('hospitalid')}&code=${code}`)
+    const hideLogo = window.parent.location.search.indexOf("hideLg=")>-1;
+    window.open(`./qcScore.html?id=${id}&age=${age}&name=${name}&hid=${getCookie('hospitalid')}&code=${code}`+(hideLogo?'&hideLg=1':''))
 }
 function bindScoreDetail(hisId){
     $('.patientNameSpan').on('click',function(e){

+ 2 - 1
src/js/qcListPerson.js

@@ -405,7 +405,8 @@ function isTextCenter(name){
 }
 
 function scoreDetail(id,age,code,name){
-    window.open(`./qcScore.html?id=${id}&age=${age}&code=${code}&hid=${getCookie('hospitalid')}&name=${name}`)
+    const hideLogo = window.parent.location.search.indexOf("hideLg=")>-1;
+    window.open(`./qcScore.html?id=${id}&age=${age}&code=${code}&hid=${getCookie('hospitalid')}&name=${name}`+(hideLogo?'&hideLg=1':''))
 }
 function bindScoreDetail(){
     $('.patientNameSpan').on('click',function(e){

+ 2 - 1
src/js/qcListYw.js

@@ -391,7 +391,8 @@ function isTextCenter(name){
 }
 
 function scoreDetail(id,age,hid,code,name){
-    window.open(`./qcScore.html?id=${id}&age=${age}&name=${name}&hid=${getCookie('hospitalid')}&code=${code}`)
+    const hideLogo = window.parent.location.search.indexOf("hideLg=")>-1;
+    window.open(`./qcScore.html?id=${id}&age=${age}&name=${name}&hid=${getCookie('hospitalid')}&code=${code}`+(hideLogo?'&hideLg=1':''))
 }
 function bindScoreDetail(hisId){
     $('.patientNameSpan').on('click',function(e){

+ 5 - 0
src/js/qcScore.js

@@ -7,6 +7,11 @@ const {api,ywCheckApi} = require('./api.js');
 let checkOk = require('./../images/checkOk.png')
 
 $(function(){
+  const hideLogo = getUrlArgObject("hideLg");
+  if(hideLogo){
+      $(".sub-menu .logo img,.copy-right").hide();
+      $(".menu-mini .logo").text("");
+  }
 //本页全局变量
   let global_flawData = {};    //缺陷数据
   let global_flawDataPay = {};    //缺陷数据

+ 2 - 1
src/js/readmission.js

@@ -244,7 +244,8 @@ function renderTab(data,hisId,activePage){
 }
 
 function scoreDetail(id,age,hid,code,name){
-  window.open(`./qcScore.html?id=${id}&age=${age}&name=${name}&hid=${getCookie('hospitalid')}&code=${code}`)
+    const hideLogo = window.parent.location.search.indexOf("hideLg=")>-1;
+  window.open(`./qcScore.html?id=${id}&age=${age}&name=${name}&hid=${getCookie('hospitalid')}&code=${code}`+(hideLogo?'&hideLg=1':''))
 }
 // 跳转至病人详情
 function bindScoreDetail(hisId){

+ 2 - 1
src/js/uccDetail.js

@@ -439,7 +439,8 @@ function isTextCenter(name){
 }
 
 function scoreDetail(id,age,hid,code,name){
-    window.open(`./qcScore.html?id=${id}&age=${age}&name=${name}&hid=${getCookie('hospitalid')}&code=${code}`)
+    const hideLogo = window.parent.location.search.indexOf("hideLg=")>-1;
+    window.open(`./qcScore.html?id=${id}&age=${age}&name=${name}&hid=${getCookie('hospitalid')}&code=${code}`+(hideLogo?'&hideLg=1':''))
 }
 function bindScoreDetail(hisId){
     $('.patientNameSpan').on('click',function(e){

TEMPAT SAMPAH
src/resource/favicon.ico