qinxianzhangyao
2023-12-05 2811859236dfcfe4d74469f6082e41580edb2bbc
qxtj
4个文件已修改
84 ■■■■ 已修改文件
src/api/doctor/check.js 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/doctor/check/index.vue 46 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/doctor/imaging/index.vue 14 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/doctor/test/index.vue 15 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/api/doctor/check.js
@@ -51,6 +51,15 @@
  })
}
//点击查看历史报告
export function reportHistory(data) {
  return request({
    url: '/system/report/reportHistory',
    method: 'get',
    params:data
  })
}
  // // 获取该科室下所有小结建议
  // export function getDeptadvice() {
  //   return request({
src/views/doctor/check/index.vue
@@ -21,8 +21,8 @@
    </div>
    <template>
      <el-table :data="tableList" v-loading="loading" ref="table" height="536px" style="margin: 20px; width: 98%"
        border="">
      <el-table :data="tableList" v-loading="loading" ref="table" height="536px" style="margin: 20px; width: 98%" 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" />
@@ -238,9 +238,15 @@
          </tr>
        </table>
      </div>
      <div style="margin: 10px 10px;" v-if="hasdeptList.length >= 1">
        <el-button type="primary" size="mini" @click="Changeapply()">会诊申请</el-button>
      <div>
        <div style="margin: 10px 10px;" v-if="hasdeptList.length >= 1">
          <el-button type="primary" size="mini" @click="Changeapply()">会诊申请</el-button>
        </div>
        <div style="margin: 10px 10px;" >
          <el-button type="primary" size="mini" @click="historicalreport()">历史报告</el-button>
        </div>
      </div>
      <template>
        <div style="margin-left: 10px">
@@ -413,6 +419,7 @@
  getParentList,
  getParentId,
  getDeptAdvice,
  reportHistory
} from "@/api/doctor/check";
import {
  addBigPositive
@@ -568,6 +575,12 @@
      //   }
      // })
    },
    myclass(row, column, rowIndex, columnIndex) {
      if (row.row.isPositive == 1) {
        return "setclass"
      }
    },
    // 小结获取备注
    sel(val) {
      if (this.proParentList.xiaoJie.length != 0) {
@@ -626,9 +639,11 @@
    },
    getList() {
      this.loading = true;
      this.queryParams.type = this.tjStatus;
      getProList(this.queryParams).then((response) => {
        if (response.data) {
          this.loading = false;
          if (response.data.date) {
            this.tableList = response.data.date;
          } else {
@@ -644,8 +659,10 @@
    // 单选按钮
    radioChange(val) {
      this.queryParams.type = val;
      this.loading = true;
      getProList(this.queryParams).then((response) => {
        if (response.data) {
          this.loading = false;
          this.tableList = response.data.date;
          this.total = response.data.total;
        } else {
@@ -720,9 +737,9 @@
      } else {
        this.formIn.flag = "0"
        addBigPositive(this.formIn).then(res => {
        this.$modal.msgSuccess("删除成功");
        this.getParentIdsss()
      })
          this.$modal.msgSuccess("删除成功");
          this.getParentIdsss()
        })
      }
    },
    submitcheckval() {
@@ -845,7 +862,14 @@
    Changeapply() {
      this.foropen = true
      this.Hzlog(this.tableAll.tjNumber)
    },
    historicalreport() {
      let data = {
        cusId:this.tableAll.cusId
      }
      reportHistory(data).then(res =>{
      })
    },
    submitFormreply() {
      let data = {
@@ -1263,7 +1287,7 @@
  },
};
</script>
<style scoped>
<style >
.el-table .cell {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
@@ -1275,6 +1299,12 @@
  padding-right: 10px;
}
.setclass {
  background-color: #f86b35;
  color: black;
}
.blue-button {
  width: 10px;
  background-color: #e2e3e4;
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="">
        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" />
@@ -602,6 +602,12 @@
      //     this.doctorName = item.nickName
      //   }
      // })
    },
    myclass(row, column, rowIndex, columnIndex) {
      if (row.row.isPositive == 1) {
        return "setclass"
      }
    },
    // 小结获取备注
    sel(val) {
@@ -1327,7 +1333,7 @@
  },
};
</script>
<style scoped>
<style >
.el-table .cell {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
@@ -1338,6 +1344,10 @@
  padding-left: 10px;
  padding-right: 10px;
}
.setclass {
  background-color: #f86b35;
  color: black;
}
.blue-button {
  width: 10px;
src/views/doctor/test/index.vue
@@ -22,7 +22,7 @@
    <template>
      <el-table :data="tableList" v-loading="loading" ref="table" height="536px" style="margin: 20px; width: 98%"
        border="">
        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" />
@@ -606,6 +606,13 @@
      //   }
      // })
    },
    myclass(row, column, rowIndex, columnIndex) {
      if (row.row.isPositive == 1) {
        return "setclass"
      }
    },
    // 小结获取备注
    sel(val) {
      if (this.proParentList.xiaoJie.length != 0) {
@@ -1328,7 +1335,7 @@
  },
};
</script>
<style scoped>
<style >
.el-table .cell {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
@@ -1345,6 +1352,10 @@
  height: 240px;
  overflow: auto
}
.setclass {
  background-color: #f86b35;
  color: black;
}
.blue-button {
  width: 10px;