| | |
| | | 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> |
| | |
| | | </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" |
| | |
| | | dateChangebirthday1(val) { |
| | | this.startTime = val; |
| | | }, |
| | | hb(){ |
| | | console.log(this.queryParams.tjNumber); |
| | | if (this.queryParams.tjNumber != "") { |
| | | this.submitForm(); |
| | | } |
| | | }, |
| | | |
| | | // 搜索 |
| | | submitForm() { |
| | |
| | | v-model="queryParams.tjNumber" |
| | | style="width: 240px" |
| | | placeholder="请输入体检号" |
| | | @blur="submitForm" |
| | | @blur="hb" |
| | | @keyup.enter.native="submitForm" |
| | | ></el-input> |
| | | </el-form-item> |
| | |
| | | } |
| | | }); |
| | | }, |
| | | hb(){ |
| | | console.log(this.queryParams.tjNumber); |
| | | if (this.queryParams.tjNumber != "") { |
| | | this.submitForm(); |
| | | } |
| | | }, |
| | | |
| | | // 搜索 |
| | | submitForm() { |
| | |
| | | placeholder="请输入体检号" |
| | | clearable |
| | | @keyup.enter.native="submitForm" |
| | | @blur="submitForm" |
| | | @blur="hb" |
| | | ></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="体检时间" prop="tjTime"> |
| | |
| | | "lj_positive", |
| | | "tj_work", |
| | | "tj_work_status", |
| | | "tj_smoking_pinlv", |
| | | "tj_work" |
| | | ], |
| | | name: "checkAll", |
| | | data() { |
| | |
| | | this.startTime = val; |
| | | }, |
| | | |
| | | hb(){ |
| | | if (this.queryParams.tjNumber != "") { |
| | | this.submitForm(); |
| | | } |
| | | }, |
| | | |
| | | // 搜索 |
| | | submitForm() { |
| | | this.loading = true; |
| | |
| | | placeholder="请输入体检号" |
| | | clearable |
| | | @keyup.enter.native="handleQuery" |
| | | @blur="hb" |
| | | style="width: 170px" |
| | | /> |
| | | </el-form-item> |
| | |
| | | } |
| | | }); |
| | | }, |
| | | |
| | | hb(){ |
| | | console.log(this.queryParams.tjNumber); |
| | | if (this.queryParams.tjNumber != null) { |
| | | this.handleQuery(); |
| | | } |
| | | }, |
| | | /** 搜索按钮操作 */ |
| | | handleQuery() { |
| | | this.queryParams.page = 1; |
| | |
| | | v-model="queryParams.tjNumber" |
| | | style="width: 240px" |
| | | placeholder="请输入体检号" |
| | | @blur="submitForm" |
| | | @blur="hb" |
| | | @keyup.enter.native="submitForm" |
| | | ></el-input> |
| | | </el-form-item> |
| | |
| | | queryParams: { |
| | | page: 1, |
| | | pageSize: 10, |
| | | pageNum:1, |
| | | tjNumber: "", |
| | | type: "", |
| | | name: null, |
| | |
| | | } |
| | | }); |
| | | }, |
| | | hb(){ |
| | | console.log(this.queryParams.tjNumber); |
| | | if (this.queryParams.tjNumber != "") { |
| | | this.submitForm(); |
| | | } |
| | | }, |
| | | |
| | | // 搜索 |
| | | submitForm() { |
| | |
| | | @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> |
| | |
| | | |
| | | }); |
| | | }, |
| | | hb(){ |
| | | console.log(this.queryParams.tjNumber); |
| | | if (this.queryParams.tjNumber != "") { |
| | | this.submitForm(); |
| | | } |
| | | }, |
| | | |
| | | // 搜索 |
| | | submitForm() { |
| | |
| | | <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> |
| | |
| | | </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> |
| | |
| | | |
| | | <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 { |
| | |
| | | ViewPdf, |
| | | }, |
| | | name: "Order", |
| | | dicts: ['tj_send_type', 'sys_normal_disable'], |
| | | dicts: ["tj_send_type", "sys_normal_disable"], |
| | | data() { |
| | | return { |
| | | mail: true, |
| | |
| | | dialogVisibles() { |
| | | this.$message.error("请连接拨号器!"); |
| | | }, |
| | | handleClick(tab, event) { |
| | | }, |
| | | handleClick(tab, event) {}, |
| | | //处理默认选中当前日期 |
| | | getNowTime() { |
| | | var curDate = new Date().getTime(); |
| | |
| | | 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) => { |
| | |
| | | // 搜索 |
| | | handleTempType() { |
| | | this.loading = true; |
| | | this.transmit() |
| | | this.transmit(); |
| | | }, |
| | | // 取消按钮 |
| | | cancel() { |
| | |
| | | }; |
| | | this.resetForm("form"); |
| | | }, |
| | | hb() { |
| | | if (this.queryParams.tjNum != null) { |
| | | this.handleQuery(); |
| | | } |
| | | }, |
| | | /** 搜索按钮操作 */ |
| | | handleQuery() { |
| | | this.queryParams.pageNum = 1; |
| | |
| | | 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(); |
| | |
| | | |
| | | // 出现邮件弹框 |
| | | 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; |
| | |
| | | }, |
| | | // 出现短信弹框 |
| | | 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; |
| | |
| | | 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() { |
| | |
| | | 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("请选择短信模板"); |
| | | } |
| | |
| | | </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" |
| | |
| | | }; |
| | | this.resetForm("form"); |
| | | }, |
| | | |
| | | hb() { |
| | | if (this.queryParams.tjNum != null) { |
| | | this.handleQuery(); |
| | | } |
| | | }, |
| | | /** 搜索按钮操作 */ |
| | | handleQuery() { |
| | | this.queryParams.pageNum = 1; |
| | |
| | | style="width: 170px" |
| | | clearable |
| | | @keyup.enter.native="handleQuery" |
| | | @blur="hb" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item> |
| | |
| | | ], |
| | | 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(""); |
| | |
| | | this.tjAskHistorysList = []; |
| | | this.resetForm("form"); |
| | | }, |
| | | hb(){ |
| | | if (this.queryParams.tjNum != undefined) { |
| | | this.handleQuery(); |
| | | } |
| | | }, |
| | | /** 搜索按钮操作 */ |
| | | handleQuery() { |
| | | this.queryParams.pageNum = 1; |
| | |
| | | <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> |
| | | |
| | |
| | | <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" /> --> |
| | |
| | | <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']">删除 |
| | |
| | | </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> |
| | |
| | | getHzlog, |
| | | delHzlog, |
| | | addHzlog, |
| | | updateHzlog |
| | | updateHzlog, |
| | | } from "@/api/hosp/hzlog"; |
| | | |
| | | export default { |
| | | name: "Hzlog", |
| | | dicts: ["hz_type"], |
| | | data() { |
| | | return { |
| | | // 遮罩层 |
| | |
| | | // 表单参数 |
| | | form: {}, |
| | | // 表单校验 |
| | | rules: { |
| | | } |
| | | rules: {}, |
| | | }; |
| | | }, |
| | | created() { |
| | |
| | | 列表 */ |
| | | 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; |
| | |
| | | updateBy: null, |
| | | deleted: null, |
| | | hzDoctorId: null, |
| | | hzDoctorName: null |
| | | hzDoctorName: null, |
| | | }; |
| | | this.resetForm("form"); |
| | | }, |
| | | hb() { |
| | | if (this.queryParams.tjNumber != null) { |
| | | this.handleQuery(); |
| | | } |
| | | }, |
| | | /** 搜索按钮操作 */ |
| | | handleQuery() { |
| | |
| | | }, |
| | | // 多选框选中数据 |
| | | 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() { |
| | |
| | | // ...this.queryParams |
| | | // }, `${businessName}_#[[${new Date().getTime()}.xlsx`) |
| | | // } |
| | | } |
| | | } |
| | | ; |
| | | }, |
| | | }; |
| | | </script> |
| | |
| | | <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", |
| | |
| | | tjNum: null, |
| | | cusName: null, |
| | | registrationTime: null, |
| | | proName: null |
| | | proName: null, |
| | | }, |
| | | // 表单参数 |
| | | form: {}, |
| | |
| | | /** 查询弃检列表 */ |
| | | 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; |
| | |
| | | cusName: null, |
| | | registrationTime: null, |
| | | proId: null, |
| | | proName: null |
| | | proName: null, |
| | | }; |
| | | this.resetForm("form"); |
| | | }, |
| | | hb() { |
| | | if (this.queryParams.tjNum != null) { |
| | | this.handleQuery(); |
| | | } |
| | | }, |
| | | /** 搜索按钮操作 */ |
| | | handleQuery() { |
| | |
| | | }, |
| | | // 多选框选中数据 |
| | | 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> |
| | |
| | | </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" |
| | |
| | | }; |
| | | this.resetForm("form"); |
| | | }, |
| | | hb(){ |
| | | if (this.queryParams.tjNum != undefined) { |
| | | this.handleQuery(); |
| | | } |
| | | }, |
| | | /** 搜索按钮操作 */ |
| | | handleQuery() { |
| | | this.queryParams.pageNum = 1; |
| | |
| | | // } |
| | | this.TotalPrice1 = 0; |
| | | this.proIds = []; |
| | | console.log(this.DataList) |
| | | if (this.DataList.length != 0) { |
| | | this.list1 = false; |
| | | this.DataList.forEach((item) => { |
| | |
| | | <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> |
| | | |
| | |
| | | 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 { |
| | |
| | | printBy: null, |
| | | printTime: null, |
| | | printStatus: null, |
| | | createBy:null |
| | | createBy: null, |
| | | }, |
| | | // 表单参数 |
| | | form: {}, |
| | |
| | | rules: { |
| | | deleted: [ |
| | | { |
| | | required: true, validator: checkPhoneNum, trigger: "blur" |
| | | } |
| | | ] |
| | | } |
| | | required: true, |
| | | validator: checkPhoneNum, |
| | | trigger: "blur", |
| | | }, |
| | | ], |
| | | }, |
| | | }; |
| | | }, |
| | | created() { |
| | |
| | | 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; |
| | | }); |
| | |
| | | createBy: null, |
| | | updateTime: null, |
| | | updateBy: null, |
| | | deleted: null |
| | | deleted: null, |
| | | }; |
| | | this.resetForm("form"); |
| | | }, |
| | | hb() { |
| | | if (this.queryParams.tjNumber != null) { |
| | | this.handleQuery(); |
| | | } |
| | | }, |
| | | /** 搜索按钮操作 */ |
| | | handleQuery() { |
| | |
| | | }, |
| | | // 多选框选中数据 |
| | | 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() { |
| | |
| | | /** 修改按钮操作 */ |
| | | 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> |
| | | |
| | |
| | | <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> |
| | |
| | | <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" /> |
| | |
| | | <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> |
| | |
| | | getReplylog, |
| | | delReplylog, |
| | | addReplylog, |
| | | updateReplylog |
| | | updateReplylog, |
| | | } from "@/api/hosp/replylog"; |
| | | |
| | | export default { |
| | | name: "Replylog", |
| | | dicts: ["hz_type"], |
| | | data() { |
| | | return { |
| | | // 遮罩层 |
| | |
| | | tjNumber: null, |
| | | userName: null, |
| | | hzType: null, |
| | | hzDoctorName: null |
| | | hzDoctorName: null, |
| | | }, |
| | | // 表单参数 |
| | | form: {}, |
| | | // 表单校验 |
| | | rules: { |
| | | } |
| | | rules: {}, |
| | | }; |
| | | }, |
| | | created() { |
| | |
| | | /** 查询会诊回复记录列表 */ |
| | | 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; |
| | |
| | | deleted: null, |
| | | hzId: null, |
| | | hzDoctorId: null, |
| | | hzDoctorName: null |
| | | hzDoctorName: null, |
| | | }; |
| | | this.resetForm("form"); |
| | | }, |
| | | hb() { |
| | | if (this.queryParams.tjNumber != null) { |
| | | this.handleQuery(); |
| | | } |
| | | }, |
| | | /** 搜索按钮操作 */ |
| | | handleQuery() { |
| | |
| | | }, |
| | | // 多选框选中数据 |
| | | 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() { |
| | |
| | | /** 修改按钮操作 */ |
| | | 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.$]] |
| | |
| | | // ...this.queryParams |
| | | // }, `${businessName}_#[[${new Date().getTime()}.xlsx`) |
| | | // } |
| | | } |
| | | } |
| | | ; |
| | | }, |
| | | }; |
| | | </script> |
| | |
| | | placeholder="请输入体检号" |
| | | clearable |
| | | @keyup.enter.native="handleQuery" |
| | | @blur="handleQuery" |
| | | @blur="hb" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="用户姓名" prop="userName"> |
| | |
| | | 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(''); |
| | |
| | | this.tjSurveyRecordDetailList = []; |
| | | this.resetForm("form"); |
| | | }, |
| | | hb() { |
| | | if (this.queryParams.tjnumber != null) { |
| | | this.handleQuery(); |
| | | } |
| | | }, |
| | | /** 搜索按钮操作 */ |
| | | handleQuery() { |
| | | this.queryParams.pageNum = 1; |
| | |
| | | placeholder="请输入体检号" |
| | | clearable |
| | | @keyup.enter.native="handleQuery" |
| | | @blur="handleQuery" |
| | | @blur="hb" |
| | | style="width: 160px" |
| | | /> |
| | | </el-form-item> |
| | |
| | | }; |
| | | this.resetForm("form"); |
| | | }, |
| | | hb(){ |
| | | console.log(this.queryParams.tjNum); |
| | | if (this.queryParams.tjNum != null) { |
| | | this.handleQuery(); |
| | | } |
| | | }, |
| | | /** 搜索按钮操作 */ |
| | | handleQuery() { |
| | | this.queryParams.pageNum = 1; |
| | |
| | | placeholder="请输入体检号" |
| | | clearable |
| | | @keyup.enter.native="handleQuery" |
| | | @blur="handleQuery" |
| | | @blur="hb" |
| | | style="width: 160px" |
| | | /> |
| | | </el-form-item> |
| | |
| | | }; |
| | | this.resetForm("form"); |
| | | }, |
| | | hb(){ |
| | | console.log(this.queryParams.tjNum); |
| | | if (this.queryParams.tjNum != null) { |
| | | this.handleQuery(); |
| | | } |
| | | }, |
| | | /** 搜索按钮操作 */ |
| | | handleQuery() { |
| | | this.queryParams.pageNum = 1; |
| | |
| | | placeholder="请输入体检号" |
| | | clearable |
| | | @keyup.enter.native="handleQuery" |
| | | @blur="handleQuery" |
| | | @blur="hb" |
| | | style="width: 170px" |
| | | /> |
| | | </el-form-item> |
| | |
| | | }; |
| | | this.resetForm("form"); |
| | | }, |
| | | hb(){ |
| | | console.log(this.queryParams.tjNum); |
| | | if (this.queryParams.tjNum != null) { |
| | | this.handleQuery(); |
| | | } |
| | | }, |
| | | /** 搜索按钮操作 */ |
| | | handleQuery() { |
| | | this.queryParams.pageNum = 1; |
| | |
| | | <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> |
| | | |
| | |
| | | </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> |
| | |
| | | <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}" /> |
| | |
| | | getRecord, |
| | | delRecord, |
| | | addRecord, |
| | | updateRecord |
| | | updateRecord, |
| | | } from "@/api/record/record"; |
| | | |
| | | export default { |
| | |
| | | data() { |
| | | return { |
| | | formLabelAlign: { |
| | | name: '', |
| | | region: '', |
| | | type: '' |
| | | name: "", |
| | | region: "", |
| | | type: "", |
| | | }, |
| | | labelPosition: "right", |
| | | // 遮罩层 |
| | |
| | | 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() { |
| | |
| | | /** 查询领餐记录列表 */ |
| | | 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; |
| | |
| | | createTime: null, |
| | | updateBy: null, |
| | | updateTime: null, |
| | | deleted: null |
| | | deleted: null, |
| | | }; |
| | | this.resetForm("form"); |
| | | }, |
| | | hb() { |
| | | if (this.queryParams.tjNum != null) { |
| | | this.handleQuery(); |
| | | } |
| | | }, |
| | | /** 搜索按钮操作 */ |
| | | handleQuery() { |
| | |
| | | }, |
| | | // 多选框选中数据 |
| | | 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() { |
| | |
| | | /** 修改按钮操作 */ |
| | | 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 = "修改领餐记录"; |
| | |
| | | }, |
| | | /** 提交按钮 */ |
| | | 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(); |
| | |
| | | /** 删除按钮操作 */ |
| | | 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> |
| | |
| | | placeholder="请输入体检号" |
| | | clearable |
| | | @keyup.enter.native="handleQuery" |
| | | @blur="handleQuery" |
| | | @blur="hb" |
| | | style="width: 170px" |
| | | /> |
| | | </el-form-item> |
| | |
| | | }; |
| | | this.resetForm("form"); |
| | | }, |
| | | hb(){ |
| | | console.log(this.queryParams.tjNum); |
| | | if (this.queryParams.tjNum != null) { |
| | | this.handleQuery(); |
| | | } |
| | | }, |
| | | /** 搜索按钮操作 */ |
| | | handleQuery() { |
| | | this.queryParams.pageNum = 1; |
| | |
| | | <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> |
| | |
| | | <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> |
| | |
| | | </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> |
| | |
| | | List: [], |
| | | postpone: { |
| | | day: null, |
| | | caches: null |
| | | caches: null, |
| | | }, |
| | | tcShow: false, |
| | | // remarkId: "", |
| | |
| | | }; |
| | | this.resetForm("form"); |
| | | }, |
| | | hb(){ |
| | | if (this.queryParams.tjNum != undefined) { |
| | | this.handleQuery(); |
| | | } |
| | | }, |
| | | /** 搜索按钮操作 */ |
| | | handleQuery() { |
| | | this.queryParams.pageNum = 1; |
| | |
| | | // }) |
| | | 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 |
| | |
| | | // }) |
| | | 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 => { |
| | |
| | | // } |
| | | // } |
| | | // }) |
| | | |
| | | }, |
| | | |
| | | |
| | | /** 签离按钮操作 */ |
| | | 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; |
| | | }); |
| | |
| | | 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; |
| | |
| | | item = { |
| | | type2: false, |
| | | type3: false, |
| | | } |
| | | }) |
| | | }; |
| | | }); |
| | | this.open = true; |
| | | } else { |
| | | let data = { |
| | |
| | | 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("操作成功"); |
| | |
| | | placeholder="请输入体检号" |
| | | clearable |
| | | @keyup.enter.native="handleQuery" |
| | | @blur="handleQuery" |
| | | @blur="hb" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="登记时间" prop="createTimeList"> |
| | |
| | | }; |
| | | this.resetForm("form"); |
| | | }, |
| | | hb(){ |
| | | console.log(this.queryParams.tjNum); |
| | | if (this.queryParams.tjNum != undefined) { |
| | | this.handleQuery(); |
| | | } |
| | | }, |
| | | /** 搜索按钮操作 */ |
| | | handleQuery() { |
| | | this.queryParams.pageNum = 1; |
| | |
| | | clearable |
| | | @keyup.enter.native="handleQuery" |
| | | ref="inputName" |
| | | @blur="handleQuery" |
| | | @blur="hb" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="报告时间" prop="reportTimeList"> |
| | |
| | | }; |
| | | this.resetForm("form"); |
| | | }, |
| | | hb() { |
| | | if (this.queryParams.tjNum != undefined) { |
| | | this.handleQuery(); |
| | | } |
| | | }, |
| | | /** 搜索按钮操作 */ |
| | | handleQuery() { |
| | | this.queryParams.pageNum = 1; |
| | |
| | | // } |
| | | this.multiple = !selection.length; |
| | | this.report = selection.map((item) => item.tjNumber); |
| | | console.log(this.report); |
| | | }, |
| | | |
| | | investigation(row) { |
| | |
| | | </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> |
| | | |
| | |
| | | } |
| | | }); |
| | | }, |
| | | hb(){ |
| | | console.log(this.form.tjNum); |
| | | if (this.form.tjNum != "") { |
| | | this.submitFormchanck(); |
| | | } |
| | | }, |
| | | submitFormchanck() { |
| | | this.loading = true; |
| | | getfindTj(this.form).then((response) => { |
| | |
| | | </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" |
| | |
| | | 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; |
| | |
| | | </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> |
| | |
| | | }; |
| | | this.resetForm("form"); |
| | | }, |
| | | hb(){ |
| | | console.log(this.queryParams.tjNum); |
| | | if (this.queryParams.tjNum != null) { |
| | | this.handleQuery(); |
| | | } |
| | | }, |
| | | /** 搜索按钮操作 */ |
| | | handleQuery() { |
| | | this.queryParams.pageNum = 1; |
| | |
| | | <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"> |
| | |
| | | this.$refs.inputName.focus(); |
| | | }); |
| | | }, |
| | | |
| | | hb(){ |
| | | console.log(this.form.tjNum); |
| | | if (this.form.tjNum != null) { |
| | | this.handle(); |
| | | } |
| | | }, |
| | | /** 搜索操作 */ |
| | | handle() { |
| | | this.loading = true; |
| | |
| | | |
| | | /** 查询信息列表 */ |
| | | getList() { |
| | | this.loading = true; |
| | | // listCustomer(this.queryParams).then((response) => { |
| | | // this.customerList = response.rows; |
| | | // this.total = response.total; |
| | |
| | | let cusSex = this.form.cusSex; |
| | | this.datekey = Date.now(); |
| | | //全部套餐 |
| | | this.loading = true; |
| | | deptTreeSelect(cusSex).then((response) => { |
| | | this.newpacName = response.rows; |
| | | console.log(this.newpacName) |
| | |
| | | |
| | | |
| | | <style > |
| | | .el-form-item__error { |
| | | display: none; |
| | | } |
| | | .el-table__header-wrapper .el-checkbox { |
| | | display: none; |
| | | } |
| | |
| | | let cusSex = this.form.cusSex; |
| | | this.datekey = Date.now(); |
| | | //全部套餐 |
| | | this.loading = true; |
| | | deptTreeSelect(cusSex).then((response) => { |
| | | this.newpacName = response.rows; |
| | | try { |
| | |
| | | placeholder="请输入体检号" |
| | | clearable |
| | | @keyup.enter.native="handleQuery" |
| | | @blur="handleQuery" |
| | | @blur="hb" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="接收号码" prop="number"> |
| | |
| | | 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(''); |
| | |
| | | }; |
| | | this.resetForm("form"); |
| | | }, |
| | | hb() { |
| | | if (this.queryParams.tjNum != null) { |
| | | this.handleQuery(); |
| | | } |
| | | }, |
| | | /** 搜索按钮操作 */ |
| | | handleQuery() { |
| | | this.queryParams.pageNum = 1; |
| | |
| | | @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"> |
| | |
| | | </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> |
| | | |
| | |
| | | this.queryParams.pageNum = 1; |
| | | this.getList(); |
| | | }, |
| | | hb() { |
| | | if (this.queryParams.tjNum != undefined) { |
| | | this.handleQuery(); |
| | | } |
| | | }, |
| | | handleQuerys() { |
| | | this.emerc = true; |
| | | this.queryParam.pageNum = 1; |
| | |
| | | // 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`, |