|
|
|
@ -386,28 +386,17 @@ |
|
|
|
<el-table-column label="结果" prop="result"></el-table-column> |
|
|
|
<el-table-column label="项目结果"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
{{scope.row.id}} |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="类别"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-select |
|
|
|
v-model="sexname[scope.row.displayName - 1]" |
|
|
|
placeholder="请选择" |
|
|
|
> |
|
|
|
<el-option |
|
|
|
v-for="item in resultitemtype" |
|
|
|
:key="item.id" |
|
|
|
:label="item.displayName" |
|
|
|
:value="item.id" |
|
|
|
> |
|
|
|
</el-option> |
|
|
|
</el-select> |
|
|
|
{{ scope.row.id }} |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="诊断"> |
|
|
|
<template> |
|
|
|
|
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
</div> |
|
|
|
<div style="margin-top: 5px"> |
|
|
|
<div style="margin-top: 5px; margin-left: 15px"> |
|
|
|
<el-button type="primary" @click="increase">添加1</el-button> |
|
|
|
<div style="margin-top: 5px"> |
|
|
|
<el-button type="primary" @click="resultediting">编辑</el-button> |
|
|
|
@ -415,11 +404,11 @@ |
|
|
|
<div style="margin-top: 5px"> |
|
|
|
<el-button type="primary" @click="delemtdelite">删除</el-button> |
|
|
|
</div> |
|
|
|
<div style="margin-top: 5px"> |
|
|
|
<!-- <div style="margin-top: 5px"> |
|
|
|
<el-button type="primary" @click="templatecategory" |
|
|
|
>模板类别</el-button |
|
|
|
> |
|
|
|
</div> |
|
|
|
</div> --> |
|
|
|
<div style="margin-top: 5px"> |
|
|
|
<el-button type="primary" @click="diagnosticmatching" |
|
|
|
>诊断匹配</el-button |
|
|
|
@ -1225,7 +1214,7 @@ export default { |
|
|
|
this.itemTypeId = res.data; |
|
|
|
}); |
|
|
|
}, |
|
|
|
//诊断新增 |
|
|
|
//诊断新增获取数据 |
|
|
|
diagnosticsadd() { |
|
|
|
postapi("/api/app/diagnosis", this.editdigoisceditingform).then((res) => { |
|
|
|
this.$message.success("添加成功"); |
|
|
|
@ -1255,24 +1244,26 @@ export default { |
|
|
|
this.diageoisaddId(); |
|
|
|
}, |
|
|
|
//诊断匹配弹框获取诊断数据 |
|
|
|
//改成直接跳转到诊断页面 |
|
|
|
diagnosticmatching() { |
|
|
|
this.diagnosdialogVisible = true; |
|
|
|
console.log(this.diagnosdialogVisible); |
|
|
|
postapi("/api/app/diagnosis/getlistinfilter").then((res) => { |
|
|
|
this.diagnosticdata = res.data.items; |
|
|
|
console.log(res); |
|
|
|
}); |
|
|
|
// this.diagnosdialogVisible = true; |
|
|
|
// console.log(this.diagnosdialogVisible); |
|
|
|
// postapi("/api/app/diagnosis/getlistinfilter").then((res) => { |
|
|
|
// this.diagnosticdata = res.data.items; |
|
|
|
// console.log(res); |
|
|
|
// }); |
|
|
|
this.$router.push({ path: "/diagnosis" }); |
|
|
|
}, |
|
|
|
//结果模板添加 |
|
|
|
resultaddition() {}, |
|
|
|
//模板类别弹框 |
|
|
|
templatecategory() { |
|
|
|
getapi("/api/app/item-result-template").then((res) => { |
|
|
|
this.projectdata = res.data.items; |
|
|
|
console.log(res); |
|
|
|
}); |
|
|
|
this.projectdialogVisible = true; |
|
|
|
}, |
|
|
|
// templatecategory() { |
|
|
|
// getapi("/api/app/item-result-template").then((res) => { |
|
|
|
// this.projectdata = res.data.items; |
|
|
|
// console.log(res); |
|
|
|
// }); |
|
|
|
// this.projectdialogVisible = true; |
|
|
|
// }, |
|
|
|
//项目模板置底 |
|
|
|
bottoming() { |
|
|
|
if (this.rusetform.id == undefined) { |
|
|
|
@ -1384,7 +1375,6 @@ export default { |
|
|
|
this.$message.warning("请选择操作的数据"); |
|
|
|
} else { |
|
|
|
this.referencerangedialogVisible = true; |
|
|
|
|
|
|
|
console.log("11111111"); |
|
|
|
} |
|
|
|
}, |
|
|
|
@ -1407,6 +1397,7 @@ export default { |
|
|
|
this.addoredit(); |
|
|
|
this.ruesttiele = 1; |
|
|
|
this.ruesttieledialogVisible = true; |
|
|
|
this.rusetform = {}; |
|
|
|
}, |
|
|
|
//获取项目类别列表 |
|
|
|
getmedicalconclusionlist() { |
|
|
|
@ -1471,6 +1462,7 @@ export default { |
|
|
|
resultlist() { |
|
|
|
getapi("/api/app/item-result-template").then((res) => { |
|
|
|
this.reusttableData = res.data.items; |
|
|
|
|
|
|
|
console.log(res); |
|
|
|
}); |
|
|
|
}, |
|
|
|
@ -1479,11 +1471,12 @@ export default { |
|
|
|
this.$message.warning("请选择操作的数据"); |
|
|
|
} else { |
|
|
|
this.rurestdialogVisible = true; |
|
|
|
|
|
|
|
getapi("/api/app/item-result-template").then((res) => { |
|
|
|
this.reusttableData = res.data.items; |
|
|
|
console.log("2222222222222222"); |
|
|
|
console.log(res); |
|
|
|
}); |
|
|
|
// // 获取项目类别 |
|
|
|
//// 获取项目类别 |
|
|
|
getapi("/api/app/item-type/by-code-all").then((res) => { |
|
|
|
this.resultitemtype = res.data; |
|
|
|
console.log(res); |
|
|
|
|