Tcsm
2023-05-09 9596bd25e3c95906398149d9325bbeecaa570e20
ruoyi-ui/src/views/doctor/doctorInfo.vue
@@ -2,7 +2,7 @@
  <div class="app-container">
    <div class="form-header mt">
      <h4 class="dt h4">就医记录详细信息 </h4>
      <el-button v-if="isShow" type="primary" class="pt"  icon="el-icon-edit" @click="handleEdit()" >编辑</el-button>
<!--      <el-button v-if="isShow" type="primary" class="pt"  icon="el-icon-edit" @click="handleEdit()" >编辑</el-button>-->
      <!--      <br>-->
      <!--      <el-button type="primary" class="pt"   @click="handleExport"-->
      <!--                 v-hasPermi="['self:user:export']" >导出</el-button>-->
@@ -66,20 +66,21 @@
          >
          <span class="el-upload-list__item-actions">
        <span
          v-if="isShow"
          class="el-upload-list__item-preview"
          @click="handlePictureCardPreview(file)"
        >
          <i class="el-icon-zoom-in"></i>
        </span>
        <span
          v-if="!disabled"
          v-if="isShow"
          class="el-upload-list__item-delete"
          @click="handleDownload(file.url)"
        >
          <i class="el-icon-download"></i>
        </span>
        <span
          v-if="!disabled"
          v-if="isShow"
          class="el-upload-list__item-delete"
          @click="handleRemove(file)"
        >
@@ -115,13 +116,14 @@
                >
                <span class="el-upload-list__item-actions">
                <span
                  v-if="isShow"
                  class="el-upload-list__item-preview"
                  @click="handleFileCardPreview(file)"
                >
                  <i class="el-icon-zoom-in"></i>
                </span>
                <span
    v-if="!disabled"
                  v-if="isShow"
                  @click="handleRemove(file)"
                  class="el-upload-list__item-delete"
@@ -129,7 +131,7 @@
                  <i class="el-icon-download"></i>
                </span>
                <span
                  v-if="!disabled"
                  v-if="isShow"
                  class="el-upload-list__item-delete"
                  @click="handleRemoveFile(file)"
                >
@@ -144,7 +146,7 @@
          </el-upload>
      <el-form-item size="large">
        <el-button type="primary" @click="submitForm" :disabled="dsb">修改</el-button>
        <el-button v-if="isShow" type="primary" @click="submitForm" :disabled="dsb">修改</el-button>
      </el-form-item>
    </el-form>
@@ -253,12 +255,14 @@
      jd =  this.$route.query.detail
      this.btn= jd
      this.dsb = !jd
      this.isShow=true
      document.title = "修改就医记录详细信息";
      this.$route.meta.title = "修改就医记录详细信息";//列表的名称
    }
    else{
      document.title = "查看就医记录详细信息";
      this.$route.meta.title = "查看就医记录详细信息";//列表的名称
      this.isShow=false
    }
    let _this = this