秀山需求变更调整完毕

This commit is contained in:
aixianling
2022-08-18 15:36:24 +08:00
parent 3f9deb61f0
commit a92123566d
8 changed files with 881 additions and 83 deletions

View File

@@ -2,6 +2,7 @@ import Vue from 'vue'
import Vuex from 'vuex'
import preState from 'vuex-persistedstate'
import * as modules from "dvcp-ui/lib/js/modules"
import axios from "../router/axios";
Vue.use(Vuex)
@@ -15,6 +16,11 @@ export default new Vuex.Store({
},
cleanApps(state) {
state.apps = []
},
setFinanceUser(state) {
axios.post("appfinancialorganizationuser/checkUser").then(res => {
state.user.financeUser = res.data
}).catch(() => 0)
}
},
modules,