Browse Source

"@douyinfe/semi-ui": "2.8.0"

dev
巴林闲侠 2 years ago
parent
commit
e19f7bd0ac
  1. 5
      api/app/lib/controllers/alarm/data.js
  2. 1
      web/client/index.ejs
  3. 2
      web/package.json

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

@ -37,10 +37,7 @@ async function list (ctx) {
const { pepProjectId, keyword, groupId, groupUnitId, sustainTimeStart, sustainTimeEnd, limit, page } = ctx.query
const isSuper = judgeSuper(ctx)
let anxinStrucIds = null
if (!isSuper || pepProjectId) {
anxinStrucIds = await anxinStrucIdRange({ ctx, pepProjectId })
}
let anxinStrucIds = await anxinStrucIdRange({ ctx, pepProjectId })
let whereOption = []
if (anxinStrucIds) {
whereOption.push(`alarms.StructureId IN (${anxinStrucIds.join(",")})`)

1
web/client/index.ejs

@ -11,7 +11,6 @@
<script charset="UTF-8" id="LA_COLLECT" src="//sdk.51.la/js-sdk-pro.min.js"></script>
<script>LA.init({ id: "Jo4eTlZVqgx3uwqm", ck: "Jo4eTlZVqgx3uwqm" })</script>
<script src="/assets/js/jessibuca/jessibuca.js"></script>
<script src="https://lf1-cdn-tos.bytegoofy.com/obj/iconpark/icons_19077_10.1efd80a22a5e53e48737fd5ab150ffd2.es5.js"></script>
</head>

2
web/package.json

@ -48,7 +48,7 @@
},
"dependencies": {
"@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",
"@peace/utils": "^0.0.64",
"@semi-bot/semi-theme-fscamera": "^1.0.0",

Loading…
Cancel
Save