16 changed files with 269 additions and 209 deletions
-
27src/assets/css/global_button.css
-
5src/assets/css/global_table.css
-
26src/components/customerOrg/ContactPerson.vue
-
22src/components/customerOrg/customerOrgEdit.vue
-
48src/components/customerOrg/customerOrgGroupAsbitem.vue
-
24src/components/customerOrg/customerOrgRegister.vue
-
47src/components/menuPage/MenuPageEdit.vue
-
19src/components/menuPage/MenuPageSet.vue
-
95src/components/patientRegister/PatientRegisterList.vue
-
16src/components/patientRegister/patientRegisterQuery.vue
-
4src/main.js
-
24src/utlis/proFunc.js
-
28src/views/customerOrg/customerOrgGroup.vue
-
81src/views/customerOrg/customerOrgGroupBak.vue
-
6src/views/customerOrg/patientRegisterImport.vue
-
6src/views/login/Login.vue
@ -1,81 +0,0 @@ |
|||||
<template> |
|
||||
<div style="display: flex"> |
|
||||
<div class="box"> |
|
||||
<el-card> |
|
||||
<div class="publiccss">单位分组</div> |
|
||||
<span>单位</span> |
|
||||
<el-select |
|
||||
v-model="value" |
|
||||
placeholder="请选择" |
|
||||
style="margin-left: 20px; margin-top: 20px" |
|
||||
@change="secltchang" |
|
||||
> |
|
||||
<el-option |
|
||||
v-for="item in options" |
|
||||
:key="item.id" |
|
||||
:label="item.displayName" |
|
||||
:value="item.id" |
|
||||
> |
|
||||
</el-option> |
|
||||
</el-select> |
|
||||
<div> |
|
||||
<CustomerOrgTree></CustomerOrgTree> |
|
||||
<UnitGroupCategory></UnitGroupCategory> |
|
||||
</div> |
|
||||
</el-card> |
|
||||
</div> |
|
||||
</div> |
|
||||
</template> |
|
||||
<script> |
|
||||
import CustomerOrgTree from "../../components/unitGrouping/unitGroupingTable.vue"; |
|
||||
import UnitGroupCategory from "../../components/unitGrouping/unitGroupCategory.vue"; |
|
||||
import { mapState } from "vuex"; |
|
||||
import { getapi } from "@/api/api"; |
|
||||
export default { |
|
||||
components: { |
|
||||
CustomerOrgTree, |
|
||||
UnitGroupCategory, |
|
||||
}, |
|
||||
data() { |
|
||||
return { |
|
||||
options: [], |
|
||||
value: "", |
|
||||
}; |
|
||||
}, |
|
||||
computed: { |
|
||||
...mapState(["personnelUnit"]), |
|
||||
}, |
|
||||
created() { |
|
||||
this.getitemtype(); |
|
||||
}, |
|
||||
methods: { |
|
||||
secltchang(v) { |
|
||||
this.personnelUnit.id = v; |
|
||||
//let that=this |
|
||||
console.log(this.customerOrg); |
|
||||
getapi(`/api/app/customer-org-group/in-customer-org-id/${v}`).then( |
|
||||
(res) => { |
|
||||
this.personnelUnit.personnelgrouping = res.data; |
|
||||
// console.log(res.data); |
|
||||
// console.log(that.customerOrg.personnelgrouping); |
|
||||
} |
|
||||
); |
|
||||
console.log(v); |
|
||||
}, |
|
||||
//获取单位列表 |
|
||||
getitemtype() { |
|
||||
getapi("/api/app/customer-org/parent-all").then((res) => { |
|
||||
this.options = res.data; |
|
||||
}); |
|
||||
}, |
|
||||
}, |
|
||||
}; |
|
||||
</script> |
|
||||
<style scoped> |
|
||||
::v-deep .el-card__body { |
|
||||
height: 800px; |
|
||||
} |
|
||||
.box { |
|
||||
width: 100%; |
|
||||
} |
|
||||
</style> |
|
||||
Write
Preview
Loading…
Cancel
Save
Reference in new issue