| | |
| | | <el-table-column prop="project.proName" label="检测项目" width="150"> |
| | | </el-table-column> |
| | | <el-table-column prop="proResult" label="检测结果" width="150"> |
| | | <!-- <template slot-scope="scope"> |
| | | <el-input type="textarea" autosize size="mini" v-model="scope.row.proResult" autocomplete="off" |
| | | placeholder="请输入检测结果" @keyup.enter.native=" |
| | | keyInputConfirm($event,scope.$index,'proResult') |
| | | " @focus="handleFocus(scope.row)" @blur="handleInputConfirm(scope.row)" |
| | | @input="vale"></el-input> --> |
| | | |
| | | <template slot-scope="{ row, $index }"> |
| | | <el-input type="textarea" autosize size="mini" v-model="row.proResult" :ref="`input-${$index}`" |
| | | @keydown.enter.native="keyInputConfirm($event, $index)" @focus="handleFocus(row)" |
| | |
| | | <template slot-scope="{ row, $index }"> |
| | | <el-input type="textarea" autosize size="mini" v-model="row.proResult" :ref="`input-${$index}`" |
| | | @keydown.enter.native="keyInputConfirm($event, $index)" @focus="handleFocus(row)" |
| | | @blur="handleInputConfirm(row)" @input="vale"></el-input> |
| | | |
| | | @blur="handleInputConfirm(row)" ></el-input> |
| | | <!-- @input="vale" --> |
| | | <!-- <el-input type="textarea" autosize size="mini" v-model="scope.row.proResult" autocomplete="off" :ref="`input-${scope.$index}-${scope.row.proResult}`" |
| | | placeholder="请输入检测结果" @keyup=" |
| | | keyInputConfirm($event,scope.$index,'proResult') |
| | |
| | | import { getlistUser } from "@/api/system/user"; |
| | | import { getChildList } from "@/api/system/dept"; |
| | | import { resultList } from "@/api/doctor/examination"; |
| | | import { selectZT } from "@/api/system/package"; |
| | | import { get } from "sortablejs"; |
| | | export default { |
| | | dicts: ["sys_user_sex", "sys_yes_no", "tj_result_type", "lj_positive"], |
| | |
| | | methods: { |
| | | handleFocus(row) { |
| | | this.autorule = []; |
| | | |
| | | if (!row.resultType || row.resultType == 2) { |
| | | if (!row.resultType || row.resultType == 2 ) { |
| | | return; |
| | | } else { |
| | | this.curindex = row; |
| | | this.$refs.bbb.title = "选择检测结果"; |
| | | selectZT({ |
| | | proId: row.proId, |
| | | }).then((res) => { |
| | | if (res.data.length > 0) { |
| | | this.$refs.bbb.title = "选择检测结果"; |
| | | // this.$refs.bbb.proId = row.proId; |
| | | this.$refs.bbb.open = true; |
| | | this.$refs.bbb.getList(this.curindex); |
| | | } else { |
| | | this.$refs.bbb.open = false; |
| | | } |
| | | }); |
| | | |
| | | } |
| | | }, |
| | | handleChangesZt(params) { |
| | |
| | | const proId = row.proId; |
| | | resultList(tjNum, proId).then((res) => { |
| | | this.jieguoList = res.data; |
| | | console.log(this.jieguoList, 998877); |
| | | |
| | | this.jyjc = this.jieguoList[0].jyjc; |
| | | const ycbz = this.jieguoList[0].ycbz; |
| | |
| | | }, |
| | | |
| | | changDesc(item) { |
| | | console.log(item) |
| | | if (item.exceptionDesc == true) { |
| | | item.conclusion = "异常" |
| | | } else { |
| | |
| | | |
| | | }, |
| | | handleInputConfirm(datas, params) { |
| | | |
| | | if (params && params.length === 0) { |
| | | // 如果没有选中任何项目,取消异常复选框的选中状态 |
| | | this.curindex.exceptionDesc = false; |