12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- import cloneDeep from 'lodash/cloneDeep'
- const stateReset = {
- isShowSeiminModel: false,
- qucikCreateOrderType: "",
- qucikCreateOrderTypeId: "",
- deptDisplay: 1,
- updateTipsForNurses: "",
- specimenButton: "",
-
-
-
-
- nurseDeptSwitchTip: 0,
-
- searchDeptResult: {},
-
- searchDeptResultList: {},
-
- searchDeptParams: {},
- };
- const state = cloneDeep(stateReset);
- const getters = {};
- const mutations = {
-
- resetVxOther(state) {
- Object.assign(state, cloneDeep(stateReset));
- },
-
- changeSeiminModel(state, args) {
- state.isShowSeiminModel = args;
- },
-
- changeQucikCreateOrderType(state, args) {
- state.qucikCreateOrderType = args.type;
- state.qucikCreateOrderTypeId = args.taskTypeId;
- },
-
- changeDeptDisplay(state, args) {
- state.deptDisplay = args;
- },
-
- changeUpdateTipsForNurses(state, args) {
- state.updateTipsForNurses = args;
- },
-
- changeSpecimenButton(state, args) {
- state.specimenButton = args;
- },
-
- changeNurseDeptSwitchTip(state, args) {
- state.nurseDeptSwitchTip = args;
- },
-
- changeSearchDeptResult(state, args) {
- state.searchDeptResult = args || {};
- },
-
- changeSearchDeptResultList(state, args) {
- state.searchDeptResultList = args || {};
- },
-
- changeSearchDeptParams(state, args) {
- state.searchDeptParams = args;
- },
- };
- const actions = {
- };
- export default {
- namespaced: true,
- state,
- getters,
- mutations,
- actions,
- };
|