From e2ed918437205bfd722a4ec03628f02613f35277 Mon Sep 17 00:00:00 2001 From: hide_d Date: Sat, 18 Dec 2021 19:09:02 +0900 Subject: [PATCH] =?UTF-8?q?feat(WIP):=20process=20=EA=B5=AD=EA=B8=B0?= =?UTF-8?q?=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/sammo/Command/Nation/che_국기변경.php | 28 +----- hwe/ts/processing/ColorSelect.vue | 111 ++++++++++++++++++++++ hwe/ts/processing/Nation/che_국기변경.vue | 61 ++++++++++++ hwe/ts/processing/Nation/index.ts | 1 + 4 files changed, 177 insertions(+), 24 deletions(-) create mode 100644 hwe/ts/processing/ColorSelect.vue create mode 100644 hwe/ts/processing/Nation/che_국기변경.vue diff --git a/hwe/sammo/Command/Nation/che_국기변경.php b/hwe/sammo/Command/Nation/che_국기변경.php index 4a4777dc..50d045ac 100644 --- a/hwe/sammo/Command/Nation/che_국기변경.php +++ b/hwe/sammo/Command/Nation/che_국기변경.php @@ -152,32 +152,12 @@ class che_국기변경 extends Command\NationCommand return true; } - public function getJSPlugins(): array + public function exportJSVars(): array { return [ - 'colorSelect' + 'procRes' => [ + 'colors' => GetNationColors(), + ], ]; } - - - public function getForm(): string - { - ob_start(); -?> - 국기를 변경합니다. 단 1회 가능합니다.
- 색상 :
-
- + + + + + + + + \ No newline at end of file diff --git a/hwe/ts/processing/Nation/che_국기변경.vue b/hwe/ts/processing/Nation/che_국기변경.vue new file mode 100644 index 00000000..14d5f05b --- /dev/null +++ b/hwe/ts/processing/Nation/che_국기변경.vue @@ -0,0 +1,61 @@ + + + diff --git a/hwe/ts/processing/Nation/index.ts b/hwe/ts/processing/Nation/index.ts index a3e3ca23..f192048a 100644 --- a/hwe/ts/processing/Nation/index.ts +++ b/hwe/ts/processing/Nation/index.ts @@ -1,2 +1,3 @@ +export { default as che_국기변경 } from "./che_국기변경.vue"; export { default as che_발령 } from "./che_발령.vue"; export { default as che_포상 } from "./che_포상.vue"; \ No newline at end of file