Source/plt-web/plt-web-ui/src/store/modules/LifeFlow.js
@@ -4,16 +4,34 @@
const flow = {
  state: {
    methodBtn: false,
    editMethodBtn:false,
    type:"",
  },
  mutations: {
    setMethodBtn(state, value) {
      state.methodBtn = value;
    },
    setEditMethodBtn(state, value) {
      state.methodBtn = value;
    },
    setTypeChange(state,value){
      state.type = value;
    }
  },
  actions: {
    // 更新保存 取消按钮
    updateMethodBtn({commit}, value) {
      commit('setMethodBtn', value);
    },
    editNodesStatus({commit}, value){
      commit('setEditMethodBtn', value);
    },
    typeChange({commit}, value){
      commit('setTypeChange', value);
    }
  }
}