Browse Source

指定 @douyinfe/semi-ui 版本 2.8

dev
巴林闲侠 2 years ago
parent
commit
8ca7a7f43e
  1. 15
      api/app/lib/controllers/alarm/data.js
  2. 2
      web/package.json

15
api/app/lib/controllers/alarm/data.js

@ -118,12 +118,15 @@ async function list (ctx) {
alarmRes.forEach(ar => { alarmRes.forEach(ar => {
ar.pepProject = (anxinStruc.find(as => as.strucId == ar.StructureId) || ar.pepProject = (anxinStruc.find(as => as.strucId == ar.StructureId) ||
{ {
// TODO: 开发临时添加
pepProject: [{ pepProject: [
id: 999, // TODO: 开发临时添加
name: '这是假的开发の数据,看到请拨打110', {
isdelete: 0, id: 999,
}] name: '这是假的开发の数据,看到请拨打110',
isdelete: 0,
}
]
}).pepProject }).pepProject
let corConfirmedData = (confirmedAlarmDetailMax.find(cdm => cdm.AlarmId == ar.AlarmId) || {}); let corConfirmedData = (confirmedAlarmDetailMax.find(cdm => cdm.AlarmId == ar.AlarmId) || {});

2
web/package.json

@ -47,7 +47,7 @@
"vite": "^2.9.5" "vite": "^2.9.5"
}, },
"dependencies": { "dependencies": {
"@douyinfe/semi-ui": "^2.20.0", "@douyinfe/semi-ui": "2.8.0",
"@douyinfe/semi-webpack-plugin": "^2.13.0", "@douyinfe/semi-webpack-plugin": "^2.13.0",
"@micro-zoe/micro-app": "^1.0.0-alpha.1", "@micro-zoe/micro-app": "^1.0.0-alpha.1",
"@peace/utils": "^0.0.64", "@peace/utils": "^0.0.64",

Loading…
Cancel
Save