seatonwan9
2025-08-24 2c55b1a8a0700df79268550335506637b41610ce
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
58
59
60
61
62
63
64
65
import createAxios from '@/utils/axios'
 
// 图谱分析-流程
const url: string = '/resourceAtlasFlow'
// 图谱分析-场景痛点
const url2: string = '/resourceAtlasScene'
// 图谱分析-产品详情
const url3: string = '/resourceAtlasProduct'
 
const resourceService = {
    listByParentIdUrl(data: object = {}): ApiPromise {
        return createAxios({
            url: `${url}/listByParentId`,
            headers: {
                'Content-Type': 'application/json;charset=UTF-8',
            },
            data: data,
        }) as ApiPromise
    },
    // 获取列表  分页
    comprehensiveListUrl(data: object = {}): ApiPromise {
        return createAxios({
            url: `${url}/comprehensiveList`,
            headers: {
                'Content-Type': 'application/json;charset=UTF-8',
            },
            data: data,
        }) as ApiPromise
    },
    // 获取思维导图
    mindMapUrl(data: object = {}): ApiPromise {
        return createAxios({
            url: `${url}/mindMap`,
            headers: {
                'Content-Type': 'application/json;charset=UTF-8',
            },
            data: data,
        }) as ApiPromise
    },
 
    // 获取弹出框数据-场景痛点
    getByFlowIdUrl(data: object = {}): ApiPromise {
        return createAxios({
            url: `${url2}/getByFlowId`,
            headers: {
                'Content-Type': 'application/json;charset=UTF-8',
            },
            data: data,
        }) as ApiPromise
    },
 
    // 获取弹出框数据-产品详情
    listByFlowIdUrl(data: object = {}): ApiPromise {
        return createAxios({
            url: `${url3}/listByFlowId`,
            headers: {
                'Content-Type': 'application/json;charset=UTF-8',
            },
            data: data,
        }) as ApiPromise
    },
 
}
 
export default resourceService