mirror of
https://github.com/dataease/dataease.git
synced 2026-05-19 18:38:16 +08:00
Merge branch 'main' of github.com:dataease/dataease into main
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<el-dropdown trigger="click" class="international" @command="handleSetLanguage">
|
||||
<el-dropdown style="display: flex;align-items: center;" trigger="click" class="international" @command="handleSetLanguage">
|
||||
<div>
|
||||
<svg-icon class-name="international-icon" icon-class="language" />
|
||||
</div>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div style="width: 100%;height: 100%;">
|
||||
<div style="width: 100%;height: 100vh;">
|
||||
<span style="line-height: 35px; position: absolute; top:10px;right: 20px;z-index:100000">
|
||||
<el-button size="mini" @click="toDir">
|
||||
关闭
|
||||
|
||||
@@ -3,13 +3,13 @@
|
||||
<div class="toolbar">
|
||||
|
||||
<div class="canvas-config">
|
||||
<span> {{ $t(panel.canvas_size)}} </span>
|
||||
<span> {{ $t('panel.canvas_size') }} </span>
|
||||
<input v-model="canvasStyleData.width">
|
||||
<span>*</span>
|
||||
<input v-model="canvasStyleData.height">
|
||||
</div>
|
||||
<div class="canvas-config" style="margin-right: 10px">
|
||||
<span> {{ $t(panel.canvas_scale)}} </span>
|
||||
<span> {{ $t('panel.canvas_scale') }} </span>
|
||||
<input v-model="scale" @input="handleScaleChange"> %
|
||||
</div>
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
|
||||
<span style="float: right;margin-left: 10px">
|
||||
<el-button size="mini" @click="closePanelEdit">
|
||||
{{ $t(commons.close) }}
|
||||
{{ $t('commons.close') }}
|
||||
</el-button>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<div v-loading="requestStatus==='waiting'" class="rect-shape">
|
||||
<div v-if="requestStatus==='error'" style=";width: 100%;height: 100%;background-color: #ece7e7; text-align: center">
|
||||
<div style="font-size: 12px; color: #9ea6b2;">
|
||||
{{ $t(panel.error_data) }}<br>
|
||||
{{ $t('panel.error_data') }}<br>
|
||||
{{ message }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -73,8 +73,8 @@ export default {
|
||||
size: 'Global Size'
|
||||
},
|
||||
login: {
|
||||
title: 'Login Form',
|
||||
welcome: 'welcome To ',
|
||||
title: 'Login',
|
||||
welcome: 'Welcome To ',
|
||||
logIn: 'Login',
|
||||
username: 'Username',
|
||||
password: 'Password',
|
||||
@@ -525,8 +525,8 @@ export default {
|
||||
title: 'Title',
|
||||
show: 'Show',
|
||||
chart_type: 'Chart Type',
|
||||
shape_attr: 'Chart properties',
|
||||
module_style: 'Component Style',
|
||||
shape_attr: 'Attribute',
|
||||
module_style: 'Style',
|
||||
result_filter: 'Results Filter',
|
||||
x_axis: 'Horizontal axis',
|
||||
y_axis: 'Longitudinal axis',
|
||||
@@ -645,7 +645,20 @@ export default {
|
||||
table_header_bg: 'Header Background',
|
||||
table_item_bg: 'Table Background',
|
||||
table_item_font_color: 'Font Color',
|
||||
stripe: 'Zebra pattern'
|
||||
stripe: 'Zebra pattern',
|
||||
start_angle: 'Start Angle',
|
||||
end_angle: 'End Angle',
|
||||
style_priority: 'Style Priority',
|
||||
dashboard: 'Dashboard',
|
||||
dimension_color: 'Dimension Color',
|
||||
quota_color: 'Quota Color',
|
||||
dimension_font_size: 'Dimension FontSize',
|
||||
quota_font_size: 'Quota FontSize',
|
||||
space_split: 'Dimension/Quota Space',
|
||||
only_one_quota: 'Only support 1 quota',
|
||||
only_one_result: 'Only show first result',
|
||||
dimension_show: 'Dimension Show',
|
||||
quota_show: 'Quota Show'
|
||||
},
|
||||
dataset: {
|
||||
datalist: 'Data Set',
|
||||
@@ -734,11 +747,11 @@ export default {
|
||||
create_by: 'Creator',
|
||||
create_time: 'Create_time',
|
||||
preview_show: 'Display',
|
||||
preview_item: '条数据',
|
||||
preview_total: '共',
|
||||
pls_input_less_9: '请输入9位以内的正整数',
|
||||
field_edit: '编辑字段',
|
||||
table_already_add_to: '该表已添加至',
|
||||
preview_item: 'items data',
|
||||
preview_total: 'Total',
|
||||
pls_input_less_9: 'Please input integer less 9',
|
||||
field_edit: 'Edit Field',
|
||||
table_already_add_to: 'This table is already add to',
|
||||
uploading: 'Uploading...',
|
||||
add_union: 'Add Associations',
|
||||
union_setting: 'Association Settings',
|
||||
@@ -755,7 +768,8 @@ export default {
|
||||
can_not_union_self: 'The associated table cannot be the same as the associated table',
|
||||
float: 'Decimal',
|
||||
edit_custom_table: 'Edit self help dataset',
|
||||
edit_field: 'Edit field'
|
||||
edit_field: 'Edit Field',
|
||||
preview_100_data: 'Show 100 lines data'
|
||||
},
|
||||
datasource: {
|
||||
datasource: 'Data Source',
|
||||
|
||||
@@ -645,7 +645,20 @@ export default {
|
||||
table_header_bg: '表頭背景',
|
||||
table_item_bg: '表格背景',
|
||||
table_item_font_color: '字體顏色',
|
||||
stripe: '斑馬紋'
|
||||
stripe: '斑馬紋',
|
||||
start_angle: '起始角度',
|
||||
end_angle: '結束角度',
|
||||
style_priority: '樣式優先級',
|
||||
dashboard: '儀表盤',
|
||||
dimension_color: '維度顏色',
|
||||
quota_color: '指標顏色',
|
||||
dimension_font_size: '維度字體大小',
|
||||
quota_font_size: '指標字體大小',
|
||||
space_split: '維度/指標間隔',
|
||||
only_one_quota: '僅支持1個指標',
|
||||
only_one_result: '僅顯示第1個計算結果',
|
||||
dimension_show: '維度顯示',
|
||||
quota_show: '指標顯示'
|
||||
},
|
||||
dataset: {
|
||||
datalist: '數據集',
|
||||
@@ -755,7 +768,8 @@ export default {
|
||||
can_not_union_self: '被關聯表不能與關聯表相同',
|
||||
float: '小數',
|
||||
edit_custom_table: '編輯自助數據集',
|
||||
edit_field: '編輯自斷'
|
||||
edit_field: '編輯自斷',
|
||||
preview_100_data: '顯示前100行數據'
|
||||
},
|
||||
datasource: {
|
||||
datasource: '數據源',
|
||||
|
||||
@@ -768,7 +768,8 @@ export default {
|
||||
can_not_union_self: '被关联表不能与关联表相同',
|
||||
float: '小数',
|
||||
edit_custom_table: '编辑自助数据集',
|
||||
edit_field: '编辑字段'
|
||||
edit_field: '编辑字段',
|
||||
preview_100_data: '显示前100行数据'
|
||||
},
|
||||
datasource: {
|
||||
datasource: '数据源',
|
||||
@@ -851,7 +852,7 @@ export default {
|
||||
field: '字段',
|
||||
unshared_people: '未分享人员',
|
||||
shared_people: '已分享人员',
|
||||
error_data: '获取数据出错 请联系管理员 Error getting data, please contact administrator',
|
||||
error_data: '获取数据出错,请联系管理员',
|
||||
canvas_size: '画布大小',
|
||||
canvas_scale: '画布比例',
|
||||
style: '样式',
|
||||
|
||||
@@ -23,13 +23,13 @@
|
||||
|
||||
<div class="right-menu">
|
||||
<template>
|
||||
<!-- <el-tooltip content="项目文档" effect="dark" placement="bottom">-->
|
||||
<!-- <doc class="right-menu-item hover-effect" />-->
|
||||
<!-- </el-tooltip>-->
|
||||
<!-- <el-tooltip content="项目文档" effect="dark" placement="bottom">-->
|
||||
<!-- <doc class="right-menu-item hover-effect" />-->
|
||||
<!-- </el-tooltip>-->
|
||||
|
||||
<!-- <el-tooltip content="全屏缩放" effect="dark" placement="bottom">-->
|
||||
<!-- <screenfull id="screenfull" class="right-menu-item hover-effect" />-->
|
||||
<!-- </el-tooltip>-->
|
||||
<!-- <el-tooltip content="全屏缩放" effect="dark" placement="bottom">-->
|
||||
<!-- <screenfull id="screenfull" class="right-menu-item hover-effect" />-->
|
||||
<!-- </el-tooltip>-->
|
||||
|
||||
<!-- <el-tooltip :content="$t('navbar.size')" effect="dark" placement="bottom">
|
||||
<size-select id="size-select" class="right-menu-item hover-effect" />
|
||||
@@ -38,8 +38,8 @@
|
||||
<lang-select class="right-menu-item hover-effect" />
|
||||
</template>
|
||||
|
||||
<el-dropdown class="top-dropdown">
|
||||
<span class="el-dropdown-link">
|
||||
<el-dropdown class="top-dropdown" style="display: flex;align-items: center;">
|
||||
<span class="el-dropdown-link" style="font-size: 14px;">
|
||||
{{ name }}<i class="el-icon-arrow-down el-icon--right" />
|
||||
</span>
|
||||
<el-dropdown-menu slot="dropdown">
|
||||
@@ -108,7 +108,7 @@ export default {
|
||||
AppLink,
|
||||
// Screenfull,
|
||||
// SizeSelect,
|
||||
LangSelect,
|
||||
LangSelect
|
||||
// Doc
|
||||
},
|
||||
data() {
|
||||
@@ -270,6 +270,6 @@ export default {
|
||||
font-size: 16px;
|
||||
color: rgba(255,255,255,.87);
|
||||
vertical-align: text-bottom;
|
||||
margin-right: 30px;
|
||||
margin-right: 10px;
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
|
||||
body {
|
||||
height: $contentHeight;
|
||||
//height: $contentHeight;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
text-rendering: optimizeLegibility;
|
||||
@@ -30,7 +30,7 @@ html {
|
||||
}
|
||||
|
||||
#app {
|
||||
height: $contentHeight;
|
||||
//height: $contentHeight;
|
||||
}
|
||||
|
||||
*,
|
||||
|
||||
@@ -49,7 +49,11 @@
|
||||
|
||||
.right-menu {
|
||||
float: right;
|
||||
height: 100%;
|
||||
height: 56px;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
||||
&:focus {
|
||||
outline: none;
|
||||
|
||||
@@ -42,7 +42,7 @@ $subMenuHover:#f18126;
|
||||
|
||||
$sideBarWidth: 210px;
|
||||
$topBarHeight: 56px;
|
||||
$contentHeight: 100vh;
|
||||
$contentHeight: calc(100vh - 56px);
|
||||
|
||||
// the :export directive is the magic sauce for webpack
|
||||
// https://www.bluematador.com/blog/how-to-share-variables-between-js-and-sass
|
||||
|
||||
@@ -10,10 +10,10 @@
|
||||
<el-divider />
|
||||
|
||||
<el-row>
|
||||
<el-button icon="el-icon-circle-plus" type="primary" size="mini" @click="add('group')">
|
||||
<el-button type="primary" size="mini" @click="add('group')">
|
||||
{{ $t('chart.add_group') }}
|
||||
</el-button>
|
||||
<el-button icon="el-icon-folder-add" type="primary" size="mini" @click="add('scene')">
|
||||
<el-button type="primary" size="mini" @click="add('scene')">
|
||||
{{ $t('chart.add_scene') }}
|
||||
</el-button>
|
||||
</el-row>
|
||||
|
||||
@@ -141,10 +141,12 @@
|
||||
<div style="height: 40%;overflow:hidden;border-top: 1px solid #e6e6e6">
|
||||
<el-row class="padding-lr">
|
||||
<span>{{ $t('chart.style_priority') }}</span>
|
||||
<el-radio-group v-model="view.stylePriority" size="mini" @change="save">
|
||||
<el-radio style="margin-left: 20px" label="view"><span>{{ $t('chart.chart') }}</span></el-radio>
|
||||
<el-radio label="panel"><span>{{ $t('chart.dashboard') }}</span></el-radio>
|
||||
</el-radio-group>
|
||||
<el-row>
|
||||
<el-radio-group v-model="view.stylePriority" size="mini" @change="save">
|
||||
<el-radio label="view"><span>{{ $t('chart.chart') }}</span></el-radio>
|
||||
<el-radio label="panel"><span>{{ $t('chart.dashboard') }}</span></el-radio>
|
||||
</el-radio-group>
|
||||
</el-row>
|
||||
</el-row>
|
||||
<el-tabs type="card" :stretch="true" class="tab-header">
|
||||
<el-tab-pane :label="$t('chart.shape_attr')" class="padding-lr">
|
||||
|
||||
@@ -10,10 +10,10 @@
|
||||
<el-divider />
|
||||
|
||||
<el-row>
|
||||
<el-button icon="el-icon-circle-plus" type="primary" size="mini" @click="add('group')">
|
||||
<el-button type="primary" size="mini" @click="add('group')">
|
||||
{{ $t('dataset.add_group') }}
|
||||
</el-button>
|
||||
<el-button icon="el-icon-folder-add" type="primary" size="mini" @click="add('scene')">
|
||||
<el-button type="primary" size="mini" @click="add('scene')">
|
||||
{{ $t('dataset.add_scene') }}
|
||||
</el-button>
|
||||
</el-row>
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
</div>
|
||||
<div class="login-btn">
|
||||
<el-button type="primary" class="submit" size="default" @click.native.prevent="handleLogin">
|
||||
{{ $t('commons.button.login') }}
|
||||
{{ $t('commons.login') }}
|
||||
</el-button>
|
||||
</div>
|
||||
<div class="login-msg">
|
||||
@@ -163,7 +163,7 @@ export default {
|
||||
|
||||
.login-background {
|
||||
background-color: $--background-color-base;
|
||||
height: 100%;
|
||||
height: 100vh;
|
||||
@include login-center;
|
||||
}
|
||||
|
||||
|
||||
@@ -115,7 +115,7 @@ import { get } from '@/api/panel/panel'
|
||||
// 引入样式
|
||||
import '@/components/canvas/assets/iconfont/iconfont.css'
|
||||
import '@/components/canvas/styles/animate.css'
|
||||
import '@/components/canvas/styles/reset.css'
|
||||
// import '@/components/canvas/styles/reset.css'
|
||||
|
||||
import { ApplicationContext } from '@/utils/ApplicationContext'
|
||||
import FilterDialog from '../filter/filterDialog'
|
||||
|
||||
Reference in New Issue
Block a user