|
|
|
@ -223,14 +223,14 @@ |
|
|
|
</div> --> |
|
|
|
<el-dialog :title="title == 1 ? '新增' : '编辑'" :visible.sync="dialogVisible" width="800px" |
|
|
|
:close-on-click-modal="false"> |
|
|
|
<el-form ref="form" :model="form" label-width="110px" :rules="rules"> |
|
|
|
<el-form ref="form" :model="form" label-width="80px" :rules="rules"> |
|
|
|
<el-row> |
|
|
|
<el-col :span="10"> |
|
|
|
<el-form-item label="项目编号" prop=""> |
|
|
|
<el-input v-model="form.id" :disabled="true" size="small"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-col :span="10"> |
|
|
|
<el-form-item label="项目类别" prop="itemTypeId"> |
|
|
|
<el-cascader v-model="form.itemTypeId" :options="itemTypeId" popper-class="example" ref="itemTypeId" |
|
|
|
@change="onchange" :props="{ |
|
|
|
@ -239,22 +239,16 @@ |
|
|
|
children: 'treeChildren', |
|
|
|
checkStrictly: true, |
|
|
|
expandTrigger: 'hover', |
|
|
|
}" size="small"></el-cascader> |
|
|
|
<!-- <el-select |
|
|
|
v-model="form.itemTypeId" |
|
|
|
placeholder="请选择" |
|
|
|
style="width: 100%" |
|
|
|
> |
|
|
|
<el-option |
|
|
|
v-for="item in itemTypeId" |
|
|
|
:key="item.id" |
|
|
|
:label="item.displayName" |
|
|
|
:value="item.id" |
|
|
|
> |
|
|
|
</el-option> |
|
|
|
</el-select> --> |
|
|
|
}" size="small" style="width: 236px;"></el-cascader> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="4"> |
|
|
|
<el-form-item label="启用" prop=""> |
|
|
|
<el-checkbox v-model="isActiveBox" @change="changeBox('isActive')" /> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
<el-row> |
|
|
|
<el-col :span="8"> |
|
|
|
<el-form-item label="名称" prop="displayName"> |
|
|
|
<el-input v-model="form.displayName" ref="refinput" size="small"></el-input> |
|
|
|
@ -265,11 +259,13 @@ |
|
|
|
<el-input v-model="form.englishShortName" size="small"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-col :span="8"> |
|
|
|
<el-form-item label="价格" prop=""> |
|
|
|
<el-input v-model="form.price" size="small"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
<el-row> |
|
|
|
<!-- <el-col :span="8"> |
|
|
|
<el-form-item label="价表项目编码" prop=""> |
|
|
|
<el-select |
|
|
|
@ -287,7 +283,7 @@ |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-col> --> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-col :span="8"> |
|
|
|
<el-form-item label="单位" prop=""> |
|
|
|
<el-select v-model="form.unitId" placeholder="请选择" style="width: 100%" filterable size="small"> |
|
|
|
<el-option v-for="item in unitId" :key="item.id" :label="item.displayName" :value="item.id"> |
|
|
|
@ -303,14 +299,12 @@ |
|
|
|
> |
|
|
|
</el-autocomplete> --> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="4"> |
|
|
|
<el-form-item label="生成小结" prop=""> |
|
|
|
<el-checkbox v-model="isProduceSummaryBox" @change="changeBox('isProduceSummary')" /> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-col> |
|
|
|
<el-col :span="8"> |
|
|
|
<el-form-item label="参考范围类型" prop=""> |
|
|
|
<el-form-item> |
|
|
|
<template slot="label"> |
|
|
|
<span style="font-size: 12px;">参考范围类型</span> |
|
|
|
</template> |
|
|
|
<el-select v-model="form.referenceRangeTypeFlag" placeholder="请选择" style="width: 100%" size="small"> |
|
|
|
<el-option v-for="item in referenceRangeTypeFlag" :key="item.value" :label="item.label" |
|
|
|
:value="item.value"> |
|
|
|
@ -320,25 +314,20 @@ |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="4"> |
|
|
|
<el-form-item label="名称进入小结" prop=""> |
|
|
|
<el-form-item> |
|
|
|
<template slot="label"> |
|
|
|
<span style="font-size: 12px;">名称进入小结</span> |
|
|
|
</template> |
|
|
|
<el-checkbox v-model="isNameIntoSummaryBox" @change="changeBox('isNameIntoSummary')" /> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="4"> |
|
|
|
<el-form-item label="启用诊断函数" prop=""> |
|
|
|
<el-checkbox v-model="isDiagnosisFunctionBox" @change="changeBox('isDiagnosisFunction')" /> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="8"> |
|
|
|
<el-form-item label="诊断函数" prop=""> |
|
|
|
<el-input v-model="form.diagnosisFunction" :disabled="disableddiagnosisFunction" size="small"> |
|
|
|
<el-button slot="append" icon="el-icon-more" v-if="isDiagnosisFunctionBox" @click=" |
|
|
|
(diagnosisFunctionBox = true), |
|
|
|
(diagnosisFunctionText = form.diagnosisFunction) |
|
|
|
" size="small"></el-button> |
|
|
|
</el-input> |
|
|
|
<el-form-item label="生成小结"> |
|
|
|
<el-checkbox v-model="isProduceSummaryBox" @change="changeBox('isProduceSummary')" /> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
<el-row> |
|
|
|
<el-col :span="24"> |
|
|
|
<el-row> |
|
|
|
<el-form-item label="默认结果" prop=""> |
|
|
|
@ -352,7 +341,9 @@ |
|
|
|
</el-form-item> |
|
|
|
</el-row> |
|
|
|
</el-col> |
|
|
|
<el-col :span="3"> |
|
|
|
</el-row> |
|
|
|
<el-row> |
|
|
|
<el-col :span="4"> |
|
|
|
<el-form-item label="是计算项目" prop=""> |
|
|
|
<el-checkbox v-model="isCalculationItemBox" @change="changeBox('isCalculationItem')" /> |
|
|
|
</el-form-item> |
|
|
|
@ -367,12 +358,15 @@ |
|
|
|
</el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item label="输入结果校验" prop=""> |
|
|
|
<el-col :span="4"> |
|
|
|
<el-form-item> |
|
|
|
<template slot="label"> |
|
|
|
<span style="font-size: 12px;">输入结果校验</span> |
|
|
|
</template> |
|
|
|
<el-input v-model="form.inputCheck" size="small"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-col :span="4"> |
|
|
|
<el-form-item label="仪器类别" prop=""> |
|
|
|
<el-select v-model="form.deviceTypeId" placeholder="请选择" size="small" @change="quckRusetform"> |
|
|
|
<el-option v-for="item in deviceTypeId" :key="item.id" :label="item.displayName" :value="item.id"> |
|
|
|
@ -380,8 +374,41 @@ |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="4"> |
|
|
|
<el-form-item label="报告对比" prop=""> |
|
|
|
<el-checkbox v-model="form.isReportContrast" size="small" true-label="Y" false-label="N" /> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
<el-row> |
|
|
|
<el-col :span="4"> |
|
|
|
<el-form-item> |
|
|
|
<template slot="label"> |
|
|
|
<span style="font-size: 12px;">启用诊断函数</span> |
|
|
|
</template> |
|
|
|
<el-checkbox v-model="isDiagnosisFunctionBox" @change="changeBox('isDiagnosisFunction')" /> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="8"> |
|
|
|
<el-form-item label="结果换行标志" prop=""> |
|
|
|
<el-form-item label="诊断函数" prop=""> |
|
|
|
<el-input v-model="form.diagnosisFunction" :disabled="disableddiagnosisFunction" size="small"> |
|
|
|
<el-button slot="append" icon="el-icon-more" v-if="isDiagnosisFunctionBox" @click=" |
|
|
|
(diagnosisFunctionBox = true), |
|
|
|
(diagnosisFunctionText = form.diagnosisFunction) |
|
|
|
" size="small"></el-button> |
|
|
|
</el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="4"> |
|
|
|
<el-form-item label="继续处理" prop=""> |
|
|
|
<el-checkbox v-model="isContinueProcessBox" @change="changeBox('isContinueProcess')" /> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="8"> |
|
|
|
<el-form-item> |
|
|
|
<template slot="label"> |
|
|
|
<span style="font-size: 12px;">结果换行标志</span> |
|
|
|
</template> |
|
|
|
<el-select v-model="form.lineModeFlag" placeholder="请选择" style="width: 100%" size="small"> |
|
|
|
<el-option v-for="item in dict.lineModeFlag" :key="item.id" :label="item.displayName" :value="item.id"> |
|
|
|
</el-option> |
|
|
|
@ -389,11 +416,9 @@ |
|
|
|
<!-- <el-input v-model="form.referenceRangeTypeFlag"></el-input> --> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="3"> |
|
|
|
<el-form-item label="继续处理" prop=""> |
|
|
|
<el-checkbox v-model="isContinueProcessBox" @change="changeBox('isContinueProcess')" /> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
|
|
|
|
|
|
|
|
<!-- <el-col :span="8"> |
|
|
|
<el-form-item label="项目结果模板" prop="resultTemplateTypeFlag"> |
|
|
|
<el-input v-model="form.resultTemplateTypeFlag" |
|
|
|
@ -414,39 +439,37 @@ |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-col> --> |
|
|
|
<el-col :span="3"> |
|
|
|
<el-form-item label="启用" prop=""> |
|
|
|
<el-checkbox v-model="isActiveBox" @change="changeBox('isActive')" /> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="4"> |
|
|
|
<el-form-item label="报告对比" prop=""> |
|
|
|
<el-checkbox v-model="form.isReportContrast" size="small" true-label="Y" false-label="N"/> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
|
|
|
|
<el-row> |
|
|
|
<el-col :span="4"> |
|
|
|
<el-form-item label="启用危急值函数" prop="isCriticalValueFunction"> |
|
|
|
<el-checkbox v-model="form.isCriticalValueFunction" size="small" true-label="Y" false-label="N"/> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item prop="isCriticalValueFunction"> |
|
|
|
<template slot="label"> |
|
|
|
<span style="font-size: 11px;">启用危急值函数</span> |
|
|
|
</template> |
|
|
|
<el-checkbox v-model="form.isCriticalValueFunction" size="small" true-label="Y" false-label="N" /> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="8"> |
|
|
|
<el-form-item label="危急值函数" prop="criticalValueFunction"> |
|
|
|
<el-input v-model="form.criticalValueFunction" disabled size="small"> |
|
|
|
<el-button slot="append" icon="el-icon-more" v-if="form.isCriticalValueFunction == 'Y'" @click="dialogCriticalValueFunction = true" size="small"></el-button> |
|
|
|
<el-button slot="append" icon="el-icon-more" v-if="form.isCriticalValueFunction == 'Y'" |
|
|
|
@click="dialogCriticalValueFunction = true" size="small"></el-button> |
|
|
|
</el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="4"> |
|
|
|
<el-form-item label="启用随访函数" prop="isFollowUpFunction"> |
|
|
|
<el-checkbox v-model="form.isFollowUpFunction" size="small" true-label="Y" false-label="N"/> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item prop="isFollowUpFunction"> |
|
|
|
<template slot="label"> |
|
|
|
<span style="font-size: 12px;">启用随访函数</span> |
|
|
|
</template> |
|
|
|
<el-checkbox v-model="form.isFollowUpFunction" size="small" true-label="Y" false-label="N" /> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="8"> |
|
|
|
<el-form-item label="随访函数" prop="followUpFunction"> |
|
|
|
<el-input v-model="form.followUpFunction" disabled size="small"> |
|
|
|
<el-button slot="append" icon="el-icon-more" v-if="form.isFollowUpFunction == 'Y'" @click="dialogFollowUpFunction = true" size="small"></el-button> |
|
|
|
<el-button slot="append" icon="el-icon-more" v-if="form.isFollowUpFunction == 'Y'" |
|
|
|
@click="dialogFollowUpFunction = true" size="small"></el-button> |
|
|
|
</el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
@ -461,7 +484,7 @@ |
|
|
|
</el-col> |
|
|
|
<el-col :span="7"> |
|
|
|
<el-form-item label="创建时间" label-width="70px"> |
|
|
|
<el-input :value="form.creationTime | dateFormat" disabled style="width: 90%" size="small"></el-input> |
|
|
|
<el-input :value="form.creationTime | dateFormat" disabled size="small"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="5"> |
|
|
|
@ -471,7 +494,7 @@ |
|
|
|
</el-col> |
|
|
|
<el-col :span="7"> |
|
|
|
<el-form-item label="修改时间" label-width="70px"> |
|
|
|
<el-input :value="form.lastModificationTime | dateFormat" disabled style="width: 90%" |
|
|
|
<el-input :value="form.lastModificationTime | dateFormat" disabled |
|
|
|
size="small"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
@ -548,120 +571,120 @@ |
|
|
|
<!-- 结果模板弹框 --> |
|
|
|
<el-dialog title="结果模板" :visible.sync="rurestdialogVisible" width="80%" :close-on-click-modal="false"> |
|
|
|
<el-tabs v-model="activeName" type="border-card"> |
|
|
|
<el-tab-pane label="结果模板" name="first"> |
|
|
|
<div style="display: flex"> |
|
|
|
<div style="width: 90%"> |
|
|
|
<el-table :data="reusttableData" @row-click="reustclick" row-key="id" highlight-current-row |
|
|
|
style="width: 100%" :height="window.pageHeight < 600 ? 270 : window.pageHeight - 330" ref="reusttableData" |
|
|
|
class="el-table__body-wrappers tbodys"> |
|
|
|
<!-- <el-table-column label="编号" prop="id"></el-table-column> |
|
|
|
<el-tab-pane label="结果模板" name="first"> |
|
|
|
<div style="display: flex"> |
|
|
|
<div style="width: 90%"> |
|
|
|
<el-table :data="reusttableData" @row-click="reustclick" row-key="id" highlight-current-row |
|
|
|
style="width: 100%" :height="window.pageHeight < 600 ? 270 : window.pageHeight - 330" |
|
|
|
ref="reusttableData" class="el-table__body-wrappers tbodys"> |
|
|
|
<!-- <el-table-column label="编号" prop="id"></el-table-column> |
|
|
|
<el-table-column label="项目编号" prop="itemId"></el-table-column> --> |
|
|
|
<el-table-column label="结果" prop="result" width="300"></el-table-column> |
|
|
|
<el-table-column label="诊断" width="200"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
{{ dddw(diagnosisId, "id", scope.row.diagnosisId, "displayName") }} |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="小结前加名称" width="120"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-checkbox v-model="scope.row.isNameIntoSummary" true-label="Y" false-label="N" disabled /> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="结果状态" width="100"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
{{ getChangeResult(scope.row.resultStatusId) }} |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="结果进入小结" width="120"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-checkbox v-model="scope.row.isResultIntoSummary" true-label="Y" false-label="N" disabled /> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="操作" align="center"> |
|
|
|
<template> |
|
|
|
<el-tag class="moves" style=" |
|
|
|
<el-table-column label="结果" prop="result" width="300"></el-table-column> |
|
|
|
<el-table-column label="诊断" width="200"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
{{ dddw(diagnosisId, "id", scope.row.diagnosisId, "displayName") }} |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="小结前加名称" width="120"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-checkbox v-model="scope.row.isNameIntoSummary" true-label="Y" false-label="N" disabled /> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="结果状态" width="100"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
{{ getChangeResult(scope.row.resultStatusId) }} |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="结果进入小结" width="120"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-checkbox v-model="scope.row.isResultIntoSummary" true-label="Y" false-label="N" disabled /> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="操作" align="center"> |
|
|
|
<template> |
|
|
|
<el-tag class="moves" style=" |
|
|
|
cursor: move; |
|
|
|
background-color: rgb(245, 245, 245); |
|
|
|
border: none; |
|
|
|
" draggable="true"> |
|
|
|
<i class="el-icon-d-caret" style="width: 1rem; height: 1rem; color: rgb(113, 113, 113)"></i> |
|
|
|
</el-tag> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="创建者" width="100"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
{{ scope.row.creatorName }} |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="创建时间" width="200"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
{{ scope.row.creationTime | dateFormat }} |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="修改者" width="100"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
{{ scope.row.lastModifierName }} |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="修改时间" width="200"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
{{ scope.row.lastModificationTime | dateFormat }} |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
</div> |
|
|
|
<div style="margin-top: 5px; margin-left: 15px; width: 10%"> |
|
|
|
<el-button type="" @click="increase" class="commonbutton">添加</el-button> |
|
|
|
<div style="margin-top: 5px"> |
|
|
|
<el-button type="" @click="resultediting" class="commonbutton">编辑</el-button> |
|
|
|
</div> |
|
|
|
<div style="margin-top: 5px"> |
|
|
|
<el-button type="" @click="delemtdelite" class="deleteButton">删除</el-button> |
|
|
|
</div> |
|
|
|
<div style="margin-top: 5px"> |
|
|
|
<el-button type="" @click="resulttopping" class="commonbutton">置顶</el-button> |
|
|
|
</div> |
|
|
|
<div style="margin-top: 5px"> |
|
|
|
<el-button type="" @click="resulttoppings" class="commonbutton">置底</el-button> |
|
|
|
</div> |
|
|
|
<div style="margin-top: 5px"> |
|
|
|
<el-button type="" :disabled="isshows" @click="assertions" class="commonbutton">排序</el-button> |
|
|
|
</div> |
|
|
|
<div style="margin-top: 5px"> |
|
|
|
<el-button type="" :disabled="isshows" @click="resultcancellation" class="commonbutton">取消</el-button> |
|
|
|
</div> |
|
|
|
<!-- <div style="margin-top: 5px"> |
|
|
|
<i class="el-icon-d-caret" style="width: 1rem; height: 1rem; color: rgb(113, 113, 113)"></i> |
|
|
|
</el-tag> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="创建者" width="100"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
{{ scope.row.creatorName }} |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="创建时间" width="200"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
{{ scope.row.creationTime | dateFormat }} |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="修改者" width="100"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
{{ scope.row.lastModifierName }} |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="修改时间" width="200"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
{{ scope.row.lastModificationTime | dateFormat }} |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
</div> |
|
|
|
<div style="margin-top: 5px; margin-left: 15px; width: 10%"> |
|
|
|
<el-button type="" @click="increase" class="commonbutton">添加</el-button> |
|
|
|
<div style="margin-top: 5px"> |
|
|
|
<el-button type="" @click="resultediting" class="commonbutton">编辑</el-button> |
|
|
|
</div> |
|
|
|
<div style="margin-top: 5px"> |
|
|
|
<el-button type="" @click="delemtdelite" class="deleteButton">删除</el-button> |
|
|
|
</div> |
|
|
|
<div style="margin-top: 5px"> |
|
|
|
<el-button type="" @click="resulttopping" class="commonbutton">置顶</el-button> |
|
|
|
</div> |
|
|
|
<div style="margin-top: 5px"> |
|
|
|
<el-button type="" @click="resulttoppings" class="commonbutton">置底</el-button> |
|
|
|
</div> |
|
|
|
<div style="margin-top: 5px"> |
|
|
|
<el-button type="" :disabled="isshows" @click="assertions" class="commonbutton">排序</el-button> |
|
|
|
</div> |
|
|
|
<div style="margin-top: 5px"> |
|
|
|
<el-button type="" :disabled="isshows" @click="resultcancellation" class="commonbutton">取消</el-button> |
|
|
|
</div> |
|
|
|
<!-- <div style="margin-top: 5px"> |
|
|
|
<el-button type="primary" @click="templatecategory" |
|
|
|
>模板类别</el-button |
|
|
|
> |
|
|
|
</div> --> |
|
|
|
<div style="margin-top: 5px; margin-bottom: 14px"> |
|
|
|
<el-button type="" @click="diagnosticmatching" class="commonbutton">诊断匹配</el-button> |
|
|
|
<div style="margin-top: 5px; margin-bottom: 14px"> |
|
|
|
<el-button type="" @click="diagnosticmatching" class="commonbutton">诊断匹配</el-button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</el-tab-pane> |
|
|
|
<el-tab-pane label="词条类别" name="second"> |
|
|
|
<div style="display: flex"> |
|
|
|
<div style="flex:1;overflow: scroll;height:450px;" :style="'overflow: scroll;height:' + (window.pageHeight < 600 ? 270 : window.pageHeight - 330) + 'px;'"> |
|
|
|
<el-tree :data="menuInfoView" :props="treeprops" |
|
|
|
node-key="bigtextResultTypeId" show-checkbox |
|
|
|
default-expand-all |
|
|
|
:default-checked-keys="defaultExpandedKeys" highlight-current ref="customerOrgTree" size="small"/> |
|
|
|
</div> |
|
|
|
<div style="margin-top: 5px; margin-left: 15px;"> |
|
|
|
<el-button type="" @click="saveEntry" class="commonbutton">保存</el-button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</el-tab-pane> |
|
|
|
</el-tabs> |
|
|
|
</el-tab-pane> |
|
|
|
<el-tab-pane label="词条类别" name="second"> |
|
|
|
<div style="display: flex"> |
|
|
|
<div style="flex:1;overflow: scroll;height:450px;" |
|
|
|
:style="'overflow: scroll;height:' + (window.pageHeight < 600 ? 270 : window.pageHeight - 330) + 'px;'"> |
|
|
|
<el-tree :data="menuInfoView" :props="treeprops" node-key="bigtextResultTypeId" show-checkbox |
|
|
|
default-expand-all :default-checked-keys="defaultExpandedKeys" highlight-current ref="customerOrgTree" |
|
|
|
size="small" /> |
|
|
|
</div> |
|
|
|
<div style="margin-top: 5px; margin-left: 15px;"> |
|
|
|
<el-button type="" @click="saveEntry" class="commonbutton">保存</el-button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</el-tab-pane> |
|
|
|
</el-tabs> |
|
|
|
<el-divider></el-divider> |
|
|
|
<span slot="footer" class="dialog-footer"> |
|
|
|
<el-button @click=" |
|
|
|
(rurestdialogVisible = false), (rusetform = {}), (curRows = {}),(activeName='first') |
|
|
|
(rurestdialogVisible = false), (rusetform = {}), (curRows = {}), (activeName = 'first') |
|
|
|
" class="difference">取 消</el-button> |
|
|
|
<el-button type="primary" @click=" |
|
|
|
(rurestdialogVisible = false), (rusetform = {}), (curRows = {}),(activeName='first') |
|
|
|
(rurestdialogVisible = false), (rusetform = {}), (curRows = {}), (activeName = 'first') |
|
|
|
" class="commonbutton">确 定</el-button> |
|
|
|
</span> |
|
|
|
</el-dialog> |
|
|
|
@ -692,7 +715,8 @@ |
|
|
|
<el-col :span="8"> |
|
|
|
<el-form-item label="诊断编号"> |
|
|
|
<el-select v-model="rusetform.diagnosisId" placeholder="请选择" filterable :filter-method="remoteMethod" |
|
|
|
clearable @change="quckRusetforms" default-first-option size="small" popper-class="dddwSelect" :popper-append-to-body="false"> |
|
|
|
clearable @change="quckRusetforms" default-first-option size="small" popper-class="dddwSelect" |
|
|
|
:popper-append-to-body="false"> |
|
|
|
<el-option v-for="item in quickAsb" :key="item.id" :label="item.displayName" :value="item.id"> |
|
|
|
</el-option> |
|
|
|
</el-select> |
|
|
|
@ -727,7 +751,7 @@ |
|
|
|
<el-button type="" @click="rusteronsubmit" class="commonbutton">确 定</el-button> |
|
|
|
</span> |
|
|
|
</el-dialog> |
|
|
|
|
|
|
|
|
|
|
|
<!-- 参考范围弹框 --> |
|
|
|
<el-dialog title="参考范围" :visible.sync="referencerangedialogVisible" width="80%" :close-on-click-modal="false"> |
|
|
|
<el-row> |
|
|
|
@ -948,7 +972,8 @@ |
|
|
|
</span> |
|
|
|
</el-dialog> |
|
|
|
<!-- 危急值函数弹框 --> |
|
|
|
<el-dialog title="危急值函数设置" :visible.sync="dialogCriticalValueFunction" width="90%" :close-on-click-modal="false" fullscreen> |
|
|
|
<el-dialog title="危急值函数设置" :visible.sync="dialogCriticalValueFunction" width="90%" :close-on-click-modal="false" |
|
|
|
fullscreen> |
|
|
|
<el-form label-width="110px"> |
|
|
|
<el-row> |
|
|
|
<el-col :span="24"> |
|
|
|
@ -960,7 +985,8 @@ |
|
|
|
</el-row> |
|
|
|
</el-form> |
|
|
|
<span slot="footer" class="dialog-footer"> |
|
|
|
<el-button @click="(dialogCriticalValueFunction = false), (form.criticalValueFunction = '')" class="difference">取 |
|
|
|
<el-button @click="(dialogCriticalValueFunction = false), (form.criticalValueFunction = '')" |
|
|
|
class="difference">取 |
|
|
|
消</el-button> |
|
|
|
<el-button type="primary" @click="dialogCriticalValueFunction = false" class="commonbutton">确 定</el-button> |
|
|
|
</span> |
|
|
|
@ -1022,7 +1048,7 @@ import { |
|
|
|
import { unitlist, instrumentlist } from "@/request/systemapi"; |
|
|
|
import Sortable from "sortablejs"; |
|
|
|
import { getapi, postapi, putapi, deletapi } from "@/api/api"; |
|
|
|
import { deepCopy, dddw, tcdate} from "../../utlis/proFunc"; |
|
|
|
import { deepCopy, dddw, tcdate } from "../../utlis/proFunc"; |
|
|
|
import ReferenceRange from "../../components/itemSet/ReferenceRange.vue"; |
|
|
|
import { mapState, mapActions } from "vuex"; |
|
|
|
export default { |
|
|
|
@ -1153,11 +1179,11 @@ export default { |
|
|
|
isActive: "", |
|
|
|
lineModeFlag: '2', |
|
|
|
deviceTypeId: null, |
|
|
|
isCriticalValueFunction:'N', |
|
|
|
criticalValueFunction:'', |
|
|
|
isFollowUpFunction:'N', |
|
|
|
followUpFunction:'', |
|
|
|
isReportContrast:"N" |
|
|
|
isCriticalValueFunction: 'N', |
|
|
|
criticalValueFunction: '', |
|
|
|
isFollowUpFunction: 'N', |
|
|
|
followUpFunction: '', |
|
|
|
isReportContrast: "N" |
|
|
|
}, |
|
|
|
referenceRangeTypeFlag: [ |
|
|
|
{ |
|
|
|
@ -1391,8 +1417,8 @@ export default { |
|
|
|
reference: [], //参考范围 |
|
|
|
resulttemp: [], // 结果模板 |
|
|
|
disableddiagnosisFunction: true, |
|
|
|
dialogFollowUpFunction:false, // 随访函数详细编辑窗口 |
|
|
|
dialogCriticalValueFunction:false, // 危急值详细编辑窗口 |
|
|
|
dialogFollowUpFunction: false, // 随访函数详细编辑窗口 |
|
|
|
dialogCriticalValueFunction: false, // 危急值详细编辑窗口 |
|
|
|
curRow: {}, |
|
|
|
diagnosisFunctionText: "", |
|
|
|
calculationFunctionText: "", |
|
|
|
@ -1409,16 +1435,16 @@ export default { |
|
|
|
isshowes: true, |
|
|
|
initItemTypeId: "", |
|
|
|
deviceTypeId: [], |
|
|
|
activeName:"first", |
|
|
|
menuInfoView:[], |
|
|
|
activeName: "first", |
|
|
|
menuInfoView: [], |
|
|
|
treeprops: { |
|
|
|
label: "displayName", //displayName |
|
|
|
value: "bigtextResultTypeId", |
|
|
|
id: "bigtextResultTypeId", |
|
|
|
children: "treeChildren", |
|
|
|
checkStrictly: true |
|
|
|
}, |
|
|
|
defaultExpandedKeys:[] |
|
|
|
label: "displayName", //displayName |
|
|
|
value: "bigtextResultTypeId", |
|
|
|
id: "bigtextResultTypeId", |
|
|
|
children: "treeChildren", |
|
|
|
checkStrictly: true |
|
|
|
}, |
|
|
|
defaultExpandedKeys: [] |
|
|
|
}; |
|
|
|
}, |
|
|
|
created() { |
|
|
|
@ -2003,24 +2029,24 @@ export default { |
|
|
|
} |
|
|
|
); |
|
|
|
}, |
|
|
|
saveEntry(){ |
|
|
|
let selectedNodes=this.$refs.customerOrgTree.getCheckedNodes() |
|
|
|
let itemBigtextResultTypeIds=[] |
|
|
|
for(let i=0;i<selectedNodes.length;i++){ |
|
|
|
if(!selectedNodes[i].treeChildren){ |
|
|
|
saveEntry() { |
|
|
|
let selectedNodes = this.$refs.customerOrgTree.getCheckedNodes() |
|
|
|
let itemBigtextResultTypeIds = [] |
|
|
|
for (let i = 0; i < selectedNodes.length; i++) { |
|
|
|
if (!selectedNodes[i].treeChildren) { |
|
|
|
itemBigtextResultTypeIds.push(selectedNodes[i].bigtextResultTypeId) |
|
|
|
} |
|
|
|
} |
|
|
|
postapi("/api/app/item/CreateItemBigtextResultType",{ |
|
|
|
itemId:this.form.id, |
|
|
|
itemBigtextResultTypeIds:itemBigtextResultTypeIds |
|
|
|
}).then( |
|
|
|
(res) => { |
|
|
|
if (res.code != -1) { |
|
|
|
this.$message.success("设置成功"); |
|
|
|
} |
|
|
|
postapi("/api/app/item/CreateItemBigtextResultType", { |
|
|
|
itemId: this.form.id, |
|
|
|
itemBigtextResultTypeIds: itemBigtextResultTypeIds |
|
|
|
}).then( |
|
|
|
(res) => { |
|
|
|
if (res.code != -1) { |
|
|
|
this.$message.success("设置成功"); |
|
|
|
} |
|
|
|
); |
|
|
|
} |
|
|
|
); |
|
|
|
}, |
|
|
|
resulttemplate() { |
|
|
|
let that = this; |
|
|
|
@ -2029,7 +2055,7 @@ export default { |
|
|
|
this.$message.warning("请选择操作的数据"); |
|
|
|
} else { |
|
|
|
this.rurestdialogVisible = true; |
|
|
|
if(this.$refs.customerOrgTree){ |
|
|
|
if (this.$refs.customerOrgTree) { |
|
|
|
this.$refs.customerOrgTree.setCheckedKeys([]); |
|
|
|
} |
|
|
|
getapi(`/api/app/item-result-template/in-item-id/${this.form.id}`).then( |
|
|
|
@ -2051,21 +2077,21 @@ export default { |
|
|
|
} |
|
|
|
} |
|
|
|
); |
|
|
|
postapi("/api/app/item/GetItemBigtextResultTypeByItemId",{ |
|
|
|
itemId:this.form.id |
|
|
|
postapi("/api/app/item/GetItemBigtextResultTypeByItemId", { |
|
|
|
itemId: this.form.id |
|
|
|
}).then( |
|
|
|
(res) => { |
|
|
|
if (res.code != -1) { |
|
|
|
let defaultExpandedKeys=[] |
|
|
|
res.data.forEach((e)=>{ |
|
|
|
defaultExpandedKeys.push(e.itemBigtextResultTypeId) |
|
|
|
let defaultExpandedKeys = [] |
|
|
|
res.data.forEach((e) => { |
|
|
|
defaultExpandedKeys.push(e.itemBigtextResultTypeId) |
|
|
|
}) |
|
|
|
this.defaultExpandedKeys = defaultExpandedKeys; |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
// // 获取项目类别 |
|
|
|
// getapi("/api/app/item-type/by-code-all").then((res) => { |
|
|
|
// this.resultitemtype = res.data; |
|
|
|
@ -2582,7 +2608,7 @@ export default { |
|
|
|
this.calculationFunctionText = ""; |
|
|
|
this.calculationFunctionBox = false; |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
//确定新增或者编辑 |
|
|
|
Onsubmit() { |
|
|
|
this.$refs.form.validate((v) => { |
|
|
|
|