Browse Source

peter

360view
newPeter7 3 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. 11
      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: { caseId: {
handler: function(newV, oldV) { handler: function(newV, oldV) {
this.getforeList().then(() => { 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() this.ws.close()
}, },
mounted() { mounted() {
this.queryForm() this.queryForm()
// this.initWebSoket()
this.initWebSoket()
this.getPatientData() this.getPatientData()
}, },
methods: { methods: {

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

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

1
src/components/360View/index1.vue

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

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

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

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

@ -3,7 +3,6 @@
<div v-if="!onlyRead" class="btnBox"> <div v-if="!onlyRead" class="btnBox">
<el-button v-print="printAll" size="small" @click="handleSaveTable">打印</el-button> <el-button v-print="printAll" size="small" @click="handleSaveTable">打印</el-button>
<el-button type="primary" 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> <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"> <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"> <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" /> <history-form ref="history" :form-data="formData" />
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="前段检查" name="2" style="height: 100%"> <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>
<el-tab-pane label="后段检查" name="3" style="height: 100%"> <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>
<el-tab-pane label="专科检查" name="4" style="height: 100%"> <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>
<el-tab-pane label="诊断处置" name="5"> <el-tab-pane label="诊断处置" name="5">
<diagnosis-form ref="diagnosis" :diagnosis="diagnosis" /> <diagnosis-form ref="diagnosis" :diagnosis="diagnosis" />
@ -185,7 +184,7 @@ export default {
async saveHistory() { async saveHistory() {
const { data: res } = await this.$http.post('/mjz/saveMjzBscj', this.formData) const { data: res } = await this.$http.post('/mjz/saveMjzBscj', this.formData)
if (res.code === 0) { if (res.code === 0) {
this.getMedicalHistory()
await this.getMedicalHistory()
} else { } else {
this.$message.error(res.msg) this.$message.error(res.msg)
} }
@ -193,7 +192,7 @@ export default {
async saveDiagnosis() { async saveDiagnosis() {
const { data: res } = await this.$http.post('/mjz/saveMjzZdcz', this.diagnosis) const { data: res } = await this.$http.post('/mjz/saveMjzZdcz', this.diagnosis)
if (res.code === 0) { if (res.code === 0) {
this.getDiagnosis()
await this.getDiagnosis()
} else { } else {
this.$message.error(res.msg) this.$message.error(res.msg)
} }

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

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

Loading…
Cancel
Save