删除报错接口

This commit is contained in:
wuhongjian 2022-08-23 16:37:29 +08:00
parent ded027bb64
commit d9186e3ac8
1 changed files with 13 additions and 6 deletions

View File

@ -1,3 +1,10 @@
/*
* @Author: hisense.wuhongjian
* @Date: 2022-07-05 12:53:03
* @LastEditors: hisense.wuhongjian
* @LastEditTime: 2022-08-23 16:37:05
* @Description: 告诉大家这是什么
*/
import Vue from 'vue' import Vue from 'vue'
import Vuex from 'vuex' import Vuex from 'vuex'
import cloneDeep from 'lodash/cloneDeep' import cloneDeep from 'lodash/cloneDeep'
@ -62,12 +69,12 @@ export default new Vuex.Store({
// dispatch('getDepartmentSelects') // dispatch('getDepartmentSelects')
}, },
getCatalogueTree ({ commit }) { getCatalogueTree ({ commit }) {
http.get('bscatalogue/bscatalogue/page').then(res => { // http.get('bscatalogue/bscatalogue/page').then(res => {
if (res.data.code === 0) { // if (res.data.code === 0) {
console.log(22222, res.data) // console.log(22222, res.data)
commit('setCatalogueTree', res.data.data) // commit('setCatalogueTree', res.data.data)
} // }
}) // })
}, },
getDepartmentSelects ({ commit }) { getDepartmentSelects ({ commit }) {
http.get('applyRecord/bsAbilityApplyRecord/page').then(({ data: res }) => { http.get('applyRecord/bsAbilityApplyRecord/page').then(({ data: res }) => {