diff --git a/src/api/company.ts b/src/api/company.ts index c273ada..eb316b3 100644 --- a/src/api/company.ts +++ b/src/api/company.ts @@ -23,4 +23,9 @@ export function apiCompanyDelete(params: any) { // 公司详情 export function apiCompanyDetail(params: any) { return request.get({ url: '/company/detail', params }) -} \ No newline at end of file +} + +// 下属公司详情 +export function apiSubordinateList(params: any) { + return request.get({ url: '/company/subordinate', params }) +} diff --git a/src/views/company/dialog_index_man.vue b/src/views/company/dialog_index_man.vue new file mode 100644 index 0000000..c094fdd --- /dev/null +++ b/src/views/company/dialog_index_man.vue @@ -0,0 +1,83 @@ + + + diff --git a/src/views/company/edit.vue b/src/views/company/edit.vue index d469d7c..2a65f01 100644 --- a/src/views/company/edit.vue +++ b/src/views/company/edit.vue @@ -246,8 +246,7 @@ v-model="formData.contract.file" action="https://worker-task.lihaink.cn/api/upload/image" :show-file-list="false" - :on-success="handleAvatarSuccess_three" - :before-upload="beforeAvatarUpload_three" + :on-success="handleAvatarSuccess" > 点击上传 diff --git a/src/views/company/index.vue b/src/views/company/index.vue index 9d94a60..d46b044 100644 --- a/src/views/company/index.vue +++ b/src/views/company/index.vue @@ -1,156 +1,114 @@ diff --git a/src/views/company/subordinate.vue b/src/views/company/subordinate.vue new file mode 100644 index 0000000..77a03f2 --- /dev/null +++ b/src/views/company/subordinate.vue @@ -0,0 +1,229 @@ + + + + diff --git a/src/views/permission/admin/edit.vue b/src/views/permission/admin/edit.vue index 8acaf14..bebc486 100644 --- a/src/views/permission/admin/edit.vue +++ b/src/views/permission/admin/edit.vue @@ -626,15 +626,15 @@ defineExpose({ \ No newline at end of file +} +