|
|
@ -209,7 +209,10 @@ |
|
|
</el-col> |
|
|
</el-col> |
|
|
<el-col :span="3"> |
|
|
<el-col :span="3"> |
|
|
<el-form-item label="介绍人" prop="salesman"> |
|
|
<el-form-item label="介绍人" prop="salesman"> |
|
|
<el-input v-model="form.salesman" size="small"></el-input> |
|
|
|
|
|
|
|
|
<el-select v-model="form.salesman" placeholder="请选择" filterable clearable allow-create |
|
|
|
|
|
size="small"> |
|
|
|
|
|
<el-option v-for="item in dictSalesman" :key="item.id" :label="item.surname" :value="item.surname"/> |
|
|
|
|
|
</el-select> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-col> |
|
|
</el-col> |
|
|
</el-row> |
|
|
</el-row> |
|
|
@ -1067,6 +1070,8 @@ export default { |
|
|
customerOrgRegister: {}, // 当前选择体检次数 |
|
|
customerOrgRegister: {}, // 当前选择体检次数 |
|
|
|
|
|
|
|
|
hc_warn_mode: '1', //0-仅提醒;1-提醒并决择;2-有互斥项目时不允许保存 |
|
|
hc_warn_mode: '1', //0-仅提醒;1-提醒并决择;2-有互斥项目时不允许保存 |
|
|
|
|
|
|
|
|
|
|
|
dictSalesman:[] // |
|
|
}; |
|
|
}; |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
@ -1315,7 +1320,13 @@ export default { |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 业务员 {operatorTypes:["1","3"]} |
|
|
|
|
|
postapi('/api/identity/users/GetListByOperatorType',{operatorTypes:["0","1","2","3","4"]}) |
|
|
|
|
|
.then(res => { |
|
|
|
|
|
if (res.code > -1) { |
|
|
|
|
|
this.dictSalesman = res.data |
|
|
|
|
|
} |
|
|
|
|
|
}) |
|
|
|
|
|
|
|
|
//项目类别 树结构 |
|
|
//项目类别 树结构 |
|
|
// getapi("/api/app/item-type/by-code-all").then((res) => { |
|
|
// getapi("/api/app/item-type/by-code-all").then((res) => { |
|
|
@ -1427,6 +1438,7 @@ export default { |
|
|
|
|
|
|
|
|
this.peisid = window.sessionStorage.getItem('peisid'); |
|
|
this.peisid = window.sessionStorage.getItem('peisid'); |
|
|
let customerOrgId, customerOrgName, customerOrgParentId |
|
|
let customerOrgId, customerOrgName, customerOrgParentId |
|
|
|
|
|
|
|
|
if (this.patientRegister.query.customerOrgId) { |
|
|
if (this.patientRegister.query.customerOrgId) { |
|
|
customerOrgParentId = this.patientRegister.query.CustomerOrgParentId |
|
|
customerOrgParentId = this.patientRegister.query.CustomerOrgParentId |
|
|
customerOrgId = this.patientRegister.query.customerOrgId |
|
|
customerOrgId = this.patientRegister.query.customerOrgId |
|
|
@ -1436,6 +1448,7 @@ export default { |
|
|
customerOrgId = this.form.customerOrgId |
|
|
customerOrgId = this.form.customerOrgId |
|
|
customerOrgName = this.form.customerOrgName |
|
|
customerOrgName = this.form.customerOrgName |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
this.preCustomerOrgId = this.patientRegister.query.customerOrgId |
|
|
this.preCustomerOrgId = this.patientRegister.query.customerOrgId |
|
|
if (!patientRegisterId) { //添加 |
|
|
if (!patientRegisterId) { //添加 |
|
|
this.form = Object.assign({}, this.form, this.formInit) |
|
|
this.form = Object.assign({}, this.form, this.formInit) |
|
|
@ -2360,8 +2373,10 @@ export default { |
|
|
btnAdd() { |
|
|
btnAdd() { |
|
|
// 当前面点新增时,清部份信息 |
|
|
// 当前面点新增时,清部份信息 |
|
|
this.clearPerson() |
|
|
this.clearPerson() |
|
|
this.dataTransOpts.tableS.patient_register.id = '' |
|
|
|
|
|
this.dataTransOpts.refresh.patient_register.S++ |
|
|
|
|
|
|
|
|
// this.dataTransOpts.tableS.patient_register.id = '' |
|
|
|
|
|
// this.dataTransOpts.refresh.patient_register.S++ |
|
|
|
|
|
this.dataTransOpts.tableM.register_check_asbitem = [] |
|
|
|
|
|
//this.changeItemType(deepCopy(this.dataTransOpts.copyGroup.itemTypeIds)) |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
//将现有的数据,复制并展现,但未保存 |
|
|
//将现有的数据,复制并展现,但未保存 |
|
|
|