123456789101112131415161718192021 |
- import { commServer } from './server.js';
- export default {
- namespaced: true,
- state: {
- // 查核列表
- checkList: [],
- detailList:[],//查核项集合
- ifUpdate:false,
- },
- mutations: {
- comChangeState(state, {key, data}) {
- state[key] = data;
- },
- },
- actions: {
- commActions({ commit, state }, { key, data }) {
- return commServer(key, data);
- },
- }
- }
|