diff --git a/src/components/BasicTags/model/index.ts b/src/components/BasicTags/model/index.ts index fcb32a0..d8b111f 100644 --- a/src/components/BasicTags/model/index.ts +++ b/src/components/BasicTags/model/index.ts @@ -1,4 +1,10 @@ export interface TagItem { id: number | undefined name: string | undefined + title_fa?: string + key?: string + value?: string + type?: string + description?: string + is_active: boolean } diff --git a/src/model/configuration.ts b/src/model/configuration.ts index d2f4567..1d837d2 100644 --- a/src/model/configuration.ts +++ b/src/model/configuration.ts @@ -19,8 +19,11 @@ export interface SupportLink { export interface itemConfig { id: number | string name: string + title_fa?: string value: string key: string type: string - list: [] + description?: string + is_active?: boolean + list: string[] } \ No newline at end of file diff --git a/src/model/wallet.ts b/src/model/wallet.ts index 986d4bd..a457232 100644 --- a/src/model/wallet.ts +++ b/src/model/wallet.ts @@ -28,6 +28,7 @@ export interface Charge { value?: number note?: string customer_id?: number + talabBedehi?: boolean } export interface WithdrawStatus { diff --git a/src/pages/menuPages/configuration/components/LongtextConfigs.vue b/src/pages/menuPages/configuration/components/LongtextConfigs.vue index b6d96f0..5b7c53e 100644 --- a/src/pages/menuPages/configuration/components/LongtextConfigs.vue +++ b/src/pages/menuPages/configuration/components/LongtextConfigs.vue @@ -1,59 +1,80 @@ - - - {{ item.name }} - کلید: {{ item.key }} + + + + + {{ item.title_fa ?? item.name ?? '-' }} + + + + - - - + کلید: {{ item.key }} + + + + class="editor-box mt-2" + /> + + \ No newline at end of file diff --git a/src/pages/menuPages/customers/base/index.vue b/src/pages/menuPages/customers/base/index.vue index 40ef363..e010def 100644 --- a/src/pages/menuPages/customers/base/index.vue +++ b/src/pages/menuPages/customers/base/index.vue @@ -216,6 +216,9 @@ @close="showMoneyWalletCharge = false" > + + طلب/بدهی + @@ -237,6 +240,9 @@ @close="showGoldWalletCharge = false" > + + طلب/بدهی + - n + + + طلب/بدهی + @@ -386,6 +389,9 @@ @close="showGoldWalletCharge = false" > + + طلب/بدهی +