111
lkk
2025-01-20 33b53ec9f9804067fa30fe0b8d5e16a0ae2368e1
111
9个文件已修改
1个文件已添加
705 ■■■■ 已修改文件
src/api/doctor/pacsCheck.js 21 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/doctor/examination/index.vue 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/doctor/inspectCheck/index.vue 457 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/hosp/advicerules/index.vue 63 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/hosp/order/index.vue 44 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/Checkout/index.vue 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/biol/index.vue 66 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/package/index.vue 31 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/tijian/index.vue 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
vue.config.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/api/doctor/pacsCheck.js
@@ -29,3 +29,24 @@
    data:data
  })
}
// 检验记录
export function getlisList(data) {
  return request({
    url: '/api/His/lis/getList',
    method: 'post',
    data:data
  })
}
// 检验体检记录
export function getJyTjList(code) {
  return request({
    url: '/api/His/getJyTjList',
    method: 'get',
    params:{
      code:code
  }
  })
}
src/views/doctor/examination/index.vue
@@ -303,6 +303,7 @@
                size="mini"
                type="text"
                :disabled="scope.row.type === 1"
                :loading="scope.row.isLoading"
                @click="qijian(scope.row)"
                >{{ scope.row.type === 0 ? "弃检" : "恢复" }}</el-button
              >
@@ -415,6 +416,7 @@
      jieguoList: [],
      jyjc: null,
      dis: false,
      isLoading:false,
      createTimeList: "",
      currentRow: null,
      total: 0,
@@ -783,6 +785,7 @@
    qijian(row) {
      const tjNUm = this.selectedTjNumber;
      const proId = row.proId;
      row.isLoading = true;
      if (row.type == "2") {
        huifu(tjNUm, proId).then((res) => {
          if (res.code == 200) {
@@ -790,6 +793,7 @@
              if (res.code === 200) {
                // 更新右边表格的数据
                this.xiangmuList = res.data;
                row.isLoading = false
              }
            });
          }
@@ -801,6 +805,7 @@
              if (res.code === 200) {
                // 更新右边表格的数据
                this.xiangmuList = res.data;
                this.isLoading = false
              }
            });
          }
src/views/doctor/inspectCheck/index.vue
New file
@@ -0,0 +1,457 @@
<template>
  <div class="app-container">
    <el-form
      :model="queryParams"
      ref="queryForm"
      size="small"
      :inline="true"
      label-width="68px"
    >
      <el-form-item label="体检号" prop="reportDoctorCode">
        <el-input
          ref="inputName"
          v-model="queryParams.tjNum"
          placeholder="请输入体检号"
          clearable
          @keyup.enter.native="handleQuery"
          style="width: 170px"
        />
      </el-form-item>
      <el-form-item>
        <el-button
          type="primary"
          icon="el-icon-search"
          size="mini"
          @click="handleQuery"
          style="margin-right: 15px"
          >查询</el-button
        >
        <el-button
          icon="el-icon-refresh"
          type="primary"
          size="mini"
          @click="resetQuery"
          >重置</el-button
        >
        <el-button
          icon="el-icon-check"
          type="primary"
          size="mini"
          style="margin-right: 15px"
          @click="tongbu"
          :disabled="!selectedFirstTable"
          >同步</el-button
        >
      </el-form-item>
    </el-form>
    <div class="table-title">
      <h3>检验记录</h3>
    </div>
    <el-table
      id="ta"
      ref="tb"
      :data="exaLists"
      v-loading="loading"
      border
      max-height="350"
      @current-change="handleCurrentChange"
      @selection-change="handleSelectionChange"
      :row-class-name="tableRowClassName"
    >
      <el-table-column
        fixed
        type="selection"
        align="center"
        label="选择"
        width="40"
        :selectable="isSelectable"
      >
      </el-table-column>
      <el-table-column label="姓名" align="center" prop="name" width="80px" />
      <el-table-column label="性别" align="center" prop="gender" width="80px" />
      <el-table-column
        label="年龄"
        align="center"
        prop="patientAge"
        width="80px"
      >
      </el-table-column>
      <el-table-column
        label="送检科室"
        align="center"
        prop="deptName"
        width="100px"
      />
      <el-table-column
        label="检查项目"
        align="center"
        prop="checkParts"
        width="150px"
      />
      <el-table-column
        label="报告时间"
        align="center"
        prop="examinationDate"
        width="150px"
      />
      <el-table-column label="门诊号" align="center" prop="mzh" width="140px" />
      <el-table-column
        label="申请单号"
        align="center"
        prop="brid"
        width="145px"
      />
      <el-table-column
        label="结果状态"
        align="center"
        prop="diagnosis"
        width="150"
        :show-overflow-tooltip="true"
      />
      <el-table-column
        label="报告医师"
        align="center"
        prop="reportDoctorName"
        width="120px"
      />
      <el-table-column
        label="检查医师名"
        align="center"
        prop="checkDoctorName"
        width="120px"
      />
      <el-table-column
        label="结果表现"
        align="center"
        prop="examination"
        :show-overflow-tooltip="true"
      />
    </el-table>
    <div class="table-title">
      <h3>体检记录</h3>
    </div>
    <el-table
      border
      max-height="280"
      ref="tab1"
      :data="checkList"
      v-loading="loading"
      @selection-change="handleSelectionChangeSecond"
    >
      <el-table-column type="selection" width="55"> </el-table-column>
      <el-table-column
        label="状态"
        align="center"
        prop="type"
        :show-overflow-tooltip="true"
        min-width="60"
      >
        <template slot-scope="scope">
          <span v-if="scope.row.type == '0'">未检</span>
          <span v-if="scope.row.type == '1'">已检</span>
          <span v-if="scope.row.type == '2'">弃检</span>
          <span v-if="scope.row.type == '3'">延期</span>
        </template>
      </el-table-column>
      <el-table-column
        label="科室"
        align="center"
        prop="deptName"
        min-width="115"
      />
      <el-table-column
        label="项目"
        align="center"
        prop="proName"
        min-width="160"
      />
      <el-table-column
        label="收费方式"
        align="center"
        prop="sffs"
        min-width="80"
      />
      <el-table-column
        label="是否收费"
        align="center"
        prop="isPay"
        min-width="80"
      />
      <el-table-column
        label="检查时间"
        align="center"
        prop="bcupdateTime"
        min-width="160"
      />
      <el-table-column
        label="最后修改时间"
        align="center"
        prop="zhupdateTime"
        min-width="160"
      />
    </el-table>
  </div>
</template>
  <script>
import { getlisList, getJyTjList, asyncPacs } from "@/api/doctor/pacsCheck";
export default {
  dicts: ["dict_tj_status"],
  data() {
    return {
      dis: false,
      code: null,
      createTimeList: "",
      total: 0,
      loading: false,
      isSyncing: false,
      // 查询参数
      queryParams: {
        // page: 1,
        // pageSize: 20,
        name: null,
        start: null,
        end: null,
        tjNum: null,
      },
      // 绑定单选按钮
      checkStatus: "0",
      exaLists: [],
      selectedFirstTable: null, // 第一个表格选中行
      selectedSecondTable: [], // 第二个表格选中行
      // 表单参数
      form: {},
      clearTimeSet: null,
      tjNumbers: "",
      multipleSelection: "",
      tjnum: "",
      xiangmuList: [],
      checkList: [],
      tg: true,
      bh: true,
      pickerOptions: {
        shortcuts: [
          {
            text: "最近一周",
            onClick(picker) {
              const end = new Date();
              const start = new Date();
              start.setTime(start.getTime() - 3600 * 1000 * 24 * 7);
              picker.$emit("pick", [start, end]);
            },
          },
          {
            text: "最近一个月",
            onClick(picker) {
              const end = new Date();
              const start = new Date();
              start.setTime(start.getTime() - 3600 * 1000 * 24 * 30);
              picker.$emit("pick", [start, end]);
            },
          },
          {
            text: "最近三个月",
            onClick(picker) {
              const end = new Date();
              const start = new Date();
              start.setTime(start.getTime() - 3600 * 1000 * 24 * 90);
              picker.$emit("pick", [start, end]);
            },
          },
        ],
      },
    };
  },
  mounted() {
    this.$nextTick(() => {
      this.$refs.inputName.focus();
    });
  },
  methods: {
    handleDateChange(val){
      if (val && val.length === 2) {
        this.queryParams.start = val[0]; // 设置开始时间
        this.queryParams.end = val[1];   // 设置结束时间
      } else {
        this.queryParams.start = null;
        this.queryParams.end = null;
      }
      console.log('Query Params:', this.queryParams);
    },
    isSelectable(row) {
      return !!row.mzh;
    },
    tableRowClassName({ row }) {
      return !row.mzh ? "row-disabled" : "";
    },
    handleSelectionChange(val) {
      console.log(val);
      if (val.length > 1) {
        let del_row = val.shift();
        this.$refs.tb.toggleRowSelection(del_row, false); //设置这一行取消选中
      }
      console.log(val, 999);
      if (val.length > 0) {
        const selectedRow = val[0];
        console.log(val[0], 555);
        this.selectedFirstTable = selectedRow;
        console.log("当前选中的行数据:", this.selectedFirstTable);
        this.fetchRightTableData(selectedRow);
      } else {
        this.selectedFirstTable = null;
        this.checkList = [];
      }
    },
    // 根据选中的行数据请求右边表格数据
    fetchRightTableData(selectedRow) {
      const code = selectedRow.mzh;
      if (!code) return;
      this.loading = true;
      getJyTjList(code).then((response) => {
        this.checkList = response.data;
        this.loading = false;
      });
    },
    handleSelectionChangeSecond(selectedRows) {
      this.selectedSecondTable = selectedRows;
      console.log("当前选中的行数据:", this.selectedSecondTable);
    },
    getList() {
      if (this.createTimeList) {
        this.queryParams.start = this.createTimeList[0];
        this.queryParams.end = this.createTimeList[1];
      } else if (this.createTimeList == null) {
        this.queryParams.start = null;
        this.queryParams.end = null;
      }
    },
    /** 搜索按钮操作 */
    handleQuery() {
      // this.queryParams.page = 1;
      this.loading = true;
      getlisList(this.queryParams)
        .then((res) => {
          console.log(res, 1111);
          if (res.code == 200) {
            this.loading = false;
            this.exaLists = res.data;
            this.code = this.exaLists.mzh;
          }
        })
        .catch((error) => {
          this.loading = false;
          this.$message.error(res.msg || "查询失败,请稍后重试");
        });
      this.getList();
    },
    /** 重置按钮操作 */
    resetQuery() {
      this.createTimeList = [];
      this.resetForm("queryForm");
      this.queryParams = {
        name: null,
        start: null,
        end: null,
        tjNum: null,
      };
      // 清空其他依赖数据
      this.checkList = [];
      this.exaLists = [];
    },
    handleCurrentChange(row) {
      this.currentRow = row;
      // console.log('当前选中的行:', row);
    },
    setTime() {
      //设置定时器
      this.clearTimeSet = setInterval(() => {
        this.$modal.closeLoading();
      }, 300000);
    },
    tongbu(row) {
      this.$modal.loading("正在同步,请稍候...");
      this.setTime();
      const requestData = {
        pacs: this.selectedFirstTable, // 左侧表格选中数据
        tj: this.selectedSecondTable[0], // 右侧表格选中数据
      };
      if (!this.selectedSecondTable || this.selectedSecondTable.length === 0) {
        this.$message.error("至少选一条数据!");
        return;
      }
      asyncPacs(requestData)
        .then((res) => {
          if (res.code == 200) {
            this.fetchRightTableData(this.selectedFirstTable);
            clearInterval(this.clearTimeSet);
            this.clearTimeSet = null;
            this.$modal.closeLoading();
            this.$modal.msgSuccess("同步成功!");
          } else {
            this.$message.error(res.message || "同步失败,请稍后重试");
          }
        })
        .catch((error) => {
          clearInterval(this.clearTimeSet);
          this.clearTimeSet = null;
          this.$modal.closeLoading();
        })
    },
  },
};
</script>
  <style lang="scss" scoped>
#ta .el-table__header-wrapper .el-checkbox {
  display: none;
}
.el-table .warning-row {
  background: #e5f3ff !important;
}
::v-deep .el-table__body tr.current-row > td {
  background: #edf2fa !important;
}
.table-title {
  text-align: center;
  margin-bottom: 15px;
}
.row-disabled {
  color: #ccc; /* 设置禁用行的字体颜色 */
  pointer-events: none; /* 禁止鼠标操作 */
  background-color: #f5f5f5; /* 设置禁用行的背景色 */
}
.pag {
  width: 100%;
  display: flex;
  justify-content: center;
}
.pag1 {
  width: 30%;
}
</style>
src/views/hosp/advicerules/index.vue
@@ -236,12 +236,13 @@
            v-model="form.ks"
            placeholder="请选择科室"
            style="width: 200"
            @change="idFn"
          >
            <el-option
              v-for="item in departmentOptions"
              :key="item.value"
              :key="item.id"
              :label="item.label"
              :value="item.value"
              :value="item.label"
            />
          </el-select>
        </el-form-item>
@@ -596,16 +597,19 @@
        this.total = response.total;
        this.loading = false;
      });
      deptTreeSelect().then((response) => {
        this.departmentOptions = response.data[0].children;
        console.log(response, 999);
    },
    idFn(value) {
      console.log("Selected Value:", value);
      this.departmentOptions.forEach((item) => {
        console.log(this.departmentOptions, 333);
        console.log(item, 555);
        if (item.value == value) {
          this.form.ks = item.label;
        }
      });
    },
    /* getDeptTree() {
      deptTreeSelect().then((response) => {
        this.deptOption = response.data;
      });
    }, */
    // 取消按钮
    cancel() {
      this.open = false;
@@ -653,7 +657,7 @@
    handleSelectionChange1(selection) {
      this.ChangeList = selection;
      this.ids = selection.map((item) => item.aid);
      this.ids = selection.map((item) => item.id);
      this.single = selection.length !== 1;
      this.multiple = !selection.length;
      if (selection.length > 1) {
@@ -690,12 +694,9 @@
    /* 弹框确定按钮 */
    submit() {
      console.log(this.ChangeList, 123);
      this.ChangeList.forEach((item) => {
        console.log(item.title, 6363);
        this.form.jymc = item.title;
        console.log(this.form.adviceBt, 2525);
        this.form.jynr = item.advice;
        // this.sfxmId = parseInt(item.id);
@@ -715,6 +716,10 @@
      this.reset();
      this.open = true;
      this.title = "添加体检项目建议规则新表";
      deptTreeSelect().then((response) => {
        this.departmentOptions = response.data[0].children;
        console.log(response, 999);
      });
    },
    /** 修改按钮操作 */
    handleUpdate(row) {
@@ -725,41 +730,39 @@
        this.open = true;
        this.title = "修改体检项目建议规则新表";
      });
      deptTreeSelect().then((response) => {
        this.departmentOptions = response.data[0].children;
        console.log(response, 999);
      });
    },
    submitForm() {
      this.$refs["form"].validate((valid) => {
        if (valid) {
          this.columns.forEach((column) => {
            if (column.htmlType === "checkbox") {
              // 将选中的 checkbox 值用逗号分隔
              this.form[column.javaField] =
                this.form[column.javaField].join(",");
            }
          });
          if (this.table.sub) {
            this.form.subclassNameList = this.subclassNameList; // 假设 subclassNameList 是子表格的数据
          }
          if (this.form[pkColumn.javaField] != null) {
          if (this.form.id != null) {
            updateAdvicerules(this.form).then((response) => {
              console.log(response, 1111333);
              this.$modal.msgSuccess("修改成功");
              this.open = false;
              this.getList(); // 刷新列表
              this.getList();
            });
          } else {
            // 如果主键字段为空,进行新增操作
            addAdvicerules(this.form).then((response) => {
              this.$modal.msgSuccess("新增成功");
              this.open = false;
              this.getList(); // 刷新列表
              this.getList();
            });
          }
        }
      });
    },
    handleDelete(row) {
      const pkValue = row[pkColumn.javaField] || this.ids; // 获取主键值,如果row中没有主键值,则使用this.ids
      console.log(row,6677);
      const pkValue = row.id; // 获取主键值,如果row中没有主键值,则使用this.ids
      this.$modal
        .confirm(`是否确认删除${functionName}编号为"${pkValue}"的数据项?`)
        .confirm(`是否确认删除${row.ks}编号为"${pkValue}"的数据项?`)
        .then(() => {
          return delAdvicerules(pkValue); // 调用删除接口,传入主键值
        })
src/views/hosp/order/index.vue
@@ -177,6 +177,7 @@
          type="primary"
          size="mini"
          @click="handleRevoke"
          :loading="isLoading"
          :disabled="single"
          >撤销签到</el-button
        >
@@ -658,7 +659,7 @@
                      width="260px"
                    >
                    </el-table-column>
                    <el-table-column prop="proPrice" label="原价" width="56px">
                    </el-table-column>
@@ -765,7 +766,7 @@
                  </el-table-column>
                  <el-table-column prop="sl" label="数量" width="56px">
                  </el-table-column>
                    <el-table-column prop="proPrice" label="原价" width="56px">
                  <el-table-column prop="proPrice" label="原价" width="56px">
                  </el-table-column>
                  <el-table-column
                    prop="proName"
@@ -773,7 +774,6 @@
                    width="260px"
                  >
                  </el-table-column>
                  <el-table-column
                    label="操作"
@@ -865,6 +865,7 @@
                        type="primary"
                        @click="submitPrice"
                        :disabled="confirm"
                        :loading="isSubmit"
                        style="margin-top: 34px"
                        >提交</el-button
                      >
@@ -1221,7 +1222,12 @@
        <!-- 提交按钮 -->
        <el-form-item style="display: flex">
          <el-button type="primary" @click="submitPrice1" :disabled="confirm">
          <el-button
            type="primary"
            :loading="isSubmit1"
            @click="submitPrice1"
            :disabled="confirm"
          >
            提交
          </el-button>
        </el-form-item>
@@ -1659,6 +1665,9 @@
      DataList3: [],
      bldhid: "",
      budadaozhen: false,
      isLoading: false,
      isSubmit: false,
      isSubmit1: false,
      huizongList: [],
      DataLists: [],
      infoList: [],
@@ -2085,6 +2094,7 @@
    },
    handleRevoke() {
      this.isLoading = true;
      this.$confirm("您确认要撤销?", "确认信息", {
        distinguishCancelAndClose: true,
        confirmButtonText: "确认",
@@ -2093,6 +2103,7 @@
        .then(() => {
          revokeTjOrderByTjNum(this.tjnumbers).then((res) => {
            this.$modal.msgSuccess("撤销成功");
            // this.isLoading = false;
            this.getList();
          });
        })
@@ -2103,6 +2114,10 @@
              message: "已取消",
            });
          }
        })
        .finally(() => {
          // 不论操作成功还是失败,都会执行
          this.isLoading = false;
        });
    },
    /** 点击显示体检报告报表*/
@@ -2466,10 +2481,10 @@
        let datas = {
          zhId: data.id,
        };
        getlistByZhId(datas).then((res) => {
          this.packagedataList = res.data.tjProjectList;
          for (var i = 0; i < this.packagedataList.length; i++) {
            let proId = this.packagedataList[i].proId;
            getProSonDxList(proId).then((res) => {
@@ -2631,7 +2646,6 @@
          this.TotalPrice1 = 0;
          if (this.DataList3.length != 0) {
            this.DataList3.forEach((item) => {
              this.TotalPrice1 += item.proPrice * item.sl;
            });
          }
@@ -2676,9 +2690,7 @@
            this.DataList.splice(index, 1);
            this.TotalPrice1 = 0;
            this.DataList.forEach((item1) => {
              this.TotalPrice1 = item1.proPrice + this.TotalPrice1;
            });
            if (this.marryalls != 0) {
              this.TotalPrice1 += this.marryalls;
@@ -2695,9 +2707,9 @@
        this.spliceData();
        this.TotalPrice1 = 0;
        this.DataList.forEach((item1) => {
          console.log(item1.proPrice,3322);
          console.log(this.TotalPrice1,1122);
          console.log(item1.proPrice, 3322);
          console.log(this.TotalPrice1, 1122);
          this.TotalPrice1 = item1.proPrice + this.TotalPrice1;
        });
        if (this.marryalls != 0) {
@@ -2824,6 +2836,7 @@
    // 收费按钮
    submitPrice() {
      this.proIds = [];
      this.isSubmit = true;
      if (this.DataList.length != 0) {
        this.DataList.forEach((item) => {
          this.proIds.push(item.proId);
@@ -2859,6 +2872,7 @@
            payType: this.payType,
          };
          getwater(data).then((res) => {
            this.isSubmit = false;
            this.$modal.msgSuccess("提交成功");
            this.mobanId = res.data.mobanId;
            this.waterId = res.data.waterId;
@@ -2874,6 +2888,7 @@
    // 收费按钮
    submitPrice1() {
      this.proIds = [];
      this.isSubmit1 = true;
      if (this.DataList.length != 0) {
        this.DataList.forEach((item) => {
          this.proIds.push(item.proId);
@@ -2903,12 +2918,12 @@
            discount,
            copeWith,
            tjType,
            payStasus:this.jsType,
            payStasus: this.jsType,
            orderId: this.orderIds,
            tjProIds: this.proIds,
            payType: this.payType,
          };
          getwater(data).then((res) => {
            this.$modal.msgSuccess("提交成功");
            this.mobanId = res.data.mobanId;
@@ -2918,6 +2933,7 @@
            const params = { viewNum, tjnumber };
            this.$tab.openPage("收款小票", "/report/charge", params);
            this.Projectopen1 = false;
            this.isSubmit1 = false;
          });
        }
      });
src/views/system/Checkout/index.vue
@@ -387,7 +387,7 @@
      <!-- 弃检2,延期3 -->
      <div slot="footer" class="dialog-footer">
        <!-- <el-button @click="cancel">延期</el-button> -->
        <el-button @click="canaffirm">确认签离</el-button>
        <el-button :loading = isLoading @click="canaffirm">确认签离</el-button>
      </div>
    </el-dialog>
  </div>
@@ -420,6 +420,7 @@
      leave: false,
      checked: false,
      radioId1: false,
      isLoading:false,
      createTimeList: [],
      cusId: "",
      payType: "0",
@@ -973,11 +974,13 @@
        domainVos: this.DataList,
        tjNumber: this.tjNumber,
      };
      this.isLoading = true
      gettjGoOut(data).then((res) => {
        if (res.code === 200) {
          this.$modal.msgSuccess("操作成功");
          this.open = false;
          this.multiple = true;
          this.isLoading = false
          this.getList();
        }
      });
src/views/system/biol/index.vue
@@ -13,7 +13,7 @@
          v-model="queryParams.dyzt"
          placeholder="请选择"
          @change="handleQuery"
          style="width: 100px;"
          style="width: 100px"
        >
          <el-option
            v-for="item in optionsOne"
@@ -137,6 +137,7 @@
          type="primary"
          size="mini"
          :disabled="single"
          :loading="isLoading"
          @click="baogaoyulan"
          >报告预览</el-button
        >
@@ -146,6 +147,7 @@
          type="primary"
          size="mini"
          :disabled="single"
          :loading="isChexiao"
          @click="chexiao"
          >撤销报告</el-button
        >
@@ -550,7 +552,7 @@
  hasPrintCode,
  getOrderListOO,
  getNewDateList,
  getChexiao
  getChexiao,
} from "@/api/hosp/order";
import moment from "moment";
import ViewPdf from "@/components/ViewPdf";
@@ -571,6 +573,8 @@
    return {
      radios: "1",
      dialogVisiblese: false,
      isLoading: false,
      isChexiao:false,
      createTimeList: "",
      // printObj: {
      //   id: "box",             //打印的区域
@@ -684,7 +688,7 @@
      open: false,
      // 日期范围
      datetimerange: [],
      seleList:[],
      seleList: [],
      // 查询参数
      queryParams: {
        pageNum: 1,
@@ -703,8 +707,8 @@
        tjNum: undefined,
        dyzt: "0",
        compId: null,
        dw:null,
        tjCompName:''
        dw: null,
        tjCompName: "",
      },
      startTime: "",
      // 表单参数
@@ -815,11 +819,13 @@
    },
    baogaoyulan() {
      const tjNumber = this.report[0];
      console.log(tjNumber,5555);
      console.log(tjNumber, 5555);
      this.isLoading = true;
      isPdfOrJimu(tjNumber).then((response) => {
        if (response.data.flag == "0") {
          const flag = true;
          this.isLoading = false;
          getPdf(tjNumber, flag).then((response) => {
            if (response.size === 0) {
              const loading = this.$loading({
@@ -852,20 +858,23 @@
            params
          );
        }
        this.isLoading = false;
      });
    },
    // 撤销打印
    chexiao(){
    chexiao() {
      const tjNUms = this.seleList.map((item) => item.tjNumber);
      getChexiao(tjNUms).then((res)=>{
        console.log(res,6666);
        if(res.code === 200){
          this.$modal.msgSuccess('撤销成功!')
          this.getList()
        }else{
          this.$modal.msgError('撤销失败!')
      this.isChexiao = true
      getChexiao(tjNUms).then((res) => {
        console.log(res, 6666);
        if (res.code === 200) {
          this.$modal.msgSuccess("撤销成功!");
          this.getList();
        } else {
          this.$modal.msgError("撤销失败!");
        }
      })
        this.isChexiao = false
      });
    },
    //打印小票
    printHandle() {
@@ -1109,8 +1118,7 @@
    // 选框数据
    searchSelect(val) {
      this.CheckBox = val;
      console.log(this.CheckBox,9999);
      console.log(this.CheckBox, 9999);
    },
    // onSubmit() {
@@ -1121,13 +1129,13 @@
    },
    /** 查询体检记录列表 */
    getList() {
      console.log(this.CheckBox,2323);
      console.log(this.CheckBox, 2323);
      // this.queryParams.checkStatus = this.checkStatus;
      this.queryParams.compId = this.CheckBox.drugManufacturerId;
      this.queryParams.dw = this.CheckBox.cnName;
      if (this.createTimeList) {
        this.queryParams.djbeginTime = this.createTimeList[0];
        this.queryParams.djendTime = this.createTimeList[1];
@@ -1143,8 +1151,8 @@
      // 获取单位信息集合
      getCompany(this.queryParams).then((response) => {
        this.CompanyList = response.data;
        console.log( this.CompanyList,555);
        console.log(this.CompanyList, 555);
        this.loading = false;
      });
      getOrderListOO(this.queryParams).then((response) => {
@@ -1238,9 +1246,9 @@
        tjNum: undefined,
        dyzt: "0",
        compId: null,
        dw:null,
        tjCompName:''
      }
        dw: null,
        tjCompName: "",
      };
      this.createTimeList = [];
      this.resetForm("queryForm");
      this.handleQuery();
@@ -1249,8 +1257,8 @@
    handleSelectionChange(selection) {
      this.ids = selection.map((item) => item.orderId);
      this.seleList = selection;
      console.log(this.seleList,222333);
      console.log(this.seleList, 222333);
      this.DataList1 = this.$refs.multipleTable.selection;
      this.DataList1.forEach((item) => {
        this.barcode = item.tjNumber;
src/views/system/package/index.vue
@@ -560,7 +560,7 @@
          <el-input
            placeholder="输入关键字进行过滤"
            @input="handleFilterInput"
            v-model="queryParams.nr"
            v-model="queryParams1.nr"
            clearable
          />
          <div class="tab3" style="height: 365px">
@@ -580,11 +580,11 @@
            </el-tree>
            <pagination
              small
              v-show="total > 0"
              :total="total"
              :page.sync="queryParams.page"
              :limit.sync="queryParams.pageSize"
              @pagination="handlePageChange"
              v-show="total1 > 0"
              :total="total1"
              :page.sync="queryParams1.page"
              :limit.sync="queryParams1.pageSize"
              @pagination="getDataList"
            />
          </div>
        </el-col>
@@ -826,13 +826,18 @@
      pacId: "",
      // 总条数
      total: 0,
      total1: 0,
      // 查询参数
      queryParams: {
        page: 1,
        pageNum: 1,
        pageSize: 10,
        pacName: null,
        pacRemark: null,
      },
      queryParams1: {
        page: 1,
        pageSize: 30,
        nr: "",
      },
      // 表单参数
@@ -1267,9 +1272,9 @@
    },
    getDataList() {
      this.loading = true;
      search(this.queryParams).then((response) => {
      search(this.queryParams1).then((response) => {
        this.Treedata = response.data.list; // 更新树形数据
        this.total = response.data.total; // 更新总条数
        this.total1 = response.data.total; // 更新总条数
        this.pics = this.DataList.reduce(
          (total, item) => total + item.priceOrd,
          0
@@ -1284,12 +1289,12 @@
    //     this.Treedata = response.data.list;
    //     /*  if (this.form.tjProjectList) {
    //       this.form.tjProjectList.forEach((item) => {
    //         this.Treedata.forEach((item1) => {
    //         this.Treedata.forEach((item1) => {
    //           if (item.proId == item1.proId) {
    //             this.checkedkey.push(item1.proId);
    //             this.DataList.push(item1);
    //             this.DataList.forEach((item1) => {
    //               item1.limits = 10;
    //               if (item1.limits > 10) {
@@ -1299,7 +1304,7 @@
    //               }
    //               this.updateProPrice(item1); // 更新价格或其他逻辑
    //             });
    //           }
    //         });
    //       });
src/views/system/tijian/index.vue
@@ -2471,7 +2471,7 @@
        });
      } else {
        let configKey = "getInfoFromSqlData";
        getconfigKey(configKey).then((res) => {
        getconfigKey(configKey).then((res) => {
          if (res.code == 200) {
            if (res.msg == "N") {
              var websocket = null;
@@ -2519,9 +2519,10 @@
                alert("读卡器连接关闭");
              };
            } else if (res.msg == "Y") {
              this.$refs.aaa.open = true;
              /* this.$refs.aaa.open = true;
              this.$refs.aaa.getAllList();
              this.$refs.aaa.title = "证件字典";
              this.$refs.aaa.title = "证件字典"; */
            } else if (res.msg == "S") {
              this.cardreader = true;
              _this.cardreaderradio = 3;
@@ -3733,8 +3734,8 @@
    // 最后提交按钮
    submitPrice() {
      let _this = this;
      this.loadingSubmit = true;
      if (_this.tjCategory !== "") {
        this.loadingSubmit = true;
        let List = _this.tableData1; //单个项目信息
        if (this.responseList.cusId) {
          var userId = this.responseList.cusId;
vue.config.js
@@ -53,8 +53,8 @@
      // detail: https://cli.vuejs.org/config/#devserver-proxy
      [process.env.VUE_APP_BASE_API]: {
        // target: `https://ltpeis.xaltjdkj.cn:5801/`,
        // target: `http://192.168.1.2:5011`,
        target: `http://192.168.1.113:5011`,
        target: `http://192.168.1.2:5011`,
        // target: `http://192.168.1.113:5011`,
        // // target: `http://192.168.0.99:8080/ltkj-admin`,
        // target: `https://ltpeis.xaltjdkj.cn:5011/ltkj-admin`,
        // target: `http://10.168.0.9:5011`,