|
|
@ -2,55 +2,25 @@ |
|
|
|
<div class="business"> |
|
|
|
<div class="fileBox"> |
|
|
|
<p class="title">建立屈光档案</p> |
|
|
|
<el-button type="primary" size="small">发送</el-button> |
|
|
|
<el-button type="primary" size="small" @click="sendFile">发送</el-button> |
|
|
|
</div> |
|
|
|
<div style="margin: 12px 0"> |
|
|
|
状态:<span class="circle">已发送</span> |
|
|
|
</div> |
|
|
|
<div style="margin-bottom: 60px;"> |
|
|
|
备注: |
|
|
|
<el-select |
|
|
|
v-model="value10" |
|
|
|
style="width: 360px" |
|
|
|
clearable |
|
|
|
filterable |
|
|
|
allow-create |
|
|
|
placeholder="主诉" |
|
|
|
@blur="selectZs" |
|
|
|
> |
|
|
|
<el-option |
|
|
|
v-for="item in options5" |
|
|
|
:key="item.value" |
|
|
|
:label="item.label" |
|
|
|
:value="item.value" |
|
|
|
/> |
|
|
|
</el-select> |
|
|
|
<el-input v-model="remark" auto-complete="off" style="width: 420px" /> |
|
|
|
</div> |
|
|
|
<div class="fileBox"> |
|
|
|
<p class="title">预约激光治疗</p> |
|
|
|
<el-button type="primary" size="small">发送</el-button> |
|
|
|
<el-button type="primary" size="small" @click="sendTreat">发送</el-button> |
|
|
|
</div> |
|
|
|
<div style="margin: 12px 0"> |
|
|
|
状态:<span class="circle">已发送</span> |
|
|
|
</div> |
|
|
|
<div> |
|
|
|
备注: |
|
|
|
<el-select |
|
|
|
v-model="value10" |
|
|
|
style="width: 360px" |
|
|
|
clearable |
|
|
|
filterable |
|
|
|
allow-create |
|
|
|
placeholder="主诉" |
|
|
|
@blur="selectZs" |
|
|
|
> |
|
|
|
<el-option |
|
|
|
v-for="item in options5" |
|
|
|
:key="item.value" |
|
|
|
:label="item.label" |
|
|
|
:value="item.value" |
|
|
|
/> |
|
|
|
</el-select> |
|
|
|
<el-input v-model="treatRemark" auto-complete="off" style="width: 420px" /> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</template> |
|
|
@ -63,7 +33,15 @@ export default { |
|
|
|
}, |
|
|
|
mixins: [dialogjs], |
|
|
|
props: { |
|
|
|
patientIdNumber: { |
|
|
|
platform: { |
|
|
|
type: String, |
|
|
|
default: '' |
|
|
|
}, |
|
|
|
patientId: { |
|
|
|
type: String, |
|
|
|
default: '' |
|
|
|
}, |
|
|
|
patientName: { |
|
|
|
type: String, |
|
|
|
default: '' |
|
|
|
} |
|
|
@ -71,47 +49,8 @@ export default { |
|
|
|
data() { |
|
|
|
return { |
|
|
|
remark: '', |
|
|
|
currentNumber: '', |
|
|
|
options5: [{ |
|
|
|
value: 'HTML', |
|
|
|
label: 'HTML' |
|
|
|
}, { |
|
|
|
value: 'CSS', |
|
|
|
label: 'CSS' |
|
|
|
}, { |
|
|
|
value: 'JavaScript', |
|
|
|
label: 'JavaScript' |
|
|
|
}], |
|
|
|
value10: [], |
|
|
|
collectProps: { |
|
|
|
children: 'childs', |
|
|
|
label: 'name' |
|
|
|
}, |
|
|
|
collectData: [], |
|
|
|
tableData: [{ |
|
|
|
date: '2016-05-02', |
|
|
|
name: '王小虎1', |
|
|
|
address: '上海市普陀区金沙江路 1518 弄' |
|
|
|
}, { |
|
|
|
date: '2016-05-04', |
|
|
|
id: 1, |
|
|
|
name: '王小虎2', |
|
|
|
address: '上海市普陀区金沙江路 1517 弄' |
|
|
|
}, { |
|
|
|
date: '2016-05-01', |
|
|
|
name: '王小虎3', |
|
|
|
id: 2, |
|
|
|
address: '上海市普陀区金沙江路 1519 弄' |
|
|
|
}, { |
|
|
|
date: '2016-05-03', |
|
|
|
name: '王小虎4', |
|
|
|
id: 3, |
|
|
|
address: '上海市普陀区金沙江路 1516 弄' |
|
|
|
}], |
|
|
|
setPlanList: [], |
|
|
|
addFollowList: [], |
|
|
|
patientInfoHeadHeight: '', |
|
|
|
crfSelectVisible: false |
|
|
|
treatRemark: '', |
|
|
|
jzNumber: '' |
|
|
|
} |
|
|
|
}, |
|
|
|
watch: { |
|
|
@ -121,29 +60,37 @@ export default { |
|
|
|
|
|
|
|
}, |
|
|
|
mounted() { |
|
|
|
|
|
|
|
this.jzNumber = window.localStorage.getItem('jzNumber') |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
searchRemark(data) { |
|
|
|
// this.treeId = data.id |
|
|
|
// this.remark = data.hisManagePatientEntity ? data.hisManagePatientEntity.remark : '' |
|
|
|
// this.remarkId = data.hisManagePatientEntity ? data.hisManagePatientEntity.id : '' |
|
|
|
}, |
|
|
|
selectZs(e) { |
|
|
|
console.log(e) |
|
|
|
this.value10 = e.target.value |
|
|
|
// 建立屈光档案 |
|
|
|
async sendFile() { |
|
|
|
// const params = { |
|
|
|
// remark: this.treatRemark, |
|
|
|
// jzNumber: this.jzNumber, |
|
|
|
// platform: this.platform, |
|
|
|
// patientName: this.patientName, |
|
|
|
// patientId: this.patientId |
|
|
|
// } |
|
|
|
// const { data: res } = await this.$http.post('/appoint/sendInfo4Appoint', params) |
|
|
|
// if (res.code === 0) { |
|
|
|
// this.$message.success('发送成功') |
|
|
|
// } else { |
|
|
|
// this.$message.error(res.msg) |
|
|
|
// } |
|
|
|
}, |
|
|
|
async handleAddPatient() { |
|
|
|
// 发送激光治疗 |
|
|
|
async sendTreat() { |
|
|
|
const params = { |
|
|
|
remark: this.remark, |
|
|
|
treeId: this.treeId, |
|
|
|
id: this.remarkId, |
|
|
|
patientId: this.patientIdNumber |
|
|
|
remark: this.treatRemark, |
|
|
|
jzNumber: this.jzNumber, |
|
|
|
platform: this.platform, |
|
|
|
patientName: this.patientName, |
|
|
|
patientId: this.patientId |
|
|
|
} |
|
|
|
const { data: res } = await this.$http.post('/base/patient/tag/addPatientTree', params) |
|
|
|
const { data: res } = await this.$http.post('/appoint/sendInfo4Appoint', params) |
|
|
|
if (res.code === 0) { |
|
|
|
this.$message.success('保存成功') |
|
|
|
this.searchTree() |
|
|
|
this.$message.success('发送成功') |
|
|
|
} else { |
|
|
|
this.$message.error(res.msg) |
|
|
|
} |
|
|
|