{{ props.option.title }}
@@ -37,12 +37,13 @@
-
-
\ No newline at end of file
diff --git a/hwe/ts/processing/General/che_군량매매.vue b/hwe/ts/processing/General/che_군량매매.vue
new file mode 100644
index 00000000..b6384f6c
--- /dev/null
+++ b/hwe/ts/processing/General/che_군량매매.vue
@@ -0,0 +1,78 @@
+
+
+
+
+ 자신의 군량을 사거나 팝니다.
+
+
+
+ 군량을 :
+
+ 삼
+ 팜
+
+
+
+
+ {{ commandName }}
+
+
+
+
+
+
+
diff --git a/hwe/ts/processing/General/che_등용.vue b/hwe/ts/processing/General/che_등용.vue
new file mode 100644
index 00000000..f16c9407
--- /dev/null
+++ b/hwe/ts/processing/General/che_등용.vue
@@ -0,0 +1,99 @@
+
+
+
+
+ 재야나 타국의 장수를 등용합니다.
+ 서신은 개인 메세지로 전달됩니다.
+ 등용할 장수를 목록에서 선택하세요.
+
+
+
+ 장수 :
+
+
+
+ {{ commandName }}
+
+
+
+
+
+
+
diff --git a/hwe/ts/processing/General/index.ts b/hwe/ts/processing/General/index.ts
index a7c5e41d..d4f4a1f8 100644
--- a/hwe/ts/processing/General/index.ts
+++ b/hwe/ts/processing/General/index.ts
@@ -1,9 +1,13 @@
import { default as che_건국} from "./che_건국.vue";
+import { default as che_군량매매} from "./che_군량매매.vue";
+import { default as che_등용} from "./che_등용.vue";
import { default as CityProcess} from "./che_이동.vue";
export const commandMap: Record
= {
che_강행: CityProcess,
+ che_군량매매,
che_건국,
+ che_등용,
che_이동: CityProcess,
che_출병: CityProcess,
}
\ No newline at end of file
diff --git a/hwe/ts/processing/GeneralSelect.vue b/hwe/ts/processing/GeneralSelect.vue
index 48f2de9e..200475e9 100644
--- a/hwe/ts/processing/GeneralSelect.vue
+++ b/hwe/ts/processing/GeneralSelect.vue
@@ -5,6 +5,8 @@
:allow-empty="false"
:options="forFind"
:group-select="false"
+ :group-values="groupByNation ? 'values' : undefined"
+ group-label="nationID"
label="searchText"
track-by="value"
:show-labels="false"
@@ -18,7 +20,21 @@
:searchable="searchMode"
>
-
+
+
+ {{ groupByNation.get(props.option.$groupLabel).name }}
+
{{ props.option.simpleName }}
@@ -29,10 +45,13 @@
import { getNpcColor } from "@/common_legacy";
import { automata초성All } from "@/util/automata초성";
import { filter초성withAlphabet } from "@/util/filter초성withAlphabet";
+import { isBrightColor } from "@/util/isBrightColor";
+import { unwrap } from "@/util/unwrap";
import { defineComponent, PropType } from "vue";
import {
procGeneralItem,
procGeneralList,
+ procNationItem,
} from "./processingRes";
type SelectedGeneral = {
@@ -58,6 +77,11 @@ export default defineComponent({
required: false,
default: undefined,
},
+ groupByNation: {
+ type: Map as PropType