Merge branch 'feature/GFRS-818【0410】人力发展-DISC性格分析' into dev

This commit is contained in:
tian.guangyuan
2020-04-01 17:55:05 +08:00
12 changed files with 97 additions and 14 deletions

View File

@@ -106,3 +106,30 @@ export function getShareKey(data) {
data data
}) })
} }
// 根据问卷编码获取问卷详细信息
export function answerDetail(data = {}) {
return request({
url: getUrl('/customer/answer/detailByQnCode', 1),
method: 'post',
data
})
}
//DISC性格分析列表
export function discAnalysisList(data) {
return request({
url: getUrl('/customer/answer/queryList', 1),
method: 'post',
data
})
}
// 答卷提交接口
export function answerSubmit(data) {
return request({
url: getUrl('/customer/answer/submit', 1),
method: 'post',
data
})
}

View File

@@ -67,7 +67,10 @@ let survey = [
//'/customer/question/getTableId', // id 查询 -- ok //'/customer/question/getTableId', // id 查询 -- ok
'/customer/question/getAgentInfo' // 代理人详情 '/customer/question/getAgentInfo' // 代理人详情
] ]
let whiteList = ['/customer/agent/getCustomersList', ...proposal, ...sale, ...agentEnter, ...claims, ...survey] let manpower = [
'/customer/answer/queryList' //DISC性格分析
]
let whiteList = ['/customer/agent/getCustomersList', ...proposal, ...sale, ...agentEnter, ...claims, ...survey, ...manpower]
// let whiteList = ['/customer/agent/getCustomersList', ...proposal, ...sale] // let whiteList = ['/customer/agent/getCustomersList', ...proposal, ...sale]

View File

@@ -19,7 +19,13 @@ const TalentPoolEdit = () => import('@/views/ebiz/manpower/talentPool/Edit')
const ActivityLogList = () => import('@/views/ebiz/manpower/activityLog/List') const ActivityLogList = () => import('@/views/ebiz/manpower/activityLog/List')
const ActivityLogEdit = () => import('@/views/ebiz/manpower/activityLog/Edit') const ActivityLogEdit = () => import('@/views/ebiz/manpower/activityLog/Edit')
export default [{ const DiscAnalysisList = () => import('@/views/ebiz/manpower/discAnalysis/List')
const DiscAnalysisQuestion = () => import('@/views/ebiz/manpower/discAnalysis/Question')
const DiscAnalysisResult = () => import('@/views/ebiz/manpower/discAnalysis/Result')
const DiscAnalysisShare = () => import('@/views/ebiz/manpower/discAnalysis/Share')
export default [
{
// 人力发展 // 人力发展
path: '/manpower/Navigation', path: '/manpower/Navigation',
name: 'Navigation', name: 'Navigation',
@@ -148,5 +154,45 @@ export default [{
title: '日志详情', title: '日志详情',
index: 100 index: 100
} }
},
{
// DISC性格分析
path: '/manpower/DiscAnalysis/List',
name: 'DiscAnalysisList',
component: DiscAnalysisList,
meta: {
title: 'DISC性格分析',
index: 200
}
},
{
// DISC性格分析结果
path: '/manpower/DiscAnalysis/Result',
name: 'DiscAnalysisResult',
component: DiscAnalysisResult,
meta: {
title: 'DISC性格分析结果',
index: 201
}
},
{
// DISC性格分析 分享
path: '/manpower/DiscAnalysis/Share',
name: 'DiscAnalysisShare',
component: DiscAnalysisShare,
meta: {
title: 'DISC性格分析',
index: 202
}
},
{
// DISC性格分析结果 -做题
path: '/manpower/DiscAnalysis/Question',
name: 'DiscAnalysisQuestion',
component: DiscAnalysisQuestion,
meta: {
title: 'DISC性格分析结果',
index: 203
}
} }
] ]

View File

@@ -29,6 +29,7 @@
<li><router-link to="/nbs/list">nbs列表</router-link></li> <li><router-link to="/nbs/list">nbs列表</router-link></li>
<li><router-link to="/agentEenter/approve/ApproveList">入司审批列表</router-link></li> <li><router-link to="/agentEenter/approve/ApproveList">入司审批列表</router-link></li>
<li><router-link to="/survey/surveyList">问卷调查</router-link></li> <li><router-link to="/survey/surveyList">问卷调查</router-link></li>
<li><router-link to="/manpower/DiscAnalysis/List">DISC性格分析</router-link></li>
</ul> </ul>
</li> </li>
</ul> </ul>

View File

@@ -33,12 +33,16 @@ export default {
title: '政策方案', title: '政策方案',
icon: 'orders-o', icon: 'orders-o',
path: '/manpower/increaseStaffTools/PolicyOptions' path: '/manpower/increaseStaffTools/PolicyOptions'
} },
,
{ {
title: '产品信息', title: '产品信息',
icon: 'bookmark-o', icon: 'bookmark-o',
path: '/product/productList' path: '/product/productList'
},
{
title: 'DISC性格分析',
icon: 'newspaper-o',
path: '/manpower/DiscAnalysis/List'
} }
// { // {
// title: '培训体系', // title: '培训体系',

View File

@@ -106,7 +106,12 @@ export default {
value: '1' value: '1'
} }
], ],
resultArr: [{ id: '0', text: '不加盟' }, { id: '1', text: '考虑中' }, { id: '2', text: '进班了解' }, { id: '3', text: '同意加盟' }], resultArr: [
{ id: '0', text: '不加盟' },
{ id: '1', text: '考虑中' },
{ id: '2', text: '进班了解' },
{ id: '3', text: '同意加盟' }
],
occupationArr: [ occupationArr: [
{ id: '001', text: '一般内勤职员' }, { id: '001', text: '一般内勤职员' },
{ id: '002', text: '其他金融行业' }, { id: '002', text: '其他金融行业' },

View File

@@ -27,6 +27,6 @@ export default {
routerInfo: { path: `/manpower/increaseStaffTools/PdfShare?pdf=${num}` } routerInfo: { path: `/manpower/increaseStaffTools/PdfShare?pdf=${num}` }
}) })
} }
}, }
} }
</script> </script>

View File

@@ -1,5 +1,2 @@
//验证 //验证
export function demo(par) { export function demo(par) {}
}