Quellcode durchsuchen

分配机构资料信息

zhengjinyi vor 2 Jahren
Ursprung
Commit
90a079496e

+ 2 - 2
src/main/resources/static/css/help/clubinfo.css

@@ -16,7 +16,7 @@
   .info-main{width: 100%;height: auto;}
   .info-main .info-h1{width: 100%;box-sizing: border-box;padding:0 20px;position: relative;line-height: 60px;font-size: 20px;color: #333333;}
   .info-main .info-h1 .info-h1-tag{display: inline-block;padding: 0 24px;line-height: 36px;background-color: #FFF2D5;font-size: 16px;color: #ffffff;text-align: center;margin-left: 10px;font-weight: normal;}
-  .info-main .info-h1 .info-h1-tag.orange{background-color: #FFF2D5;}
+  .info-main .info-h1 .info-h1-tag.orange{background-color: #FFF2D5;color: #E4AA43;}
   .info-main .info-h1 .info-h1-tag.grey{background-color: #0DB26D;}
   .info-main .info-h1 .info-h1-tag.warn{background-color: #F94B4B;}
   .info-main .info-h1:before{content: '';width: 6px;height: 20px;background-color: #E15616;position: absolute;left: 0;top: 20px;}
@@ -65,7 +65,7 @@
   .info-main{width: 100%;height: auto;margin-bottom: 3vw;}
   .info-main .info-h1{width: 100%;box-sizing: border-box;padding:0 2vw;position: relative;line-height: 10vw;font-size: 4vw;color: #333333;}
   .info-main .info-h1 .info-h1-tag{display: inline-block;padding: 0 2vw;line-height: 5.6vw;background-color: #FFF2D5;font-size: 3vw;color: #ffffff;text-align: center;margin-left: 1vw;font-weight: normal;}
-  .info-main .info-h1 .info-h1-tag.orange{background-color: #FFF2D5;}
+  .info-main .info-h1 .info-h1-tag.orange{background-color: #FFF2D5;color: #E4AA43;}
   .info-main .info-h1 .info-h1-tag.grey{background-color: #0DB26D;}
   .info-main .info-h1 .info-h1-tag.warn{background-color: #F94B4B;}
   .info-main .info-h1:before{content: '';width: 0.7vw;height: 3.2vw;background-color: #E15616;position: absolute;left: 0;top: 3.2vw;}

+ 1 - 0
src/main/resources/static/js/help/clubinfo.js

@@ -77,6 +77,7 @@ var InformationPage = new Vue({
                     _self.saleName = response.data.saleName;
                     _self.clubInfo = response.data.club;
                     _self.userClubChoseList()
+                    setBeforeUrl();
                 } else {
                     console.log('获取机构信息异常')
                 }

+ 6 - 6
src/main/resources/templates/help/clubinfo.html

@@ -35,7 +35,7 @@
       <div class="info-p">联系人:<span>{{ clubInfo.linkMan }}</span></div>
       <div class="info-p">手机号:<span>{{ clubInfo.contractMobile }}</span></div>
     </div>
-    <div class="info-main" v-if="clubInfo.userIdentity === 2">
+    <div class="info-main" v-if="clubInfo.userIdentity === 2 || (clubInfo.userIdentity === 4 && (clubInfo.status == 1 || clubInfo.status == 92))">
       <div class="info-h1">升级信息 <span class="info-h1-tag" :class="{
 								orange: clubInfo.status == 1,
 								grey: clubInfo.status == 90,
@@ -48,12 +48,12 @@
       <div class="info-p">营业执照编号:<span>{{ clubInfo.socialCreditCode }}</span></div>
       <div class="info-p">营业执照:</div>
       <div class="info-img"><img :src="clubInfo.businessLicense" alt=""></div>
-      <div class="info-p">门头照:</div>
-      <div class="info-img"><img :src="clubInfo.shopPhoto" alt=""></div>
+      <div class="info-p" v-if="clubInfo.shopPhoto">门头照:</div>
+      <div class="info-img"  v-if="clubInfo.shopPhoto"><img :src="clubInfo.shopPhoto" alt=""></div>
       <div class="info-p">机构类型:<span>{{ clubInfo.firstClubType | FirstFormat }}</span></div>
-      <div class="info-p">医疗许可证:</div>
-      <div class="info-img"><img :src="clubInfo.medicalPracticeLicense" alt=""></div>
-      <div class="info-p">科室:<span>{{ clubInfo.secondClubType | TwoFormat}}</span></div>
+      <div class="info-p" v-if="clubInfo.medicalPracticeLicense">医疗许可证:</div>
+      <div class="info-img" v-if="clubInfo.medicalPracticeLicense"><img :src="clubInfo.medicalPracticeLicense" alt=""></div>
+      <div class="info-p" v-if="clubInfo.secondClubType">科室:<span>{{ clubInfo.secondClubType | TwoFormat}}</span></div>
       <div class="info-p">主营内容:<span>{{ clubInfo.mainProduct }}</span></div>
     </div>
     <div class="info-main" v-if="clubInfo.contractPhone || clubInfo.fax || clubInfo.profile">