model.js 619 B

123456789101112131415161718192021222324
  1. import { commServer } from './server.js';
  2. export default {
  3. namespaced: true,
  4. state: {
  5. // 查核列表
  6. checkList: [],
  7. detailList:[],//查核项集合
  8. ifReloadPageData:false, //刷新当前页数据
  9. investigationUsers:[],//受访者集合
  10. currentSelectedInvestigationUser:null,//当前受访者
  11. ifShowBindPeopleDialog:true,//是否展示批量分配当事人,主要用于调节不适用按钮
  12. },
  13. mutations: {
  14. comChangeState(state, {key, data}) {
  15. state[key] = data;
  16. },
  17. },
  18. actions: {
  19. commActions({ commit, state }, { key, data }) {
  20. return commServer(key, data);
  21. },
  22. }
  23. }