model.js 643 B

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