|
@@ -78,7 +78,7 @@
|
|
|
<script setup name="">
|
|
<script setup name="">
|
|
|
import { ref, getCurrentInstance, onMounted, nextTick } from 'vue'
|
|
import { ref, getCurrentInstance, onMounted, nextTick } from 'vue'
|
|
|
const { proxy } = getCurrentInstance();
|
|
const { proxy } = getCurrentInstance();
|
|
|
- import { getQuestionnaireSchedule,genTeamReportById,genPersonReport } from '@/api/agent/index.js'
|
|
|
|
|
|
|
+ import { getQuestionnaireSchedule,genReportById,genPersonReport } from '@/api/agent/index.js'
|
|
|
const { UserCategory} = proxy.useDict("UserCategory");
|
|
const { UserCategory} = proxy.useDict("UserCategory");
|
|
|
|
|
|
|
|
const genderCfg = { 0: '男', 1: '女', 2: '保密' }
|
|
const genderCfg = { 0: '男', 1: '女', 2: '保密' }
|
|
@@ -115,7 +115,7 @@
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
const handleTeamReport = () => {
|
|
const handleTeamReport = () => {
|
|
|
- genTeamReportById(questionnaireInfo.value.id).then(res => {
|
|
|
|
|
|
|
+ genReportById(questionnaireInfo.value.id).then(res => {
|
|
|
if(res.code!==0) return proxy.$message.error(res.msg)
|
|
if(res.code!==0) return proxy.$message.error(res.msg)
|
|
|
reportShow.value = true
|
|
reportShow.value = true
|
|
|
})
|
|
})
|
|
@@ -346,4 +346,4 @@
|
|
|
margin-top: 40px;
|
|
margin-top: 40px;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
-</style>
|
|
|
|
|
|
|
+</style>
|