const sagServerity = {
    namespaced: true,
    state: {
        projectTitleId: "",
        projectUnit: {},
        search:''
    },
    mutations: {
        SET_PROJECTTITLEID: (state, projectTitleId) => {
            state.projectTitleId = projectTitleId
        },
        SET_PROJECTUNIT: (state, projectUnit) => {
            state.projectUnit = projectUnit
        },
        SET_SEARCH: (state, search) => {
            state.search = search
        },
        SET_DEPTREE: (state, deptree) => {
            state.deptree = deptree
        },
        SET_TREEID: (state, treeid) => {
            state.treeid = treeid
        },
        SET_TIMEINTERVAL: (state, timeinterval) => {
            state.timeinterval = timeinterval
        },

    }
}

export default sagServerity
