1
wwl
2024-12-10 22c5b7ccc13dcd0973401371be8265167962e169
1
2个文件已修改
95 ■■■■■ 已修改文件
src/views/doctor/checkAll/index.vue 91 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
vue.config.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/doctor/checkAll/index.vue
@@ -328,7 +328,11 @@
        <div class="btn3">
          <el-button @click="jianqian()" type="primary">检前问诊</el-button>
        </div>
        <div class="btn4">
          <el-button @click="xiangmuqingkuang()" type="primary">项目情况</el-button>
        </div>
        <div class="btn5">
          <el-button @click="yichangjieguo()" type="primary">异常结果</el-button>
        </div>
      </div>
@@ -606,8 +610,10 @@
            </div>
          </div>
        </div>
        <div class="right">
          <div v-for="(item, index) in yichangList" :key="index">
        <div class="rightbox">
          <div class="right">
         <template v-if="status==0">
          <div v-for="(item, index) in yichangList" :key="index" >
            <div
              style="
                text-align: center;
@@ -643,6 +649,58 @@
              </el-table-column>
            </el-table>
          </div>
         </template>
       <template v-if="status==1">
        <div v-for="(item, index) in statusList" :key="index">
            <div
              style="
                text-align: center;
                background-color: #aad8df;
                margin-top: 10px;
              "
            >
              {{ item.proName || "" }}
            </div>
            <el-table
              :data="statusList"
              border
              style="width: 100%"
              :header-cell-style="{ background: '#aad8df' }"
            >
              <el-table-column align="center" label="部门" width="190" prop="deptName">
              </el-table-column>
              <el-table-column
                align="center"
                 prop="proName"
                label="项目"
                width="160"
              >
              </el-table-column>
              <el-table-column
            label="状态"
            align="center"
            prop="type"
            :show-overflow-tooltip="true"
            width="60"
          >
            <template slot-scope="scope">
              <span v-if="scope.row.type == '0'">未检</span>
              <span v-if="scope.row.type == '1'">已检</span>
              <span v-if="scope.row.type == '2'">弃检</span>
              <span v-if="scope.row.type == '3'">延期</span>
            </template>
          </el-table-column>
          <el-table-column
            label="检查时间"
            align="center"
            prop="bcupdateTime"
            width="160"
          />
            </el-table>
          </div>
       </template>
        </div>
        </div>
      </div>
@@ -1126,12 +1184,14 @@
import { getCompany, queryCompany } from "@/api/team/tuanti";
import { reportHistory, yichang } from "@/api/doctor/check";
import { getPdf, revoke } from "@/api/hosp/order";
import { cSWebGetPro} from "@/api/doctor/examination";
import ViewPdf from "@/components/ViewPdf";
import Historicalreport from "@/components/Historicalreport";
import { getDicts } from "@/api/system/dict/data";
import { getTjYxjcList } from "@/api/system/package";
import { getNewDateList } from "@/api/hosp/order";
import moment from "moment";
export default {
  components: {
    ViewPdf,
@@ -1256,6 +1316,7 @@
      formobj: {},
      // 查询参数
      yichangList: [],
      statusList: [],
      queryParam: {
        pageNum: 1,
        pageSize: 10,
@@ -1280,6 +1341,7 @@
        tjCategory: undefined,
        payType: undefined,
      },
      status: 0 // 0展示异常1展示项目情况
    };
  },
@@ -1296,10 +1358,18 @@
    });
  },
  methods: {
    // 项目情况
    xiangmuqingkuang () {
      cSWebGetPro(this.tjNumber).then((res) => {
        this.status = 1
        this.statusList = res.data;
      })
    },
    guanbi(){
      this.drawer = false;
    },
    yichangjieguo() {
      this.status = 0
      let _this = this
      yichang({
        tjNum: this.tjNumber,
@@ -2139,7 +2209,8 @@
.btn1,
.btn2,
.btn3,
.btn4 {
.btn4,
.btn5 {
  position: fixed;
  right: 0;
  transform: translateY(-50%);
@@ -2189,7 +2260,10 @@
  top: 50%;
  animation-delay: 0.6s; /* 第四个按钮延迟 0.6 秒 */
}
.btn5 {
  top: 60%;
  animation-delay: 0.8s; /* 第四个按钮延迟 0.6 秒 */
}
.main {
  height: 700px;
  overflow: hidden;
@@ -2259,13 +2333,18 @@
  overflow: auto; // 确保父容器可以滚动
}
.right {
.rightbox{
  overflow-y: scroll;
  position: sticky;
  top: 0px; // 确保设置正确的单位
  top: 0px;
  .right {
  position: sticky;
  top: 0px;
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 10;
}
}
.top {
  position: sticky;
vue.config.js
@@ -53,8 +53,8 @@
      // detail: https://cli.vuejs.org/config/#devserver-proxy
      [process.env.VUE_APP_BASE_API]: {
        // target: `https://ltpeis.xaltjdkj.cn:5801/`,
        // target: `http://192.168.1.2:5011`,
        target: `http://192.168.1.113:5011`,
        target: `http://192.168.1.2:5011`,
        // target: `http://192.168.1.113:5011`,
        // // target: `http://192.168.0.99:8080/ltkj-admin`,
        // target: `https://ltpeis.xaltjdkj.cn:5011/ltkj-admin`,
        // target: `http://10.168.0.9:5011`,