linwenling
2023-09-12 86b6ecee0111eeccf11ab5e440b0bac161fa65c4
ruoyi-ui/src/views/pet/petInfo.vue
@@ -1,5 +1,5 @@
<template>
  <div class="app-container">
  <div class="app-container"  id="printable-content">
    <div class="form-header mt">
      <!-- <h4 class="dt h4">基本信息 </h4>
      <el-button type="primary"  @click="Petnote(pid)" :disabled="btn">魅宠备忘录</el-button> -->
@@ -10,6 +10,11 @@
            <div class="form" ><el-icon  style="padding-right:110px;"></el-icon>
              <span class="text" style="width: 69px;height: 26px;font-size: 16px;
            font-family: Microsoft YaHei-Regular, Microsoft YaHei; color: #EBA4AA;">魅宠备忘录</span></div>
          </el-button>
          <el-button size="mini" type="text"  v-print="'#printable-content'" v-hasPermi="['person:information:memo']">
            <div class="form" ><el-icon  style="padding-right:110px;"></el-icon>
              <span class="text" style="width: 69px;height: 26px;font-size: 16px;
            font-family: Microsoft YaHei-Regular, Microsoft YaHei; color: #EBA4AA;">打印</span></div>
          </el-button>
        </div>
      </h1>
@@ -370,8 +375,6 @@
        happenEndTime:undefined
      },
      pid:undefined,
      dsb:true,
      btn:false,
      title: '魅宠备忘录',
      openDataScope: false,
      PetNoteList:{
@@ -446,6 +449,7 @@
    else{
      document.title = "查看魅宠详细信息";
      this.$route.meta.title = "查看魅宠详细信息";//列表的名称
      this.btn = false;
    }
    let _this = this
@@ -664,6 +668,9 @@
  display: block;
}
.hide .el-upload--picture-card {
  display: none;
}
.form{
  background:center/11% no-repeat url('../../assets/icons/form.png') ;
}