|
|
@@ -305,7 +305,7 @@ export default {
|
|
|
joinedCpList = data.joinedCpList;
|
|
|
}
|
|
|
// 加入体验公司
|
|
|
- joinedCpList.push(config.expCp);
|
|
|
+ joinedCpList = joinedCpList.union(config.expCp);
|
|
|
commit('setJoinedCpList', joinedCpList)
|
|
|
// commit('setLoginType', data.user.sysId)
|
|
|
// todo 前台保存权限
|
|
|
@@ -342,6 +342,7 @@ export default {
|
|
|
*/
|
|
|
updateCompany({commit}, company) {
|
|
|
if(company){
|
|
|
+ console.log('ttt',company)
|
|
|
commit('setCpId', company.cpId)
|
|
|
commit('setCpCode', company.cpCode)
|
|
|
commit('setCpName', company.cpName)
|