|
|
@ -1,7 +1,7 @@ |
|
|
<template> |
|
|
<template> |
|
|
<div class="box"> |
|
|
<div class="box"> |
|
|
<div style="width: 90%"> |
|
|
<div style="width: 90%"> |
|
|
<el-card style="height:600px;width:100%"> |
|
|
|
|
|
|
|
|
<el-card style="height: 600px; width: 105%"> |
|
|
<el-row style="margin-top: 20px; margin-left: 15px"> |
|
|
<el-row style="margin-top: 20px; margin-left: 15px"> |
|
|
<el-col :span="4"> |
|
|
<el-col :span="4"> |
|
|
<el-autocomplete |
|
|
<el-autocomplete |
|
|
@ -52,7 +52,7 @@ |
|
|
<div style="width: 85%"> |
|
|
<div style="width: 85%"> |
|
|
<el-table |
|
|
<el-table |
|
|
:data="tableData" |
|
|
:data="tableData" |
|
|
style="width: 100%; " |
|
|
|
|
|
|
|
|
style="width: 100%" |
|
|
row-key="id" |
|
|
row-key="id" |
|
|
height="500" |
|
|
height="500" |
|
|
class="el-table__body-wrapper tbody" |
|
|
class="el-table__body-wrapper tbody" |
|
|
@ -109,7 +109,7 @@ |
|
|
:title="title == 1 ? '新增' : '编辑'" |
|
|
:title="title == 1 ? '新增' : '编辑'" |
|
|
:visible.sync="dialogVisible" |
|
|
:visible.sync="dialogVisible" |
|
|
width="70%" |
|
|
width="70%" |
|
|
:close-on-click-modal="false" |
|
|
|
|
|
|
|
|
:close-on-click-modal="false" |
|
|
> |
|
|
> |
|
|
<el-form ref="form" :model="form" label-width="110px" :rules="rules"> |
|
|
<el-form ref="form" :model="form" label-width="110px" :rules="rules"> |
|
|
<el-row> |
|
|
<el-row> |
|
|
@ -389,16 +389,16 @@ |
|
|
</span> |
|
|
</span> |
|
|
</el-dialog> |
|
|
</el-dialog> |
|
|
<!-- 按钮区域 --> |
|
|
<!-- 按钮区域 --> |
|
|
<div style="margin-left: 10px; margin-top: 7%"> |
|
|
|
|
|
|
|
|
<div style="margin-left: 6%; margin-top: 7%"> |
|
|
<el-button type="primary" @click="add">新增</el-button> |
|
|
<el-button type="primary" @click="add">新增</el-button> |
|
|
<div> |
|
|
|
|
|
<el-button |
|
|
|
|
|
type="primary" |
|
|
|
|
|
@click="editpopup" |
|
|
|
|
|
style="margin-left: 0; margin-top: 10px" |
|
|
|
|
|
>编辑</el-button |
|
|
|
|
|
> |
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
<div> |
|
|
|
|
|
<el-button |
|
|
|
|
|
type="primary" |
|
|
|
|
|
@click="editpopup" |
|
|
|
|
|
style="margin-left: 0; margin-top: 10px" |
|
|
|
|
|
>编辑</el-button |
|
|
|
|
|
> |
|
|
|
|
|
</div> |
|
|
<div style="margin-top: 10px"> |
|
|
<div style="margin-top: 10px"> |
|
|
<el-button type="danger" @click="delsrts">删除</el-button> |
|
|
<el-button type="danger" @click="delsrts">删除</el-button> |
|
|
</div> |
|
|
</div> |
|
|
@ -438,7 +438,12 @@ |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
<!-- 结果模板弹框 --> |
|
|
<!-- 结果模板弹框 --> |
|
|
<el-dialog title="结果模板" :visible.sync="rurestdialogVisible" width="80%" :close-on-click-modal="false"> |
|
|
|
|
|
|
|
|
<el-dialog |
|
|
|
|
|
title="结果模板" |
|
|
|
|
|
:visible.sync="rurestdialogVisible" |
|
|
|
|
|
width="80%" |
|
|
|
|
|
:close-on-click-modal="false" |
|
|
|
|
|
> |
|
|
<div style="display: flex"> |
|
|
<div style="display: flex"> |
|
|
<div style="width: 95%"> |
|
|
<div style="width: 95%"> |
|
|
<el-table |
|
|
<el-table |
|
|
@ -502,7 +507,7 @@ |
|
|
:title="ruesttiele == 1 ? '新增' : '修改'" |
|
|
:title="ruesttiele == 1 ? '新增' : '修改'" |
|
|
:visible.sync="ruesttieledialogVisible" |
|
|
:visible.sync="ruesttieledialogVisible" |
|
|
width="80%" |
|
|
width="80%" |
|
|
:close-on-click-modal="false" |
|
|
|
|
|
|
|
|
:close-on-click-modal="false" |
|
|
> |
|
|
> |
|
|
<el-form :model="rusetform" ref="rusetform" label-width="100px"> |
|
|
<el-form :model="rusetform" ref="rusetform" label-width="100px"> |
|
|
<el-row> |
|
|
<el-row> |
|
|
@ -597,7 +602,7 @@ |
|
|
title="参考范围" |
|
|
title="参考范围" |
|
|
:visible.sync="referencerangedialogVisible" |
|
|
:visible.sync="referencerangedialogVisible" |
|
|
width="80%" |
|
|
width="80%" |
|
|
:close-on-click-modal="false" |
|
|
|
|
|
|
|
|
:close-on-click-modal="false" |
|
|
> |
|
|
> |
|
|
<el-row> |
|
|
<el-row> |
|
|
<el-col :span="8"> |
|
|
<el-col :span="8"> |
|
|
@ -677,7 +682,7 @@ |
|
|
title="结果模板" |
|
|
title="结果模板" |
|
|
:visible.sync="projectdialogVisible" |
|
|
:visible.sync="projectdialogVisible" |
|
|
width="80%" |
|
|
width="80%" |
|
|
:close-on-click-modal="false" |
|
|
|
|
|
|
|
|
:close-on-click-modal="false" |
|
|
> |
|
|
> |
|
|
<div style="display: flex"> |
|
|
<div style="display: flex"> |
|
|
<div style="width: 95%"> |
|
|
<div style="width: 95%"> |
|
|
@ -710,7 +715,7 @@ |
|
|
title="诊断匹配" |
|
|
title="诊断匹配" |
|
|
:visible.sync="diagnosdialogVisible" |
|
|
:visible.sync="diagnosdialogVisible" |
|
|
width="80%" |
|
|
width="80%" |
|
|
:close-on-click-modal="false" |
|
|
|
|
|
|
|
|
:close-on-click-modal="false" |
|
|
> |
|
|
> |
|
|
<div style="display: flex"> |
|
|
<div style="display: flex"> |
|
|
<div style="width: 95%"> |
|
|
<div style="width: 95%"> |
|
|
@ -749,7 +754,12 @@ |
|
|
</span> |
|
|
</span> |
|
|
</el-dialog> |
|
|
</el-dialog> |
|
|
<!-- 增加诊断弹框 --> |
|
|
<!-- 增加诊断弹框 --> |
|
|
<el-dialog title="诊断编辑" :visible.sync="diagnosticediting" width="80%" :close-on-click-modal="false"> |
|
|
|
|
|
|
|
|
<el-dialog |
|
|
|
|
|
title="诊断编辑" |
|
|
|
|
|
:visible.sync="diagnosticediting" |
|
|
|
|
|
width="80%" |
|
|
|
|
|
:close-on-click-modal="false" |
|
|
|
|
|
> |
|
|
<el-form :model="editdigoisceditingform"> |
|
|
<el-form :model="editdigoisceditingform"> |
|
|
<el-row> |
|
|
<el-row> |
|
|
<el-col :span="8"> |
|
|
<el-col :span="8"> |
|
|
@ -846,7 +856,12 @@ |
|
|
</span> |
|
|
</span> |
|
|
</el-dialog> |
|
|
</el-dialog> |
|
|
<!--诊断设置弹框 --> |
|
|
<!--诊断设置弹框 --> |
|
|
<el-dialog title="诊断建议设置" :visible.sync="diagnostisbox" width="80%" :close-on-click-modal="false"> |
|
|
|
|
|
|
|
|
<el-dialog |
|
|
|
|
|
title="诊断建议设置" |
|
|
|
|
|
:visible.sync="diagnostisbox" |
|
|
|
|
|
width="80%" |
|
|
|
|
|
:close-on-click-modal="false" |
|
|
|
|
|
> |
|
|
<div style="display: flex"> |
|
|
<div style="display: flex"> |
|
|
<div style="width: 95%"> |
|
|
<div style="width: 95%"> |
|
|
<el-card> |
|
|
<el-card> |
|
|
@ -1230,7 +1245,7 @@ export default { |
|
|
reference: [], //参考范围 |
|
|
reference: [], //参考范围 |
|
|
resulttemp: [], // 结果模板 |
|
|
resulttemp: [], // 结果模板 |
|
|
disableddiagnosisFunction: false, |
|
|
disableddiagnosisFunction: false, |
|
|
curRow:{} |
|
|
|
|
|
|
|
|
curRow: {}, |
|
|
}; |
|
|
}; |
|
|
}, |
|
|
}, |
|
|
created() { |
|
|
created() { |
|
|
@ -1625,7 +1640,7 @@ export default { |
|
|
}, |
|
|
}, |
|
|
//置低 |
|
|
//置低 |
|
|
toppings() { |
|
|
toppings() { |
|
|
this.form={...this.curRow} |
|
|
|
|
|
|
|
|
this.form = { ...this.curRow }; |
|
|
if (this.form.id == undefined) { |
|
|
if (this.form.id == undefined) { |
|
|
this.$message.success("请点击选择操作的数据"); |
|
|
this.$message.success("请点击选择操作的数据"); |
|
|
} else { |
|
|
} else { |
|
|
@ -1637,7 +1652,7 @@ export default { |
|
|
}, |
|
|
}, |
|
|
//置顶 |
|
|
//置顶 |
|
|
topping() { |
|
|
topping() { |
|
|
this.form={...this.curRow} |
|
|
|
|
|
|
|
|
this.form = { ...this.curRow }; |
|
|
if (this.form.id == undefined) { |
|
|
if (this.form.id == undefined) { |
|
|
this.$message.warning("请点击选择操作的数据"); |
|
|
this.$message.warning("请点击选择操作的数据"); |
|
|
} else { |
|
|
} else { |
|
|
@ -1649,7 +1664,7 @@ export default { |
|
|
}, |
|
|
}, |
|
|
//删除 |
|
|
//删除 |
|
|
delsrts() { |
|
|
delsrts() { |
|
|
this.form={...this.curRow} |
|
|
|
|
|
|
|
|
this.form = { ...this.curRow }; |
|
|
if (this.form.id == undefined) { |
|
|
if (this.form.id == undefined) { |
|
|
this.$message.warning("请选择删除的数据"); |
|
|
this.$message.warning("请选择删除的数据"); |
|
|
} else { |
|
|
} else { |
|
|
@ -1671,7 +1686,7 @@ export default { |
|
|
//点击列表通过id查询 |
|
|
//点击列表通过id查询 |
|
|
rowick(row) { |
|
|
rowick(row) { |
|
|
posjrctid(row.id).then((res) => { |
|
|
posjrctid(row.id).then((res) => { |
|
|
this.curRow={...res.data} |
|
|
|
|
|
|
|
|
this.curRow = { ...res.data }; |
|
|
// console.log(res); |
|
|
// console.log(res); |
|
|
// this.form = res.data; |
|
|
// this.form = res.data; |
|
|
}); |
|
|
}); |
|
|
@ -1679,7 +1694,7 @@ export default { |
|
|
}, |
|
|
}, |
|
|
//编辑弹框 |
|
|
//编辑弹框 |
|
|
editpopup() { |
|
|
editpopup() { |
|
|
this.form={...this.curRow} |
|
|
|
|
|
|
|
|
this.form = { ...this.curRow }; |
|
|
if (this.form.id == undefined) { |
|
|
if (this.form.id == undefined) { |
|
|
this.$message.warning("请选择操作的数据"); |
|
|
this.$message.warning("请选择操作的数据"); |
|
|
} else { |
|
|
} else { |
|
|
|