Browse Source

peter

360view
newPeter7 2 years ago
parent
commit
48acc42c53
  1. 2
      src/components/360View/afterPart/index-copy.vue
  2. 6
      src/components/360View/commonForm/optometryForm-copy.vue
  3. 1
      src/components/360View/forePart/index-copy.vue
  4. 1
      src/components/360View/index1.vue
  5. 2
      src/components/360View/medicalRecord/outPatientRecord/afterForm-copy.vue
  6. 23
      src/components/360View/medicalRecord/outPatientRecord/index.vue
  7. 2
      src/page-subspecialty/views/modules/outpatientManagement/call/index.vue

2
src/components/360View/afterPart/index-copy.vue

@ -260,7 +260,7 @@ export default {
caseId: {
handler: function(newV, oldV) {
this.getforeList().then(() => {
// this.queryOptions()
this.queryOptions()
})
}
}

6
src/components/360View/commonForm/optometryForm-copy.vue

@ -537,12 +537,14 @@ export default {
}
}
},
destroyed() {
beforeUnmount() {
clearTimeout(this.timeoutObj)
clearTimeout(this.serverTimeoutObj)
this.ws.close()
},
mounted() {
this.queryForm()
// this.initWebSoket()
this.initWebSoket()
this.getPatientData()
},
methods: {

1
src/components/360View/forePart/index-copy.vue

@ -942,7 +942,6 @@ export default {
async saveFore() {
for (const resKey in this.dataForm) {
if (Array.isArray(this.dataForm[resKey])) {
console.log(this.dataForm[resKey].join(','))
this.dataForm[resKey] = this.dataForm[resKey].join(',')
}
}

1
src/components/360View/index1.vue

@ -381,7 +381,6 @@ export default {
{
params: {
patientId: this.patientId
// patientId: '797064'
}
}
)

2
src/components/360View/medicalRecord/outPatientRecord/afterForm-copy.vue

@ -122,8 +122,6 @@ export default {
}
},
mounted() {
console.log(this.tableData)
console.log(this.dataForm)
},
methods: {
moveHandle(index, type, row) {

23
src/components/360View/medicalRecord/outPatientRecord/index.vue

@ -3,7 +3,6 @@
<div v-if="!onlyRead" class="btnBox">
<el-button v-print="printAll" size="small" @click="handleSaveTable">打印</el-button>
<el-button type="primary" size="small" @click="handleSaveTable">保存</el-button>
<!-- <el-button type="danger" size="small" @click="formDelete">删除</el-button>-->
<el-button v-if="comonFormActive === '2' || comonFormActive === '3'" type="primary" size="small" @click="handleTemplate">保存为模板</el-button>
<div v-if="comonFormActive === '2' || comonFormActive === '3'" size="small" style="display:inline-block;margin-left:10px;text-align:center;width: 32px;height: 32px;background-color: #1e79ff;border-radius: 4px;vertical-align: bottom" @click="addData">
<img :src="require('@/assets/img/data.png')" alt="" style="width: 17px;height: 16px;margin-top: 5px">
@ -14,13 +13,13 @@
<history-form ref="history" :form-data="formData" />
</el-tab-pane>
<el-tab-pane label="前段检查" name="2" style="height: 100%">
<forePart ref="foreParts" :patient-id="patientId" :is-search="isSearch" :only-read="onlyRead" :case-id="caseId" />
<forePart ref="foreParts" :patient-id="patientId" :is-search="isSearch" :only-read="onlyRead" :case-id="caseId"/>
</el-tab-pane>
<el-tab-pane label="后段检查" name="3" style="height: 100%">
<afterPart ref="afterParts" :patient-id="patientId" :is-search="isSearch" :only-read="onlyRead" :case-id="caseId" />
<afterPart ref="afterParts" :patient-id="patientId" :is-search="isSearch" :only-read="onlyRead" :case-id="caseId"/>
</el-tab-pane>
<el-tab-pane label="专科检查" name="4" style="height: 100%">
<specialExamine ref="examines" :patient-id="patientId" :is-search="isSearch" :case-id="caseId" />
<specialExamine ref="examines" :patient-id="patientId" :is-search="isSearch" :case-id="caseId"/>
</el-tab-pane>
<el-tab-pane label="诊断处置" name="5">
<diagnosis-form ref="diagnosis" :diagnosis="diagnosis" />
@ -171,29 +170,29 @@ export default {
async getDiagnosis() {
const { data: res } = await this.$http.get('/mjz/getMjzZdczInfo', {
params: {
caseId: this.caseId,
caseId: this.caseId,
patientId: this.patientId
}
}
})
if (res.code === 0) {
this.diagnosis = res.data
} else {
} else {
this.$message.error(res.msg)
}
}
},
//
async saveHistory() {
const { data: res } = await this.$http.post('/mjz/saveMjzBscj', this.formData)
if (res.code === 0) {
this.getMedicalHistory()
} else {
await this.getMedicalHistory()
} else {
this.$message.error(res.msg)
}
}
},
async saveDiagnosis() {
const { data: res } = await this.$http.post('/mjz/saveMjzZdcz', this.diagnosis)
if (res.code === 0) {
this.getDiagnosis()
await this.getDiagnosis()
} else {
this.$message.error(res.msg)
}

2
src/page-subspecialty/views/modules/outpatientManagement/call/index.vue

@ -225,7 +225,7 @@ export default {
value: '3',
label: '就诊中'
}, {
value: '已诊',
value: '5',
label: '已诊'
}],
nextVisitTime: [],

Loading…
Cancel
Save