qinxianzhangyao
2023-12-11 9d26234c1d5f760fcab4adea68984c02485bcf82
src/views/doctor/imaging/index.vue
@@ -22,7 +22,7 @@
    <template>
      <el-table :data="tableList" v-loading="loading" ref="table" height="536px" style="margin: 20px; width: 98%"
        border=""  :cell-class-name="myclass">
        border="" :cell-class-name="myclass">
        <!-- <template slot="empty">数据正在加载中</template> -->
        <el-table-column label="体检号" align="center" prop="tjNumber" width="160px" />
        <el-table-column label="姓名" align="center" prop="cusName" width="90px" />
@@ -46,7 +46,7 @@
              title="会诊申请" v-if="tjStatus == '1'"></el-button>
            <el-button type="primary" icon="el-icon-share" size="mini" @click="handleClick(scope.row)"
              title="详情"></el-button>
              <el-button type="primary" icon="el-icon-picture" size="mini" @click="handlepicture(scope.row)"
            <el-button type="primary" icon="el-icon-picture" size="mini" @click="handlepicture(scope.row)"
              title="报告"></el-button>
          </template>
        </el-table-column>
@@ -266,7 +266,7 @@
        <div style="margin: 10px 10px;" v-if="hasdeptList.length >= 1">
          <el-button type="primary" size="mini" @click="Changeapply()">会诊申请</el-button>
        </div>
      </div>
@@ -303,7 +303,7 @@
            {{ scope.row.standard.company }}
          </template> -->
        </el-table-column>
        <el-table-column prop="project.proScope" label="参考范围"  width="100">
        <el-table-column prop="project.proScope" label="参考范围" width="100">
        </el-table-column>
        <el-table-column prop="conclusion" label="结果结论" width="280">
          <template slot-scope="scope">
@@ -465,10 +465,10 @@
    return {
      url: '',
      srcList: [],
      formIn:{},
      formIn: {},
      project: {},
      Parentcheck: {},
      checkval:false,
      checkval: false,
      selected: false,
      // 遮罩层
      loading: false,
@@ -670,31 +670,41 @@
    },
    getList() {
      this.loading = true
      this.queryParams.type = this.tjStatus;
      huaYangetProList(this.queryParams).then((response) => {
        if (response.data) {
          if (response.data.date) {
            this.tableList = response.data.date;
        if (response.code == 200) {
          this.loading = false
          if (response.data) {
            if (response.data.date) {
              this.tableList = response.data.date;
            } else {
              this.tableList = response.data.customers;
            }
            this.total = response.data.total;
          } else {
            this.tableList = response.data.customers;
            this.tableList = [];
          }
          this.total = response.data.total;
        } else {
          this.tableList = [];
        }
      });
    },
    // 单选按钮
    radioChange(val) {
      this.loading = true
      this.queryParams.type = val;
      huaYangetProList(this.queryParams).then((response) => {
        if (response.data) {
        if(response.code == 200){
          this.loading = false
          if (response.data) {
          this.tableList = response.data.date;
          this.total = response.data.total;
        } else {
          this.tableList = [];
        }
        }
      });
    },
@@ -749,20 +759,20 @@
      // this.drawer = false;
      this.tuweiopen = true;
      let data = {
        tjNumber:this.tjNumber,
        proId:this.proId,
        tjNumber: this.tjNumber,
        proId: this.proId,
      }
      getPhotoList(data).then(res => {
        this.proimgList = res.data
      })
    },
    handleproimgChange(selected){
    handleproimgChange(selected) {
      const val = selected
      selected.forEach(item => {
        if(val[val.length -1] == item){
          this.$refs.tabss.toggleRowSelection(item,true)
        }else {
          this.$refs.tabss.toggleRowSelection(item,false)
        if (val[val.length - 1] == item) {
          this.$refs.tabss.toggleRowSelection(item, true)
        } else {
          this.$refs.tabss.toggleRowSelection(item, false)
        }
      })
      this.url = selected[0].checkPicture
@@ -791,9 +801,9 @@
      } else {
        this.formIn.flag = "0"
        addBigPositive(this.formIn).then(res => {
        this.$modal.msgSuccess("删除成功");
        this.getParentIdsss()
      })
          this.$modal.msgSuccess("删除成功");
          this.getParentIdsss()
        })
      }
    },
    submitcheckval() {
@@ -973,15 +983,15 @@
      }
    },
    handlepicture(row){
    handlepicture(row) {
      let configKey = "pacsUrl"
      getConfigKey(configKey).then(res => {
        window.open(res.msg, '_blank');
      })
    },
     // 点击详情
     handleClick(row) {
    // 点击详情
    handleClick(row) {
      this.getDept(row.tjNumber)
      this.loading = true;
      this.drawer = true;
@@ -1354,6 +1364,7 @@
  padding-left: 10px;
  padding-right: 10px;
}
.setclass {
  background-color: #f86b35;
  color: black;