su
su1124
2024-01-24 51123d5ad145745f855280783c01cc2906b693d0
su
33个文件已修改
1883 ■■■■ 已修改文件
src/components/jianqianwenzhen/index.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/doctor/bgsh/index.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/doctor/check/index.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/doctor/checkAll/index.vue 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/doctor/examination/index.vue 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/doctor/imaging/index.vue 9 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/doctor/test/index.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/hosp/extension/index.vue 345 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/hosp/fuzhen/index.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/hosp/history/index.vue 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/hosp/hzlog/index.vue 116 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/hosp/inspection/index.vue 179 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/hosp/order/index.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/hosp/print/index.vue 150 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/hosp/replylog/index.vue 220 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/hosp/surveyRecord/index.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/picture/music/index.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/picture/other/index.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/picture/picture/index.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/record/record/index.vue 302 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/sampling/sampling/index.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/Checkout/index.vue 366 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/bill/index.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/biol/index.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/charge/index.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/circle/index.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/invoice/index.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/refund/index.vue 9 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/tijian/index.vue 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/tijianall/index.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/transmit/index.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/visit/index.vue 22 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
vue.config.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/jianqianwenzhen/index.vue
@@ -72,12 +72,12 @@
                style="width: 700px"
              />
            </el-form-item>
            <el-form-item label="其他" prop="medicalHistory">
            <el-form-item label="既往病史" prop="medicalHistory">
              <el-input
                type="textarea"
                rows="4"
                v-model="form.medicalHistory"
                placeholder="请输入"
                placeholder="请输入既往病史"
                style="width: 700px"
              />
            </el-form-item>
src/views/doctor/bgsh/index.vue
@@ -7,7 +7,7 @@
      </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="submitForm"></el-input>
          @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"
@@ -259,6 +259,12 @@
    dateChangebirthday1(val) {
      this.startTime = val;
    },
    hb(){
      console.log(this.queryParams.tjNumber);
       if (this.queryParams.tjNumber != "") {
        this.submitForm();
      }
    },
    // 搜索
    submitForm() {
src/views/doctor/check/index.vue
@@ -22,7 +22,7 @@
          v-model="queryParams.tjNumber"
          style="width: 240px"
          placeholder="请输入体检号"
          @blur="submitForm"
          @blur="hb"
          @keyup.enter.native="submitForm"
        ></el-input>
      </el-form-item>
@@ -1315,6 +1315,12 @@
        }
      });
    },
    hb(){
      console.log(this.queryParams.tjNumber);
       if (this.queryParams.tjNumber != "") {
        this.submitForm();
      }
    },
    // 搜索
    submitForm() {
src/views/doctor/checkAll/index.vue
@@ -24,7 +24,7 @@
          placeholder="请输入体检号"
          clearable
          @keyup.enter.native="submitForm"
          @blur="submitForm"
          @blur="hb"
        ></el-input>
      </el-form-item>
      <el-form-item label="体检时间" prop="tjTime">
@@ -1021,6 +1021,8 @@
    "lj_positive",
    "tj_work",
    "tj_work_status",
    "tj_smoking_pinlv",
    "tj_work"
  ],
  name: "checkAll",
  data() {
@@ -1345,6 +1347,12 @@
      this.startTime = val;
    },
     hb(){
       if (this.queryParams.tjNumber != "") {
        this.submitForm();
      }
    },
    // 搜索
    submitForm() {
      this.loading = true;
src/views/doctor/examination/index.vue
@@ -14,6 +14,7 @@
          placeholder="请输入体检号"
          clearable
          @keyup.enter.native="handleQuery" 
          @blur="hb"
          style="width: 170px"
        />
      </el-form-item>
@@ -435,6 +436,13 @@
        }
      });
    },
     hb(){
      console.log(this.queryParams.tjNumber);
       if (this.queryParams.tjNumber != null) {
        this.handleQuery();
      }
    },
    /** 搜索按钮操作 */
    handleQuery() {
      this.queryParams.page = 1;
src/views/doctor/imaging/index.vue
@@ -22,7 +22,7 @@
          v-model="queryParams.tjNumber"
          style="width: 240px"
          placeholder="请输入体检号"
          @blur="submitForm"
          @blur="hb"
          @keyup.enter.native="submitForm"
        ></el-input>
      </el-form-item>
@@ -839,6 +839,7 @@
      queryParams: {
        page: 1,
        pageSize: 10,
        pageNum:1,
        tjNumber: "",
        type: "",
        name: null,
@@ -1005,6 +1006,12 @@
        }
      });
    },
    hb(){
      console.log(this.queryParams.tjNumber);
       if (this.queryParams.tjNumber != "") {
        this.submitForm();
      }
    },
    // 搜索
    submitForm() {
src/views/doctor/test/index.vue
@@ -6,7 +6,7 @@
          @keyup.enter.native="handleQuery"></el-input>
      </el-form-item>
      <el-form-item label="体检号" prop="tjNumber">
        <el-input ref="inputName" v-model="queryParams.tjNumber" style="width: 240px" placeholder="请输入体检号"  @keyup.enter.native="submitForm"></el-input>
        <el-input ref="inputName" v-model="queryParams.tjNumber" style="width: 240px" placeholder="请输入体检号"  @keyup.enter.native="submitForm" @blur="hb"></el-input>
      </el-form-item>
      <el-form-item>
        <el-button size="mini" type="primary" @click="submitForm">搜索</el-button>
@@ -717,6 +717,12 @@
      });
    },
     hb(){
      console.log(this.queryParams.tjNumber);
       if (this.queryParams.tjNumber != "") {
        this.submitForm();
      }
    },
    // 搜索
    submitForm() {
src/views/hosp/extension/index.vue
@@ -1,44 +1,132 @@
<template>
    <div class="app-container">
        <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
    <el-form
      :model="queryParams"
      ref="queryForm"
      size="small"
      :inline="true"
      v-show="showSearch"
      label-width="68px"
    >
            <el-form-item label="客户姓名" prop="name">
                <el-input v-model="queryParams.name" placeholder="请输入客户姓名" clearable @keyup.enter.native="handleQuery" />
        <el-input
          v-model="queryParams.name"
          placeholder="请输入客户姓名"
          clearable
          @keyup.enter.native="handleQuery"
        />
            </el-form-item>
            <el-form-item label="体检号" prop="tjNum">
                <el-input v-model="queryParams.tjNum" placeholder="请输入体检号" clearable @keyup.enter.native="handleQuery" ref="inputName" @blur="handleQuery" />
        <el-input
          v-model="queryParams.tjNum"
          placeholder="请输入体检号"
          clearable
          @keyup.enter.native="handleQuery"
          ref="inputName"
          @blur="hb"
        />
            </el-form-item>
            <el-form-item label="登记时间">
                <el-date-picker clearable v-model="createTimeList" style="width: 240px" value-format="yyyy-MM-dd"
                    type="daterange" range-separator="-" start-placeholder="开始日期" end-placeholder="结束日期"
                    :picker-options="pickerOptions"></el-date-picker>
        <el-date-picker
          clearable
          v-model="createTimeList"
          style="width: 240px"
          value-format="yyyy-MM-dd"
          type="daterange"
          range-separator="-"
          start-placeholder="开始日期"
          end-placeholder="结束日期"
          :picker-options="pickerOptions"
        ></el-date-picker>
            </el-form-item>
            <el-form-item label="延期时间">
                <el-date-picker clearable v-model="finishTimeList" type="daterange" range-separator="-"
                    start-placeholder="开始日期" end-placeholder="结束日期" :picker-options="pickerOptions"
                    value-format="yyyy-MM-dd" placeholder="请选择体检完成时间" style="width: 240px">
        <el-date-picker
          clearable
          v-model="finishTimeList"
          type="daterange"
          range-separator="-"
          start-placeholder="开始日期"
          end-placeholder="结束日期"
          :picker-options="pickerOptions"
          value-format="yyyy-MM-dd"
          placeholder="请选择体检完成时间"
          style="width: 240px"
        >
                </el-date-picker>
            </el-form-item>
            <el-form-item>
                <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
                <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
        <el-button
          type="primary"
          icon="el-icon-search"
          size="mini"
          @click="handleQuery"
          >搜索</el-button
        >
        <el-button icon="el-icon-refresh" size="mini" @click="resetQuery"
          >重置</el-button
        >
            </el-form-item>
        </el-form>
        <el-row :gutter="10" class="mb8">
            <el-col :span="1.5">
                <el-button type="primary" size="mini" @click="transmittext" :disabled="multiple">批量发送短信</el-button>
                <el-button type="primary" size="mini" @click="transmit" :disabled="multiple">批量发送邮件</el-button>
        <el-button
          type="primary"
          size="mini"
          @click="transmittext"
          :disabled="multiple"
          >批量发送短信</el-button
        >
        <el-button
          type="primary"
          size="mini"
          @click="transmit"
          :disabled="multiple"
          >批量发送邮件</el-button
        >
            </el-col>
            <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
      <right-toolbar
        :showSearch.sync="showSearch"
        @queryTable="getList"
      ></right-toolbar>
        </el-row>
        <template>
            <el-table border style="margin: 14px; width: 97%" v-loading="loading" :data="extensionList"
                @selection-change="handleSelectionChange">
                <el-table-column type="selection" width="55" align="center" height="10px" fixed="left" />
                <el-table-column label="序号" align="center" prop="newID" width="50px" fixed="left" height="10px" />
                <el-table-column label="姓名" align="center" prop="cusName" height="10px" />
                <el-table-column label="性别" align="center" prop="sex" width="55px" height="10px">
      <el-table
        border
        style="margin: 14px; width: 97%"
        v-loading="loading"
        :data="extensionList"
        @selection-change="handleSelectionChange"
      >
        <el-table-column
          type="selection"
          width="55"
          align="center"
          height="10px"
          fixed="left"
        />
        <el-table-column
          label="序号"
          align="center"
          prop="newID"
          width="50px"
          fixed="left"
          height="10px"
        />
        <el-table-column
          label="姓名"
          align="center"
          prop="cusName"
          height="10px"
        />
        <el-table-column
          label="性别"
          align="center"
          prop="sex"
          width="55px"
          height="10px"
        >
                    <template slot-scope="scope">
                        <span v-if="scope.row.sex == '0'">男</span>
                        <span v-if="scope.row.sex == '1'">女</span>
@@ -46,32 +134,67 @@
                    </template>
                </el-table-column>
                <el-table-column label="年龄" align="center" prop="age" height="10px" />
                <el-table-column label="电话" align="center" prop="phone" :show-overflow-tooltip="true" height="10px" />
        <el-table-column
          label="电话"
          align="center"
          prop="phone"
          :show-overflow-tooltip="true"
          height="10px"
        />
                <!-- <el-table-column label="团队/个人" align="center" prop="tjType" height="10px">
            <template slot-scope="scope">
              <span v-if="scope.row.tjType == '1'">个人</span>
              <span v-if="scope.row.tjType == '2'">团队</span>
            </template>
          </el-table-column> -->
                <el-table-column label="延期项目" align="center" prop="names" height="10px" :show-overflow-tooltip="true" />
                <el-table-column label="创建时间" align="center" prop="updateTime" width="155px" height="10px">
        <el-table-column
          label="延期项目"
          align="center"
          prop="names"
          height="10px"
          :show-overflow-tooltip="true"
        />
        <el-table-column
          label="创建时间"
          align="center"
          prop="updateTime"
          width="155px"
          height="10px"
        >
                    <template slot-scope="scope">
                        <span>{{ parseTime(scope.row.updateTime) }}</span>
                    </template>
                </el-table-column>
                <el-table-column label="延期时间" align="center" prop="yqTime" width="155px" height="10px">
        <el-table-column
          label="延期时间"
          align="center"
          prop="yqTime"
          width="155px"
          height="10px"
        >
                    <template slot-scope="scope">
                        <span>{{ parseTime(scope.row.yqTime) }}</span>
                    </template>
                </el-table-column>
                <el-table-column label="短信发送状态" align="center" prop="msgSend" height="10px"
                    :show-overflow-tooltip="true">
        <el-table-column
          label="短信发送状态"
          align="center"
          prop="msgSend"
          height="10px"
          :show-overflow-tooltip="true"
        >
                    <template slot-scope="scope">
                        <span v-if="scope.row.msgSend == '1'">已发送</span>
                        <span v-if="scope.row.msgSend == '0'">未发送</span>
                    </template>
                </el-table-column>
                <el-table-column label="邮件发送状态" align="center" prop="emilSend" height="10px" :show-overflow-tooltip="true">
        <el-table-column
          label="邮件发送状态"
          align="center"
          prop="emilSend"
          height="10px"
          :show-overflow-tooltip="true"
        >
                    <template slot-scope="scope">
                        <span v-if="scope.row.emilSend == '1'">已发送</span>
                        <span v-if="scope.row.emilSend == '0'">未发送</span>
@@ -82,56 +205,109 @@
        <div class="pag">
            <div class="pag1">
                <pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum"
                    :limit.sync="queryParams.pageSize" @pagination="getList" />
        <pagination
          v-show="total > 0"
          :total="total"
          :page.sync="queryParams.pageNum"
          :limit.sync="queryParams.pageSize"
          @pagination="getList"
        />
            </div>
        </div>
        <el-drawer :title="title" :visible.sync="drawer" size="60%">
            <el-form :model="querytempType" ref="queryForm" size="small" :inline="true" label-width="68px"
                style="margin:0 20px">
      <el-form
        :model="querytempType"
        ref="queryForm"
        size="small"
        :inline="true"
        label-width="68px"
        style="margin: 0 20px"
      >
                <el-form-item label="模板类型" prop="tempType">
                    <el-select v-model="querytempType.tempType" filterable placeholder="请选择模板类型" clearable>
                        <el-option v-for="dict in dict.type.tj_send_type" :key="dict.value" :label="dict.label"
                            :value="dict.value" />
          <el-select
            v-model="querytempType.tempType"
            filterable
            placeholder="请选择模板类型"
            clearable
          >
            <el-option
              v-for="dict in dict.type.tj_send_type"
              :key="dict.value"
              :label="dict.label"
              :value="dict.value"
            />
                    </el-select>
                </el-form-item>
                <el-form-item>
                    <el-button type="primary" icon="el-icon-search" size="mini" @click="handleTempType">搜索</el-button>
          <el-button
            type="primary"
            icon="el-icon-search"
            size="mini"
            @click="handleTempType"
            >搜索</el-button
          >
                </el-form-item>
            </el-form>
            <el-table v-loading="loading" ref="tb" :data="sendTemplateList" @selection-change="handleChange" border
                style="margin:0 20px;width:94%">
      <el-table
        v-loading="loading"
        ref="tb"
        :data="sendTemplateList"
        @selection-change="handleChange"
        border
        style="margin: 0 20px; width: 94%"
      >
                <el-table-column type="selection" width="45" align="center" />
                <el-table-column label="编号" align="center" prop="id" width="60" />
                <el-table-column label="模板标题" align="center" prop="tempTitle" width="100" />
        <el-table-column
          label="模板标题"
          align="center"
          prop="tempTitle"
          width="100"
        />
                <el-table-column label="模板内容" align="center" prop="tempContent" />
                <el-table-column label="模板类型" align="center" prop="tempType" width="100">
        <el-table-column
          label="模板类型"
          align="center"
          prop="tempType"
          width="100"
        >
                    <template slot-scope="scope">
                        <dict-tag :options="dict.type.tj_send_type" :value="scope.row.tempType" />
            <dict-tag
              :options="dict.type.tj_send_type"
              :value="scope.row.tempType"
            />
                    </template>
                </el-table-column>
            </el-table>
            <div class="pag">
                <div class="pag1">
                    <pagination v-show="total > 0" :total="total" :page.sync="querytempType.pageNum"
                        :limit.sync="querytempType.pageSize" @pagination="handleTempType" />
          <pagination
            v-show="total > 0"
            :total="total"
            :page.sync="querytempType.pageNum"
            :limit.sync="querytempType.pageSize"
            @pagination="handleTempType"
          />
                </div>
            </div>
            <div style="margin-left: 89%;">
                <el-button type="primary" v-if="mail == true" @click="sendingmail">发 送</el-button>
                <el-button type="primary" v-if="mail == false" @click="sendingtext">发 送</el-button>
      <div style="margin-left: 89%">
        <el-button type="primary" v-if="mail == true" @click="sendingmail"
          >发 送</el-button
        >
        <el-button type="primary" v-if="mail == false" @click="sendingtext"
          >发 送</el-button
        >
            </div>
        </el-drawer>
    </div>
</template>
   
<script>
import { getextensionlist,sendMessageOrEmail } from "@/api/hosp/extension";
import { listSendTemplate, } from "@/api/hosp/sendTemplate";
import { listSendTemplate } from "@/api/hosp/sendTemplate";
import ViewPdf from "@/components/ViewPdf";
import { queryCompany } from "@/api/team/tuanti";
export default {
@@ -139,7 +315,7 @@
        ViewPdf,
    },
    name: "Order",
    dicts: ['tj_send_type', 'sys_normal_disable'],
  dicts: ["tj_send_type", "sys_normal_disable"],
    data() {
        return {
            mail: true,
@@ -241,8 +417,7 @@
        dialogVisibles() {
            this.$message.error("请连接拨号器!");
        },
        handleClick(tab, event) {
        },
    handleClick(tab, event) {},
        //处理默认选中当前日期
        getNowTime() {
            var curDate = new Date().getTime();
@@ -262,26 +437,24 @@
            var d = time.getDate();
            return y + "-" + this.add0(m) + "-" + this.add0(d);
        },
        onSubmit() {
        },
    onSubmit() {},
        /** 查询体检记录列表 */
        getList() {
            this.loading = true;
            if (this.createTimeList) {
                this.queryParams.djbeginTime = this.createTimeList[0]
                this.queryParams.djendTime = this.createTimeList[1]
        this.queryParams.djbeginTime = this.createTimeList[0];
        this.queryParams.djendTime = this.createTimeList[1];
            } else {
                this.queryParams.djbeginTime = null
                this.queryParams.djendTime = null
        this.queryParams.djbeginTime = null;
        this.queryParams.djendTime = null;
            }
            if (this.finishTimeList) {
                this.queryParams.yqbeginTime = this.finishTimeList[0]
                this.queryParams.yqendTime = this.finishTimeList[1]
        this.queryParams.yqbeginTime = this.finishTimeList[0];
        this.queryParams.yqendTime = this.finishTimeList[1];
            } else {
                this.queryParams.yqbeginTime = null
                this.queryParams.yqendTime = null
        this.queryParams.yqbeginTime = null;
        this.queryParams.yqendTime = null;
            }
            getextensionlist(this.queryParams).then((response) => {
@@ -312,7 +485,7 @@
        // 搜索
        handleTempType() {
            this.loading = true;
            this.transmit()
      this.transmit();
        },
        // 取消按钮
        cancel() {
@@ -342,6 +515,11 @@
            };
            this.resetForm("form");
        },
    hb() {
      if (this.queryParams.tjNum != null) {
        this.handleQuery();
      }
    },
        /** 搜索按钮操作 */
        handleQuery() {
            this.queryParams.pageNum = 1;
@@ -360,9 +538,9 @@
            this.multiple = !selection.length;
        },
        handleChange(selection) {
            selection.forEach(item => {
                this.tempId = item.id
            })
      selection.forEach((item) => {
        this.tempId = item.id;
      });
            if (selection.length > 1) {
                let del_row = selection.shift();
@@ -372,11 +550,11 @@
        // 出现邮件弹框
        transmit() {
            this.drawer = true
            this.mail = true
            this.title = "选择邮件发送模板"
      this.drawer = true;
      this.mail = true;
      this.title = "选择邮件发送模板";
            this.loading = true;
            listSendTemplate(this.querytempType).then(response => {
      listSendTemplate(this.querytempType).then((response) => {
                this.sendTemplateList = response.rows;
                this.total = response.total;
                this.loading = false;
@@ -394,11 +572,11 @@
        },
        // 出现短信弹框
        transmittext() {
            this.drawer = true
            this.mail = false
            this.title = "选择短信发送模板"
      this.drawer = true;
      this.mail = false;
      this.title = "选择短信发送模板";
            this.loading = true;
            listSendTemplate(this.querytempType).then(response => {
      listSendTemplate(this.querytempType).then((response) => {
                this.sendTemplateList = response.rows;
                this.total = response.total;
                this.loading = false;
@@ -411,19 +589,18 @@
                let data = {
                    yqorderIds: this.ids,
                    tempId: this.tempId,
                    type:1
                }
          type: 1,
        };
                sendMessageOrEmail(data).then((res) => {
                    if (res.code === 200) {
                        this.$modal.msgSuccess("发送成功");
                        this.getList()
            this.getList();
                    }
                })
                this.drawer = false
        });
        this.drawer = false;
            } else {
                this.$modal.msgError("请选择邮件模板");
            }
        },
        // 发送短信
        sendingtext() {
@@ -431,15 +608,15 @@
                let data = {
                    yqorderIds: this.ids,
                    tempId: this.tempId,
                    type:2
                }
          type: 2,
        };
                sendMessageOrEmail(data).then((res) => {
                    if (res.code === 200) {
                        this.$modal.msgSuccess("发送成功");
                        this.getList()
            this.getList();
                    }
                })
                this.drawer = false
        });
        this.drawer = false;
            } else {
                this.$modal.msgError("请选择短信模板");
            }
src/views/hosp/fuzhen/index.vue
@@ -7,7 +7,7 @@
      </el-form-item>
      <el-form-item label="体检号" prop="tjNum">
        <el-input ref="inputName" v-model="queryParams.tjNum" placeholder="请输入体检号" style="width: 170px" clearable
          @keyup.enter.native="handleQuery" @blur="handleQuery" />
          @keyup.enter.native="handleQuery" @blur="hb" />
      </el-form-item>
      <el-form-item label="登记时间" prop="createTimeList">
        <el-date-picker v-model="createTimeList" type="datetimerange" align="right" :picker-options="pickerOptions"
@@ -580,6 +580,12 @@
      };
      this.resetForm("form");
    },
    hb() {
      if (this.queryParams.tjNum != null) {
        this.handleQuery();
      }
    },
    /** 搜索按钮操作 */
    handleQuery() {
      this.queryParams.pageNum = 1;
src/views/hosp/history/index.vue
@@ -27,6 +27,7 @@
              style="width: 170px"
              clearable
              @keyup.enter.native="handleQuery"
              @blur="hb"
            />
          </el-form-item>
          <el-form-item>
@@ -172,7 +173,6 @@
  ],
  data() {
    let checkPhoneNum = (rule, value, callback) => {
      console.log(value);
      let patter = new RegExp(/^1\s*[3456789]\s*(\d\s*){9}$/);
      if (value == "" && value == undefined && !value) {
        return callback("");
@@ -365,6 +365,11 @@
      this.tjAskHistorysList = [];
      this.resetForm("form");
    },
    hb(){
       if (this.queryParams.tjNum != undefined) {
        this.handleQuery();
      }
    },
    /** 搜索按钮操作 */
    handleQuery() {
      this.queryParams.pageNum = 1;
src/views/hosp/hzlog/index.vue
@@ -1,15 +1,42 @@
<template>
    <div class="app-container">
        <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
    <el-form
      :model="queryParams"
      ref="queryForm"
      size="small"
      :inline="true"
      v-show="showSearch"
      label-width="68px"
    >
            <el-form-item label="体检号" prop="tjNumber">
                <el-input ref="inputName" v-model="queryParams.tjNumber" placeholder="请输入体检号" clearable @keyup.enter.native="handleQuery" @blur="handleQuery" />
        <el-input
          ref="inputName"
          v-model="queryParams.tjNumber"
          placeholder="请输入体检号"
          clearable
          @keyup.enter.native="handleQuery"
          @blur="hb"
        />
            </el-form-item>
            <el-form-item label="用户名" prop="userName">
                <el-input v-model="queryParams.userName" placeholder="请输入用户名" clearable @keyup.enter.native="handleQuery" />
        <el-input
          v-model="queryParams.userName"
          placeholder="请输入用户名"
          clearable
          @keyup.enter.native="handleQuery"
        />
            </el-form-item>
            <el-form-item>
                <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
                <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
        <el-button
          type="primary"
          icon="el-icon-search"
          size="mini"
          @click="handleQuery"
          >搜索</el-button
        >
        <el-button icon="el-icon-refresh" size="mini" @click="resetQuery"
          >重置</el-button
        >
            </el-form-item>
        </el-form>
@@ -37,7 +64,12 @@
            <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
        </el-row> -->
        <el-table v-loading="loading" :data="hzlogList" @selection-change="handleSelectionChange" border>
    <el-table
      v-loading="loading"
      :data="hzlogList"
      @selection-change="handleSelectionChange"
      border
    >
            <el-table-column type="selection" width="55" align="center" />
            <!-- <el-table-column label="会诊id" align="center" prop="id" /> -->
            <!-- <el-table-column label="会诊订单" align="center" prop="orderId" /> -->
@@ -46,19 +78,28 @@
            <el-table-column label="用户名" align="center" prop="userName" />
            <el-table-column label="会诊类型" align="center" prop="hzType">
                <template slot-scope="scope">
                    <span v-if="scope.row.hzType == '0'">全院会诊</span>
                    <span v-if="scope.row.hzType == '1'">科室会诊</span>
          <dict-tag
            :options="dict.type.hz_type"
            :value="scope.row.hzType"
          />
                </template>
            </el-table-column>
            <!-- 0全院会诊1科室会诊 -->
            <el-table-column label="会诊科室" align="center" prop="hzDeptName" />
            <!-- <el-table-column label="会诊申请人" align="center" prop="hzDoctorId" /> -->
            <el-table-column label="会诊申请人" align="center" prop="hzDoctorName" />
            <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
      <el-table-column
        label="操作"
        align="center"
        class-name="small-padding fixed-width"
      >
                <template slot-scope="scope">
                    <el-button size="mini" type="text" @click="handleUpdate(scope.row)"
                        v-hasPermi="['hosp:hzlog:edit']">查看回复
          <el-button
            size="mini"
            type="text"
            @click="handleUpdate(scope.row)"
            v-hasPermi="['hosp:hzlog:edit']"
            >查看回复
                    </el-button>
                    <!-- <el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)"
                        v-hasPermi="['hosp:hzlog:remove']">删除
@@ -67,13 +108,27 @@
            </el-table-column>
        </el-table>
        <pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize"
            @pagination="getList" />
    <pagination
      v-show="total > 0"
      :total="total"
      :page.sync="queryParams.pageNum"
      :limit.sync="queryParams.pageSize"
      @pagination="getList"
    />
        <el-drawer title="会诊回复记录" :visible.sync="drawer"  :before-close="handleClose" >
    <el-drawer
      title="会诊回复记录"
      :visible.sync="drawer"
      :before-close="handleClose"
    >
            <div class="block">
                <el-timeline  >
                    <el-timeline-item v-for="(item,index) in hzReplyLogsList" :key="index" :timestamp=item.createTime placement="top">
          <el-timeline-item
            v-for="(item, index) in hzReplyLogsList"
            :key="index"
            :timestamp="item.createTime"
            placement="top"
          >
                        <el-card>
                            <h2>科室:{{ item.replyDeptName}}</h2>
                            <h3>回复内容:{{ item.replyContent}}</h3>
@@ -124,11 +179,12 @@
    getHzlog,
    delHzlog,
    addHzlog,
    updateHzlog
  updateHzlog,
} from "@/api/hosp/hzlog";
export default {
    name: "Hzlog",
  dicts: ["hz_type"],
    data() {
        return {
            // 遮罩层
@@ -163,8 +219,7 @@
            // 表单参数
            form: {},
            // 表单校验
            rules: {
            }
      rules: {},
        };
    },
    created() {
@@ -180,7 +235,7 @@
列表 */
        getList() {
            this.loading = true;
            listHzlog(this.queryParams).then(response => {
      listHzlog(this.queryParams).then((response) => {
                this.hzlogList = response.rows;
                this.total = response.total;
                this.loading = false;
@@ -211,9 +266,14 @@
                updateBy: null,
                deleted: null,
                hzDoctorId: null,
                hzDoctorName: null
        hzDoctorName: null,
            };
            this.resetForm("form");
    },
    hb() {
      if (this.queryParams.tjNumber != null) {
        this.handleQuery();
      }
        },
        /** 搜索按钮操作 */
        handleQuery() {
@@ -227,15 +287,14 @@
        },
        // 多选框选中数据
        handleSelectionChange(selection) {
            this.ids = selection.map(item => item.id)
            this.single = selection.length !== 1
            this.multiple = !selection.length
      this.ids = selection.map((item) => item.id);
      this.single = selection.length !== 1;
      this.multiple = !selection.length;
        },
        handleUpdate(row) {
            this.reset();
            this.drawer = true;
            this.hzReplyLogsList = row.hzReplyLogsList
      this.hzReplyLogsList = row.hzReplyLogsList;
        },
        /** 新增按钮操作 */
        // handleAdd() {
@@ -439,7 +498,6 @@
        //         ...this.queryParams
        //     }, `${businessName}_#[[${new Date().getTime()}.xlsx`)
        // }
    }
}
    ;
  },
};
</script>
src/views/hosp/inspection/index.vue
@@ -1,73 +1,165 @@
<template>
    <div class="app-container">
        <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
    <el-form
      :model="queryParams"
      ref="queryForm"
      size="small"
      :inline="true"
      v-show="showSearch"
      label-width="68px"
    >
            <el-form-item label="体检号" prop="tjNum">
                <el-input v-model="queryParams.tjNum" placeholder="请输入体检号" clearable @keyup.enter.native="handleQuery" ref="inputName" @blur="handleQuery" />
        <el-input
          v-model="queryParams.tjNum"
          placeholder="请输入体检号"
          clearable
          @keyup.enter.native="handleQuery"
          ref="inputName"
          @blur="hb"
        />
            </el-form-item>
            <el-form-item label="客户姓名" prop="cusName">
                <el-input v-model="queryParams.cusName" placeholder="请输入客户姓名" clearable @keyup.enter.native="handleQuery" />
        <el-input
          v-model="queryParams.cusName"
          placeholder="请输入客户姓名"
          clearable
          @keyup.enter.native="handleQuery"
        />
            </el-form-item>
            <el-form-item label="登记时间" prop="registrationTime">
                <el-date-picker clearable v-model="queryParams.registrationTime" type="date" value-format="yyyy-MM-dd"
                    placeholder="请选择登记时间">
        <el-date-picker
          clearable
          v-model="queryParams.registrationTime"
          type="date"
          value-format="yyyy-MM-dd"
          placeholder="请选择登记时间"
        >
                </el-date-picker>
            </el-form-item>
            <el-form-item label="项目名" prop="proName">
                <el-input v-model="queryParams.proName" placeholder="请输入项目名" clearable @keyup.enter.native="handleQuery" />
        <el-input
          v-model="queryParams.proName"
          placeholder="请输入项目名"
          clearable
          @keyup.enter.native="handleQuery"
        />
            </el-form-item>
            <el-form-item>
                <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
                <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
        <el-button
          type="primary"
          icon="el-icon-search"
          size="mini"
          @click="handleQuery"
          >搜索</el-button
        >
        <el-button icon="el-icon-refresh" size="mini" @click="resetQuery"
          >重置</el-button
        >
            </el-form-item>
        </el-form>
        <el-row :gutter="10" class="mb8">
            <el-col :span="1.5">
                <el-button type="primary" plain size="mini" v-hasPermi="['hosp:detail:add']"
                    @click="handlerestore">恢复</el-button>
        <el-button
          type="primary"
          plain
          size="mini"
          v-hasPermi="['hosp:detail:add']"
          @click="handlerestore"
          >恢复</el-button
        >
            </el-col>
        </el-row>
        <el-table v-loading="loading" :data="inspectionList" border @selection-change="handleSelectionChange">
    <el-table
      v-loading="loading"
      :data="inspectionList"
      border
      @selection-change="handleSelectionChange"
    >
            <el-table-column type="selection" width="55" align="center" />
            <el-table-column label="序号" align="center" prop="newID" width="55px" />
            <el-table-column label="体检号" align="center" prop="tjNum" :show-overflow-tooltip="true" />
      <el-table-column
        label="体检号"
        align="center"
        prop="tjNum"
        :show-overflow-tooltip="true"
      />
            <!-- <el-table-column label="客户编号" align="center" prop="cusId" /> -->
            <el-table-column label="客户姓名" align="center" prop="cusName" :show-overflow-tooltip="true" />
            <el-table-column label="身份证号" align="center" prop="cusId" :show-overflow-tooltip="true" />
            <el-table-column label="项目名" align="center" prop="proName" :show-overflow-tooltip="true" />
            <el-table-column label="创建人" align="center" prop="createBy" :show-overflow-tooltip="true" />
            <el-table-column label="登记时间" align="center" prop="registrationTime" :show-overflow-tooltip="true">
      <el-table-column
        label="客户姓名"
        align="center"
        prop="cusName"
        :show-overflow-tooltip="true"
      />
      <el-table-column
        label="身份证号"
        align="center"
        prop="cusId"
        :show-overflow-tooltip="true"
      />
      <el-table-column
        label="项目名"
        align="center"
        prop="proName"
        :show-overflow-tooltip="true"
      />
      <el-table-column
        label="创建人"
        align="center"
        prop="createBy"
        :show-overflow-tooltip="true"
      />
      <el-table-column
        label="登记时间"
        align="center"
        prop="registrationTime"
        :show-overflow-tooltip="true"
      >
                <template slot-scope="scope">
                    <span>{{ parseTime(scope.row.registrationTime, '{y}-{m}-{d}') }}</span>
          <span>{{
            parseTime(scope.row.registrationTime, "{y}-{m}-{d}")
          }}</span>
                </template>
            </el-table-column>
            <el-table-column label="弃检时间" align="center" prop="createTime" width="160px" :show-overflow-tooltip="true">
      <el-table-column
        label="弃检时间"
        align="center"
        prop="createTime"
        width="160px"
        :show-overflow-tooltip="true"
      >
                <template slot-scope="scope">
                    <span>{{ parseTime(scope.row.createTime, '{y}-{m}-{d} {hh}:{mm}:{ss}') }}</span>
          <span>{{
            parseTime(scope.row.createTime, "{y}-{m}-{d} {hh}:{mm}:{ss}")
          }}</span>
                </template>
            </el-table-column>
            <el-table-column label="备注" align="center" prop="remark" :show-overflow-tooltip="true" />
      <el-table-column
        label="备注"
        align="center"
        prop="remark"
        :show-overflow-tooltip="true"
      />
            <!-- <el-table-column label="项目编号" align="center" prop="proId" /> -->
        </el-table>
        <div class="pag">
            <div class="pag1">
                <pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum"
                    :limit.sync="queryParams.pageSize" @pagination="getList" />
        <pagination
          v-show="total > 0"
          :total="total"
          :page.sync="queryParams.pageNum"
          :limit.sync="queryParams.pageSize"
          @pagination="getList"
        />
            </div>
        </div>
    </div>
</template>
<script>
import {
    listInspection, recall
} from "@/api/hosp/inspection";
import { listInspection, recall } from "@/api/hosp/inspection";
export default {
    name: "Inspection",
@@ -98,7 +190,7 @@
                tjNum: null,
                cusName: null,
                registrationTime: null,
                proName: null
        proName: null,
            },
            // 表单参数
            form: {},
@@ -116,10 +208,13 @@
        /** 查询弃检列表 */
        getList() {
            this.loading = true;
            listInspection(this.queryParams).then(response => {
      listInspection(this.queryParams).then((response) => {
                this.inspectionList = response.rows;
                response.rows.forEach((item, index) => {
                    item.newID = (this.queryParams.pageNum - 1) * this.queryParams.pageSize + index + 1
          item.newID =
            (this.queryParams.pageNum - 1) * this.queryParams.pageSize +
            index +
            1;
                });
                this.total = response.total;
                this.loading = false;
@@ -144,9 +239,14 @@
                cusName: null,
                registrationTime: null,
                proId: null,
                proName: null
        proName: null,
            };
            this.resetForm("form");
    },
    hb() {
      if (this.queryParams.tjNum != null) {
        this.handleQuery();
      }
        },
        /** 搜索按钮操作 */
        handleQuery() {
@@ -160,18 +260,17 @@
        },
        // 多选框选中数据
        handleSelectionChange(selection) {
            this.allList = selection
            console.log(this.allList )
      this.allList = selection;
        },
        handlerestore() {
            recall(this.allList).then(res => {
      recall(this.allList).then((res) => {
                if(res.code == 200){
                    this.$modal.msgSuccess("已撤回成功");
                    this.getList();
                }
            })
        }
    }
      });
    },
  },
};
</script>
<style scoped>
src/views/hosp/order/index.vue
@@ -7,7 +7,7 @@
      </el-form-item>
      <el-form-item label="体检号" prop="tjNum">
        <el-input ref="inputName" v-model="queryParams.tjNum" placeholder="请输入体检号" style="width: 170px" clearable
          @keyup.enter.native="handleQuery"  @blur="handleQuery" />
          @keyup.enter.native="handleQuery"  @blur="hb" />
      </el-form-item>
      <el-form-item label="登记时间" prop="createTimeList">
        <el-date-picker v-model="createTimeList" type="datetimerange" align="right" :picker-options="pickerOptions"
@@ -737,6 +737,11 @@
      };
      this.resetForm("form");
    },
    hb(){
       if (this.queryParams.tjNum != undefined) {
        this.handleQuery();
      }
    },
    /** 搜索按钮操作 */
    handleQuery() {
      this.queryParams.pageNum = 1;
@@ -867,7 +872,6 @@
      // }
      this.TotalPrice1 = 0;
      this.proIds = [];
      console.log(this.DataList)
      if (this.DataList.length != 0) {
        this.list1 = false;
        this.DataList.forEach((item) => {
src/views/hosp/print/index.vue
@@ -1,54 +1,114 @@
<template>
    <div class="app-container">
        <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
    <el-form
      :model="queryParams"
      ref="queryForm"
      size="small"
      :inline="true"
      v-show="showSearch"
      label-width="68px"
    >
            <el-form-item label="体检号" prop="tjNumber">
                <el-input v-model="queryParams.tjNumber" placeholder="请输入体检号" style="width: 170px;"  clearable @keyup.enter.native="handleQuery" ref="inputName" @blur="handleQuery" />
        <el-input
          v-model="queryParams.tjNumber"
          placeholder="请输入体检号"
          style="width: 170px"
          clearable
          @keyup.enter.native="handleQuery"
          ref="inputName"
          @blur="hb"
        />
            </el-form-item>
            <el-form-item label="客户名称" prop="printBy">
                <el-input v-model="queryParams.printBy" placeholder="客户名称" clearable style="width: 100px;"
                    @keyup.enter.native="handleQuery" />
        <el-input
          v-model="queryParams.printBy"
          placeholder="客户名称"
          clearable
          style="width: 100px"
          @keyup.enter.native="handleQuery"
        />
            </el-form-item>
            <el-form-item label="打印时间" prop="printTime">
                <el-date-picker clearable v-model="queryParams.printTime" type="date" value-format="yyyy-MM-dd"
                    placeholder="请选择打印时间" style="width: 140px;">
        <el-date-picker
          clearable
          v-model="queryParams.printTime"
          type="date"
          value-format="yyyy-MM-dd"
          placeholder="请选择打印时间"
          style="width: 140px"
        >
                </el-date-picker>
            </el-form-item>
            <el-form-item label="打印状态" prop="printStatus">
        <el-select v-model="queryParams.printStatus" placeholder="打印状态" clearable style="width:110px">
          <el-option v-for="dict in dict.type.print_success_fail" :key="dict.value" :label="dict.label" :value="dict.value" />
        <el-select
          v-model="queryParams.printStatus"
          placeholder="打印状态"
          clearable
          style="width: 110px"
        >
          <el-option
            v-for="dict in dict.type.print_success_fail"
            :key="dict.value"
            :label="dict.label"
            :value="dict.value"
          />
        </el-select>
      </el-form-item>
            <el-form-item>
                <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
                <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
        <el-button
          type="primary"
          icon="el-icon-search"
          size="mini"
          @click="handleQuery"
          >搜索</el-button
        >
        <el-button icon="el-icon-refresh" size="mini" @click="resetQuery"
          >重置</el-button
        >
            </el-form-item>
        </el-form>
        <el-table v-loading="loading" :data="printList" @selection-change="handleSelectionChange" border style="width: 80%;">
    <el-table
      v-loading="loading"
      :data="printList"
      @selection-change="handleSelectionChange"
      border
      style="width: 80%"
    >
            <el-table-column label="客户名称" align="center" prop="printBy" />
            <el-table-column label="体检号" align="center" prop="tjNumber" />
            <el-table-column label="打印操作员" align="center" prop="createBy" />
            <el-table-column label="打印时间" align="center" prop="printTime" width="180">
      <el-table-column
        label="打印时间"
        align="center"
        prop="printTime"
        width="180"
      >
                <template slot-scope="scope">
                    <span>{{ parseTime(scope.row.printTime) }}</span>
                </template>
            </el-table-column>
            <el-table-column label="打印状态" align="center" prop="printStatus">
                <template slot-scope="scope">
                    <dict-tag :options="dict.type.print_success_fail" :value="scope.row.printStatus" />
          <dict-tag
            :options="dict.type.print_success_fail"
            :value="scope.row.printStatus"
          />
                </template>
            </el-table-column>
        </el-table>
        <div class="pag">
      <div class="pag1">
        <pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize"
            @pagination="getList" />
        <pagination
          v-show="total > 0"
          :total="total"
          :page.sync="queryParams.pageNum"
          :limit.sync="queryParams.pageSize"
          @pagination="getList"
        />
      </div>
    </div>
    </div>
</template>
@@ -58,22 +118,22 @@
    getPrint,
    delPrint,
    addPrint,
    updatePrint
  updatePrint,
} from "@/api/hosp/print";
import { getInfo } from "@/api/login";
export default {
    name: "Print",
    dicts: ["print_success_fail",],
  dicts: ["print_success_fail"],
    data() {
        let checkPhoneNum = (rule, value, callback) => {
         console.log( value)
      console.log(value);
      let patter = new RegExp(/^1\s*[3456789]\s*(\d\s*){9}$/);
      if (value == "" && value == undefined && !value) {
        return callback('');
        return callback("");
      }  else if(value != undefined && value != ""){
        return callback();
      }else if (!patter.test(value)) {
        return callback('');
        return callback("");
      }
    };
        return {
@@ -104,7 +164,7 @@
                printBy: null,
                printTime: null,
                printStatus: null,
                createBy:null
        createBy: null,
            },
            // 表单参数
            form: {},
@@ -112,10 +172,12 @@
            rules: {
                deleted: [
                    {
                        required: true, validator: checkPhoneNum,  trigger: "blur"
                    }
                ]
            }
            required: true,
            validator: checkPhoneNum,
            trigger: "blur",
          },
        ],
      },
        };
    },
    created() {
@@ -131,15 +193,15 @@
        getList() {
            this.loading = true;
            getInfo().then((response) => {
                this.user = response.user
        this.user = response.user;
            });
            listPrint(this.queryParams).then(response => {
      listPrint(this.queryParams).then((response) => {
                this.printList = response.rows;
                this.printList.forEach(item => {
        this.printList.forEach((item) => {
                    if (item.createBy === this.user.userId) {
                        item.createBy = this.user.nickName
            item.createBy = this.user.nickName;
                    }
                })
        });
                this.total = response.total;
                this.loading = false;
            });
@@ -161,9 +223,14 @@
                createBy: null,
                updateTime: null,
                updateBy: null,
                deleted: null
        deleted: null,
            };
            this.resetForm("form");
    },
    hb() {
      if (this.queryParams.tjNumber != null) {
        this.handleQuery();
      }
        },
        /** 搜索按钮操作 */
        handleQuery() {
@@ -177,9 +244,9 @@
        },
        // 多选框选中数据
        handleSelectionChange(selection) {
            this.ids = selection.map(item => item.id)
            this.single = selection.length !== 1
            this.multiple = !selection.length
      this.ids = selection.map((item) => item.id);
      this.single = selection.length !== 1;
      this.multiple = !selection.length;
        },
        /** 新增按钮操作 */
        handleAdd() {
@@ -190,17 +257,14 @@
        /** 修改按钮操作 */
        handleUpdate(row) {
            this.reset();
            const id = row.id || this.ids
            getPrint(id).then(response => {
      const id = row.id || this.ids;
      getPrint(id).then((response) => {
                this.form = response.data;
                this.open = true;
                this.title = "修改打印记录";
            });
        },
    }
  },
};
</script>
src/views/hosp/replylog/index.vue
@@ -1,78 +1,164 @@
<template>
    <div class="app-container">
        <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
    <el-form
      :model="queryParams"
      ref="queryForm"
      size="small"
      :inline="true"
      v-show="showSearch"
      label-width="68px"
    >
            <el-form-item label="体检号" prop="tjNumber">
                <el-input v-model="queryParams.tjNumber" placeholder="请输入体检号" clearable @keyup.enter.native="handleQuery" ref="inputName" @blur="handleQuery" />
        <el-input
          v-model="queryParams.tjNumber"
          placeholder="请输入体检号"
          clearable
          @keyup.enter.native="handleQuery"
          ref="inputName"
          @blur="hb"
        />
            </el-form-item>
            <el-form-item label="用户名" prop="userName">
                <el-input v-model="queryParams.userName" placeholder="请输入用户名" clearable @keyup.enter.native="handleQuery" />
        <el-input
          v-model="queryParams.userName"
          placeholder="请输入用户名"
          clearable
          @keyup.enter.native="handleQuery"
        />
            </el-form-item>
            <el-form-item label="${comment}" prop="hzDoctorName">
                <el-input v-model="queryParams.hzDoctorName" placeholder="请输入${comment}" clearable
                    @keyup.enter.native="handleQuery" />
            </el-form-item>
      <!-- <el-form-item label="${comment}" prop="hzDoctorName">
        <el-input
          v-model="queryParams.hzDoctorName"
          placeholder="请输入${comment}"
          clearable
          @keyup.enter.native="handleQuery"
        />
      </el-form-item> -->
            <el-form-item>
                <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
                <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
        <el-button
          type="primary"
          icon="el-icon-search"
          size="mini"
          @click="handleQuery"
          >搜索</el-button
        >
        <el-button icon="el-icon-refresh" size="mini" @click="resetQuery"
          >重置</el-button
        >
            </el-form-item>
        </el-form>
        <el-row :gutter="10" class="mb8">
    <!-- <el-row :gutter="10" class="mb8">
            <el-col :span="1.5">
                <el-button type="primary" plain icon="el-icon-plus" size="mini" @click="handleAdd"
                    v-hasPermi="['hosp:replylog:add']">新增
        <el-button
          type="primary"
          icon="el-icon-plus"
          size="mini"
          @click="handleAdd"
          v-hasPermi="['hosp:replylog:add']"
          >新增
                </el-button>
            </el-col>
            <el-col :span="1.5">
                <el-button type="success" plain icon="el-icon-edit" size="mini" :disabled="single" @click="handleUpdate"
                    v-hasPermi="['hosp:replylog:edit']">修改
        <el-button
          type="primary"
          icon="el-icon-edit"
          size="mini"
          :disabled="single"
          @click="handleUpdate"
          v-hasPermi="['hosp:replylog:edit']"
          >修改
                </el-button>
            </el-col>
            <el-col :span="1.5">
                <el-button type="danger" plain icon="el-icon-delete" size="mini" :disabled="multiple" @click="handleDelete"
                    v-hasPermi="['hosp:replylog:remove']">删除
        <el-button
          type="primary"
          icon="el-icon-delete"
          size="mini"
          :disabled="multiple"
          @click="handleDelete"
          v-hasPermi="['hosp:replylog:remove']"
          >删除
                </el-button>
            </el-col>
            <el-col :span="1.5">
                <el-button type="warning" plain icon="el-icon-download" size="mini" @click="handleExport"
                    v-hasPermi="['hosp:replylog:export']">导出
        <el-button
         type="primary"
          icon="el-icon-download"
          size="mini"
          @click="handleExport"
          v-hasPermi="['hosp:replylog:export']"
          >导出
                </el-button>
            </el-col>
            <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
        </el-row>
      <right-toolbar
        :showSearch.sync="showSearch"
        @queryTable="getList"
      ></right-toolbar>
    </el-row> -->
        <el-table v-loading="loading" :data="replylogList" @selection-change="handleSelectionChange">
    <el-table
      v-loading="loading"
      :data="replylogList"
      @selection-change="handleSelectionChange"
    >
            <el-table-column type="selection" width="55" align="center" />
            <el-table-column label="会诊id" align="center" prop="id" />
            <el-table-column label="会诊订单id" align="center" prop="orderId" />
      <!-- <el-table-column label="会诊id" align="center" prop="id" />
      <el-table-column label="会诊订单id" align="center" prop="orderId" /> -->
            <el-table-column label="体检号" align="center" prop="tjNumber" />
            <el-table-column label="用户id" align="center" prop="userId" />
      <!-- <el-table-column label="用户id" align="center" prop="userId" /> -->
            <el-table-column label="用户名" align="center" prop="userName" />
            <el-table-column label="会诊类型0全院会诊1科室会诊" align="center" prop="hzType" />
            <el-table-column label="回复医生" align="center" prop="replyDoctorId" />
      <el-table-column label="会诊类型" align="center" prop="hzType">
        <template slot-scope="scope">
          <dict-tag
            :options="dict.type.hz_type"
            :value="scope.row.hzType"
          />
        </template>
      </el-table-column>
      <!-- <el-table-column label="回复医生" align="center" prop="replyDoctorId" /> -->
            <el-table-column label="回复医生名" align="center" prop="replyDoctorName" />
            <el-table-column label="回复部门" align="center" prop="replyDeptId" />
            <el-table-column label="回复部门名" align="center" prop="replyDeptName" />
            <el-table-column label="回复内容" align="center" prop="replyContent" />
            <el-table-column label="" align="center" prop="status" />
            <el-table-column label="" align="center" prop="remark" />
            <el-table-column label="会诊申请id" align="center" prop="hzId" />
      <!-- <el-table-column label="" align="center" prop="status" />
      <el-table-column label="" align="center" prop="remark" /> -->
      <!-- <el-table-column label="会诊申请id" align="center" prop="hzId" />
            <el-table-column label="${comment}" align="center" prop="hzDoctorId" />
            <el-table-column label="${comment}" align="center" prop="hzDoctorName" />
            <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
      <el-table-column label="${comment}" align="center" prop="hzDoctorName" /> -->
      <!-- <el-table-column
        label="操作"
        align="center"
        class-name="small-padding fixed-width"
      >
                <template slot-scope="scope">
                    <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)"
                        v-hasPermi="['hosp:replylog:edit']">修改
          <el-button
            size="mini"
            type="text"
            icon="el-icon-edit"
            @click="handleUpdate(scope.row)"
            v-hasPermi="['hosp:replylog:edit']"
            >修改
                    </el-button>
                    <el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)"
                        v-hasPermi="['hosp:replylog:remove']">删除
          <el-button
            size="mini"
            type="text"
            icon="el-icon-delete"
            @click="handleDelete(scope.row)"
            v-hasPermi="['hosp:replylog:remove']"
            >删除
                    </el-button>
                </template>
            </el-table-column>
      </el-table-column> -->
        </el-table>
        <pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize"
            @pagination="getList" />
    <pagination
      v-show="total > 0"
      :total="total"
      :page.sync="queryParams.pageNum"
      :limit.sync="queryParams.pageSize"
      @pagination="getList"
    />
        <!-- 添加或修改会诊回复记录对话框 -->
        <el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
@@ -93,13 +179,19 @@
                    <el-input v-model="form.replyDoctorId" placeholder="请输入回复医生" />
                </el-form-item>
                <el-form-item label="回复医生名" prop="replyDoctorName">
                    <el-input v-model="form.replyDoctorName" placeholder="请输入回复医生名" />
          <el-input
            v-model="form.replyDoctorName"
            placeholder="请输入回复医生名"
          />
                </el-form-item>
                <el-form-item label="回复部门" prop="replyDeptId">
                    <el-input v-model="form.replyDeptId" placeholder="请输入回复部门" />
                </el-form-item>
                <el-form-item label="回复部门名" prop="replyDeptName">
                    <el-input v-model="form.replyDeptName" placeholder="请输入回复部门名" />
          <el-input
            v-model="form.replyDeptName"
            placeholder="请输入回复部门名"
          />
                </el-form-item>
                <el-form-item label="回复内容">
                    <editor v-model="form.replyContent" :min-height="192" />
@@ -110,12 +202,15 @@
                <el-form-item label="会诊申请id" prop="hzId">
                    <el-input v-model="form.hzId" placeholder="请输入会诊申请id" />
                </el-form-item>
                <el-form-item label="${comment}" prop="hzDoctorId">
        <!-- <el-form-item label="${comment}" prop="hzDoctorId">
                    <el-input v-model="form.hzDoctorId" placeholder="请输入${comment}" />
                </el-form-item>
                <el-form-item label="${comment}" prop="hzDoctorName">
                    <el-input v-model="form.hzDoctorName" placeholder="请输入${comment}" />
                </el-form-item>
        </el-form-item> -->
        <!-- <el-form-item label="${comment}" prop="hzDoctorName">
          <el-input
            v-model="form.hzDoctorName"
            placeholder="请输入${comment}"
          />
        </el-form-item> -->
            </el-form>
            <div slot="footer" class="dialog-footer">
                <el-button type="primary" @click="submitForm">确 定</el-button>
@@ -131,11 +226,12 @@
    getReplylog,
    delReplylog,
    addReplylog,
    updateReplylog
  updateReplylog,
} from "@/api/hosp/replylog";
export default {
    name: "Replylog",
  dicts: ["hz_type"],
    data() {
        return {
            // 遮罩层
@@ -163,13 +259,12 @@
                tjNumber: null,
                userName: null,
                hzType: null,
                hzDoctorName: null
        hzDoctorName: null,
            },
            // 表单参数
            form: {},
            // 表单校验
            rules: {
            }
      rules: {},
        };
    },
    created() {
@@ -184,7 +279,7 @@
        /** 查询会诊回复记录列表 */
        getList() {
            this.loading = true;
            listReplylog(this.queryParams).then(response => {
      listReplylog(this.queryParams).then((response) => {
                this.replylogList = response.rows;
                this.total = response.total;
                this.loading = false;
@@ -218,9 +313,14 @@
                deleted: null,
                hzId: null,
                hzDoctorId: null,
                hzDoctorName: null
        hzDoctorName: null,
            };
            this.resetForm("form");
    },
     hb() {
      if (this.queryParams.tjNumber != null) {
        this.handleQuery();
      }
        },
        /** 搜索按钮操作 */
        handleQuery() {
@@ -234,9 +334,9 @@
        },
        // 多选框选中数据
        handleSelectionChange(selection) {
            this.ids = selection.map(item => item.id)
            this.single = selection.length !== 1
            this.multiple = !selection.length
      this.ids = selection.map((item) => item.id);
      this.single = selection.length !== 1;
      this.multiple = !selection.length;
        },
        /** 新增按钮操作 */
        handleAdd() {
@@ -247,13 +347,16 @@
        /** 修改按钮操作 */
        handleUpdate(row) {
            this.reset();
            const id = row.id || this.ids
            getReplylog(id).then(response => {
      const id = row.id || this.ids;
      getReplylog(id).then((response) => {
                this.form = response.data;
                this.open = true;
                this.title = "修改会诊回复记录";
            });
        },
    submitForm(){},
    handleDelete(){},
    handleExport(){},
        /** 提交按钮 */
        //         submitForm() {
        //             this.$]]
@@ -438,7 +541,6 @@
        //         ...this.queryParams
        //     }, `${businessName}_#[[${new Date().getTime()}.xlsx`)
        // }
    }
}
    ;
  },
};
</script>
src/views/hosp/surveyRecord/index.vue
@@ -15,7 +15,7 @@
          placeholder="请输入体检号"
          clearable
          @keyup.enter.native="handleQuery"
          @blur="handleQuery"
          @blur="hb"
        />
      </el-form-item>
      <el-form-item label="用户姓名" prop="userName">
@@ -285,7 +285,6 @@
  name: "SurveyRecord",
  data() {
    let checkPhoneNum = (rule, value, callback) => {
         console.log( value)
      let patter = new RegExp(/^1\s*[3456789]\s*(\d\s*){9}$/);
      if (value == "" && value == undefined && !value) {
        return callback('');
@@ -389,6 +388,11 @@
      this.tjSurveyRecordDetailList = [];
      this.resetForm("form");
    },
    hb() {
      if (this.queryParams.tjnumber != null) {
        this.handleQuery();
      }
    },
    /** 搜索按钮操作 */
    handleQuery() {
      this.queryParams.pageNum = 1;
src/views/picture/music/index.vue
@@ -15,7 +15,7 @@
          placeholder="请输入体检号"
          clearable
          @keyup.enter.native="handleQuery"
          @blur="handleQuery"
          @blur="hb"
          style="width: 160px"
        />
      </el-form-item>
@@ -1371,6 +1371,12 @@
      };
      this.resetForm("form");
    },
    hb(){
      console.log(this.queryParams.tjNum);
       if (this.queryParams.tjNum != null) {
        this.handleQuery();
      }
    },
    /** 搜索按钮操作 */
    handleQuery() {
      this.queryParams.pageNum = 1;
src/views/picture/other/index.vue
@@ -15,7 +15,7 @@
          placeholder="请输入体检号"
          clearable
          @keyup.enter.native="handleQuery"
          @blur="handleQuery"
          @blur="hb"
          style="width: 160px"
        />
      </el-form-item>
@@ -475,6 +475,12 @@
      };
      this.resetForm("form");
    },
    hb(){
      console.log(this.queryParams.tjNum);
       if (this.queryParams.tjNum != null) {
        this.handleQuery();
      }
    },
    /** 搜索按钮操作 */
    handleQuery() {
      this.queryParams.pageNum = 1;
src/views/picture/picture/index.vue
@@ -15,7 +15,7 @@
          placeholder="请输入体检号"
          clearable
          @keyup.enter.native="handleQuery"
          @blur="handleQuery"
          @blur="hb"
          style="width: 170px"
        />
      </el-form-item>
@@ -339,6 +339,12 @@
      };
      this.resetForm("form");
    },
     hb(){
      console.log(this.queryParams.tjNum);
       if (this.queryParams.tjNum != null) {
        this.handleQuery();
      }
    },
    /** 搜索按钮操作 */
    handleQuery() {
      this.queryParams.pageNum = 1;
src/views/record/record/index.vue
@@ -1,33 +1,83 @@
<template>
    <div class="app-container">
        <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="75px">
    <el-form
      :model="queryParams"
      ref="queryForm"
      size="small"
      :inline="true"
      v-show="showSearch"
      label-width="75px"
    >
            <el-form-item label="体检号" prop="tjNum">
                <el-input v-model="queryParams.tjNum" placeholder="请输入领餐人体检号" clearable @keyup.enter.native="handleQuery" style="width: 200px;" ref="inputName" @blur="handleQuery" />
        <el-input
          v-model="queryParams.tjNum"
          placeholder="请输入领餐人体检号"
          clearable
          @keyup.enter.native="handleQuery"
          style="width: 200px"
          ref="inputName"
          @blur="hb"
        />
            </el-form-item>
            <el-form-item label="姓名" prop="tjPeopleName">
                <el-input v-model="queryParams.tjPeopleName" placeholder="请输入领餐人姓名" clearable style="width: 200px;"
                    @keyup.enter.native="handleQuery" />
        <el-input
          v-model="queryParams.tjPeopleName"
          placeholder="请输入领餐人姓名"
          clearable
          style="width: 200px"
          @keyup.enter.native="handleQuery"
        />
            </el-form-item>
            <el-form-item label="登记时间" prop="cateringId">
                <el-input v-model="queryParams.cateringId" placeholder="请输入登记时间" clearable style="width: 200px;"
                    @keyup.enter.native="handleQuery" />
        <el-input
          v-model="queryParams.cateringId"
          placeholder="请输入登记时间"
          clearable
          style="width: 200px"
          @keyup.enter.native="handleQuery"
        />
            </el-form-item>
            <el-form-item>
                <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
                <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
            </el-form-item>
        </el-form><br>
        <el-button
          type="primary"
          icon="el-icon-search"
          size="mini"
          @click="handleQuery"
          >搜索</el-button
        >
        <el-button icon="el-icon-refresh" size="mini" @click="resetQuery"
          >重置</el-button
        >
      </el-form-item> </el-form
    ><br />
        <el-form :label-position="labelPosition"  :inline="true" label-width="75px" :model="formLabelAlign"
            class="demo-form-inline">
    <el-form
      :label-position="labelPosition"
      :inline="true"
      label-width="75px"
      :model="formLabelAlign"
      class="demo-form-inline"
    >
            <el-form-item label="配餐名称" >
                <el-input v-model="formLabelAlign.name" style="width: 200px;" placeholder="请输入配餐名称"></el-input>
        <el-input
          v-model="formLabelAlign.name"
          style="width: 200px"
          placeholder="请输入配餐名称"
        ></el-input>
            </el-form-item>
            <el-form-item label="套餐明细">
                <el-input v-model="formLabelAlign.region" style="width: 200px;" placeholder="请输入套餐明细"></el-input>
        <el-input
          v-model="formLabelAlign.region"
          style="width: 200px"
          placeholder="请输入套餐明细"
        ></el-input>
            </el-form-item>
            <el-form-item label="营养说明" >
                <el-input v-model="formLabelAlign.type" style="width: 200px;" placeholder="请输入营养说明"></el-input>
        <el-input
          v-model="formLabelAlign.type"
          style="width: 200px"
          placeholder="请输入营养说明"
        ></el-input>
            </el-form-item>
        </el-form>
@@ -43,48 +93,137 @@
                    </el-button>
                </el-col> -->
            <el-col :span="1.5">
                <el-button type="primary" icon="el-icon-plus" size="mini" :disabled="multiple" @click="handleDelete"
                    v-hasPermi="['record:record:remove']">领餐
        <el-button
          type="primary"
          icon="el-icon-plus"
          size="mini"
          :disabled="multiple"
          @click="handleDelete"
          v-hasPermi="['record:record:remove']"
          >领餐
                </el-button>
            </el-col>
            <el-col :span="1.5">
                <el-button type="primary" icon="el-icon-download" size="mini" @click="handleExport"
                    v-hasPermi="['record:record:export']">导出
        <el-button
          type="primary"
          icon="el-icon-download"
          size="mini"
          @click="handleExport"
          v-hasPermi="['record:record:export']"
          >导出
                </el-button>
            </el-col>
            <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
      <right-toolbar
        :showSearch.sync="showSearch"
        @queryTable="getList"
      ></right-toolbar>
        </el-row>
        <el-table v-loading="loading" :data="recordList" @selection-change="handleSelectionChange" border>
    <el-table
      v-loading="loading"
      :data="recordList"
      @selection-change="handleSelectionChange"
      border
    >
            <el-table-column type="selection" width="55" align="center" />
            <!-- <el-table-column label="${comment}" align="center" prop="id"/> -->
            <el-table-column label="序号" align="center" prop="newID" width="55px" />
            <el-table-column label="领餐人体检号" align="center" prop="tjNum" :show-overflow-tooltip="true" />
            <el-table-column label="领餐人姓名" align="center" prop="tjPeopleName" :show-overflow-tooltip="true" />
            <el-table-column label="性别" align="center" prop="cateringId" :show-overflow-tooltip="true" />
            <el-table-column label="年龄" align="center" prop="cateringId" :show-overflow-tooltip="true" />
            <el-table-column label="电话" align="center" prop="cateringId" :show-overflow-tooltip="true" />
            <el-table-column label="团体/个人" align="center" prop="cateringId" :show-overflow-tooltip="true" />
            <el-table-column label="所选套餐" align="center" prop="cateringId" :show-overflow-tooltip="true" />
            <el-table-column label="登记时间" align="center" prop="cateringId" :show-overflow-tooltip="true" />
            <el-table-column label="配餐名称" align="center" prop="cateringId" :show-overflow-tooltip="true" />
            <el-table-column label="报告时间" align="center" prop="cateringId" :show-overflow-tooltip="true" />
            <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="80px">
      <el-table-column
        label="领餐人体检号"
        align="center"
        prop="tjNum"
        :show-overflow-tooltip="true"
      />
      <el-table-column
        label="领餐人姓名"
        align="center"
        prop="tjPeopleName"
        :show-overflow-tooltip="true"
      />
      <el-table-column
        label="性别"
        align="center"
        prop="cateringId"
        :show-overflow-tooltip="true"
      />
      <el-table-column
        label="年龄"
        align="center"
        prop="cateringId"
        :show-overflow-tooltip="true"
      />
      <el-table-column
        label="电话"
        align="center"
        prop="cateringId"
        :show-overflow-tooltip="true"
      />
      <el-table-column
        label="团体/个人"
        align="center"
        prop="cateringId"
        :show-overflow-tooltip="true"
      />
      <el-table-column
        label="所选套餐"
        align="center"
        prop="cateringId"
        :show-overflow-tooltip="true"
      />
      <el-table-column
        label="登记时间"
        align="center"
        prop="cateringId"
        :show-overflow-tooltip="true"
      />
      <el-table-column
        label="配餐名称"
        align="center"
        prop="cateringId"
        :show-overflow-tooltip="true"
      />
      <el-table-column
        label="报告时间"
        align="center"
        prop="cateringId"
        :show-overflow-tooltip="true"
      />
      <el-table-column
        label="操作"
        align="center"
        class-name="small-padding fixed-width"
        width="80px"
      >
                <template slot-scope="scope">
                    <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)"
                        v-hasPermi="['record:record:edit']" title="修改">
          <el-button
            size="mini"
            type="text"
            icon="el-icon-edit"
            @click="handleUpdate(scope.row)"
            v-hasPermi="['record:record:edit']"
            title="修改"
          >
                    </el-button>
                    <el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)"
                        v-hasPermi="['record:record:remove']" title="删除">
          <el-button
            size="mini"
            type="text"
            icon="el-icon-delete"
            @click="handleDelete(scope.row)"
            v-hasPermi="['record:record:remove']"
            title="删除"
          >
                    </el-button>
                </template>
            </el-table-column>
        </el-table>
        <pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize"
            @pagination="getList" />
    <pagination
      v-show="total > 0"
      :total="total"
      :page.sync="queryParams.pageNum"
      :limit.sync="queryParams.pageSize"
      @pagination="getList"
    />
        <!-- 添加或修改领餐记录对话框 -->
        <el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
@@ -93,7 +232,10 @@
                    <el-input v-model="form.tjNum" placeholder="请输入领餐人体检号" />
                </el-form-item>
                <el-form-item label="领餐人姓名" prop="tjPeopleName">
                    <el-input v-model="form.tjPeopleName" placeholder="请输入领餐人姓名" />
          <el-input
            v-model="form.tjPeopleName"
            placeholder="请输入领餐人姓名"
          />
                </el-form-item>
                <el-form-item label="${comment}" prop="cateringId">
                    <el-input v-model="form.cateringId" placeholder="请输入${comment}" />
@@ -113,7 +255,7 @@
    getRecord,
    delRecord,
    addRecord,
    updateRecord
  updateRecord,
} from "@/api/record/record";
export default {
@@ -121,9 +263,9 @@
    data() {
        return {
            formLabelAlign: {
          name: '',
          region: '',
          type: ''
        name: "",
        region: "",
        type: "",
        },
        labelPosition: "right",
            // 遮罩层
@@ -150,13 +292,15 @@
                pageSize: 10,
                tjNum: null,
                tjPeopleName: null,
                cateringId: new Date(new Date().getTime() + 8 * 3600 * 1000).toJSON().substr(0, 19).replace('T', ' '),
        cateringId: new Date(new Date().getTime() + 8 * 3600 * 1000)
          .toJSON()
          .substr(0, 19)
          .replace("T", " "),
            }, 
            // 表单参数
            form: {},
            // 表单校验
            rules: {
            }
      rules: {},
        };
    },
    created() {
@@ -171,10 +315,13 @@
        /** 查询领餐记录列表 */
        getList() {
            this.loading = true;
            listRecord(this.queryParams).then(response => {
      listRecord(this.queryParams).then((response) => {
                this.recordList = response.rows;
                response.rows.forEach((item,index) => {
          item.newID=(this.queryParams.pageNum-1)*this.queryParams.pageSize+index+1
          item.newID =
            (this.queryParams.pageNum - 1) * this.queryParams.pageSize +
            index +
            1;
        });
                this.total = response.total;
                this.loading = false;
@@ -196,9 +343,14 @@
                createTime: null,
                updateBy: null,
                updateTime: null,
                deleted: null
        deleted: null,
            };
            this.resetForm("form");
    },
    hb() {
      if (this.queryParams.tjNum != null) {
        this.handleQuery();
      }
        },
        /** 搜索按钮操作 */
        handleQuery() {
@@ -212,9 +364,9 @@
        },
        // 多选框选中数据
        handleSelectionChange(selection) {
            this.ids = selection.map(item => item.id)
            this.single = selection.length !== 1
            this.multiple = !selection.length
      this.ids = selection.map((item) => item.id);
      this.single = selection.length !== 1;
      this.multiple = !selection.length;
        },
        /** 新增按钮操作 */
        handleAdd() {
@@ -225,8 +377,8 @@
        /** 修改按钮操作 */
        handleUpdate(row) {
            this.reset();
            const id = row.id || this.ids
            getRecord(id).then(response => {
      const id = row.id || this.ids;
      getRecord(id).then((response) => {
                this.form = response.data;
                this.open = true;
                this.title = "修改领餐记录";
@@ -234,16 +386,16 @@
        },
        /** 提交按钮 */
        submitForm() {
            this.$refs["form"].validate(valid => {
      this.$refs["form"].validate((valid) => {
                if (valid) {
                    if (this.form.reId != null) {
                        updateRecord(this.form).then(response => {
            updateRecord(this.form).then((response) => {
                            this.$modal.msgSuccess("修改成功");
                            this.open = false;
                            this.getList();
                        });
                    } else {
                        addRecord(this.form).then(response => {
            addRecord(this.form).then((response) => {
                            this.$modal.msgSuccess("新增成功");
                            this.open = false;
                            this.getList();
@@ -255,25 +407,31 @@
        /** 删除按钮操作 */
        handleDelete(row) {
            const reIds = row.reId || this.ids;
            this.$modal.confirm('是否确认删除编号为"' + reIds + '"的数据项?').then(function () {
      this.$modal
        .confirm('是否确认删除编号为"' + reIds + '"的数据项?')
        .then(function () {
                return delRecord(reIds);
            }).then(() => {
        })
        .then(() => {
                this.getList();
                this.$modal.msgSuccess("删除成功");
            }).catch(() => { });
        })
        .catch(() => {});
        },
        /** 复选框选中数据 */
        handleDmKsSelectionChange(selection) {
            this.checkedDmKs = selection.map(item => item.index)
        }
        ,
      this.checkedDmKs = selection.map((item) => item.index);
    },
        /** 导出按钮操作 */
        handleExport() {
            this.download('${moduleName}/${businessName}/export', {
                ...this.queryParams
            }, `${businessName}_#[[${new Date().getTime()}.xlsx`)
        }
    }
}
    ;
      this.download(
        "${moduleName}/${businessName}/export",
        {
          ...this.queryParams,
        },
        `${businessName}_#[[${new Date().getTime()}.xlsx`
      );
    },
  },
};
</script>
src/views/sampling/sampling/index.vue
@@ -15,7 +15,7 @@
          placeholder="请输入体检号"
          clearable
          @keyup.enter.native="handleQuery"
          @blur="handleQuery"
          @blur="hb"
          style="width: 170px"
        />
      </el-form-item>
@@ -455,6 +455,12 @@
      };
      this.resetForm("form");
    },
    hb(){
      console.log(this.queryParams.tjNum);
       if (this.queryParams.tjNum != null) {
        this.handleQuery();
      }
    },
    /** 搜索按钮操作 */
    handleQuery() {
      this.queryParams.pageNum = 1;
src/views/system/Checkout/index.vue
@@ -1,65 +1,170 @@
<template>
  <div class="app-container">
    <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
    <el-form
      :model="queryParams"
      ref="queryForm"
      size="small"
      :inline="true"
      v-show="showSearch"
      label-width="68px"
    >
      <el-form-item label="姓名" prop="name">
        <el-input style="width: 116px" ref="inputName" v-model="queryParams.name" placeholder="请输入姓名"
          @keyup.enter.native="handleQuery" />
        <el-input
          style="width: 116px"
          ref="inputName"
          v-model="queryParams.name"
          placeholder="请输入姓名"
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="体检号" prop="tjNum">
        <el-input ref="inputName" v-model="queryParams.tjNum" placeholder="请输入体检号" @keyup.enter.native="handleQuery"  @blur="handleQuery"
          style="width:170px" clearable />
        <el-input
          ref="inputName"
          v-model="queryParams.tjNum"
          placeholder="请输入体检号"
          @keyup.enter.native="handleQuery"
          @blur="hb"
          style="width: 170px"
          clearable
        />
      </el-form-item>
      <el-form-item label="登记时间" prop="createTimeList">
        <el-date-picker clearable v-model="createTimeList" @change="dateChangebirthday1" style="width: 240px"
          value-format="yyyy-MM-dd" type="daterange" range-separator="-" start-placeholder="开始日期" end-placeholder="结束日期"
          :picker-options="pickerOptions"></el-date-picker>
        <el-date-picker
          clearable
          v-model="createTimeList"
          @change="dateChangebirthday1"
          style="width: 240px"
          value-format="yyyy-MM-dd"
          type="daterange"
          range-separator="-"
          start-placeholder="开始日期"
          end-placeholder="结束日期"
          :picker-options="pickerOptions"
        ></el-date-picker>
      </el-form-item>
      <!-- <el-form-item label="报告时间" prop="reportTimeList">
        <el-date-picker clearable v-model="queryParams.reportTimeList" type="daterange" range-separator="-" start-placeholder="开始日期" end-placeholder="结束日期" :picker-options="pickerOptions" value-format="yyyy-MM-dd" placeholder="请选择出报告时间" style="width: 240px">
        </el-date-picker>
      </el-form-item> -->
      <el-form-item>
        <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
        <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
        <el-button
          type="primary"
          icon="el-icon-search"
          size="mini"
          @click="handleQuery"
          >搜索</el-button
        >
        <el-button icon="el-icon-refresh" size="mini" @click="resetQuery"
          >重置</el-button
        >
      </el-form-item>
    </el-form>
    <el-row :gutter="10" style="margin: 0 16px;">
    <el-row :gutter="10" style="margin: 0 16px">
      <!-- <el-col :span="1.5">
        <el-button type="primary" icon="el-icon-download" size="mini" @click="handleExport"
          v-hasPermi="['hosp:order:export']" style="margin-left:14px">导出</el-button>
      </el-col> -->
      <el-col :span="1.5">
        <el-button type="primary" size="mini" @click="handleDelete" :disabled="multiple">签离登记</el-button>
        <el-button
          type="primary"
          size="mini"
          @click="handleDelete"
          :disabled="multiple"
          >签离登记</el-button
        >
      </el-col>
      <right-toolbar :showSearch.sync="showSearch" @queryTable="getList" style="margin-right:40px"></right-toolbar>
      <right-toolbar
        :showSearch.sync="showSearch"
        @queryTable="getList"
        style="margin-right: 40px"
      ></right-toolbar>
    </el-row>
    <template>
      <el-table ref="tb" border style="margin: 14px; width: 98%" v-loading="loading" :data="orderList"
        @selection-change="handleSelectionChange">
        <el-table-column type="selection" width="40" align="center" fixed="left" />
        <el-table-column label="序号" align="center" prop="newID" width="50px" fixed="left" />
        <el-table-column label="姓名" align="center" prop="tjCustomerName" width="100px" :show-overflow-tooltip="true"
          fixed="left" />
        <el-table-column label="性别" align="center" prop="tjCustomerSex" width="55px" :show-overflow-tooltip="true">
      <el-table
        ref="tb"
        border
        style="margin: 14px; width: 98%"
        v-loading="loading"
        :data="orderList"
        @selection-change="handleSelectionChange"
      >
        <el-table-column
          type="selection"
          width="40"
          align="center"
          fixed="left"
        />
        <el-table-column
          label="序号"
          align="center"
          prop="newID"
          width="50px"
          fixed="left"
        />
        <el-table-column
          label="姓名"
          align="center"
          prop="tjCustomerName"
          width="100px"
          :show-overflow-tooltip="true"
          fixed="left"
        />
        <el-table-column
          label="性别"
          align="center"
          prop="tjCustomerSex"
          width="55px"
          :show-overflow-tooltip="true"
        >
          <template slot-scope="scope">
            <span v-if="scope.row.tjCustomerSex == '0'">男</span>
            <span v-if="scope.row.tjCustomerSex == '1'">女</span>
            <span v-if="scope.row.tjCustomerSex == '2'">未知</span>
          </template>
        </el-table-column>
        <el-table-column label="年龄" align="center" prop="tjCustomerAge" width="55px" :show-overflow-tooltip="true" />
        <el-table-column label="电话" align="center" prop="tjCustomerPhone" width="120px" :show-overflow-tooltip="true" />
        <el-table-column label="体检类型" align="center" prop="tjType" width="80px" :show-overflow-tooltip="true">
        <el-table-column
          label="年龄"
          align="center"
          prop="tjCustomerAge"
          width="55px"
          :show-overflow-tooltip="true"
        />
        <el-table-column
          label="电话"
          align="center"
          prop="tjCustomerPhone"
          width="120px"
          :show-overflow-tooltip="true"
        />
        <el-table-column
          label="体检类型"
          align="center"
          prop="tjType"
          width="80px"
          :show-overflow-tooltip="true"
        >
          <template slot-scope="scope">
            <span v-if="scope.row.tjType == '2'">个人</span>
            <span v-if="scope.row.tjType == '1'">团队</span>
          </template>
        </el-table-column>
        <el-table-column label="体检号" align="center" prop="tjNumber" width="160px" :show-overflow-tooltip="true" />
        <el-table-column
          label="体检号"
          align="center"
          prop="tjNumber"
          width="160px"
          :show-overflow-tooltip="true"
        />
        <el-table-column label="登记时间" align="center" prop="createTime" width="155px" :show-overflow-tooltip="true">
        <el-table-column
          label="登记时间"
          align="center"
          prop="createTime"
          width="155px"
          :show-overflow-tooltip="true"
        >
          <template slot-scope="scope">
            <span>{{ parseTime(scope.row.createTime) }}</span>
          </template>
@@ -74,58 +179,139 @@
            <span>{{ parseTime(scope.row.reportTime) }}</span>
          </template>
        </el-table-column> -->
        <el-table-column label="所选套餐" align="center" prop="pacName" width="150px" :show-overflow-tooltip="true" />
        <el-table-column label="单位工号" align="center" prop="firmWorkId" width="100px" :show-overflow-tooltip="true" />
        <el-table-column label="单位名称" align="center" prop="dictCompName" :show-overflow-tooltip="true" height="10px" />
        <el-table-column
          label="所选套餐"
          align="center"
          prop="pacName"
          width="150px"
          :show-overflow-tooltip="true"
        />
        <el-table-column
          label="单位工号"
          align="center"
          prop="firmWorkId"
          width="100px"
          :show-overflow-tooltip="true"
        />
        <el-table-column
          label="单位名称"
          align="center"
          prop="dictCompName"
          :show-overflow-tooltip="true"
          height="10px"
        />
      </el-table>
    </template>
    <div class="pag">
      <div class="pag1">
        <el-pagination background @size-change="handleSizeChange" @current-change="handleCurrentChange"
          :current-page="queryParams.pageNum" :page-sizes="[10, 20, 30, 40]" :page-size="queryParams.pageSize"
          layout="total, sizes, prev, pager, next, jumper" :total="total">
        <el-pagination
          background
          @size-change="handleSizeChange"
          @current-change="handleCurrentChange"
          :current-page="queryParams.pageNum"
          :page-sizes="[10, 20, 30, 40]"
          :page-size="queryParams.pageSize"
          layout="total, sizes, prev, pager, next, jumper"
          :total="total"
        >
        </el-pagination>
      </div>
    </div>
    <el-dialog title="PDF 预览" :visible.sync="dialogVisible" :close-on-click-modal="false">
    <el-dialog
      title="PDF 预览"
      :visible.sync="dialogVisible"
      :close-on-click-modal="false"
    >
      <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="daoZhenDan" :close-on-click-modal="false">
    <el-dialog
      title="导诊单"
      :visible.sync="daoZhenDan"
      :close-on-click-modal="false"
    >
      <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="title" :visible.sync="open" width="660px">
      <el-form :model="formIn" ref="queryForm" size="small" :inline="true" label-width="68px">
      <el-form
        :model="formIn"
        ref="queryForm"
        size="small"
        :inline="true"
        label-width="68px"
      >
        <el-form-item label="体检号" prop="tjNumber">
          <el-input ref="inputName" v-model="formIn.tjNumber" style="width:212px" clearable />
          <el-input
            ref="inputName"
            v-model="formIn.tjNumber"
            style="width: 212px"
            clearable
          />
        </el-form-item>
        <el-form-item label="登记时间" prop="createTime">
          <el-input ref="inputName" v-model="formIn.createTime" style="width:212px" clearable />
          <el-input
            ref="inputName"
            v-model="formIn.createTime"
            style="width: 212px"
            clearable
          />
        </el-form-item>
        <br>
        <br />
        <el-form-item label="姓名" prop="tjCustomerName">
          <el-input style="width: 116px" ref="inputName" v-model="formIn.tjCustomerName" />
          <el-input
            style="width: 116px"
            ref="inputName"
            v-model="formIn.tjCustomerName"
          />
        </el-form-item>
        <el-form-item label="性别" prop="tjCustomerSex">
          <el-input style="width: 116px" ref="inputName" v-model="formIn.tjCustomerSex" />
          <el-input
            style="width: 116px"
            ref="inputName"
            v-model="formIn.tjCustomerSex"
          />
        </el-form-item>
        <el-form-item label="年龄" prop="tjCustomerAge">
          <el-input style="width: 116px" ref="inputName" v-model="formIn.tjCustomerAge" placeholder="请输入姓名" />
          <el-input
            style="width: 116px"
            ref="inputName"
            v-model="formIn.tjCustomerAge"
            placeholder="请输入姓名"
          />
        </el-form-item>
      </el-form>
      <el-table :data="numberList" style="width: 100%;margin-bottom: 10px;" height="400px" border :row-class-name="tableRowClassName">
        <el-table-column prop="proCheckType" label="检查类型" width="180" align="center">
      <el-table
        :data="numberList"
        style="width: 100%; margin-bottom: 10px"
        height="400px"
        border
        :row-class-name="tableRowClassName"
      >
        <el-table-column
          prop="proCheckType"
          label="检查类型"
          width="180"
          align="center"
        >
        </el-table-column>
        <el-table-column prop="proName" label="项目" width="180" align="center">
        </el-table-column>
@@ -136,27 +322,52 @@
        </el-table-column>
        <el-table-column label="弃检" prop="type2" width="86" align="center">
          <template slot-scope="scope">
            <el-checkbox @change="handelcheckbox" v-model="scope.row.type2" :disabled="leave">
            <el-checkbox
              @change="handelcheckbox"
              v-model="scope.row.type2"
              :disabled="leave"
            >
              <!-- <el-checkbox v-model="scope.row.type2"></el-checkbox> -->
            </el-checkbox>
          </template>
        </el-table-column>
        <el-table-column label="延期" prop="type3" width="86" align="center">
          <template slot-scope="scope">
            <el-checkbox @change="handelcheck" v-model="scope.row.type3" :disabled="leave">
            <el-checkbox
              @change="handelcheck"
              v-model="scope.row.type3"
              :disabled="leave"
            >
            </el-checkbox>
          </template>
        </el-table-column>
      </el-table>
      <div v-show="tcShow">
        <el-form :model="postpone" ref="queryForm" v-show="postpone" size="small" label-width="68px">
        <el-form
          :model="postpone"
          ref="queryForm"
          v-show="postpone"
          size="small"
          label-width="68px"
        >
          <el-form-item label="延期天数" prop="day">
            <el-input ref="inputName" v-model="postpone.day" style="width:170px" clearable />
            <el-input
              ref="inputName"
              v-model="postpone.day"
              style="width: 170px"
              clearable
            />
          </el-form-item>
          <br>
          <br />
          <el-form-item label="延期原因" prop="cause">
            <el-input style="width:100%" ref="inputName" v-model="postpone.cause" maxlength="10" show-word-limit />
            <el-input
              style="width: 100%"
              ref="inputName"
              v-model="postpone.cause"
              maxlength="10"
              show-word-limit
            />
          </el-form-item>
        </el-form>
      </div>
@@ -217,7 +428,7 @@
      List: [],
      postpone: {
        day: null,
        caches: null
        caches: null,
      },
      tcShow: false,
      // remarkId: "",
@@ -426,6 +637,11 @@
      };
      this.resetForm("form");
    },
    hb(){
       if (this.queryParams.tjNum != undefined) {
        this.handleQuery();
      }
    },
    /** 搜索按钮操作 */
    handleQuery() {
      this.queryParams.pageNum = 1;
@@ -534,9 +750,9 @@
      // })
      for (let i = 0; i <= this.numberList.length; i++) {
        if (this.numberList[i].type2 === true) {
          this.numberList[i].type3 = false
          this.tcShow = false
          return
          this.numberList[i].type3 = false;
          this.tcShow = false;
          return;
        }
      }
      // this.type2 = val
@@ -565,9 +781,9 @@
      // })
      for (let i = 0; i <= this.numberList.length; i++) {
        if (this.numberList[i].type3 === true) {
          this.numberList[i].type2 = false
          this.tcShow = true
          return
          this.numberList[i].type2 = false;
          this.tcShow = true;
          return;
        }
      }
      // this.numberList.forEach(item => {
@@ -585,21 +801,19 @@
      //     }
      //   }
      // })
    },
    /** 签离按钮操作 */
    handleDelete() {
      this.title = "签离登记";
      this.List.forEach((item) => {
        this.formIn = item
        this.formIn = item;
        if (this.formIn.tjCustomerSex === 0) {
          this.formIn.tjCustomerSex = "男"
          this.formIn.tjCustomerSex = "男";
        } else if(this.formIn.tjCustomerSex === 1) {
          this.formIn.tjCustomerSex = "女"
          this.formIn.tjCustomerSex = "女";
        }else if(this.formIn.tjCustomerSex === 2){
          this.formIn.tjCustomerSex = "未知"
          this.formIn.tjCustomerSex = "未知";
        }
        this.tjNumber = item.tjNumber;
      });
@@ -609,7 +823,7 @@
      goabandon(data).then((res) => {
        if (res.data.length != 0) {
          this.numberList = res.data;
          this.numberList.forEach(item => {
          this.numberList.forEach((item) => {
            if (item.type === 1) {
              item.type = true;
              item.type2 = false;
@@ -621,8 +835,8 @@
            item = {
              type2: false,
              type3: false,
            }
          })
            };
          });
          this.open = true;
        } else {
          let data = {
@@ -643,29 +857,29 @@
      this.List.forEach((item) => {
        this.tjNumber = item.tjNumber;
      });
      this.numberList.forEach(element => {
      this.numberList.forEach((element) => {
        if (element.type2 === true) {
          this.type = 2
          this.type = 2;
          this.DataList.push({
            tjNumber: this.tjNumber,
            type: this.type,
            remarkId: element.remarkId
          })
            remarkId: element.remarkId,
          });
        } else if (element.type3 === true) {
          this.type1 = 3
          this.type1 = 3;
          this.DataList.push({
            tjNumber: this.tjNumber,
            day: this.postpone.day,
            remark: this.postpone.cause,
            type: this.type1,
            remarkId: element.remarkId,
          })
          });
        }
      });
      let data = {
        domainVos:this.DataList,
        tjNumber:this.tjNumber
      }
        tjNumber: this.tjNumber,
      };
      gettjGoOut(data).then((res) => {
        if (res.code === 200) {
          this.$modal.msgSuccess("操作成功");
src/views/system/bill/index.vue
@@ -24,7 +24,7 @@
          placeholder="请输入体检号"
          clearable
          @keyup.enter.native="handleQuery"
          @blur="handleQuery"
          @blur="hb"
        />
      </el-form-item>
      <el-form-item label="登记时间" prop="createTimeList">
@@ -878,6 +878,12 @@
      };
      this.resetForm("form");
    },
    hb(){
      console.log(this.queryParams.tjNum);
       if (this.queryParams.tjNum != undefined) {
        this.handleQuery();
      }
    },
    /** 搜索按钮操作 */
    handleQuery() {
      this.queryParams.pageNum = 1;
src/views/system/biol/index.vue
@@ -24,7 +24,7 @@
          clearable
          @keyup.enter.native="handleQuery"
          ref="inputName"
          @blur="handleQuery"
          @blur="hb"
        />
      </el-form-item>
      <el-form-item label="报告时间" prop="reportTimeList">
@@ -988,6 +988,11 @@
      };
      this.resetForm("form");
    },
    hb() {
      if (this.queryParams.tjNum != undefined) {
        this.handleQuery();
      }
    },
    /** 搜索按钮操作 */
    handleQuery() {
      this.queryParams.pageNum = 1;
@@ -1012,7 +1017,6 @@
      // }
      this.multiple = !selection.length;
      this.report = selection.map((item) => item.tjNumber);
      console.log(this.report);
    },
    investigation(row) {
src/views/system/charge/index.vue
@@ -10,7 +10,7 @@
          </el-col>
          <el-col :span="6">
            <el-form-item label="体检号" prop="tjNum" style="display: flex;">
              <el-input ref="inputName" v-model="form.tjNum" placeholder="请输入体检号"   @keyup.enter.native="submitFormchanck"  />
              <el-input ref="inputName" v-model="form.tjNum" placeholder="请输入体检号"   @keyup.enter.native="submitFormchanck" @blur="hb"  />
            </el-form-item>
          </el-col>
@@ -176,6 +176,12 @@
        }
      });
    },
    hb(){
      console.log(this.form.tjNum);
       if (this.form.tjNum != "") {
        this.submitFormchanck();
      }
    },
    submitFormchanck() {
      this.loading = true;
      getfindTj(this.form).then((response) => {
src/views/system/circle/index.vue
@@ -7,7 +7,7 @@
      </el-form-item>
      <el-form-item label="体检号" prop="tjNum">
        <el-input style="width: 170px" v-model="queryParams.tjNum" placeholder="请输入体检号" clearable
          @keyup.enter.native="handleQuery" @blur="handleQuery" ref="inputName" />
          @keyup.enter.native="handleQuery" @blur="hb" ref="inputName" />
      </el-form-item>
      <el-form-item label="登记时间" prop="createTimeList">
        <el-date-picker v-model="createTimeList" type="datetimerange" align="right" :picker-options="pickerOptions"
@@ -567,6 +567,12 @@
      this.queryParams.pageNum = 1;
      this.getList();
    },
    hb() {
      console.log(this.queryParams.tjNum);
      if (this.queryParams.tjNum != undefined) {
        this.handleQuery();
      }
    },
    handleQuerys() {
      this.emerc = true;
      this.queryParam.pageNum = 1;
src/views/system/invoice/index.vue
@@ -10,7 +10,7 @@
        </el-col>
        <el-col :span="6">
          <el-form-item label="体检号" prop="tjNum" style="display: flex;">
            <el-input ref="inputName"  v-model="queryParams.tjNum" placeholder="请输入体检号" @keyup.enter.native="handleQuery" @blur="handleQuery"
            <el-input ref="inputName"  v-model="queryParams.tjNum" placeholder="请输入体检号" @keyup.enter.native="handleQuery" @blur="hb"
              clearable />
          </el-form-item>
        </el-col>
@@ -424,6 +424,12 @@
      };
      this.resetForm("form");
    },
    hb(){
      console.log(this.queryParams.tjNum);
       if (this.queryParams.tjNum != null) {
        this.handleQuery();
      }
    },
    /** 搜索按钮操作 */
    handleQuery() {
      this.queryParams.pageNum = 1;
src/views/system/refund/index.vue
@@ -6,7 +6,7 @@
        <el-row>
          <el-col :span="6">
            <el-form-item label="体检号" prop="tjNum" style="display: flex;">
              <el-input ref="inputName" v-model="form.tjNum" placeholder="请输入体检号" @keyup.enter.native="handle"  @blur="handle" />
              <el-input ref="inputName" v-model="form.tjNum" placeholder="请输入体检号" @keyup.enter.native="handle"  @blur="hb" />
            </el-form-item>
          </el-col>
          <el-col :span="5">
@@ -200,7 +200,12 @@
        this.$refs.inputName.focus();
      });
    },
    hb(){
      console.log(this.form.tjNum);
       if (this.form.tjNum != null) {
        this.handle();
      }
    },
    /** 搜索操作 */
    handle() {
      this.loading = true;
src/views/system/tijian/index.vue
@@ -1213,7 +1213,6 @@
    /** 查询信息列表 */
    getList() {
      this.loading = true;
      // listCustomer(this.queryParams).then((response) => {
      //   this.customerList = response.rows;
      //   this.total = response.total;
@@ -1688,6 +1687,7 @@
      let cusSex = this.form.cusSex;
      this.datekey = Date.now();
      //全部套餐
      this.loading = true;
      deptTreeSelect(cusSex).then((response) => {
        this.newpacName = response.rows;
        console.log(this.newpacName)
@@ -2153,6 +2153,9 @@
<style >
.el-form-item__error {
        display: none;
    }
.el-table__header-wrapper .el-checkbox {
  display: none;
}
src/views/system/tijianall/index.vue
@@ -1378,6 +1378,7 @@
      let cusSex = this.form.cusSex;
      this.datekey = Date.now();
      //全部套餐
      this.loading = true;
      deptTreeSelect(cusSex).then((response) => {
        this.newpacName = response.rows;
        try {
src/views/system/transmit/index.vue
@@ -15,7 +15,7 @@
          placeholder="请输入体检号"
          clearable
          @keyup.enter.native="handleQuery"
          @blur="handleQuery"
          @blur="hb"
        />
      </el-form-item>
      <el-form-item label="接收号码" prop="number">
@@ -249,7 +249,6 @@
  name: "Record",
  data() {
    let checkPhoneNum = (rule, value, callback) => {
         console.log( value)
      let patter = new RegExp(/^1\s*[3456789]\s*(\d\s*){9}$/);
      if (value == "" && value == undefined && !value) {
        return callback('');
@@ -360,6 +359,11 @@
      };
      this.resetForm("form");
    },
    hb() {
      if (this.queryParams.tjNum != null) {
        this.handleQuery();
      }
    },
    /** 搜索按钮操作 */
    handleQuery() {
      this.queryParams.pageNum = 1;
src/views/system/visit/index.vue
@@ -6,7 +6,7 @@
          @keyup.enter.native="handleQuery" />
      </el-form-item>
      <el-form-item label="体检号" prop="tjNum">
        <el-input style="width: 170px" v-model="queryParams.tjNum" placeholder="请输入体检号" clearable ref="inputName"  @blur="handleQuery"
        <el-input style="width: 170px" v-model="queryParams.tjNum" placeholder="请输入体检号" clearable ref="inputName"  @blur="hb"
          @keyup.enter.native="handleQuery" />
      </el-form-item>
      <el-form-item label="登记时间" prop="createTimeList">
@@ -229,6 +229,21 @@
        </div>
      </div>
    </el-drawer>
    <el-dialog
      title="PDF 预览"
      :visible.sync="dialogVisible"
      :close-on-click-modal="false"
    >
      <div class="main">
        <iframe
          id="printIframe"
          :src="url"
          frameborder="0"
          style="width: 100%; height: 100%"
        ></iframe>
      </div>
    </el-dialog>
  </div>
</template>
@@ -578,6 +593,11 @@
      this.queryParams.pageNum = 1;
      this.getList();
    },
    hb() {
      if (this.queryParams.tjNum != undefined) {
        this.handleQuery();
      }
    },
    handleQuerys() {
      this.emerc = true;
      this.queryParam.pageNum = 1;
vue.config.js
@@ -53,7 +53,7 @@
      // detail: https://cli.vuejs.org/config/#devserver-proxy
      [process.env.VUE_APP_BASE_API]: {
        //target: `https://ltpeis.xaltjdkj.cn:5501/prod-api/getInfo`,
        target: `http://192.168.0.112:5011`,
        target: `http://192.168.0.108: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`,