viewReport.ts 251 B

12345678910111213141516
  1. /* eslint no-param-reassign: 0 */
  2. export default {
  3. namespaced: true,
  4. state: {
  5. reportId: ""
  6. },
  7. actions: {
  8. init: ({ commit }, data) => commit("init", data)
  9. },
  10. mutations: {
  11. init(state, { reportId }) {
  12. state.reportId = reportId;
  13. }
  14. }
  15. };