Quellcode durchsuchen

'update新图标、新样式'

pull/17/head
Fanzink vor 1 Jahr
Ursprung
Commit
2f4e9f31cd
12 geänderte Dateien mit 41 neuen und 21 gelöschten Zeilen
  1. BIN
      src/assets/img/logo2.png
  2. BIN
      src/assets/img/logo3.png
  3. +1
    -1
      src/assets/scss/common.scss
  4. +1
    -1
      src/components/base-dialog/addOrUpdate/index.vue
  5. +1
    -1
      src/components/base-table/components/operationComponent.js
  6. +1
    -1
      src/components/base-table/index.vue
  7. +9
    -2
      src/i18n/en.js
  8. +8
    -2
      src/i18n/zh-CN.js
  9. +3
    -1
      src/utils/request.js
  10. +6
    -4
      src/views/main-navbar.vue
  11. +10
    -7
      src/views/modules/monitoring/equipmentHistoricalParameters.vue
  12. +1
    -1
      src/views/pages/login.vue

BIN
src/assets/img/logo2.png Datei anzeigen

Vorher Nachher
Breite: 437  |  Höhe: 369  |  Größe: 24 KiB

BIN
src/assets/img/logo3.png Datei anzeigen

Vorher Nachher
Breite: 1746  |  Höhe: 369  |  Größe: 63 KiB

+ 1
- 1
src/assets/scss/common.scss Datei anzeigen

@@ -292,7 +292,7 @@ img {
display: flex;
align-items: stretch;
height: $navbar--height;
background-color: #409EFF;
background-color: #0b58ff;
box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.05);
}
&--colorful {


+ 1
- 1
src/components/base-dialog/addOrUpdate/index.vue Datei anzeigen

@@ -121,7 +121,7 @@ const title = {
// 或者也可以改造成自定义颜色:
const btnType = {
add :'#0b58ff',
save: '#0b58ff',
save: '#000',
update: '#0b58ff',
reset: ''
// cancel: 'text'


+ 1
- 1
src/components/base-table/components/operationComponent.js Datei anzeigen

@@ -4,7 +4,7 @@
* @Author: fzq
* @Date: 2023-01-06 15:49:50
* @LastEditors: fzq
* @LastEditTime: 2023-01-13 16:46:13
* @LastEditTime: 2023-01-16 10:18:25
*/
import i18n from '@/i18n'



+ 1
- 1
src/components/base-table/index.vue Datei anzeigen

@@ -32,7 +32,7 @@
:header-cell-style="{ background: '#FAFAFA', color: '#000', height: '40px' }"
:max-height="maxHeight"
:span-method="spanMethod || null"
:row-style="{ height: '20px' }"
:row-style="{ height: '40px' }"
:cell-style="{ padding: '0px' }">
<!-- 表格头定义 -->
<!-- in tableHeadConfigs -->


+ 9
- 2
src/i18n/en.js Datei anzeigen

@@ -72,7 +72,7 @@ t.andeng.btnVal = 'Button Value'
t.andeng.btnBoxModel = 'Button Box Model'


t.copyright = 'Intelligent Automation Research Institute Co., Ltd'
t.copyright = 'VISHAKHA glass pvt Ltd'
t.dictValueList = 'View Details'
t.save = 'Save'
t.add = 'Add'
@@ -147,6 +147,12 @@ t.startTime = 'Start Time'
t.endTime = 'End Time'
t.today = 'Today'
t.time = 'Time'
t.eqId = 'Current Equipment ID:'
t.ti = 'Time'
t.plcCode = 'PLC Code'
t.equName = 'Equipment Name'
t.equCode = 'Equipment Code'


t.graph = 'Graph'
t.category = 'Category'
@@ -444,7 +450,8 @@ t.login.username = 'Username'
t.login.password = 'Password'
t.login.captcha = 'Captcha'
t.login.demo = 'Demo'
t.login.copyright = 'Copyright @Intelligent Automation Research Institute Co., Ltd Version: 1.0'
// t.login.copyright = 'Copyright @Intelligent Automation Research Institute Co., Ltd Version: 1.0'
t.login.copyright = 'Copyright @VISHAKHA glass pvt Ltd Version: 1.0'
t.login.warning = 'Already Login!'

t.schedule = {}


+ 8
- 2
src/i18n/zh-CN.js Datei anzeigen

@@ -72,7 +72,7 @@ t.andeng.btnVal = '按钮值'
t.andeng.btnBoxModel = '按钮盒模式'


t.copyright = '中建材智能自动化研究院有限公司'
t.copyright = 'VISHAKHA glass pvt Ltd'
t.dictValueList = '查看值列表'
t.save = '保存'
t.add = '新增' // 1
@@ -148,6 +148,11 @@ t.endTime = '结束时间' // 1
t.to = '至' // 1
t.today = '今天' // 1
t.time = '选择时间'
t.eqId = '当前设备ID:'
t.ti = '时间'
t.plcCode = 'PLC 编码'
t.equName = '设备名称'
t.equCode = '设备编码'

t.graph = '图形'
t.category = '分类'
@@ -444,7 +449,8 @@ t.login.username = '用户名'
t.login.password = '密码'
t.login.captcha = '验证码'
t.login.demo = '在线演示'
t.login.copyright = '版权所有:中建材智能自动化研究院有限公司 版本: 1.0'
// t.login.copyright = '版权所有:中建材智能自动化研究院有限公司 版本: 1.0'
t.login.copyright = '版权所有:VISHAKHA glass pvt Ltd 版本: 1.0'
t.login.warning = '已经登录过了'

t.schedule = {}


+ 3
- 1
src/utils/request.js Datei anzeigen

@@ -19,7 +19,8 @@ const http = axios.create({
* 请求拦截
*/
http.interceptors.request.use(config => {
config.headers['Accept-Language'] = Cookies.get('language') || 'zh-CN'
// config.headers['Accept-Language'] = Cookies.get('language') || 'zh-CN'
config.headers['Accept-Language'] = Cookies.get('language') || 'en'
config.headers['token'] = Cookies.get('token') || ''
// 默认参数
var defaults = {}
@@ -59,6 +60,7 @@ http.interceptors.response.use(response => {
router.replace({ name: 'login' })
return Promise.reject(response.data.msg)
}
// 下三行注释掉
// else if (response.data.code === 500) {
// return Promise.reject(response.data.msg)
// }


+ 6
- 4
src/views/main-navbar.vue Datei anzeigen

@@ -10,14 +10,14 @@
<h1 class="aui-navbar__brand" @click="$router.push({ name: 'home' })">
<a class="aui-navbar__brand-lg" href="javascript:;">
<!-- 36px -->
<img src="../assets/img/cnbm.png" style="width: 26px; height: 26px; position: relative; top: -0.075em; margin-right: 12px" alt="" />
<img src="../assets/img/logo2.png" style="width: 30.8px; height: 26px; position: relative; top: -0.075em; margin-right: 12px" alt="" />
{{ $t('brand.lg') }}
</a>
<!-- <a class="aui-navbar__brand-mini" href="javascript:;">{{ $t('brand.mini') }}</a> -->
<!-- 缩放时LOGO -->
<!-- <a class="aui-navbar__brand-mini" href="javascript:;"> -->
<a class="aui-navbar__brand-mini" href="javascript:;">
<img src="../assets/img/cnbm.png" style="width: 26px; height: 26px; position: relative; top: 0em" alt="" />
<img src="../assets/img/logo2.png" style="width: 30.8px; height: 26px; position: relative; top: 0em" alt="" />
</a>
</h1>
</div>
@@ -133,7 +133,8 @@
backgroundColor: this.$route.meta.hiddenSiderbar !== true ? '#fff' : 'rgb(13,43,104)',
color: this.$route.meta.hiddenSiderbar !== true ? '#000' : '#fff'
}">
<a href="Lodap.zip"
<!-- href="Lodap.zip" -->
<a
><svg
:style="this.$route.meta.hiddenSiderbar !== true ? 'color: #000' : 'color: #fff'"
style="width: 24px; height: 24px; vertical-align: -7px"
@@ -149,7 +150,8 @@
backgroundColor: this.$route.meta.hiddenSiderbar !== true ? '#fff' : 'rgb(13,43,104)',
color: this.$route.meta.hiddenSiderbar !== true ? '#000' : '#fff'
}">
<a href="google.exe">
<!-- href="google.exe" -->
<a >
<!-- <svg-icon style="width: 24px; height: 24px; vertical-align: -7px" icon-class="chrome" /></a> -->
<svg v-if="this.$route.meta.hiddenSiderbar" style="color: #fff; width: 24px; height: 24px; vertical-align: -7px">
<use xlink:href="#chrome2"></use>


+ 10
- 7
src/views/modules/monitoring/equipmentHistoricalParameters.vue Datei anzeigen

@@ -1,13 +1,16 @@
<template>
<div class="mod-config">
<el-form :inline="true">
<el-form-item :label="'当前设备id'">
<el-form :inline="true" class="blueTip" size="small">
<el-form-item :label="$t('eqId')">
<strong>{{ $route.params.id }}</strong></el-form-item
>
</el-form>

<!-- <base-table :page="pageIndex" :size="pageSize" :data="dataList" :table-head-configs="tableConfigs" :max-height="calcMaxHeight(8)" @operate-event="handleOperations" @refreshDataList="getDataList" /> -->
<base-table :data="dataList" :table-head-configs="tableConfigs" :max-height="calcMaxHeight(8)" />
<base-table
:data="dataList"
:table-head-configs="tableConfigs"
:max-height="calcMaxHeight(8)" />
</div>
</template>

@@ -77,10 +80,10 @@ export default {
type: 'index',
name: i18n.t('index')
},
{ prop: 'time', name: '时间', filter: timeFilter },
{ prop: 'plcCode', name: 'PLC 编码' },
{ prop: 'equName', name: '设备名称' },
{ prop: 'equCode', name: '设备编码' },
{ prop: 'time', name: this.$t('ti'), filter: timeFilter },
{ prop: 'plcCode', name: this.$t('plcCode') },
{ prop: 'equName', name: this.$t('equName') },
{ prop: 'equCode', name: this.$t('equCode') },
// ...['数值1', '数值2', '数值3'].map(name => {
// return { prop: name, name }
// })


+ 1
- 1
src/views/pages/login.vue Datei anzeigen

@@ -13,7 +13,7 @@

<div class="title-container">
<h3 class="title" :title="$t('brand.lg')">
<img src="../../assets/img/cnbm.png" style="width: 1em; height: 1em; position: relative; top: 0em; margin-right: 12px" alt="">
<img src="../../assets/img/logo2.png" style="width: 43.7px; height: 36.9px; position: relative; top: -0.05em; margin-right: 5px" alt="">
{{ $t('brand.lg') }}
</h3>
</div>


Laden…
Abbrechen
Speichern