Browse Source

Merge pull request '比例法字段调整' (#9) from liwei into develop

Reviewed-on: http://101.201.121.115:3000/leo/Saisiwei_WEB/pulls/9
develop
wangxy 3 years ago
parent
commit
dbe215dce5
2 changed files with 6 additions and 4 deletions
  1. +4
    -3
      src/api/questionnaire/satisfaction.js
  2. +2
    -1
      src/views/questionnaire/satis/score.vue

+ 4
- 3
src/api/questionnaire/satisfaction.js View File

@ -33,10 +33,11 @@ export function getBaseinformation() {
}
// 获取满意度统计数据
export function getSatisfactionData (typeId) {
export function getSatisfactionData (params) {
return request({
url: '/admin/c_surveysheet_result/statistic?selectType=' + typeId,
method: 'get'
url: '/admin/c_surveysheet_result/statistic',
method: 'get',
params
})
}


+ 2
- 1
src/views/questionnaire/satis/score.vue View File

@ -184,6 +184,7 @@ export default {
return {
queryParams: {
selectType: 'ratio',
cid:'',
unit:undefined,
year:moment().format("YYYY")
},
@ -216,7 +217,7 @@ export default {
},
getSatisData() {
this.fullscreenLoading = true
getSatisfactionData(this.queryParams.selectType).then(
getSatisfactionData(this.queryParams).then(
res => {
this.fullscreenLoading = false
if (res.code == 200) {


Loading…
Cancel
Save