wwl
2025-02-15 5b4e348267b5541d54fffcc75c7b307ad514a692
20250215
13个文件已修改
1个文件已添加
1个文件已删除
1771 ■■■■■ 已修改文件
.env.development 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
.env.production 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
34567.rar 补丁 | 查看 | 原始文档 | blame | 历史
src/api/doctor/check.js 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/api/system/tijian.js 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/router/index.js 22 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/utils/request.js 20 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/utils/request123.js 168 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/doctor/check/index.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/doctor/checkAll/index.vue 1250 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/index.vue 72 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/login.vue 33 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/comp/index.vue 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/package/index.vue 169 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/tijian/index.vue 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
.env.development
@@ -6,6 +6,7 @@
# 若依管理系统/开发环境
VUE_APP_BASE_API = '/dev-api'
VUE_APP_ENV ='development'
# 路由懒加载
VUE_CLI_BABEL_TRANSPILE_MODULES = true
.env.production
@@ -4,5 +4,7 @@
# 生产环境配置
ENV = 'production'
VUE_APP_ENV ='production'
# 若依管理系统/生产环境
VUE_APP_BASE_API = '/prod-api'
34567.rar
Binary files differ
src/api/doctor/check.js
@@ -27,6 +27,13 @@
    params:query
  })
}
export function shanchu(query) {
  return request({
    url: '/check/delzongjianyishengchakanyichangxiangmu',
    method: 'get',
    params:query
  })
}
// 体检科室列表显示接口
export function yingXiangGetProList(query) {
  return request({
src/api/system/tijian.js
@@ -1,6 +1,11 @@
import request from "@/utils/request";
// import request1 from "@/utils/request1";
// 为体检页面的所有接口添加 useConfirmBox 标记
const headers = {
  useConfirmBox: true
}
// 查询体检套餐列表
export function deptTreeSelect(cusSex) {
  return request({
@@ -86,6 +91,7 @@
    params: {
      cusIdcard: cusIdcard,
    },
    headers
  });
}
@@ -150,6 +156,7 @@
    params: {
      cusId: cusId,
    },
    headers
  });
}
// 登记成功后生成导诊单
src/router/index.js
@@ -1,6 +1,6 @@
import Vue from 'vue'
import Router from 'vue-router'
import Cookies from "js-cookie";
Vue.use(Router)
/* Layout */
@@ -405,8 +405,26 @@
  return routerPush.call(this, location).catch(err => err)
}
export default new Router({
const router = new Router({
  mode: 'history', // 去掉url中的#
  scrollBehavior: () => ({ y: 0 }),
  routes: constantRoutes
})
router.beforeEach((to, from, next) => {
  if (from.path === '/login') {
    // 获取当前环境
    const env = process.env.VUE_APP_ENV
    // 生产环境处理
    if (env === 'production') {
      // 防止用户通过地址栏直接输入URL访问
      if (from.name === null && to.path !== window.location.pathname) {
        next(false)
        return
      }
    }
  }
  next()
})
export default router
src/utils/request.js
@@ -62,6 +62,12 @@
  Promise.reject(error)
})
// 需要确认框的接口路径
const confirmDialogUrls = [
  '/hosp/order/addtTransition',
  '/hosp/customer/cusIdcard'
];
// 响应拦截器
service.interceptors.response.use(res => {
  const code = res.data.code || 200;
@@ -87,17 +93,13 @@
    }
    return Promise.reject('无效的会话,或者会话已过期,请重新登录。')
  } else if (code === 500) {
    if (res.config.url === '/hosp/order/addtTransition') {
    if (confirmDialogUrls.includes(res.config.url)) {
      // 使用MessageBox和Message来替代this.$confirm和this.$message
      MessageBox.confirm(res.data.msg, '提示', {
      MessageBox.confirm(res.data.msg, {
        confirmButtonText: '确定',
        cancelButtonText: '取消',
        type: 'warning',
        center: true
      }).then(() => {
      }).catch(() => {
        type: 'error',
        showCancelButton: false,
        closeOnClickModal: false
      });
      return Promise.reject('特定接口发生500错误');
    }
src/utils/request123.js
New file
@@ -0,0 +1,168 @@
import axios from 'axios'
import { Notification, MessageBox, Message, Loading } from 'element-ui'
import store from '@/store'
import { getToken } from '@/utils/auth'
import errorCode from '@/utils/errorCode'
import { tansParams, blobValidate } from "@/utils/ruoyi";
import cache from '@/plugins/cache'
import { saveAs } from 'file-saver'
import Cookies from "js-cookie"
let downloadLoadingInstance;
// 是否显示重新登录
export let isRelogin = { show: false };
axios.defaults.headers['Content-Type'] = 'application/json;charset=utf-8'
// 创建axios实例
const service = axios.create({
  // axios中请求配置有baseURL选项,表示请求URL公共部分
  baseURL: process.env.VUE_APP_BASE_API,
  // 超时
  // timeout: 20000
})
// request拦截器
service.interceptors.request.use(config => {
  const isToken = (config.headers || {}).isToken === false
  const isRepeatSubmit = (config.headers || {}).repeatSubmit === false
  if (getToken() && !isToken) {
    config.headers['Authorization'] = 'Bearer ' + getToken()
    config.headers['hospId'] = Cookies.get("hospId");
  }
  if (config.method === 'get' && config.params) {
    let url = config.url + '?' + tansParams(config.params);
    url = url.slice(0, -1);
    config.params = {};
    config.url = url;
  }
  if (!isRepeatSubmit && (config.method === 'post' || config.method === 'put')) {
    const requestObj = {
      url: config.url,
      data: typeof config.data === 'object' ? JSON.stringify(config.data) : config.data,
      time: new Date().getTime()
    }
    const sessionObj = cache.session.getJSON('sessionObj')
    if (!sessionObj || sessionObj === '') {
      cache.session.setJSON('sessionObj', requestObj)
    } else {
      const s_url = sessionObj.url;
      const s_data = sessionObj.data;
      const s_time = sessionObj.time;
      const interval = 1000;
      if (s_data === requestObj.data && requestObj.time - s_time < interval && s_url === requestObj.url) {
        return Promise.reject()
      } else {
        cache.session.setJSON('sessionObj', requestObj)
      }
    }
  }
  return config
}, error => {
  Promise.reject(error)
})
// 定义需要使用确认框的接口路径列表
const confirmBoxUrls = [
  // customer相关接口
  'hosp/customer/cusIdcard',
];
// 响应拦截器
service.interceptors.response.use(
  response => {
    const res = response.data;
    if (response.config.responseType === 'blob') {
      return response;
    }
    if (res.code !== 200) {
      // 检查当前请求的URL是否在需要确认框的列表中
      const needConfirmBox = confirmBoxUrls.some(url => response.config.url.includes(url));
      console.log(needConfirmBox);
      if (needConfirmBox) {
        MessageBox.confirm(res.msg || '系统错误', '错误', {
          confirmButtonText: '确定',
          type: 'error',
          showCancelButton: false,
          closeOnClickModal: false
        }).then(() => {
          if (res.code === 401) {
            store.dispatch('LogOut').then(() => {
              location.href = '/index';
            });
          }
        });
      } else {
        if (res.code === 401) {
          store.dispatch('LogOut').then(() => {
            location.href = '/index';
          });
        }
      }
      return Promise.reject(res);
    } else {
      return res;
    }
  },
  error => {
    let { message } = error;
    if (message == "Network Error") {
      message = "后端接口连接异常";
    } else if (message.includes("timeout")) {
      message = "系统接口请求超时";
    } else if (message.includes("Request failed with status code")) {
      message = "系统接口" + message.substr(message.length - 3) + "异常";
    }
    // 检查当前请求的URL是否在需要确认框的列表中
    const needConfirmBox = confirmBoxUrls.some(url => error.config.url.includes(url));
    if (needConfirmBox) {
      MessageBox.confirm(message || '系统错误', '错误', {
        confirmButtonText: '确定',
        type: 'error',
        showCancelButton: false,
        closeOnClickModal: false
      });
    } else {
      Message({
        message: message,
        type: 'error',
        duration: 5 * 1000
      });
    }
    return Promise.reject(error);
  }
);
// 通用下载方法
export function download(url, params, filename, config) {
  downloadLoadingInstance = Loading.service({ text: "正在下载数据,请稍候", spinner: "el-icon-loading", background: "rgba(0, 0, 0, 0.7)", })
  return service.post(url, params, {
    transformRequest: [(params) => { return tansParams(params) }],
    headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
    responseType: 'blob',
    ...config
  }).then(async (data) => {
    const isLogin = await blobValidate(data);
    if (isLogin) {
      const blob = new Blob([data])
      saveAs(blob, filename)
    } else {
      const resText = await data.text();
      const rspObj = JSON.parse(resText);
      const errMsg = errorCode[rspObj.code] || rspObj.msg || errorCode['default']
      Message.error(errMsg);
    }
    downloadLoadingInstance.close();
  }).catch((r) => {
    console.error(r)
    Message.error('下载文件出现错误,请联系管理员!')
    downloadLoadingInstance.close();
  })
}
export default service
src/views/doctor/check/index.vue
@@ -592,7 +592,7 @@
                        autosize
                        v-model="scope.row.conclusion"
                        autocomplete="off"
                        placeholder="请输入检测结果"
                        placeholder="输入结论"
                        disabled
                      ></el-input>
                    </template>
@@ -634,7 +634,7 @@
                            type="textarea"
                            autosize
                            v-model="scope.row.proAdvice"
                            placeholder="请输入结果建议"
                            placeholder="输入建议"
                            :disabled="true"
                          ></el-input>
                        </div>
@@ -814,7 +814,7 @@
                        size="mini"
                        v-model="scope.row.proResult"
                        autocomplete="off"
                        placeholder="请输入检测结果"
                        placeholder="输入结论"
                        @focus="handleFocus(scope.row)"
                        @blur="handleInputConfirm(scope.row)"
                        @input="vale"
@@ -891,7 +891,7 @@
                            type="textarea"
                            autosize
                            v-model="scope.row.proAdvice"
                            placeholder="请输入结果建议"
                            placeholder="输入建议"
                            :disabled="true"
                          ></el-input>
                        </div>
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,133 +59,62 @@
          :show-overflow-tooltip="true"
          width="110px"
        /> -->
        <el-table-column
          label="审核时间"
          align="center"
          prop="shsj"
          :show-overflow-tooltip="true"
          width="180px"
        />
        <el-table-column
          label="完成时间"
          align="center"
          prop="finishTime"
          :show-overflow-tooltip="true"
          width="160px"
        />
        <el-table-column
          label="状态"
          align="center"
          prop="tjStatus"
          :show-overflow-tooltip="true"
          width="120px"
        >
        <el-table-column label="审核时间" align="center" prop="shsj" :show-overflow-tooltip="true" width="180px" />
        <el-table-column label="完成时间" align="center" prop="finishTime" :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="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="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 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>
    <!-- 点击弹出框 -->
    <el-drawer
      custom-class="tanchu"
      :visible.sync="drawer"
      :before-close="handleClose"
      :with-header="false"
      size="100%"
      show-close="true"
    >
    <el-drawer custom-class="tanchu" :visible.sync="drawer" :before-close="handleClose" :with-header="false" size="100%"
      show-close="true">
      <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>
@@ -297,13 +134,11 @@
              }}
            </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>
@@ -328,71 +163,42 @@
          </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>
      <div class="box">
        <div
          class="left"
          style="
            font-size: 14px;
            width: 1100px;
            margin-left: 10px;
            padding: 0 0 50px;
          "
        >
        <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">
@@ -402,12 +208,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">
@@ -422,65 +223,43 @@
                </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="border: 1px solid #dfe6ec; border-collapse: collapse"
                    colspan="2"
                  >
                    <td style="border: 1px solid #dfe6ec; border-collapse: collapse" 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="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%"
                    >
                    <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%">
                    </el-input>
                    <!-- <textarea
                      placeholder="请输入内容"
@@ -496,27 +275,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="请输入内容"
@@ -526,29 +294,16 @@
                    ></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="border: 1px solid #dfe6ec; border-collapse: collapse"
                    colspan="2"
                  >
                    <el-input
                      type="textarea"
                      autosize
                      placeholder="请输入内容"
                      v-model="item.remark"
                      style="width: 100%"
                    >
                    <td style="border: 1px solid #dfe6ec; border-collapse: collapse" colspan="2">
                      <el-input type="textarea" autosize placeholder="请输入内容" v-model="item.remark" style="width: 100%">
                    </el-input>
                    <!-- <textarea
      
@@ -558,26 +313,19 @@
                    ></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="border: 1px solid #dfe6ec; border-collapse: collapse"
                    colspan="2"
                  >
                    <td style="border: 1px solid #dfe6ec; border-collapse: collapse" colspan="2">
                    {{ item.doctorName }}
                  </td>
                </tr>
@@ -587,102 +335,53 @@
          <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="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>
        </div>
        <div class="rightbox">
          <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>
                          <div
                            v-if="
                              props.row.advices && props.row.advices.length > 0
                            "
                          >
                            <div
                              v-for="(jianyi, index1) in props.row.advices"
                              :key="index1"
                              style="padding: 0 10px; margin-bottom: 10px"
                            >
                        <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>
                                标题:
                                <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>
@@ -691,112 +390,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>
                          </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-column
      fixed="right"
      label="操作"
      width="100">
      <template slot-scope="scope">
        <el-button @click="handleClick(scope.row)"  type="danger" size="small">删除</el-button>
      </template>
    </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>
                          <!-- 如果 advices 非空,渲染其内容 -->
                          <div
                            v-if="
                              props.row.advices && props.row.advices.length > 0
                            "
                          >
                            <div
                              v-for="(jianyi, index1) in props.row.advices"
                              :key="index1"
                              style="padding: 0 10px; margin-bottom: 10px"
                            >
                        <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>
                                标题:
                                <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>
@@ -805,43 +447,28 @@
                          <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>
                          </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>
@@ -849,43 +476,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>
@@ -893,12 +498,7 @@
                      <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>
@@ -908,152 +508,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>
@@ -1061,152 +578,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>
@@ -1219,94 +656,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>
@@ -1317,31 +708,13 @@
      </div>
    </el-drawer>
    <el-dialog
      class="dia"
      title="PDF 预览"
      :visible.sync="dialogVisible"
      :close-on-click-modal="false"
    >
    <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>
        <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>
    <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>
@@ -1351,12 +724,7 @@
    <proposal ref="proposal" :cusobj="cusobj" @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>
@@ -1385,7 +753,7 @@
import { getInfoById } from "@/api/hosp/history";
import { getInfo } from "@/api/login";
import { getCompany, queryCompany } from "@/api/team/tuanti";
import { reportHistory, yichang } from "@/api/doctor/check";
import { reportHistory, yichang, shanchu } from "@/api/doctor/check";
import { getPdf, revoke } from "@/api/hosp/order";
import { cSWebGetPro } from "@/api/doctor/examination";
import ViewPdf from "@/components/ViewPdf";
@@ -1572,6 +940,39 @@
    });
  },
  methods: {
    shanchu(row) {
      shanchu({
        id: row.orderDetailId,
      }).then((res) => {
        console.log(res);
        // 找到要删除项所在的父级数组
        const parentItem = this.yichangList.find(item =>
          item.sone.some(soneItem => soneItem.proId === row.proId)
        );
        if (parentItem) {
          // 从父级的 sone 数组中删除该项
          const index = parentItem.sone.findIndex(item => item.proId === row.proId);
          if (index > -1) {
            parentItem.sone.splice(index, 1);
            // 如果删除后 sone 数组为空,则删除整个父级项
            if (parentItem.sone.length === 0) {
              const parentIndex = this.yichangList.indexOf(parentItem);
              if (parentIndex > -1) {
                this.yichangList.splice(parentIndex, 1);
              }
            }
            // 更新 expends 数组
            this.getExpends();
            this.$message.success('删除成功');
          }
        }
      })
    },
    getConfigKey() {
      getconfigKey("sfkqtwbg").then((res) => {
        this.msgtuwen = res.msg;
@@ -1743,7 +1144,10 @@
              setTimeout(() => {
                loading.close();
              }, 3000);
              this.$message.msgSuccess("报告正在生成,请两分钟后预览!");
              this.$message({
                message: "报告正在生成,请两分钟后预览!",
                type: "error"
              });
            } else {
              this.dialogVisible = true;
@@ -2605,25 +2009,33 @@
.mainbox {
  position: relative;
}
.btn {
  margin: 20px 0px;
}
.btnbox {
  display: flex;
  flex-direction: column;
  gap: 10px; /* 按钮之间的间距 */
  position: fixed; /* 使整个按钮区域固定在页面 */
  right: 0; /* 固定在页面右侧 */
  top: 20%; /* 初始位置 */
  gap: 10px;
  /* 按钮之间的间距 */
  position: fixed;
  /* 使整个按钮区域固定在页面 */
  right: 0;
  /* 固定在页面右侧 */
  top: 20%;
  /* 初始位置 */
  z-index: 10;
}
/* 每个按钮的样式 */
.btn1 {
  animation: fadeInUp 0.5s ease-out forwards; /* 按钮加载时的淡入动画 */
  animation: fadeInUp 0.5s ease-out forwards;
  /* 按钮加载时的淡入动画 */
  cursor: pointer;
  text-align: center;
}
.vertical-text {
  writing-mode: vertical-rl;
  text-orientation: upright;
@@ -2633,86 +2045,97 @@
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.5); /* 初始状态:透明且缩小 */
    transform: translateY(20px) scale(0.5);
    /* 初始状态:透明且缩小 */
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1); /* 最终状态:完全显示且正常大小 */
    transform: translateY(0) scale(1);
    /* 最终状态:完全显示且正常大小 */
  }
}
/* 每个按钮的位置和动画延迟 */
.btnbox > div:nth-child(1) {
  top: 20%; /* 第一个按钮的位置 */
  animation-delay: 0s; /* 无延迟 */
  top: 20%;
  /* 第一个按钮的位置 */
  animation-delay: 0s;
  /* 无延迟 */
}
.btnbox > div:nth-child(2) {
  top: 30%; /* 第二个按钮的位置 */
  top: 30%;
  /* 第二个按钮的位置 */
  animation-delay: 0.2s;
}
.btnbox > div:nth-child(3) {
  top: 40%; /* 第三个按钮的位置 */
  top: 40%;
  /* 第三个按钮的位置 */
  animation-delay: 0.4s;
}
.btnbox > div:nth-child(4) {
  top: 50%; /* 第四个按钮的位置 */
  top: 50%;
  /* 第四个按钮的位置 */
  animation-delay: 0.6s;
}
.btnbox > div:nth-child(5) {
  top: 60%; /* 第五个按钮的位置 */
  top: 60%;
  /* 第五个按钮的位置 */
  animation-delay: 0.8s;
}
.btnbox > div:nth-child(6) {
  top: 70%; /* 第六个按钮的位置 */
  top: 70%;
  /* 第六个按钮的位置 */
  animation-delay: 1s;
}
.main {
  height: 800px;
  overflow: hidden;
  height: 80vh; // 改为使用视窗高度
  min-height: 600px; // 设置最小高度
  overflow: auto; // 改为auto允许滚动
}
#printIframe::-webkit-scrollbar {
// 优化滚动条样式
.main::-webkit-scrollbar {
  width: 6px;
}
/* 修改 滚动条的 下面 的 样式 */
#printIframe::-webkit-scrollbar-track {
.main::-webkit-scrollbar-track {
  background-color: white;
  -webkit-border-radius: 2em;
  -moz-border-radius: 2em;
  border-radius: 2em;
}
/* 修改 滑块 */
#printIframe::-webkit-scrollbar-thumb {
.main::-webkit-scrollbar-thumb {
  background-color: #dcdfe6;
  -webkit-border-radius: 2em;
  -moz-border-radius: 2em;
  border-radius: 2em;
}
::v-deep .el-dialog {
  width: 1700px;
  height: 900px;
  margin-top: 5vh !important; // 调整对话框位置
}
::v-deep .el-dialog__header {
  padding: 8px;
}
::v-deep .el-dialog__body {
  padding: 0;
}
::v-deep .el-button--medium {
  padding: 10px;
}
::v-deep .el-dialog__headerbtn {
  // position: relative;
  top: 13px;
}
/* .el-dialog {
  width: 1264px;
  height: 800px;
@@ -2746,9 +2169,11 @@
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000; /* 确保按钮层级在其他内容上方 */
  z-index: 1000;
  /* 确保按钮层级在其他内容上方 */
  width: 300px;
  background-color: white; /* 可根据需要调整背景颜色 */
  background-color: white;
  /* 可根据需要调整背景颜色 */
}
/* 确保按钮之间有合适的间距 */
@@ -2761,30 +2186,66 @@
  border: none;
  outline: none;
}
.box {
  display: flex;
  height: calc(100vh - 200px);
  margin-top: 20px;
  overflow: hidden;
}
  // height: 100vh;
.left-container {
  flex: 1;
  margin-right: 10px;
  overflow: hidden;
}
.left {
  height: 100%;
  padding: 0 10px;
  overflow-y: scroll; // 改为 scroll 而不是 auto
  &::-webkit-scrollbar {
    width: 8px; // 增加宽度使其更容易看见
    background-color: #f5f5f5;
    display: block; // 确保显示
  }
  &::-webkit-scrollbar-thumb {
    background: #909399;
    border-radius: 4px;
  }
  &::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 4px;
  }
}
.rightbox {
  // margin-left: 60px;
  // position: fixed;
  // top: 107px;
  // right: 56px;
  width: 684px;
  position: fixed; /* 固定定位 */
  right: 60px;
  width: 700px;
  overflow: hidden;
}
  .right {
    background-color: #fff;
    // box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 10;
    max-height: 900px;
    height: calc(100vh - 100px);
    /* 假设你想为顶部和底部留出一些空间 */
    overflow-y: auto !important; /* 允许垂直滚动 */
    padding: 0 0 50px; /* 可选:添加一些内边距以避免内容紧贴边缘 */
    padding-bottom: 200px;
  height: 100%;
  padding: 0 10px;
  overflow-y: scroll; // 改为 scroll 而不是 auto
  &::-webkit-scrollbar {
    width: 8px; // 增加宽度
    background-color: #f5f5f5;
    display: block; // 确保显示
  }
  &::-webkit-scrollbar-thumb {
    background: #909399;
    border-radius: 4px;
  }
  &::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 4px;
  }
}
@@ -2795,6 +2256,7 @@
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  .el-icon-close {
    cursor: pointer;
    font-size: 30px;
@@ -2804,18 +2266,20 @@
    color: rgb(24, 144, 255);
  }
}
.kong {
  box-shadow: none;
}
::v-deep .el-table--medium .el-table__cell {
  padding: 5px 0;
}
::-webkit-scrollbar {
  display: none;
}
::v-deep .el-drawer {
  padding: 0 0 50px;
}
</style>
src/views/index.vue
@@ -92,34 +92,49 @@
 
    getList() {
      this.loading = true;
      // 查询今日登记
      getCustomer().then((response) => {
        this.Customer = response
        this.loading = false;
      });
      // 查询今日已检
      getOrder().then((response) => {
        this.Order = response
        this.loading = false;
      });
      // 查询今日报告
      getReportToday().then((response) => {
        this.ReportToday = response
        this.loading = false;
      });
      // 查询今日待检
      getTobeToday().then((response) => {
        this.TobeToday = response
        this.loading = false;
      });
      // 折线图
      getChart().then((response) => {
        response.data.forEach(item => {
          this.LineChart.push(item.date)
          this.reportNum.push(item.tdcoun);
          this.personYYNum.push(item.grcoun);
          this.teamYYNum.push(item.bgcoun);
      // 修改API调用的错误处理
      getCustomer().then((response) => {
        this.Customer = response || 0;  // 添加默认值
      }).catch(error => {
        console.error('获取今日登记数据失败:', error);
        this.Customer = 0;
      });
      getOrder().then((response) => {
        this.Order = response || 0;
      }).catch(error => {
        console.error('获取今日已检数据失败:', error);
        this.Order = 0;
      });
      getReportToday().then((response) => {
        this.ReportToday = response || 0;
      }).catch(error => {
        console.error('获取今日报告数据失败:', error);
        this.ReportToday = 0;
      });
      getTobeToday().then((response) => {
        this.TobeToday = response || 0;
      }).catch(error => {
        console.error('获取今日待检数据失败:', error);
        this.TobeToday = 0;
      });
      // 修改折线图数据处理
      getChart().then((response) => {
        if (response && response.data) {
          this.LineChart = [];
          this.reportNum = [];
          this.personYYNum = [];
          this.teamYYNum = [];
          response.data.forEach(item => {
            this.LineChart.push(item.date);
            this.reportNum.push(item.tdcoun || 0);
            this.personYYNum.push(item.grcoun || 0);
            this.teamYYNum.push(item.bgcoun || 0);
        });
        let myChart = this.$echarts.init(document.getElementById('main'));
@@ -189,6 +204,9 @@
        window.addEventListener("resize", sizeFun)
        this.loading = false;
        }
      }).catch(error => {
        console.error('获取图表数据失败:', error);
      });
      // 饼状图
src/views/login.vue
@@ -152,8 +152,41 @@
    },
    loadAll(){
      const env = process.env.VUE_APP_ENV
      if (env === 'development') {
      this.loginForm.hospId = this.$route.query.hospId
      Cookies.set("hospId", this.loginForm.hospId);
      } else if (env === 'production') {
              // 获取当前URL的端口号
      const port = window.location.port;
        switch (port) {
          case '9011':
            this.loginForm.hospId = "chkwyy";
            break;
          case '9012':
            this.loginForm.hospId = "xamjyy";
            break;
          case '8094':
            this.loginForm.hospId = "pbkwyy";
            break;
        }
        Cookies.set("hospId", this.loginForm.hospId);
      }
      // 存储hospId到Cookie
      // 更新URL参数
      if (this.loginForm.hospId) {
        const query = { ...this.$route.query, hospId: this.loginForm.hospId };
        this.$router.replace({ query });
      }
    },
    hide() {
src/views/system/comp/index.vue
@@ -289,6 +289,8 @@
                </template>
              </el-table-column>
            </el-table>
            <div style="font-size: 16px;margin-top: 10px;">当前项目条数:<span style="font-weight: 700;">{{ OnenewpacName.length }}</span>条</div>
          </el-col>
          <el-col :span="2" :xs="24">
            <div style="margin: 240% 16%">
@@ -368,6 +370,8 @@
                </template>
              </el-table-column>
            </el-table>
            <div style="font-size: 16px;margin-top: 10px;">当前项目条数:<span style="font-weight: 700;">{{ OnenewpacName.length }}</span>条</div>
          </el-col>
          <el-col :span="2" :xs="24">
            <div style="margin: 240% 16%" class="btntoleft">
@@ -455,6 +459,8 @@
                </template>
              </el-table-column>
            </el-table>
            <div style="font-size: 16px;margin-top: 10px;">当前项目条数:<span style="font-weight: 700;">{{ OnenewpacName.length }}</span>条</div>
          </el-col>
          <el-col :span="2" :xs="24">
            <div style="margin: 240% 16%">
src/views/system/package/index.vue
@@ -698,7 +698,10 @@
                </template> 
              </el-table-column>-->
            </el-table>
            <!-- <h3 style="font-weight: 600">合计:{{ pics }}元</h3> -->
            <!-- 添加项目总数显示 -->
            <div style="margin-top: 10px; text-align: right;font-size: 14px">
              共计 <span style="font-weight: bold;">{{ DataList.length }}</span> 条项目
            </div>
          </div>
        </el-col>
      </el-row>
@@ -1302,68 +1305,6 @@
      });
      this.loading = false;
    },
    // getDataList() {
    //   this.loading = true;
    //   getProParentIdDxList(this.queryParams).then((response) => {
    //     this.Treedata = response.data.list;
    //     /*  if (this.form.tjProjectList) {
    //       this.form.tjProjectList.forEach((item) => {
    //         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) {
    //                 item1.limits = 10; // 强制将值设置为最大值
    //               } else if (item1.limits < 0) {
    //                 item1.limits = 0; // 强制将值设置为最小值
    //               }
    //               this.updateProPrice(item1); // 更新价格或其他逻辑
    //             });
    //           }
    //         });
    //       });
    //     }  */ /* else {
    //       this.checkedkey.push(this.Treedata[0].proId);
    //       let proId = this.Treedata[0].proId;
    //       this.TreedataList = this.Treedata.filter(
    //         (item) => item.proId == proId
    //       ); */
    //     // 将第一个项目添加到 DataList
    //     // this.TreedataList.forEach((item) => {
    //     //   this.checkedListkey.push(item.proId);
    //     //   this.DataList.push(item);
    //     // });
    //     /*  getProSonDxList(proId).then((res) => {
    //         this.TreedataList = res.data.list;
    //         this.TreedataList.forEach((item) => {
    //           item.disabled = true;
    //           this.checkedListkey.push(item.proId);
    //           this.DataList.push(item);
    //           this.DataList.forEach((item) => {
    //             item.propinName = this.Treedata[0].proName;
    //             item.propinPrice = this.Treedata[0].proPrice;
    //           });
    //           this.pics = 0;
    //           this.DataList.forEach((item) => {
    //             this.pics += item.proPrice;
    //           });
    //         });
    //       }); */
    //     // }
    //     this.pics = this.DataList.reduce(
    //       (total, item) => total + item.priceOrd,
    //       0
    //     );
    //     this.loading = false;
    //   });
    // },
    handleFilterInput() {
      this.queryParams1.page = 1; // 搜索时重置为第一页
      this.getDataList(); // 调用接口获取数据
@@ -1531,71 +1472,6 @@
        this.getList();
      });
    },
    /* submitForm() {
      if (this.form.pacName) {
        this.form.tjProjectList = [];
        if (this.DataList.length != 0) {
          this.treeList = JSON.parse(JSON.stringify(this.DataList));
          for (var i = 0; i < this.treeList.length; i++) {
            for (var j = i + 1; j < this.treeList.length; j++) {
              if (
                this.treeList[i].proParentId == this.treeList[j].proParentId
              ) {
                this.treeList.splice(j, 1);
                j--;
              }
            }
          }
          this.treeList.forEach((item) => {
            this.form.tjProjectList.push({
              // id: 0,
              proName: item.propinName,
              // allSonProName: item.proName + ",",
              proPrice: item.propinPrice,
              priceNow: item.propinPrice,
              proId: item.proParentId,
            });
          });
        }
        this.$refs["form"].validate((valid) => {
          if (valid) {
            if (this.form.pacId != null) {
              // if (this.form.pacStatus === "启用") {
              //   this.form.pacStatus = 0;
              // } else {
              //   this.form.pacStatus = 1;
              // }
              if (this.keys) {
                this.form.keywords = this.keys;
              } else {
                this.form.keywords = this.form.keywords.toString();
              }
              updatePackage(this.form).then((response) => {
                this.$modal.msgSuccess("修改成功");
                this.open = false;
                this.getList();
              });
            } else {
              this.form.keywords = this.keys;
              // if (this.form.pacStatus === "启用") {
              //   this.form.pacStatus = 0;
              // } else {
              //   this.form.pacStatus = 1;
              // }
              // return;
              addPackage(this.form).then((response) => {
                this.$modal.msgSuccess("新增成功");
                this.open = false;
                this.getList();
              });
            }
          }
        });
      } else {
        Message.warning("请先填写套餐名称");
      }
    }, */
    /** 删除按钮操作 */
    handleDelete(row) {
      const pacIds = row.pacId || this.ids;
@@ -1627,43 +1503,6 @@
        `package_${new Date().getTime()}.xlsx`
      );
    },
    // 套餐详情
    // handleSeach(row) {
    //   this.Seachopen = true;
    //   this.loading = true;
    //   const pacId = row.pacId;
    //   this.pacId = row.pacId
    //   let data = {
    //     pacId: pacId,
    //   };
    //   getAllPackage(data).then((response) => {
    //     this.allpackageList = response.data.tjProjectList;
    //     this.loading = false;
    //     let arr = [];
    //     this.allpackageList.forEach((item) => {
    //       arr.push(item.proName);
    //     });
    //     this.newproName = arr;
    //   });
    //   getAllPackageList().then((response) => {
    //     this.allList = response.data;
    //     this.loading = false;
    //   });
    // },
    // // 全选
    // handleCheckAllChange(val) {
    //   this.newproName = val ? this.allList : [];
    //   this.isIndeterminate = false;
    // },
    // handleCheckedCitiesChange(value) {
    //   let checkedCount = value.length;
    //   this.checkAll = checkedCount === this.allList.length;
    //   this.isIndeterminate =
    //     checkedCount > 0 && checkedCount < this.allList.length;
    // },
    submitcheckbox() {
      let _this = this;
      let proIds = [];
src/views/system/tijian/index.vue
@@ -742,15 +742,12 @@
  getPackageListName,
  getaddtTransition,
  tuantiqueren,
  getTransitionList,
  getTransitionList1,
  getByTeamNo,
  delTbBycusCardIdAndProId,
  getLoadFile,
  getIsRequired,
  getconfigKey,
  getHistryTjOrderProByCusIdCard,
  readCertCardInfos,
  gaibianzhekou,
} from "@/api/system/tijian";
import { addComp } from "@/api/system/comp";
@@ -1861,9 +1858,6 @@
              websocket.onmessage = (event) => {
                var resultObj = eval("(" + event.data + ")");
                this.readCardWebSocket(resultObj);
              };
              websocket.onclose = function () {
                alert("读卡器连接关闭");
              };
            } else if (res.msg == "Y") {
              /* this.$refs.aaa.open = true;