Your Name 2 rokov pred
rodič
commit
efd9bad82c

+ 1 - 1
src/components/DiagCalcShow.vue

@@ -124,7 +124,7 @@
         let id = this.$route.query.id
         let role = this.$route.query.role
         let show = this.$route.query.show
-        this.$router.push({'path':'/solutionpkline',query:{id:id,show:1}})
+        this.$router.push({'path':'/solutionpkline',query:{id:id,show:1,role:role}})
         // if(role==2){
         //   this.$router.push({'path':'/pretraitcase',query:{id:id,show:show,role:role}})
         // }else{

+ 6 - 5
src/components/PatIndex.vue

@@ -121,11 +121,11 @@
       </div>
     </div>
     <div class="desc">
-        <b>1、本结果仅供参考,具体治疗方案请遵医嘱执行</b><br>
-        <b>2、Target plasma factor levels for personalized treatment in haemophilia: a Delphi consensus statement,
-          Alorio,et al.Haemophilia,2017</b><br>
-        <b>3、Optimising prophylaxis in haemophilia A: The ups and downs of treatment,Erik Berntorp,et al. Blood
-          Rev, 2021 Nov</b>
+        <span>1、本结果仅供参考,具体治疗方案请遵医嘱执行</span><br>
+        <span>2、Target plasma factor levels for personalized treatment in haemophilia: a Delphi consensus statement,
+          Alorio,et al.Haemophilia,2017</span><br>
+        <span>3、Optimising prophylaxis in haemophilia A: The ups and downs of treatment,Erik Berntorp,et al. Blood
+          Rev, 2021 Nov</span>
     </div>
   </div>
 </template>
@@ -353,6 +353,7 @@
     font-size:12px;
     bottom:0px;
     z-index:10;
+    color:#ccc;
   }
 
 </style>

+ 73 - 4
src/components/ProCaseList.vue

@@ -3,8 +3,8 @@
     <div class="bgimg"></div>
     <div class="content">
       <div class="title">方案列表</div>
-      <div class="loginForm">
-        <div @click="showDetail(item.id)" v-for="(item,index) in list" style="height: 100%;border-bottom: 1px solid #ccc;padding-bottom:1rem;">
+      <!-- <div class="loginForm"> -->
+        <!-- <div @click="showDetail(item.id)" v-for="(item,index) in list" style="height: 100%;border-bottom: 1px solid #ccc;padding-bottom:1rem;">
           <div class="rowfont">姓名:{{item.name}}</div>
           <div class="rowfont">ID:{{item.code}}</div>
           <div class="rowfont">年龄:{{item.age}}</div>
@@ -14,8 +14,24 @@
           <div class="rowfont">剂量(IU):{{item.ckzsjl}}</div>
           <div class="rowfont">方案医生:{{item.doctor_name}}</div>
           <div class="rowfont">方案时间:{{item.ctime}}</div>
-        </div>
-      </div>
+        </div> -->
+        <div class="patCaseForm baseInfo" v-if="list.length>0" style="padding-bottom:1rem;">
+            <mt-cell :title="'姓名:'+list[0].name" :value="'ID:'+list[0].code"></mt-cell>
+            <mt-cell :title="'年龄:'+list[0].age" :value="'性别:'+list[0].sex"></mt-cell>
+          </div>
+          <!-- 方案 -->
+          <div class="patCaseForm baseInfo" v-for="(item,index) in list">
+            <!-- <mt-cell :title="'姓名:'+item.name" :value="'ID:'+item.code"></mt-cell>
+            <mt-cell :title="'年龄:'+item.age" :value="'性别:'+item.sex"></mt-cell> -->
+            <mt-cell :title="'产品:'+item.ckmpro" :value="'剂量(IU):'+item.ckzsjl"></mt-cell>
+            <mt-cell :title="'频次:'+item.ckmfreq" :value="'体重(KG):'+item.bltz"></mt-cell>
+            <mt-cell :title="'方案医生:'+item.doctor_name"></mt-cell>
+            <div style="font-size:1rem;text-align:left;padding-left:10px;">
+              方案时间:{{item.ctime}}
+              <mt-button type="primary" size="small" @click="showDetail(item.id)">详情</mt-button>
+            </div>
+          </div>
+      <!-- </div> -->
       <div class="footer">
         <div class="jbbtn" @click="goPage(-1)">返回</div>
       </div>
@@ -120,4 +136,57 @@
     height: 100%!important;
   }
 
+  .patCaseForm {
+    width: 84%;
+    margin: auto;
+    margin-top: 1rem;
+    background: #fff;
+    padding: 1rem;
+    border-radius: 5px;
+    position: relative;
+    padding-bottom:2rem;
+
+    .mint-button--small {
+      height: 1.6rem;
+      position: absolute;
+      left: 78%;
+    }
+
+    .mint-cell {
+      min-height: 1.8rem;
+    }
+
+    /deep/ .mint-cell .mint-cell-title {
+      width: 60%;
+      text-align: left;
+    }
+
+    /deep/ .mint-cell .mint-cell-value {
+      width: 45%;
+      text-align: right;
+    }
+
+    /deep/ .mint-cell .mint-cell-wrapper {
+      font-size: 1.1rem;
+      background-image: none;
+    }
+
+    .footer {
+      .jbbtn {
+        margin-top: 1rem;
+        height: 2rem;
+        line-height: 2rem;
+        font-size: 1.2rem;
+        width: 40%;
+      }
+    }
+  }
+
+  /deep/ .mint-cell-value{
+    color:#000;
+  }
+  /deep/ .mint-cell:last-child{
+    background-image: none;
+  }
+
 </style>

+ 6 - 1
src/components/SolutionPkLine.vue

@@ -280,7 +280,12 @@
     methods: {
       next() {
         if (this.$route.query && this.$route.query.show) {
-          this.goPage('/patcaselist')
+          let role = this.$route.query.role
+          if(role=='2'){
+            this.goPage('/procaselist')
+          }else{
+            this.goPage('/patcaselist')
+          }
         } else {
           this.goPage('/showandsavecase?id=' + this.$route.query.id)
         }