b87620ea6c5778a6fdadfac3b4f12d96cd0af3df..7546165f6a616777fdfd390327ac3aacc67d9d8f
9 天以前 qx
Merge branch 'master' of http://101.42.27.146:5001/r/ltkj_peisweb
754616 对比 | 目录
9 天以前 qx
qx
73e102 对比 | 目录
2025-05-07 lkk
1
208d12 对比 | 目录
9个文件已修改
1504 ■■■■■ 已修改文件
src/api/doctor/checkAll.js 9 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/jianqianwenzhen/index.vue 219 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main.js 20 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/doctor/check/index.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/doctor/checkAll/index.vue 1210 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/doctor/examination/index.vue 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/hosp/history/index.vue 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/login.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/comp/index.vue 29 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/api/doctor/checkAll.js
@@ -139,4 +139,11 @@
  })
}
//总检点击体检信息详情
export function getFcList(data) {
  return request({
    url: '/check/getFcList',
    method: 'get',
    params: data
  })
}
src/components/jianqianwenzhen/index.vue
@@ -59,10 +59,17 @@
                style="width: 710px"
              />
            </el-form-item>
            <el-form-item label="工作单位名称" prop="gongZhong" >
            <el-form-item label="单位名称" prop="dwmc">
              <el-input
                v-model="form.gongZhong"
                placeholder="请输入工种"
                v-model="form.dwmc"
                placeholder="请输入单位名称"
                style="width: 710px"
              />
            </el-form-item>
            <el-form-item label="用工单位" prop="ygdw">
              <el-input
                v-model="form.ygdw"
                placeholder="请输入用工单位"
                style="width: 710px"
              />
            </el-form-item>
@@ -92,7 +99,7 @@
                <el-radio :label="2">否</el-radio>
              </el-radio-group>
            </el-form-item>
            <el-form-item label="接触毒物" prop="contactPoison">
            <!--  <el-form-item label="接触毒物" prop="contactPoison">
              <el-input
                type="textarea"
                rows="4"
@@ -100,8 +107,44 @@
                placeholder="请输入接触毒物"
                style="width: 700px"
              />
            </el-form-item> -->
            <el-form-item label="体检危害因素" prop="tjwhyx">
              <el-select
                filterable
                v-model="form.tjwhyx"
                placeholder="请选择体检危害因素"
                clearable
                style="width: 180px"
              >
                <el-option
                  v-for="dict in dict.type.tj_work_status"
                  :key="dict.value"
                  :label="dict.label"
                  :value="dict.value"
                />
              </el-select>
            </el-form-item>
            <el-form-item label="既往病史" prop="medicalHistory">
            <el-form-item
              label="接触危害因素"
              prop="tcwhyx"
              style="margin-left: 30px"
            >
              <el-select
                filterable
                v-model="form.tcwhyx"
                placeholder="请选择接触危害因素"
                clearable
                style="width: 180px"
              >
                <el-option
                  v-for="dict in dict.type.tj_work_status"
                  :key="dict.value"
                  :label="dict.label"
                  :value="dict.value"
                />
              </el-select>
            </el-form-item>
            <!-- <el-form-item label="既往病史" prop="medicalHistory">
              <el-input
                type="textarea"
                rows="4"
@@ -109,8 +152,33 @@
                placeholder="请输入既往病史"
                style="width: 700px"
              />
            </el-form-item> -->
            <el-form-item label="既往病史" prop="medicalHistory">
              <el-select
                v-model="form.medicalHistory"
                multiple
                allow-create
                filterable
                placeholder="请选择或输入既往病史"
                style="width: 700px"
              >
                <el-option
                  v-for="item in rulesList"
                  :key="item.id"
                  :label="item.icdname"
                  :value="item.icdname"
                />
              </el-select>
              <!-- <el-input
                type="textarea"
                rows="4"
                v-model="form.medicalHistory"
                placeholder="请输入既往病史"
                style="width: 700px"
              /> -->
            </el-form-item>
            <el-form-item label="症状" prop="zzsjj">
            <!--  <el-form-item label="症状" prop="zzsjj">
              <el-select
                multiple
                filterable
@@ -126,7 +194,99 @@
                  :value="dict.proName"
                />
              </el-select>
            </el-form-item>
            </el-form-item> -->
            <div style="width: 900px">
              <el-row :gutter="10" class="mb8">
                <el-col :span="1.5">
                  <el-button
                    type="primary"
                    icon="el-icon-plus"
                    size="mini"
                    @click="addmembers()"
                    >添加
                  </el-button>
                </el-col>
                <el-col :span="1.5">
                  <el-button
                    type="danger"
                    icon="el-icon-delete"
                    size="mini"
                    @click="delemembers()"
                    >删除
                  </el-button>
                </el-col>
              </el-row>
              <el-table
                border
                :data="form.tjAskHistorysList"
                ref="tjAskHistorys"
                style="width: 98%"
                @selection-change="handlebingChange"
              >
                <el-table-column type="selection" width="40" align="center" />
                <el-table-column
                  label="序号"
                  width="80"
                  align="center"
                  type="index"
                  :index="indexMethod"
                />
                <el-table-column
                  label="症状名称"
                  prop="diseaseName"
                  align="center"
                >
                  <template slot-scope="scope">
                    <el-select
                      :remote-method="getRemoteData"
                      v-model="scope.row.diseaseName"
                      remote
                      filterable
                      placeholder="请选择症状名称"
                      clearable
                      @change="jibing"
                    >
                      <el-option
                        v-for="dict in zhenghuzangList"
                        :key="dict.id"
                        :label="dict.proName"
                        :value="dict.proName"
                      />
                    </el-select>
                  </template>
                </el-table-column>
                <el-table-column
                  label="症状日期"
                  width="160"
                  prop="diseaseData"
                  align="center"
                >
                  <template slot-scope="scope">
                    <el-date-picker
                      size="mini"
                      v-model="scope.row.diseaseData"
                      align="right"
                      type="date"
                      placeholder="选择日期"
                      :picker-options="pickerOptions"
                      style="width: 130px"
                      value-format="yyyy-MM-dd"
                    >
                    </el-date-picker>
                  </template>
                </el-table-column>
                <el-table-column label="备注" prop="remark" align="center">
                  <template slot-scope="scope">
                    <el-input
                      size="mini"
                      v-model="scope.row.remark"
                      placeholder="请输入备注"
                    />
                  </template>
                </el-table-column>
              </el-table>
            </div>
          </div>
        </el-collapse-item>
        <el-collapse-item title="月经史" name="2" v-show="sex">
@@ -149,7 +309,8 @@
                v-model="form.yjsfyc"
                placeholder="请选择是否异常"
                clearable
                style="width: 150px"
                style="width: 70px"
                @change="onYjsfycChange"
              >
                <el-option
                  v-for="dict in dict.type.sys_yes_no"
@@ -158,6 +319,9 @@
                  :value="dict.value"
                />
              </el-select>
            </el-form-item>
            <el-form-item label="月经异常描述" prop="ycms">
              <el-input v-model="form.ycms" style="width: 490px" />
            </el-form-item>
          </div>
        </el-collapse-item>
@@ -206,7 +370,7 @@
              <el-input
                v-model="form.xiyanyear"
                style="width: 70px"
              />年 </el-form-item
              />月 </el-form-item
            ><br />
            <el-form-item label="是否饮酒" prop="yinjiu">
              <!-- <el-input v-model="form.yinjiupinlv" placeholder="请输入饮酒频率" /> -->
@@ -229,7 +393,7 @@
              <el-input v-model="form.yinjiupinlv" style="width: 70px" />ml/天
            </el-form-item>
            <el-form-item label="饮酒时间" prop="yinjiuyear">
              <el-input v-model="form.yinjiuyear" style="width: 70px" />年
              <el-input v-model="form.yinjiuyear" style="width: 70px" />月
            </el-form-item>
            <el-form-item label="其他" prop="qita">
              <el-input
@@ -743,7 +907,7 @@
        },
      ],
      icdId: "",
      radio: '1',
      radio: "1",
      zhiye: true,
      queryParams: {
        pageNum: 1,
@@ -791,7 +955,10 @@
      title: "",
      harmTypeList: [],
      // 表单参数
      form: {},
      form: {
        yjsfyc: "", // 是否异常
        ycms: "", // 异常描述
      },
      chageall: [],
      bingshiall: [],
      // 疾病字典表格数据
@@ -806,9 +973,22 @@
            trigger: "blur",
          },
        ],
        ycms: [
          {
            validator: (rule, value, callback) => {
              if (this.form.yjsfyc === "Y" && !value) {
                callback(new Error("月经异常描述不能为空"));
              } else {
                callback();
              }
            },
            trigger: "blur",
          },
        ], // 初始不设置为必填
      },
    };
  },
  watch: {
    jianqianwenzhendata(val, newVla) {
      if (val) {
@@ -867,6 +1047,8 @@
    this.getList();
    this.getzhenzhuangList();
    console.log("接收", this.jianqianwenzhendata);
    // console.log(this.dict.type.sys_yes_no,666666);
    if (this.jianqianwenzhendata.length == 1) {
      this.jianqianwenzhendata.forEach((item) => {
        let tjNumber = item;
@@ -995,6 +1177,19 @@
      this.$forceUpdate();
    },
    indexMethod(index) {
      return (
        (this.queryParams.pageNum - 1) * this.queryParams.pageSize + index + 1
      );
    },
    onYjsfycChange() {
      // 手动触发“月经异常描述”的校验
      this.$nextTick(() => {
        this.$refs.form.validateField('ycms');
      });
    },
    jibing(sel) {
      this.diseaseNames = sel;
      this.rulesList.forEach((item) => {
src/main.js
@@ -15,18 +15,18 @@
import { download } from "@/utils/request";
import Print from "vue-print-nb";
 
import Updater from "./utils/AutoUpdate.js";
// import Updater from "./utils/AutoUpdate.js";
 
//前端重新部署通知用户刷新网页
const AutoUpdate = new Updater()
AutoUpdate.on('update',()=>{
  setTimeout(async()=>{
      const result = confirm('当前版本已更新,请点击确定刷新页面体验');
      if(result){
        location.reload();
      }
  },500)
})
// const AutoUpdate = new Updater()
// AutoUpdate.on('update',()=>{
//   setTimeout(async()=>{
//       const result = confirm('当前版本已更新,请点击确定刷新页面体验');
//       if(result){
//         location.reload();
//       }
//   },500)
// })
 
import JsonExcel from "vue-json-excel";
src/views/doctor/check/index.vue
@@ -946,7 +946,6 @@
          );
          if (!heightRow || !weightRow || !bmiRow) {
            this.$message.error('缺少身高、体重或 BMI 项目');
            return;
          }
src/views/doctor/checkAll/index.vue
@@ -1,127 +1,47 @@
<template>
  <div class="mainbox">
    <el-form
      :model="queryParams"
      ref="tableList"
      :inline="true"
      label-width="76px"
      style="margin-top: 10px"
    >
    <el-form :model="queryParams" ref="tableList" :inline="true" label-width="76px" style="margin-top: 10px">
      <el-form-item label="姓名" prop="name">
        <el-input
          v-model="queryParams.name"
          style="width: 120px"
          placeholder="请输入姓名"
          clearable
          @keyup.enter.native="submitForm"
        ></el-input>
        <el-input v-model="queryParams.name" style="width: 120px" placeholder="请输入姓名" clearable
          @keyup.enter.native="submitForm"></el-input>
      </el-form-item>
      <el-form-item label="体检号" prop="tjNumber">
        <el-input
          ref="inputName"
          v-model="queryParams.tjNumber"
          style="width: 180px"
          placeholder="请输入体检号"
          clearable
          @keyup.enter.native="submitForm"
          @blur="hb"
        ></el-input>
        <el-input ref="inputName" v-model="queryParams.tjNumber" style="width: 180px" placeholder="请输入体检号" clearable
          @keyup.enter.native="submitForm" @blur="hb"></el-input>
      </el-form-item>
      <el-form-item label="体检时间" prop="tjTime">
        <el-date-picker
          v-model="startTime"
          type="datetimerange"
          align="right"
          :picker-options="pickerOptions"
          style="width: 310px"
          start-placeholder="开始日期"
          end-placeholder="结束日期"
          :default-time="['00:00:00', '23:00:00']"
          format="yyyy-MM-dd HH:mm"
          value-format="yyyy-MM-dd HH:mm"
          @change="dateChangebirthday1"
        >
        <el-date-picker v-model="startTime" type="datetimerange" align="right" :picker-options="pickerOptions"
          style="width: 310px" start-placeholder="开始日期" end-placeholder="结束日期" :default-time="['00:00:00', '23:00:00']"
          format="yyyy-MM-dd HH:mm" value-format="yyyy-MM-dd HH:mm" @change="dateChangebirthday1">
        </el-date-picker>
      </el-form-item>
      <el-form-item
        label="单位名称"
        prop="tjCompName"
        style="margin-left: 20px"
      >
        <el-select
          :remote-method="getRemoteData"
          v-model="queryParams.tjCompName"
          value-key="drugManufacturerId"
          style="width: 180px"
          remote
          filterable
          placeholder="请选择单位名称"
          clearable
          @change="searchSelect"
        >
          <el-option
            v-for="dict in CompanyList"
            :key="dict.drugManufacturerId"
            :label="dict.cnName"
            :value="dict"
          />
      <el-form-item label="单位名称" prop="tjCompName" style="margin-left: 20px">
        <el-select :remote-method="getRemoteData" v-model="queryParams.tjCompName" value-key="drugManufacturerId"
          style="width: 180px" remote filterable placeholder="请选择单位名称" clearable @change="searchSelect">
          <el-option v-for="dict in CompanyList" :key="dict.drugManufacturerId" :label="dict.cnName" :value="dict" />
        </el-select>
      </el-form-item>
      <el-form-item>
        <el-button
          type="primary"
          size="mini"
          @click="submitForm"
          style="margin-right: 15px"
          >搜索</el-button
        >
        <el-button type="primary" size="mini" @click="submitForm" style="margin-right: 15px">搜索</el-button>
        <el-button size="mini" @click="resetQuery">重置</el-button>
      </el-form-item>
    </el-form>
    <el-radio-group
      v-model="tjStatus"
      @input="radioChange"
      style="margin-left: 20px"
    >
    <el-radio-group v-model="tjStatus" @input="radioChange" style="margin-left: 20px">
      <el-radio-button label="0">未审核</el-radio-button>
      <el-radio-button label="1">已审核</el-radio-button>
    </el-radio-group>
    <template>
      <el-table
        v-loading="loading"
        :data="checkList"
        ref="table"
        border
        style="margin: 20px; width: 98%"
        @current-change="handleCurrentChange"
      >
      <el-table v-loading="loading" :data="checkList" ref="table" border style="margin: 20px; width: 98%"
        @current-change="handleCurrentChange">
        <!-- <template slot="empty">数据正在加载中</template> -->
        <el-table-column
          label="体检号"
          align="center"
          prop="tjNumber"
          :show-overflow-tooltip="true"
          width="160px"
          fixed="left"
        />
        <el-table-column
          label="姓名"
          align="center"
          prop="cusName"
          :show-overflow-tooltip="true"
          width="100px"
          fixed="left"
        />
        <el-table-column label="体检号" align="center" prop="tjNumber" :show-overflow-tooltip="true" width="160px"
          fixed="left" />
        <el-table-column label="姓名" align="center" prop="cusName" :show-overflow-tooltip="true" width="100px"
          fixed="left" />
        <el-table-column
          label="性别"
          align="center"
          prop="cusSex"
          :show-overflow-tooltip="true"
          width="55px"
        >
        <el-table-column label="性别" align="center" prop="cusSex" :show-overflow-tooltip="true" width="55px">
          <template slot-scope="scope">
            <span v-if="scope.row.cusSex == '0'">男</span>
            <span v-if="scope.row.cusSex == '1'">女</span>
@@ -129,20 +49,8 @@
            <span v-if="scope.row.cusSex == '9'">未说明性别</span>
          </template>
        </el-table-column>
        <el-table-column
          label="出生日期"
          align="center"
          prop="cusBrithday"
          :show-overflow-tooltip="true"
          width="110px"
        />
        <el-table-column
          label="电话"
          align="center"
          prop="cusPhone"
          :show-overflow-tooltip="true"
          width="130px"
        />
        <el-table-column label="出生日期" align="center" prop="cusBrithday" :show-overflow-tooltip="true" width="110px" />
        <el-table-column label="电话" align="center" prop="cusPhone" :show-overflow-tooltip="true" width="130px" />
        <!-- <el-table-column
          label="体检时间"
@@ -151,151 +59,68 @@
          :show-overflow-tooltip="true"
          width="110px"
        /> -->
        <el-table-column
          v-if="tjStatus === '1'"
          label="审核时间"
          align="center"
          prop="shsj"
          :show-overflow-tooltip="true"
          width="180px"
        />
        <el-table-column
          v-if="tjStatus === '0'"
          label="完成时间"
          align="center"
          prop="finishTime"
          :show-overflow-tooltip="true"
          width="160px"
        />
        <el-table-column
          label="套餐名称"
          align="center"
          prop="pacName"
          :show-overflow-tooltip="true"
          width="160px"
        />
        <el-table-column
          label="状态"
          align="center"
          prop="tjStatus"
          :show-overflow-tooltip="true"
          width="120px"
        >
        <el-table-column v-if="tjStatus === '1'" label="审核时间" align="center" prop="shsj" :show-overflow-tooltip="true"
          width="180px" />
        <el-table-column v-if="tjStatus === '0'" label="完成时间" align="center" prop="finishTime"
          :show-overflow-tooltip="true" width="160px" />
        <el-table-column label="套餐名称" align="center" prop="pacName" :show-overflow-tooltip="true" width="160px" />
        <el-table-column label="状态" align="center" prop="tjStatus" :show-overflow-tooltip="true" width="120px">
          <template slot-scope="scope">
            <span>{{ scope.row.tjStatus == "1" ? "已审核" : "未审核" }}</span>
          </template>
        </el-table-column>
        <el-table-column
          label="单位名称"
          align="center"
          prop="tjCompName"
          :show-overflow-tooltip="true"
        />
        <el-table-column label="单位名称" align="center" prop="tjCompName" :show-overflow-tooltip="true" />
        <el-table-column label="体检类别" align="center" prop="tjCategory">
          <template slot-scope="scope">
            <dict-tag
              :options="dict.type.dict_tjtype"
              :value="scope.row.tjCategory"
            />
            <dict-tag :options="dict.type.dict_tjtype" :value="scope.row.tjCategory" />
          </template>
        </el-table-column>
        <el-table-column
          label="操作"
          align="center"
          width="120px"
          fixed="right"
        >
        <el-table-column label="操作" align="center" width="120px" fixed="right">
          <template slot-scope="scope">
            <el-button
              fixed="right"
              title="详情"
              type="text"
              size="mini"
              @click.stop="handleClick(scope.row)"
              icon="el-icon-document-copy"
            ></el-button>
            <el-button
              fixed="right"
              title="同步"
              type="text"
              size="mini"
              @click.stop="tongbu(scope.row)"
              v-if="scope.row.tjStatus != '1'"
              icon="el-icon-upload2"
            ></el-button>
            <el-button
              fixed="right"
              title="处方"
              type="text"
              size="mini"
              @click.stop="rowClick(scope.row)"
              icon="el-icon-edit-outline"
            ></el-button>
            <el-button fixed="right" title="详情" type="text" size="mini" @click.stop="handleClick(scope.row)"
              icon="el-icon-document-copy"></el-button>
            <el-button fixed="right" title="同步" type="text" size="mini" @click.stop="tongbu(scope.row)"
              v-if="scope.row.tjStatus != '1'" icon="el-icon-upload2"></el-button>
            <el-button fixed="right" title="处方" type="text" size="mini" @click.stop="rowClick(scope.row)"
              icon="el-icon-edit-outline"></el-button>
            <!-- <el-button type="text" size="mini" @click="generate(scope.row)" v-if="scope.row.tjStatus=='1'">生成</el-button> -->
            <el-button
              type="text"
              size="mini"
              @click.stop="viewReport(scope.row)"
              v-if="scope.row.tjStatus == '1'"
              title="预览"
              icon="el-icon-view"
            ></el-button>
            <el-button
              type="text"
              size="mini"
              v-if="scope.row.tjStatus == '1'"
              title="撤销"
              @click.stop="getRevoke(scope.row)"
              icon="el-icon-refresh-left"
            ></el-button>
            <el-button type="text" size="mini" @click.stop="viewReport(scope.row)" v-if="scope.row.tjStatus == '1'"
              title="预览" icon="el-icon-view"></el-button>
            <el-button type="text" size="mini" v-if="scope.row.tjStatus == '1'" title="撤销"
              @click.stop="getRevoke(scope.row)" icon="el-icon-refresh-left"></el-button>
          </template>
        </el-table-column>
      </el-table>
      <div class="pag">
        <div class="pag1">
          <pagination
            v-show="total > 0"
            :total="total"
            :page.sync="queryParams.page"
            :limit.sync="queryParams.pageSize"
            @pagination="submitForm"
          />
          <pagination v-show="total > 0" :total="total" :page.sync="queryParams.page" :limit.sync="queryParams.pageSize"
            @pagination="submitForm" />
        </div>
      </div>
    </template>
    <!-- 点击弹出框   show-close="true"-->
    <el-drawer
      custom-class="tanchu"
      :visible.sync="drawer"
      :before-close="handleClose"
      :with-header="false"
      size="100%"
    >
    <el-drawer custom-class="tanchu" :visible.sync="drawer" :before-close="handleClose" :with-header="false"
      size="100%">
      <div class="top">
        <table
          style="
        <table style="
            width: 100%;
            margin: 10px 10px;
            border: 1px solid #dfe6ec;
            border-collapse: collapse;
          "
          cellspacing="4"
        >
          " cellspacing="4">
          <caption style="background-color: #f8f8f9; font-size: 18px">
            {{
              tableAll.cusName
            }}的体检资料
          </caption>
          <tr
            style="
          <tr style="
              border: 1px solid #dfe6ec;
              border-collapse: collapse;
              height: 36px;
            "
          >
            ">
            <td style="border: 1px solid #dfe6ec; border-collapse: collapse">
              姓名:
            </td>
@@ -310,18 +135,16 @@
                tableAll.cusSex == 0
                  ? "男"
                  : tableAll.cusSex == 1
                  ? "女"
                  : "未知"
                    ? "女"
                    : "未知"
              }}
            </td>
          </tr>
          <tr
            style="
          <tr style="
              border: 1px solid #dfe6ec;
              border-collapse: collapse;
              height: 36px;
            "
          >
            ">
            <td style="border: 1px solid #dfe6ec; border-collapse: collapse">
              体检单号:
            </td>
@@ -346,64 +169,45 @@
          </el-button>
        </div>
        <div class="btn1">
          <el-button @click="historicalreport()" type="primary"
            ><span class="vertical-text">历史报告</span></el-button
          >
          <el-button @click="historicalreport()" type="primary"><span class="vertical-text">历史报告</span></el-button>
        </div>
        <div v-if="tableAll.tjCategory == '02'" class="btn1">
          <el-button @click="medicalhistory()" type="primary"
            ><span class="vertical-text">职业病史</span></el-button
          >
          <el-button @click="medicalhistory()" type="primary"><span class="vertical-text">职业病史</span></el-button>
        </div>
        <div class="btn1" v-if="msgjianqian == 'y' || msgjianqian == 'Y'">
          <el-button @click="jianqian()" type="primary"
            ><span class="vertical-text">检前问诊</span></el-button
          >
          <el-button @click="jianqian()" type="primary"><span class="vertical-text">检前问诊</span></el-button>
        </div>
        <div class="btn1">
          <el-button @click="xiangmuqingkuang()" type="primary"
            ><span class="vertical-text">项目情况</span></el-button
          >
          <el-button @click="xiangmuqingkuang()" type="primary"><span class="vertical-text">项目情况</span></el-button>
        </div>
        <div class="btn1">
          <el-button @click="yichangjieguo()" type="primary"
            ><span class="vertical-text">异常结果</span></el-button
          >
          <el-button @click="yichangjieguo()" type="primary"><span class="vertical-text">异常结果</span></el-button>
        </div>
        <!-- <div class="btn1">
          <el-button @click="fuchaxiangmu()" type="primary"><span class="vertical-text">复查项目</span></el-button>
        </div> -->
      </div>
      <div class="box">
        <div class="left-container">
          <div class="left">
            <div v-for="(item, index) in changedate" :key="index">
              <div
                style="
              <div style="
                  text-align: center;
                  background-color: #aad8df;
                  margin-top: 10px;
                "
              >
                ">
                {{ item.parent || "" }}
              </div>
              <div v-if="item.xmlb == '0'">
                <el-table
                  :data="item.sons"
                  border
                  style="width: 100%"
                  :row-style="changRed"
                  :header-cell-style="{ background: '#aad8df' }"
                >
                <el-table :data="item.sons" border style="width: 100%" :row-style="changRed"
                  :header-cell-style="{ background: '#aad8df' }">
                  <el-table-column align="center" label="检测项目" width="464">
                    <template slot-scope="scope">
                      <div>{{ scope.row.proName }}</div>
                    </template>
                  </el-table-column>
                  <el-table-column
                    align="center"
                    prop="proResult"
                    label="检测结果"
                    width="180"
                  >
                  <el-table-column align="center" prop="proResult" label="检测结果" width="180">
                  </el-table-column>
                  <el-table-column align="center" prop="" label="单位">
                    <template slot-scope="scope">
@@ -413,12 +217,7 @@
                      <div v-else>{{ scope.row.proAdvice }}</div>
                    </template>
                  </el-table-column>
                  <el-table-column
                    align="center"
                    prop="conclusion"
                    label="异常"
                    width="180"
                  ></el-table-column>
                  <el-table-column align="center" prop="conclusion" label="异常" width="180"></el-table-column>
                  <el-table-column align="center" prop="" label=" 参考范围">
                    <template slot-scope="scope">
                      <div v-if="scope.row.project != null">
@@ -433,71 +232,49 @@
                  </el-table-column>
                </el-table>
                <table style="width: 100%" v-if="tjproject != '1'">
                  <tr
                    style="border: 1px solid #dfe6ec; border-collapse: collapse"
                  >
                    <td
                      style="
                  <tr style="border: 1px solid #dfe6ec; border-collapse: collapse">
                    <td style="
                        border: 1px solid #dfe6ec;
                        border-collapse: collapse;
                        width: 7%;
                      "
                    >
                      ">
                      小结:
                    </td>
                    <td style="border: 1px solid #dfe6ec; width: 45%">
                      <el-input v-model="item.remark" disabled></el-input>
                    </td>
                    <td
                      style="
                    <td style="
                        border: 1px solid #dfe6ec;
                        border-collapse: collapse;
                        width: 15%;
                      "
                    >
                      ">
                      主检医师:
                    </td>
                    <td
                      style="
                    <td style="
                        border: 1px solid #dfe6ec;
                        border-collapse: collapse;
                      "
                      colspan="2"
                    >
                      " colspan="2">
                      {{ item.doctorName }}
                    </td>
                  </tr>
                  <tr
                    style="
                  <tr style="
                      border: 1px solid #dfe6ec;
                      border-collapse: collapse;
                      width: 200px;
                    "
                  >
                    <td
                      style="
                    ">
                    <td style="
                        border: 1px solid #dfe6ec;
                        border-collapse: collapse;
                        width: 240px;
                      "
                    >
                      ">
                      备注:
                    </td>
                    <td
                      style="
                    <td style="
                        border: 1px solid #dfe6ec;
                        border-collapse: collapse;
                      "
                      colspan="3"
                    >
                      <el-input
                        type="textarea"
                        autosize
                        placeholder="请输入内容"
                        v-model="changedate[index].remark"
                        v-on:input="change"
                        style="width: 100%"
                      >
                      " colspan="3">
                      <el-input type="textarea" autosize placeholder="请输入内容" v-model="changedate[index].remark"
                        v-on:input="change" style="width: 100%">
                      </el-input>
                      <!-- <textarea
                        placeholder="请输入内容"
@@ -513,27 +290,16 @@
              <div v-else>
                <table style="width: 100%" v-if="tjproject != '1'">
                  <tr style="border: 1px solid #dfe6ec">
                    <td
                      style="
                    <td style="
                        border: 1px solid #dfe6ec;
                        border-collapse: collapse;
                        width: 15%;
                        height: auto;
                      "
                    >
                      ">
                      检查所见:
                    </td>
                    <td
                      style="border: 1px solid #dfe6ec; height: auto"
                      colspan="2"
                    >
                      <el-input
                        type="textarea"
                        autosize
                        placeholder="请输入内容"
                        v-model="item.jgbx"
                        style="width: 100%"
                      >
                    <td style="border: 1px solid #dfe6ec; height: auto" colspan="2">
                      <el-input type="textarea" autosize placeholder="请输入内容" v-model="item.jgbx" style="width: 100%">
                      </el-input>
                      <!-- <textarea
                        placeholder="请输入内容"
@@ -543,32 +309,19 @@
                      ></textarea> -->
                    </td>
                  </tr>
                  <tr
                    style="border: 1px solid #dfe6ec; border-collapse: collapse"
                  >
                    <td
                      style="
                  <tr style="border: 1px solid #dfe6ec; border-collapse: collapse">
                    <td style="
                        border: 1px solid #dfe6ec;
                        border-collapse: collapse;
                        width: 15%;
                      "
                    >
                      ">
                      检查提示:
                    </td>
                    <td
                      style="
                    <td style="
                        border: 1px solid #dfe6ec;
                        border-collapse: collapse;
                      "
                      colspan="2"
                    >
                      <el-input
                        type="textarea"
                        autosize
                        placeholder="请输入内容"
                        v-model="item.remark"
                        style="width: 100%"
                      >
                      " colspan="2">
                      <el-input type="textarea" autosize placeholder="请输入内容" v-model="item.remark" style="width: 100%">
                      </el-input>
                      <!-- <textarea
      
@@ -578,29 +331,22 @@
                      ></textarea> -->
                    </td>
                  </tr>
                  <tr
                    style="
                  <tr style="
                      border: 1px solid #dfe6ec;
                      border-collapse: collapse;
                      width: 200px;
                    "
                  >
                    <td
                      style="
                    ">
                    <td style="
                        border: 1px solid #dfe6ec;
                        border-collapse: collapse;
                        width: 15%;
                      "
                    >
                      ">
                      主检医师:
                    </td>
                    <td
                      style="
                    <td style="
                        border: 1px solid #dfe6ec;
                        border-collapse: collapse;
                      "
                      colspan="2"
                    >
                      " colspan="2">
                      {{ item.doctorName }}
                    </td>
                  </tr>
@@ -609,47 +355,22 @@
            </div>
            <div style="margin: 0 0px 10px 15px" v-if="tjproject != '1'">
              <el-button type="primary" @click="propoChange"
                >快捷建议</el-button
              >
              <el-button type="primary" @click="proposalChange"
                >生成建议</el-button
              >
              <el-button type="primary" @click="propoChange">快捷建议</el-button>
              <el-button type="primary" @click="proposalChange">生成建议</el-button>
            </div>
            <el-form
              ref="numberValidateForm"
              label-width="80px"
              class="demo-ruleForm"
              v-if="tjproject != '1'"
            >
            <el-form ref="numberValidateForm" label-width="80px" class="demo-ruleForm" v-if="tjproject != '1'">
              <el-form-item label="总检建议">
                <el-input
                  type="textarea"
                  placeholder="请输入内容"
                  v-model="textarea1"
                  :rows="3"
                  style="width: 96%"
                >
                <el-input type="textarea" placeholder="请输入内容" v-model="textarea1" :rows="3" style="width: 96%">
                </el-input>
              </el-form-item>
            </el-form>
            <div slot="footer" class="dialog-footers">
              <el-button type="primary" @click.stop="guanbi">取消</el-button>
              <el-button
                v-if="tjproject == '0' && (msgkcf == 'y' || msgkcf == 'Y')"
                type="primary"
                @click.stop="rowClick"
                icon="el-icon-edit-outline"
                >开处方</el-button
              >
              <el-button v-if="tjproject == '0' && (msgkcf == 'y' || msgkcf == 'Y')" type="primary"
                @click.stop="rowClick" icon="el-icon-edit-outline">开处方</el-button>
              <div v-if="tjproject == '0'">
                <el-button
                  type="primary"
                  @click="determine"
                  :disabled="isdisabled"
                  >提交并生成报告</el-button
                >
                <el-button type="primary" @click="determine" :disabled="isdisabled">提交并生成报告</el-button>
              </div>
            </div>
          </div>
@@ -658,57 +379,32 @@
          <div class="right">
            <template v-if="status1 == 0">
              <div v-for="(item, index) in yichangList" :key="index">
                <div
                  style="
                <div style="
                    text-align: center;
                    background-color: #67c23a;
                    margin-top: 10px;
                  "
                >
                  ">
                  {{ item.proName || "" }}
                </div>
                <template v-if="item.jyjc == '0'">
                  <el-table
                    :stripe="true"
                    :row-style="red"
                    :data="item.sone"
                    border
                    style="width: 100%"
                    :header-cell-style="{ background: '#67C23A' }"
                    :expand-row-keys="expends"
                    :row-key="getRowKeys"
                  >
                  <el-table :stripe="true" :row-style="red" :data="item.sone" border style="width: 100%"
                    :header-cell-style="{ background: '#67C23A' }" :expand-row-keys="expends" :row-key="getRowKeys">
                    <el-table-column type="expand">
                      <template slot-scope="props">
                        <div style="padding: 10px">
                          <!-- 内容区域 -->
                          <div
                            v-if="
                              props.row.advices && props.row.advices.length > 0
                            "
                          >
                            <div
                              v-for="(jianyi, index1) in props.row.advices"
                              :key="index1"
                              style="margin-bottom: 10px"
                            >
                          <div v-if="
                            props.row.advices && props.row.advices.length > 0
                          ">
                            <div v-for="(jianyi, index1) in props.row.advices" :key="index1"
                              style="margin-bottom: 10px">
                              <div>
                                标题:
                                <el-input
                                  v-model="jianyi.bt"
                                  size="small"
                                  type="textarea"
                                  autosize
                                ></el-input>
                                <el-input v-model="jianyi.bt" size="small" type="textarea" autosize></el-input>
                              </div>
                              <div>
                                内容:
                                <el-input
                                  v-model="jianyi.nr"
                                  size="small"
                                  type="textarea"
                                  autosize
                                ></el-input>
                                <el-input v-model="jianyi.nr" size="small" type="textarea" autosize></el-input>
                              </div>
                            </div>
                          </div>
@@ -717,113 +413,55 @@
                          <div v-else>
                            <div>
                              标题:
                              <el-input
                                v-model="emptyAdvice.bt"
                                size="small"
                                type="textarea"
                                autosize
                              ></el-input>
                              <el-input v-model="emptyAdvice.bt" size="small" type="textarea" autosize></el-input>
                            </div>
                            <div>
                              内容:
                              <el-input
                                v-model="emptyAdvice.nr"
                                size="small"
                                type="textarea"
                                autosize
                              ></el-input>
                              <el-input v-model="emptyAdvice.nr" size="small" type="textarea" autosize></el-input>
                            </div>
                          </div>
                          <div style="margin-top: 10px">
                            <el-button
                              @click="shanchu(props.row)"
                              type="danger"
                              size="small"
                              >删除</el-button
                            >
                            <el-button @click="shanchu(props.row)" type="danger" size="small">删除</el-button>
                          </div>
                        </div>
                      </template>
                    </el-table-column>
                    <el-table-column
                      align="center"
                      label="检测项目"
                      :show-overflow-tooltip="true"
                      width="353"
                    >
                    <el-table-column align="center" label="检测项目" :show-overflow-tooltip="true" width="353">
                      <template slot-scope="scope">
                        <div>{{ scope.row.proName }}</div>
                      </template>
                    </el-table-column>
                    <el-table-column
                      align="center"
                      prop="proResult"
                      label="检测结果"
                      width="85"
                    >
                    <el-table-column align="center" prop="proResult" label="检测结果" width="85">
                    </el-table-column>
                    <el-table-column
                      align="center"
                      prop="stanId"
                      label=" 参考范围"
                      width="117"
                    >
                    <el-table-column align="center" prop="stanId" label=" 参考范围" width="117">
                    </el-table-column>
                    <el-table-column
                      align="center"
                      prop="proAdvice"
                      label="单位"
                      width="78"
                    >
                    <el-table-column align="center" prop="proAdvice" label="单位" width="78">
                    </el-table-column>
                  </el-table>
                </template>
                <template v-if="item.jyjc == '1'">
                  <el-table
                    :stripe="true"
                    :row-style="red"
                    :data="item.sone"
                    border
                    style="width: 100%"
                    :header-cell-style="{ background: '#67C23A' }"
                    :expand-row-keys="expends"
                    :row-key="getRowKeys"
                  >
                  <el-table :stripe="true" :row-style="red" :data="item.sone" border style="width: 100%"
                    :header-cell-style="{ background: '#67C23A' }" :expand-row-keys="expends" :row-key="getRowKeys">
                    <el-table-column type="expand">
                      <template slot-scope="props">
                        <div style="padding: 10px">
                          <!-- 内容区域 -->
                          <div
                            v-if="
                              props.row.advices && props.row.advices.length > 0
                            "
                          >
                            <div
                              v-for="(jianyi, index1) in props.row.advices"
                              :key="index1"
                              style="margin-bottom: 10px"
                            >
                          <div v-if="
                            props.row.advices && props.row.advices.length > 0
                          ">
                            <div v-for="(jianyi, index1) in props.row.advices" :key="index1"
                              style="margin-bottom: 10px">
                              <div>
                                标题:
                                <el-input
                                  v-model="jianyi.bt"
                                  size="small"
                                  type="textarea"
                                  autosize
                                ></el-input>
                                <el-input v-model="jianyi.bt" size="small" type="textarea" autosize></el-input>
                              </div>
                              <div>
                                内容:
                                <el-input
                                  v-model="jianyi.nr"
                                  size="small"
                                  type="textarea"
                                  autosize
                                ></el-input>
                                <el-input v-model="jianyi.nr" size="small" type="textarea" autosize></el-input>
                              </div>
                            </div>
                          </div>
@@ -832,52 +470,27 @@
                          <div v-else>
                            <div>
                              标题:
                              <el-input
                                v-model="emptyAdvice.bt"
                                size="small"
                                type="textarea"
                                autosize
                              ></el-input>
                              <el-input v-model="emptyAdvice.bt" size="small" type="textarea" autosize></el-input>
                            </div>
                            <div>
                              内容:
                              <el-input
                                v-model="emptyAdvice.nr"
                                size="small"
                                type="textarea"
                                autosize
                              ></el-input>
                              <el-input v-model="emptyAdvice.nr" size="small" type="textarea" autosize></el-input>
                            </div>
                          </div>
                          <div style="margin-top: 10px">
                            <el-button
                              @click="shanchu(props.row)"
                              type="danger"
                              size="small"
                              >删除</el-button
                            >
                            <el-button @click="shanchu(props.row)" type="danger" size="small">删除</el-button>
                          </div>
                        </div>
                      </template>
                    </el-table-column>
                    <el-table-column
                      align="center"
                      label="检测项目"
                      width="232"
                      :show-overflow-tooltip="true"
                    >
                    <el-table-column align="center" label="检测项目" width="232" :show-overflow-tooltip="true">
                      <template slot-scope="scope">
                        <div>{{ scope.row.proName }}</div>
                      </template>
                    </el-table-column>
                    <el-table-column
                      align="center"
                      prop="proResult"
                      label="检测结果"
                      width="403"
                    >
                    <el-table-column align="center" prop="proResult" label="检测结果" width="403">
                    </el-table-column>
                  </el-table>
                </template>
@@ -885,43 +498,21 @@
            </template>
            <template v-if="status1 == 1">
              <div>
                <div
                  style="
                <div style="
                    text-align: center;
                    background-color: #e6a23c;
                    margin-top: 10px;
                  "
                >
                  ">
                  项目检查情况
                </div>
                <el-table
                  :row-style="redxiangmu"
                  :data="statusList"
                  style="width: 100%"
                  :header-cell-style="{ background: '#e6a23c' }"
                >
                  <el-table-column
                    align="center"
                    label="部门"
                    width="144"
                    prop="deptName"
                  >
                <el-table :row-style="redxiangmu" :data="statusList" style="width: 100%"
                  :header-cell-style="{ background: '#e6a23c' }">
                  <el-table-column align="center" label="部门" width="144" prop="deptName">
                  </el-table-column>
                  <el-table-column
                    align="center"
                    prop="proName"
                    label="项目"
                    width="260"
                  >
                  <el-table-column align="center" prop="proName" label="项目" width="260">
                  </el-table-column>
                  <el-table-column
                    label="状态"
                    align="center"
                    prop="type"
                    :show-overflow-tooltip="true"
                    width="120"
                  >
                  <el-table-column label="状态" align="center" prop="type" :show-overflow-tooltip="true" width="120">
                    <template slot-scope="scope">
                      <span v-if="scope.row.type == '0'">未审核</span>
                      <span v-if="scope.row.type == '1'">已审核</span>
@@ -929,12 +520,42 @@
                      <span v-if="scope.row.type == '3'">延期</span>
                    </template>
                  </el-table-column>
                  <el-table-column
                    label="检查时间"
                    align="center"
                    prop="bcupdateTime"
                    width="160"
                  />
                  <el-table-column label="检查时间" align="center" prop="bcupdateTime" width="160" />
                </el-table>
              </div>
            </template>
            <template v-if="status1 == 2">
              <div>
                <div style="text-align: center; margin-top: 10px;">
                  复查项目
                </div>
                <div style="display: flex;margin:15px ;">
                  <span slot="label" style="display: inline-block; border-bottom: 2px solid blue;font-size: 0.8vw;" @click="handleQuery">
                    项目选择
                  </span>
                  <div v-if="xmChange.length > 0" style="display: flex;">
                    <div style="margin:0 40px;font-size: 0.8vw;">项目名称:{{ xmChange[0].pro_name || "" }}</div>
                    <div style="margin:0 40px ;font-size: 0.8vw;">价格:{{ xmChange[0].price || "" }}</div>
                  </div>
                  <div v-else style="display: flex;">
                    <div style="margin:0 40px;font-size: 0.8vw;">项目名称:{{ }}</div>
                    <div style="margin:0 40px ;font-size: 0.8vw;">价格:{{ }}</div>
                  </div>
                  <el-button type="primary" size="mini" @click="handleaddClick()">添加</el-button>
                </div>
                <el-table :row-style="redxiangmu" :data="fcList" style="width: 100%">
                  <el-table-column align="center" label="序号" width="144" prop="deptName"></el-table-column>
                  <el-table-column label="序号" align="center" prop="pacRemark" />
                  <el-table-column label="名称" align="center" prop="pro_name" width="100px" />
                  <el-table-column label="价格" align="center" prop="price" />
                  <el-table-column label="科室" align="center" prop="dept_name" />
                  <el-table-column label="操作" align="center" width="130px">
                    <template slot-scope="scope">
                      <el-button type="primary" icon="el-icon-share" size="mini" @click="handledeleteClick(scope.row)" style="margin-top: 20px;"
                        title="删除"></el-button>
                    </template>
                  </el-table-column>
                </el-table>
              </div>
            </template>
@@ -944,152 +565,69 @@
      <div class="hist3" v-if="wenzhen">
        <span class="txt">问诊信息</span>
        <el-form
          ref="form"
          :model="formobj"
          label-width="100px"
          :inline="true"
          size="mini"
        >
        <el-form ref="form" :model="formobj" label-width="100px" :inline="true" size="mini">
          <el-collapse class="coll" v-model="activeName" accordion>
            <el-collapse-item
              class="coll"
              title="基本信息"
              name="1"
              style="width: 100%; font-weight: 600"
            >
            <el-collapse-item class="coll" title="基本信息" name="1" style="width: 100%; font-weight: 600">
              <div style="width: 100%">
                <el-form-item label="姓名" prop="cusName">
                  <el-input
                    disabled
                    v-model="formobj.cusName"
                    placeholder="请输入姓名"
                  />
                  <el-input disabled v-model="formobj.cusName" placeholder="请输入姓名" />
                </el-form-item>
                <el-form-item label="职业" prop="work">
                  <el-select
                    filterable
                    v-model="formobj.work"
                    placeholder="请选择职业"
                    clearable
                    style="width: 150px"
                    disabled
                  >
                    <el-option
                      v-for="dict in dict.type.tj_work"
                      :key="dict.value"
                      :label="dict.label"
                      :value="dict.value"
                    />
                  <el-select filterable v-model="formobj.work" placeholder="请选择职业" clearable style="width: 150px"
                    disabled>
                    <el-option v-for="dict in dict.type.tj_work" :key="dict.value" :label="dict.label"
                      :value="dict.value" />
                  </el-select>
                </el-form-item>
                <el-form-item label="工作状态" prop="workStatus">
                  <el-select
                    disabled
                    filterable
                    v-model="formobj.workStatus"
                    placeholder="请选择工作状态"
                    clearable
                    style="width: 150px"
                  >
                    <el-option
                      v-for="dict in dict.type.tj_work_status"
                      :key="dict.value"
                      :label="dict.label"
                      :value="dict.value"
                    />
                  <el-select disabled filterable v-model="formobj.workStatus" placeholder="请选择工作状态" clearable
                    style="width: 150px">
                    <el-option v-for="dict in dict.type.tj_work_status" :key="dict.value" :label="dict.label"
                      :value="dict.value" />
                  </el-select>
                </el-form-item>
                <el-form-item label="接触毒物" prop="contactPoison">
                  <el-input
                    disabled
                    type="textarea"
                    rows="4"
                    v-model="formobj.contactPoison"
                    placeholder="请输入接触毒物"
                    style="width: 700px"
                  />
                  <el-input disabled type="textarea" rows="4" v-model="formobj.contactPoison" placeholder="请输入接触毒物"
                    style="width: 700px" />
                </el-form-item>
                <el-form-item label="既往病史" prop="medicalHistory">
                  <el-input
                    disabled
                    type="textarea"
                    rows="4"
                    v-model="formobj.medicalHistory"
                    placeholder="请输入既往病史"
                    style="width: 700px"
                  />
                  <el-input disabled type="textarea" rows="4" v-model="formobj.medicalHistory" placeholder="请输入既往病史"
                    style="width: 700px" />
                </el-form-item>
              </div>
            </el-collapse-item>
            <el-collapse-item title="月经史" name="2" v-show="sex">
              <div style="width: 100%">
                <el-form-item label="初潮(岁)" prop="chuchao">
                  <el-input
                    v-model="formobj.chuchao"
                    style="width: 70px"
                    disabled
                  />
                  <el-input v-model="formobj.chuchao" style="width: 70px" disabled />
                </el-form-item>
                <el-form-item label="经期" prop="jingqi">
                  <el-input
                    v-model="formobj.jingqi"
                    disabled
                    style="width: 70px"
                  />天
                  <el-input v-model="formobj.jingqi" disabled style="width: 70px" />天
                </el-form-item>
                <el-form-item label="周期" prop="zhouqi">
                  <el-input
                    v-model="formobj.zhouqi"
                    disabled
                    style="width: 70px"
                  />天
                  <el-input v-model="formobj.zhouqi" disabled style="width: 70px" />天
                </el-form-item>
                <el-form-item label="末次月经" prop="mociage">
                  <el-input
                    v-model="formobj.mociage"
                    disabled
                    style="width: 100px"
                  />
                  <el-input v-model="formobj.mociage" disabled style="width: 100px" />
                </el-form-item>
              </div>
            </el-collapse-item>
            <el-collapse-item title="生育史" name="3" v-show="sex">
              <div style="width: 100%">
                <el-form-item label="现有子女(人)" prop="zinv">
                  <el-input
                    v-model="formobj.zinv"
                    style="width: 70px"
                    disabled
                  />
                  <el-input v-model="formobj.zinv" style="width: 70px" disabled />
                </el-form-item>
                <el-form-item label="流产(次)" prop="liuchan">
                  <el-input
                    v-model="formobj.liuchan"
                    style="width: 70px"
                    disabled
                  />
                  <el-input v-model="formobj.liuchan" style="width: 70px" disabled />
                </el-form-item>
                <el-form-item label="早产(次)" prop="zaochan">
                  <el-input
                    v-model="formobj.zaochan"
                    style="width: 70px"
                    disabled
                  />
                  <el-input v-model="formobj.zaochan" style="width: 70px" disabled />
                </el-form-item>
                <el-form-item label="死产(次)" prop="sichan">
                  <el-input
                    v-model="formobj.sichan"
                    style="width: 70px"
                    disabled
                  />
                  <el-input v-model="formobj.sichan" style="width: 70px" disabled />
                </el-form-item>
                <el-form-item label="异常胎(次)" prop="yichangtai">
                  <el-input
                    v-model="formobj.yichangtai"
                    style="width: 70px"
                    disabled
                  />
                  <el-input v-model="formobj.yichangtai" style="width: 70px" disabled />
                </el-form-item>
              </div>
            </el-collapse-item>
@@ -1097,152 +635,72 @@
              <div style="width: 100%">
                <el-form-item label="是否吸烟" prop="xiyan">
                  <!-- <el-input v-model="form.xiyanpinlv" placeholder="请输入吸烟频率" /> -->
                  <el-select
                    disabled
                    filterable
                    v-model="formobj.xiyan"
                    placeholder="请选择是否吸烟"
                    clearable
                    style="width: 150px"
                  >
                    <el-option
                      v-for="dict in dict.type.tj_smoking_pinlv"
                      :key="dict.value"
                      :label="dict.label"
                      :value="dict.value"
                    />
                  <el-select disabled filterable v-model="formobj.xiyan" placeholder="请选择是否吸烟" clearable
                    style="width: 150px">
                    <el-option v-for="dict in dict.type.tj_smoking_pinlv" :key="dict.value" :label="dict.label"
                      :value="dict.value" />
                  </el-select>
                </el-form-item>
                <el-form-item label="吸烟频率" prop="xiyanpinlv">
                  <el-input
                    v-model="formobj.xiyanpinlv"
                    disabled
                    style="width: 70px"
                  />支/天
                  <el-input v-model="formobj.xiyanpinlv" disabled style="width: 70px" />支/天
                </el-form-item>
                <el-form-item label="吸烟时间" prop="xiyanyear">
                  <el-input
                    v-model="formobj.xiyanyear"
                    disabled
                    style="width: 70px"
                  />年 </el-form-item
                ><br />
                  <el-input v-model="formobj.xiyanyear" disabled style="width: 70px" />年 </el-form-item><br />
                <el-form-item label="是否饮酒" prop="yinjiu">
                  <!-- <el-input v-model="form.yinjiupinlv" placeholder="请输入饮酒频率" /> -->
                  <el-select
                    filterable
                    v-model="formobj.yinjiu"
                    disabled
                    placeholder="请选择是否饮酒"
                    clearable
                    style="width: 150px"
                  >
                    <el-option
                      v-for="dict in dict.type.tj_smoking_pinlv"
                      :key="dict.value"
                      :label="dict.label"
                      :value="dict.value"
                    />
                  <el-select filterable v-model="formobj.yinjiu" disabled placeholder="请选择是否饮酒" clearable
                    style="width: 150px">
                    <el-option v-for="dict in dict.type.tj_smoking_pinlv" :key="dict.value" :label="dict.label"
                      :value="dict.value" />
                  </el-select>
                </el-form-item>
                <el-form-item label="饮酒频率" prop="yinjiupinlv">
                  <el-input
                    v-model="formobj.yinjiupinlv"
                    disabled
                    style="width: 70px"
                  />ml/天
                  <el-input v-model="formobj.yinjiupinlv" disabled style="width: 70px" />ml/天
                </el-form-item>
                <el-form-item label="饮酒时间" prop="yinjiuyear">
                  <el-input
                    v-model="formobj.yinjiuyear"
                    disabled
                    style="width: 70px"
                  />年
                  <el-input v-model="formobj.yinjiuyear" disabled style="width: 70px" />年
                </el-form-item>
                <el-form-item label="其他" prop="qita">
                  <el-input
                    v-model="formobj.qita"
                    placeholder="请输入其他"
                    disabled
                    type="textarea"
                    style="width: 600px"
                    rows="2"
                  />
                  <el-input v-model="formobj.qita" placeholder="请输入其他" disabled type="textarea" style="width: 600px"
                    rows="2" />
                </el-form-item>
              </div>
            </el-collapse-item>
            <el-collapse-item title="急慢性职业病史信息" name="5">
              <div style="width: 100%">
                <el-table
                  border
                  :data="formobj.tjAskHistorysList"
                  ref="tjAskHistorys"
                  style="width: 98%"
                >
                <el-table border :data="formobj.tjAskHistorysList" ref="tjAskHistorys" style="width: 98%">
                  <el-table-column type="selection" width="40" align="center" />
                  <el-table-column label="疾病名称" prop="diseaseName">
                    <template slot-scope="scope">
                      <el-input
                        size="mini"
                        disabled
                        v-model="scope.row.diseaseName"
                        placeholder="请输入疾病名称"
                      />
                      <el-input size="mini" disabled v-model="scope.row.diseaseName" placeholder="请输入疾病名称" />
                    </template>
                  </el-table-column>
                  <el-table-column label="诊断日期" prop="diseaseData">
                    <template slot-scope="scope">
                      <el-date-picker
                        size="mini"
                        v-model="scope.row.diseaseData"
                        align="right"
                        type="date"
                        placeholder="选择日期"
                        :picker-options="pickerOptions"
                        style="width: 130px"
                        value-format="yyyy-MM-dd"
                      >
                      <el-date-picker size="mini" v-model="scope.row.diseaseData" align="right" type="date"
                        placeholder="选择日期" :picker-options="pickerOptions" style="width: 130px"
                        value-format="yyyy-MM-dd">
                      </el-date-picker>
                    </template>
                  </el-table-column>
                  <el-table-column label="诊断单位" prop="diseaseCompany">
                    <template slot-scope="scope">
                      <el-input
                        size="mini"
                        disabled
                        v-model="scope.row.diseaseCompany"
                        placeholder="请输入诊断单位"
                      />
                      <el-input size="mini" disabled v-model="scope.row.diseaseCompany" placeholder="请输入诊断单位" />
                    </template>
                  </el-table-column>
                  <el-table-column label="是否痊愈" prop="isOk">
                    <template slot-scope="scope">
                      <!-- <el-input v-model="scope.row.isOk" placeholder="请输入是否痊愈" /> -->
                      <el-select
                        disabled
                        filterable
                        size="mini"
                        v-model="scope.row.isOk"
                        placeholder="请选择是否痊愈"
                        clearable
                      >
                        <el-option
                          v-for="dict in dict.type.sys_yes_no"
                          :key="dict.value"
                          :label="dict.label"
                          :value="dict.value"
                        />
                      <el-select disabled filterable size="mini" v-model="scope.row.isOk" placeholder="请选择是否痊愈"
                        clearable>
                        <el-option v-for="dict in dict.type.sys_yes_no" :key="dict.value" :label="dict.label"
                          :value="dict.value" />
                      </el-select>
                    </template>
                  </el-table-column>
                  <el-table-column label="备注" prop="remark">
                    <template slot-scope="scope">
                      <el-input
                        disabled
                        size="mini"
                        v-model="scope.row.remark"
                        placeholder="请输入备注"
                      />
                      <el-input disabled size="mini" v-model="scope.row.remark" placeholder="请输入备注" />
                    </template>
                  </el-table-column>
                </el-table>
@@ -1255,94 +713,48 @@
                  <el-table-column type="selection" width="40" align="center" />
                  <el-table-column label="开始时间" prop="beginTime">
                    <template slot-scope="scope">
                      <el-date-picker
                        size="mini"
                        v-model="scope.row.beginTime"
                        align="right"
                        type="date"
                        placeholder="选择日期"
                        :picker-options="pickerOptions"
                        style="width: 130px"
                        value-format="yyyy-MM-dd"
                      >
                      <el-date-picker size="mini" v-model="scope.row.beginTime" align="right" type="date"
                        placeholder="选择日期" :picker-options="pickerOptions" style="width: 130px"
                        value-format="yyyy-MM-dd">
                      </el-date-picker>
                    </template>
                  </el-table-column>
                  <el-table-column label="结束时间" prop="endTime">
                    <template slot-scope="scope">
                      <el-date-picker
                        size="mini"
                        disabled
                        v-model="scope.row.endTime"
                        align="right"
                        type="date"
                        placeholder="选择日期"
                        :picker-options="pickerOptions"
                        style="width: 130px"
                        value-format="yyyy-MM-dd"
                      >
                      <el-date-picker size="mini" disabled v-model="scope.row.endTime" align="right" type="date"
                        placeholder="选择日期" :picker-options="pickerOptions" style="width: 130px"
                        value-format="yyyy-MM-dd">
                      </el-date-picker>
                    </template>
                  </el-table-column>
                  <el-table-column label="工作单位" prop="workCompany">
                    <template slot-scope="scope">
                      <el-input
                        size="mini"
                        disabled
                        v-model="scope.row.workCompany"
                        placeholder="请输入工作单位"
                      />
                      <el-input size="mini" disabled v-model="scope.row.workCompany" placeholder="请输入工作单位" />
                    </template>
                  </el-table-column>
                  <el-table-column label="部门" prop="workDept">
                    <template slot-scope="scope">
                      <el-input
                        disabled
                        size="mini"
                        v-model="scope.row.workDept"
                        placeholder="请输入部门"
                      />
                      <el-input disabled size="mini" v-model="scope.row.workDept" placeholder="请输入部门" />
                    </template>
                  </el-table-column>
                  <el-table-column label="工种" prop="workType">
                    <template slot-scope="scope">
                      <el-input
                        disabled
                        size="mini"
                        v-model="scope.row.workType"
                        placeholder="请输入工种"
                      />
                      <el-input disabled size="mini" v-model="scope.row.workType" placeholder="请输入工种" />
                    </template>
                  </el-table-column>
                  <el-table-column label="有害因素" prop="harmTypeLogs">
                    <template slot-scope="scope">
                      <!-- <el-input v-model="scope.row.isOk" placeholder="请输入是否痊愈" /> -->
                      <el-select
                        filterable
                        disabled
                        size="mini"
                        v-model="scope.row.harmTypeLogs"
                        multiple
                        placeholder="请选择有害因素"
                        clearable
                      >
                        <el-option
                          v-for="dict in harmTypeList"
                          :key="dict.aid"
                          :label="dict.harmtype"
                          :value="dict.aid"
                        />
                      <el-select filterable disabled size="mini" v-model="scope.row.harmTypeLogs" multiple
                        placeholder="请选择有害因素" clearable>
                        <el-option v-for="dict in harmTypeList" :key="dict.aid" :label="dict.harmtype"
                          :value="dict.aid" />
                      </el-select>
                    </template>
                  </el-table-column>
                  <el-table-column label="防护措施" prop="fangHu">
                    <template slot-scope="scope">
                      <el-input
                        disabled
                        size="mini"
                        v-model="scope.row.fangHu"
                        placeholder="请输入防护措施"
                      />
                      <el-input disabled size="mini" v-model="scope.row.fangHu" placeholder="请输入防护措施" />
                    </template>
                  </el-table-column>
                </el-table>
@@ -1353,51 +765,38 @@
      </div>
    </el-drawer>
    <el-dialog
      title="PDF 预览"
      :visible.sync="dialogVisible"
      :close-on-click-modal="false"
      width="50%"
    >
      <div class="main">
        <iframe
          id="printIframe"
          :src="url"
          frameborder="0"
          style="width: 100%; height: 100%"
        ></iframe>
    <el-dialog :visible.sync="xmopen" width="800px" append-to-body>
      <el-table :data="datasList" ref="elTable" v-loading="loading" @selection-change="handlexmChange" border
        height="320px">
        <el-table-column type="selection" width="40" align="center" />
        <el-table-column label="序号" align="center" prop="pacRemark" />
        <el-table-column label="名称" align="center" prop="pro_name" width="100px" />
        <el-table-column label="价格" align="center" prop="price" />
        <el-table-column label="科室" align="center" prop="dept_name" />
      </el-table>
      <div slot="footer" class="dialog-footer">
        <el-button type="primary" @click="submitFormxm">确 定</el-button>
        <el-button @click="cancels">取 消</el-button>
      </div>
    </el-dialog>
    <el-dialog
      title="提示"
      :visible.sync="jianqians"
      width="1000px"
      :before-close="handleClose1"
    >
      <jianqianwenzhen
        :jianqianwenzhendata="jianqianwenzhendata"
        v-if="flags"
      ></jianqianwenzhen>
    <el-dialog title="PDF 预览" :visible.sync="dialogVisible" :close-on-click-modal="false" width="50%">
      <div class="main">
        <iframe id="printIframe" :src="url" frameborder="0" style="width: 100%; height: 100%"></iframe>
      </div>
    </el-dialog>
    <el-dialog title="提示" :visible.sync="jianqians" width="1000px" :before-close="handleClose1">
      <jianqianwenzhen :jianqianwenzhendata="jianqianwenzhendata" v-if="flags"></jianqianwenzhen>
      <span slot="footer" class="dialog-footer">
        <el-button @click="jianqians = false">取 消</el-button>
      </span>
    </el-dialog>
    <Packages ref="bbb" :baogao="baogao" />
    <Prescription ref="Pre" :preObj="preObj" />
    <proposal
      ref="proposal"
      :cusobj="cusobj"
      :tjNumber="tjNumber"
      @event1="eventchange($event)"
    />
    <proposal ref="proposal" :cusobj="cusobj" :tjNumber="tjNumber" @event1="eventchange($event)" />
    <createproposal ref="createproposal" :creatobj="creatobj" />
    <el-dialog
      title="常用建议维护"
      :visible.sync="propdialog"
      width="500px"
      append-to-body
    >
    <el-dialog title="常用建议维护" :visible.sync="propdialog" width="500px" append-to-body>
    </el-dialog>
  </div>
</template>
@@ -1422,6 +821,7 @@
  getModified,
  isPdfOrJimu,
  addOrder,
  getFcList
} from "@/api/doctor/checkAll";
import { getInfoById } from "@/api/hosp/history";
import { getInfo } from "@/api/login";
@@ -1472,6 +872,9 @@
      preObj: {},
      baogao: [],
      flags: false,
      xmopen: false,
      datasList: [],
      jianqianwenzhendata: [],
      jianqians: false,
      sex: true,
@@ -1569,6 +972,7 @@
      // 查询参数
      yichangList: [],
      statusList: [],
      xmChange: [],
      queryParam: {
        pageNum: 1,
        pageSize: 10,
@@ -1755,6 +1159,62 @@
          _this.$message.msgSuccess("暂无项目情况");
        }
      });
    },
    fuchaxiangmu() {
      this.status1 = 2;
      let data = {
        tjNum: this.tjNumber,
        type: 1
      }
      getFcList(data).then(res => {
        this.fcList = res.data
      })
    },
    handleQuery() {
      this.xmopen = true
      let data = {
        tjNum: this.tjNumber,
        type: 0
      }
      getFcList(data).then(res => {
        this.datasList = res.data
      })
    },
    handleaddClick() {
      console.log(this.xmChange)
      let data = {
        orderId: this.xmChange[0].order_id,
        data: [{
          proId: this.xmChange[0].pro_id,
          type: 1
        }]
      }
      UpdFcPro(data).then(res => {
      })
    },
    handledeleteClick() {
    },
    handlexmChange(selection) {
      this.xmChange = []
      this.xmChange = selection
      if (selection.length > 1) {
        let del_row = selection.shift();
        this.$refs.elTable.toggleRowSelection(del_row, false); //设置这一行取消选中
      }
    },
    submitFormxm() {
      this.xmopen = false
    },
    cancels() {
      this.xmopen = false
      this.xmChange = []
    },
    guanbi() {
      this.drawer = false;
@@ -2505,7 +1965,7 @@
              state: 1,
              id: this.MsgId,
            };
            getfiedState(data).then((res) => {});
            getfiedState(data).then((res) => { });
            this.submitForm();
          });
      } else {
@@ -2537,7 +1997,7 @@
    //     });
    //   }
    // },
    change(vale) {},
    change(vale) { },
    // determine() {
    //   let tjNumber = this.tableAll.tjNumber;
@@ -2813,38 +2273,38 @@
}
/* 每个按钮的位置和动画延迟 */
.btnbox > div:nth-child(1) {
.btnbox>div:nth-child(1) {
  top: 20%;
  /* 第一个按钮的位置 */
  animation-delay: 0s;
  /* 无延迟 */
}
.btnbox > div:nth-child(2) {
.btnbox>div:nth-child(2) {
  top: 30%;
  /* 第二个按钮的位置 */
  animation-delay: 0.2s;
}
.btnbox > div:nth-child(3) {
.btnbox>div:nth-child(3) {
  top: 40%;
  /* 第三个按钮的位置 */
  animation-delay: 0.4s;
}
.btnbox > div:nth-child(4) {
.btnbox>div:nth-child(4) {
  top: 50%;
  /* 第四个按钮的位置 */
  animation-delay: 0.6s;
}
.btnbox > div:nth-child(5) {
.btnbox>div:nth-child(5) {
  top: 60%;
  /* 第五个按钮的位置 */
  animation-delay: 0.8s;
}
.btnbox > div:nth-child(6) {
.btnbox>div:nth-child(6) {
  top: 70%;
  /* 第六个按钮的位置 */
  animation-delay: 1s;
src/views/doctor/examination/index.vue
@@ -328,6 +328,7 @@
                size="mini"
                type="text"
                @click="yijian(scope.row)"
                 v-if="yijiantype == N"
                >已检</el-button
              >
              <el-button
@@ -441,6 +442,7 @@
      loading: true,
      selectedTjNumber: "",
      drawer: false,
      yijiantype: null,
      type: null,
      CompanyList: [],
      CheckBox: {},
@@ -766,6 +768,10 @@
        this.type = res.data;
      });
      getConfigKey("sfyccsyjan").then((res) => {
        this.yijiantype = res.msg;
      });
      cSWebGetPro(tjNumber).then((res) => {
        this.xiangmuList = res.data;
        this.xiangmuList.forEach((item) => {
src/views/hosp/history/index.vue
@@ -133,6 +133,7 @@
              :page.sync="queryParams.pageNum"
              :limit.sync="queryParams.pageSize"
              @pagination="getList"
              small
            />
          </div>
        </div>
@@ -451,12 +452,12 @@
</script>
<style lang="scss" scoped >
.pagi {
  margin-right: -10px;
  margin-right: 30px;
}
/* .pag1 {
  width: 30%;
} */
/* .pagi1 {
  width: 8%;
}  */
.hist1 {
  width: 1580px;
  display: flex;
src/views/login.vue
@@ -233,7 +233,6 @@
                }
              }
              this.$router.push({ path: this.redirect || "/" }).catch(() => { });
              console.log(11115555)
              location.reload();
            }
src/views/system/comp/index.vue
@@ -1236,8 +1236,8 @@
        >
          <el-form-item label="单位类型" prop="isZybUnit">
            <el-radio-group v-model="form.isZybUnit">
              <el-radio :label="false">普通单位</el-radio>
              <el-radio :label="true">职业病单位</el-radio>
              <el-radio :label="0">普通单位</el-radio>
              <el-radio :label="1">职业病单位</el-radio>
            </el-radio-group>
          </el-form-item>
          <el-form-item
@@ -1476,7 +1476,7 @@
      id: "",
      // 表单参数
      form: {
        isZybUnit: false,
        isZybUnit: 0,
      },
      lastXianPrice: 0,
      forms: {
@@ -1555,6 +1555,7 @@
      return this.sfzs === "Y";
    },
  },
  created() {
    this.getList();
  },
@@ -1718,6 +1719,7 @@
        validTime: null,
        wbm: null,
        deleted: null,
        isZybUnit: 0
      };
      this.resetForm("form");
    },
@@ -1777,6 +1779,7 @@
    /** 新增按钮操作 */
    handleAdd() {
      this.reset();
      this.form.isZybUnit = 0;
      this.open = true;
      this.title = "添加体检单位信息维护";
    },
@@ -1785,7 +1788,10 @@
      this.reset();
      const drugManufacturerId = row.drugManufacturerId || this.ids;
      getComp(drugManufacturerId).then((response) => {
        this.form = response.data;
        // 不要直接赋值整个 response.data,而是逐个属性赋值
        Object.assign(this.form, response.data);
        this.form.isZybUnit = response.data.isZybUnit === true ? 1 : 0;
        console.log('修改时的 isZybUnit 值:', this.form.isZybUnit);
        this.open = true;
        this.title = "修改体检单位信息维护";
      });
@@ -1823,7 +1829,6 @@
              new Big(0)
            ).toNumber();
          });
          // ----------------------------------------------------------
        })
        .catch(() => {
          this.youhui = oldValue;
@@ -2423,19 +2428,19 @@
    submitForm() {
      this.$refs["form"].validate((valid) => {
        if (valid) {
          const submitData = {
            ...this.form,
            isZybUnit: Boolean(this.form.isZybUnit)  // 转换为布尔值
          };
          if (this.form.drugManufacturerId != null) {
            updateComp(this.form).then((response) => {
            updateComp(submitData).then((response) => {
              this.$modal.msgSuccess("修改成功");
              this.open = false;
              this.getList();
            });
          } else {
            if (
              this.form.cnName &&
              this.form.contactPerson &&
              this.form.contactPhone
            ) {
              addComp(this.form).then((response) => {
            if (this.form.cnName && this.form.contactPerson && this.form.contactPhone) {
              addComp(submitData).then((response) => {
                this.$modal.msgSuccess("新增成功");
                this.open = false;
                this.getList();