viewconfig.ts 8.6 KB
Newer Older
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 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287
import { MockAdapter } from '../mock-adapter';
const mock = MockAdapter.getInstance();

import Mock from 'mockjs'

// 获取视图消息分组信息
mock.onGet('./assets/json/view-message-group.json').reply((config: any) => {
    let status = MockAdapter.mockStatus(config);
    return [status,{
                "VMGroup51":[
        {"tag":"ViewMsg50","position":"TOP","type":"ERROR"}
        ],
        "VMGroup65":[
        {"tag":"ViewMsg64","position":"TOP","type":"ERROR"}
        ],
        "VMGroup19":[
        {"tag":"ViewMsg18","position":"TOP","type":"ERROR"}
        ],
        "VMGroup77":[
        {"tag":"ViewMsg76","position":"TOP","type":"ERROR"}
        ],
        "VMGroup36":[
        {"tag":"ViewMsg35","position":"TOP","type":"ERROR"}
        ],
        "VMGroup18":[
        {"tag":"ViewMsg17","position":"TOP","type":"ERROR"}
        ],
        "VMGroup42":[
        {"tag":"ViewMsg41","position":"TOP","type":"ERROR"}
        ],
        "VMGroup70":[
        {"tag":"ViewMsg69","position":"TOP","type":"ERROR"}
        ],
        "VMGroup9":[
        {"tag":"DataViewDar","position":"TOP","type":"ERROR"}
        ],
        "VMGroup55":[
        {"tag":"ViewMsg54","position":"TOP","type":"ERROR"}
        ],
        "VMGroup69":[
        {"tag":"ViewMsg67","position":"TOP","type":"ERROR"}
        ],
        "VMGroup57":[
        {"tag":"ViewMsg56","position":"TOP","type":"ERROR"}
        ],
        "VMGroup27":[
        {"tag":"ViewMsg26","position":"TOP","type":"ERROR"}
        ],
        "VMGroup30":[
        {"tag":"ViewMsg28","position":"TOP","type":"ERROR"}
        ],
        "VMGroup26":[
        {"tag":"ViewMsg25","position":"TOP","type":"ERROR"}
        ],
        "VMGroup22":[
        {"tag":"ViewMsg21","position":"TOP","type":"ERROR"}
        ],
        "VMGroup75":[
        {"tag":"ViewMsg74","position":"TOP","type":"ERROR"}
        ],
        "VMGroup24":[
        {"tag":"ViewMsg23","position":"TOP","type":"ERROR"}
        ],
        "VMGroup49":[
        {"tag":"ViewMsg47","position":"TOP","type":"ERROR"}
        ],
        "VMGroup50":[
        {"tag":"ViewMsg49","position":"TOP","type":"ERROR"}
        ],
        "VMGroup91":[
        {"tag":"ViewMsg90","position":"TOP","type":"ERROR"}
        ],
        "VMGroup5":[
        {"tag":"ViewMsg5","position":"TOP","type":"ERROR"}
        ],
        "VMGroup38":[
        {"tag":"ViewMsg37","position":"TOP","type":"ERROR"}
        ],
        "VMGroup71":[
        {"tag":"ViewMsg70","position":"TOP","type":"ERROR"}
        ],
        "VMGroup72":[
        {"tag":"ViewMsg71","position":"TOP","type":"ERROR"}
        ],
        "VMGroup34":[
        {"tag":"ViewMsg33","position":"TOP","type":"ERROR"}
        ],
        "VMGroup56":[
        {"tag":"ViewMsg55","position":"TOP","type":"ERROR"}
        ],
        "VMGroup93":[
        {"tag":"ViewMsg92","position":"TOP","type":"ERROR"}
        ],
        "VMGroup98":[
        {"tag":"ViewMsg97","position":"TOP","type":"ERROR"}
        ],
        "VMGroup53":[
        {"tag":"ViewMsg52","position":"TOP","type":"ERROR"}
        ],
        "VMGroup16":[
        {"tag":"ViewMsg15","position":"TOP","type":"ERROR"}
        ],
        "VMGroup31":[
        {"tag":"ViewMsg29","position":"TOP","type":"ERROR"}
        ],
        "VMGroup64":[
        {"tag":"ViewMsg63","position":"TOP","type":"ERROR"}
        ],
        "VMGroup23":[
        {"tag":"ViewMsg22","position":"TOP","type":"ERROR"}
        ],
        "VMGroup32":[
        {"tag":"ViewMsg30","position":"TOP","type":"ERROR"}
        ],
        "VMGroup59":[
        {"tag":"ViewMsg58","position":"TOP","type":"ERROR"}
        ],
        "VMGroup90":[
        {"tag":"ViewMsg89","position":"TOP","type":"ERROR"}
        ],
        "VMGroup33":[
        {"tag":"ViewMsg32","position":"TOP","type":"ERROR"}
        ],
        "VMGroup67":[
        {"tag":"ViewMsg66","position":"TOP","type":"ERROR"}
        ],
        "VMGroup88":[
        {"tag":"ViewMsg87","position":"TOP","type":"ERROR"}
        ],
        "VMGroup20":[
        {"tag":"ViewMsg19","position":"TOP","type":"ERROR"}
        ],
        "VMGroup80":[
        {"tag":"ViewMsg79","position":"TOP","type":"ERROR"}
        ],
        "VMGroup54":[
        {"tag":"ViewMsg53","position":"TOP","type":"ERROR"}
        ],
        "VMGroup46":[
        {"tag":"ViewMsg46","position":"TOP","type":"ERROR"}
        ],
        "VMGroup58":[
        {"tag":"ViewMsg57","position":"TOP","type":"ERROR"}
        ],
        "VMGroup78":[
        {"tag":"ViewMsg77","position":"TOP","type":"ERROR"}
        ],
        "VMGroup3":[
        {"tag":"ViewMsg3","position":"TOP","type":"ERROR"}
        ],
        "VMGroup28":[
        {"tag":"ViewMsg27","position":"TOP","type":"ERROR"}
        ],
        "VMGroup73":[
        {"tag":"ViewMsg72","position":"TOP","type":"ERROR"}
        ],
        "VMGroup79":[
        {"tag":"ViewMsg78","position":"TOP","type":"ERROR"}
        ],
        "VMGroup66":[
        {"tag":"ViewMsg65","position":"TOP","type":"ERROR"}
        ],
        "VMGroup63":[
        {"tag":"ViewMsg62","position":"TOP","type":"ERROR"}
        ],
        "VMGroup76":[
        {"tag":"ViewMsg75","position":"TOP","type":"ERROR"}
        ],
        "VMGroup21":[
        {"tag":"ViewMsg20","position":"TOP","type":"ERROR"}
        ],
        "VMGroup95":[
        {"tag":"ViewMsg94","position":"TOP","type":"ERROR"}
        ],
        "VMGroup11":[
        {"tag":"ViewMsg10","position":"TOP","type":"ERROR"}
        ],
        "VMGroup61":[
        {"tag":"ViewMsg60","position":"TOP","type":"ERROR"}
        ],
        "VMGroup94":[
        {"tag":"ViewMsg93","position":"TOP","type":"ERROR"}
        ],
        "VMGroup29":[
        {"tag":"ViewMsg31","position":"TOP","type":"ERROR"}
        ],
        "VMGroup97":[
        {"tag":"ViewMsg96","position":"TOP","type":"ERROR"}
        ],
        "VMGroup82":[
        {"tag":"ViewMsg81","position":"TOP","type":"ERROR"}
        ],
        "VMGroup45":[
        {"tag":"ViewMsg44","position":"TOP","type":"ERROR"}
        ],
        "VMGroup85":[
        {"tag":"ViewMsg84","position":"TOP","type":"ERROR"}
        ],
        "VMGroup96":[
        {"tag":"ViewMsg95","position":"TOP","type":"ERROR"}
        ],
        "VMGroup92":[
        {"tag":"ViewMsg91","position":"TOP","type":"ERROR"}
        ],
        "VMGroup40":[
        {"tag":"ViewMsg39","position":"TOP","type":"ERROR"}
        ],
        "VMGroup6":[
        {"tag":"ViewMsg6","position":"TOP","type":"ERROR"}
        ],
        "VMGroup81":[
        {"tag":"ViewMsg80","position":"TOP","type":"ERROR"}
        ],
        "VMGroup62":[
        {"tag":"ViewMsg61","position":"TOP","type":"ERROR"}
        ],
        "VMGroup":[
        {"tag":"ViewMsg","position":"TOP","type":"ERROR"}
        ],
        "VMGroup14":[
        {"tag":"ViewMsg13","position":"TOP","type":"ERROR"}
        ],
        "VMGroup41":[
        {"tag":"ViewMsg40","position":"TOP","type":"ERROR"}
        ],
        "VMGroup52":[
        {"tag":"ViewMsg51","position":"TOP","type":"ERROR"}
        ],
        "VMGroup2":[
        {"tag":"ViewMsg2","position":"TOP","type":"ERROR"}
        ],
        "VMGroup13":[
        {"tag":"ViewMsg12","position":"TOP","type":"ERROR"}
        ],
        "VMGroup25":[
        {"tag":"ViewMsg24","position":"TOP","type":"ERROR"}
        ],
        "VMGroup15":[
        {"tag":"ViewMsg14","position":"TOP","type":"ERROR"}
        ],
        "VMGroup10":[
        {"tag":"ViewMsg9","position":"TOP","type":"ERROR"}
        ],
        "VMGroup37":[
        {"tag":"ViewMsg36","position":"TOP","type":"ERROR"}
        ],
        "VMGroup48":[
        {"tag":"ViewMsg45","position":"TOP","type":"ERROR"}
        ],
        "VMGroup4":[
        {"tag":"ViewMsg4","position":"TOP","type":"ERROR"}
        ],
        "VMGroup39":[
        {"tag":"ViewMsg38","position":"TOP","type":"ERROR"}
        ],
        "VMGroup74":[
        {"tag":"ViewMsg73","position":"TOP","type":"ERROR"}
        ],
        "VMGroup8":[
        {"tag":"ViewMsg8","position":"TOP","type":"ERROR"}
        ],
        "VMGroup44":[
        {"tag":"ViewMsg43","position":"TOP","type":"ERROR"}
        ],
        "VMGroup17":[
        {"tag":"ViewMsg16","position":"TOP","type":"ERROR"}
        ],
        "VMGroup47":[
        {"tag":"ViewMsg48","position":"TOP","type":"ERROR"}
        ],
        "VMGroup7":[
        {"tag":"ViewMsg7","position":"TOP","type":"ERROR"}
        ],
        "VMGroup12":[
        {"tag":"ViewMsg11","position":"TOP","type":"ERROR"}
        ],
        "VMGroup43":[
        {"tag":"ViewMsg42","position":"TOP","type":"ERROR"}
        ],
        "VMGroup60":[
        {"tag":"ViewMsg59","position":"TOP","type":"ERROR"}
        ],
        "VMGroup68":[
        {"tag":"ViewMsg68","position":"TOP","type":"ERROR"}
        ]
    }];
});