特殊人群

This commit is contained in:
shijingjing
2022-03-11 11:32:39 +08:00
parent f12aad9282
commit bbd0626156
3 changed files with 42 additions and 10 deletions

View File

@@ -405,7 +405,7 @@ export default {
})
this.formData[items.fieldDbName] = list?.toString()
}
if (items.type == 'upload' && this.formData[items.fieldDbName].length) { //附件 只传id
if (items.type == 'upload' && this.formData[items.fieldDbName]?.length) { //附件 只传id
var files = []
this.formData[items.fieldDbName].map((item) => {
files.push(item.id)

View File

@@ -125,7 +125,6 @@ export default {
getStatistic() {
this.statisticsList = []
this.$http.post(`/app/appapplicationinfo/specialStatistic?areaId=${this.areaId}&type=0&range=0`).then((res) => {
console.log(res);
if (res.code == 0) {
for (let i in res.data) {
var obj = {
@@ -140,7 +139,6 @@ export default {
getStatisticMon() {
this.statisticsListMon = []
this.$http.post(`/app/appapplicationinfo/specialStatistic?areaId=${this.areaId}&type=0&range=1`).then((res) => {
console.log(res);
if (res.code == 0) {
for (let i in res.data) {
var obj = {