su
su1124
2023-09-13 ba6e43f9c2b2c4724b961e584de89546b4b21f32
src/views/doctor/check/index.vue
@@ -129,8 +129,7 @@
          </el-radio-group>
        </div>
      </template>
      <el-table :data="proParentList.sons" border height="460px" style="width: 96%; margin: 10px 10px">
      <el-table v-loading="loading" :data="proParentList.sons" border height="460px" style="width: 96%; margin: 10px 10px">
        <el-table-column prop="project.proName" label="检测项目" width="150">
          <!-- <template slot-scope="scope">
            {{ scope.row.project.proName }}
@@ -428,16 +427,17 @@
        });
      }
    },
    vale(datas) {
      this.proResult = datas;
      // this.$refs.aaa.open = true;
      // this.$refs.aaa.getList();
    },
    // 规则
    handleguize(row) {
   // 规则
   handleguize(row) {
      this.row = row
      this.$refs.aaa.open = true;
      this.$refs.aaa.title = "诊断结果结论";
      this.$refs.aaa.getList(this.row);
    },
@@ -511,8 +511,9 @@
      this.submitForm();
    },
    // 点击详情
    handleClick(row) {
   // 点击详情
   handleClick(row) {
      this.loading = true;
      this.drawer = true;
      this.tableAll = row;
      if (this.tableAll.cusSex === 0) {
@@ -541,6 +542,7 @@
            };
            getParentId(data).then((response) => {
              this.proParentList = response.data;
              this.loading = false;
              this.value = [];
              if (this.proParentList.xiaoJie.length != 0) {
                this.proParentList.xiaoJie.forEach((item2) => {
@@ -614,6 +616,7 @@
        }
      )
        .then(() => {
          // 体检号
          let tjNumber = this.tableAll.tjNumber;
          this.proParentList.sons.forEach((item) => {
            if (this.rows) {
@@ -621,17 +624,17 @@
                if (item1 === item) {
                  item = item1;
                }
                // if (item.exceptionDesc === true) {
                //   item.exceptionDesc = 1;
                // if (item.isReturn == true) {
                //   item.isReturn = 1;
                // }
                // if (item.exceptionDesc === false) {
                //   item.exceptionDesc = 0;
                // if (item.isReturn == false) {
                //   item.isReturn = 0;
                // }
              });
            }
            this.tjOrderDetail.push({
              proName: item.project.proName,
              proId: item.project.proId,
              orderDetailId: item.orderDetailId,
              flowingWaterId: item.flowingWaterId,
              proResult: item.proResult,
@@ -642,6 +645,7 @@
              rulesList: item.rulesList
            });
          });
          var data = [
            {
              tjNumber,
@@ -649,6 +653,7 @@
              remark: this.proParentList.remark, // 备注
              proName: this.proName, //父项
              summaryList: this.value, //小结
              doctorName: this.doctorName,
              tjOrderDetailList: this.tjOrderDetail,
            },
          ];