Merge remote-tracking branch 'gitee/master' into gitee-master

Raod 3 years ago
commit cfb44fdb8f

@ -54,6 +54,12 @@
<div class="content unicode" style="display: block;"> <div class="content unicode" style="display: block;">
<ul class="icon_lists dib-box"> <ul class="icon_lists dib-box">
<li class="dib">
<span class="icon iconfont">&#xe738;</span>
<div class="name">中国地图</div>
<div class="code-name">&amp;#xe738;</div>
</li>
<li class="dib"> <li class="dib">
<span class="icon iconfont">&#xe625;</span> <span class="icon iconfont">&#xe625;</span>
<div class="name">表格</div> <div class="name">表格</div>
@ -690,9 +696,9 @@
<pre><code class="language-css" <pre><code class="language-css"
>@font-face { >@font-face {
font-family: 'iconfont'; font-family: 'iconfont';
src: url('iconfont.woff2?t=1625020835610') format('woff2'), src: url('iconfont.woff2?t=1625038596365') format('woff2'),
url('iconfont.woff?t=1625020835610') format('woff'), url('iconfont.woff?t=1625038596365') format('woff'),
url('iconfont.ttf?t=1625020835610') format('truetype'); url('iconfont.ttf?t=1625038596365') format('truetype');
} }
</code></pre> </code></pre>
<h3 id="-iconfont-">第二步:定义使用 iconfont 的样式</h3> <h3 id="-iconfont-">第二步:定义使用 iconfont 的样式</h3>
@ -718,6 +724,15 @@
<div class="content font-class"> <div class="content font-class">
<ul class="icon_lists dib-box"> <ul class="icon_lists dib-box">
<li class="dib">
<span class="icon iconfont iconzhongguoditu"></span>
<div class="name">
中国地图
</div>
<div class="code-name">.iconzhongguoditu
</div>
</li>
<li class="dib"> <li class="dib">
<span class="icon iconfont iconbiaoge"></span> <span class="icon iconfont iconbiaoge"></span>
<div class="name"> <div class="name">
@ -1672,6 +1687,14 @@
<div class="content symbol"> <div class="content symbol">
<ul class="icon_lists dib-box"> <ul class="icon_lists dib-box">
<li class="dib">
<svg class="icon svg-icon" aria-hidden="true">
<use xlink:href="#iconzhongguoditu"></use>
</svg>
<div class="name">中国地图</div>
<div class="code-name">#iconzhongguoditu</div>
</li>
<li class="dib"> <li class="dib">
<svg class="icon svg-icon" aria-hidden="true"> <svg class="icon svg-icon" aria-hidden="true">
<use xlink:href="#iconbiaoge"></use> <use xlink:href="#iconbiaoge"></use>

@ -1,8 +1,8 @@
@font-face { @font-face {
font-family: "iconfont"; /* Project id 1513211 */ font-family: "iconfont"; /* Project id 1513211 */
src: url('iconfont.woff2?t=1625020835610') format('woff2'), src: url('iconfont.woff2?t=1625038596365') format('woff2'),
url('iconfont.woff?t=1625020835610') format('woff'), url('iconfont.woff?t=1625038596365') format('woff'),
url('iconfont.ttf?t=1625020835610') format('truetype'); url('iconfont.ttf?t=1625038596365') format('truetype');
} }
.iconfont { .iconfont {
@ -13,6 +13,10 @@
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
} }
.iconzhongguoditu:before {
content: "\e738";
}
.iconbiaoge:before { .iconbiaoge:before {
content: "\e625"; content: "\e625";
} }

File diff suppressed because one or more lines are too long

@ -5,6 +5,13 @@
"css_prefix_text": "icon", "css_prefix_text": "icon",
"description": "", "description": "",
"glyphs": [ "glyphs": [
{
"icon_id": "22378736",
"name": "中国地图",
"font_class": "zhongguoditu",
"unicode": "e738",
"unicode_decimal": 59192
},
{ {
"icon_id": "21338828", "icon_id": "21338828",
"name": "表格", "name": "表格",

@ -46,15 +46,34 @@
<div class="layout-left-fold" <div class="layout-left-fold"
:style="{ width: widthLeftForToolsHideButton + 'px' }" :style="{ width: widthLeftForToolsHideButton + 'px' }"
@click="toolIsShow = !toolIsShow"> @click="toolIsShow = !toolIsShow">
<i class="iconfont iconzhankai" /> <i class="el-icon-arrow-right" />
</div> </div>
<div class="layout-middle" <div class="layout-middle"
:style="{ width: middleWidth + 'px', height: middleHeight + 'px' }"> :style="{ width: middleWidth + 'px', height: middleHeight + 'px' }">
<div class="top-button"> <div class="top-button">
<span class="btn border-right">
<span class="btn">
<el-tooltip class="item"
effect="dark"
content="保存"
placement="bottom">
<i class="iconfont iconsave"
@click="saveData"></i>
</el-tooltip>
</span>
<span class="btn">
<el-tooltip class="item"
effect="dark"
content="预览"
placement="bottom">
<i class="iconfont iconyulan"
@click="viewScreen"></i>
</el-tooltip>
</span>
<span class="btn border-left">
<ul class="nav"> <ul class="nav">
<li><i class="el-icon-brush"></i> <li><i class="el-icon-brush"></i><i class="el-icon-arrow-down"></i>
<ul> <ul>
<li> <li>
<div><i class="el-icon-full-screen mr10"></i>边框 <i class="el-icon-arrow-right ml20"></i></div> <div><i class="el-icon-full-screen mr10"></i>边框 <i class="el-icon-arrow-right ml20"></i></div>
@ -74,24 +93,6 @@
</li> </li>
</ul> </ul>
</span> </span>
<span class="btn">
<el-tooltip class="item"
effect="dark"
content="保存"
placement="bottom">
<i class="iconfont iconsave"
@click="saveData"></i>
</el-tooltip>
</span>
<span class="btn">
<el-tooltip class="item"
effect="dark"
content="预览"
placement="bottom">
<i class="iconfont iconyulan"
@click="viewScreen"></i>
</el-tooltip>
</span>
</div> </div>
<div class="workbench-container" <div class="workbench-container"
:style="{ :style="{
@ -640,7 +641,13 @@ export default {
margin-left: 20px; margin-left: 20px;
} }
.border-right { .border-right {
border-right: 1px solid #566876; border-right: 1px solid #273b4d;
}
.border-left {
border-left: 1px solid #273b4d;
}
.el-icon-arrow-down {
font-size: 10px;
} }
.is-active { .is-active {
background: #31455d !important; background: #31455d !important;
@ -697,24 +704,18 @@ export default {
display: -ms-flexbox; display: -ms-flexbox;
display: flex; display: flex;
height: 100%; height: 100%;
-webkit-box-align: bottom;
-ms-flex-align: bottom;
align-items: bottom;
font-size: 12px; font-size: 12px;
overflow: hidden; overflow: hidden;
background-color: #455766; background-color: #242a30;
cursor: pointer; cursor: pointer;
padding-top: 26%;
i { i {
font-size: 22px; font-size: 18px;
width: 18px; width: 18px;
height: 23px; height: 23px;
margin-left: 0px; margin-left: 0px;
color: #5a83bb; color: #bfcbd9;
transform: rotate(180deg);
-ms-transform: rotate(180deg); /* IE 9 */
-moz-transform: rotate(180deg); /* Firefox */
-webkit-transform: rotate(180deg); /* Safari 和 Chrome */
-o-transform: rotate(180deg); /* Opera */
} }
} }
@ -723,10 +724,10 @@ export default {
position: relative; position: relative;
//width: calc(100% - 445px); //width: calc(100% - 445px);
height: 100%; height: 100%;
background-color: #455766; background-color: rgb(36, 42, 48);
box-sizing: border-box; box-sizing: border-box;
-webkit-box-sizing: border-box; -webkit-box-sizing: border-box;
border: 1px solid #455766; border: 1px solid rgb(36, 42, 48);
align-items: center; align-items: center;
vertical-align: middle; vertical-align: middle;
.top-button { .top-button {
@ -736,11 +737,30 @@ export default {
line-height: 40px; line-height: 40px;
margin-left: 9px; margin-left: 9px;
.btn { .btn {
color: #cde8ff; color: #788994;
width: 36px; width: 55px;
text-align: center; text-align: center;
display: block; display: block;
cursor: pointer; cursor: pointer;
.el-icon-arrow-down {
transform: rotate(0deg);
-ms-transform: rotate(0deg); /* IE 9 */
-moz-transform: rotate(0deg); /* Firefox */
-webkit-transform: rotate(0deg); /* Safari 和 Chrome */
-o-transform: rotate(0deg); /* Opera */
transition: all 0.4s ease-in-out;
}
&:hover {
background: rgb(25, 29, 34);
.el-icon-arrow-down {
transform: rotate(180deg);
-ms-transform: rotate(180deg); /* IE 9 */
-moz-transform: rotate(180deg); /* Firefox */
-webkit-transform: rotate(180deg); /* Safari 和 Chrome */
-o-transform: rotate(180deg); /* Opera */
transition: all 0.4s ease-in-out;
}
}
} }
} }
.workbench-container { .workbench-container {
@ -779,16 +799,16 @@ export default {
.el-tabs__header { .el-tabs__header {
.el-tabs__nav { .el-tabs__nav {
.el-tabs__item { .el-tabs__item {
background-color: #31455d; background-color: #242f3b;
border: 0px; border: 0px;
} }
.el-tabs__item.is-active { .el-tabs__item.is-active {
background-color: #263445; background-color: #31455d;
} }
} }
} }
.el-tabs__content { .el-tabs__content {
background-color: #263445; background-color: #242a30;
height: calc(100vh - 39px); height: calc(100vh - 39px);
overflow-x: hidden; overflow-x: hidden;
overflow-y: auto; overflow-y: auto;
@ -859,7 +879,7 @@ li {
clear: both; clear: both;
} }
.nav li { .nav li {
width: 40px; width: 55px;
text-align: center; text-align: center;
position: relative; position: relative;
} }
@ -871,7 +891,7 @@ li {
text-decoration: none; text-decoration: none;
} }
.nav li:hover { .nav li:hover {
color: #6dc5ff; color: #788994;
} }
.nav li ul { .nav li ul {
visibility: hidden; visibility: hidden;
@ -881,7 +901,7 @@ li {
top: 38px; top: 38px;
left: 0; left: 0;
padding: 0; padding: 0;
background-color: #263445; background-color: rgb(36, 42, 48);
opacity: 0; opacity: 0;
_margin: 0; _margin: 0;
width: 120px; width: 120px;
@ -891,6 +911,9 @@ li {
opacity: 1; opacity: 1;
visibility: visible; visibility: visible;
margin: 0; margin: 0;
li:hover {
background-color: rgb(25, 29, 34);
}
} }
.nav ul li { .nav ul li {
float: left; float: left;
@ -906,6 +929,7 @@ li {
float: none; float: none;
height: 120px; height: 120px;
border: 1px solid #30445c; border: 1px solid #30445c;
background-color: rgb(25, 29, 34);
transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out;
} }
.nav ul a:hover { .nav ul a:hover {
@ -921,7 +945,6 @@ li {
height: 300px; height: 300px;
overflow: auto; overflow: auto;
padding: 10px; padding: 10px;
box-shadow: -1px 0 0 #30445c;
_margin: 0; _margin: 0;
} }
.nav ul ul li { .nav ul ul li {
@ -931,4 +954,10 @@ li {
display: block; display: block;
float: left; float: left;
} }
/deep/.vue-ruler-h {
opacity: 0.3;
}
/deep/.vue-ruler-v {
opacity: 0.3;
}
</style> </style>

@ -44,6 +44,21 @@ const screenConfig = {
placeholder: '', placeholder: '',
value: '#000', value: '#000',
}, },
{
type: 'el-select',
label: '刷新频率',
name: 'fontWeight',
required: false,
placeholder: '',
selectOptions: [
{ code: '10', name: '10秒' },
{ code: '30', name: '30秒' },
{ code: '60', name: '1分' },
{ code: '120', name: '2分' },
{ code: '300', name: '5分' }
],
value: '300'
},
// { // {
// type: 'el-upload-picture', // type: 'el-upload-picture',
// label: '背景图片', // label: '背景图片',
@ -4568,7 +4583,7 @@ const widgetTools = [
code: 'widget-map', code: 'widget-map',
type: 'chart', type: 'chart',
label: '中国地图', label: '中国地图',
icon: 'chinaMapChart', icon: 'iconzhongguoditu',
options: { options: {
setup: [ setup: [
{ {

@ -201,7 +201,7 @@ export default {
} }
} }
}, },
dynamicDataFn(val) { dynamicDataFn(val, refreshTime) {
if (!val) return; if (!val) return;
if (this.ispreview) { if (this.ispreview) {
this.getEchartData(val); this.getEchartData(val);

@ -140,13 +140,14 @@
:model="dialogForm" :model="dialogForm"
:rules="rules" :rules="rules"
size="small" size="small"
style="min-height:200px"
label-width="100px"> label-width="100px">
<el-row :gutter="10"> <el-row :gutter="10">
<el-col :xs="24" <!-- <el-col :xs="24"
:sm="20" :sm="20"
:md="6" :md="6"
:lg="6" :lg="6"
:xl="6"> :xl="6"> -->
<!-- <el-form-item label="报表类型"> <!-- <el-form-item label="报表类型">
<el-select v-model="dialogForm.reportType" <el-select v-model="dialogForm.reportType"
placeholder="报表类型" placeholder="报表类型"
@ -157,12 +158,12 @@
:value="item.id" /> :value="item.id" />
</el-select> </el-select>
</el-form-item> --> </el-form-item> -->
</el-col> <!-- </el-col> -->
<el-col :xs="24" <el-col :xs="24"
:sm="20" :sm="20"
:md="7" :md="12"
:lg="7" :lg="12"
:xl="7"> :xl="12">
<el-form-item label="名称" <el-form-item label="名称"
prop="reportName"> prop="reportName">
<el-input v-model="dialogForm.reportName" /> <el-input v-model="dialogForm.reportName" />
@ -170,22 +171,22 @@
</el-col> </el-col>
<el-col :xs="24" <el-col :xs="24"
:sm="20" :sm="20"
:md="7" :md="12"
:lg="7" :lg="12"
:xl="7"> :xl="12">
<el-form-item label="报表编码" <el-form-item label="报表编码"
prop="reportCode"> prop="reportCode">
<el-input v-model="dialogForm.reportCode" /> <el-input v-model="dialogForm.reportCode" />
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row> <!-- <el-row>
<el-col :xs="24" <el-col :xs="24"
:sm="20" :sm="20"
:md="6" :md="6"
:lg="6" :lg="6"
:xl="6"> :xl="6">
<!-- <el-form-item label="分组"> <el-form-item label="分组">
<el-select v-model="dialogForm.reportGroup" <el-select v-model="dialogForm.reportGroup"
placeholder="请选择" placeholder="请选择"
clearable> clearable>
@ -194,9 +195,9 @@
:label="item.text" :label="item.text"
:value="item.id" /> :value="item.id" />
</el-select> </el-select>
</el-form-item> --> </el-form-item>
</el-col> </el-col>
</el-row> </el-row> -->
<el-col :span="24"> <el-col :span="24">
<el-form-item label="备注"> <el-form-item label="备注">
<el-input v-model="dialogForm.reportDesc" <el-input v-model="dialogForm.reportDesc"

Loading…
Cancel
Save