diff --git a/src/api/system/department.js b/src/api/system/department.js
index 59037ea..ac0b346 100644
--- a/src/api/system/department.js
+++ b/src/api/system/department.js
@@ -8,6 +8,13 @@ export function listDepartment(query) {
params: query
})
}
+export function getDepartmentList(query) {
+ return request({
+ url: '/system/department/getDepartmentList',
+ method: 'get',
+ params: query
+ })
+}
// 查询科室信息详细
export function getDepartment(id) {
diff --git a/src/api/system/subdivision.js b/src/api/system/subdivision.js
new file mode 100644
index 0000000..40c9097
--- /dev/null
+++ b/src/api/system/subdivision.js
@@ -0,0 +1,44 @@
+import request from '@/utils/request'
+
+// 查询细分类别信息列表
+export function listSubdivision(query) {
+ return request({
+ url: '/system/subdivision/list',
+ method: 'get',
+ params: query
+ })
+}
+
+// 查询细分类别信息详细
+export function getSubdivision(id) {
+ return request({
+ url: '/system/subdivision/' + id,
+ method: 'get'
+ })
+}
+
+// 新增细分类别信息
+export function addSubdivision(data) {
+ return request({
+ url: '/system/subdivision',
+ method: 'post',
+ data: data
+ })
+}
+
+// 修改细分类别信息
+export function updateSubdivision(data) {
+ return request({
+ url: '/system/subdivision',
+ method: 'put',
+ data: data
+ })
+}
+
+// 删除细分类别信息
+export function delSubdivision(id) {
+ return request({
+ url: '/system/subdivision/' + id,
+ method: 'delete'
+ })
+}
diff --git a/src/views/system/agencyCategory/index.vue b/src/views/system/agencyCategory/index.vue
index aa90983..12bf382 100644
--- a/src/views/system/agencyCategory/index.vue
+++ b/src/views/system/agencyCategory/index.vue
@@ -32,27 +32,7 @@
@keyup.enter.native="handleQuery"
/>
-
-
-
-
-
-
-
-
-
+
-->
-
+
-
-
+
@@ -392,8 +392,21 @@
:key="isResouceShow"
>
-
-
+
+
+
+
+
@@ -531,14 +544,17 @@ import {
delDepartment,
addDepartment,
updateDepartment,
+ getDepartmentList
} from "@/api/system/department";
import { agencyList, getAgencytype } from "@/api/system/agency";
import { getToken } from "@/utils/auth";
+import { listSubdivision, } from "@/api/system/subdivision";
export default {
name: "Department",
data() {
return {
+ optionsparentDepartment:[],
// 细分
optionsubdivisionCategory:[],
// 标准科室对照4
@@ -547,7 +563,7 @@ export default {
nodeTypeoptions: [],
treeOptions: [],
treeOptionsagencyCategoryId: [],
- optionstype:[],
+ departmentoptions:[],
options: [
// {
// value: "PUBLIC_HEALTH",
@@ -668,14 +684,34 @@ export default {
// this.gettreelistitem();
this.info();
this.infolist();
+ this.getinfo();
+ this.getinfolist();
+ this.infodepartment()
},
methods: {
+ getinfolist(){
+ listSubdivision().then(res=>{
+ this.optionsubdivisionCategory=res.rows
+ })
+ },
+ getinfo(){
+ getDepartmentList().then(res=>{
+ console.log(res,'666')
+ this.optionsparentDepartment=res.data
+ })
+ },
info() {
var dictType = "node_type";
getAgencytype(dictType).then((res) => {
this.nodeTypeoptions = res.data;
});
},
+ infodepartment() {
+ var dictType = "department_type";
+ getAgencytype(dictType).then((res) => {
+ this.departmentoptions = res.data;
+ });
+ },
infolist() {
var dictType = "provide_service_category";
getAgencytype(dictType).then((res) => {
diff --git a/src/views/system/subdivision/index.vue b/src/views/system/subdivision/index.vue
new file mode 100644
index 0000000..c356523
--- /dev/null
+++ b/src/views/system/subdivision/index.vue
@@ -0,0 +1,282 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+ 新增
+
+
+ 修改
+
+
+ 删除
+
+
+ 导出
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 修改
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+