Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pptist
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
viitto
pptist
Commits
b6d28653
Commit
b6d28653
authored
May 24, 2024
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
管理国家,字体接口调整
parent
49c9ac59
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
2 deletions
+11
-2
FontService.ts
src/services/FontService.ts
+5
-0
LineService.ts
src/services/LineService.ts
+4
-0
font.vue
src/views/TemplateCenter/font.vue
+1
-1
nation.vue
src/views/TemplateCenter/nation.vue
+1
-1
No files found.
src/services/FontService.ts
View file @
b6d28653
...
...
@@ -7,6 +7,11 @@ class FontService{
return
Api
.
Post
(
"triptemplate_RemoveTripFile"
,{
id
})
}
//获取字体管理文件信息
static
async
GetManagerFontList
():
Promise
<
HttpResponse
>
{
return
Api
.
Post
(
"triptemplate_GetManagerFontList"
,{})
}
//获取字体文件信息
static
async
GetAllFontsAsync
():
Promise
<
HttpResponse
>
{
return
Api
.
Post
(
"triptemplate_GetFontList"
,{})
...
...
src/services/LineService.ts
View file @
b6d28653
...
...
@@ -10,6 +10,10 @@ class LineService{
static
async
BatchSetColor
(
params
:
any
):
Promise
<
HttpResponse
>
{
return
Api
.
Post
(
"triptemplate_BatchSetColor"
,
params
)
}
// 获取管理配置项数据(颜色、国家、季节)
static
async
GetManagerTemplateConfigData
(
params
:
any
):
Promise
<
HttpResponse
>
{
return
Api
.
Post
(
"triptemplate_GetManagerTemplateConfigData"
,
params
)
}
// 获取配置项数据(颜色、国家、季节) Trip_Template_Color Trip_Template_Country Trip_Template_Season
static
async
GetTemplateConfigDataList
(
params
:
any
):
Promise
<
HttpResponse
>
{
return
Api
.
Post
(
"triptemplate_GetTemplateConfigDataList"
,
params
)
...
...
src/views/TemplateCenter/font.vue
View file @
b6d28653
...
...
@@ -315,7 +315,7 @@
const
querySearchHandler
=
async
()
=>
{
loading
.
value
=
true
try
{
let
pageRes
=
await
FontService
.
Get
AllFontsAsync
();
let
pageRes
=
await
FontService
.
Get
ManagerFontList
();
if
(
pageRes
.
data
.
resultCode
==
1
)
{
dataList
.
value
=
pageRes
.
data
.
data
RawDataList
.
value
=
pageRes
.
data
.
data
...
...
src/views/TemplateCenter/nation.vue
View file @
b6d28653
...
...
@@ -206,7 +206,7 @@
const
querySearchHandler
=
async
()
=>
{
loading
.
value
=
true
try
{
let
pageRes
=
await
LineService
.
Get
TemplateConfigDataList
(
queryObj
);
let
pageRes
=
await
LineService
.
Get
ManagerTemplateConfigData
(
queryObj
);
if
(
pageRes
.
data
.
resultCode
==
1
)
{
dataList
.
value
=
pageRes
.
data
.
data
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment