Commit b6d28653 authored by zhengke's avatar zhengke

管理国家,字体接口调整

parent 49c9ac59
......@@ -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",{})
......
......@@ -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)
......
......@@ -315,7 +315,7 @@
const querySearchHandler = async () => {
loading.value = true
try {
let pageRes = await FontService.GetAllFontsAsync();
let pageRes = await FontService.GetManagerFontList();
if (pageRes.data.resultCode == 1) {
dataList.value = pageRes.data.data
RawDataList.value = pageRes.data.data
......
......@@ -206,7 +206,7 @@
const querySearchHandler = async () => {
loading.value = true
try {
let pageRes = await LineService.GetTemplateConfigDataList(queryObj);
let pageRes = await LineService.GetManagerTemplateConfigData(queryObj);
if (pageRes.data.resultCode == 1) {
dataList.value = pageRes.data.data
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment