智慧保安互联网APP
shuishen
2021-08-13 eaa83986e35d478bdfef55b49941fc6b4b86d95e
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
 
// 获取服务按钮数据
export function fakeServiceButton() {
    return new Promise((resolute, reject) => {
        try {
            const list = [{
                    name: '单位检查列表',
                    img: '/static/images/examine/unit.png',
                    url: '../examine/unit'
                },
                {
                    name: '保安检查列表',
                    img: '/static/images/examine/people.png',
                    url: '../examine/people'
                },
                {
                    name: '新增单位检查',
                    img: '/static/images/examine/addunit.png',
                    url: '../examine/addunit'
                },
                {
                    name: '新增人员检查',
                    img: '/static/images/examine/addpeople.png',
                    url: '../examine/addpeople'
                }
            ];
            resolute(list);
        } catch (e) {
            //模拟接口请求失败
            reject(e);
        }
    })
}