| | |
| | | :inline="true" |
| | | label-width="68px" |
| | | > |
| | | <el-form-item label="姓名" prop="name"> |
| | | <el-input |
| | | v-model="queryParams.name" |
| | | placeholder="请输入姓名" |
| | | clearable |
| | | @keyup.enter.native="handleQuery" |
| | | style="width: 110px" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="体检号" prop="tjNumber"> |
| | | <el-input |
| | | ref="inputName" |
| | |
| | | style="width: 170px" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="姓名" prop="name"> |
| | | <el-input |
| | | v-model="queryParams.name" |
| | | placeholder="请输入姓名" |
| | | clearable |
| | | @keyup.enter.native="handleQuery" |
| | | style="width: 110px" |
| | | /> |
| | | </el-form-item> |
| | | |
| | | <el-form-item |
| | | label="单位名称" |
| | | prop="tjCompName" |
| | |
| | | </div> |
| | | </div> |
| | | |
| | | <el-drawer title="我是标题" :visible.sync="drawer" :with-header="false"> |
| | | <!-- <el-drawer title="我是标题" :visible.sync="drawer" :with-header="false"> |
| | | <div class="a" v-for="(item, index) in jieguoList" :key="index"> |
| | | <template v-if="item.jyjc == 0"> |
| | | <div |
| | |
| | | 检查结论:{{ item.yxzd || "暂无结论" }} |
| | | </div> |
| | | </div> |
| | | </template> |
| | | </div> |
| | | </el-drawer> --> |
| | | |
| | | <!-- <el-table-column label="检测项目" prop="pro_name"> |
| | | <el-drawer title="我是标题" :visible.sync="drawer" :with-header="false"> |
| | | <div v-if="jieguoList && jieguoList.length > 0"> |
| | | <div v-if="jieguoList[0].jyjc === 0"> |
| | | <div |
| | | style=" |
| | | text-align: center; |
| | | background-color: #aad8df; |
| | | margin-top: 10px; |
| | | " |
| | | > |
| | | {{ jieguoList[0].pro_name || "" }} |
| | | </div> |
| | | <el-table |
| | | :data="jieguoList" |
| | | border |
| | | style="width: 100%" |
| | | :header-cell-style="{ background: '#AAD8DF' }" |
| | | > |
| | | <el-table-column label="检测项目" prop="pro_name"> |
| | | </el-table-column> |
| | | <el-table-column label="检测结果" prop="pro_result"> |
| | | </el-table-column> --> |
| | | <!-- <el-table-column label="参考范围" prop="ckfw"> </el-table-column> --> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="参考范围" prop="ckfw"> </el-table-column> |
| | | </el-table> |
| | | </div> |
| | | <div v-else-if="jieguoList[0].jyjc === 1"> |
| | | <div |
| | | style=" |
| | | text-align: center; |
| | | background-color: #aad8df; |
| | | margin-top: 10px; |
| | | " |
| | | > |
| | | {{ jieguoList[0].pro_name || "" }} |
| | | </div> |
| | | |
| | | <div style="padding: 0 10px; margin-bottom: 10px; margin-top: 10px"> |
| | | <div>检查所见:{{ jieguoList[0].pro_result }}</div> |
| | | |
| | | <div style="margin-top: 10px"> |
| | | 检查结论:{{ jieguoList[0].yxzd || "暂无结论" }} |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </el-drawer> |
| | | |
| | |
| | | dicts: ["dict_tj_status"], |
| | | data() { |
| | | return { |
| | | jieguoList: [], |
| | | jieguoList: [ |
| | | { |
| | | jyjc: "", |
| | | }, |
| | | ], |
| | | dis: false, |
| | | createTimeList: "", |
| | | currentRow: null, |
| | |
| | | name: null, |
| | | beginTime: null, |
| | | endTime: null, |
| | | tjCompName:'' |
| | | tjCompName: "", |
| | | }, |
| | | // 绑定单选按钮 |
| | | checkStatus: "0", |
| | |
| | | // 选框数据 |
| | | searchSelect(val) { |
| | | this.CheckBox = val; |
| | | console.log(this.CheckBox,9999); |
| | | |
| | | console.log(this.CheckBox, 9999); |
| | | }, |
| | | getList() { |
| | | this.loading = true; |
| | |
| | | // 获取单位信息集合 |
| | | getCompany(this.queryParam).then((response) => { |
| | | this.CompanyList = response.data; |
| | | console.log( this.CompanyList,555); |
| | | |
| | | console.log(this.CompanyList, 555); |
| | | |
| | | this.loading = false; |
| | | }); |
| | | |
| | |
| | | hb() { |
| | | // console.log(this.queryParams.tjNumber); |
| | | if (this.queryParams.tjNumber != null) { |
| | | this.handleQuery(); |
| | | // this.handleQuery(); |
| | | this.submitForm(); |
| | | } |
| | | }, |
| | |
| | | /** 重置按钮操作 */ |
| | | resetQuery() { |
| | | this.createTimeList = []; |
| | | this.queryParams ={ |
| | | (this.queryParams = { |
| | | page: 1, |
| | | pageSize: 20, |
| | | checkStatus: null, |
| | |
| | | name: null, |
| | | beginTime: null, |
| | | endTime: null, |
| | | tjCompName:'' |
| | | }, |
| | | this.CheckBox.drugManufacturerId = '' |
| | | tjCompName: "", |
| | | }), |
| | | (this.CheckBox.drugManufacturerId = ""); |
| | | this.handleQuery(); |
| | | |
| | | |
| | | this.loading = true; |
| | | |
| | | }, |
| | | // 单选框选中数据 |
| | | handleSelectionChange(selection) { |
| | |
| | | }, |
| | | queryResultone(row) { |
| | | // 打开抽屉 |
| | | this.drawer = true; |
| | | |
| | | const tjNum = this.selectedTjNumber; |
| | | const proId = row.proId; |
| | | resultList(tjNum, proId).then((res) => { |
| | | console.log(res, 666); |
| | | this.jieguoList = res.data; |
| | | console.log(this.jieguoList[0],22222); |
| | | |
| | | if (res.data.length > 0) { |
| | | this.drawer = true; |
| | | } else { |
| | | this.$message.warning("该项目没有结果"); |
| | | } |
| | | }); |
| | | }, |
| | | setTime() { |