| | |
| | | <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-button label="0">未检</el-radio-button> |
| | | <el-radio-button label="1">已检</el-radio-button> |
| | | </el-radio-group> |
| | | <el-row :gutter="10" class="mb8" style="margin:8px 10px;"> |
| | | <el-col :span="1.5"> |
| | | <el-button type="primary" |
| | | size="mini" |
| | | @click="radioChange" |
| | | v-hasPermi="['system:notice:add']" |
| | | >会诊申请</el-button> |
| | | </el-col> |
| | | </el-row> |
| | | </div> |
| | | |
| | | <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> |
| | | |
| | | <template> |
| | | <el-table :data="tableList" v-loading="loading" ref="table" height="536px" style="margin: 20px; width: 98%" |
| | |
| | | <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"> |
| | |
| | | </el-radio-group> |
| | | </div> |
| | | </template> |
| | | <el-table v-loading="loading" :data="proParentList.sons" border height="460px" style="width: 96%; margin: 10px 10px"> |
| | | <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"> |
| | | <!-- <template slot-scope="scope"> |
| | | {{ scope.row.project.proName }} |
| | |
| | | 病种选择: |
| | | </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-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> |
| | |
| | | }, |
| | | // 获取医生 |
| | | selName(val) { |
| | | this.doctorName = val |
| | | this.doctorName = val; |
| | | // this.userList.forEach(item =>{ |
| | | // if(val === item.userId){ |
| | | // this.doctorName = item.nickName |
| | |
| | | }); |
| | | }); |
| | | } else { |
| | | this.proParentList.remark = "" |
| | | this.proParentList.remark = ""; |
| | | this.deptAdviceList.forEach((item) => { |
| | | this.ids = item.id; |
| | | val.forEach((item1) => { |
| | |
| | | // this.$refs.aaa.open = true; |
| | | // this.$refs.aaa.getList(); |
| | | }, |
| | | // 规则 |
| | | handleguize(row) { |
| | | this.row = row |
| | | // 规则 |
| | | handleguize(row) { |
| | | this.row = row; |
| | | this.$refs.aaa.open = true; |
| | | this.$refs.aaa.title = "诊断结果结论"; |
| | | this.$refs.aaa.getList(this.row); |
| | | }, |
| | | |
| | | handleChanges(param1, param2) { |
| | | this.row.conclusion = param1 |
| | | this.row.rulesList = param2 |
| | | this.row.conclusion = param1; |
| | | this.row.rulesList = param2; |
| | | }, |
| | | |
| | | getList() { |
| | | this.queryParams.type = this.tjStatus; |
| | | getProList(this.queryParams).then((response) => { |
| | | if (response.data) { |
| | | if (response.data.date) { |
| | |
| | | this.submitForm(); |
| | | }, |
| | | |
| | | // 点击详情 |
| | | handleClick(row) { |
| | | // 点击详情 |
| | | handleClick(row) { |
| | | this.loading = true; |
| | | this.drawer = true; |
| | | this.tableAll = row; |
| | |
| | | this.proParentList = response.data; |
| | | this.loading = false; |
| | | this.value = []; |
| | | if (this.proParentList.xiaoJie.length != 0) { |
| | | this.proParentList.xiaoJie.forEach((item2) => { |
| | | this.value.push(item2.id); |
| | | }); |
| | | 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; |
| | | |
| | |
| | | .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) => { |
| | |
| | | isReturn: item.isReturn === true ? 1 : 0, |
| | | exceptionDesc: item.exceptionDesc === true ? 1 : 0, |
| | | conclusion: item.conclusion, |
| | | rulesList: item.rulesList |
| | | rulesList: item.rulesList, |
| | | }); |
| | | }); |
| | | |
| | |
| | | getParentId(data).then((response) => { |
| | | this.proParentList = response.data; |
| | | this.value = []; |
| | | if (this.proParentList.xiaoJie.length != 0) { |
| | | this.proParentList.xiaoJie.forEach((item2) => { |
| | | this.value.push(item2.id); |
| | | }); |
| | | 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 (item.exceptionDesc == "0") { |
| | | item.exceptionDesc = false; |
| | | } |
| | | |
| | | }); |
| | | if (this.proParentList.xiaoJie.length != 0) { |
| | | this.Parent.forEach((item3) => { |
| | |
| | | getParentId(data).then((response) => { |
| | | this.proParentList = response.data; |
| | | this.value = []; |
| | | if (this.proParentList.xiaoJie.length != 0) { |
| | | this.proParentList.xiaoJie.forEach((item2) => { |
| | | this.value.push(item2.id); |
| | | }); |
| | | 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 (item.exceptionDesc == "0") { |
| | | item.exceptionDesc = false; |
| | | } |
| | | |
| | | }); |
| | | if (this.proParentList.xiaoJie.length != 0) { |
| | | this.Parent.forEach((item3) => { |
| | |
| | | }); |
| | | }, |
| | | |
| | | |
| | | handleInputConfirm(row) { |
| | | this.rows.push(row); |
| | | }, |
| | |
| | | determine() { |
| | | // 体检号 |
| | | 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) => { |
| | |
| | | isReturn: item.isReturn === true ? 1 : 0, |
| | | exceptionDesc: item.exceptionDesc === true ? 1 : 0, |
| | | conclusion: item.conclusion, |
| | | rulesList: item.rulesList |
| | | rulesList: item.rulesList, |
| | | }); |
| | | }); |
| | | |