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