ruleengineApi.ts
1.24 KB
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
66
import { defHttp } from '/@/utils/http/axios';
import { ScreenLinkPageTableQueryParam } from '/@/api/ruleengine/model/ruleengineModel';
enum ScreenManagerApi {
/**
* 场景URL
*/
SCREEN_URL = '/getTable',
}
/**
* 分页查询场景联动表格页面
* @param params pageSize page name
*/
export const screenLinkPageApi = () => {
return defHttp.get<ScreenLinkPageTableQueryParam>({
url: ScreenManagerApi.SCREEN_URL,
});
};
//模拟数据
export const screenLinkPageApiList = () => {
return [
{
id: '10001',
name: '李丽',
act: 1,
stu: '启用',
desc: '好的好的',
createTime: '2021-11-20',
},
{
id: '10002',
name: '史芳',
act: 1,
stu: '停用',
desc: '好的好的',
createTime: '2021-11-20',
},
{
id: '10003',
name: '程强',
act: 1,
stu: '启用',
desc: '好的好的',
createTime: '2021-11-20',
},
{
id: '10004',
name: '罗敏',
act: 1,
stu: '停用',
desc: '好的好的',
createTime: '2021-11-20',
},
{
id: '10005',
name: '蔡杰',
act: 1,
stu: '停用',
desc: '好的好的',
createTime: '2021-11-20',
},
];
};