Browse Source

患者档案添加新增诊疗档案,诊疗档案url携带用户信息默认显示新增弹窗,名族受教育程度非必填

new-ays
liuzhipeng 3 months ago
parent
commit
298321dc37
  1. 16
      acupuncture-前台/src/views/medicalFile/index.vue
  2. 19
      acupuncture-前台/src/views/patientFile/index.vue
  3. 2
      package-lock.json

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

@ -478,7 +478,7 @@
> >
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
<el-form-item label="民族" prop="ethnicity"> <el-form-item label="民族" prop="">
<el-select v-model="form.ethnicity" placeholder="请选择" filterable> <el-select v-model="form.ethnicity" placeholder="请选择" filterable>
<el-option <el-option
v-for="item in ethnicityList" v-for="item in ethnicityList"
@ -489,7 +489,7 @@
</el-option> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="受教育程度" prop="educationYears"> <el-form-item label="受教育程度" prop="">
<el-select <el-select
v-model="form.educationYears" v-model="form.educationYears"
placeholder="请选择" placeholder="请选择"
@ -954,8 +954,18 @@ export default {
}; };
}, },
created() { created() {
// urlidCard
let idCard = this.$route.query.idCard; let idCard = this.$route.query.idCard;
this.queryParams.param.keywords = idCard || ""; this.queryParams.param.keywords = idCard;
let patientInfo;
if (this.$route.query.patientInfo) {
this.form = JSON.parse(this.$route.query.patientInfo);
delete this.form.id;
this.form.visitType = 0; // /
this.form.status = 0; //
this.open = true;
}
this.getList(); this.getList();
this.userInfo = JSON.parse(localStorage.getItem("user")); this.userInfo = JSON.parse(localStorage.getItem("user"));
// this.getFollowupQuery(); // this.getFollowupQuery();

19
acupuncture-前台/src/views/patientFile/index.vue

@ -239,7 +239,7 @@
align="center" align="center"
prop="source" prop="source"
show-overflow-tooltip show-overflow-tooltip
min-width="100" min-width="80"
> >
<template slot-scope="scope"> <template slot-scope="scope">
<span v-if="scope.row.source == 0">筛查</span> <span v-if="scope.row.source == 0">筛查</span>
@ -247,7 +247,7 @@
<span v-if="scope.row.source == 2">HIS</span> <span v-if="scope.row.source == 2">HIS</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column fixed="right" label="操作" align="center" width="150"> <el-table-column fixed="right" label="操作" align="center" width="200">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button <el-button
size="mini" size="mini"
@ -277,6 +277,13 @@
@click="handleArchives(scope.row)" @click="handleArchives(scope.row)"
>诊疗档案</el-button >诊疗档案</el-button
> >
<el-button
size="mini"
type="text"
icon="el-icon-plus"
@click="handleArchivesAdd(scope.row)"
>新增诊疗档案
</el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@ -817,7 +824,13 @@ export default {
/** 诊疗档案 */ /** 诊疗档案 */
handleArchives(row) { handleArchives(row) {
this.$router.push({ this.$router.push({
path: `/medicalIndex?idCard=${row.idCard}`, path: `/medicalIndex?idCard=${row.idCard || ""}`,
});
},
/** 新增诊疗档案 */
handleArchivesAdd(row) {
this.$router.push({
path: `/medicalIndex?patientInfo=${JSON.stringify(row)}`,
}); });
}, },
/** 提交按钮 */ /** 提交按钮 */

2
package-lock.json

@ -1,5 +1,5 @@
{ {
"name": "针灸", "name": "acupuncture",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": {} "packages": {}

Loading…
Cancel
Save