Browse Source

doctor

master
pengjun 2 years ago
parent
commit
4aeb1157a2
  1. 14
      src/components/doctorCheck/CheckItemList.vue
  2. 4
      src/components/doctorCheck/CheckSumSug.vue
  3. 20
      src/components/sumDoctorCheck/SumPREdit.vue
  4. 3
      src/components/sumDoctorCheck/SumSug.vue

14
src/components/doctorCheck/CheckItemList.vue

@ -6,17 +6,11 @@
<el-table-column prop="result" label="结果" min-width="200"> <el-table-column prop="result" label="结果" min-width="200">
<template slot-scope="scope"> <template slot-scope="scope">
<div style="display: flex;"> <div style="display: flex;">
<el-input v-if="scope.row.lineModeFlag == '0'" style="width: 100%;" v-model="scope.row.result"
placeholder="请输入结果值" @select="handleSelect" :disabled="rowResultDisabled(scope.row)"
:data-lineModeFlag="scope.row.lineModeFlag" size="small"
@input="madeTooltips(scope.$index); computeFun(scope.$index)" v-bind:class="scope.row.class">
</el-input>
<el-input v-else style="width: 100%;" type="textarea" v-model="scope.row.result" placeholder="请输入结果值"
@select="handleSelect" :disabled="rowResultDisabled(scope.row)" :autosize="{ minRows: 2, maxRows: 10 }"
<el-autocomplete style="width: 100%;" type="textarea" v-model="scope.row.result" placeholder="请输入结果值"
:disabled="rowResultDisabled(scope.row)" :autosize="{ minRows: 1, maxRows: 10 }" :trigger-on-focus="false" :fetch-suggestions="querySearch"
:data-lineModeFlag="scope.row.lineModeFlag" @input="madeTooltips(scope.$index); computeFun(scope.$index)" :data-lineModeFlag="scope.row.lineModeFlag" @input="madeTooltips(scope.$index); computeFun(scope.$index)"
v-bind:class="scope.row.class"> v-bind:class="scope.row.class">
</el-input>
</el-autocomplete>
<el-button type="danger" style="min-width:23px;padding:2px;" icon="el-icon-caret-bottom" <el-button type="danger" style="min-width:23px;padding:2px;" icon="el-icon-caret-bottom"
@click="btnMoreResult(scope.row, scope.$index)" :disabled="rowResultDisabled(scope.row)" @click="btnMoreResult(scope.row, scope.$index)" :disabled="rowResultDisabled(scope.row)"
size="small"></el-button> size="small"></el-button>
@ -398,7 +392,7 @@ export default {
}, },
querySearch(queryString, cb) { querySearch(queryString, cb) {
var restaurants = deepCopy(this.restaurants); //[{ value: '' },{ value: '' }]
var restaurants = []; // deepCopy(this.restaurants) [{ value: '' },{ value: '' }]
restaurants.forEach((item) => { restaurants.forEach((item) => {
return (item.value = item.result); return (item.value = item.result);
}); });

4
src/components/doctorCheck/CheckSumSug.vue

@ -25,7 +25,7 @@
</el-table> </el-table>
</div> </div>
<div <div
:style="`display: flex;position: absolute; top:${window.pageHeight - sumHeight - 38}px;right:${sumWidth + 125}px;z-index: 3000;`">
:style="`display: flex;position: absolute; top:${window.pageHeight - sumHeight - 38}px;right:${sumWidth + 125}px;z-index: 1;`">
<div v-show="checkPagePriv(pagePriv.privs, '生成小结')"> <div v-show="checkPagePriv(pagePriv.privs, '生成小结')">
<el-button type="primary" class="btnClass" @click="btnMakeDiagnosis" <el-button type="primary" class="btnClass" @click="btnMakeDiagnosis"
:disabled="doctorBtnDisabled('btnMakeDiagnosis')">生成小结</el-button> :disabled="doctorBtnDisabled('btnMakeDiagnosis')">生成小结</el-button>
@ -47,7 +47,7 @@
</div> </div>
</div> </div>
<div <div
:style="`display: flex;position: absolute; top:${window.pageHeight - sumHeight - 38}px;right:125px;z-index: 3000;`">
:style="`display: flex;position: absolute; top:${window.pageHeight - sumHeight - 38}px;right:125px;z-index: 1;`">
<div v-show="checkPagePriv(pagePriv.privs, '新增建议')"> <div v-show="checkPagePriv(pagePriv.privs, '新增建议')">
<el-button type="primary" class="btnClass" @click="addSuggestion" <el-button type="primary" class="btnClass" @click="addSuggestion"
:disabled="doctorBtnDisabled('addSuggestion')">新增建议</el-button> :disabled="doctorBtnDisabled('addSuggestion')">新增建议</el-button>

20
src/components/sumDoctorCheck/SumPREdit.vue

@ -1,6 +1,14 @@
<template> <template>
<div style="display: flex;height:32px;margin-top: 2px;"> <div style="display: flex;height:32px;margin-top: 2px;">
<div style="display: flex; flex-wrap: wrap;height:32px; width: 100%"> <div style="display: flex; flex-wrap: wrap;height:32px; width: 100%">
<div>
<span class="query">体检结论</span>
<el-select v-model="dataTransOpts.tableS.patient_register.medicalConclusionId" filterable clearable
:disabled="dataTransOpts.tableS.patient_register.completeFlag == '3' ? true : false" placeholder="请选择" style="width: 80px"
size="small">
<el-option v-for="item in medicalConclusion" :key="item.id" :label="item.displayName" :value="item.id" />
</el-select>
</div>
<div> <div>
<span class="query">总检医生</span> <span class="query">总检医生</span>
<el-select v-model="dataTransOpts.tableS.patient_register.summaryDoctorId" filterable clearable <el-select v-model="dataTransOpts.tableS.patient_register.summaryDoctorId" filterable clearable
@ -48,7 +56,7 @@ export default {
data() { data() {
return { return {
users: [], users: [],
medicalConclusion:[],
}; };
}, },
@ -65,12 +73,22 @@ export default {
methods: { methods: {
// //
dictInit() { dictInit() {
//
getapi('/api/identity/users/getlist') getapi('/api/identity/users/getlist')
.then(res => { .then(res => {
if (res.code != -1) { if (res.code != -1) {
this.users = res.data.items this.users = res.data.items
} }
}) })
//
getapi('/api/app/medical-conclusion/in-type')
.then(res => {
if (res.code != -1) {
this.medicalConclusion = res.data.items
}
})
}, },
}, },

3
src/components/sumDoctorCheck/SumSug.vue

@ -327,7 +327,8 @@ export default {
await this.$confirm('检测到该人员已经生成过总检信息。', '确认信息', { await this.$confirm('检测到该人员已经生成过总检信息。', '确认信息', {
distinguishCancelAndClose: true, distinguishCancelAndClose: true,
confirmButtonText: '重新生成总检信息', confirmButtonText: '重新生成总检信息',
cancelButtonText: '获取上次总检信息'
cancelButtonText: '获取上次总检信息',
showClose:false
}) })
isGetExistData = 'N' isGetExistData = 'N'
} catch (error) { } catch (error) {

Loading…
Cancel
Save