Browse Source

诊疗档案列表队列信息放到档案详情里面

newMaster
liuzhipeng 3 months ago
parent
commit
32f961fd16
  1. 38
      acupuncture-前台/src/views/medicalFile/details.vue
  2. 26
      acupuncture-前台/src/views/medicalFile/index.vue

38
acupuncture-前台/src/views/medicalFile/details.vue

@ -452,6 +452,19 @@
</el-form-item>
<a name="随访队列"></a>
<div class="div-title2">随访队列</div>
<el-select
v-model="detailsForm['SFDL']"
multiple
placeholder="请选择"
>
<el-option
v-for="item in followupList"
:key="item.id"
:label="item.name"
:value="item.id"
>
</el-option>
</el-select>
</div>
</el-form>
<div slot="footer" class="dialog-footer">
@ -483,6 +496,7 @@
<script>
import { queryRecord, saveAidRecord } from "@/api/medicalFile";
import { followupQuery } from "@/api/followupFile";
//
import PHQ from "./components/posture/PHQ-9"; // PHQ-9
import epworth from "./components/posture/epworth"; // Epworth
@ -501,6 +515,8 @@ export default {
},
data() {
return {
followupList: [],
title: "", //
open: false, //
//
@ -968,6 +984,8 @@ export default {
ZLFA_ZJ_LF_QT: "", // --
ZLFA_ZJ_XW_QT: "", // --
ZLFA_YW_QT: "", // -
SFDL: [], //访
}, //
};
},
@ -976,8 +994,24 @@ export default {
let treatmentId = this.$route.query.treatmentId;
this.treatmentId = treatmentId;
this.handleDetails(treatmentId);
this.getFollowupQuery(); // 访
},
methods: {
// 访
getFollowupQuery() {
followupQuery({
pageNum: -1,
param: {
status: 1,
},
}).then((res) => {
this.followupList = res.data.list;
let commonQueue = JSON.parse(localStorage.getItem("commonQueue"));
commonQueue?.forEach((i) => {
this.followupList.unshift(i);
});
});
},
//
getScaleResult(_scaleResult, _code) {
this.detailsForm[_code] = String(_scaleResult);
@ -997,7 +1031,7 @@ export default {
queryRecord({
treatmentId: treatmentId,
}).then((res) => {
let arrList = ["JBXX_ZYZD", "PG_RTCF_TXLX", "PG_TZBS_JJTZ"];
let arrList = ["JBXX_ZYZD", "PG_RTCF_TXLX", "PG_TZBS_JJTZ", "SFDL"];
let recordValDict = res.data.recordValDict;
for (let key in recordValDict) {
if (arrList.includes(key)) {
@ -1067,6 +1101,8 @@ export default {
ZLFA_ZJ_LF_QT: "", // --
ZLFA_ZJ_XW_QT: "", // --
ZLFA_YW_QT: "", // -
SFDL: [], //访
};
},

26
acupuncture-前台/src/views/medicalFile/index.vue

@ -317,20 +317,6 @@
}}</span>
</template>
</el-table-column>
<el-table-column
fixed="right"
label="随访队列"
align="center"
prop=""
show-overflow-tooltip
width="200"
>
<template slot-scope="scope">
<div v-if="scope.row.queueVoList && scope.row.queueVoList.length">
{{ scope.row.queueVoList.map((i) => i.queueName).join(",") }}
</div>
</template>
</el-table-column>
<el-table-column
fixed="right"
label="操作"
@ -493,7 +479,7 @@
<el-input v-model="form.doctor" placeholder="请输入" />
</el-form-item>
<el-form-item label="随访队列" prop="queueIdList">
<!-- <el-form-item label="随访队列" prop="queueIdList">
<el-select v-model="form.queueIdList" multiple placeholder="请选择">
<el-option
v-for="item in followupList"
@ -503,7 +489,7 @@
>
</el-option>
</el-select>
</el-form-item>
</el-form-item> -->
</el-form>
<div slot="footer" class="dialog-footer">
<el-button type="primary" @click="submitForm"> </el-button>
@ -1187,7 +1173,7 @@ export default {
let idCard = this.$route.query.idCard;
this.queryParams.param.keywords = idCard || "";
this.getList();
this.getFollowupQuery();
// this.getFollowupQuery();
},
methods: {
// 访
@ -1311,11 +1297,7 @@ export default {
handleUpdate(row) {
this.open = true;
this.title = "修改诊疗档案";
let queueList = row.queueVoList?.map((item) => item.queueId) || [];
this.form = {
...JSON.parse(JSON.stringify(row)),
queueIdList: queueList,
};
this.form = JSON.parse(JSON.stringify(row));
},
/** 提交审核 */
handleExamine(row, _status) {

Loading…
Cancel
Save