Browse Source

登录页视频

dev
wenlele 1 year ago
parent
commit
9a701fc0f6
  1. 12
      api/.vscode/launch.json
  2. 2
      api/app/lib/controllers/means/index.js
  3. 2
      api/app/lib/routes/means/index.js
  4. BIN
      web/client/assets/video/login_bg.mp4
  5. 2
      web/client/src/sections/service/components/recordModal.jsx

12
api/.vscode/launch.json

@ -16,10 +16,10 @@
"-p 4600",
"-f http://localhost:4600",
//
// "-g postgres://postgres:123@10.8.30.32:5432/orational_service",
"-g postgres://postgres:123@10.8.30.32:5432/orational_service",
// "-g postgres://postgres:123@10.8.30.166:5432/POMS_2306",
//
"-g postgres://FashionAdmin:123456@10.8.30.156:5432/POMS",
// "-g postgres://FashionAdmin:123456@10.8.30.156:5432/POMS",
"-k 10.8.30.72:29092,10.8.30.73:29092,10.8.30.74:29092",
"--iotaProxy http://10.8.30.157:17007",
"--redisHost localhost",
@ -45,8 +45,10 @@
// "--clickHouseUrl http://10.8.30.71",
// "--clickHousePort 8123",
// click
"--clickHouseUrl http://10.8.30.161",
"--clickHousePort 30123",
// "--clickHouseUrl http://10.8.30.161",
// "--clickHousePort 30123",
"--clickHouseUrl http://10.8.30.156",
"--clickHousePort 8123",
// "--clickHouseUrl https://clickhouse01.anxinyun.cn/play",
// click
@ -64,7 +66,7 @@
// "--clickHouseDataAlarm default",
// "--clickHouseIot iot",
//
"--clickHouseAnxincloud anxinyun1",
"--clickHouseAnxincloud anxinyun888",
"--clickHousePepEmis pepca8",
"--clickHouseProjectManage peppm8",
"--clickHouseVcmp video_access_dev",

2
api/app/lib/controllers/means/index.js

@ -165,7 +165,7 @@ async function upload (ctx, next) {
ctx.body = { uploaded: fkey };
} catch (err) {
ctx.fs.logger.error(`path: ${ctx.path}, error: ${error}`)
ctx.fs.logger.error(`path: ${ctx.path}, error: ${err}`)
ctx.status = 400;
ctx.body = {
"message": '上传失败'

2
api/app/lib/routes/means/index.js

@ -22,6 +22,6 @@ module.exports = function (app, router, opts) {
app.fs.api.logAttr['DEL/file/:id'] = { content: '删除文件夹', visible: true };
router.del('/file/:id', means.delfolderFile);
app.fs.api.logAttr['POSTattachments/:p'] = { content: '上传文件', visible: true };
app.fs.api.logAttr['POST/attachments/:p'] = { content: '上传文件', visible: true };
router.post('/attachments/:p', means.upload);
};

BIN
web/client/assets/video/login_bg.mp4

Binary file not shown.

2
web/client/src/sections/service/components/recordModal.jsx

@ -50,7 +50,7 @@ const okHandler=()=>{
})
}
return <Modal
title={recordRow?'编辑服务记录':'服务记录添加'}
title={recordRow?'编辑响应记录':'添加响应记录'}
visible={visible}
footer={
//recordRow?<Button onClick={cancelHandler}></Button>:

Loading…
Cancel
Save