Browse Source

EHR-绩效:PC端调整问题优化。

001295 1 year ago
parent
commit
ad4794255d
2 changed files with 8 additions and 4 deletions
  1. 5 1
      src/views/business/ehr/pm/myPm/detail.vue
  2. 3 3
      src/views/ehrentrance.vue

+ 5 - 1
src/views/business/ehr/pm/myPm/detail.vue

@@ -430,7 +430,11 @@ export default {
       selfScoring = selfScoring.toFixed(1);
       this.saMark = selfScoring;
       if(this.form.isTwoEvaluation){
-        return ['合计','','',weight,'','','',selfScoring,'','',this.form.ldMark];
+        if(this.form.status == 0){
+          return ['合计','','',weight,'','','',''];
+        }else{
+          return ['合计','','',weight,'','','',selfScoring,'','',this.form.ldMark];
+        }
       }else{
         return ['合计','','',weight,'','','',selfScoring,'',this.form.ldMark];
       }

+ 3 - 3
src/views/ehrentrance.vue

@@ -32,10 +32,10 @@ export default {
         console.log('arr[0]',arr[0]);
         let resUrl = "";
         //移动端判断环境
-        if(arr[0].includes('dev') || arr[0].includes('test') || arr[0].includes('localhost')){
-          resUrl = "https://sy.derom.com/test-drp-mobile/#/pages/public-entrance?path=" + query.mobilePath + window.location.search;
-        }else{
+        if(arr[0].includes('//sy.derom.com/')){
           resUrl = "https://sy.derom.com/drp-mobile/#/pages/public-entrance?path=" + query.mobilePath + window.location.search;
+        }else{
+          resUrl = "https://sy.derom.com/test-drp-mobile/#/pages/public-entrance?path=" + query.mobilePath + window.location.search;
         }
         console.log('resUrl',resUrl);
         location.replace(resUrl);