Merge branch 'feature/GFRS-818【0410】人力发展-DISC性格分析' of http://112.124.100.131/GFRS/ebiz-h5 into feature/GFRS-818【0410】人力发展-DISC性格分析

# Conflicts:
#	src/api/ebiz/manpower/manpower.js
#	src/views/ebiz/manpower/discAnalysis/List.vue
#	src/views/ebiz/manpower/discAnalysis/Share.vue
This commit is contained in:
tian.guangyuan
2020-04-01 17:37:37 +08:00
3 changed files with 29 additions and 4 deletions

View File

@@ -111,6 +111,15 @@ export function getShareKey(data) {
export function answerDetail(data = {}) { export function answerDetail(data = {}) {
return request({ return request({
url: getUrl('/customer/answer/detailByQnCode', 1), url: getUrl('/customer/answer/detailByQnCode', 1),
method: 'post',
data
})
}
//DISC性格分析列表
export function discAnalysisList(data) {
return request({
url: getUrl('/customer/answer/queryList', 1),
method: 'post', method: 'post',
data data
}) })
@@ -123,4 +132,4 @@ export function answerSubmit(data) {
method: 'post', method: 'post',
data data
}) })
} }

View File

@@ -62,7 +62,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]
// 创建axios实例 // 创建axios实例
const service = axios.create({ const service = axios.create({

View File

@@ -1,6 +1,9 @@
<!-- DISC性格分析 - 分享后打开图片展示页 --> <!-- DISC性格分析 - 分享后打开图片展示页 -->
<template> <template>
<div></div> <div style="position:relative">
<img style="width: 100%;" src="@/assets/images/DISCtop.png" />
<img style="width: 52%;position: absolute;bottom: 3.6%;left: 24%;" src="@/assets/images/DISCbtn.png" @click="toTest" />
</div>
</template> </template>
<script> <script>
@@ -17,7 +20,17 @@ export default {
created() {}, created() {},
mounted() {}, mounted() {},
methods: { methods: {
init() {} //去做测试,跳转到测试答题页面
toTest() {
let url = `/manpower/DiscAnalysis/Question`
this.$jump({
flag: 'h5',
extra: {
url: location.origin + `/#${url}`
},
routerInfo: { path: url }
})
}
}, },
components: { components: {
// [Field.name]: Field, // [Field.name]: Field,