测试问题修改

master
jinna 11 months ago
parent 12574cacac
commit 74379dad29
  1. 10
      src/views/device/deviceSystem.vue

@ -582,17 +582,17 @@ export default {
}
}
this.role_id = this.userInfo.role_id
getChildList(1, 100, '1846792623628001282').then(res => {
getChildList(1, 99999, '1846792623628001282').then(res => {
this.treeOptions = res.data.data
})
getChildList(1, 100, '1846802246527463425').then(res => {
getChildList(1, 99999, '1846802246527463425').then(res => {
this.typeList = res.data.data
})
getChildList(1, 100, '1858710780677984257').then(res => {
getChildList(1, 99999, '1858710780677984257').then(res => {
this.periodArr = res.data.data
})
//
getChildList(1, 100, '1869925082102702082').then(res => {
getChildList(1, 99999, '1869925082102702082').then(res => {
this.repairTypeList = res.data.data
this.repairTypeList.forEach(item => {
item.dictKey = Number(item.dictKey)
@ -822,7 +822,7 @@ export default {
})
})
res.data.data.maintenances.map(item => {
this.tableData.push({ ...item, period: item.period })
this.tableData.push({ ...item, period: item.period + '' })
})
this.addForm.xjcontent = this.tableData.length > 0 ? this.tableData.map(item => item.checkContent).join(';') : ''
this.addForm.requirement = this.tableData.length > 0 ? this.tableData.map(item => item.craft).join(';') : ''

Loading…
Cancel
Save