|
|
|
@ -2,172 +2,100 @@ |
|
|
|
<div class="box"> |
|
|
|
<div style="width: 150%"> |
|
|
|
<el-card> |
|
|
|
<el-row style="margin-top: 20px; margin-left: 15px"> |
|
|
|
<el-col :span="4"> |
|
|
|
<el-autocomplete |
|
|
|
class="inline-input" |
|
|
|
v-model="pages.Filter" |
|
|
|
:fetch-suggestions="querySearch" |
|
|
|
placeholder="请输入内容" |
|
|
|
@select="handleSelect" |
|
|
|
> |
|
|
|
<template slot-scope="{ item }"> |
|
|
|
<div |
|
|
|
class="name" |
|
|
|
@click="selsearch(item.id, item.medicalConclusionTypeId)" |
|
|
|
> |
|
|
|
{{ item.displayName }} |
|
|
|
</div> |
|
|
|
</template></el-autocomplete |
|
|
|
> |
|
|
|
</el-col> |
|
|
|
<el-col :span="7" style="margin-left: 5%"> |
|
|
|
<el-col :span="6" style="margin-top: 10px; margin-left: 10px" |
|
|
|
>类别选择</el-col |
|
|
|
> |
|
|
|
<el-select |
|
|
|
filterable |
|
|
|
v-model="Selectvalue" |
|
|
|
placeholder="请选择" |
|
|
|
@change="isselctvalue" |
|
|
|
> |
|
|
|
<el-option |
|
|
|
v-for="item in Selectacategory" |
|
|
|
:key="item.id" |
|
|
|
:label="item.displayName" |
|
|
|
:value="item.id" |
|
|
|
> |
|
|
|
</el-option> |
|
|
|
</el-select> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
<div style="display: flex"> |
|
|
|
<div style="width: 15%; margin-top: 20px"> |
|
|
|
<el-tree |
|
|
|
:data="itemTypeId" |
|
|
|
:props="treeprops" |
|
|
|
@node-click="treeclick" |
|
|
|
></el-tree> |
|
|
|
<div style="width: 15%; margin-top: 20px;border:1px solid;" > |
|
|
|
<el-tree :data="data.customerOrgTree" :props="treeprops" @node-click="treeclick"></el-tree> |
|
|
|
</div> |
|
|
|
<div style="width: 85%"> |
|
|
|
<el-table |
|
|
|
:data="tableData" |
|
|
|
style="width: 95%; height: 500px" |
|
|
|
row-key="id" |
|
|
|
class="el-table__body-wrapper tbody" |
|
|
|
highlight-current-row |
|
|
|
@row-click="rowick" |
|
|
|
ref="tableData" |
|
|
|
> |
|
|
|
<el-table-column prop="id" label="编号" width="300"> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="displayName" label="名称" width=""> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="creatorName" label="创建者" width=""> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="creationTime" label="创建时间" width="200"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
{{ scope.row.creationTime | dateFormat }} |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="lastModifierName" label="修改者" width=""> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column |
|
|
|
prop="lastModificationTime" |
|
|
|
label="修改时间" |
|
|
|
width="200" |
|
|
|
> |
|
|
|
<template slot-scope="scope"> |
|
|
|
{{ scope.row.lastModificationTime | dateFormat }} |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column |
|
|
|
label="结果类别" |
|
|
|
prop="resultTemplateTypeFlag" |
|
|
|
></el-table-column> |
|
|
|
<el-table-column label="操作"> |
|
|
|
<template> |
|
|
|
<el-tag |
|
|
|
class="move" |
|
|
|
style="cursor: move; margin-left: 15px" |
|
|
|
draggable="true" |
|
|
|
> |
|
|
|
<i |
|
|
|
class="el-icon-d-caret" |
|
|
|
style="width: 1rem; height: 1rem" |
|
|
|
></i> |
|
|
|
</el-tag> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</el-card> |
|
|
|
</div> |
|
|
|
<el-dialog |
|
|
|
:title="title == 1 ? '新增' : '编辑'" |
|
|
|
:visible.sync="dialogVisible" |
|
|
|
width="70%" |
|
|
|
> |
|
|
|
<!-- 单位详情 录入与编辑 --> |
|
|
|
<el-form ref="form" :model="form" label-width="110px" :rules="rules"> |
|
|
|
<el-row> |
|
|
|
<el-col :span="8"> |
|
|
|
<el-form-item label="名称" prop="displayName"> |
|
|
|
<el-form-item label="单位名称" prop="display_name"> |
|
|
|
<el-input v-model="form.displayName"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="8"> |
|
|
|
<el-form-item label="英文缩写" prop="englishShortName"> |
|
|
|
<el-form-item label="简称" prop="short_name"> |
|
|
|
<el-input v-model="form.englishShortName"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="8"> |
|
|
|
<el-form-item label="项目类别" prop="itemTypeId"> |
|
|
|
<el-cascader |
|
|
|
v-model="form.itemTypeId" |
|
|
|
:options="itemTypeId" |
|
|
|
:props="props" |
|
|
|
:show-all-levels="false" |
|
|
|
> |
|
|
|
<el-form-item label="上级单位" prop="parent_id"> |
|
|
|
<el-cascader v-model="form.itemTypeId" :options="data.customerOrgTree" :props="treeprops" :show-all-levels="false"> |
|
|
|
</el-cascader> |
|
|
|
<!-- <el-select v-model="form.itemTypeId" placeholder="请选择"> |
|
|
|
<el-option |
|
|
|
v-for="item in itemTypeId" |
|
|
|
:key="item.id" |
|
|
|
:label="item.displayName" |
|
|
|
:value="item.id" |
|
|
|
> |
|
|
|
</el-option> |
|
|
|
</el-select> --> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="8"> |
|
|
|
<el-form-item label="价格" prop="price"> |
|
|
|
<el-form-item label="联系电话" prop="telephone"> |
|
|
|
<el-input v-model="form.price"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="8"> |
|
|
|
<el-form-item label="传真" prop="fax"> |
|
|
|
<el-input v-model="form.price"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="8"> |
|
|
|
<el-form-item label="邮政编码" prop="postal_code"> |
|
|
|
<el-input v-model="form.price"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="8"> |
|
|
|
<el-form-item label="价表项目编码" prop="priceItemId"> |
|
|
|
<el-form-item label="地址" prop="address"> |
|
|
|
<el-input v-model="form.address"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="8"> |
|
|
|
<el-form-item label="开户银行" prop="bank"> |
|
|
|
<el-input v-model="form.bank"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="8"> |
|
|
|
<el-form-item label="银行账号" prop="accounts"> |
|
|
|
<el-input v-model="form.accounts"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="8"> |
|
|
|
<el-form-item label="单位性质" prop="org_type_id"> |
|
|
|
<el-select v-model="form.priceItemId" placeholder="请选择"> |
|
|
|
<el-option |
|
|
|
v-for="item in priceItemId" |
|
|
|
:key="item.id" |
|
|
|
:label="item.displayName" |
|
|
|
:value="item.id" |
|
|
|
> |
|
|
|
<el-option v-for="item in priceItemId" :key="item.id" :label="item.displayName" :value="item.id"> |
|
|
|
</el-option> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="8"> |
|
|
|
<el-form-item label="单位简码" prop="simple_code"> |
|
|
|
<el-input v-model="form.accounts"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="8"> |
|
|
|
<el-form-item label="受理体检中心" prop="organization_unit_id"> |
|
|
|
<el-input v-model="form.organization_unit_id"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="8"> |
|
|
|
<el-form-item label="备注" prop="remark"> |
|
|
|
<el-input v-model="form.accounts"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="8"> |
|
|
|
<el-form-item label="加锁" prop="is_lock"> |
|
|
|
<el-radio v-model="form.is_lock" label="Y">是</el-radio> |
|
|
|
<el-radio v-model="form.is_lock" label="N">否</el-radio> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="8"> |
|
|
|
<el-form-item label="状态" prop="status_flag"> |
|
|
|
<el-radio v-model="form.status_flag" label="1">启用</el-radio> |
|
|
|
<el-radio v-model="form.status_flag" label="0">停用</el-radio> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
|
|
|
|
<el-col :span="8"> |
|
|
|
<el-form-item label="单位" prop="unitId"> |
|
|
|
<el-select v-model="form.unitId" placeholder="请选择"> |
|
|
|
<el-option |
|
|
|
v-for="item in unitId" |
|
|
|
:key="item.id" |
|
|
|
:label="item.displayName" |
|
|
|
:value="item.id" |
|
|
|
> |
|
|
|
<el-option v-for="item in unitId" :key="item.id" :label="item.displayName" :value="item.id"> |
|
|
|
</el-option> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
@ -190,28 +118,17 @@ |
|
|
|
<el-col :span="8"> |
|
|
|
<el-form-item label="名称进入小结" prop="isNameIntoSummary"> |
|
|
|
<el-select v-model="form.isNameIntoSummary" placeholder="请选择"> |
|
|
|
<el-option |
|
|
|
v-for="item in isNameIntoSummary" |
|
|
|
:key="item.value" |
|
|
|
:label="item.label" |
|
|
|
:value="item.value" |
|
|
|
> |
|
|
|
<el-option v-for="item in isNameIntoSummary" :key="item.value" :label="item.label" |
|
|
|
:value="item.value"> |
|
|
|
</el-option> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="8"> |
|
|
|
<el-form-item label="启用诊断函数" prop="isDiagnosisFunction"> |
|
|
|
<el-select |
|
|
|
v-model="form.isDiagnosisFunction" |
|
|
|
placeholder="请选择" |
|
|
|
> |
|
|
|
<el-option |
|
|
|
v-for="item in isDiagnosisFunction" |
|
|
|
:key="item.value" |
|
|
|
:label="item.label" |
|
|
|
:value="item.value" |
|
|
|
> |
|
|
|
<el-select v-model="form.isDiagnosisFunction" placeholder="请选择"> |
|
|
|
<el-option v-for="item in isDiagnosisFunction" :key="item.value" :label="item.label" |
|
|
|
:value="item.value"> |
|
|
|
</el-option> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
@ -224,12 +141,8 @@ |
|
|
|
<el-col :span="8"> |
|
|
|
<el-form-item label="是计算项目" prop="isCalculationItem"> |
|
|
|
<el-select v-model="form.isCalculationItem" placeholder="请选择"> |
|
|
|
<el-option |
|
|
|
v-for="item in isCalculationItem" |
|
|
|
:key="item.value" |
|
|
|
:label="item.label" |
|
|
|
:value="item.value" |
|
|
|
> |
|
|
|
<el-option v-for="item in isCalculationItem" :key="item.value" :label="item.label" |
|
|
|
:value="item.value"> |
|
|
|
</el-option> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
@ -242,12 +155,8 @@ |
|
|
|
<el-col :span="8"> |
|
|
|
<el-form-item label="继续处理" prop="isContinueProcess"> |
|
|
|
<el-select v-model="form.isContinueProcess" placeholder="请选择"> |
|
|
|
<el-option |
|
|
|
v-for="item in isContinueProcess" |
|
|
|
:key="item.value" |
|
|
|
:label="item.label" |
|
|
|
:value="item.value" |
|
|
|
> |
|
|
|
<el-option v-for="item in isContinueProcess" :key="item.value" :label="item.label" |
|
|
|
:value="item.value"> |
|
|
|
</el-option> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
@ -265,12 +174,7 @@ |
|
|
|
<el-col :span="8"> |
|
|
|
<el-form-item label="启用" prop="isActive"> |
|
|
|
<el-select v-model="form.isActive" placeholder="请选择"> |
|
|
|
<el-option |
|
|
|
v-for="item in isActive" |
|
|
|
:key="item.value" |
|
|
|
:label="item.label" |
|
|
|
:value="item.value" |
|
|
|
> |
|
|
|
<el-option v-for="item in isActive" :key="item.value" :label="item.label" :value="item.value"> |
|
|
|
</el-option> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
@ -286,11 +190,7 @@ |
|
|
|
</el-col> |
|
|
|
<el-col :span="7"> |
|
|
|
<el-form-item label="创建时间" style="margin-left: -5%"> |
|
|
|
<el-input |
|
|
|
:value="form.creationTime | dateFormat" |
|
|
|
disabled |
|
|
|
style="width: 90%" |
|
|
|
></el-input> |
|
|
|
<el-input :value="form.creationTime | dateFormat" disabled style="width: 90%"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="5"> |
|
|
|
@ -300,29 +200,20 @@ |
|
|
|
</el-col> |
|
|
|
<el-col :span="7"> |
|
|
|
<el-form-item label="修改时间" style="margin-left: -5%"> |
|
|
|
<el-input |
|
|
|
:value="form.lastModificationTime | dateFormat" |
|
|
|
disabled |
|
|
|
style="width: 90%" |
|
|
|
></el-input> |
|
|
|
<el-input :value="form.lastModificationTime | dateFormat" disabled style="width: 90%"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
</el-form> |
|
|
|
<span slot="footer" class="dialog-footer"> |
|
|
|
<el-button @click="dialogVisible = false">取 消</el-button> |
|
|
|
<el-button type="primary" @click="Onsubmit">确 定</el-button> |
|
|
|
</span> |
|
|
|
</el-dialog> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</el-card> |
|
|
|
</div> |
|
|
|
|
|
|
|
<!-- 按钮区域 --> |
|
|
|
<div style="margin-left: 10px; margin-top: 5%"> |
|
|
|
<el-button type="primary" @click="add">新增</el-button> |
|
|
|
<el-button |
|
|
|
type="primary" |
|
|
|
@click="editpopup" |
|
|
|
style="margin-left: 0; margin-top: 10px" |
|
|
|
>编辑</el-button |
|
|
|
> |
|
|
|
<el-button type="primary" @click="Onsubmit" style="margin-left: 0; margin-top: 10px">保存</el-button> |
|
|
|
<div style="margin-top: 10px"> |
|
|
|
<el-button type="danger" @click="delsrts">删除</el-button> |
|
|
|
</div> |
|
|
|
@ -333,44 +224,23 @@ |
|
|
|
<el-button type="primary" @click="toppings">置底</el-button> |
|
|
|
</div> |
|
|
|
<div style="margin-top: 10px"> |
|
|
|
<el-button type="primary" :disabled="isshow" @click="assertion" |
|
|
|
>排序</el-button |
|
|
|
> |
|
|
|
<el-button type="primary" :disabled="isshow" @click="assertion">排序</el-button> |
|
|
|
</div> |
|
|
|
<div style="margin-top: 5px"> |
|
|
|
<el-button type="primary" :disabled="isshow" @click="cancellation" |
|
|
|
>取消</el-button |
|
|
|
> |
|
|
|
<el-button type="primary" :disabled="isshow" @click="cancellation">取消</el-button> |
|
|
|
</div> |
|
|
|
<div style="margin-top: 5px"> |
|
|
|
<el-button |
|
|
|
type="primary" |
|
|
|
size="mini" |
|
|
|
@click="resulttemplate" |
|
|
|
style="width: 70px; height: 50px" |
|
|
|
>结果模板</el-button |
|
|
|
> |
|
|
|
<el-button type="primary" size="mini" @click="resulttemplate" style="width: 70px; height: 50px">结果模板</el-button> |
|
|
|
</div> |
|
|
|
<div style="margin-top: 5px"> |
|
|
|
<el-button |
|
|
|
type="primary" |
|
|
|
size="mini" |
|
|
|
@click="referencerange" |
|
|
|
style="width: 70px; height: 50px" |
|
|
|
>参考范围</el-button |
|
|
|
> |
|
|
|
<el-button type="primary" size="mini" @click="referencerange" style="width: 70px; height: 50px">参考范围</el-button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<!-- 结果模板弹框 --> |
|
|
|
<el-dialog title="结果模板" :visible.sync="rurestdialogVisible" width="80%"> |
|
|
|
<div style="display: flex"> |
|
|
|
<div style="width: 95%"> |
|
|
|
<el-table |
|
|
|
border="" |
|
|
|
:data="reusttableData" |
|
|
|
@row-click="reustclick" |
|
|
|
highlight-current-row |
|
|
|
> |
|
|
|
<el-table border="" :data="reusttableData" @row-click="reustclick" highlight-current-row> |
|
|
|
<el-table-column label="编号" prop="id"></el-table-column> |
|
|
|
<el-table-column label="项目编号" prop="itemId"></el-table-column> |
|
|
|
<el-table-column label="创建时间" width="200"> |
|
|
|
@ -410,36 +280,23 @@ |
|
|
|
> |
|
|
|
</div> --> |
|
|
|
<div style="margin-top: 5px"> |
|
|
|
<el-button type="primary" @click="diagnosticmatching" |
|
|
|
>诊断匹配</el-button |
|
|
|
> |
|
|
|
<el-button type="primary" @click="diagnosticmatching">诊断匹配</el-button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<span slot="footer" class="dialog-footer"> |
|
|
|
<el-button @click="rurestdialogVisible = false">取 消</el-button> |
|
|
|
<el-button type="primary" @click="rurestdialogVisible = false" |
|
|
|
>确 定</el-button |
|
|
|
> |
|
|
|
<el-button type="primary" @click="rurestdialogVisible = false">确 定</el-button> |
|
|
|
</span> |
|
|
|
</el-dialog> |
|
|
|
<!-- 结果模板添加或者修改弹框 --> |
|
|
|
<el-dialog |
|
|
|
:title="ruesttiele == 1 ? '新增' : '修改'" |
|
|
|
:visible.sync="ruesttieledialogVisible" |
|
|
|
width="80%" |
|
|
|
> |
|
|
|
<el-dialog :title="ruesttiele == 1 ? '新增' : '修改'" :visible.sync="ruesttieledialogVisible" width="80%"> |
|
|
|
<el-form :model="rusetform" ref="rusetform" label-width="100px"> |
|
|
|
<el-row> |
|
|
|
<el-col :span="8"> |
|
|
|
<el-form-item label="项目"> |
|
|
|
<el-select v-model="rusetform.itemId" placeholder="请选择"> |
|
|
|
<el-option |
|
|
|
v-for="item in itemId" |
|
|
|
:key="item.id" |
|
|
|
:label="item.displayName" |
|
|
|
:value="item.id" |
|
|
|
> |
|
|
|
<el-option v-for="item in itemId" :key="item.id" :label="item.displayName" :value="item.id"> |
|
|
|
</el-option> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
@ -452,60 +309,31 @@ |
|
|
|
<el-col :span="8"> |
|
|
|
<el-form-item label="诊断编号"> |
|
|
|
<el-select v-model="rusetform.diagnosisId" placeholder="请选择"> |
|
|
|
<el-option |
|
|
|
v-for="item in diagnosisId" |
|
|
|
:key="item.id" |
|
|
|
:label="item.displayName" |
|
|
|
:value="item.id" |
|
|
|
> |
|
|
|
<el-option v-for="item in diagnosisId" :key="item.id" :label="item.displayName" :value="item.id"> |
|
|
|
</el-option> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="8"> |
|
|
|
<el-form-item label="小结名称"> |
|
|
|
<el-select |
|
|
|
v-model="rusetform.isNameIntoSummary" |
|
|
|
placeholder="请选择" |
|
|
|
> |
|
|
|
<el-option |
|
|
|
v-for="item in isNameIntoSummary" |
|
|
|
:key="item.value" |
|
|
|
:label="item.label" |
|
|
|
:value="item.value" |
|
|
|
> |
|
|
|
<el-select v-model="rusetform.isNameIntoSummary" placeholder="请选择"> |
|
|
|
<el-option v-for="item in isNameIntoSummary" :key="item.value" :label="item.label" :value="item.value"> |
|
|
|
</el-option> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="8"> |
|
|
|
<el-form-item label="进入小结"> |
|
|
|
<el-select |
|
|
|
v-model="rusetform.isResultIntoSummary" |
|
|
|
placeholder="请选择" |
|
|
|
> |
|
|
|
<el-option |
|
|
|
v-for="item in isResultIntoSummary" |
|
|
|
:key="item.value" |
|
|
|
:label="item.label" |
|
|
|
:value="item.value" |
|
|
|
> |
|
|
|
<el-select v-model="rusetform.isResultIntoSummary" placeholder="请选择"> |
|
|
|
<el-option v-for="item in isResultIntoSummary" :key="item.value" :label="item.label" :value="item.value"> |
|
|
|
</el-option> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="8"> |
|
|
|
<el-form-item label="结果状态"> |
|
|
|
<el-select |
|
|
|
v-model="rusetform.resultStatusId" |
|
|
|
placeholder="请选择" |
|
|
|
> |
|
|
|
<el-option |
|
|
|
v-for="item in resultStatusId" |
|
|
|
:key="item.id" |
|
|
|
:label="item.displayName" |
|
|
|
:value="item.id" |
|
|
|
> |
|
|
|
<el-select v-model="rusetform.resultStatusId" placeholder="请选择"> |
|
|
|
<el-option v-for="item in resultStatusId" :key="item.id" :label="item.displayName" :value="item.id"> |
|
|
|
</el-option> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
@ -518,35 +346,18 @@ |
|
|
|
</span> |
|
|
|
</el-dialog> |
|
|
|
<!-- 参考范围弹框 --> |
|
|
|
<el-dialog |
|
|
|
title="参考范围" |
|
|
|
:visible.sync="referencerangedialogVisible" |
|
|
|
width="80%" |
|
|
|
> |
|
|
|
<el-dialog title="参考范围" :visible.sync="referencerangedialogVisible" width="80%"> |
|
|
|
<el-row> |
|
|
|
<el-col :span="8"> |
|
|
|
<span>参考范围类型</span> |
|
|
|
<el-select |
|
|
|
v-model="referencerangevalue" |
|
|
|
filterable |
|
|
|
placeholder="请选择" |
|
|
|
@change="selecttype" |
|
|
|
> |
|
|
|
<el-option |
|
|
|
v-for="item in referencerangedata" |
|
|
|
:key="item.value" |
|
|
|
:label="item.label" |
|
|
|
:value="item.value" |
|
|
|
> |
|
|
|
<el-select v-model="referencerangevalue" filterable placeholder="请选择" @change="selecttype"> |
|
|
|
<el-option v-for="item in referencerangedata" :key="item.value" :label="item.label" :value="item.value"> |
|
|
|
</el-option> |
|
|
|
</el-select> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
<!-- //无参考范围 2223456--> |
|
|
|
<el-card |
|
|
|
v-if="referencerangevalue == 0" |
|
|
|
style="margin-top: 20px" |
|
|
|
></el-card> |
|
|
|
<el-card v-if="referencerangevalue == 0" style="margin-top: 20px"></el-card> |
|
|
|
<!-- 数字型参考范围 --> |
|
|
|
<div style="display: flex" v-if="referencerangevalue == 1"> |
|
|
|
<div style="width: 95%"> |
|
|
|
@ -554,26 +365,15 @@ |
|
|
|
<el-table :data="referencerangedata"> |
|
|
|
<el-table-column label="性别" prop="gender"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-select |
|
|
|
v-model="sexname[scope.row.displayName - 1]" |
|
|
|
placeholder="请选择" |
|
|
|
> |
|
|
|
<el-option |
|
|
|
v-for="item in sexid" |
|
|
|
:key="item.id" |
|
|
|
:label="item.displayName" |
|
|
|
:value="item.id" |
|
|
|
> |
|
|
|
<el-select v-model="sexname[scope.row.displayName - 1]" placeholder="请选择"> |
|
|
|
<el-option v-for="item in sexid" :key="item.id" :label="item.displayName" :value="item.id"> |
|
|
|
</el-option> |
|
|
|
</el-select> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="年龄范围"> |
|
|
|
<template slot-scope="item"> |
|
|
|
<el-input |
|
|
|
v-model="item.row.name" |
|
|
|
@blur="blurInput(item.row.id, 'name', item.row.name)" |
|
|
|
></el-input> |
|
|
|
<el-input v-model="item.row.name" @blur="blurInput(item.row.id, 'name', item.row.name)"></el-input> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
|
|
|
|
@ -583,8 +383,7 @@ |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="参考上限"> |
|
|
|
<template> <el-input></el-input> </template |
|
|
|
></el-table-column> |
|
|
|
<template> <el-input></el-input> </template></el-table-column> |
|
|
|
<el-table-column label="警告下限"></el-table-column> |
|
|
|
<el-table-column label="警告上限"></el-table-column> |
|
|
|
<el-table-column label="偏低诊断"></el-table-column> |
|
|
|
@ -595,13 +394,8 @@ |
|
|
|
<div style="margin-left: 10px; margin-top: 30px"> |
|
|
|
<el-button type="primary" @click="digitaladdion">添加</el-button> |
|
|
|
<div style="margin-top: 5px"> |
|
|
|
<el-button |
|
|
|
type="primary" |
|
|
|
size="mini" |
|
|
|
@click="diagnosticsettings" |
|
|
|
style="width: 70px; height: 50px" |
|
|
|
>诊断设置</el-button |
|
|
|
> |
|
|
|
<el-button type="primary" size="mini" @click="diagnosticsettings" |
|
|
|
style="width: 70px; height: 50px">诊断设置</el-button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
@ -609,25 +403,14 @@ |
|
|
|
<div v-if="referencerangevalue == 2"> |
|
|
|
<div style="margin: 20px 0; display: flex"> |
|
|
|
<div style="width: 90%"> |
|
|
|
<el-input |
|
|
|
type="textarea" |
|
|
|
placeholder="请输入内容" |
|
|
|
v-model="fssubdex" |
|
|
|
maxlength="300" |
|
|
|
show-word-limit |
|
|
|
style="height: 50px" |
|
|
|
> |
|
|
|
<el-input type="textarea" placeholder="请输入内容" v-model="fssubdex" maxlength="300" show-word-limit |
|
|
|
style="height: 50px"> |
|
|
|
</el-input> |
|
|
|
</div> |
|
|
|
<div style="width: 10%"> |
|
|
|
<div style="margin-top: 5px"> |
|
|
|
<el-button |
|
|
|
type="primary" |
|
|
|
size="mini" |
|
|
|
@click="diagnosticsettings" |
|
|
|
style="width: 70px; height: 50px; margin-left: 10px" |
|
|
|
>诊断设置</el-button |
|
|
|
> |
|
|
|
<el-button type="primary" size="mini" @click="diagnosticsettings" |
|
|
|
style="width: 70px; height: 50px; margin-left: 10px">诊断设置</el-button> |
|
|
|
</div> |
|
|
|
<!-- <div style="margin-top: 10px; margin-left: 10px"> |
|
|
|
<el-button type="primary" @click="adddiagnosis" |
|
|
|
@ -639,18 +422,12 @@ |
|
|
|
</div> |
|
|
|
<!-- 数字型参考范围 --> |
|
|
|
<span slot="footer" class="dialog-footer"> |
|
|
|
<el-button @click="referencerangedialogVisible = false" |
|
|
|
>取 消</el-button |
|
|
|
> |
|
|
|
<el-button @click="referencerangedialogVisible = false">取 消</el-button> |
|
|
|
<el-button type="primary" @click="determinetype">确 定</el-button> |
|
|
|
</span> |
|
|
|
</el-dialog> |
|
|
|
<!-- 项目结果模板弹框 --> |
|
|
|
<el-dialog |
|
|
|
title="结果模板" |
|
|
|
:visible.sync="projectdialogVisible" |
|
|
|
width="80%" |
|
|
|
> |
|
|
|
<el-dialog title="结果模板" :visible.sync="projectdialogVisible" width="80%"> |
|
|
|
<div style="display: flex"> |
|
|
|
<div style="width: 95%"> |
|
|
|
<el-table :data="projectdata"> |
|
|
|
@ -672,35 +449,23 @@ |
|
|
|
</div> |
|
|
|
<span slot="footer" class="dialog-footer"> |
|
|
|
<el-button @click="projectdialogVisible = false">取 消</el-button> |
|
|
|
<el-button type="primary" @click="projectdialogVisible = false" |
|
|
|
>确 定</el-button |
|
|
|
> |
|
|
|
<el-button type="primary" @click="projectdialogVisible = false">确 定</el-button> |
|
|
|
</span> |
|
|
|
</el-dialog> |
|
|
|
<!--诊断匹配弹框--> |
|
|
|
<el-dialog |
|
|
|
title="诊断匹配" |
|
|
|
:visible.sync="diagnosdialogVisible" |
|
|
|
width="80%" |
|
|
|
> |
|
|
|
<el-dialog title="诊断匹配" :visible.sync="diagnosdialogVisible" width="80%"> |
|
|
|
<div style="display: flex"> |
|
|
|
<div style="width: 95%"> |
|
|
|
<el-table :data="diagnosticdata"> |
|
|
|
<el-table-column label="编号" prop="id"></el-table-column> |
|
|
|
<el-table-column label="名称" prop="displayName"></el-table-column> |
|
|
|
<el-table-column |
|
|
|
label="创建者" |
|
|
|
prop="creatorName" |
|
|
|
></el-table-column> |
|
|
|
<el-table-column label="创建者" prop="creatorName"></el-table-column> |
|
|
|
<el-table-column label="创建时间" prop="creationTime"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
{{ scope.row.creationTime | dateFormat }} |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column |
|
|
|
label="修改者" |
|
|
|
prop="lastModifierName" |
|
|
|
></el-table-column> |
|
|
|
<el-table-column label="修改者" prop="lastModifierName"></el-table-column> |
|
|
|
<el-table-column label="修改时间" prop="lastModificationTime"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
{{ scope.row.lastModificationTime | dateFormat }} |
|
|
|
@ -714,9 +479,7 @@ |
|
|
|
</div> |
|
|
|
<span slot="footer" class="dialog-footer"> |
|
|
|
<el-button @click="diagnosdialogVisible = false">取 消</el-button> |
|
|
|
<el-button type="primary" @click="diagnosdialogVisible = false" |
|
|
|
>确 定</el-button |
|
|
|
> |
|
|
|
<el-button type="primary" @click="diagnosdialogVisible = false">确 定</el-button> |
|
|
|
</span> |
|
|
|
</el-dialog> |
|
|
|
<!-- 增加诊断弹框 --> |
|
|
|
@ -730,81 +493,43 @@ |
|
|
|
</el-col> |
|
|
|
<el-col :span="7" style="margin-left: 20px"> |
|
|
|
<el-form-item label="项目类别"> |
|
|
|
<el-cascader |
|
|
|
v-model="editdigoisceditingform.itemTypeId" |
|
|
|
:options="itemTypeId" |
|
|
|
:show-all-levels="false" |
|
|
|
:props="props" |
|
|
|
></el-cascader> |
|
|
|
<el-cascader v-model="editdigoisceditingform.itemTypeId" :options="itemTypeId" :show-all-levels="false" |
|
|
|
:props="props"></el-cascader> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="8"> |
|
|
|
<el-form-item label="建议名称" label-width="100px"> |
|
|
|
<el-input |
|
|
|
v-model="editdigoisceditingform.suggestionName" |
|
|
|
></el-input> |
|
|
|
<el-input v-model="editdigoisceditingform.suggestionName"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="8" style="margin-left: 4%"> |
|
|
|
<el-form-item label="是疾病"> |
|
|
|
<el-select |
|
|
|
v-model="editdigoisceditingform.isIll" |
|
|
|
placeholder="请选择" |
|
|
|
> |
|
|
|
<el-option |
|
|
|
v-for="item in isIll" |
|
|
|
:key="item.value" |
|
|
|
:label="item.label" |
|
|
|
:value="item.value" |
|
|
|
> |
|
|
|
<el-select v-model="editdigoisceditingform.isIll" placeholder="请选择"> |
|
|
|
<el-option v-for="item in isIll" :key="item.value" :label="item.label" :value="item.value"> |
|
|
|
</el-option> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="8"> |
|
|
|
<el-form-item label="总监模板"> |
|
|
|
<el-select |
|
|
|
v-model="editdigoisceditingform.isSummaryTemplate" |
|
|
|
placeholder="请选择" |
|
|
|
> |
|
|
|
<el-option |
|
|
|
v-for="item in isSummaryTemplate" |
|
|
|
:key="item.value" |
|
|
|
:label="item.label" |
|
|
|
:value="item.value" |
|
|
|
> |
|
|
|
<el-select v-model="editdigoisceditingform.isSummaryTemplate" placeholder="请选择"> |
|
|
|
<el-option v-for="item in isSummaryTemplate" :key="item.value" :label="item.label" :value="item.value"> |
|
|
|
</el-option> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="8"> |
|
|
|
<el-form-item label="适用性别"> |
|
|
|
<el-select |
|
|
|
v-model="editdigoisceditingform.forSexId" |
|
|
|
placeholder="请选择" |
|
|
|
> |
|
|
|
<el-option |
|
|
|
v-for="item in forSexId" |
|
|
|
:key="item.id" |
|
|
|
:label="item.displayName" |
|
|
|
:value="item.id" |
|
|
|
> |
|
|
|
<el-select v-model="editdigoisceditingform.forSexId" placeholder="请选择"> |
|
|
|
<el-option v-for="item in forSexId" :key="item.id" :label="item.displayName" :value="item.id"> |
|
|
|
</el-option> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="8"> |
|
|
|
<el-form-item label="诊断级别"> |
|
|
|
<el-select |
|
|
|
v-model="editdigoisceditingform.diagnosisLevelId" |
|
|
|
placeholder="请选择" |
|
|
|
> |
|
|
|
<el-option |
|
|
|
v-for="item in diagnosisLevelId" |
|
|
|
:key="item.id" |
|
|
|
:label="item.displayName" |
|
|
|
:value="item.id" |
|
|
|
> |
|
|
|
<el-select v-model="editdigoisceditingform.diagnosisLevelId" placeholder="请选择"> |
|
|
|
<el-option v-for="item in diagnosisLevelId" :key="item.id" :label="item.displayName" :value="item.id"> |
|
|
|
</el-option> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
@ -824,12 +549,7 @@ |
|
|
|
<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 v-for="item in itemTypeId" :key="item.id" :label="item.displayName" :value="item.id"> |
|
|
|
</el-option> |
|
|
|
</el-select> |
|
|
|
</el-col> |
|
|
|
@ -842,9 +562,7 @@ |
|
|
|
</div> |
|
|
|
<span slot="footer" class="dialog-footer"> |
|
|
|
<el-button @click="diagnostisbox = false">取 消</el-button> |
|
|
|
<el-button type="primary" @click="diagnostisbox = false" |
|
|
|
>确 定</el-button |
|
|
|
> |
|
|
|
<el-button type="primary" @click="diagnostisbox = false">确 定</el-button> |
|
|
|
</span> |
|
|
|
</el-dialog> |
|
|
|
|
|
|
|
@ -870,6 +588,10 @@ import { getapi, postapi, putapi, deletapi } from "@/api/api"; |
|
|
|
export default { |
|
|
|
data() { |
|
|
|
return { |
|
|
|
data: { |
|
|
|
customerOrgTree: [], //体检单位列表(不含【个人体检】单位) |
|
|
|
customerOrgTreeChooseId: '', //当前树节点选中的 单位ID |
|
|
|
}, |
|
|
|
value: "", |
|
|
|
diagnostisbox: false, //诊断设置弹框的方法 |
|
|
|
// tabelform: { |
|
|
|
@ -882,6 +604,7 @@ export default { |
|
|
|
value: "id", |
|
|
|
children: "treeChildren", |
|
|
|
}, //左侧树形结构需要的数据 |
|
|
|
|
|
|
|
editdigoisceditingform: { |
|
|
|
displayName: "", |
|
|
|
itemTypeId: "", |
|
|
|
@ -1136,11 +859,6 @@ export default { |
|
|
|
label: "否", |
|
|
|
}, |
|
|
|
], //总监模板 |
|
|
|
props: { |
|
|
|
label: "displayName", |
|
|
|
value: "id", |
|
|
|
children: "treeChildren", |
|
|
|
}, //左侧树形结构 |
|
|
|
newssdate: [ |
|
|
|
{ |
|
|
|
id: "1", |
|
|
|
@ -1160,11 +878,28 @@ export default { |
|
|
|
this.getlist(); |
|
|
|
this.getmedicalconclusionlist(); |
|
|
|
}, |
|
|
|
|
|
|
|
//挂载完成 |
|
|
|
mounted() { |
|
|
|
//获取体检单位列表树信息 |
|
|
|
this.getCustomerOrgTree(); |
|
|
|
|
|
|
|
this.rowDrop(); |
|
|
|
this.typeid(); |
|
|
|
}, |
|
|
|
|
|
|
|
methods: { |
|
|
|
|
|
|
|
//获取体检单位列表树信息 |
|
|
|
getCustomerOrgTree() { |
|
|
|
this.data.customerOrgTree = [{ |
|
|
|
displayName: "个人体检", // |
|
|
|
id: "00000000-0000-0000-0000-000000000000", // |
|
|
|
//treeChildren: [], |
|
|
|
}] |
|
|
|
//console.log('this.data.customerOrgTree',this.data.customerOrgTree) |
|
|
|
}, |
|
|
|
|
|
|
|
//参考范围确定类型 |
|
|
|
determinetype() { |
|
|
|
if (this.referencerangevalue == 2) { |
|
|
|
@ -1202,6 +937,7 @@ export default { |
|
|
|
} |
|
|
|
// |
|
|
|
}, |
|
|
|
|
|
|
|
treeclick(data) { |
|
|
|
getapi(`/api/app/item/in-item-type/${data.id}`).then((res) => { |
|
|
|
this.tableData = res.data; |
|
|
|
|