From fd9acb448e4e54eeaac59b13756c59c1cc21af54 Mon Sep 17 00:00:00 2001 From: Andrei Filippov Date: Tue, 9 Apr 2024 15:44:59 +0300 Subject: [PATCH] =?UTF-8?q?=D0=92=D1=81=D0=B5=20=D0=BE=D0=B1=D0=BD=D0=BE?= =?UTF-8?q?=D0=B2=D0=B8=D0=BB=20=D0=BF=D0=BE=20=D0=B7=D0=B0=D0=B4=D0=B0?= =?UTF-8?q?=D0=BD=D0=B8=D1=8E=20=D0=90=D1=80=D1=82=D0=B5=D0=BC=D0=B0=20?= =?UTF-8?q?=D0=9D=D0=B8=D0=BA=D0=BE=D0=BB=D0=B0=D0=B5=D0=B2=D0=B8=D1=87?= =?UTF-8?q?=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../about_inspection/contacts/ContactInfo.vue | 80 ++++++++++++------- .../about_inspection/structure/BossNode.vue | 7 +- .../about_inspection/structure/Icon.vue | 34 -------- .../structure/StructureInspection.vue | 54 ++++++++----- src/front/src/views/AboutInspectionPage.vue | 10 ++- 5 files changed, 100 insertions(+), 85 deletions(-) delete mode 100644 src/front/src/components/about_inspection/structure/Icon.vue diff --git a/src/front/src/components/about_inspection/contacts/ContactInfo.vue b/src/front/src/components/about_inspection/contacts/ContactInfo.vue index cbe6b7c27..2d1b0c59b 100644 --- a/src/front/src/components/about_inspection/contacts/ContactInfo.vue +++ b/src/front/src/components/about_inspection/contacts/ContactInfo.vue @@ -1,32 +1,54 @@ - - diff --git a/src/front/src/components/about_inspection/structure/StructureInspection.vue b/src/front/src/components/about_inspection/structure/StructureInspection.vue index ff39b786c..0860b7e4a 100644 --- a/src/front/src/components/about_inspection/structure/StructureInspection.vue +++ b/src/front/src/components/about_inspection/structure/StructureInspection.vue @@ -16,7 +16,6 @@ - @@ -29,7 +28,6 @@ import { ControlButton, Controls } from '@vue-flow/controls' import { Background } from '@vue-flow/background' import "@vue-flow/core/dist/style.css" import "@vue-flow/core/dist/theme-default.css" -import Icon from './Icon.vue' import BossNode from './BossNode.vue' @@ -41,7 +39,6 @@ export default { ControlButton, Controls, Background, - Icon, BossNode }, @@ -68,59 +65,72 @@ export default { nodes: ref([ { id: '1', + type: 'boss', label: 'Руководитель МИ ФНС России по ЦОД №2', data: 'Борис Борисович Толоко ', - type: 'boss', - position: { x: 280, y: 50 } + position: { x: 180, y: 50 }, + sourcePosition: Position.Right, + targetPosition: Position.Bottom, + }, { id: '2', type: 'middleboss', label: 'Заместитель начальника', data: 'Андреева Наталья Владимировна', - position: { x: 140, y: 280 } + position: { x: 140, y: 280 }, + targetPosition: Position.Top, }, { id: '3', type: 'middleboss', label: 'Заместитель начальника', data: 'Ахкубеков Мухамат Алиевич', - position: { x: 680, y: 280 } + position: { x: 680, y: 280 }, + sourcePosition: Position.Top, }, { id: '4', type: 'middleboss', label: 'Заместитель начальника', data: 'Послухаев Артем Николаевич', - position: { x: 1220, y: 280 } + position: { x: 1220, y: 280 }, + targetPosition: Position.Top, }, { id: '5', type: 'middleboss', label: 'Общий отдел', data: ' Начальник Золина Татьяна Евгеньевна ', - position: { x: 792, y: 20 } + position: { x: 792, y: 15 }, + targetPosition: Position.Left, + sourcePosition: Position.Right, }, { id: '6', type: 'middleboss', label: 'Отдел кадров и безопасности', data: 'Начальник Фролова Ирина Николаевна', - position: { x: 1030, y: 20 } + position: { x: 1030, y: 15 }, + targetPosition: Position.Left, + sourcePosition: Position.Right, }, { id: '7', type: 'middleboss', label: 'Отдел управления качеством данных', data: ' Начальник Гончаров Церен Викторович', - position: { x: 1268, y: 20 } + position: { x: 1268, y: 15 }, + targetPosition: Position.Left, + sourcePosition: Position.Right, }, { id: '8', type: 'deps', label: 'Отдел по сопровождению интернет-сервисов', data: ' Начальник Лосева Екатерина Владимировна', - position: { x: 1080, y: 500 } + position: { x: 1080, y: 500 }, + targetPosition: Position.Top, }, { @@ -128,46 +138,52 @@ export default { type: 'deps', label: 'Отдел внедрения технологических процессов', data: ' Начальник Туркова Мария Николаевна', - position: { x: 1340, y: 500 } + position: { x: 1340, y: 500 }, + targetPosition: Position.Top, }, { id: '10', type: 'deps', label: 'Отдел контроля технологических процессов', data: ' Начальник Михайлов Виктор Валентинович', - position: { x: 800, y: 500 } + position: { x: 800, y: 500 }, + targetPosition: Position.Top, }, { id: '11', type: 'deps', label: 'Отдел ведения ведомственной модели данных', data: ' Начальник Щедрин Владимир Дмитриевич', - position: { x: 540, y: 500 } + position: { x: 540, y: 500 }, + targetPosition: Position.Top, }, { id: '12', type: 'deps', label: 'Отдел развития личного кабинеита налогоплательщика физического лица', data: 'И.О.начальника Романова Марина Александровна', - position: { x: 0, y: 500 } + position: { x: 0, y: 500 }, + targetPosition: Position.Top, }, { id: '13', type: 'deps', label: 'Отдел обработки обращений граждан', data: 'Начальник Ванюшкина Наталья Николаевна', - position: { x: 260, y: 500 } + position: { x: 260, y: 500 }, + targetPosition: Position.Top, }, ]), edges: ref([ - // { id: 'e1-6', type: 'step', source: '1', target: '6' }, - // { id: 'e1-7', type: 'step', source: '1', target: '7' }, // { id: 'e1-5', type: 'step', source: '1', target: '5' }, + // { id: 'e5-6', type: 'step', source: '5', target: '6' }, + // { id: 'e6-7', type: 'step', source: '6', target: '7' }, // { id: 'e1-2', type: 'step', source: '1', target: '2' }, // { id: 'e1-3', type: 'step', source: '1', target: '3' }, + //{ id: 'e1-4', type: 'step', source: '1', target: '4' }, // { id: 'e1-4', type: 'step', source: '1', target: '4' }, // { id: 'e1-5', type: 'step', source: '1', target: '5' }, // { id: 'e1-7', type: 'step', source: '1', target: '7' }, diff --git a/src/front/src/views/AboutInspectionPage.vue b/src/front/src/views/AboutInspectionPage.vue index 5187ccc9d..e3e024460 100644 --- a/src/front/src/views/AboutInspectionPage.vue +++ b/src/front/src/views/AboutInspectionPage.vue @@ -2,7 +2,8 @@ - + {{ tabitem.title }} @@ -210,4 +211,9 @@ export default { - \ No newline at end of file + \ No newline at end of file