Browse Source

登录界面图片

pull/1/head
ljlong_2630 1 year ago
parent
commit
e007419628
  1. BIN
      src/assets/images/login-background.jpeg
  2. 0
      src/assets/images/login-background1.jpg
  3. BIN
      src/assets/images/login-background3.jpeg
  4. BIN
      src/assets/video/homepage.mp4
  5. 2
      src/layout/index.vue
  6. 18
      src/views/index.vue
  7. 2
      src/views/login.vue
  8. 29
      src/views/model/alert/deviceparamalert.vue
  9. 2
      src/views/register.vue

BIN
src/assets/images/login-background.jpeg

Binary file not shown.

After

Width:  |  Height:  |  Size: 179 KiB

0
src/assets/images/login-background.jpg → src/assets/images/login-background1.jpg

Before

Width:  |  Height:  |  Size: 509 KiB

After

Width:  |  Height:  |  Size: 509 KiB

BIN
src/assets/images/login-background3.jpeg

Binary file not shown.

After

Width:  |  Height:  |  Size: 580 KiB

BIN
src/assets/video/homepage.mp4

Binary file not shown.

2
src/layout/index.vue

@ -108,4 +108,6 @@ function setLayout() {
.mobile .fixed-header {
width: 100%;
}
</style>

18
src/views/index.vue

@ -1,6 +1,8 @@
<template>
<div class="app-container home">
<video autoplay loop muted id="bgvid" class="home-page-video">
<source src="../assets/video/homepage.mp4" type="video/mp4">
</video>
</div>
</template>
@ -73,6 +75,20 @@ function goTarget(url) {
padding-inline-start: 40px;
}
}
.home-page-video{
position: fixed;
top: 50%;
left: 50%;
min-width: 100%;
min-height: 100%;
width: auto;
height: auto;
transform: translateX(-50%) translateY(-50%);
z-index: -100;
}
}
</style>

2
src/views/login.vue

@ -156,7 +156,7 @@ getCookie();
justify-content: center;
align-items: center;
height: 100%;
background-image: url("../assets/images/login-background.jpg");
background-image: url("../assets/images/login-background.jpeg");
background-size: cover;
}
.title {

29
src/views/model/alert/deviceparamalert.vue

@ -73,17 +73,17 @@
@click="handleDelete"
>删除</el-button>
</el-col>
<el-col :span="1.5">
<!-- <el-col :span="1.5">
<el-button
type="warning"
icon="Download"
@click="handleExport"
>导出</el-button>
</el-col>
</el-col> -->
<right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar>
</el-row>
<el-table v-loading="loading" :data="alertList">
<el-table ref="deviceParamsTable" v-loading="loading" :data="alertList">
<el-table-column type="selection" width="55" align="center" />
<!-- <el-table-column label="主键" align="center" prop="id" /> -->
<el-table-column label="中台设备ID" align="center" prop="deviceUuid" />
@ -586,7 +586,28 @@ function submitForm() {
}
/** 删除按钮操作 */
function handleDelete(row) {
function handleDelete() {
const rows = proxy.$refs.deviceParamsTable.getSelectionRows();
let names = "";
let _ids = [];
rows.forEach(item=>{
_ids.push(item.id);
if(names == ""){
names = item.deviceName + item.paramName;
}else{
names = names + "," + item.deviceName + item.paramName;
}
})
proxy.$modal.confirm('是否确认删除设备参数名称为"' + names + '"的数据项?').then(function() {
return delAlert(_ids);
}).then(() => {
getList();
proxy.$modal.msgSuccess("删除成功");
}).catch(() => {});
}
/** 删除按钮操作 */
function handleDeleteRow(row) {
const _ids = row.id || ids.value;
proxy.$modal.confirm('是否确认删除设备告警编号为"' + _ids + '"的数据项?').then(function() {
return delAlert(_ids);

2
src/views/register.vue

@ -159,7 +159,7 @@ getCode();
justify-content: center;
align-items: center;
height: 100%;
background-image: url("../assets/images/login-background.jpg");
background-image: url("../assets/images/login-background.jpeg");
background-size: cover;
}
.title {

Loading…
Cancel
Save