hospitalAgencyId
This commit is contained in:
parent
52cc2fcd6d
commit
731d8c5693
@ -470,7 +470,7 @@ export default {
|
||||
this.getAgencyListinfo('CAMPUS', id, type)
|
||||
// let query = {
|
||||
// nodeType: 'DEPARTMENT',
|
||||
// agencyId: id,
|
||||
// hospitalAgencyId: id,
|
||||
// }
|
||||
// getDepartmentList(query).then(res => {
|
||||
if (type) {
|
||||
|
||||
@ -190,7 +190,7 @@ export default {
|
||||
//主治医生
|
||||
usergetListinfo() {
|
||||
usergetList({
|
||||
agencyId: this.queryParams.hospitalAgencyId,
|
||||
hospitalAgencyId: this.queryParams.hospitalAgencyId,
|
||||
postName: 'DOCTOR'
|
||||
}).then(res => {
|
||||
this.attendingPhysicianlist = res.data
|
||||
@ -312,7 +312,7 @@ export default {
|
||||
this.getAgencyListinfo('CAMPUS', id)
|
||||
// let query = {
|
||||
// nodeType: 'DEPARTMENT',
|
||||
// agencyId: id,
|
||||
// hospitalAgencyId: id,
|
||||
// }
|
||||
// getDepartmentList(query).then(res => {
|
||||
// this.departmentlist = res.data
|
||||
|
||||
@ -223,7 +223,7 @@ export default {
|
||||
//主治医生
|
||||
usergetListinfo() {
|
||||
usergetList({
|
||||
agencyId: this.queryParams.hospitalAgencyId,
|
||||
hospitalAgencyId: this.queryParams.hospitalAgencyId,
|
||||
postName: 'DOCTOR'
|
||||
}).then(res => {
|
||||
this.attendingPhysicianlist = res.data
|
||||
@ -345,7 +345,7 @@ export default {
|
||||
this.getAgencyListinfo('CAMPUS', id)
|
||||
// let query = {
|
||||
// nodeType: 'DEPARTMENT',
|
||||
// agencyId: id,
|
||||
// hospitalAgencyId: id,
|
||||
// }
|
||||
// getDepartmentList(query).then(res => {
|
||||
// this.departmentlist = res.data
|
||||
|
||||
@ -713,7 +713,7 @@ export default {
|
||||
//主治医生
|
||||
usergetListinfo(id, type) {
|
||||
usergetList({
|
||||
agencyId: id,
|
||||
hospitalAgencyId: id,
|
||||
postName: 'DOCTOR'
|
||||
}).then(res => {
|
||||
if (type) {
|
||||
@ -785,7 +785,7 @@ export default {
|
||||
this.getAgencyListinfo('CAMPUS', id, type)
|
||||
// let query = {
|
||||
// nodeType: 'DEPARTMENT',
|
||||
// agencyId: id,
|
||||
// hospitalAgencyId: id,
|
||||
// }
|
||||
// getDepartmentList(query).then(res => {
|
||||
if (type) {
|
||||
|
||||
@ -1090,7 +1090,7 @@ export default {
|
||||
this.form.diseaseTypeId = '';
|
||||
let query = {
|
||||
nodeType: 'DEPARTMENT',
|
||||
agencyId: e,
|
||||
hospitalAgencyId: e,
|
||||
}
|
||||
getDepartmentList(query).then(res => {
|
||||
this.Departmentdata = res.data
|
||||
|
||||
@ -600,7 +600,7 @@ export default {
|
||||
this.getAgencyListinfo('CAMPUS', id)
|
||||
// let query = {
|
||||
// nodeType: 'DEPARTMENT',
|
||||
// agencyId: id,
|
||||
// hospitalAgencyId: id,
|
||||
// }
|
||||
// getDepartmentList(query).then(res => {
|
||||
this.queryParams.departmentId = null
|
||||
|
||||
@ -805,7 +805,7 @@ export default {
|
||||
this.getAgencyListinfo('CAMPUS', id, type)
|
||||
// let query = {
|
||||
// nodeType: 'DEPARTMENT',
|
||||
// agencyId: id,
|
||||
// hospitalAgencyId: id,
|
||||
// }
|
||||
// getDepartmentList(query).then(res => {
|
||||
if (type) {
|
||||
@ -893,7 +893,7 @@ export default {
|
||||
//主治医生
|
||||
usergetListinfo(id, type) {
|
||||
usergetList({
|
||||
agencyId: id,
|
||||
hospitalAgencyId: id,
|
||||
postName: 'DOCTOR'
|
||||
}).then(res => {
|
||||
if (type) {
|
||||
|
||||
@ -638,7 +638,7 @@ export default {
|
||||
//开单医生
|
||||
usergetListinfotwo(id) {
|
||||
usergetList({
|
||||
agencyId: id,
|
||||
hospitalAgencyId: id,
|
||||
postName: 'DOCTOR'
|
||||
}).then(res => {
|
||||
this.addsignattendingPhysicianlist = res.data
|
||||
@ -873,7 +873,7 @@ export default {
|
||||
//主治医生
|
||||
usergetListinfo(id, type) {
|
||||
usergetList({
|
||||
agencyId: id,
|
||||
hospitalAgencyId: id,
|
||||
postName: 'DOCTOR'
|
||||
}).then(res => {
|
||||
if (type) {
|
||||
@ -945,7 +945,7 @@ export default {
|
||||
this.getAgencyListinfo('CAMPUS', id, type)
|
||||
// let query = {
|
||||
// nodeType: 'DEPARTMENT',
|
||||
// agencyId: id,
|
||||
// hospitalAgencyId: id,
|
||||
// }
|
||||
// getDepartmentList(query).then(res => {
|
||||
if (type) {
|
||||
|
||||
@ -138,7 +138,7 @@
|
||||
<el-table-column type="selection" width="55" align="center" />
|
||||
<!-- <el-table-column label="主键id" align="center" prop="id" /> -->
|
||||
<!-- <el-table-column label="上级科室id" align="center" prop="parentDepartmentId" />
|
||||
<el-table-column label="所属机构id" align="center" prop="agencyId" /> -->
|
||||
<el-table-column label="所属机构id" align="center" prop="hospitalAgencyId" /> -->
|
||||
<!-- <el-table-column label="所属机构名称" align="center" prop="agencyName" /> -->
|
||||
<el-table-column
|
||||
label="科室名称"
|
||||
@ -330,8 +330,8 @@
|
||||
placeholder="请输入上级科室id"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="所属机构id" prop="agencyId">
|
||||
<el-input v-model="form.agencyId" placeholder="请输入所属机构id" />
|
||||
<el-form-item label="所属机构id" prop="hospitalAgencyId">
|
||||
<el-input v-model="form.hospitalAgencyId" placeholder="请输入所属机构id" />
|
||||
</el-form-item>
|
||||
<el-form-item label="所属机构名称" prop="agencyName">
|
||||
<el-input
|
||||
@ -415,7 +415,7 @@
|
||||
:options="treeOptions"
|
||||
@change="change($event)"
|
||||
style="width: 205px; color: black"
|
||||
v-model="form.agencyId"
|
||||
v-model="form.hospitalAgencyId"
|
||||
:show-all-levels="false"
|
||||
:placeholder="
|
||||
form.agencyName ? form.agencyName : '请选择所属机构'
|
||||
@ -682,7 +682,7 @@ export default {
|
||||
pageNum: 1,
|
||||
pageSize: 10,
|
||||
parentDepartmentId: null,
|
||||
agencyId: null,
|
||||
hospitalAgencyId: null,
|
||||
agencyName: null,
|
||||
departmentName: null,
|
||||
departmentCode: null,
|
||||
@ -834,8 +834,8 @@ export default {
|
||||
change(e) {
|
||||
console.log(e, "78");
|
||||
if (e) {
|
||||
this.form.agencyId = e[e.length - 1];
|
||||
if (this.form.agencyId) {
|
||||
this.form.hospitalAgencyId = e[e.length - 1];
|
||||
if (this.form.hospitalAgencyId) {
|
||||
const arr = this.$refs["cascader"].getCheckedNodes()[0].pathLabels;
|
||||
// console.log(arr, "5555555");
|
||||
this.form.agencyName = arr.slice(-1).join(",");
|
||||
@ -912,7 +912,7 @@ export default {
|
||||
// 节点单击事件
|
||||
handleNodeClick(data) {
|
||||
console.log(data, "5");
|
||||
this.queryParams.agencyId = data.id;
|
||||
this.queryParams.hospitalAgencyId = data.id;
|
||||
this.getList();
|
||||
},
|
||||
/** 查询科室信息列表 */
|
||||
@ -934,7 +934,7 @@ export default {
|
||||
this.form = {
|
||||
id: null,
|
||||
parentDepartmentId: null,
|
||||
agencyId: null,
|
||||
hospitalAgencyId: null,
|
||||
agencyName: null,
|
||||
departmentName: null,
|
||||
departmentCode: null,
|
||||
|
||||
@ -313,7 +313,7 @@ export default {
|
||||
//主治医生
|
||||
usergetListinfo() {
|
||||
usergetList({
|
||||
agencyId: this.queryParams.hospitalAgencyId,
|
||||
hospitalAgencyId: this.queryParams.hospitalAgencyId,
|
||||
postName: 'DOCTOR'
|
||||
}).then(res => {
|
||||
this.attendingPhysicianlist = res.data
|
||||
|
||||
@ -976,7 +976,7 @@ export default {
|
||||
},
|
||||
formlist: {
|
||||
userId: "",
|
||||
agencyId: "",
|
||||
hospitalAgencyId: "",
|
||||
userName: "",
|
||||
},
|
||||
formlistdep: {
|
||||
@ -991,7 +991,7 @@ export default {
|
||||
},
|
||||
formlists: {
|
||||
userId: "",
|
||||
agencyId: "",
|
||||
hospitalAgencyId: "",
|
||||
userName: "",
|
||||
},
|
||||
// 列信息
|
||||
@ -1109,7 +1109,7 @@ export default {
|
||||
});
|
||||
this.nowSelectData = selection;
|
||||
if (selection.length > 0) {
|
||||
this.formlist.agencyId = selection[0].agencyId;
|
||||
this.formlist.hospitalAgencyId = selection[0].hospitalAgencyId;
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
@ -227,7 +227,7 @@ export default {
|
||||
//主治医生
|
||||
usergetListinfo() {
|
||||
usergetList({
|
||||
agencyId: this.$route.query.hospitalAgencyId,
|
||||
hospitalAgencyId: this.$route.query.hospitalAgencyId,
|
||||
postName: 'DOCTOR'
|
||||
}).then(res => {
|
||||
this.attendingPhysicianlist = res.data
|
||||
@ -237,7 +237,7 @@ export default {
|
||||
changecampusAgency() {
|
||||
let query = {
|
||||
nodeType: 'DEPARTMENT',
|
||||
agencyId: this.$route.query.hospitalAgencyId,
|
||||
hospitalAgencyId: this.$route.query.hospitalAgencyId,
|
||||
}
|
||||
getDepartmentList(query).then(res => {
|
||||
this.departmentlist = res.data
|
||||
|
||||
Loading…
Reference in New Issue
Block a user