| | |
| | | placeholder="请输入体检号" |
| | | clearable |
| | | @keyup.enter.native="handleQuery" |
| | | @blur="handleQuery" |
| | | @blur="hb" |
| | | style="width: 160px" |
| | | /> |
| | | </el-form-item> |
| | |
| | | <!-- </div> --> |
| | | </div> |
| | | |
| | | <div style="margin-right: 70%"> |
| | | <pagination |
| | | v-show="total > 0" |
| | | :total="total" |
| | | :page.sync="queryParams.pageNum" |
| | | :limit.sync="queryParams.pageSize" |
| | | @pagination="getList" |
| | | /> |
| | | <div class="pag"> |
| | | <div class="pag1"> |
| | | <pagination |
| | | v-show="total > 0" |
| | | :total="total" |
| | | :page.sync="queryParams.pageNum" |
| | | :limit.sync="queryParams.pageSize" |
| | | @pagination="getList" |
| | | /> |
| | | </div> |
| | | </div> |
| | | <el-drawer |
| | | title="我是标题" |
| | |
| | | >{{ item }}</span |
| | | > |
| | | </div> |
| | | <!-- 右耳 --> |
| | | <el-form |
| | | :model="queryParams" |
| | | :model="youerList" |
| | | ref="queryForm" |
| | | size="small" |
| | | :inline="true" |
| | |
| | | > |
| | | <el-form-item label="实测气导值:"> |
| | | <el-input |
| | | v-model="yqdwb" |
| | | v-model="youerList.qdwb" |
| | | style="width: 50px" |
| | | @input="ysels" |
| | | /> |
| | | <el-input |
| | | v-model="yqdyq" |
| | | v-model="youerList.qdyq" |
| | | style="width: 50px" |
| | | @input="ysels1" |
| | | /> |
| | | <el-input |
| | | v-model="yqdlq" |
| | | v-model="youerList.qdlq" |
| | | style="width: 50px" |
| | | @input="ysels2" |
| | | /> |
| | | <el-input |
| | | v-model="yqdsq" |
| | | v-model="youerList.qdsq" |
| | | style="width: 50px" |
| | | @input="ysels3" |
| | | /> |
| | | <el-input |
| | | v-model="yqdsiq" |
| | | v-model="youerList.qdsiq" |
| | | style="width: 50px" |
| | | @input="ysels4" |
| | | /> |
| | | <el-input |
| | | v-model="yqdliuq" |
| | | v-model="youerList.qdliuq" |
| | | style="width: 50px" |
| | | @input="ysels5" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="实测骨导值:"> |
| | | <el-input |
| | | v-model="ygdwb" |
| | | v-model="youerList.gdwb" |
| | | style="width: 50px" |
| | | @input="ygsels" |
| | | /> |
| | | <el-input |
| | | v-model="ygdyq" |
| | | v-model="youerList.gdyq" |
| | | style="width: 50px" |
| | | @input="ygsels1" |
| | | /> |
| | | <el-input |
| | | v-model="ygdlq" |
| | | v-model="youerList.gdlq" |
| | | style="width: 50px" |
| | | @input="ygsels2" |
| | | /> |
| | | <el-input |
| | | v-model="ygdsq" |
| | | v-model="youerList.gdsq" |
| | | style="width: 50px" |
| | | @input="ygsels3" |
| | | /> |
| | | <el-input |
| | | v-model="ygdsiq" |
| | | v-model="youerList.gdsiq" |
| | | style="width: 50px" |
| | | @input="ygsels4" |
| | | /> |
| | | <el-input |
| | | v-model="ygdliuq" |
| | | v-model="youerList.gdliuq" |
| | | style="width: 50px" |
| | | @input="ygsels5" |
| | | /> |
| | |
| | | >{{ item }}</span |
| | | > |
| | | </div> |
| | | <!-- 左耳 --> |
| | | <el-form |
| | | :model="queryParams" |
| | | :model="zuoerList" |
| | | ref="queryForm" |
| | | size="small" |
| | | :inline="true" |
| | |
| | | > |
| | | <el-form-item label="实测气导值:"> |
| | | <el-input |
| | | v-model="zqdwb" |
| | | v-model="zuoerList.qdwb" |
| | | style="width: 50px" |
| | | @input="zsels" |
| | | /> |
| | | <el-input |
| | | v-model="zqdyq" |
| | | v-model="zuoerList.qdyq" |
| | | style="width: 50px" |
| | | @input="zsels1" |
| | | /> |
| | | <el-input |
| | | v-model="zqdlq" |
| | | v-model="zuoerList.qdlq" |
| | | style="width: 50px" |
| | | @input="zsels2" |
| | | /> |
| | | <el-input |
| | | v-model="zqdsq" |
| | | v-model="zuoerList.qdsq" |
| | | style="width: 50px" |
| | | @input="zsels3" |
| | | /> |
| | | <el-input |
| | | v-model="zqdsiq" |
| | | v-model="zuoerList.qdsiq" |
| | | style="width: 50px" |
| | | @input="zsels4" |
| | | /> |
| | | <el-input |
| | | v-model="zqdliuq" |
| | | v-model="zuoerList.qdliuq" |
| | | style="width: 50px" |
| | | @input="zsels5" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="实测骨导值:"> |
| | | <el-input |
| | | v-model="zgdwb" |
| | | v-model="zuoerList.gdwb" |
| | | style="width: 50px" |
| | | @input="zgsels" |
| | | /> |
| | | <el-input |
| | | v-model="zgdyq" |
| | | v-model="zuoerList.gdyq" |
| | | style="width: 50px" |
| | | @input="zgsels1" |
| | | /> |
| | | <el-input |
| | | v-model="zgdlq" |
| | | v-model="zuoerList.gdlq" |
| | | style="width: 50px" |
| | | @input="zgsels2" |
| | | /> |
| | | <el-input |
| | | v-model="zgdsq" |
| | | v-model="zuoerList.gdsq" |
| | | style="width: 50px" |
| | | @input="zgsels3" |
| | | /> |
| | | <el-input |
| | | v-model="zgdsiq" |
| | | v-model="zuoerList.gdsiq" |
| | | style="width: 50px" |
| | | @input="zgsels4" |
| | | /> |
| | | <el-input |
| | | v-model="zgdliuq" |
| | | v-model="zuoerList.gdliuq" |
| | | style="width: 50px" |
| | | @input="zgsels5" |
| | | /> |
| | |
| | | </div> |
| | | </div> |
| | | <div class="tanchuangbox_right"> |
| | | <div> |
| | | <div v-if="row.tjType == '02'"> |
| | | <span>职业史</span> |
| | | <div style="width: 100%; min-height: 300px"></div> |
| | | <div style="width: 100%; min-height: 200px; margin-top: 10px"> |
| | | <el-table |
| | | border |
| | | :data="row.workLogs" |
| | | style="width: 100%" |
| | | max-height="200" |
| | | > |
| | | <el-table-column |
| | | prop="beginTime" |
| | | label="开始时间" |
| | | align="center" |
| | | :show-overflow-tooltip="true" |
| | | > |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="endTime" |
| | | label="结束时间" |
| | | align="center" |
| | | :show-overflow-tooltip="true" |
| | | > |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="workCompany" |
| | | label="工作单位" |
| | | align="center" |
| | | :show-overflow-tooltip="true" |
| | | > |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="workDept" |
| | | label="部门" |
| | | align="center" |
| | | :show-overflow-tooltip="true" |
| | | > |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="workType" |
| | | label="工种" |
| | | align="center" |
| | | :show-overflow-tooltip="true" |
| | | > |
| | | </el-table-column> |
| | | </el-table> |
| | | </div> |
| | | </div> |
| | | <div style="display: flex; margin-top: 20px"> |
| | | <div |
| | |
| | | </div> |
| | | <div class="ss"> |
| | | <span class="ss_txt">语频平均</span> |
| | | <el-input v-model="input" style="width: 60px"></el-input> |
| | | <el-input v-model="input" style="width: 60px"></el-input> |
| | | <el-input v-model="input" style="width: 60px"></el-input> |
| | | <el-input v-model="youerList.yppj" style="width: 60px"></el-input> |
| | | <el-input v-model="zuoerList.yppj" style="width: 60px"></el-input> |
| | | <el-input |
| | | v-model="shuangerList.yppj" |
| | | style="width: 60px" |
| | | ></el-input> |
| | | </div> |
| | | <div class="ss"> |
| | | <span class="ss_txt">500语频矫正</span> |
| | | <el-input v-model="input" style="width: 60px"></el-input> |
| | | <el-input v-model="input" style="width: 60px"></el-input> |
| | | <el-input |
| | | v-model="youerList.wbypjz" |
| | | style="width: 60px" |
| | | ></el-input> |
| | | <el-input |
| | | v-model="zuoerList.wbypjz" |
| | | style="width: 60px" |
| | | ></el-input> |
| | | </div> |
| | | <div class="ss"> |
| | | <span class="ss_txt">1000语频矫正</span> |
| | | <el-input v-model="input" style="width: 60px"></el-input> |
| | | <el-input v-model="input" style="width: 60px"></el-input> |
| | | <el-input |
| | | v-model="youerList.yqypjz" |
| | | style="width: 60px" |
| | | ></el-input> |
| | | <el-input |
| | | v-model="zuoerList.yqypjz" |
| | | style="width: 60px" |
| | | ></el-input> |
| | | </div> |
| | | <div class="ss"> |
| | | <span class="ss_txt">2000语频矫正</span> |
| | | <el-input v-model="input" style="width: 60px"></el-input> |
| | | <el-input v-model="input" style="width: 60px"></el-input> |
| | | <el-input |
| | | v-model="youerList.lqypjz" |
| | | style="width: 60px" |
| | | ></el-input> |
| | | <el-input |
| | | v-model="zuoerList.lqypjz" |
| | | style="width: 60px" |
| | | ></el-input> |
| | | </div> |
| | | <div class="ss"> |
| | | <span class="ss_txt">高频气导平均</span> |
| | | <el-input v-model="input" style="width: 60px"></el-input> |
| | | <el-input v-model="input" style="width: 60px"></el-input> |
| | | <el-input v-model="input" style="width: 60px"></el-input> |
| | | <el-input |
| | | v-model="youerList.gpqdpj" |
| | | style="width: 60px" |
| | | ></el-input> |
| | | <el-input |
| | | v-model="zuoerList.gpqdpj" |
| | | style="width: 60px" |
| | | ></el-input> |
| | | <el-input |
| | | v-model="shuangerList.gpqdpj" |
| | | style="width: 60px" |
| | | ></el-input> |
| | | </div> |
| | | <div class="ss"> |
| | | <span class="ss_txt">高频骨导平均</span> |
| | | <el-input v-model="input" style="width: 60px"></el-input> |
| | | <el-input v-model="input" style="width: 60px"></el-input> |
| | | <el-input |
| | | v-model="youerList.gpgdpj" |
| | | style="width: 60px" |
| | | ></el-input> |
| | | <el-input |
| | | v-model="zuoerList.gpgdpj" |
| | | style="width: 60px" |
| | | ></el-input> |
| | | </div> |
| | | </div> |
| | | |
| | |
| | | type="textarea" |
| | | :rows="2" |
| | | placeholder="请输入内容" |
| | | v-model="textarea" |
| | | v-model="remark" |
| | | > |
| | | </el-input> |
| | | </div> |
| | |
| | | </div> |
| | | <div style="margin-top: 20px"> |
| | | <span>检查医生:</span> |
| | | <el-input |
| | | v-model="input" |
| | | style="width: 160px; margin-right: 10px" |
| | | ></el-input> |
| | | <el-date-picker v-model="value1" type="date" placeholder="选择日期"> |
| | | </el-date-picker> |
| | | <el-select |
| | | v-model="doctorName" |
| | | placeholder="请选择" |
| | | style="width: 30%" |
| | | filterable |
| | | @change="selName" |
| | | > |
| | | <el-option |
| | | v-for="item in userList" |
| | | :key="item.userId" |
| | | :label="item.nickName" |
| | | :value="item.userId" |
| | | > |
| | | </el-option> |
| | | </el-select> |
| | | <!-- <el-date-picker v-model="value1" type="date" placeholder="选择日期"> |
| | | </el-date-picker> --> |
| | | </div> |
| | | <div style="margin-top: 20px"> |
| | | <el-button type="primary">生成小结</el-button> |
| | | <el-button type="primary">保存</el-button> |
| | | <!-- <el-button type="primary">生成小结</el-button> --> |
| | | <el-button type="primary" @click="submit">提 交</el-button> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | <script> |
| | | import { |
| | | getList, |
| | | getPicture, |
| | | delPicture, |
| | | addPicture, |
| | | updatePureToneTest, |
| | | saveTjPureToneTestDetil, |
| | | getTjPureToneTestDetilList, |
| | | } from "@/api/picture/pureToneTest"; |
| | | import { |
| | | getCustomer, |
| | | getOrder, |
| | | getReportToday, |
| | | getTobeToday, |
| | | getPieChart, |
| | | getChart, |
| | | } from "@/api/home"; |
| | | // import { |
| | | // getCustomer, |
| | | // getOrder, |
| | | // getReportToday, |
| | | // getTobeToday, |
| | | // getPieChart, |
| | | // getChart, |
| | | // } from "@/api/home"; |
| | | const echarts = require("echarts/lib/echarts"); |
| | | require("echarts/lib/component/title"); |
| | | require("echarts/lib/component/tooltip"); |
| | | require("echarts/lib/component/legend"); |
| | | require("echarts/lib/chart/pie"); |
| | | |
| | | import { listUser } from "@/api/system/user"; |
| | | import { getInfo } from "@/api/login"; |
| | | import Public from "@/components/public"; |
| | | export default { |
| | | dicts: [ |
| | |
| | | components: { Public }, |
| | | data() { |
| | | return { |
| | | tjNum:"", |
| | | doctorName:"", |
| | | userList: [], |
| | | remark: "", |
| | | pureTestId: "", |
| | | youerList: { |
| | | qdwb: null, |
| | | qdyq: null, |
| | | qdlq: null, |
| | | qdsq: null, |
| | | qdsiq: null, |
| | | qdliuq: null, |
| | | gdwb: null, |
| | | gdyq: null, |
| | | gdlq: null, |
| | | gdsq: null, |
| | | gdsiq: null, |
| | | gdliuq: null, |
| | | yppj: null, |
| | | wbypjz: null, |
| | | yqypjz: null, |
| | | lqypjz: null, |
| | | gpqdpj: null, |
| | | gpgdpj: null, |
| | | }, |
| | | zuoerList: { |
| | | qdwb: null, |
| | | qdyq: null, |
| | | qdlq: null, |
| | | qdsq: null, |
| | | qdsiq: null, |
| | | qdliuq: null, |
| | | gdwb: null, |
| | | gdyq: null, |
| | | gdlq: null, |
| | | gdsq: null, |
| | | gdsiq: null, |
| | | gdliuq: null, |
| | | yppj: null, |
| | | wbypjz: null, |
| | | yqypjz: null, |
| | | lqypjz: null, |
| | | gpqdpj: null, |
| | | gpgdpj: null, |
| | | }, |
| | | shuangerList: { |
| | | yppj: null, |
| | | gpqdpj: null, |
| | | }, |
| | | res: [], |
| | | teamYYNums: [], |
| | | LineCharts: [], |
| | |
| | | dataobj: {}, |
| | | // 表单校验 |
| | | rules: {}, |
| | | yqdwb: "", |
| | | yqdyq: "", |
| | | yqdlq: "", |
| | | yqdsq: "", |
| | | yqdsiq: "", |
| | | yqdliuq: "", |
| | | ygdwb: "", |
| | | ygdyq: "", |
| | | ygdlq: "", |
| | | ygdsq: "", |
| | | ygdsiq: "", |
| | | ygdliuq: "", |
| | | zqdwb: "", |
| | | zqdyq: "", |
| | | zqdlq: "", |
| | | zqdsq: "", |
| | | zqdsiq: "", |
| | | zqdliuq: "", |
| | | zgdwb: "", |
| | | zgdyq: "", |
| | | zgdlq: "", |
| | | zgdsq: "", |
| | | zgdsiq: "", |
| | | zgdliuq: "", |
| | | }; |
| | | }, |
| | | created() { |
| | | this.getList(); |
| | | this.getListUser(); |
| | | }, |
| | | mounted() { |
| | | this.$nextTick(() => { |
| | |
| | | }); |
| | | }, |
| | | methods: { |
| | | /** 查询用户列表 */ |
| | | getListUser() { |
| | | listUser(this.addDateRange(this.queryParams, this.dateRange)).then( |
| | | (response) => { |
| | | this.userList = response.rows; |
| | | // this.userList.forEach((element) => { |
| | | // const userName = this.$store.state.user.name; |
| | | // if (userName == element.userName) { |
| | | // this.doctorName = element.nickName; |
| | | // } |
| | | // }); |
| | | } |
| | | ); |
| | | getInfo().then((response) => { |
| | | this.info = response.user; |
| | | this.deptId = response.user.deptId; |
| | | this.userId = response.user.userId; |
| | | this.nickName = response.user.nickName; |
| | | }); |
| | | }, |
| | | ysels(val) { |
| | | this.youeryuanshi1[0] = val; |
| | | this.getech(); |
| | |
| | | this.zuoerjiaozheng1[5] = val; |
| | | this.getech3(); |
| | | }, |
| | | selName(val) { |
| | | this.doctorName = val; |
| | | console.log(this.doctorName); |
| | | // this.userList.forEach(item =>{ |
| | | // if(val === item.userId){ |
| | | // this.doctorName = item.nickName |
| | | // } |
| | | // }) |
| | | }, |
| | | handleRowClick(selection) { |
| | | this.row = selection.customer; |
| | | selection.list.forEach((item) => { |
| | | this.pureTestId = item.id; |
| | | }); |
| | | this.row.tjType = Number(selection.customer.tjType); |
| | | this.drawer = true; |
| | | // this.getech(); |
| | | let data = { |
| | | pureTestId:this.pureTestId, |
| | | tjNum:this.row.tjNumber, |
| | | } |
| | | getTjPureToneTestDetilList(data).then((res) => { |
| | | if (res.data != {}) { |
| | | this.doctorName = res.data.doctorName; |
| | | this.remark = res.data.remark; |
| | | res.data.detilList.forEach((item) => { |
| | | if (item.rd == "右耳") { |
| | | this.youerList = item; |
| | | this.youeryuanshi1[0] = this.youerList.qdwb; |
| | | this.youeryuanshi1[1] = this.youerList.qdyq; |
| | | this.youeryuanshi1[2] = this.youerList.qdlq; |
| | | this.youeryuanshi1[3] = this.youerList.qdsq; |
| | | this.youeryuanshi1[4] = this.youerList.qdsiq; |
| | | this.youeryuanshi1[5] = this.youerList.qdliuq; |
| | | this.youerjiaozheng1[0] = this.youerList.gdwb; |
| | | this.youerjiaozheng1[1] = this.youerList.gdyq; |
| | | this.youerjiaozheng1[2] = this.youerList.gdlq; |
| | | this.youerjiaozheng1[3] = this.youerList.gdsq; |
| | | this.youerjiaozheng1[4] = this.youerList.gdsiq; |
| | | this.youerjiaozheng1[5] = this.youerList.gdliuq; |
| | | } else if (item.rd == "左耳") { |
| | | this.zuoerList = item; |
| | | this.zuoeryuanshi1[0] = this.zuoerList.qdwb; |
| | | this.zuoeryuanshi1[1] = this.zuoerList.qdyq; |
| | | this.zuoeryuanshi1[2] = this.zuoerList.qdlq; |
| | | this.zuoeryuanshi1[3] = this.zuoerList.qdsq; |
| | | this.zuoeryuanshi1[4] = this.zuoerList.qdsiq; |
| | | this.zuoeryuanshi1[5] = this.zuoerList.qdliuq; |
| | | this.zuoerjiaozheng1[0] = this.zuoerList.gdwb; |
| | | this.zuoerjiaozheng1[1] = this.zuoerList.gdyq; |
| | | this.zuoerjiaozheng1[2] = this.zuoerList.gdlq; |
| | | this.zuoerjiaozheng1[3] = this.zuoerList.gdsq; |
| | | this.zuoerjiaozheng1[4] = this.zuoerList.gdsiq; |
| | | this.zuoerjiaozheng1[5] = this.zuoerList.gdliuq; |
| | | } else { |
| | | this.shuangerList = item; |
| | | } |
| | | }); |
| | | this.getech(); |
| | | this.getech1(); |
| | | this.getech2(); |
| | | this.getech3(); |
| | | } |
| | | }); |
| | | }, |
| | | // 右耳原始听力 |
| | | getech() { |
| | |
| | | ], |
| | | }); |
| | | let sizeFun = function () { |
| | | myChart.resize(); |
| | | myChart2.resize(); |
| | | }; |
| | | window.addEventListener("resize", sizeFun); |
| | | |
| | |
| | | ], |
| | | }); |
| | | let sizeFun = function () { |
| | | myChart.resize(); |
| | | myChart2.resize(); |
| | | }; |
| | | window.addEventListener("resize", sizeFun); |
| | | |
| | |
| | | ], |
| | | }); |
| | | let sizeFun = function () { |
| | | myChart.resize(); |
| | | myChart2.resize(); |
| | | }; |
| | | window.addEventListener("resize", sizeFun); |
| | | |
| | |
| | | deleted: null, |
| | | }; |
| | | this.resetForm("form"); |
| | | }, |
| | | hb(){ |
| | | if (this.queryParams.tjNum != null) { |
| | | this.handleQuery(); |
| | | } |
| | | }, |
| | | /** 搜索按钮操作 */ |
| | | handleQuery() { |
| | |
| | | } else { |
| | | this.$modal.msgSuccess("选择修改项目"); |
| | | } |
| | | }, |
| | | submit() { |
| | | this.youerList.pureTestId = this.pureTestId; |
| | | this.youerList.rd = "右耳"; |
| | | this.zuoerList.pureTestId = this.pureTestId; |
| | | this.zuoerList.rd = "左耳"; |
| | | this.shuangerList.pureTestId = this.pureTestId; |
| | | this.shuangerList.rd = "双耳"; |
| | | let pureToneTestDetils = [this.youerList, this.zuoerList, this.shuangerList]; |
| | | let remark = this.remark; |
| | | let tjNum = this.row.tjNumber; |
| | | let doctorName = this.doctorName; |
| | | saveTjPureToneTestDetil(pureToneTestDetils,remark,tjNum,doctorName).then((res) => { |
| | | console.log(res); |
| | | if (res.code == 200) { |
| | | this.$modal.msgSuccess("提交成功"); |
| | | this.drawer = false; |
| | | } |
| | | }); |
| | | }, |
| | | |
| | | //删除按钮 |
| | |
| | | .ss_txt { |
| | | width: 60px; |
| | | } |
| | | .pag { |
| | | width: 100%; |
| | | display: flex; |
| | | justify-content: center; |
| | | } |
| | | |
| | | .pag1 { |
| | | width: 30%; |
| | | } |
| | | </style> |