Browse Source

循环获取 图片配置的类型 中文值

feature/syp_points
zhangyongzhangyong 5 years ago
parent
commit
f4e16574bf
  1. 8
      src/views/modules/api/imgconfig.vue

8
src/views/modules/api/imgconfig.vue

@ -103,10 +103,10 @@ export default {
}).catch(() => {})
},
imgTypeFormat (row, column) {
if (row.imgType === '0') {
return '志愿者咨询热线'
} else {
return ' '
for (var property in this.optionImgType) {
if (row.imgType === this.optionImgType[property].dictValue) {
return this.optionImgType[property].dictName
}
}
}
}

Loading…
Cancel
Save