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
a39d3e6d
Commit
a39d3e6d
authored
Nov 22, 2023
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
b0b2e3cc
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
9 deletions
+26
-9
ConfigService.ts
src/services/ConfigService.ts
+26
-9
No files found.
src/services/ConfigService.ts
View file @
a39d3e6d
import
Api
,{
HttpResponse
,
Result
}
from
'./../utils/request'
;
import
Api
,
{
HttpResponse
,
Result
}
from
'./../utils/request'
;
/**
* 配置相关方法
*/
class
ConfigService
{
class
ConfigService
{
/**
* 获取绑定数据源列表
*/
static
async
TemplateGetTripFiled
(
params
:
any
):
Promise
<
HttpResponse
>
{
return
Api
.
Post
(
"triptemplate_GetTripFiled"
,
params
)
static
async
TemplateGetTripFiled
(
params
:
any
):
Promise
<
HttpResponse
>
{
return
Api
.
Post
(
"triptemplate_GetTripFiled"
,
params
)
}
/**
*
* @returns 获取模板查询条件
*/
static
async
GetTemplateQueryAsync
():
Promise
<
HttpResponse
>
{
return
Api
.
Post
(
"triptemplate_GetTemplateConfigData"
,{})
static
async
GetTemplateQueryAsync
():
Promise
<
HttpResponse
>
{
return
Api
.
Post
(
"triptemplate_GetTemplateConfigData"
,
{})
}
/**
* 获取模板市场分页列表
*/
static
async
GetTemplagePageAsync
(
params
:
any
):
Promise
<
HttpResponse
>
{
return
Api
.
Post
(
"triptemplate_GetTripTemplatePage"
,
params
)
static
async
GetTemplagePageAsync
(
params
:
any
):
Promise
<
HttpResponse
>
{
return
Api
.
Post
(
"triptemplate_GetTripTemplatePage"
,
params
);
}
/**
* 根据配置编号(ConfigId)获取行程配置信息[根据编号获取行程数据(修改使用)]
*/
static
async
GetTripConfig
(
params
:
any
):
Promise
<
HttpResponse
>
{
return
Api
.
Post
(
"triptemplate_GetTripConfig"
,
params
);
}
/**
* 根据ConfigId获取行程中的配置信息【初始化使用】
*/
static
async
GetTripFiledData
(
params
:
any
):
Promise
<
HttpResponse
>
{
return
Api
.
Post
(
"triptemplate_GetTripConfig"
,
params
);
}
}
export
default
ConfigService
;
\ No newline at end of file
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