|
|
|
@ -52,7 +52,7 @@ |
|
|
|
<div style="width: 85%"> |
|
|
|
<el-table |
|
|
|
:data="tableData" |
|
|
|
style="width: 100%; height: 500px" |
|
|
|
style="width: 95%; height: 500px" |
|
|
|
row-key="id" |
|
|
|
class="el-table__body-wrapper tbody" |
|
|
|
highlight-current-row |
|
|
|
@ -81,6 +81,10 @@ |
|
|
|
{{ scope.row.lastModificationTime | dateFormat }} |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column |
|
|
|
label="结果类别" |
|
|
|
prop="resultTemplateTypeFlag" |
|
|
|
></el-table-column> |
|
|
|
<el-table-column label="操作"> |
|
|
|
<template> |
|
|
|
<el-tag |
|
|
|
@ -379,8 +383,28 @@ |
|
|
|
{{ scope.row.lastModificationTime | dateFormat }} |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
|
|
|
|
<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> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
</div> |
|
|
|
<div style="margin-top: 5px"> |
|
|
|
@ -616,11 +640,11 @@ |
|
|
|
>诊断设置</el-button |
|
|
|
> |
|
|
|
</div> |
|
|
|
<div style="margin-top: 10px; margin-left: 10px"> |
|
|
|
<!-- <div style="margin-top: 10px; margin-left: 10px"> |
|
|
|
<el-button type="primary" @click="adddiagnosis" |
|
|
|
>增加诊断</el-button |
|
|
|
> |
|
|
|
</div> |
|
|
|
</div> --> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
@ -804,11 +828,32 @@ |
|
|
|
</span> |
|
|
|
</el-dialog> |
|
|
|
<!--诊断设置弹框 --> |
|
|
|
<el-dialog title="诊断建议设置" :visible.sync="dialogVisible" width="80%"> |
|
|
|
|
|
|
|
<el-dialog title="诊断建议设置" :visible.sync="diagnostisbox" width="80%"> |
|
|
|
<div style="display: flex"> |
|
|
|
<div style="width: 95%"> |
|
|
|
<el-card> |
|
|
|
<el-row> |
|
|
|
<el-col :span="8"> |
|
|
|
<el-select v-model="value" placeholder="请选择"> |
|
|
|
<el-option |
|
|
|
v-for="item in itemTypeId" |
|
|
|
:key="item.id" |
|
|
|
:label="item.displayName" |
|
|
|
:value="item.id" |
|
|
|
> |
|
|
|
</el-option> |
|
|
|
</el-select> |
|
|
|
</el-col> |
|
|
|
<el-col :span="8"> 2122 </el-col> |
|
|
|
</el-row> |
|
|
|
<!-- table部分 --> |
|
|
|
<el-row> </el-row> |
|
|
|
</el-card> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<span slot="footer" class="dialog-footer"> |
|
|
|
<el-button @click="dialogVisible = false">取 消</el-button> |
|
|
|
<el-button type="primary" @click="dialogVisible = false" |
|
|
|
<el-button @click="diagnostisbox = false">取 消</el-button> |
|
|
|
<el-button type="primary" @click="diagnostisbox = false" |
|
|
|
>确 定</el-button |
|
|
|
> |
|
|
|
</span> |
|
|
|
@ -836,6 +881,8 @@ import { getapi, postapi, putapi, deletapi } from "@/api/api"; |
|
|
|
export default { |
|
|
|
data() { |
|
|
|
return { |
|
|
|
value: "", |
|
|
|
diagnostisbox: false, //诊断设置弹框的方法 |
|
|
|
// tabelform: { |
|
|
|
// ageLowerLimit: "input无法输入", |
|
|
|
// }, |
|
|
|
@ -1117,6 +1164,7 @@ export default { |
|
|
|
], |
|
|
|
ssdate: [], |
|
|
|
fssubdex: "", |
|
|
|
resultitemtype: [], //项目类别 |
|
|
|
}; |
|
|
|
}, |
|
|
|
created() { |
|
|
|
@ -1303,7 +1351,9 @@ export default { |
|
|
|
}, |
|
|
|
//诊断设置弹框新增 |
|
|
|
diagnosticsettings() { |
|
|
|
console.log("1"); |
|
|
|
// this.diagnostisbox = true; |
|
|
|
// console.log("1"); |
|
|
|
this.$router.push({ path: "/diagnosis" }); |
|
|
|
}, |
|
|
|
digitaladdion() { |
|
|
|
this.referencerangedata.push({ |
|
|
|
@ -1429,8 +1479,13 @@ export default { |
|
|
|
this.$message.warning("请选择操作的数据"); |
|
|
|
} else { |
|
|
|
this.rurestdialogVisible = true; |
|
|
|
|
|
|
|
getapi("/api/app/item-result-template").then((res) => { |
|
|
|
this.reusttableData = res.data.items; |
|
|
|
}); |
|
|
|
// // 获取项目类别 |
|
|
|
getapi("/api/app/item-type/by-code-all").then((res) => { |
|
|
|
this.resultitemtype = res.data; |
|
|
|
console.log(res); |
|
|
|
}); |
|
|
|
} |
|
|
|
|