• wangxl's avatar
    3333 · 25bc000b
    wangxl authored
    25bc000b
config.js 8.89 KB
const budgetList = () => {
    return [{
        type: 'count',
        id: '',
        budgetId: '',
        budgetName: '一、来源预算合计',
        totalBudget: 0.00,
        govBudget: 0.00,
        unitBudget: 0.00,
        remark: '',
        // 数据总和来源
        source: [1, 2],
        disabled: ''
    }, {
        type: 'ins',
        id: '',
        budgetId: '',
        budgetName: '(一)市卫健委科技经费',
        totalBudget: 0.00,
        govBudget: 0.00,
        unitBudget: 0.00,
        remark: '',
        // 数据总和来源
        source: [],
        disabled: 'govBudget'
    }, {
        type: 'ins',
        id: '',
        budgetId: '',
        budgetName: '(二)单位自筹经费',
        totalBudget: 0.00,
        govBudget: 0.00,
        unitBudget: 0.00,
        remark: '',
        // 数据总和来源
        source: [],
        disabled: 'unitBudget'
    }, {
        type: 'count',
        id: '',
        budgetId: '',
        budgetName: '二、支出预算合计',
        totalBudget: 0.00,
        govBudget: 0.00,
        unitBudget: 0.00,
        remark: '',
        // 数据总和来源
        source: [4, 5, 6, 7, 8, 9, 10, 11, 12, 13],
        disabled: ''
    }, {
        type: 'ins',
        id: '',
        budgetId: '',
        budgetName: '(一)材料费',
        totalBudget: 0.00,
        govBudget: 0.00,
        unitBudget: 0.00,
        remark: '',
        // 数据总和来源
        source: [],
        disabled: ''
    }, {
        type: 'ins',
        id: '',
        budgetId: '',
        budgetName: '(二)测试化验加工费',
        totalBudget: 0.00,
        govBudget: 0.00,
        unitBudget: 0.00,
        remark: '',
        // 数据总和来源
        source: [],
        disabled: ''

    }, {

        type: 'ins',
        id: '',
        budgetId: '',
        budgetName: '(三)差旅费',
        totalBudget: 0.00,
        govBudget: 0.00,
        unitBudget: 0.00,
        remark: '',
        // 数据总和来源
        source: [],
        disabled: ''
    }, {

        type: 'ins',
        id: '',
        budgetId: '',
        budgetName: '(四)会议费',
        totalBudget: 0.00,
        govBudget: 0.00,
        unitBudget: 0.00,
        remark: '',
        // 数据总和来源
        source: [],
        disabled: ''
    }, {

        type: 'ins',
        id: '',
        budgetId: '',
        budgetName: '(五)培训费',
        totalBudget: 0.00,
        govBudget: 0.00,
        unitBudget: 0.00,
        remark: '',
        // 数据总和来源
        source: [],
        disabled: ''
    }, {
        type: 'ins',
        id: '',
        budgetId: '',
        budgetName: '(六)出版/文献/信息传播/知识产权事务费及翻译费',
        totalBudget: 0.00,
        govBudget: 0.00,
        unitBudget: 0.00,
        remark: '',
        // 数据总和来源
        source: [],
        disabled: ''
    }, {
        type: 'ins',
        id: '',
        budgetId: '',
        budgetName: '(七)专家咨询费',
        totalBudget: 0.00,
        govBudget: 0.00,
        unitBudget: 0.00,
        remark: '',
        // 数据总和来源
        source: [],
        disabled: ''
    }, {
        type: 'ins',
        id: '',
        budgetId: '',
        budgetName: '(八)劳务费',
        totalBudget: 0.00,
        govBudget: 0.00,
        unitBudget: 0.00,
        remark: '',
        // 数据总和来源
        source: [],
        disabled: ''
    }, {
        type: 'ins',
        id: '',
        budgetId: '',
        budgetName: '(九)管理费',
        totalBudget: 0.00,
        govBudget: 0.00,
        unitBudget: 0.00,
        remark: '',
        // 数据总和来源
        source: [],
        disabled: ''
    }, {
        type: 'ins',
        id: '',
        budgetId: '',
        budgetName: '(十)其他费用',
        totalBudget: 0.00,
        govBudget: 0.00,
        unitBudget: 0.00,
        remark: '',
        // 数据总和来源
        source: [],
        disabled: ''
    }]
}
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
}