• wangxl's avatar
    3333 · 5b9364e2
    wangxl authored
    5b9364e2
config.js 14.1 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 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 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417
const budgetList = () => {
    return [
        {
            id: null,
            level: 1,
            budgetId: "3b1f57d3-6aec-4129-aef5-702a1accfe01",
            objectId: null,
            totalBudget: 0.00,
            applyFunds: 0.00,
            selfFunds: 0.00,
            calculationBasis: "",
            budgetName: "一、资金来源合计",
            source: [1, 2],
            code: null,
            type: 'count'
        },
        {
            id: null,
            level: 2,
            budgetId: "3b1f57d3-6aec-4129-aef5-702a1accfe02",
            objectId: null,
            totalBudget: 0.00,
            applyFunds: 0.00,
            selfFunds: 0.00,
            calculationBasis: "",
            budgetName: "(一)财政资金",
            source: null,
            code: 'applyFunds',
            type: 'ins'
        },
        {
            id: null,
            level: 2,
            budgetId: "3b1f57d3-6aec-4129-aef5-702a1accfe03",
            objectId: null,
            totalBudget: 0.00,
            applyFunds: 0.00,
            selfFunds: 0.00,
            calculationBasis: "",
            budgetName: "(二)自筹资金",
            source: [3, 4, 5, 6],
            code: 'selfFunds',
            type: 'count'
        },
        {
            id: null,
            level: 3,
            budgetId: "3b1f57d3-6aec-4129-aef5-702a1accfe04",
            objectId: null,
            totalBudget: 0.00,
            applyFunds: 0.00,
            selfFunds: 0.00,
            calculationBasis: "",
            budgetName: "1.承担单位自有货币资金",
            source: null,
            code: 'selfFunds',
            type: 'ins'
        },
        {
            id: null,
            level: 3,
            budgetId: "3b1f57d3-6aec-4129-aef5-702a1accfe05",
            objectId: null,
            totalBudget: 0.00,
            applyFunds: 0.00,
            selfFunds: 0.00,
            calculationBasis: "",
            budgetName: "2.从银行获得的贷款",
            source: null,
            code: 'selfFunds',
            type: 'ins'
        },
        {
            id: null,
            level: 3,
            budgetId: "3b1f57d3-6aec-4129-aef5-702a1accfe06",
            objectId: null,
            totalBudget: 0.00,
            applyFunds: 0.00,
            selfFunds: 0.00,
            calculationBasis: "",
            budgetName: "3.其他财政拨款",
            source: null,
            code: 'selfFunds',
            type: 'ins'
        },
        {
            id: null,
            level: 3,
            budgetId: "3b1f57d3-6aec-4129-aef5-702a1accfe07",
            objectId: null,
            totalBudget: 0.00,
            applyFunds: 0.00,
            selfFunds: 0.00,
            calculationBasis: "",
            budgetName: "4.其他资金",
            source: null,
            code: 'selfFunds',
            type: 'ins'
        },
        {
            id: null,
            level: 1,
            budgetId: "3b1f57d3-6aec-4129-aef5-702a1accfe08",
            objectId: null,
            totalBudget: 0.00,
            applyFunds: 0.00,
            selfFunds: 0.00,
            calculationBasis: "",
            budgetName: "二、支出预算合计",
            source: [8, 22],
            code: null,
            type: 'count'
        },
        {
            id: null,
            level: 2,
            budgetId: "3b1f57d3-6aec-4129-aef5-702a1accfe09",
            objectId: null,
            totalBudget: 0.00,
            applyFunds: 0.00,
            selfFunds: 0.00,
            calculationBasis: "",
            budgetName: "(一)直接费用",
            source: [9, 14, 15, 16, 17, 18, 19, 20, 21],
            code: null,
            type: 'count'
        },
        {
            id: null,
            level: 3,
            budgetId: "3b1f57d3-6aec-4129-aef5-702a1accfe10",
            objectId: null,
            totalBudget: 0.00,
            applyFunds: 0.00,
            selfFunds: 0.00,
            calculationBasis: "",
            budgetName: "1.设备费",
            source: [10, 11, 12, 13],
            code: null,
            type: 'count'
        },
        {
            id: null,
            level: 4,
            budgetId: "3b1f57d3-6aec-4129-aef5-702a1accfe11",
            objectId: null,
            totalBudget: 0.00,
            applyFunds: 0.00,
            selfFunds: 0.00,
            calculationBasis: "",
            budgetName: "(1)设备购置费",
            source: null,
            code: null,
            type: 'ins'
        },
        {
            id: null,
            level: 4,
            budgetId: "3b1f57d3-6aec-4129-aef5-702a1accfe12",
            objectId: null,
            totalBudget: 0.00,
            applyFunds: 0.00,
            selfFunds: 0.00,
            calculationBasis: "",
            budgetName: "(2)试制设备费",
            source: null,
            code: null,
            type: 'ins'
        },
        {
            id: null,
            level: 4,
            budgetId: "3b1f57d3-6aec-4129-aef5-702a1accfe13",
            objectId: null,
            totalBudget: 0.00,
            applyFunds: 0.00,
            selfFunds: 0.00,
            calculationBasis: "",
            budgetName: "(3)设备改造费",
            source: null,
            code: null,
            type: 'ins'
        },
        {
            id: null,
            level: 4,
            budgetId: "3b1f57d3-6aec-4129-aef5-702a1accfe14",
            objectId: null,
            totalBudget: 0.00,
            applyFunds: 0.00,
            selfFunds: 0.00,
            calculationBasis: "",
            budgetName: "(4)设备租赁费",
            source: null,
            code: null,
            type: 'ins'
        },
        {
            id: null,
            level: 3,
            budgetId: "3b1f57d3-6aec-4129-aef5-702a1accfe15",
            objectId: null,
            totalBudget: 0.00,
            applyFunds: 0.00,
            selfFunds: 0.00,
            calculationBasis: "",
            budgetName: "2.材料费",
            source: null,
            code: null,
            type: 'ins'
        },
        {
            id: null,
            level: 3,
            budgetId: "3b1f57d3-6aec-4129-aef5-702a1accfe16",
            objectId: null,
            totalBudget: 0.00,
            applyFunds: 0.00,
            selfFunds: 0.00,
            calculationBasis: "",
            budgetName: "3.燃料动力费",
            source: null,
            code: null,
            type: 'ins'
        },
        {
            id: null,
            level: 3,
            budgetId: "3b1f57d3-6aec-4129-aef5-702a1accfe17",
            objectId: null,
            totalBudget: 0.00,
            applyFunds: 0.00,
            selfFunds: 0.00,
            calculationBasis: "",
            budgetName: "4.测试化验加工费",
            source: null,
            code: null,
            type: 'ins'
        },
        {
            id: null,
            level: 3,
            budgetId: "3b1f57d3-6aec-4129-aef5-702a1accfe18",
            objectId: null,
            totalBudget: 0.00,
            applyFunds: 0.00,
            selfFunds: 0.00,
            calculationBasis: "",
            budgetName: "5.差旅费/会议费/国际合作交流费",
            source: null,
            code: null,
            type: 'ins'
        },
        {
            id: null,
            level: 3,
            budgetId: "3b1f57d3-6aec-4129-aef5-702a1accfe19",
            objectId: null,
            totalBudget: 0.00,
            applyFunds: 0.00,
            selfFunds: 0.00,
            calculationBasis: "",
            budgetName: "6.劳务费",
            source: null,
            code: null,
            type: 'ins'
        },
        {
            id: null,
            level: 3,
            budgetId: "3b1f57d3-6aec-4129-aef5-702a1accfe20",
            objectId: null,
            totalBudget: 0.00,
            applyFunds: 0.00,
            selfFunds: 0.00,
            calculationBasis: "",
            budgetName: "7.专家咨询费",
            source: null,
            code: null,
            type: 'ins'
        },
        {
            id: null,
            level: 3,
            budgetId: "3b1f57d3-6aec-4129-aef5-702a1accfe21",
            objectId: null,
            totalBudget: 0.00,
            applyFunds: 0.00,
            selfFunds: 0.00,
            calculationBasis: "",
            budgetName: "8.出版/文献/信息传播/知识产权\n事务费",
            source: null,
            code: null,
            type: 'ins'
        },
        {
            id: null,
            level: 3,
            budgetId: "3b1f57d3-6aec-4129-aef5-702a1accfe22",
            objectId: null,
            totalBudget: 0.00,
            applyFunds: 0.00,
            selfFunds: 0.00,
            calculationBasis: "",
            budgetName: "9.其他支出",
            source: null,
            code: null,
            type: 'ins'
        },
        {
            id: null,
            level: 2,
            budgetId: "3b1f57d3-6aec-4129-aef5-702a1accfe23",
            objectId: null,
            totalBudget: 0.00,
            applyFunds: 0.00,
            selfFunds: 0.00,
            calculationBasis: "",
            budgetName: "(二)间接费用\r\n",
            source: null,
            code: null,
            type: 'ins'
        }
    ]
}

const titleList = [{ title: '主任医师', key: '0caa997f-e1d9-4412-9589-acc8ff7f5fb8' },
{ title: '主任技师', key: 'bc904c24-d2a1-4393-b693-047bd4f958ce' },
{ title: '主任护师', key: '43073c81-f400-43e1-aecf-8b43012363ad' },
{ title: '主任药师', key: '06fccdef-bde3-4970-bab4-5bd456c58290' },
{ title: '公共卫生主任医师', key: 'bf66daa3-b5dc-4a91-a8c3-e62b3179753a' },
{ title: '口腔主任医师', key: 'e1aaf661-3832-4c5a-8ad4-ebbb0e744c06' },
{ title: '教授', key: '6d880a2a-5c2f-4270-86cb-866b2c0f3bc0' },
{ title: '研究员', key: '82c361ed-8e8e-4b59-8721-ca8f446a1b91' },
{ title: '研究员级高级工程师', key: '03c070c9-ed2f-48b1-8046-bb2bac0b71fa' },
{ title: '高级会计师', key: '9696eeee-8c1c-4ed9-97b3-78f3800644a3' },
{ title: '公共卫生副主任医师', key: '9696eeee-8c1c-4ed9-97b3-5b63800644a3' },
{ title: '副主任医师', key: 'f7c96a3b-3487-4d1e-98fa-9f4a8e2ee135' },
{ title: '副主任技师', key: '2e21cc25-9215-434f-a28a-674e58c03fc5' },
{ title: '副主任护师', key: '48a76732-6c37-46ff-bf5c-2abf97b5bf2d' },
{ title: '副主任药师', key: '2871fbc8-2d82-48c3-821b-e290fcc1bdb4' },
{ title: '副教授', key: 'd0cf8dbf-276e-4bc9-be15-f54310928c51' },
{ title: '副研究员', key: '70457c26-8d12-45ed-ba4b-94f719a74aef' },
{ title: '口腔副主任医师', key: '89c7745f-95f9-4db0-82d6-8c0c759686c9' },
{ title: '高级工程师', key: 'e566d0a7-b7e1-47f0-a3ca-cc4b80561a94' },
{ title: '主治医师', key: '083c8875-4f0d-4234-b29a-28918462d0c8' },
{ title: '主管技师', key: '22deacea-78f5-4587-8f5d-96ea7463dde6' },
{ title: '主管护师', key: '5f728a1b-ec20-4f94-ae30-6d38d2aaa5e7' },
{ title: '主管药师', key: 'bbdef542-ba8d-4323-82c5-536ac8548b55' },
{ title: '会计师', key: '5f728a1b-ec30-4f94-ae30-6d38d2aaa5e7' },
{ title: '公共卫生主治医师', key: '5edacfe8-948e-473e-895d-b08bbb017298' },
{ title: '助理研究员', key: '11e1329f-86e8-4022-9f43-42ed50018042' },
{ title: '口腔主治医师', key: '3be16465-4fb0-4677-a18c-0d6e1670cde0' },
{ title: '工程师', key: '9b8c6af4-8d85-435c-a741-9fbb4c194a0b' },
{ title: '统计师', key: '8d79030b-254d-11ee-a6b6-0c42a1e82e90' },
{ title: '讲师', key: '8d52d54d-2eb8-4e74-b042-79c294911cd8' },
{ title: '公共卫生医士', key: 'fb994954-aa68-48e0-b1a6-6ea493baf8ca' },
{ title: '公共卫生医师', key: 'acc3de78-e389-46c3-bc9c-05f0768f0e11' },
{ title: '助教', key: '75af699f-66f9-49e2-84b9-452dcee98e64' },
{ title: '助理工程师', key: 'b9be97ac-f6e3-4984-8c76-0f15c7e69231' },
{ title: '医士', key: '97c4266c-34f9-457b-8689-65e4ce98d23e' },
{ title: '医师', key: 'f6e3c4df-1442-41d7-b37e-9642a9bb280f' },
{ title: '口腔医士', key: 'bae73c8a-3459-4535-a033-3c9be806573d' },
{ title: '口腔医师', key: 'a7f0122b-fe05-4a3b-ae69-a7326061cfc9' },
{ title: '实习研究员', key: '4392d33a-d186-4378-977d-583461f7c958' },
{ title: '技士', key: 'fd22d793-eb61-4dca-89d2-4dc6b95d3b9d' },
{ title: '技师', key: '7877c786-c506-4e11-a309-ce717dc006a7' },
{ title: '技术员', key: 'dd6cfca2-70b1-4266-a8c4-503dfd6a06b1' },
{ title: '护士', key: '01dad6a5-75fb-4eac-861e-c5c996435896' },
{ title: '护师', key: '2bd407f1-acdc-4162-9142-f1f2ce2b85d3' },
{ title: '药士', key: 'bf11c145-54c6-4c2c-8c7e-273e1529cb36' },
{ title: '药师', key: 'c265a7ba-ecd1-4937-86fe-6a8b1b8d448b' },
{ title: '见习医士', key: '878ef114-f7d1-4548-a485-19dfa02b7a8a' },
{ title: '见习医师', key: '6671f8be-a8ed-46e2-827f-0e1461aae330' },
{ title: '见习技师', key: '4858ba5b-d3e6-4a86-9bff-cde5cb24011e' },
{ title: '见习护士', key: 'ade9cfcc-a8b2-4f4a-ac47-5c701e7666a8' },
{ title: '见习护师', key: '62cc9f96-6483-4cd9-aaba-ff64d15dc4dc' },
{ title: '见习药士', key: 'c37000f3-7e17-4faf-83c3-fc62853c0ab8' },
{ title: '见习药师', key: '8a7b700c-82cb-49ff-a022-9049eadd07d5' },
{ title: '见习药师', key: 'a8b51dbf-88b9-4a5b-a8c7-21a91f30494b' },
{ title: '讲师', key: '1b5e0c69-335e-4d05-b285-e34ffd76b23c' },
{ title: '无职称', key: '24bf7a5b-78e8-425f-b3c2-a65d9c42b247' },]

const degreeList = [{ key: 'c6c21d5d-8c0b-4f6c-a8a7-c508673d1617', title: '博士后' },
{ key: 'f6c21d5d-8c0b-4f6c-a8a7-c508673d1615', title: '博士' },
{ key: 'fe111771-dac8-42c7-806a-4dd2ef73f3a8', title: '硕士' },
{ key: '13c4f337-6f7a-4a9b-adc2-b61c3b233fac', title: '学士' },
{ key: '150caf77-a928-46da-b069-ae5a979703fc', title: '无' },]

export function getTitle (name) {
    let newArray = titleList.filter(
        function (el) {
            return el.title == name
        }
    );
    if (!!newArray && newArray.length > 0)
        return newArray[0].key
    else
        return null
}

export function getDegree (name) {
    let newArray = degreeList.filter(
        function (el) {
            return el.title == name
        }
    );
    if (!!newArray && newArray.length > 0)
        return newArray[0].key
    else
        return null
}

export {
    budgetList, titleList, degreeList
}