package.json
@@ -64,6 +64,7 @@ "vue-meta": "2.4.0", "vue-pdf": "^4.3.0", "vue-print-nb": "^1.7.5", "vue-quill-editor": "^3.0.6", "vue-router": "3.4.9", "vuedraggable": "2.24.3", "vuex": "3.6.0", src/api/hosp/customer.js
@@ -106,3 +106,15 @@ data: data }) } export function getHistryTjOrderByCusIdCard(cusId) { return request({ url: '/hosp/order/getHistryTjOrderByCusId', method: 'get', params:{ cusId:cusId } }) } src/views/doctor/bgsh/index.vue
@@ -153,7 +153,7 @@ created() { // this.getNowTime(); this.getList(); this.getdate(); }, @@ -169,6 +169,7 @@ moment(res.data).format("YYYY-MM-DD 00:00:00"), moment(res.data).format("YYYY-MM-DD 23:59:00"), ]; this.getList(); }); }, // / 处理默认选中当前日期 @@ -309,6 +310,7 @@ }, // 重置 resetQuery() { this.startTime=[] this.resetForm("tableList"); this.submitForm(); }, src/views/doctor/check/index.vue
@@ -1,73 +1,32 @@ <template> <div> <el-form :model="queryParams" ref="tableList" :inline="true" label-width="76px" style="margin-top: 10px" > <el-form :model="queryParams" ref="tableList" :inline="true" label-width="76px" style="margin-top: 10px"> <el-form-item label="姓名" prop="name"> <el-input v-model="queryParams.name" style="width: 116px" placeholder="请输入姓名" clearable @keyup.enter.native="submitForm" ></el-input> <el-input v-model="queryParams.name" style="width: 116px" placeholder="请输入姓名" clearable @keyup.enter.native="submitForm"></el-input> </el-form-item> <el-form-item label="体检号" prop="tjNumber"> <el-input ref="inputName" v-model="queryParams.tjNumber" style="width: 240px" placeholder="请输入体检号" clearable @blur="hb" @keyup.enter.native="submitForm" ></el-input> <el-input ref="inputName" v-model="queryParams.tjNumber" style="width: 240px" placeholder="请输入体检号" clearable @blur="hb" @keyup.enter.native="submitForm"></el-input> </el-form-item> <el-form-item> <el-button size="mini" type="primary" @click="submitForm" >搜索</el-button > <el-button size="mini" type="primary" @click="submitForm">搜索</el-button> <el-button size="mini" @click="resetQuery">重置</el-button> </el-form-item> </el-form> <div style="display: flex"> <el-radio-group v-model="tjStatus" @input="radioChange" style="margin-left: 30px" > <el-radio-group v-model="tjStatus" @input="radioChange" style="margin-left: 30px"> <el-radio-button label="0">未检</el-radio-button> <el-radio-button label="1">已检</el-radio-button> </el-radio-group> </div> <template> <el-table :data="tableList" v-loading="loading" ref="table" height="536px" style="margin: 20px; width: 98%" border :cell-class-name="myclass" > <el-table :data="tableList" v-loading="loading" ref="table" height="536px" style="margin: 20px; width: 98%" border :cell-class-name="myclass"> <!-- <template slot="empty">数据正在加载中</template> --> <el-table-column label="体检号" align="center" prop="tjNumber" width="160px" /> <el-table-column label="姓名" align="center" prop="cusName" width="90px" /> <el-table-column label="体检号" align="center" prop="tjNumber" width="160px" /> <el-table-column label="姓名" align="center" prop="cusName" width="90px" /> <el-table-column label="性别" align="center" prop="cusSex" width="60px"> <template slot-scope="scope"> <span v-if="scope.row.cusSex == '0'">男</span> @@ -76,119 +35,50 @@ <span v-if="scope.row.cusSex == '9'">未说明性别</span> </template> </el-table-column> <el-table-column label="出生日期" align="center" prop="cusBrithday" width="100px" /> <el-table-column label="电话" align="center" prop="cusPhone" width="100px" /> <el-table-column label="体检类型" align="center" prop="tjType" width="80px" /> <el-table-column label="登记时间" align="center" prop="tjTime" width="160px" > <el-table-column label="出生日期" align="center" prop="cusBrithday" width="100px" /> <el-table-column label="电话" align="center" prop="cusPhone" width="100px" /> <el-table-column label="体检类型" align="center" prop="tjType" width="80px" /> <el-table-column label="登记时间" align="center" prop="tjTime" width="160px"> </el-table-column> <el-table-column label="体检时间" align="center" prop="tjTime" width="100px" > <el-table-column label="体检时间" align="center" prop="tjTime" width="100px"> <template slot-scope="scope"> <span>{{ parseTime(scope.row.tjTime, "{y}-{m}-{d}") }}</span> </template> </el-table-column> <el-table-column label="未检项" prop="notCheckeds" :show-overflow-tooltip="true" /> <el-table-column label="未检项" prop="notCheckeds" :show-overflow-tooltip="true" /> <el-table-column label="操作" align="center" width="130px"> <template slot-scope="scope"> <el-button type="primary" icon="el-icon-first-aid-kit" size="mini" @click="Changeapplyfor(scope.row)" title="会诊申请" v-if="tjStatus == '1'" ></el-button> <el-button type="primary" icon="el-icon-share" size="mini" @click="handleClick(scope.row)" title="详情" ></el-button> <el-button type="primary" icon="el-icon-first-aid-kit" size="mini" @click="Changeapplyfor(scope.row)" title="会诊申请" v-if="tjStatus == '1'"></el-button> <el-button type="primary" icon="el-icon-share" size="mini" @click="handleClick(scope.row)" title="详情"></el-button> </template> </el-table-column> </el-table> <div class="pag"> <div class="pag1"> <pagination v-show="total > 0" :total="total" :page.sync="queryParams.page" :limit.sync="queryParams.pageSize" @pagination="getList" /> <pagination v-show="total > 0" :total="total" :page.sync="queryParams.page" :limit.sync="queryParams.pageSize" @pagination="getList" /> </div> </div> </template> <el-dialog :title="title" :visible.sync="open" width="1000px" append-to-body > <el-dialog :title="title" :visible.sync="open" width="1000px" append-to-body> <el-row> <el-col :span="9" v-if="hzlogList.length >= 1"> <h3>会诊申请记录</h3> <el-table :data="hzlogList" style="width: 100%" border> <el-table-column label="申请人" align="center" prop="hzDoctorName" width="100px" /> <el-table-column label="申请人" align="center" prop="hzDoctorName" width="100px" /> <el-table-column label="科室" align="center" prop="hzDeptName" /> <el-table-column label="操作" align="center" width="150px"> <template slot-scope="scope"> <el-button type="primary" size="mini" @click="hadleedit(scope.row)" v-if=" scope.row.hzReplyLogsList.length == 0 && <el-button type="primary" size="mini" @click="hadleedit(scope.row)" v-if="scope.row.hzReplyLogsList.length == 0 && scope.row.hzDoctorId == info.userId " >修改</el-button > <el-button type="primary" size="mini" v-if=" scope.row.hzReplyLogsList.length == 0 && ">修改</el-button> <el-button type="primary" size="mini" v-if="scope.row.hzReplyLogsList.length == 0 && scope.row.hzDoctorId == info.userId " @click="handledele(scope.row)" >删除</el-button > " @click="handledele(scope.row)">删除</el-button> </template> </el-table-column> </el-table> @@ -197,18 +87,10 @@ <h3 style="text-align: center">会诊记录申请</h3> <el-form ref="form" :model="form" :rules="rules" label-width="80px"> <el-form-item label="姓名" prop="cusName"> <el-input v-model="form.cusName" placeholder="请输入姓名" disabled /> <el-input v-model="form.cusName" placeholder="请输入姓名" disabled /> </el-form-item> <el-form-item label="体检号" prop="tjNumber"> <el-input v-model="form.tjNumber" placeholder="请输入体检号" disabled /> <el-input v-model="form.tjNumber" placeholder="请输入体检号" disabled /> </el-form-item> <el-form-item label="会诊科室" prop="hzType"> <el-radio-group v-model="form.hzType"> @@ -216,42 +98,15 @@ <el-radio-button label="1">科室会诊</el-radio-button> </el-radio-group> </el-form-item> <el-form-item label="选择科室" v-if="form.hzType == '1'" style="margin-top: 22px" > <el-select v-model="form.hzDeptId" multiple filterable style="width: 100%" > <el-option v-for="item in deptList" :key="item.deptId" :label="item.deptName" :value="item.deptId" ></el-option> <el-form-item label="选择科室" v-if="form.hzType == '1'" style="margin-top: 22px"> <el-select v-model="form.hzDeptId" multiple filterable style="width: 100%"> <el-option v-for="item in deptList" :key="item.deptId" :label="item.deptName" :value="item.deptId"></el-option> </el-select> </el-form-item> <el-form-item label="申请人" prop="hzDoctorId" style="margin-top: 22px" > <el-select v-model="form.hzDoctorId" placeholder="请选择" style="width: 100%" filterable > <el-option v-for="item in userList" :key="item.userId" :label="item.nickName" :value="item.userId" > <el-form-item label="申请人" prop="hzDoctorId" style="margin-top: 22px"> <el-select v-model="form.hzDoctorId" placeholder="请选择" style="width: 100%" filterable> <el-option v-for="item in userList" :key="item.userId" :label="item.nickName" :value="item.userId"> </el-option> </el-select> </el-form-item> @@ -268,56 +123,27 @@ </div> </el-dialog> <el-dialog :title="title" :visible.sync="foropen" width="1000px" append-to-body > <el-dialog :title="title" :visible.sync="foropen" width="1000px" append-to-body> <el-row> <el-col :span="8" v-if="hasdeptList.length >= 1"> <h3 style="text-align: center">会诊申请记录</h3> <el-table :data="hasdeptList" style="width: 100%" border ref="tab" @selection-change="handleSelectionChange" > <el-table :data="hasdeptList" style="width: 100%" border ref="tab" @selection-change="handleSelectionChange"> <el-table-column type="selection" width="50" align="center" /> <el-table-column label="申请人" align="center" prop="hzDoctorName" width="100px" /> <el-table-column label="科室" align="center" prop="hzDeptName" width="260px" /> <el-table-column label="申请人" align="center" prop="hzDoctorName" width="100px" /> <el-table-column label="科室" align="center" prop="hzDeptName" width="260px" /> </el-table> </el-col> <el-col :span="16" style="padding: 0 10px"> <h3 style="text-align: center">会诊意见</h3> <div v-if="hzReplyLogsList.length >= 1" style="margin-bottom: 10px"> <div v-for="(item, index) in hzReplyLogsList" :key="index" style="padding-bottom: 5px; border-bottom: 1px solid black" > <div v-for="(item, index) in hzReplyLogsList" :key="index" style="padding-bottom: 5px; border-bottom: 1px solid black"> <!-- <div>会诊科室:{{ item.replyDeptName }}</div> --> <div>医生:{{ item.hzDoctorName }}</div> <div>回复:{{ item.replyContent }}</div> </div> </div> <el-input type="textarea" :rows="2" placeholder="请输入内容" v-model="textarea" > <el-input type="textarea" :rows="2" placeholder="请输入内容" v-model="textarea"> </el-input> <div style="padding: 10px 10px"> <el-button type="primary" @click="submitFormreply">回复</el-button> @@ -330,12 +156,7 @@ </div> --> </el-dialog> <el-dialog title="填写是否重大阳性" :visible.sync="checkval" width="800px" append-to-body > <el-dialog title="填写是否重大阳性" :visible.sync="checkval" width="800px" append-to-body> <el-form ref="form" :model="formIn" label-width="100px"> <el-form-item label="姓名"> <el-input v-model="formIn.cusName" disabled></el-input> @@ -356,18 +177,8 @@ </el-radio-group> </el-form-item> <el-form-item label="等级"> <el-select v-model="formIn.level" placeholder="请选择" filterable style="width: 100%" > <el-option v-for="item in dict.type.lj_positive" :key="item.value" :label="item.label" :value="item.value" > <el-select v-model="formIn.level" placeholder="请选择" filterable style="width: 100%"> <el-option v-for="item in dict.type.lj_positive" :key="item.value" :label="item.label" :value="item.value"> </el-option> </el-select> </el-form-item> @@ -381,31 +192,16 @@ </div> </el-dialog> <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-drawer :visible.sync="drawer" :with-header="false" size="70%" :before-close="handleClose" > <el-drawer :visible.sync="drawer" :with-header="false" size="70%" :before-close="handleClose"> <div style="font-size: 14px"> <table style=" <table style=" width: 96%; height:70px; margin: 10px 10px; @@ -413,19 +209,14 @@ border: 1px solid #dfe6ec; border-collapse: collapse; font-size:16px " cellspacing="4" > " cellspacing="4"> <caption style="background-color: #f8f8f9; font-size: 18px"> 填写{{ tableAll.cusName }}的体检资料 </caption> <tr style="border: 1px solid #dfe6ec; border-collapse: collapse"> <td style="border: 1px solid #dfe6ec; border-collapse: collapse" align="right" > <td style="border: 1px solid #dfe6ec; border-collapse: collapse" align="right"> 姓名: </td> <td style="border: 1px solid #dfe6ec; border-collapse: collapse"> @@ -437,10 +228,7 @@ <span v-if="scope.row.cusSex == '9'">未说明性别</span> </template> </td> <td style="border: 1px solid #dfe6ec; border-collapse: collapse" align="right" > <td style="border: 1px solid #dfe6ec; border-collapse: collapse" align="right"> 性别: </td> <td style="border: 1px solid #dfe6ec; border-collapse: collapse"> @@ -448,19 +236,13 @@ </td> </tr> <tr style="border: 1px solid #dfe6ec; border-collapse: collapse"> <td style="border: 1px solid #dfe6ec; border-collapse: collapse" align="right" > <td style="border: 1px solid #dfe6ec; border-collapse: collapse" align="right"> 体检单号: </td> <td style="border: 1px solid #dfe6ec; border-collapse: collapse"> {{ tableAll.tjNumber }} </td> <td style="border: 1px solid #dfe6ec; border-collapse: collapse" align="right" > <td style="border: 1px solid #dfe6ec; border-collapse: collapse" align="right"> 体检时间: </td> <td style="border: 1px solid #dfe6ec; border-collapse: collapse"> @@ -471,75 +253,38 @@ </div> <div style="display: flex"> <div style="margin: 10px 10px" v-if="hasdeptList.length >= 1"> <el-button type="primary" size="mini" @click="Changeapply()" >会诊申请</el-button > <el-button type="primary" size="mini" @click="Changeapply()">会诊申请</el-button> </div> <div style="margin: 10px 10px"> <el-button type="primary" size="mini" @click="historicalreport()" >历史报告</el-button > <el-button type="primary" size="mini" @click="historicalreport()">历史报告</el-button> </div> <div style="margin: 10px 10px"> <el-button type="primary" size="mini" @click="jianqian" >检前问诊</el-button > <el-button type="primary" size="mini" @click="jianqian">检前问诊</el-button> </div> </div> <el-row> <el-col v-show="baogaoqian"> <template> <div style="margin-left: 10px"> <el-radio-group v-model="radio" v-for="(item, index) in Parent" :key="index" @input="radioChange1(item.proId, item)" > <el-radio-button :label="item.proId">{{ item.proName }}</el-radio-button> </el-radio-group> </div> </template> <el-table v-loading="loading" :data="proParentList.sons" border height="460px" style="width: 96%; margin: 10px 10px" > <el-table-column prop="project.proName" label="检测项目" width="150" fixed="left" > <el-tabs v-model="radio" type="border-card" @tab-click="handleTabClick" style="margin-left: 10px;"> <el-tab-pane :label="item.proName" :name="item.proId" v-for="(item, index) in Parent" :key="index"> <el-table v-loading="loading" :data="proParentList.sons" border height="460px" style="width: 96%; margin: 10px 10px"> <el-table-column prop="project.proName" label="检测项目" width="150" fixed="left"> <!-- <template slot-scope="scope"> {{ scope.row.project.proName }} </template> --> </el-table-column> <el-table-column prop="proResult" label="检测结果" width="200"> <template slot-scope="scope"> <el-input type="textarea" autosize size="mini" v-model="scope.row.proResult" autocomplete="off" placeholder="请输入检测结果" @blur="handleInputConfirm(scope.row)" @input="vale" @focus="handleInConfirm(scope.row)" ></el-input> <el-input type="textarea" autosize size="mini" v-model="scope.row.proResult" autocomplete="off" placeholder="请输入检测结果" @blur="handleInputConfirm(scope.row)" @input="vale" @focus="handleInConfirm(scope.row)"></el-input> </template> </el-table-column> <el-table-column label="规则" width="55"> <template slot-scope="scope"> <el-button class="blue-button" @click="handleguize(scope.row)" >...</el-button > <el-button class="blue-button" @click="handleguize(scope.row)">...</el-button> </template> </el-table-column> <el-table-column prop="project.proMetering" label="单位"> @@ -551,136 +296,68 @@ </el-table-column> <el-table-column prop="conclusion" label="结果结论" width="200"> <template slot-scope="scope"> <el-input size="mini" type="textarea" autosize v-model="scope.row.conclusion" autocomplete="off" placeholder="请输入检测结果" disabled ></el-input> <el-input size="mini" type="textarea" autosize v-model="scope.row.conclusion" autocomplete="off" placeholder="请输入检测结果" disabled></el-input> </template> </el-table-column> <el-table-column prop="exceptionDesc" label="是否异常" width="80px" align="center" > <el-table-column prop="exceptionDesc" label="是否异常" width="80px" align="center"> <template slot-scope="scope"> <el-checkbox v-model="scope.row.exceptionDesc"></el-checkbox> </template> </el-table-column> <el-table-column prop="isReturn" label="是否复诊" width="80px" align="center" > <el-table-column prop="isReturn" label="是否复诊" width="80px" align="center"> <template slot-scope="scope"> <el-checkbox v-model="scope.row.isReturn"></el-checkbox> </template> </el-table-column> <el-table-column prop="project.resultType" label="结果类型"> <template slot-scope="scope"> <dict-tag :options="dict.type.tj_result_type" :value="scope.row.project.resultType" /> <dict-tag :options="dict.type.tj_result_type" :value="scope.row.project.resultType" /> </template> </el-table-column> <el-table-column prop="isPositive" label="重大阳性"> <template slot-scope="scope"> <el-switch v-model="scope.row.isPositive" active-value="1" inactive-value="0" @change="checkboxchange(scope.row)" ></el-switch> <el-switch v-model="scope.row.isPositive" active-value="1" inactive-value="0" @change="checkboxchange(scope.row)"></el-switch> </template> </el-table-column> </el-table> <div style="font-size: 14px; overflow-y: auto; height: 286px"> <table style=" <table style=" width: 96%; margin: 4px 10px; border: 1px solid #dfe6ec; border-collapse: collapse; " cellspacing="4" > " cellspacing="4"> <tr style="border: 1px solid #dfe6ec; border-collapse: collapse"> <td style="border: 1px solid #dfe6ec; border-collapse: collapse" > <td style="border: 1px solid #dfe6ec; border-collapse: collapse"> 病种选择: </td> <td style="border: 1px solid #dfe6ec; border-collapse: collapse" > <el-select v-model="value" multiple placeholder="请选择" style="width: 100%; height: 45px" v-if="deptAdviceList" @change="sel" filterable > <el-option v-for="item in deptAdviceList" :key="item.id" :label="item.title" :value="item.id" > <td style="border: 1px solid #dfe6ec; border-collapse: collapse"> <el-select v-model="value" multiple placeholder="请选择" style="width: 100%; height: 45px" v-if="deptAdviceList" @change="sel" filterable> <el-option v-for="item in deptAdviceList" :key="item.id" :label="item.title" :value="item.id"> </el-option> </el-select> </td> <td style="border: 1px solid #dfe6ec; border-collapse: collapse" > <td style="border: 1px solid #dfe6ec; border-collapse: collapse"> 主检医师: </td> <td style="border: 1px solid #dfe6ec; border-collapse: collapse" > <el-select v-model="doctorName" placeholder="请选择" style="width: 100%" v-if="deptAdviceList" @change="selName" filterable > <el-option v-for="item in userList" :key="item.userId" :label="item.nickName" :value="item.userId" > <td style="border: 1px solid #dfe6ec; border-collapse: collapse"> <el-select v-model="doctorName" placeholder="请选择" style="width: 100%" v-if="deptAdviceList" @change="selName" filterable> <el-option v-for="item in userList" :key="item.userId" :label="item.nickName" :value="item.userId"> </el-option> </el-select> </td> </tr> <tr style="border: 1px solid #dfe6ec; border-collapse: collapse"> <td style="border: 1px solid #dfe6ec; border-collapse: collapse" > <td style="border: 1px solid #dfe6ec; border-collapse: collapse"> 建议: </td> <td style="border: 1px solid #dfe6ec; border-collapse: collapse" colspan="2" > <el-input type="textarea" placeholder="请输入内容" v-model="proParentList.remark" rows="7" > <td style="border: 1px solid #dfe6ec; border-collapse: collapse" colspan="2"> <el-input type="textarea" placeholder="请输入内容" v-model="proParentList.remark" rows="7"> </el-input> </td> </tr> @@ -693,67 +370,49 @@ v-hasPermi="['system:notice:add']" v-show="tjStatus == '1'" >会诊申请</el-button> --> <el-button type="primary" @click="determine" v-show="tjStatus == '0'" >提 交</el-button <el-button type="primary" @click="determine" v-show="tjStatus == '0'">提 交</el-button> </div> </div> </el-tab-pane> </el-tabs> </template> <!-- <template> <div style="margin-left: 10px"> <el-radio-group v-model="radio" v-for="(item, index) in Parent" :key="index" @input="radioChange1(item.proId, item)" > <el-radio-button :label="item.proId">{{ item.proName }}</el-radio-button> </el-radio-group> </div> </div> </template> --> </el-col> <el-col :span="18" v-show="baogaohou"> <template> <div style="margin-left: 10px"> <el-radio-group v-model="radio" v-for="(item, index) in Parent" :key="index" @input="radioChange1(item.proId, item)" > <el-radio-button :label="item.proId">{{ item.proName }}</el-radio-button> </el-radio-group> </div> </template> <el-table v-loading="loading" :data="proParentList.sons" border height="460px" style="width: 96%; margin: 10px 10px" > <el-table-column prop="project.proName" label="检测项目" width="150" fixed="left" > <el-tabs v-model="radio" type="border-card" @tab-click="handleTabClick" style="margin-left: 10px;"> <el-tab-pane :label="item.proName" :name="item.proId" v-for="(item, index) in Parent" :key="index"> <el-table v-loading="loading" :data="proParentList.sons" border height="460px" style="width: 96%; margin: 10px 10px"> <el-table-column prop="project.proName" label="检测项目" width="150" fixed="left"> <!-- <template slot-scope="scope"> {{ scope.row.project.proName }} </template> --> </el-table-column> <el-table-column prop="proResult" label="检测结果" width="200"> <template slot-scope="scope"> <el-input type="textarea" autosize size="mini" v-model="scope.row.proResult" autocomplete="off" placeholder="请输入检测结果" @blur="handleInputConfirm(scope.row)" @input="vale" @focus="handleInConfirm(scope.row)" ></el-input> <el-input type="textarea" autosize size="mini" v-model="scope.row.proResult" autocomplete="off" placeholder="请输入检测结果" @blur="handleInputConfirm(scope.row)" @input="vale" @focus="handleInConfirm(scope.row)"></el-input> </template> </el-table-column> <el-table-column label="规则" width="55"> <template slot-scope="scope"> <el-button class="blue-button" @click="handleguize(scope.row)" >...</el-button > <el-button class="blue-button" @click="handleguize(scope.row)">...</el-button> </template> </el-table-column> <el-table-column prop="project.proMetering" label="单位"> @@ -765,136 +424,68 @@ </el-table-column> <el-table-column prop="conclusion" label="结果结论" width="200"> <template slot-scope="scope"> <el-input size="mini" type="textarea" autosize v-model="scope.row.conclusion" autocomplete="off" placeholder="请输入检测结果" disabled ></el-input> <el-input size="mini" type="textarea" autosize v-model="scope.row.conclusion" autocomplete="off" placeholder="请输入检测结果" disabled></el-input> </template> </el-table-column> <el-table-column prop="exceptionDesc" label="是否异常" width="80px" align="center" > <el-table-column prop="exceptionDesc" label="是否异常" width="80px" align="center"> <template slot-scope="scope"> <el-checkbox v-model="scope.row.exceptionDesc"></el-checkbox> </template> </el-table-column> <el-table-column prop="isReturn" label="是否复诊" width="80px" align="center" > <el-table-column prop="isReturn" label="是否复诊" width="80px" align="center"> <template slot-scope="scope"> <el-checkbox v-model="scope.row.isReturn"></el-checkbox> </template> </el-table-column> <el-table-column prop="project.resultType" label="结果类型"> <template slot-scope="scope"> <dict-tag :options="dict.type.tj_result_type" :value="scope.row.project.resultType" /> <dict-tag :options="dict.type.tj_result_type" :value="scope.row.project.resultType" /> </template> </el-table-column> <el-table-column prop="isPositive" label="重大阳性"> <template slot-scope="scope"> <el-switch v-model="scope.row.isPositive" active-value="1" inactive-value="0" @change="checkboxchange(scope.row)" ></el-switch> <el-switch v-model="scope.row.isPositive" active-value="1" inactive-value="0" @change="checkboxchange(scope.row)"></el-switch> </template> </el-table-column> </el-table> <div style="font-size: 14px; overflow-y: auto; height: 286px"> <table style=" <table style=" width: 96%; margin: 4px 10px; border: 1px solid #dfe6ec; border-collapse: collapse; " cellspacing="4" > " cellspacing="4"> <tr style="border: 1px solid #dfe6ec; border-collapse: collapse"> <td style="border: 1px solid #dfe6ec; border-collapse: collapse" > <td style="border: 1px solid #dfe6ec; border-collapse: collapse"> 病种选择: </td> <td style="border: 1px solid #dfe6ec; border-collapse: collapse" > <el-select v-model="value" multiple placeholder="请选择" style="width: 100%; height: 45px" v-if="deptAdviceList" @change="sel" filterable > <el-option v-for="item in deptAdviceList" :key="item.id" :label="item.title" :value="item.id" > <td style="border: 1px solid #dfe6ec; border-collapse: collapse"> <el-select v-model="value" multiple placeholder="请选择" style="width: 100%; height: 45px" v-if="deptAdviceList" @change="sel" filterable> <el-option v-for="item in deptAdviceList" :key="item.id" :label="item.title" :value="item.id"> </el-option> </el-select> </td> <td style="border: 1px solid #dfe6ec; border-collapse: collapse" > <td style="border: 1px solid #dfe6ec; border-collapse: collapse"> 主检医师: </td> <td style="border: 1px solid #dfe6ec; border-collapse: collapse" > <el-select v-model="doctorName" placeholder="请选择" style="width: 100%" v-if="deptAdviceList" @change="selName" filterable > <el-option v-for="item in userList" :key="item.userId" :label="item.nickName" :value="item.userId" > <td style="border: 1px solid #dfe6ec; border-collapse: collapse"> <el-select v-model="doctorName" placeholder="请选择" style="width: 100%" v-if="deptAdviceList" @change="selName" filterable> <el-option v-for="item in userList" :key="item.userId" :label="item.nickName" :value="item.userId"> </el-option> </el-select> </td> </tr> <tr style="border: 1px solid #dfe6ec; border-collapse: collapse"> <td style="border: 1px solid #dfe6ec; border-collapse: collapse" > <td style="border: 1px solid #dfe6ec; border-collapse: collapse"> 建议: </td> <td style="border: 1px solid #dfe6ec; border-collapse: collapse" colspan="2" > <el-input type="textarea" placeholder="请输入内容" v-model="proParentList.remark" rows="7" > <td style="border: 1px solid #dfe6ec; border-collapse: collapse" colspan="2"> <el-input type="textarea" placeholder="请输入内容" v-model="proParentList.remark" rows="7"> </el-input> </td> </tr> @@ -907,20 +498,26 @@ v-hasPermi="['system:notice:add']" v-show="tjStatus == '1'" >会诊申请</el-button> --> <el-button type="primary" @click="determine" v-show="tjStatus == '0'" >提 交</el-button > <el-button type="primary" @click="determine" v-show="tjStatus == '0'">提 交</el-button> </div> </div> </el-tab-pane> </el-tabs> </template> <!-- <template> <div style="margin-left: 10px"> <el-radio-group v-model="radio" v-for="(item, index) in Parent" :key="index" @input="radioChange1(item.proId, item)"> <el-radio-button :label="item.proId">{{ item.proName }}</el-radio-button> </el-radio-group> </div> </template> --> </el-col> <el-col :span="6" style="margin-top: 15px"> <Historicalreport v-show="lishi" :reportHistorydata="reportHistorydata" ></Historicalreport> <Historicalreport v-show="lishi" :reportHistorydata="reportHistorydata"></Historicalreport> </el-col> </el-row> @@ -967,16 +564,8 @@ </el-drawer> <Public ref="aaa" :row="row" @add="handleChanges" /> <el-dialog title="提示" :visible.sync="jianqians" width="1000px" :before-close="handleClose1" > <jianqianwenzhen :jianqianwenzhendata="jianqianwenzhendata" v-if="flags" ></jianqianwenzhen> <el-dialog title="提示" :visible.sync="jianqians" width="1000px" :before-close="handleClose1"> <jianqianwenzhen :jianqianwenzhendata="jianqianwenzhendata" v-if="flags"></jianqianwenzhen> <span slot="footer" class="dialog-footer"> <el-button @click="jianqians = false">取 消</el-button> </span> @@ -1146,7 +735,7 @@ methods: { /** 查询用户列表 */ getListUser() { listUser(this.addDateRange(this.queryParam, this.dateRange)).then( listUser().then( (response) => { this.userList = response.rows; this.userList.forEach((element) => { @@ -1760,6 +1349,7 @@ }; getParentId(data).then((response) => { this.proParentList = response.data; this.loading = false; this.value = []; if (this.proParentList.xiaoJieIds != null) { @@ -1770,7 +1360,6 @@ }); } } this.proParentList.sons.forEach((item) => { this.doctorName = item.doctorName; if (this.doctorName == null) { @@ -1831,6 +1420,195 @@ } }); } }); }, handleTabClick(tab, event) { // console.log(tab, event); // console.log(tab.name); this.Parent.forEach(item => { if (tab.name == item.proId) { this.Parentcheck = item; } }) this.$confirm( "检测到体检结果未提交,是否在离开该项目前提交修改?", "确认信息", { distinguishCancelAndClose: true, confirmButtonText: "提交", cancelButtonText: "不保存,离开", } ) .then(() => { // 体检号 let tjNumber = this.tableAll.tjNumber; this.userList.forEach((item) => { if (this.doctorName == item.nickName) { this.doctorName = item.userId; } }); this.proParentList.sons.forEach((item) => { if (this.rows) { this.rows.forEach((item1) => { if (item1 === item) { item = item1; } // if (item.isReturn == true) { // item.isReturn = 1; // } // if (item.isReturn == false) { // item.isReturn = 0; // } }); } this.tjOrderDetail.push({ proName: item.project.proName, proId: item.project.proId, orderDetailId: item.orderDetailId, flowingWaterId: item.flowingWaterId, proResult: item.proResult, tjStatus: 1, isReturn: item.isReturn === true ? 1 : 0, exceptionDesc: item.exceptionDesc === true ? 1 : 0, conclusion: item.conclusion, rulesList: item.rulesList, }); }); var data = [ { tjNumber, proId: this.proId, remark: this.proParentList.remark, // 备注 proName: this.proName, //父项 summaryList: this.value, //小结 doctorName: this.doctorName, tjOrderDetailList: this.tjOrderDetail, }, ]; getaddRemark(data).then((res) => { this.$modal.msgSuccess("提交成功"); }); this.proName = item.proName; this.nums = tab.name; this.proId = tab.name; var data = { tjNumber: this.tjNumber, proParentId: this.nums, }; getParentId(data).then((response) => { this.proParentList = response.data; this.value = []; if (this.proParentList.xiaoJieIds != null) { if (this.proParentList.xiaoJieIds.length != 0) { this.proParentList.xiaoJieIds.forEach((item2) => { let item = Number(item2); this.value.push(item); }); } } this.proParentList.sons.forEach((item) => { this.doctorName = item.doctorName; if (this.doctorName == null) { this.userList.forEach((element) => { const userName = this.$store.state.user.name; if (userName == element.userName) { this.doctorName = element.nickName; } }); } if (item.isReturn == 1) { item.isReturn = true; } if (item.isReturn == 0) { item.isReturn = false; } if (item.exceptionDesc == "1") { item.exceptionDesc = true; } if (item.exceptionDesc == "0") { item.exceptionDesc = false; } }); if (this.proParentList.xiaoJie.length != 0) { this.Parent.forEach((item3) => { if (item3.proId === tab.name) { this.remark = this.Parentcheck.remark; } }); } else { this.remark = ""; } }); getDeptAdvice(this.proId).then((response) => { this.deptAdviceList = response.data; }); }) .catch((action) => { this.$message({ type: "warning", message: action === "cancel" ? "放弃保存并离开" : "停留在当前页面", }); this.proName = this.Parentcheck.proName; this.nums = tab.name; this.proId = tab.name; let data = { tjNumber: this.tjNumber, proParentId: this.nums, }; getParentId(data).then((response) => { this.proParentList = response.data; this.value = []; if (this.proParentList.xiaoJieIds != null) { if (this.proParentList.xiaoJieIds.length != 0) { this.proParentList.xiaoJieIds.forEach((item2) => { let item = Number(item2); this.value.push(item); }); } } this.proParentList.sons.forEach((item) => { this.doctorName = item.doctorName; if (this.doctorName == null) { this.userList.forEach((element) => { const userName = this.$store.state.user.name; if (userName == element.userName) { this.doctorName = element.nickName; } }); } if (item.isReturn == 1) { item.isReturn = true; } if (item.isReturn == 0) { item.isReturn = false; } if (item.exceptionDesc == "1") { item.exceptionDesc = true; } if (item.exceptionDesc == "0") { item.exceptionDesc = false; } }); if (this.proParentList.xiaoJie.length != 0) { this.Parent.forEach((item3) => { if (item3.proId === tab.name) { this.remark = this.Parentcheck.remark; } }); } else { this.remark = ""; } }); getDeptAdvice(this.proId).then((response) => { this.deptAdviceList = response.data; }); }); }, @@ -1955,7 +1733,7 @@ }) .catch((action) => { this.$message({ type: "info", type: "warning", message: action === "cancel" ? "放弃保存并离开" : "停留在当前页面", }); this.proName = item.proName; @@ -2126,6 +1904,14 @@ .pag1 { width: 30%; } .el-message { top: 40px !important; border: 1px solid #c1c1c1; background-color: #c1c1c1; } .el-message * { color: var(--white) !important; } </style> src/views/doctor/checkAll/index.vue
@@ -728,7 +728,7 @@ created() { // this.getNowTime(); this.getList(); this.getdate(); }, @@ -744,6 +744,7 @@ moment(res.data).format("YYYY-MM-DD 00:00:00"), moment(res.data).format("YYYY-MM-DD 23:59:00"), ]; this.getList(); }); }, // / 处理默认选中当前日期 @@ -1095,6 +1096,7 @@ }, // 重置 resetQuery() { this.startTime=[] this.resetForm("tableList"); this.submitForm(); }, src/views/doctor/examination/index.vue
@@ -353,7 +353,7 @@ }; }, created() { this.getList(); this.getdate(); // this.getNowTime(); }, @@ -369,6 +369,7 @@ moment(res.data).format("YYYY-MM-DD 00:00:00"), moment(res.data).format("YYYY-MM-DD 23:59:00"), ]; this.getList(); }); }, // / 处理默认选中当前日期 @@ -466,6 +467,7 @@ }, /** 重置按钮操作 */ resetQuery() { this.createTimeList =[] this.resetForm("queryForm"); this.handleQuery(); this.loading = true; src/views/hosp/customer/index.vue
@@ -2,7 +2,8 @@ <div class="app-container"> <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px"> <el-form-item label="姓名" prop="cusName"> <el-input v-model="queryParams.cusName" placeholder="请输入姓名" clearable style="width:120px" @keyup.enter.native="handleQuery"/> <el-input v-model="queryParams.cusName" placeholder="请输入姓名" clearable style="width:120px" @keyup.enter.native="handleQuery" /> </el-form-item> <!-- <el-form-item label="性别" prop="cusSex"> <el-select v-model="queryParams.cusSex" placeholder="请选择性别" clearable style="width:120px"> @@ -16,7 +17,8 @@ <el-input v-model="queryParams.cusAddr" placeholder="请输入现居住地址" clearable @keyup.enter.native="handleQuery"/> </el-form-item> --> <el-form-item label="联系电话" prop="cusPhone"> <el-input v-model="queryParams.cusPhone" placeholder="请输入联系电话" style="width:140px" clearable @keyup.enter.native="handleQuery"/> <el-input v-model="queryParams.cusPhone" placeholder="请输入联系电话" style="width:140px" clearable @keyup.enter.native="handleQuery" /> </el-form-item> <!-- <el-form-item label="邮政编码" prop="cusPostcode"> <el-input v-model="queryParams.cusPostcode" placeholder="请输入邮政编码" clearable @keyup.enter.native="handleQuery"/> @@ -54,21 +56,11 @@ </el-select> </el-form-item> --> <el-form-item label="身份证号" prop="cusIdcard"> <el-input v-model="queryParams.cusIdcard" placeholder="请输入身份证号" clearable @keyup.enter.native="handleQuery" /> <el-input v-model="queryParams.cusIdcard" placeholder="请输入身份证号" clearable @keyup.enter.native="handleQuery" /> </el-form-item> <el-form-item label="介绍人" prop="cusIntroduce"> <el-input v-model="queryParams.cusIntroduce" placeholder="请输入介绍人" clearable style="width:140px" @keyup.enter.native="handleQuery" /> <el-input v-model="queryParams.cusIntroduce" placeholder="请输入介绍人" clearable style="width:140px" @keyup.enter.native="handleQuery" /> </el-form-item> <!-- <el-form-item label="体检次数" prop="cusNumber"> <el-input @@ -79,346 +71,124 @@ /> </el-form-item> --> <el-form-item label="体检次数" prop="cusNumber"> <el-input v-model="queryParams.cusNumber" placeholder="输入整数" clearable style="width:100px" @keyup.enter.native="handleQuery" /> <el-input v-model="queryParams.cusNumber" placeholder="输入整数" clearable style="width:100px" @keyup.enter.native="handleQuery" /> </el-form-item> <el-form-item label="是否VIP" prop="cusIsvip"> <el-select v-model="queryParams.cusIsvip" placeholder="选择VIP" clearable style="width:100px" > <el-option v-for="dict in dict.type.sys_yes_no" :key="dict.value" :label="dict.label" :value="dict.value" /> <el-select v-model="queryParams.cusIsvip" placeholder="选择VIP" clearable style="width:100px"> <el-option v-for="dict in dict.type.sys_yes_no" :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-row :gutter="10" class="mb8"> <el-col :span="1.5"> <el-button type="primary" icon="el-icon-plus" size="mini" @click="handleAdd" v-hasPermi="['hosp:customer:add']" >新增</el-button > <el-button type="primary" icon="el-icon-plus" size="mini" @click="handleAdd" v-hasPermi="['hosp:customer:add']">新增</el-button> </el-col> <el-col :span="1.5"> <el-button type="primary" icon="el-icon-edit" size="mini" :disabled="single" @click="handleUpdate" v-hasPermi="['hosp:customer:edit']" >修改</el-button > <el-button type="primary" icon="el-icon-edit" size="mini" :disabled="single" @click="handleUpdate" v-hasPermi="['hosp:customer:edit']">修改</el-button> </el-col> <el-col :span="1.5"> <el-button type="primary" icon="el-icon-delete" size="mini" :disabled="multiple" @click="handleDelete" v-hasPermi="['hosp:customer:remove']" >删除</el-button > <el-button type="primary" icon="el-icon-delete" size="mini" :disabled="multiple" @click="handleDelete" v-hasPermi="['hosp:customer:remove']">删除</el-button> </el-col> <el-col :span="1.5"> <el-button type="primary" icon="el-icon-download" size="mini" @click="handleExport" v-hasPermi="['hosp:customer:export']" >导出</el-button > <el-button type="primary" icon="el-icon-download" size="mini" @click="handleExport" v-hasPermi="['hosp:customer: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 border v-loading="loading" :data="customerList" @selection-change="handleSelectionChange" > <el-table border v-loading="loading" :data="customerList" @selection-change="handleSelectionChange"> <el-table-column type="selection" width="40px" align="center" fixed="left" /> <el-table-column label="序号" align="center" prop="newID" fixed="left" :show-overflow-tooltip="true" width="50px" /> <el-table-column label="姓名" align="center" prop="cusName" width="90px" fixed="left" :show-overflow-tooltip="true" /> <el-table-column label="性别" align="center" prop="cusSex" :show-overflow-tooltip="true" width="60px" > <el-table-column label="序号" align="center" prop="newID" fixed="left" :show-overflow-tooltip="true" width="50px" /> <el-table-column label="姓名" align="center" prop="cusName" width="90px" fixed="left" :show-overflow-tooltip="true" /> <el-table-column label="性别" align="center" prop="cusSex" :show-overflow-tooltip="true" width="60px"> <template slot-scope="scope"> <dict-tag :options="dict.type.sys_user_sex" :value="scope.row.cusSex" /> <dict-tag :options="dict.type.sys_user_sex" :value="scope.row.cusSex" /> </template> </el-table-column> <el-table-column label="出生日期" align="center" prop="cusBrithday" width="100px" :show-overflow-tooltip="true" > <el-table-column label="出生日期" align="center" prop="cusBrithday" width="100px" :show-overflow-tooltip="true"> <template slot-scope="scope"> <span>{{ parseTime(scope.row.cusBrithday, "{y}-{m}-{d}") }}</span> </template> </el-table-column> <el-table-column label="身份证号" align="center" prop="cusIdcard" width="170px" :show-overflow-tooltip="true" /> <el-table-column label="联系电话" align="center" prop="cusPhone" width="110px" :show-overflow-tooltip="true" /> <el-table-column label="现住址" align="center" prop="cusAddr" width="180px" :show-overflow-tooltip="true" /> <el-table-column label="身份证号" align="center" prop="cusIdcard" width="170px" :show-overflow-tooltip="true" /> <el-table-column label="联系电话" align="center" prop="cusPhone" width="110px" :show-overflow-tooltip="true" /> <el-table-column label="现住址" align="center" prop="cusAddr" width="180px" :show-overflow-tooltip="true" /> <el-table-column label="邮政编码" align="center" prop="cusPostcode" width="80px" :show-overflow-tooltip="true" /> <el-table-column label="邮箱" align="center" prop="cusEmail" width="170px" :show-overflow-tooltip="true" /> <el-table-column label="民族" align="center" prop="cusNational" width="80px" :show-overflow-tooltip="true" > <el-table-column label="邮政编码" align="center" prop="cusPostcode" width="80px" :show-overflow-tooltip="true" /> <el-table-column label="邮箱" align="center" prop="cusEmail" width="170px" :show-overflow-tooltip="true" /> <el-table-column label="民族" align="center" prop="cusNational" width="80px" :show-overflow-tooltip="true"> <template slot-scope="scope"> <dict-tag :options="dict.type.dict_user_national" :value="scope.row.cusNational" /> <dict-tag :options="dict.type.dict_user_national" :value="scope.row.cusNational" /> </template> </el-table-column> <el-table-column label="婚姻状况" align="center" prop="cusMarryStatus" :show-overflow-tooltip="true" width="80px" > <el-table-column label="婚姻状况" align="center" prop="cusMarryStatus" :show-overflow-tooltip="true" width="80px"> <template slot-scope="scope"> <dict-tag :options="dict.type.dict_user_marry" :value="scope.row.cusMarryStatus" /> <dict-tag :options="dict.type.dict_user_marry" :value="scope.row.cusMarryStatus" /> </template> </el-table-column> <el-table-column label="介绍人" align="center" prop="cusIntroduce" width="90px" :show-overflow-tooltip="true" /> <el-table-column label="次数" align="center" prop="cusNumber" width="55px" :show-overflow-tooltip="true" /> <el-table-column label="VIP" align="center" prop="cusIsvip" width="55px" :show-overflow-tooltip="true" > <el-table-column label="介绍人" align="center" prop="cusIntroduce" width="90px" :show-overflow-tooltip="true" /> <el-table-column label="次数" align="center" prop="cusNumber" width="55px" :show-overflow-tooltip="true" /> <el-table-column label="VIP" align="center" prop="cusIsvip" width="55px" :show-overflow-tooltip="true"> <template slot-scope="scope"> <dict-tag :options="dict.type.sys_yes_no" :value="scope.row.cusIsvip" /> <dict-tag :options="dict.type.sys_yes_no" :value="scope.row.cusIsvip" /> </template> </el-table-column> <el-table-column label="索引卡号" align="center" prop="indexCard" :show-overflow-tooltip="true" /> <el-table-column fixed="right" label="操作" align="center" width="70px" class-name="small-padding fixed-width" > <el-table-column label="索引卡号" align="center" prop="indexCard" :show-overflow-tooltip="true" /> <el-table-column fixed="right" label="操作" align="center" width="90px" 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:customer:edit']" title="修改" ></el-button> <el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)" v-hasPermi="['hosp:customer:remove']" title="删除" ></el-button> <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" v-hasPermi="['hosp:customer:edit']" title="修改"></el-button> <el-button size="mini" type="text" icon="el-icon-share" @click="handleDetails(scope.row)" v-hasPermi="['hosp:customer:edit']" title="详情"></el-button> <el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)" v-hasPermi="['hosp:customer:remove']" title="删除"></el-button> </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> <!-- 添加或修改信息对话框 --> <el-dialog :title="title" :visible.sync="open" width="1000px" append-to-body > <el-form ref="form" :model="form" :rules="rules" label-width="100px" :inline="true" > <el-dialog :title="title" :visible.sync="open" width="1000px" append-to-body> <el-form ref="form" :model="form" :rules="rules" label-width="100px" :inline="true"> <el-form-item label="姓名" prop="cusName"> <el-input v-model="form.cusName" placeholder="请输入姓名" style="width: 200px" /> <el-input v-model="form.cusName" placeholder="请输入姓名" style="width: 200px" /> </el-form-item> <el-form-item label="性别" prop="cusSex"> <el-select v-model="form.cusSex" placeholder="请选择性别" style="width: 200px" > <el-option v-for="dict in dict.type.sys_user_sex" :key="dict.value" :label="dict.label" :value="parseInt(dict.value)" ></el-option> <el-select v-model="form.cusSex" placeholder="请选择性别" style="width: 200px"> <el-option v-for="dict in dict.type.sys_user_sex" :key="dict.value" :label="dict.label" :value="parseInt(dict.value)"></el-option> </el-select> </el-form-item> <el-form-item label="身份证号" prop="cusIdcard"> <el-input v-model="form.cusIdcard" placeholder="请输入身份证号" style="width: 200px" /> <el-input v-model="form.cusIdcard" placeholder="请输入身份证号" style="width: 200px" /> </el-form-item> <el-form-item label="出生日期" prop="cusBrithday"> <el-date-picker clearable v-model="form.cusBrithday" type="date" value-format="yyyy-MM-dd" placeholder="请选择出生日期" style="width: 200px" > <el-date-picker clearable v-model="form.cusBrithday" type="date" value-format="yyyy-MM-dd" placeholder="请选择出生日期" style="width: 200px"> </el-date-picker> </el-form-item> <el-form-item label="现住址" prop="cusAddr"> <el-input v-model="form.cusAddr" placeholder="请输入现居住地址" style="width: 200px" /> <el-input v-model="form.cusAddr" placeholder="请输入现居住地址" style="width: 200px" /> </el-form-item> <el-form-item label="联系电话" prop="cusPhone"> <el-input v-model="form.cusPhone" placeholder="请输入联系电话" style="width: 200px" /> <el-input v-model="form.cusPhone" placeholder="请输入联系电话" style="width: 200px" /> </el-form-item> <!-- <el-form-item label="账号密码" prop="cusPassword"> <el-input v-model="form.cusPassword" placeholder="请输入账号密码" style="width: 220px" /> @@ -427,64 +197,31 @@ <el-input v-model="form.cusPostcode" placeholder="请输入邮政编码" /> </el-form-item> --> <el-form-item label="邮箱" prop="cusEmail"> <el-input v-model="form.cusEmail" placeholder="请输入邮箱" style="width: 200px" /> <el-input v-model="form.cusEmail" placeholder="请输入邮箱" style="width: 200px" /> </el-form-item> <!-- <el-form-item label="索引卡号" prop="indexCard"> <el-input v-model="form.indexCard" placeholder="请输入索引卡号" style="width: 220px" /> </el-form-item> --> <el-form-item label="民族" prop="cusNational"> <el-select v-model="form.cusNational" placeholder="请选择民族" style="width: 200px" filterable > <el-option v-for="dict in dict.type.dict_user_national" :key="dict.value" :label="dict.label" :value="dict.value" ></el-option> <el-select v-model="form.cusNational" placeholder="请选择民族" style="width: 200px" filterable> <el-option v-for="dict in dict.type.dict_user_national" :key="dict.value" :label="dict.label" :value="dict.value"></el-option> </el-select> </el-form-item> <el-form-item label="婚姻状况" prop="cusMarryStatus"> <el-select v-model="form.cusMarryStatus" placeholder="请选择婚姻状况" style="width: 200px" > <el-option v-for="dict in dict.type.dict_user_marry" :key="dict.value" :label="dict.label" :value="dict.value" ></el-option> <el-select v-model="form.cusMarryStatus" placeholder="请选择婚姻状况" style="width: 200px"> <el-option v-for="dict in dict.type.dict_user_marry" :key="dict.value" :label="dict.label" :value="dict.value"></el-option> </el-select> </el-form-item> <el-form-item label="介绍人" prop="cusIntroduce"> <el-input v-model="form.cusIntroduce" placeholder="请输入介绍人" style="width: 200px" /> <el-input v-model="form.cusIntroduce" placeholder="请输入介绍人" style="width: 200px" /> </el-form-item> <el-form-item label="是否VIP" prop="cusIsvip"> <el-select v-model="form.cusIsvip" placeholder="请选择是否VIP" style="width: 200px" > <el-option v-for="dict in dict.type.sys_yes_no" :key="dict.value" :label="dict.label" :value="dict.value" ></el-option> <el-select v-model="form.cusIsvip" placeholder="请选择是否VIP" style="width: 200px"> <el-option v-for="dict in dict.type.sys_yes_no" :key="dict.value" :label="dict.label" :value="dict.value"></el-option> </el-select> </el-form-item> </el-form> @@ -493,20 +230,121 @@ <el-button @click="cancel">取 消</el-button> </div> </el-dialog> <!-- 点击右边弹出层 --> <el-drawer :visible.sync="drawer" :with-header="false" size="70%" :before-close="handleClose"> <div style="text-align: center;margin: 10px 0;"> <span>健康记录</span> </div> <template> <el-tabs v-model="activeName" type="border-card" @tab-click="handleTabClick" style="margin-left: 10px;"> <el-tab-pane label="体检记录" name="first"> <el-row> <el-col :span="14"> <el-table ref="selectChargeRuleRef" v-loading="loading" :data="detailsList" border height="680px" style="width: 96%; margin: 10px 10px" @selection-change="selectChargeRule"> <el-table-column type="selection" width="40px" align="center" fixed="left" /> <!-- <el-table-column prop="tjNum" label="体检号" width="155" align="center"></el-table-column> --> <el-table-column prop="tjTime" label="体检时间" width="155" align="center"></el-table-column> <el-table-column prop="tjProName" label="体检项目" align="center"></el-table-column> <el-table-column prop="userName" label="总检医师" width="75" align="center"></el-table-column> <el-table-column prop="paidIn" label="体检费用" width="75" align="center"></el-table-column> </el-table> </el-col> <el-col :span="10"> <div> <iframe id="printIframe" :src="url" frameborder="0" style="width: 100%;height: 680px;"></iframe> </div> </el-col> </el-row> </el-tab-pane> <el-tab-pane label="门诊记录" name="second"> <el-row> <el-col :span="14"> <el-table ref="selectChargeRuleRef" v-loading="loading" :data="detailsList" border height="680px" style="width: 96%; margin: 10px 10px" @selection-change="selectChargeRule"> <el-table-column type="selection" width="40px" align="center" /> <el-table-column prop="project.proScope" label="序号"></el-table-column> <el-table-column prop="project.proScope" label="就诊时间" align="center"></el-table-column> <el-table-column prop="project.proScope" label="就诊科室" align="center"></el-table-column> <el-table-column prop="project.proScope" label="接诊医师" align="center"></el-table-column> <el-table-column prop="project.proScope" label="就诊总费用" align="center"></el-table-column> </el-table> </el-col> <el-col :span="10"> <quill-editor v-model="form.content" :options="editorOption" style="height:680px;width:96%"> </quill-editor> </el-col> </el-row> </el-tab-pane> <el-tab-pane label="住院记录" name="third"> <el-row> <el-col :span="14"> <el-table ref="selectChargeRuleRef" v-loading="loading" :data="detailsList" border height="680px" style="width: 96%; margin: 10px 10px" @selection-change="selectChargeRule"> <el-table-column type="selection" width="40px" align="center" /> <el-table-column prop="project.proScope" label="序号" align="center"></el-table-column> <el-table-column prop="project.proScope" label="入院时间" align="center"></el-table-column> <el-table-column prop="project.proScope" label="出院时间" align="center"></el-table-column> <el-table-column prop="project.proScope" label="住院天数" align="center"></el-table-column> <el-table-column prop="project.proScope" label="住院科室" align="center"></el-table-column> <el-table-column prop="project.proScope" label="主治医师" align="center"></el-table-column> <el-table-column prop="project.proScope" label="主要诊断" align="center"></el-table-column> <el-table-column prop="project.proScope" label="是否手术" align="center"></el-table-column> <el-table-column prop="project.proScope" label="离院方式" align="center"></el-table-column> <el-table-column prop="project.proScope" label="住院总费用" align="center"></el-table-column> </el-table> </el-col> <el-col :span="10"> <quill-editor v-model="form.content" :options="editorOption" style="height:680px;width:96%"> </quill-editor> </el-col> </el-row> </el-tab-pane> <el-tab-pane label="手术记录" name="fourth"> <el-table v-loading="loading" :data="detailsList" border height="460px" style="width: 96%; margin: 10px 10px"> <el-table-column prop="project.proScope" label="序号" align="center"></el-table-column> <el-table-column prop="project.proScope" label="开始时间" align="center"></el-table-column> <el-table-column prop="project.proScope" label="结束时间" align="center"></el-table-column> <el-table-column prop="project.proScope" label="手术名称" align="center"></el-table-column> <el-table-column prop="project.proScope" label="手术编码" align="center"></el-table-column> <el-table-column prop="project.proScope" label="手术级别" align="center"></el-table-column> <el-table-column prop="project.proScope" label="术者" align="center"></el-table-column> <el-table-column prop="project.proScope" label="一助" align="center"></el-table-column> <el-table-column prop="project.proScope" label="二助" align="center"></el-table-column> <el-table-column prop="project.proScope" label="麻醉方式" align="center"></el-table-column> <el-table-column prop="project.proScope" label="麻醉开始时间" align="center"></el-table-column> <el-table-column prop="project.proScope" label="麻醉结束时间" align="center"></el-table-column> <el-table-column prop="project.proScope" label="麻醉医师" align="center"></el-table-column> </el-table> </el-tab-pane> </el-tabs> </template> </el-drawer> </div> </template> <script> import { quillEditor } from 'vue-quill-editor' import 'quill/dist/quill.core.css' import 'quill/dist/quill.snow.css' import 'quill/dist/quill.bubble.css' import { listCustomer, getCustomer, delCustomer, addCustomer, updateCustomer, getHistryTjOrderByCusIdCard } from "@/api/hosp/customer"; import { getPdf } from "@/api/hosp/order"; export default { name: "Customer", components: { quillEditor }, dicts: [ "dict_user_national", "dict_user_marry", @@ -515,7 +353,6 @@ ], data() { let checkPhoneNum = (rule, value, callback) => { console.log( value) let patter = new RegExp(/^1\s*[3456789]\s*(\d\s*){9}$/); if (value == "" && value == undefined && !value) { return callback(''); @@ -526,14 +363,40 @@ } }; return { editorOption: { placeholder: '请在这里输入', modules: { toolbar: [ ['bold', 'italic', 'underline', 'strike'], //加粗,斜体,下划线,删除线 ['blockquote', 'code-block'], //引用,代码块 [{ header: 1 }, { header: 2 }], // 标题,键值对的形式;1、2表示字体大小 [{ list: 'ordered' }, { list: 'bullet' }], //列表 [{ script: 'sub' }, { script: 'super' }], // 上下标 [{ indent: '-1' }, { indent: '+1' }], // 缩进 [{ direction: 'rtl' }], // 文本方向 [{ size: ['small', false, 'large', 'huge'] }], // 字体大小 [{ header: [1, 2, 3, 4, 5, 6, false] }], //几级标题 [{ color: [] }, { background: [] }], // 字体颜色,字体背景颜色 [{ font: [] }], //字体 [{ align: [] }], //对齐方式 ['clean'], //清除字体样式 ['image', 'video'], //上传图片、上传视频 ], }, }, // 遮罩层 loading: true, // 选中数组 ids: [], // 非单个禁用 single: true, drawer: false, detailsList: [], activeName: 'first', // 非多个禁用 multiple: true, url: "", // 显示搜索条件 showSearch: true, // 总条数 @@ -678,6 +541,62 @@ this.title = "客户信息维护"; }); }, // 详情 handleDetails(row) { this.drawer = true let cusId = row.cusId getHistryTjOrderByCusIdCard(cusId).then(res => { this.detailsList = res.data }) }, selectChargeRule(val) { if (val.length > 1) { this.$refs.selectChargeRuleRef.clearSelection() this.$refs.selectChargeRuleRef.toggleRowSelection(val[val.length - 1]) } let selectedRule = val[val.length - 1] if (this.activeName == "first") { const flag = true; let tjNumber = selectedRule.tjNum // let tjNumber = "10001240305100029" getPdf(tjNumber, flag).then((response) => { if (response.size === 0) { const loading = this.$loading({ lock: true, text: "Loading", spinner: "el-icon-loading", background: "rgba(0, 0, 0, 0.7)", }); setTimeout(() => { loading.close(); }, 3000); // this.$message.msgSuccess("报告正在生成,请两分钟后预览!"); this.$message({ message: "报告正在生成,请两分钟后预览!", type: "warning", }); } else { this.dialogVisible = true; this.url = window.webkitURL.createObjectURL(response); //将后端返回的blob文件读取出url } }); } else if (this.activeName == "second") { } else if (this.activeName == "third") { } }, handleClose() { this.$tab.refreshPage(); }, handleTabClick() { console.log(this.activeName) }, /** 提交按钮 */ submitForm() { this.$refs["form"].validate((valid) => { @@ -731,6 +650,7 @@ display: flex; justify-content: center; } .pag1 { width: 30%; } src/views/hosp/extension/index.vue
@@ -410,7 +410,7 @@ }, created() { // this.getNowTime(); this.getList(); this.getdate(); }, mounted() { @@ -425,6 +425,7 @@ moment(res.data).format("YYYY-MM-DD 00:00:00"), moment(res.data).format("YYYY-MM-DD 23:59:00"), ]; this.getList(); }); }, dialogVisibles() { @@ -540,6 +541,7 @@ }, /** 重置按钮操作 */ resetQuery() { this.finishTimeList=[] this.resetForm("queryForm"); this.handleQuery(); }, src/views/hosp/fuzhen/index.vue
@@ -608,6 +608,9 @@ }, /** 重置按钮操作 */ resetQuery() { this.reportTimeList =[] this.startTime =[] this.startTime1 =[] this.resetForm("queryForm"); this.handleQuery(); }, src/views/hosp/history/index.vue
@@ -293,7 +293,7 @@ this.loading = true; listHarmType().then((response) => { this.harmTypeList = response.rows; this.loading = false; }); getOrderList(this.queryParams).then((response) => { this.orderList = response.data.list; src/views/hosp/order/index.vue
@@ -888,7 +888,7 @@ }, created() { // this.getNowTime(); this.getList(); this.getdate(); }, mounted() { @@ -899,10 +899,14 @@ methods: { getdate() { getNewDateList().then((res) => { if(res.data){ this.createTimeList = [ moment(res.data).format("YYYY-MM-DD 00:00:00"), moment(res.data).format("YYYY-MM-DD 23:59:00") ];; ]; this.getList(); } }); }, filterNode(value, data) { @@ -1060,6 +1064,7 @@ }, // 表单重置 reset() { this.form = { orderId: null, userId: null, @@ -1097,6 +1102,9 @@ }, /** 重置按钮操作 */ resetQuery() { this.startTime = [] this.startTime1 = [] this.createTimeList = [] this.resetForm("queryForm"); this.handleQuery(); }, src/views/sampling/sampling/index.vue
@@ -380,7 +380,7 @@ }, created() { // this.getNowTime(); this.getList(); this.getdate(); }, mounted() { @@ -395,6 +395,7 @@ moment(res.data).format("YYYY-MM-DD 00:00:00"), moment(res.data).format("YYYY-MM-DD 23:59:00"), ]; this.getList(); }); }, handleSizeChange(val) { @@ -499,6 +500,7 @@ }, /** 重置按钮操作 */ resetQuery() { this.createTimeList=[] this.resetForm("queryForm"); this.handleQuery(); }, src/views/system/Checkout/index.vue
@@ -409,7 +409,7 @@ leave: false, checked: false, radioId1: false, createTimeList: "", createTimeList: [], cusId: "", payType: "0", dialogVisible: false, @@ -523,7 +523,7 @@ }, created() { // this.getNowTime(); this.getList(); this.getdate(); }, mounted() { @@ -538,6 +538,7 @@ moment(res.data).format("YYYY-MM-DD 00:00:00"), moment(res.data).format("YYYY-MM-DD 23:59:00"), ]; this.getList(); }); }, // / 处理默认选中当前日期 @@ -667,6 +668,8 @@ }, /** 重置按钮操作 */ resetQuery() { this.createTimeList = [] this.startTime= [] this.resetForm("queryForm"); this.handleQuery(); }, src/views/system/bill/index.vue
@@ -635,7 +635,7 @@ }, created() { // this.getNowTime(); this.getList(); this.Company(); this.getdate(); }, @@ -651,6 +651,7 @@ moment(res.data).format("YYYY-MM-DD 00:00:00"), moment(res.data).format("YYYY-MM-DD 23:59:00"), ]; this.getList(); }); }, // / 处理默认选中当前日期 @@ -821,8 +822,15 @@ }, /** 查询体检记录列表 */ getList() { if(this.createTimeList){ this.queryParams.djbeginTime = this.createTimeList[0]; this.queryParams.djendTime = this.createTimeList[1]; }else{ this.queryParams.djbeginTime = this.startTime[0]; this.queryParams.djendTime = this.startTime[1]; } this.loading = true; getOrderList(this.queryParams).then((response) => { this.orderList = response.data.list; @@ -902,6 +910,7 @@ }, /** 重置按钮操作 */ resetQuery() { this.createTimeList=[] this.resetForm("queryForm"); this.handleQuery(); }, src/views/system/biol/index.vue
@@ -8,12 +8,12 @@ <el-input style="width: 170px" v-model="queryParams.tjNum" placeholder="请输入体检号" clearable @keyup.enter.native="handleQuery" ref="inputName" @blur="hb" /> </el-form-item> <el-form-item label="报告时间" prop="reportTimeList"> <el-date-picker clearable v-model="queryParams.reportTimeList" type="daterange" range-separator="-" <el-form-item label="报告时间" prop="createTimeList"> <el-date-picker clearable v-model="createTimeList" type="daterange" range-separator="-" start-placeholder="开始日期" end-placeholder="结束日期" :picker-options="pickerOptions" :default-time="['00:00:00', '23:00:00']" format="yyyy-MM-dd HH:mm:ss" value-format="yyyy-MM-dd HH:mm:ss" placeholder="请选择出报告时间" > placeholder="请选择出报告时间" @change="dateChangebirthday1"> </el-date-picker> </el-form-item> <!-- <el-form-item label="单位名称" prop="firmId"> @@ -465,7 +465,7 @@ }, created() { // this.getNowTime(); this.getList(); this.Company(); this.getdate(); }, @@ -477,10 +477,11 @@ methods: { getdate() { getNewDateList().then((res) => { this.queryParams.reportTimeList = [ this.createTimeList= [ moment(res.data).format("YYYY-MM-DD 00:00:00"), moment(res.data).format("YYYY-MM-DD 23:59:00"), ]; this.getList(); }); }, // / 处理默认选中当前日期 @@ -762,8 +763,9 @@ }, /** 查询体检记录列表 */ getList() { this.queryParams.djbeginTime = this.startTime[0]; this.queryParams.djendTime = this.startTime[1]; console.log(this.queryParams) this.queryParams.djbeginTime = this.createTimeList[0]; this.queryParams.djendTime = this.createTimeList[1]; this.loading = true; getInfo().then((response) => { this.userIds = response.user.userId; @@ -808,6 +810,7 @@ }, // 表单重置 reset() { this.form = { orderId: null, tjType: null, @@ -841,6 +844,7 @@ }, /** 重置按钮操作 */ resetQuery() { this.createTimeList =[] this.resetForm("queryForm"); this.handleQuery(); }, src/views/team/disease/index.vue
@@ -331,7 +331,7 @@ }, created() { // this.getNowTime(); this.getList(); this.getcomp(); this.geticd(); this.getdate(); @@ -343,6 +343,7 @@ moment(res.data).format("YYYY-MM-DD 00:00:00"), moment(res.data).format("YYYY-MM-DD 23:59:00") ];; this.getList(); }); }, // / 处理默认选中当前日期 @@ -436,6 +437,7 @@ }, /** 重置按钮操作 */ resetQuery() { this.createTimeList=[] this.resetForm("queryForm"); this.handleQuery(); this.loading = true; src/views/team/reporting/index.vue
@@ -380,7 +380,7 @@ /** 搜索按钮操作 */ handleQuery() { this.queryParams.page = 1; this.getList(); // this.getList(); }, /** 重置按钮操作 */ resetQuery() { src/views/team/reportresults/index.vue
@@ -7,7 +7,7 @@ :inline="true" label-width="68px" > <el-form-item label="时间" prop="applicationTime"> <el-form-item label="时间" prop="createTimeList"> <el-date-picker clearable v-model="createTimeList" @@ -403,7 +403,7 @@ created() { this.getdate(); this.getNowTime(); this.getList(); this.getcomp(); this.getData(); this.datekey = Date.now(); @@ -420,6 +420,7 @@ moment(res.data).format("YYYY-MM-DD 00:00:00"), moment(res.data).format("YYYY-MM-DD 23:59:00"), ]; this.getList(); }); }, filterNode(value, data) { @@ -537,6 +538,7 @@ }, /** 重置按钮操作 */ resetQuery() { this.createTimeList = [] this.resetForm("queryForm"); this.handleQuery(); this.loading = true; src/views/team/teams/index.vue
@@ -481,7 +481,7 @@ }, created() { // this.getNowTime(); this.getList(); this.getdate(); }, @@ -492,11 +492,17 @@ moment(res.data).format("YYYY-MM-DD 00:00:00"), moment(res.data).format("YYYY-MM-DD 23:59:00"), ]; this.getList(); }); }, getList() { this.loading = true; getCompany(this.queryParam).then((response) => { if(this.createTimeList){ this.objs.beginTime=this.createTimeList[0], this.objs.endTime=this.createTimeList[1] } getCompany(this.objs).then((response) => { this.CompanyList = response.data; this.total = response.total; this.loading = false; @@ -531,6 +537,7 @@ }, // 表单重置 reset() { this.createTimeList =[] this.form = { company: null, payType: null, vue.config.js
@@ -53,7 +53,7 @@ // detail: https://cli.vuejs.org/config/#devserver-proxy [process.env.VUE_APP_BASE_API]: { //target: `https://ltpeis.xaltjdkj.cn:5501/prod-api/getInfo`, target: `http://192.168.0.108:5011`, target: `http://192.168.0.112: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`,