liuyg
2021-09-18 d9a9411447f13fe8be746bb0991953230cc2fb2d
src/views/securityGuard/securityGuardDetail.vue
@@ -32,7 +32,7 @@
    </span>
    <span v-else-if="typeTABS.prop === 'tab4'">
      <!-- 保安员证 -->
      <div class="baoanzheng" id="baoanzheng">
      <div class="baoanzheng" id="baoanzheng" v-if="hold == 1">
        <div class="baz-main">
          <div class="baz-m-body" ref="baoanzheng">
            <div class="bmb-heard">保安员证</div>
@@ -80,9 +80,15 @@
          </span>
        </div>
      </div>
      <div v-else style="width: 100%; text-align: center; padding-top: 20px">
        无保安证
      </div>
    </span>
    <span v-else-if="typeTABS.prop === 'tab5'">
      <securityCertificate :data="obj0"></securityCertificate>
      <securityCertificate :data="obj0" v-if="hold == 1"></securityCertificate>
      <div v-else style="width: 100%; text-align: center; padding-top: 20px">
        无保安证书
      </div>
    </span>
  </div>
</template> 
@@ -214,6 +220,7 @@
        column: trackRecordColumn,
      },
      erweima: "",
      hold: "",
    };
  },
  // components: {
@@ -416,6 +423,7 @@
      this.name = row.name;
      this.dispatcherCompany = row.dispatcherCompany;
      this.id = row.id;
      this.hold = row.hold;
      console.log(this.obj0);
    }