1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
import {
get,
del,
post
} from '../utils/http'
export function groupScopeByCondition(params) {
return get('/DxDynamicCode/groupScopeByCondition', params)
}
export function generateCodeExecuteTemplate(params) {
return get('/DxDynamicCode/generateCodeExecuteTemplate', params)
}
export function preCompile(params) {
return post('/DxDynamicCode/preCompile', params)
}
export function getHistory(id) {
return get(`/DxDynamicCode/findHistory/${id}`)
}
export function cancelCheckout(objId) {
return post(`/DxDynamicCode/version/${objId}/undoCheckout`)
}
export function checkin(objId) {
return post(`/DxDynamicCode/version/${objId}/checkin`)
}
export function checkout(objId) {
return post(`/DxDynamicCode/version/${objId}/checkout`)
}
export function getWorkingCopy(id) {
return get(`/DxDynamicCode/version/getWorkingCopy/${id}`)
}
export function getRefInfo(id) {
return get(`/DxDynamicCodeReferenceInfo/associated?dynamicCodeId=${id}`)
}
export function deleteAllCode(id) {
return del(`/DxDynamicCode/version/${id}`)
}
export function deleteCode(id) {
return del(`/DxDynamicCode/${id}`)
}
export function getAbility(params) {
return get(`/DxDynamicCodeScopeAbility/allContainParentsScope`, params)
}
export function getCondition(params) {
return get(`/DxDynamicCode/referenceCodeByCondition`, params)
}