mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-02 20:19:16 +08:00
refactor(系统设置): 修改查询模版的接口调用
This commit is contained in:
parent
0f3900f17b
commit
d4e1614b65
@ -47,13 +47,13 @@ export function getAllServiceIntegration() {
|
||||
}
|
||||
|
||||
export function getFieldTemplateCaseOption(projectId) {
|
||||
return get(`/project/field/template/case/option/${projectId}`);
|
||||
return get(projectId ? `/project/field/template/case/option/${projectId}` : `/project/field/template/case/option`);
|
||||
}
|
||||
|
||||
export function getFieldTemplateIssueOption(projectId) {
|
||||
return get(`/project/field/template/issue/option/${projectId}`);
|
||||
return get(projectId ? `/project/field/template/issue/option/${projectId}` : `/project/field/template/issue/option`);
|
||||
}
|
||||
|
||||
export function getFieldTemplateApiOption(projectId) {
|
||||
return get(`/project/field/template/api/option/${projectId}`);
|
||||
return get(projectId ? `/project/field/template/api/option/${projectId}` : `/project/field/template/api/option`);
|
||||
}
|
||||
|
@ -100,7 +100,7 @@ export default {
|
||||
userResourceUrl: {
|
||||
type: String,
|
||||
default() {
|
||||
return '/user/list/';
|
||||
return '/user/list';
|
||||
}
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user