装病筛查列表

This commit is contained in:
shidongli 2023-10-19 11:49:12 +08:00
parent 5a25bbacea
commit 1ac46b8b81

View File

@ -1,6 +1,12 @@
<template> <template>
<div class="app-container"> <div class="app-container">
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch"> <el-form
:model="queryParams"
ref="queryForm"
size="small"
:inline="true"
v-show="showSearch"
>
<el-form-item label="姓名" prop="patientName"> <el-form-item label="姓名" prop="patientName">
<el-input <el-input
v-model="queryParams.patientName" v-model="queryParams.patientName"
@ -38,7 +44,11 @@
></el-date-picker> ></el-date-picker>
</el-form-item> </el-form-item>
<el-form-item label="预约项目" prop="status"> <el-form-item label="预约项目" prop="status">
<el-select clearable v-model="queryParams.projectId" placeholder="请选择"> <el-select
clearable
v-model="queryParams.projectId"
placeholder="请选择"
>
<el-option <el-option
v-for="item in optionsList" v-for="item in optionsList"
:key="item.projectId" :key="item.projectId"
@ -58,32 +68,52 @@
<!-- 根据权限方法进行禁用 disabled --> <!-- 根据权限方法进行禁用 disabled -->
</el-form-item> </el-form-item>
<el-form-item label="预约状态" prop="exceedStatus"> <el-form-item label="预约状态" prop="exceedStatus">
<el-select v-model="queryParams.exceedStatus" clearable style="width: 240px"> <el-select
v-model="queryParams.exceedStatus"
clearable
style="width: 240px"
>
<el-option label="生效中" value="0"></el-option> <el-option label="生效中" value="0"></el-option>
<el-option label="已过期" value="1"></el-option> <el-option label="已过期" value="1"></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="登记状态" prop="screeningStatus"> <el-form-item label="登记状态" prop="screeningStatus">
<el-select v-model="queryParams.registrationStatus" clearable style="width: 240px"> <el-select
v-model="queryParams.registrationStatus"
clearable
style="width: 240px"
>
<el-option label="全部" value></el-option> <el-option label="全部" value></el-option>
<el-option label="未登记" value="0"></el-option> <el-option label="未登记" value="0"></el-option>
<el-option label="已登记" value="1"></el-option> <el-option label="已登记" value="1"></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="筛查结果" prop="status"> <el-form-item label="筛查结果" prop="status">
<el-select v-model="queryParams.hasResult" clearable style="width: 240px"> <el-select
v-model="queryParams.hasResult"
clearable
style="width: 240px"
>
<el-option label="未生成" value="0"></el-option> <el-option label="未生成" value="0"></el-option>
<el-option label="已生成" value="1"></el-option> <el-option label="已生成" value="1"></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="筛查类型" prop="status"> <el-form-item label="筛查类型" prop="status">
<el-select v-model="queryParams.screeningType" clearable style="width: 240px"> <el-select
v-model="queryParams.screeningType"
clearable
style="width: 240px"
>
<el-option label="居民预约" value="1"></el-option> <el-option label="居民预约" value="1"></el-option>
<el-option label="医生推送" value="2"></el-option> <el-option label="医生推送" value="2"></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="诊断状态" prop="status"> <el-form-item label="诊断状态" prop="status">
<el-select v-model="queryParams.hasDiagnose" clearable style="width: 240px"> <el-select
v-model="queryParams.hasDiagnose"
clearable
style="width: 240px"
>
<el-option label="未诊断" value="0"></el-option> <el-option label="未诊断" value="0"></el-option>
<el-option label="已诊断" value="1"></el-option> <el-option label="已诊断" value="1"></el-option>
</el-select> </el-select>
@ -98,8 +128,16 @@
/> />
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button> <el-button
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button> type="primary"
icon="el-icon-search"
size="mini"
@click="handleQuery"
>搜索</el-button
>
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery"
>重置</el-button
>
</el-form-item> </el-form-item>
</el-form> </el-form>
@ -207,7 +245,12 @@
<!-- <div style="margin-right: 20px">-</div> --> <!-- <div style="margin-right: 20px">-</div> -->
</el-row> </el-row>
<el-table ref="multipleTable" @row-click="singleElection" v-loading="loading" :data="postList"> <el-table
ref="multipleTable"
@row-click="singleElection"
v-loading="loading"
:data="postList"
>
<!-- <el-table-column <!-- <el-table-column
type="selection" type="selection"
width="55"> width="55">
@ -241,9 +284,24 @@
></el-switch> ></el-switch>
</template>--> </template>-->
</el-table-column> </el-table-column>
<el-table-column label="身份证号" prop="identity" :show-overflow-tooltip="true" align="center" /> <el-table-column
<el-table-column label="预约项目" prop="projectName" align="center" width="160" /> label="身份证号"
<el-table-column label="预约机构" :show-overflow-tooltip="true" prop="hospitalName" align="center" /> prop="identity"
:show-overflow-tooltip="true"
align="center"
/>
<el-table-column
label="预约项目"
prop="projectName"
align="center"
width="160"
/>
<el-table-column
label="预约机构"
:show-overflow-tooltip="true"
prop="hospitalName"
align="center"
/>
<!-- <el-table-column label="慢病" width="180" align="center"> <!-- <el-table-column label="慢病" width="180" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<div style="display: flex;margin:0 auto"> <div style="display: flex;margin:0 auto">
@ -522,7 +580,11 @@
prop="pushDate" prop="pushDate"
:show-overflow-tooltip="true" :show-overflow-tooltip="true"
/> />
<el-table-column label="操作" align="center" class-name="small-padding fixed-width"> <el-table-column
label="操作"
align="center"
class-name="small-padding fixed-width"
>
<template slot-scope="scope"> <template slot-scope="scope">
<el-button <el-button
v-if="scope.row.hasDiagnose == 1" v-if="scope.row.hasDiagnose == 1"
@ -534,16 +596,23 @@
<el-button <el-button
size="mini" size="mini"
type="text" type="text"
v-if="role == 'sdCommon' && scope.row.hasDiagnose == 0" v-if="
@click="ydbb(scope.row)" role == 'sdCommon' &&
>写诊断</el-button> scope.row.screeningStatus < 2 &&
<!-- scope.row.screeningType == 1 只有等于居民预约的时候才会显示该按钮 1 == 居民预约 2 == 医生推送 --> scope.row.screeningType == 1
"
@click="yydj(scope.row)"
>登记</el-button
>
<el-button <el-button
size="mini" size="mini"
type="text" type="text"
v-if="role == 'sdCommon' && scope.row.screeningStatus < 2 && scope.row.screeningType == 1" v-if="role == 'sdCommon' && scope.row.hasDiagnose == 0"
@click="yydj(scope.row)" @click="ydbb(scope.row)"
>登记</el-button> >写诊断</el-button
>
<!-- scope.row.screeningType == 1 只有等于居民预约的时候才会显示该按钮 1 == 居民预约 2 == 医生推送 -->
<!-- <el-button size="mini" type="text" <!-- <el-button size="mini" type="text"
v-if="role == 'staff' && scope.row.manageStatus == 0" @click="nrsg(scope.row)">纳入专病管理</el-button>--> v-if="role == 'staff' && scope.row.manageStatus == 0" @click="nrsg(scope.row)">纳入专病管理</el-button>-->
</template> </template>
@ -568,8 +637,16 @@
:page-sizes="[15, 30, 45, 60]" :page-sizes="[15, 30, 45, 60]"
@pagination="getList" @pagination="getList"
/> />
<el-dialog :title="title" :visible.sync="ydbbopen" width="60%" append-to-body> <el-dialog
<div style="display: flex; justify-content: space-around" v-if="title == '糖尿病-眼底病变筛查'"> :title="title"
:visible.sync="ydbbopen"
width="60%"
append-to-body
>
<div
style="display: flex; justify-content: space-around"
v-if="title == '糖尿病-眼底病变筛查'"
>
<div> <div>
<el-upload <el-upload
ref="upload" ref="upload"
@ -590,7 +667,10 @@
<div slot="file" slot-scope="{ file }"> <div slot="file" slot-scope="{ file }">
<img class="el-upload-list__item-thumbnail" :src="file.url" alt /> <img class="el-upload-list__item-thumbnail" :src="file.url" alt />
<span class="el-upload-list__item-actions"> <span class="el-upload-list__item-actions">
<span class="el-upload-list__item-preview" @click="handlePictureCardPreview(file)"> <span
class="el-upload-list__item-preview"
@click="handlePictureCardPreview(file)"
>
<i class="el-icon-zoom-in"></i> <i class="el-icon-zoom-in"></i>
</span> </span>
<!-- <span v-if="!disabled" class="el-upload-list__item-delete" @click="handleDownload(file)"> <!-- <span v-if="!disabled" class="el-upload-list__item-delete" @click="handleDownload(file)">
@ -625,7 +705,10 @@
<div slot="file" slot-scope="{ file }"> <div slot="file" slot-scope="{ file }">
<img class="el-upload-list__item-thumbnail" :src="file.url" alt /> <img class="el-upload-list__item-thumbnail" :src="file.url" alt />
<span class="el-upload-list__item-actions"> <span class="el-upload-list__item-actions">
<span class="el-upload-list__item-preview" @click="handlePictureCardPreview(file)"> <span
class="el-upload-list__item-preview"
@click="handlePictureCardPreview(file)"
>
<i class="el-icon-zoom-in"></i> <i class="el-icon-zoom-in"></i>
</span> </span>
<!-- <span v-if="!disabled" class="el-upload-list__item-delete" @click="handleDownload(file)"> <!-- <span v-if="!disabled" class="el-upload-list__item-delete" @click="handleDownload(file)">
@ -669,7 +752,10 @@
<div slot="file" slot-scope="{ file }"> <div slot="file" slot-scope="{ file }">
<img class="el-upload-list__item-thumbnail" :src="file.url" alt /> <img class="el-upload-list__item-thumbnail" :src="file.url" alt />
<span class="el-upload-list__item-actions"> <span class="el-upload-list__item-actions">
<span class="el-upload-list__item-preview" @click="handlePictureCardPreview(file)"> <span
class="el-upload-list__item-preview"
@click="handlePictureCardPreview(file)"
>
<i class="el-icon-zoom-in"></i> <i class="el-icon-zoom-in"></i>
</span> </span>
<!-- <span v-if="!disabled" class="el-upload-list__item-delete" @click="handleDownload(file)"> <!-- <span v-if="!disabled" class="el-upload-list__item-delete" @click="handleDownload(file)">
@ -710,17 +796,31 @@
} }
" "
> >
<el-button size="small" type="primary" v-if="isflas == true">点击上传</el-button> <el-button size="small" type="primary" v-if="isflas == true"
<div slot="tip" class="el-upload__tip" v-if="isflas == true">只能上传docx/doc文件</div> >点击上传</el-button
>
<div slot="tip" class="el-upload__tip" v-if="isflas == true">
只能上传docx/doc文件
</div>
</el-upload> </el-upload>
<el-form-item label="诊断结果" prop="desc" style="margin-top:60px" v-if="isflas == true"> <el-form-item
label="诊断结果"
prop="desc"
style="margin-top: 60px"
v-if="isflas == true"
>
<el-input type="textarea" v-model="ruleForm.descdxxb"></el-input> <el-input type="textarea" v-model="ruleForm.descdxxb"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="诊断结果" prop="desc" style="margin-top:60px" else> <el-form-item
label="诊断结果"
prop="desc"
style="margin-top: 60px"
v-else
>
<el-input type="textarea" v-model="ydmb.diagnosticResult"></el-input> <el-input type="textarea" v-model="ydmb.diagnosticResult"></el-input>
</el-form-item> </el-form-item>
</el-form> </el-form>
<ul style="list-style: none;" ref="LDQZOne" v-show="false"></ul> <ul style="list-style: none" ref="LDQZOne" v-show="false"></ul>
<el-form <el-form
:model="ruleForm" :model="ruleForm"
:rules="rules" :rules="rules"
@ -729,7 +829,7 @@
class="demo-ruleForm" class="demo-ruleForm"
v-if="title == '糖尿病-眼底病变筛查'" v-if="title == '糖尿病-眼底病变筛查'"
> >
<el-form-item label="眼底诊断结果" prop="desc"> <el-form-item label="眼底诊断结果" prop="descyd">
<el-input type="textarea" v-model="ruleForm.descyd"></el-input> <el-input type="textarea" v-model="ruleForm.descyd"></el-input>
</el-form-item> </el-form-item>
</el-form> </el-form>
@ -757,9 +857,9 @@
> >
<h3 style="color: #4192f4">健康教育处方</h3> <h3 style="color: #4192f4">健康教育处方</h3>
</td> </td>
<td <td style="border: 1px dashed #a1a1a1; width: 900px">
style="border: 1px dashed #a1a1a1; width: 900px" {{ prescriptionData.healthEducation }}
>{{ prescriptionData.healthEducation }}</td> </td>
</tr> </tr>
<tr> <tr>
<td <td
@ -773,7 +873,9 @@
> >
<h3 style="color: #4192f4">用药调整处方</h3> <h3 style="color: #4192f4">用药调整处方</h3>
</td> </td>
<td style="border: 1px dashed #a1a1a1; width: 900px">{{ prescriptionData.nutritional }}</td> <td style="border: 1px dashed #a1a1a1; width: 900px">
{{ prescriptionData.nutritional }}
</td>
</tr> </tr>
<tr> <tr>
<td <td
@ -787,7 +889,9 @@
> >
<h3 style="color: #4192f4">运动治疗处方</h3> <h3 style="color: #4192f4">运动治疗处方</h3>
</td> </td>
<td style="border: 1px dashed #a1a1a1; width: 900px">{{ prescriptionData.exercise }}</td> <td style="border: 1px dashed #a1a1a1; width: 900px">
{{ prescriptionData.exercise }}
</td>
</tr> </tr>
<tr> <tr>
<td <td
@ -801,12 +905,21 @@
> >
<h3 style="color: #4192f4">营养治疗处方</h3> <h3 style="color: #4192f4">营养治疗处方</h3>
</td> </td>
<td style="border: 1px dashed #a1a1a1; width: 900px">{{ prescriptionData.nutritional }}</td> <td style="border: 1px dashed #a1a1a1; width: 900px">
{{ prescriptionData.nutritional }}
</td>
</tr> </tr>
</table> </table>
</div> </div>
<el-form :inline="true" ref="myManagemenForm" :model="zwglForm" v-if="title == '自我管理'"> <el-form
<div style="border: 1px solid #dcdfe6; padding: 10px; margin-bottom: 20px"> :inline="true"
ref="myManagemenForm"
:model="zwglForm"
v-if="title == '自我管理'"
>
<div
style="border: 1px solid #dcdfe6; padding: 10px; margin-bottom: 20px"
>
<div <div
style=" style="
display: flex; display: flex;
@ -952,7 +1065,11 @@
<el-form-item label="吸烟:"> <el-form-item label="吸烟:">
<div style="display: flex; align-items: center"> <div style="display: flex; align-items: center">
<div> <div>
<el-input disabled style="width: 150px" v-model="boxlook.smoking"></el-input> <el-input
disabled
style="width: 150px"
v-model="boxlook.smoking"
></el-input>
</div> </div>
<div style="margin-left: 10px">()</div> <div style="margin-left: 10px">()</div>
</div> </div>
@ -960,7 +1077,11 @@
<el-form-item label="饮酒:"> <el-form-item label="饮酒:">
<div style="display: flex; align-items: center"> <div style="display: flex; align-items: center">
<div> <div>
<el-input disabled style="width: 150px" v-model="boxlook.drinking"></el-input> <el-input
disabled
style="width: 150px"
v-model="boxlook.drinking"
></el-input>
</div> </div>
<div style="margin-left: 10px">(/)</div> <div style="margin-left: 10px">(/)</div>
</div> </div>
@ -987,15 +1108,15 @@
justify-content: center; justify-content: center;
font-size: 18px; font-size: 18px;
" "
>最新更新日期{{ boxlook.manageDate }}</div> >
最新更新日期{{ boxlook.manageDate }}
</div>
<el-divider></el-divider> <el-divider></el-divider>
<div> <div>
<div style="padding: 10px"> <div style="padding: 10px">
<span style="color: #8495ff">早餐:</span> <span style="color: #8495ff">早餐:</span>
<span style="margin-left: 20px"> <span style="margin-left: 20px">
{{ {{ boxlook.breakfastMain }}
boxlook.breakfastMain
}}
</span> </span>
</div> </div>
<div style="padding: 10px"> <div style="padding: 10px">
@ -1034,7 +1155,9 @@
justify-content: center; justify-content: center;
font-size: 18px; font-size: 18px;
" "
>最新更新日期{{ boxlook.manageDate }}</div> >
最新更新日期{{ boxlook.manageDate }}
</div>
<el-divider></el-divider> <el-divider></el-divider>
<div style="display: flex; justify-content: start"> <div style="display: flex; justify-content: start">
<div <div
@ -1044,25 +1167,45 @@
!boxlook.dailyExerciseWay3 !boxlook.dailyExerciseWay3
" "
> >
<div style="color: #8495ff; font-size: 20px">{{ boxlook.dailyExerciseWay1 }}</div> <div style="color: #8495ff; font-size: 20px">
<div {{ boxlook.dailyExerciseWay1 }}
style="margin-top: 40px; margin-bottom: 40px; font-size: 14px"
>运动时间{{ boxlook.dailyExerciseStart1 }}</div>
<div style="font-size: 17px">运动时长{{ boxlook.dailyExerciseDuration1 }}分钟</div>
</div> </div>
<div v-if="boxlook.dailyExerciseWay2 && !boxlook.dailyExerciseWay3">
<div style="color: #8495ff; font-size: 20px">{{ boxlook.dailyExerciseWay2 }}</div>
<div <div
style="margin-top: 40px; margin-bottom: 40px; font-size: 14px" style="margin-top: 40px; margin-bottom: 40px; font-size: 14px"
>运动时间{{ boxlook.dailyExerciseStart2 }}</div> >
<div style="font-size: 17px">运动时长{{ boxlook.dailyExerciseDuration2 }}分钟</div> 运动时间{{ boxlook.dailyExerciseStart1 }}
</div>
<div style="font-size: 17px">
运动时长{{ boxlook.dailyExerciseDuration1 }}分钟
</div>
</div>
<div
v-if="boxlook.dailyExerciseWay2 && !boxlook.dailyExerciseWay3"
>
<div style="color: #8495ff; font-size: 20px">
{{ boxlook.dailyExerciseWay2 }}
</div>
<div
style="margin-top: 40px; margin-bottom: 40px; font-size: 14px"
>
运动时间{{ boxlook.dailyExerciseStart2 }}
</div>
<div style="font-size: 17px">
运动时长{{ boxlook.dailyExerciseDuration2 }}分钟
</div>
</div> </div>
<div v-if="boxlook.dailyExerciseWay3"> <div v-if="boxlook.dailyExerciseWay3">
<div style="color: #8495ff; font-size: 20px">{{ boxlook.dailyExerciseWay3 }}</div> <div style="color: #8495ff; font-size: 20px">
{{ boxlook.dailyExerciseWay3 }}
</div>
<div <div
style="margin-top: 40px; margin-bottom: 40px; font-size: 14px" style="margin-top: 40px; margin-bottom: 40px; font-size: 14px"
>运动时间{{ boxlook.dailyExerciseStart3 }}</div> >
<div style="font-size: 17px">运动时长{{ boxlook.dailyExerciseDuration3 }}分钟</div> 运动时间{{ boxlook.dailyExerciseStart3 }}
</div>
<div style="font-size: 17px">
运动时长{{ boxlook.dailyExerciseDuration3 }}分钟
</div>
</div> </div>
</div> </div>
</div> </div>
@ -1084,10 +1227,14 @@
justify-content: center; justify-content: center;
font-size: 18px; font-size: 18px;
" "
>最新更新日期{{ boxlook.manageDate }}</div> >
最新更新日期{{ boxlook.manageDate }}
</div>
<el-divider></el-divider> <el-divider></el-divider>
<div style="color: #8495ff">{{ yyArrData.drugName }}</div> <div style="color: #8495ff">{{ yyArrData.drugName }}</div>
<div style="margin-top: 20px; margin-bottom: 20px">剂量{{ yyArrData.drugSpec }}</div> <div style="margin-top: 20px; margin-bottom: 20px">
剂量{{ yyArrData.drugSpec }}
</div>
<div>频次{{ yyArrData.drugFreq }}</div> <div>频次{{ yyArrData.drugFreq }}</div>
<el-divider></el-divider> <el-divider></el-divider>
@ -1099,7 +1246,8 @@
v-for="(item, index) in complianceList" v-for="(item, index) in complianceList"
:key="index" :key="index"
:label="item.value" :label="item.value"
>{{ item.label }}</el-radio> >{{ item.label }}</el-radio
>
</el-radio-group> </el-radio-group>
</el-form-item> </el-form-item>
</el-row> </el-row>
@ -1111,14 +1259,17 @@
v-for="(item, index) in adrList" v-for="(item, index) in adrList"
:key="index" :key="index"
:label="item.value" :label="item.value"
>{{ item.label }}</el-radio> >{{ item.label }}</el-radio
>
</el-radio-group> </el-radio-group>
</el-form-item> </el-form-item>
</div> </div>
</div> </div>
</el-form> </el-form>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<el-button type="primary" @click="saveallisflas" v-if="isflas == false"> </el-button> <el-button type="primary" @click="saveallisflas" v-if="isflas == false"
> </el-button
>
<el-button type="primary" @click="saveall" v-else> </el-button> <el-button type="primary" @click="saveall" v-else> </el-button>
<el-button @click="ydbbopen = false"> </el-button> <el-button @click="ydbbopen = false"> </el-button>
@ -1153,7 +1304,10 @@
</div> </div>
<el-form style="padding-left: 200px"> <el-form style="padding-left: 200px">
<el-form-item label="诊断结果" prop="desc"> <el-form-item label="诊断结果" prop="desc">
<el-input type="textarea" v-model="ydmb.diagnosticResult"></el-input> <el-input
type="textarea"
v-model="ydmb.diagnosticResult"
></el-input>
</el-form-item> </el-form-item>
</el-form> </el-form>
</div> </div>
@ -1184,7 +1338,9 @@
margin-bottom: 20px; margin-bottom: 20px;
margin-left: 40px; margin-left: 40px;
" "
>左眼图片</div> >
左眼图片
</div>
</div> </div>
</div> </div>
<div> <div>
@ -1192,12 +1348,19 @@
:src="urlimg + attachmentTwo" :src="urlimg + attachmentTwo"
style="width: 120px; height: 130px; margin-left: 10px" style="width: 120px; height: 130px; margin-left: 10px"
></el-image> ></el-image>
<div style="margin-top: 20px; margin-bottom: 20px; margin-left: 40px">右眼图片</div> <div
style="margin-top: 20px; margin-bottom: 20px; margin-left: 40px"
>
右眼图片
</div>
</div> </div>
</div> </div>
<el-form style="padding-left: 200px"> <el-form style="padding-left: 200px">
<el-form-item label="诊断结果" prop="desc"> <el-form-item label="诊断结果" prop="desc">
<el-input type="textarea" v-model="ydmb.diagnosticResult"></el-input> <el-input
type="textarea"
v-model="ydmb.diagnosticResult"
></el-input>
</el-form-item> </el-form-item>
</el-form> </el-form>
</div> </div>
@ -1214,41 +1377,48 @@
<!-- <ping-gu :rowData="query"></ping-gu> --> <!-- <ping-gu :rowData="query"></ping-gu> -->
<div v-for="(item, inxe) in gw" :key="inxe" style="margin-top: 10px"> <div v-for="(item, inxe) in gw" :key="inxe" style="margin-top: 10px">
<div style="display: flex"> <div style="display: flex">
<h3 style="margin-right: 10px; min-width: 20px; line-height: 7px">{{ item.id }}</h3> <h3 style="margin-right: 10px; min-width: 20px; line-height: 7px">
{{ item.id }}
</h3>
<div v-if="item.id < 12"> <div v-if="item.id < 12">
<el-button <el-button
type="success" type="success"
style="background: #ebf9f9; color: #18bebe; border: #18bebe" style="background: #ebf9f9; color: #18bebe; border: #18bebe"
>{{ item.assessItem }}</el-button> >{{ item.assessItem }}</el-button
>
</div> </div>
<div v-if="item.id >= 12 && item.id < 17"> <div v-if="item.id >= 12 && item.id < 17">
<el-button <el-button
type="success" type="success"
style="background: #fff9eb; color: #fadd14" style="background: #fff9eb; color: #fadd14"
>{{ item.assessItem }}</el-button> >{{ item.assessItem }}</el-button
>
</div> </div>
<div v-if="item.id >= 17 && item.id < 23"> <div v-if="item.id >= 17 && item.id < 23">
<el-button <el-button
type="success" type="success"
style="background: #ebf9f9; color: #18bebe; border: #18bebe" style="background: #ebf9f9; color: #18bebe; border: #18bebe"
>{{ item.assessItem }}</el-button> >{{ item.assessItem }}</el-button
>
</div> </div>
<div v-if="item.id >= 23 && item.id < 31"> <div v-if="item.id >= 23 && item.id < 31">
<el-button <el-button
type="success" type="success"
style="background: #fff2eb; color: #eb5e12; border: #18bebe" style="background: #fff2eb; color: #eb5e12; border: #18bebe"
>{{ item.assessItem }}</el-button> >{{ item.assessItem }}</el-button
>
</div> </div>
<div v-if="item.id >= 31"> <div v-if="item.id >= 31">
<el-button <el-button
type="success" type="success"
style="background: #ffebff; color: #c714fa; border: #c714fa" style="background: #ffebff; color: #c714fa; border: #c714fa"
>{{ item.assessItem }}</el-button> >{{ item.assessItem }}</el-button
>
</div> </div>
<div <div style="font-weight: 600; margin-left: 20px; line-height: 29px">
style="font-weight: 600; margin-left: 20px; line-height: 29px" {{ item.assessContent }}
>{{ item.assessContent }}</div> </div>
</div> </div>
<!-- <div <!-- <div
v-if="item.pageTag == 0 && item.assessResult.indexOf('是;否') != -1" v-if="item.pageTag == 0 && item.assessResult.indexOf('是;否') != -1"
@ -1267,14 +1437,22 @@
v-for="(item, index2) in item.assessResult.split(';')" v-for="(item, index2) in item.assessResult.split(';')"
:key="index2" :key="index2"
:label="index2 + 1" :label="index2 + 1"
>{{ item }}</el-radio> >{{ item }}</el-radio
>
</el-radio-group> </el-radio-group>
</div> </div>
<div v-if="item.pageTag == 1 && item.editable == 1"> <div v-if="item.pageTag == 1 && item.editable == 1">
<el-input style="width: 300px; margin-top: 10px" v-model="item.result"></el-input> <el-input
style="width: 300px; margin-top: 10px"
v-model="item.result"
></el-input>
</div> </div>
<div v-if="item.pageTag == 1 && item.editable == 0"> <div v-if="item.pageTag == 1 && item.editable == 0">
<el-input style="width: 300px; margin-top: 10px" disabled v-model="item.result"></el-input> <el-input
style="width: 300px; margin-top: 10px"
disabled
v-model="item.result"
></el-input>
</div> </div>
<div <div
style=" style="
@ -1284,7 +1462,9 @@
line-height: 30px; line-height: 30px;
margin-top: 20px; margin-top: 20px;
" "
>无最新消息请参考健康档案</div> >
无最新消息请参考健康档案
</div>
<el-divider></el-divider> <el-divider></el-divider>
</div> </div>
<table <table
@ -1322,10 +1502,23 @@
background: '#eef1f6', background: '#eef1f6',
}" }"
> >
<el-table-column property="date" label="其他危险因素和病史" width="190"></el-table-column> <el-table-column
<el-table-column property="name" label="1级高血压"></el-table-column> property="date"
<el-table-column property="name2" label="2级高血压"></el-table-column> label="其他危险因素和病史"
<el-table-column property="name3" label="3级高血压"></el-table-column> width="190"
></el-table-column>
<el-table-column
property="name"
label="1级高血压"
></el-table-column>
<el-table-column
property="name2"
label="2级高血压"
></el-table-column>
<el-table-column
property="name3"
label="3级高血压"
></el-table-column>
</el-table> </el-table>
<div <div
style=" style="
@ -1345,7 +1538,11 @@
background: '#eef1f6', background: '#eef1f6',
}" }"
> >
<el-table-column width="150" property="date" label="危险分层"></el-table-column> <el-table-column
width="150"
property="date"
label="危险分层"
></el-table-column>
<el-table-column <el-table-column
property="name" property="name"
label="TC:5.2~6.2mmol/L(200~ 240mg/dI)或LDL-C:3.4~4.1mmol/L(130~ 160mg/dI)" label="TC:5.2~6.2mmol/L(200~ 240mg/dI)或LDL-C:3.4~4.1mmol/L(130~ 160mg/dI)"
@ -1376,8 +1573,15 @@
background: '#eef1f6', background: '#eef1f6',
}" }"
> >
<el-table-column width="100" property="date" label="分层"></el-table-column> <el-table-column
<el-table-column property="name" label="主要内容"></el-table-column> width="100"
property="date"
label="分层"
></el-table-column>
<el-table-column
property="name"
label="主要内容"
></el-table-column>
</el-table> </el-table>
<div <div
@ -1398,15 +1602,30 @@
background: '#eef1f6', background: '#eef1f6',
}" }"
> >
<el-table-column width="150" property="date" label="危险因素个数"></el-table-column> <el-table-column
<el-table-column property="name" label="3.1≤TC<4.1(或)1.8≤LDL-C<2.6"></el-table-column> width="150"
<el-table-column property="name2" label="4.1≤TC<5.2(或)2.6≤LDL-C<3.4"></el-table-column> property="date"
<el-table-column property="name3" label="5.2≤TC<7.2(或)3.4≤LDL-C<4.9"></el-table-column> label="危险因素个数"
></el-table-column>
<el-table-column
property="name"
label="3.1≤TC<4.1(或)1.8≤LDL-C<2.6"
></el-table-column>
<el-table-column
property="name2"
label="4.1≤TC<5.2(或)2.6≤LDL-C<3.4"
></el-table-column>
<el-table-column
property="name3"
label="5.2≤TC<7.2(或)3.4≤LDL-C<4.9"
></el-table-column>
</el-table> </el-table>
</div> </div>
</div> </div>
</div> </div>
<el-button round type="primary" slot="reference">分层规则</el-button> <el-button round type="primary" slot="reference"
>分层规则</el-button
>
</el-popover> </el-popover>
</div> </div>
<div style="margin-left: 50px"> <div style="margin-left: 50px">
@ -1415,7 +1634,8 @@
@click="zdfc" @click="zdfc"
v-loading.fullscreen.lock="fullscreenLoading" v-loading.fullscreen.lock="fullscreenLoading"
element-loading-text="加载中" element-loading-text="加载中"
>自动分层</el-button> >自动分层</el-button
>
</div> </div>
</div> </div>
</td> </td>
@ -1493,7 +1713,9 @@
<el-table-column fixed="right" label="操作" width="100"> <el-table-column fixed="right" label="操作" width="100">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button @click="handleClick(scope.row)" type="text" size="small">查看</el-button> <el-button @click="handleClick(scope.row)" type="text" size="small"
>查看</el-button
>
<el-button type="text" size="small">编辑</el-button> <el-button type="text" size="small">编辑</el-button>
</template> </template>
</el-table-column> </el-table-column>
@ -1648,7 +1870,10 @@
srcList: [], srcList: [],
diableddpl: true, diableddpl: true,
diabledxs: true, diabledxs: true,
ruleForm: {}, ruleForm: {
descyd: '',
descdxxb:'',
},
gw: null, gw: null,
postList: [], postList: [],
fileList: [], fileList: [],
@ -1959,6 +2184,7 @@
}, },
saveall() { saveall() {
if (this.title == "糖尿病-眼底病变筛查") { if (this.title == "糖尿病-眼底病变筛查") {
projectRecordypdata({ projectRecordypdata({
attachment: this.attachmentzy, attachment: this.attachmentzy,
@ -1968,8 +2194,12 @@
registerId: this.registerId, registerId: this.registerId,
diagnosticResult: this.ruleForm.descyd diagnosticResult: this.ruleForm.descyd
}).then(res => { }).then(res => {
console.log(res)
this.$modal.msgError(res.msg);
this.$modal.msgSuccess("保存成功"); this.$modal.msgSuccess("保存成功");
this.ydbbopen = false; this.ydbbopen = false;
this.resetQuery();
}); });
} }
if (this.title == "血小板筛查") { if (this.title == "血小板筛查") {
@ -1980,8 +2210,11 @@
diagnosticResult: this.ruleForm.descdxxb, diagnosticResult: this.ruleForm.descdxxb,
screeningId: this.screeningId screeningId: this.screeningId
}).then(res => { }).then(res => {
console.log(res)
this.$modal.msgSuccess("保存成功"); this.$modal.msgSuccess("保存成功");
this.ydbbopen = false; this.ydbbopen = false;
this.resetQuery();
}); });
} }
if (this.title == "阿尔兹海默症筛查") { if (this.title == "阿尔兹海默症筛查") {
@ -1993,9 +2226,10 @@
}).then(res => { }).then(res => {
this.$modal.msgSuccess("保存成功"); this.$modal.msgSuccess("保存成功");
this.ydbbopen = false; this.ydbbopen = false;
this.resetQuery();
}); });
} }
this.resetQuery();
// if(this.title==''){ // if(this.title==''){
// projectRecordypdata({attachment:this.attachmentdpl,recordId:this.iddm,diagnosticResult:this.ruleForm.descdpl,screeningId:this.screeningId}).then((res)=>{ // projectRecordypdata({attachment:this.attachmentdpl,recordId:this.iddm,diagnosticResult:this.ruleForm.descdpl,screeningId:this.screeningId}).then((res)=>{
// this.$modal.msgSuccess(""); // this.$modal.msgSuccess("");
@ -2140,6 +2374,8 @@
this.title = "血小板筛查"; this.title = "血小板筛查";
screening(item.screeningId).then(res => { screening(item.screeningId).then(res => {
this.ydmb = res.data; this.ydmb = res.data;
this.ruleForm.descdxxb = this.ydmb.diagnosticResult
// this.srcList = this.urlimg + res.data[0].attachment; // this.srcList = this.urlimg + res.data[0].attachment;
if (res.data.attachment) { if (res.data.attachment) {
this.attachmentxxb = res.data.attachment; this.attachmentxxb = res.data.attachment;