first commit

This commit is contained in:
2026-09-09 09:14:28 +08:00
commit 5343198112
5199 changed files with 1052895 additions and 0 deletions
File diff suppressed because it is too large Load Diff
File diff suppressed because one or more lines are too long
@@ -0,0 +1,198 @@
[v-cloak] {
display: none
}
#app {
background-color: rgb(240, 242, 245);
height: 100%;
overflow-y: auto;
}
.platform .guava-card .slot-class {
height: calc(100vh - 180px);
}
/**
图片预览
*/
.viewer-container {
z-index: 10000;
}
/**
富文本层级调整
*/
.w-e-toolbar{
z-index: 1001!important;
}
.w-e-text-container{
z-index: 1000!important;
}
/**
搜索栏样式
*/
.search {
display: flex;
flex-wrap: wrap;
margin-bottom: -15px;
}
.search .search-item {
display: flex;
align-items: center;
margin-bottom: 15px;
box-sizing: border-box;
width: calc((100% - 160px) / 3);
overflow: hidden;
}
.search .search-query {
width: 160px;
margin-bottom: 15px;
overflow: hidden;
white-space: nowrap;
}
.search .search-item:not(:last-child) {
padding-right: 40px;
}
.search .search-item-label {
color: rgb(100, 100, 100);
margin-right: 10px;
width: 80px;
min-width: 80px;
overflow: hidden;
}
.search .search-item-option {
min-width: calc(100% - 80px - 10px);
overflow: hidden;
}
@media screen and (max-width: 1200px) {
.search .search-item {
width: calc((100% - 160px) / 2);
}
}
@media screen and (max-width: 992px) {
.search .search-item {
width: 100%;
}
.search .search-item:not(:last-child) {
padding-right: 0;
}
}
.platform .vi-table table thead tr th {
background-color: #fafafa !important;
}
.table-tool-group {
margin-left: 15px;
overflow: hidden;
border-radius: 20px;
display: flex;
}
.table-tool-group .table-tool-group-item {
width: 40px;
height: 40px;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
background-color: rgba(240, 240, 240, .7);
font-weight: bolder;
transition: all 250ms;
}
.table-tool-group .table-tool-group-item:not(:last-child) {
border-right: 1px solid white;
}
.table-tool-group .table-tool-group-item:hover {
color: white;
background-color: rgb(64, 158, 255);
}
.width-100 {
width: 100%;
}
.ie-must-go-die {
position: fixed;
left: 0;
top: 0;
right: 0;
bottom: 0;
}
.ie-must-go-die .ie-container {
position: absolute;
top: 40%;
left: 33%;
text-align: center;
color: #000;
}
.ie-must-go-die .ie-container h1 {
font-size: 28px;
margin-bottom: 36px;
}
.ie-must-go-die .ie-container p {
font-size: 16px;
line-height: 24px;
margin-bottom: 16px;
}
.ie-must-go-die .ie-container a {
display: block;
color: inherit;
}
.ie-must-go-die .ie-container a:hover {
text-decoration: underline;
}
.ie-must-go-die .ie-container a:visited {
color: inherit;
}
.el-loading-spinner i {
font-size: 28px;
}
.el-loading-spinner i, .el-loading-spinner p {
/*color: white !important;*/
}
.w-e-toolbar {
background-color: white !important;
border-color: #DCDFE6 !important;
}
.w-e-text-container {
border-color: #DCDFE6 !important;
}
.el-radio-group label {
margin-bottom: 0 !important;
}
/* 滚动条整体部分 */
.main-navigation::-webkit-scrollbar {
display: none;
}
.main-navigation {
border-right: 3px solid rgb(240, 240, 240);
}
@@ -0,0 +1,174 @@
.el-form-display {
display: flex;
display: -webkit-flex;
}
.el-form-display .el-form-item {
flex: 1;
}
.div-display {
display: flex;
display: -webkit-flex;
}
.div-display .content {
margin-right: 20px;
flex: 2;
}
.div-display .note {
flex: 1;
}
.tabInfo {
width: 100%;
}
.tabHead {
text-align: center;
background-color: #317fca;
color: whitesmoke;
padding: 10px;
font-size: 16px;
font-weight: normal;
color: rgb(100, 100, 100);
}
.tabInfo tr {
border: 1px solid rgb(240, 240, 240)
}
.tabInfo td.title {
padding: 10px;
text-align: center;
width: 25%;
color: black;
/*background-color: rgb(248, 248, 248);*/
border: 1px solid rgb(240, 240, 240)
}
.tabInfo td.content {
padding: 10px;
text-align: center;
color: rgb(160, 160, 160);
width: 25%;
border: 1px solid rgb(240, 240, 240)
}
.tabInfo td.three {
width: 75%;
}
.tabInfo td div.bigContent {
text-align: left;
max-height: 188px;
overflow-y: auto;
white-space: -moz-pre-wrap;
white-space: -o-pre-wrap;
/*white-space: pre-wrap;*/
white-space: pre-line;
word-wrap: break-word;
}
.el-collapse-item__header {
/*background-color: #317fca;*/
/*color: whitesmoke;*/
padding-left: 10px;
/*border-bottom:1px solid #ebeef5 ;*/
height: 35px;
line-height: 35px;
font-size: 16px;
}
.el-collapse {
border: none;
}
.el-collapse-item__wrap {
border-bottom: none;
}
.filedownload {
font-weight: 500;
font-size: 14px;
cursor: pointer;
}
.textareaDiv {
text-align: left;
white-space: pre-wrap;
white-space: -moz-pre-wrap;
white-space: -o-pre-wrap;
word-wrap: break-word;
}
.view-header .el-form-item__label {
color: #409EFF;
font-weight: bold;
line-height: 24px;
border-left: 5px solid #409EFF;
box-sizing: border-box;
}
.textarea-div {
white-space: pre-line;
white-space: -moz-pre-wrap;
white-space: -o-pre-wrap;
word-wrap: break-word;
text-align: left !important;
}
.high_light {
color: orangered;
font-weight: bold;
}
.file-div {
display: inline-block;
width: 100px;
margin-right: 10px
}
.file-doc-img {
width: 100px;
height: 100px;
box-shadow: 0 0 5px rgb(200, 200, 200)
}
.file-image-img {
width: 100px;
height: 100px;
box-shadow: 0 0 5px rgb(200, 200, 200)
}
.file-image-img-slot {
width: 100%;
height: 100%;
display: flex;
align-items: center;
text-align: center
}
.file-image-img-slot-span {
font-size: 12px;
color: rgb(180, 180, 180);
width: 100%;
text-align: center;
overflow: hidden;
padding: 0 10px;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical
}
.file-down-span {
margin-top: -10px;
}
.v-box .el-card__header {
padding: 5px 15px;
}
@@ -0,0 +1,50 @@
.ViewDialogClass .el-collapse-item__header {
background: linear-gradient(to left, #28a5f5, #1e87f0);
color: whitesmoke;
padding-left: 10px;
height: 35px;
line-height: 35px;
font-size: 16px;
}
.ViewYhDialogClass .el-collapse-item__arrow {
}
.ViewDialogClass .el-collapse-item__content {
}
.ViewYhDialogClass .el-collapse-item:last-child {
}
.ViewDialogClass .el-collapse {
}
.ViewDialogClass .el-collapse-item__content {
}
.ViewDialogClass .el-collapse-item:last-child {
}
.ViewDialogClass .el-collapse-item {
}
.ViewDialogClass .el-form-item {
}
.ViewDialogClass .el-form-item__label {
}
.ViewDialogClass .el-dialog__headerbtn {
}
@@ -0,0 +1,138 @@
/*.el-dialog__header{*/
/*border-bottom: 1px solid #e5e5e5;*/
/*}*/
/*.el-dialog__footer{*/
/*border-top: 1px solid #e5e5e5;*/
/*}*/
.el-table-container {
padding-top: 54px;
padding-left: 5px;
padding-right: 5px;
}
.el-pagination-container {
background-color: #fff;
}
.el-pagination {
height: 50px;
overflow: hidden;
display: flex;
align-items: center;
}
.el-pagination button, .el-pagination span:not([class*=suffix]) {
line-height: 50px;
height: 50px;
}
a .collapsed {
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIW…aIJN0bgQRgIjnlmn1heSO5PE6Y2YXe+5Cr5+h++gs12AcAS6FS+7YOsj4AAAAASUVORK5CYII=);
}
a .expanded {
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIW…EYRYBPOB0gBShKwKGA////48VtbW3/8clTnBIH3gCKkzJgAGvBX0dDm0sCAAAAAElFTkSuQmCC);
}
.ms-tree-space {
position: relative;
top: 1px;
display: inline-block;
font-family: 'Glyphicons Halflings';
font-style: normal;
font-weight: 400;
line-height: 1;
width: 18px;
height: 14px;
}
.ms-tree-space::before {
content: ""
}
.el-table__expand-icon--expanded {
-ms-transform: rotate(90deg);
transform: rotate(90deg);
}
.el-table-expand {
font-size: 0;
}
.el-table-expand label {
width: 90px;
color: #99a9bf;
font-size: 12px;
}
.el-table-expand .el-form-item{
margin-bottom: 2px;
margin-right: 0;
width: 50%;
display: inline-block;
vertical-align: top;
}
.el-table-expand .el-form-item__content {
margin-right: 0;
margin-bottom: 0;
font-size: 12px;
display: inline-block;
vertical-align: top;
position: relative;
}
.el-table-expand-line {
font-size: 0;
}
.el-table-expand-line label {
width: 90px;
color: #99a9bf;
font-size: 12px;
}
.el-table-expand-line .el-form-item{
margin-bottom: 2px;
margin-right: 0;
width: 100%;
display: inline-block;
vertical-align: top;
}
.el-table-expand-line .el-form-item__content {
margin-right: 0;
margin-bottom: 0;
font-size: 12px;
display: inline-block;
vertical-align: top;
position: relative;
}
.el-table__body-wrapper {
scrollbar-width: none; /* firefox */
-ms-overflow-style: none; /* IE 10+ */
overflow-x: hidden;
overflow-y: auto;
}
.el-upload__tip {
margin-top: 0px;
color: #c33714;
}
.el-dialog {
width: 60%;
}
.el-table__empty-block {
width: 100% !important;
min-height: 300px;
background: url("/none.png") no-repeat center center;
background-size: 360px 260px;
}
.el-table__empty-text {
display: block;
position: absolute;
bottom: 80px;
height: 40px;
line-height: 40px;
/*display: none !important;*/
}
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,140 @@
#app {
height: 100%;
overflow-y: auto;
}
#app > .transition-row {
min-height: calc(100vh - 50px);
}
#app > .transition-row > .transition-item {
width: 100%;
min-height: 100%;
position: absolute;
top: 0;
left: 0
}
.viewer-container {
z-index: 9999;
}
.header {
position: relative;
}
.app .header-fixed + .layout {
padding-top: 0;
}
.el-table-container {
padding-top: 0;
}
.layout {
max-height: calc(100vh - 50px);
}
.sidebar {
width: 250px;
}
.app .brand {
width: 250px !important;
}
.small-menu .brand {
width: 70px !important;
}
input[type="file"] {
display: none
}
.pointer {
cursor: pointer;
}
.space-around {
justify-content: space-around;
}
.space-between {
justify-content: space-between;
}
.el-upload__tip {
margin-top: 0px;
color: #c33714;
}
.el-dialog {
width: 60%;
}
.el-table__empty-block {
min-height: 300px;
background: url("/none.png") no-repeat center center;
background-size: 360px 260px;
width: 100% !important;
}
.el-table__empty-text {
display: block;
position: absolute;
bottom: 80px;
height: 40px;
line-height: 40px;
}
.el-radio-group label{
margin-bottom: 0!important;
}
.el-scrollbar__wrap { overflow: scroll; width: 110%; height: 120%; }
/* 滚动条有滑块的轨道部分 */
::-webkit-scrollbar-track-piece {
background-color: #00000000;
border-radius: 1px;
}
/* 整个滚动条 */
::-webkit-scrollbar {
width: 4px;
height: 100%;
}
/* 滚动条竖向滑块 */
::-webkit-scrollbar-thumb:vertical {
width: 6px;
height: 6px;
cursor: pointer;
background-color: rgba(255, 255, 255, 0.5);
border-radius: 1px;
}
/* 滚动条竖向滑块hover */
::-webkit-scrollbar-thumb:vertical:hover {
background-color: rgba(255, 255, 255, .2);
}
/* 滚动条横向滑块 */
::-webkit-scrollbar-thumb:horizontal {
width: 6px;
height: 6px;
cursor: pointer;
background-color: rgba(255, 255, 255, .1);
border-radius: 1px;
}
/* 滚动条横向滑块hover */
::-webkit-scrollbar-thumb:horizontal:hover {
background-color: rgba(255, 255, 255, .2);
}
/* 同时有垂直和水平滚动条时交汇的部分 */
::-webkit-scrollbar-corner {
display: block; /* 修复交汇时出现的白块 */
}
@@ -0,0 +1,283 @@
.options {
-webkit-transform: scale(0.7);
-moz-transform: scale(0.7);
-ms-transform: scale(0.7);
transform: scale(0.7);
-webkit-backface-visibility: hidden;
opacity: 0;
-webkit-transition: all 300ms;
-moz-transition: all 300ms;
transition: all 300ms
}
.playground.opened {
visibility: visible
}
.opened .options {
-webkit-transform: scale(1);
-moz-transform: scale(1);
-ms-transform: scale(1);
transform: scale(1);
opacity: 1
}
.pg-cal {
text-align: center;
display: block
}
.pg-val {
display: block;
float: left;
width: 95px;
margin-right: 13px;
margin-bottom: 10px;
padding: 5px;
border-radius: 4px;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
text-transform: uppercase;
white-space: nowrap;
color: #5f5f5f;
border: 1px solid transparent
}
.pg-val:hover {
cursor: pointer
}
.pg-val:hover,.pg-val.active {
color: #000
}
.pg-val i {
display: block
}
.playground {
/* display: none;
visibility: hidden; */
position: fixed;
top: 50%;
left: 50%;
width: 500px;
height: auto;
z-index: 9999;
-webkit-transform: translateX(-50%) translateY(-50%);
-moz-transform: translateX(-50%) translateY(-50%);
-ms-transform: translateX(-50%) translateY(-50%);
transform: translateX(-50%) translateY(-50%);
visibility: hidden;
-webkit-backface-visibility: hidden
}
.playground>.options {
position: relative;
background: #fff;
border: 1px solid #ccc;
border-radius: 2px;
overflow: hidden;
padding: 15px 0
}
.playground>.options:before {
content: "";
position: absolute;
top: 0;
bottom: 0;
right: 0;
width: 50%;
background-color: #f5f5f5;
z-index: -1
}
.playground h6 {
font-size: 11px;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif
}
.pg-toggle {
/* display: none;
visibility: hidden;
text-align: center;
font-size: 20px;
width: 40px;
height: 40px;
line-height: 40px;
margin: 0;
z-index: 9999;
cursor: pointer;
background: #fff;
border: 1px solid #8d8d8d;
border-right: 0;
border-radius: 4px 0 0 4px;
-moz-border-radius: 4px 0 0 4px;
-webkit-border-radius: 4px 0 0 4px;
position: fixed;
top: 50%;
right: 0;
-webkit-transform: translateX(0) translateY(-50%);
-moz-transform: translateX(0) translateY(-50%);
-ms-transform: translateX(0) translateY(-50%);
transform: translateX(0) translateY(-50%)*/
}
.playground .pg-close {
position: absolute;
padding: 15px;
right: 0;
cursor: pointer
}
.playground select {
width: 100%;
font-size: 10px;
text-transform: uppercase;
outline: none !important;
letter-spacing: 1px
}
.playground .options-container {
width: 50%;
float: left;
padding: 3px 15px
}
.playground small {
font-size: 80%
}
.playground .cs_color {
position: relative;
display: inline-block;
width: 95px;
margin-right: 13px;
margin-bottom: 5px;
padding: 5px;
border-radius: 4px;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border: 1px solid transparent
}
.cs_color>div:first-child {
width: 30%;
height: 12px;
float: left
}
.cs_color>div:nth-child(2) {
width: 70%;
height: 12px;
float: left
}
.cs_color>div:nth-child(3) {
width: 30%;
height: 71px;
float: left
}
.cs_color>div:nth-child(4) {
width: 70%;
height: 71px;
background-color: #f1f4f9;
float: left
}
.playground .cs_color.active,.playground .cs_color:hover,.pg-val:hover,.pg-val.active
{
border: 1px solid #a55ee7
}
.playground .cs_1 div:first-child {
background: #147bd0
}
.playground .cs_1 div:nth-child(2) {
background: #1582dc
}
.playground .cs_1 div:nth-child(3) {
background: #2e353d
}
.playground .cs_2 div:first-child {
background: #14a5d3
}
.playground .cs_2 div:nth-child(2) {
background: #15acdc
}
.playground .cs_2 div:nth-child(3) {
background: #4f576b
}
.playground .cs_3 div:first-child {
background: #353d46
}
.playground .cs_3 div:nth-child(2) {
background: #353d46
}
.playground .cs_3 div:nth-child(3) {
background: #353d46
}
.playground .cs_4 div:first-child {
background: #fff;
height: 10px;
border: 1px solid #eee;
border-right: 0
}
.playground .cs_4 div:nth-child(2) {
background: #fff;
height: 10px;
border: 1px solid #eee;
border-left: 0
}
.playground .cs_4 div:nth-child(3) {
background: #39424c
}
.playground .cs_5 div:first-child {
background: #2dbe60
}
.playground .cs_5 div:nth-child(2) {
background: #2dbe60
}
.playground .cs_5 div:nth-child(3) {
background: #f1f4f9
}
.playground .cs_5 div:nth-child(4) {
background: white
}
.pg-footer {
position: absolute;
width: 100%;
text-align: right;
bottom: 5px;
right: 5px
}
.layout-toggleMenu__item{
display: inline-block;
cursor: pointer;
padding: 5px;
margin-left: 5px;
border: 1px solid transparent;
border-radius: 4px;
}
.layout-toggleMenu__item.is-active{
border-color: #a55ee7;
}
@@ -0,0 +1,265 @@
::-moz-selection {
background: #15acdc;
color: #ffffff;
text-shadow: none;
}
::selection {
background: #15acdc;
color: #ffffff;
text-shadow: none;
}
.loader:after {
border: solid 1px transparent;
border-top-color: #15db81;
border-left-color: #15db81;
}
a:active, a:focus, a:hover {
color: #11ac66;
}
.app > .header {
background-color: #15acdc;
}
.app > .header .brand {
background-color: #14a5d3;
}
.app > .header .brand a, .app > .header .brand a:hover {
color: rgba(219, 244, 252, 0.9);
}
.app > .header .navbar-toggle, .app > .header .nav > li > a, .app > .header .bg-none {
color: #dbf4fc;
}
@media screen and (min-width: 768px) {
.header .nav > li > a:hover, .header .nav > li > a:focus, .header .nav .open > a, .header .nav .open > a:hover, .header .nav .open > a:focus {
background-color: #139dc9;
}
}
.header .nav .dropdown-menu .open > a{
background-color: #dcdff0;
}
.header .open a.toggle-search, .header a.toggle-search:hover {
background-color: #139dc9;
}
.sidebar {
background-color: #4f576b;
color: #bec8e0;
}
.sidebar a, .sidebar .nav-title {
color: #bec8e0;
}
.compact-menu .main-navigation > ul > li {
border-bottom: 1px solid #4b5265;
border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.app:not(.small-menu) .main-navigation > ul > li > ul > li.active a, .app:not(.small-menu) .main-navigation > ul > li > ul > li a:hover {
color: #ffffff;
}
.main-navigation > ul > li:hover > a {
color: #ffffff;
}
.main-navigation > ul > li.open .sub-menu {
background-color: #525b6f;
}
@media screen and (min-width: 768px) {
.small-menu .main-navigation > ul > li.open {
background-color: #4b5265;
}
}
.gallery .overlay {
background-color: #15acdc;
background-color: rgba(21, 172, 220, 0.9);
}
.btn-color {
color: #ffffff;
background-color: #15acdc;
border-color: #15acdc;
}
a.btn-color {
color: #ffffff;
}
.btn-color:hover, .btn-color:focus, .btn-color:active, .btn-color.active, .open .dropdown-toggle.btn-color {
color: #ffffff;
background-color: #139ac5;
background-image: none;
border-color: #139ac5;
}
.btn-color.disabled, .btn-color[disabled], fieldset[disabled] .btn-color, .btn-color.disabled:hover, .btn-color[disabled]:hover, fieldset[disabled] .btn-color:hover, .btn-color.disabled:focus, .btn-color[disabled]:focus, fieldset[disabled] .btn-color:focus, .btn-color.disabled:active, .btn-color[disabled]:active, fieldset[disabled] .btn-color:active, .btn-color.disabled.active, .btn-color[disabled].active, fieldset[disabled] .btn-color.active {
background-color: #15acdc;
border-color: #15acdc;
}
.btn-color.btn-outline {
background-color: transparent;
color: #15acdc;
}
.btn-color.btn-outline:hover, .btn-color.btn-outline:focus, .btn-color.btn-outline:active, .btn-color.btn-outline.active {
background-color: #15acdc;
color: #ffffff;
}
.color {
color: #15acdc;
}
#nestable2 .dd-handle {
color: #b9e6f5;
border: 1px solid #15acdc;
background-color: #15acdc;
}
#nestable2 .dd-handle:hover {
background-color: #21b9ea;
}
.slider-color .slider-selection {
background-color: #15acdc;
}
.slider-color .slider-handle {
box-shadow: rgba(0, 0, 0, 0.2) 0px 2px 5px, #15acdc 0px 0px 0px 1px;
}
.panel-color {
border-color: #15acdc;
}
.panel-color > .panel-heading {
color: #b9e6f5;
background-color: #15acdc;
border-color: #15acdc;
}
.panel-color > .panel-heading + .panel-collapse .panel-body {
border-top-color: #15acdc;
}
.panel-color > .panel-heading a {
color: #b9e6f5;
}
.panel-color > .panel-footer + .panel-collapse .panel-body {
border-bottom-color: #15acdc;
}
.label-color {
background-color: #15acdc;
}
.label-color[href]:hover, .label-color[href]:focus {
background-color: #1188ad;
}
.bg-color {
background-color: #15acdc;
color: #b9e6f5;
}
.bg-color a {
color: #b9e6f5;
}
.bg-color a:active, .bg-color a:focus, .bg-color a:hover {
color: #8cd6ee;
text-decoration: none;
outline: 0;
}
.bg-color .nav > li:hover > a, .bg-color .nav > li:focus > a, .bg-color .nav > li:active > a, .bg-color .nav > li.active > a, .bg-color .nav > li > a:hover, .bg-color .nav > li > a:focus {
background-color: #14a1ce;
}
.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
border-color: #15acdc;
background-color: #15acdc;
color: #ffffff;
}
.progress-bar-color {
background-color: #15acdc;
}
.morris-hover.morris-default-style {
border-color: #15acdc;
background-color: #15acdc;
background-color: rgba(21, 172, 220, 0.9);
}
.morris-hover.morris-default-style a {
color: #ffffff;
}
#jqstooltip {
background-color: #15acdc;
border-color: #15acdc;
}
#tooltip {
background-color: #15acdc;
color: #ffffff;
}
#tooltip:before {
border-color: transparent #15acdc transparent transparent;
}
.jvectormap-label {
border: solid 1px #15acdc;
background-color: #15acdc;
color: white;
}
.jvectormap-zoomin, .jvectormap-zoomout {
background-color: #15acdc;
color: white;
}
@media screen and (min-width: 768px) {
.app.small-menu .sidebar .main-navigation > ul > li .leftMenu__twoIcon{
display: inline;
}
.app.small-menu .sidebar .main-navigation .nav > li > .sub-menu > li a{
padding: 5px 20px!important;
color: #59595a;
}
.app.small-menu .sidebar .main-navigation .nav > li > .sub-menu li.active,
.app.small-menu .sidebar .main-navigation .nav > li > .sub-menu > li a:hover{
background-color: #f1f2f9;
}
.app.small-menu .sidebar .main-navigation .nav > li > .sub-menu > li > a + .sub-menu > li > a{
padding: 5px 20px 5px 40px !important;
}
.app:not(.small-menu) .main-navigation > ul > li > ul li.active a,
.app:not(.small-menu) .main-navigation > ul > li > ul li a:hover{
color: #fff;
}
}
.main-navigation > ul > li .sub-menu .sub-menu{
background-color: #5b657b;
}
.small-menu .main-navigation > ul > li .sub-menu .sub-menu{
background-color: transparent;
}
@@ -0,0 +1,262 @@
::-moz-selection {
background: #353d46;
color: #ffffff;
text-shadow: none;
}
::selection {
background: #353d46;
color: #ffffff;
text-shadow: none;
}
.loader:after {
border: solid 1px transparent;
border-top-color: #2e353d;
border-left-color: #2e353d;
}
a:active, a:focus, a:hover {
color: #1E81DB;
}
.app > .header,.app > .header .brand {
background-color: #1867b0;
}
.app .brand {
width: 250px !important;
}
.app > .header .navbar-toggle, .app > .header .nav > li > a, .app > .header .bg-none {
color: #FFFFFF;
}
@media screen and (min-width: 768px) {
.header .nav > li > a:hover, .header .nav > li > a:focus, .header .nav .open > a, .header .nav .open > a:hover, .header .nav .open > a:focus {
background-color: #1E81DB;
}
}
.header .nav .dropdown-menu .open > a{
background-color: #dcdff0;
}
.header .open a.toggle-search, .header a.toggle-search:hover {
background-color: #2c323a;
}
.sidebar {
background-color: #fff;
color: #1867b0;
}
.sidebar a, .sidebar .nav-title {
color: #494848;
}
.compact-menu .main-navigation > ul > li {
border-bottom: 1px solid #303840;
border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.app:not(.small-menu) .main-navigation > ul > li > ul > li.active a, .app:not(.small-menu) .main-navigation > ul > li > ul > li a:hover {
color: #1867b0;
}
.main-navigation > ul > li:hover > a {
color: #1867b0;
}
.main-navigation > ul > li.open .sub-menu {
background-color: #fff;
}
@media screen and (min-width: 768px) {
.small-menu .main-navigation > ul > li.open {
background-color: #FFFFFF;
}
}
.gallery .overlay {
background-color: #353d46;
background-color: rgba(53, 61, 70, 0.9);
}
.btn-color {
color: #ffffff;
background-color: #353d46;
border-color: #353d46;
}
a.btn-color {
color: #ffffff;
}
.btn-color:hover, .btn-color:focus, .btn-color:active, .btn-color.active, .open .dropdown-toggle.btn-color {
color: #ffffff;
background-color: #2a3037;
background-image: none;
border-color: #2a3037;
}
.btn-color.disabled, .btn-color[disabled], fieldset[disabled] .btn-color, .btn-color.disabled:hover, .btn-color[disabled]:hover, fieldset[disabled] .btn-color:hover, .btn-color.disabled:focus, .btn-color[disabled]:focus, fieldset[disabled] .btn-color:focus, .btn-color.disabled:active, .btn-color[disabled]:active, fieldset[disabled] .btn-color:active, .btn-color.disabled.active, .btn-color[disabled].active, fieldset[disabled] .btn-color.active {
background-color: #353d46;
border-color: #353d46;
}
.btn-color.btn-outline {
background-color: transparent;
color: #353d46;
}
.btn-color.btn-outline:hover, .btn-color.btn-outline:focus, .btn-color.btn-outline:active, .btn-color.btn-outline.active {
background-color: #353d46;
color: #ffffff;
}
.color {
color: #353d46;
}
#nestable2 .dd-handle {
color: #c2c5c7;
border: 1px solid #353d46;
background-color: #353d46;
}
#nestable2 .dd-handle:hover {
background-color: #404954;
}
.slider-color .slider-selection {
background-color: #353d46;
}
.slider-color .slider-handle {
box-shadow: rgba(0, 0, 0, 0.2) 0px 2px 5px, #353d46 0px 0px 0px 1px;
}
.panel-color {
border-color: #353d46;
}
.panel-color > .panel-heading {
color: #c2c5c7;
background-color: #353d46;
border-color: #353d46;
}
.panel-color > .panel-heading + .panel-collapse .panel-body {
border-top-color: #353d46;
}
.panel-color > .panel-heading a {
color: #c2c5c7;
}
.panel-color > .panel-footer + .panel-collapse .panel-body {
border-bottom-color: #353d46;
}
.label-color {
background-color: #353d46;
}
.label-color[href]:hover, .label-color[href]:focus {
background-color: #1f2329;
}
.bg-color {
background-color: #353d46;
color: #c2c5c7;
}
.bg-color a {
color: #c2c5c7;
}
.bg-color a:active, .bg-color a:focus, .bg-color a:hover {
color: #a8abaf;
text-decoration: none;
outline: 0;
}
.bg-color .nav > li:hover > a, .bg-color .nav > li:focus > a, .bg-color .nav > li:active > a, .bg-color .nav > li.active > a, .bg-color .nav > li > a:hover, .bg-color .nav > li > a:focus {
background-color: #2e353d;
}
.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
border-color: #353d46;
background-color: #353d46;
color: #ffffff;
}
.progress-bar-color {
background-color: #353d46;
}
.morris-hover.morris-default-style {
border-color: #353d46;
background-color: #353d46;
background-color: rgba(53, 61, 70, 0.9);
}
.morris-hover.morris-default-style a {
color: #ffffff;
}
#jqstooltip {
background-color: #353d46;
border-color: #353d46;
}
#tooltip {
background-color: #353d46;
color: #ffffff;
}
#tooltip:before {
border-color: transparent #353d46 transparent transparent;
}
.jvectormap-label {
border: solid 1px #353d46;
background-color: #353d46;
color: white;
}
.jvectormap-zoomin, .jvectormap-zoomout {
background-color: #353d46;
color: white;
}
@media screen and (min-width: 768px) {
.app.small-menu .sidebar .main-navigation > ul > li .leftMenu__twoIcon{
display: inline;
}
.app.small-menu .sidebar .main-navigation .nav > li > .sub-menu > li a{
padding: 5px 20px!important;
color: #59595a;
}
.app.small-menu .sidebar .main-navigation .nav > li > .sub-menu li.active,
.app.small-menu .sidebar .main-navigation .nav > li > .sub-menu > li a:hover{
background-color: #f1f2f9;
}
.app.small-menu .sidebar .main-navigation .nav > li > .sub-menu > li > a + .sub-menu > li > a{
padding: 5px 20px 5px 40px !important;
}
.app:not(.small-menu) .main-navigation > ul > li > ul li.active a,
.app:not(.small-menu) .main-navigation > ul > li > ul li a:hover{
color: #1867b0;
}
}
.main-navigation > ul > li .sub-menu .sub-menu{
background-color: #fff;
}
.small-menu .main-navigation > ul > li .sub-menu .sub-menu{
background-color: transparent;
}
@@ -0,0 +1,242 @@
@media screen and (min-width: 768px) {
.app > header .dropdown-menu {
border-top: 1px solid #e3e6f3 !important;
}
}
::-moz-selection {
background: #39424c;
color: #ffffff;
text-shadow: none;
}
::selection {
background: #39424c;
color: #ffffff;
text-shadow: none;
}
.loader:after {
border: solid 1px transparent;
border-top-color: #da3e16;
border-left-color: #da3e16;
}
a:active, a:focus, a:hover {
color: #ac3111;
}
.app > .header {
background-color: #ffffff;
}
.app > .header .brand {
background-color: #ffffff;
}
.app > .header .brand a, .app > .header .brand a:hover {
color: rgba(89, 89, 90, 0.9);
}
.app > .header .navbar-toggle, .app > .header .nav > li > a, .app > .header .bg-none {
color: #59595a;
}
@media screen and (min-width: 768px) {
.header .nav > li > a:hover, .header .nav > li > a:focus, .header .nav .open > a, .header .nav .open > a:hover, .header .nav .open > a:focus {
background-color: #f5f5f5;
}
}
.header .nav .dropdown-menu .open > a {
background-color: #dcdff0;
}
.header .open a.toggle-search, .header a.toggle-search:hover {
background-color: #f5f5f5;
}
.sidebar {
background-color: #39424c;
color: #9fadbd;
}
.sidebar a, .sidebar .nav-title {
color: #9fadbd;
}
.compact-menu .main-navigation > ul > li {
border-bottom: 1px solid #353d46;
border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.app:not(.small-menu) .main-navigation > ul > li > ul > li.active a, .app:not(.small-menu) .main-navigation > ul > li > ul > li a:hover {
color: #dbe1e7;
}
.main-navigation > ul > li:hover > a {
color: #dbe1e7;
}
.main-navigation > ul > li.open .sub-menu {
background-color: #3c4550;
}
@media screen and (min-width: 768px) {
.small-menu .main-navigation > ul > li.open {
background-color: #353d46;
}
}
.gallery .overlay {
background-color: #39424c;
background-color: rgba(57, 66, 76, 0.9);
}
.btn-color {
color: #ffffff;
background-color: #39424c;
border-color: #39424c;
}
a.btn-color {
color: #ffffff;
}
.btn-color:hover, .btn-color:focus, .btn-color:active, .btn-color.active, .open .dropdown-toggle.btn-color {
color: #ffffff;
background-color: #2e353d;
background-image: none;
border-color: #2e353d;
}
.btn-color.disabled, .btn-color[disabled], fieldset[disabled] .btn-color, .btn-color.disabled:hover, .btn-color[disabled]:hover, fieldset[disabled] .btn-color:hover, .btn-color.disabled:focus, .btn-color[disabled]:focus, fieldset[disabled] .btn-color:focus, .btn-color.disabled:active, .btn-color[disabled]:active, fieldset[disabled] .btn-color:active, .btn-color.disabled.active, .btn-color[disabled].active, fieldset[disabled] .btn-color.active {
background-color: #39424c;
border-color: #39424c;
}
.btn-color.btn-outline {
background-color: transparent;
color: #39424c;
}
.btn-color.btn-outline:hover, .btn-color.btn-outline:focus, .btn-color.btn-outline:active, .btn-color.btn-outline.active {
background-color: #39424c;
color: #ffffff;
}
.color {
color: #39424c;
}
#nestable2 .dd-handle {
color: #c4c6c9;
border: 1px solid #39424c;
background-color: #39424c;
}
#nestable2 .dd-handle:hover {
background-color: #444e5a;
}
.slider-color .slider-selection {
background-color: #39424c;
}
.slider-color .slider-handle {
box-shadow: rgba(0, 0, 0, 0.2) 0px 2px 5px, #39424c 0px 0px 0px 1px;
}
.panel-color {
border-color: #39424c;
}
.panel-color > .panel-heading {
color: #c4c6c9;
background-color: #39424c;
border-color: #39424c;
}
.panel-color > .panel-heading + .panel-collapse .panel-body {
border-top-color: #39424c;
}
.panel-color > .panel-heading a {
color: #c4c6c9;
}
.panel-color > .panel-footer + .panel-collapse .panel-body {
border-bottom-color: #39424c;
}
.label-color {
background-color: #39424c;
}
.label-color[href]:hover, .label-color[href]:focus {
background-color: #23282e;
}
.bg-color {
background-color: #39424c;
color: #c4c6c9;
}
.bg-color a {
color: #c4c6c9;
}
.bg-color a:active, .bg-color a:focus, .bg-color a:hover {
color: #a9adb1;
text-decoration: none;
outline: 0;
}
.bg-color .nav > li:hover > a, .bg-color .nav > li:focus > a, .bg-color .nav > li:active > a, .bg-color .nav > li.active > a, .bg-color .nav > li > a:hover, .bg-color .nav > li > a:focus {
background-color: #323a43;
}
.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
border-color: #39424c;
background-color: #39424c;
color: #ffffff;
}
.progress-bar-color {
background-color: #39424c;
}
.morris-hover.morris-default-style {
border-color: #39424c;
background-color: #39424c;
background-color: rgba(57, 66, 76, 0.9);
}
.morris-hover.morris-default-style a {
color: #ffffff;
}
#jqstooltip {
background-color: #39424c;
border-color: #39424c;
}
#tooltip {
background-color: #39424c;
color: #ffffff;
}
#tooltip:before {
border-color: transparent #39424c transparent transparent;
}
.jvectormap-label {
border: solid 1px #39424c;
background-color: #39424c;
color: white;
}
.jvectormap-zoomin, .jvectormap-zoomout {
background-color: #39424c;
color: white;
}
@@ -0,0 +1,272 @@
::-moz-selection {
background: #4f5061;
color: #ffffff;
text-shadow: none;
}
::selection {
background: #4f5061;
color: #ffffff;
text-shadow: none;
}
.loader:after {
border: solid 1px transparent;
border-top-color: #1582dc;
border-left-color: #1582dc;
}
a:active, a:focus, a:hover {
color: #1166ad;
}
.app > .header {
background-color: #1582dc;
}
.app > .header .brand {
background-color: #147bd0;
}
.app > .header .brand a, .app > .header .brand a:hover {
color: rgba(219, 237, 252, 0.9);
}
.app > .header .navbar-toggle, .app > .header .nav > li > a, .app > .header .bg-none {
color: #dbedfc;
}
@media screen and (min-width: 768px) {
.header .nav > li > a:hover, .header .nav > li > a:focus, .header .nav .open > a, .header .nav .open > a:hover, .header .nav .open > a:focus {
background-color: #1377c9;
}
}
.header .nav .dropdown-menu .open > a{
background-color: #dcdff0;
}
.header .open a.toggle-search, .header a.toggle-search:hover {
background-color: #1377c9;
}
.sidebar {
background-color: #4f5061;
color: #e2e4f6;
}
.sidebar a, .sidebar .nav-title {
color: #e2e4f6;
}
.compact-menu .main-navigation > ul > li {
border-bottom: 1px solid #4a4b5b;
border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.app:not(.small-menu) .main-navigation > ul > li > ul > li.active a, .app:not(.small-menu) .main-navigation > ul > li > ul > li a:hover {
color: #ffffff;
}
.main-navigation > ul > li:hover > a {
color: #ffffff;
}
.main-navigation > ul > li .sub-menu {
background-color: #525365;
}
@media screen and (min-width: 768px) {
.small-menu .main-navigation > ul > li.open {
background-color: #4a4b5b;
}
.small-menu .main-navigation .nav > li > .sub-menu .sub-menu {
background-color: #4f5061;
}
}
.gallery .overlay {
background-color: #4f5061;
background-color: rgba(79, 80, 97, 0.9);
}
.btn-color {
color: #ffffff;
background-color: #4f5061;
border-color: #4f5061;
}
a.btn-color {
color: #ffffff;
}
.btn-color:hover, .btn-color:focus, .btn-color:active, .btn-color.active, .open .dropdown-toggle.btn-color {
color: #ffffff;
background-color: #444453;
background-image: none;
border-color: #444453;
}
.btn-color.disabled, .btn-color[disabled], fieldset[disabled] .btn-color, .btn-color.disabled:hover, .btn-color[disabled]:hover, fieldset[disabled] .btn-color:hover, .btn-color.disabled:focus, .btn-color[disabled]:focus, fieldset[disabled] .btn-color:focus, .btn-color.disabled:active, .btn-color[disabled]:active, fieldset[disabled] .btn-color:active, .btn-color.disabled.active, .btn-color[disabled].active, fieldset[disabled] .btn-color.active {
background-color: #4f5061;
border-color: #4f5061;
}
.btn-color.btn-outline {
background-color: transparent;
color: #4f5061;
}
.btn-color.btn-outline:hover, .btn-color.btn-outline:focus, .btn-color.btn-outline:active, .btn-color.btn-outline.active {
background-color: #4f5061;
color: #ffffff;
}
.color {
color: #4f5061;
}
#nestable2 .dd-handle {
color: #cacbd0;
border: 1px solid #4f5061;
background-color: #4f5061;
}
#nestable2 .dd-handle:hover {
background-color: #5a5c6f;
}
.slider-color .slider-selection {
background-color: #4f5061;
}
.slider-color .slider-handle {
box-shadow: rgba(0, 0, 0, 0.2) 0px 2px 5px, #4f5061 0px 0px 0px 1px;
}
.panel-color {
border-color: #4f5061;
}
.panel-color > .panel-heading {
color: #cacbd0;
background-color: #4f5061;
border-color: #4f5061;
}
.panel-color > .panel-heading + .panel-collapse .panel-body {
border-top-color: #4f5061;
}
.panel-color > .panel-heading a {
color: #cacbd0;
}
.panel-color > .panel-footer + .panel-collapse .panel-body {
border-bottom-color: #4f5061;
}
.label-color {
background-color: #4f5061;
}
.label-color[href]:hover, .label-color[href]:focus {
background-color: #383945;
}
.bg-color {
background-color: #4f5061;
color: #cacbd0;
}
.bg-color a {
color: #cacbd0;
}
.bg-color a:active, .bg-color a:focus, .bg-color a:hover {
color: #afb0b7;
text-decoration: none;
outline: 0;
}
.bg-color .nav > li:hover > a, .bg-color .nav > li:focus > a, .bg-color .nav > li:active > a, .bg-color .nav > li.active > a, .bg-color .nav > li > a:hover, .bg-color .nav > li > a:focus {
background-color: #484959;
}
.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
border-color: #4f5061;
background-color: #4f5061;
color: #ffffff;
}
.progress-bar-color {
background-color: #4f5061;
}
.morris-hover.morris-default-style {
border-color: #4f5061;
background-color: #4f5061;
background-color: rgba(79, 80, 97, 0.9);
}
.morris-hover.morris-default-style a {
color: #ffffff;
}
#jqstooltip {
background-color: #4f5061;
border-color: #4f5061;
}
#tooltip {
background-color: #4f5061;
color: #ffffff;
}
#tooltip:before {
border-color: transparent #4f5061 transparent transparent;
}
.jvectormap-label {
border: solid 1px #4f5061;
background-color: #4f5061;
color: white;
}
.jvectormap-zoomin, .jvectormap-zoomout {
background-color: #4f5061;
color: white;
}
@media screen and (min-width: 768px) {
.app.small-menu .sidebar .main-navigation > ul > li .leftMenu__twoIcon{
display: inline;
}
.app.small-menu .sidebar .main-navigation .nav > li > .sub-menu > li a{
padding: 5px 20px!important;
color: #59595a;
}
.app.small-menu .sidebar .main-navigation .nav > li > .sub-menu li.active,
.app.small-menu .sidebar .main-navigation .nav > li > .sub-menu > li a:hover{
background-color: #f1f2f9;
}
.small-menu .main-navigation .nav > li > .sub-menu .sub-menu{
background-color: transparent;
}
.app.small-menu .sidebar .main-navigation .nav > li > .sub-menu > li > a + .sub-menu > li > a{
padding: 5px 20px 5px 40px !important;
}
.app:not(.small-menu) .main-navigation > ul > li > ul li.active a,
.app:not(.small-menu) .main-navigation > ul > li > ul li a:hover{
color: #fff;
}
}
.main-navigation > ul > li .sub-menu .sub-menu{
background-color: #57586b;
}
.small-menu .main-navigation > ul > li .sub-menu .sub-menu{
background-color: transparent;
}
@@ -0,0 +1 @@
.clearfix{zoom:1}.clearfix:before,.clearfix:after{content:"";display:table}.clearfix:after{clear:both}::-moz-selection{background:#800080;color:#fff;text-shadow:none}::selection{background:#800080;color:#fff;text-shadow:none}a{color:#800080;text-decoration:none;-webkit-transition:all 300ms;-moz-transition:all 300ms;-o-transition:all 300ms;transition:all 300ms}a:active,.sidebar a:active,a:focus,.sidebar a:focus,a:hover,.sidebar a:hover{color:#4d004d;text-decoration:none;outline:0}.loader:after{border:solid 1px transparent;border-top-color:#800080;border-left-color:#800080}.tags ul li a{border:1px solid #800080}.btn-color{color:#fff;background-color:#800080;border-color:#800080}.btn-color:hover,.btn-color:focus,.btn-color:active,.btn-color.active,.open .dropdown-toggle.btn-color{color:#fff;background-color:#670066;border-color:#670066}.btn-color.btn-outline{background-color:transparent;color:#800080}.btn-color.btn-outline:hover,.btn-color.btn-outline:focus,.btn-color.btn-outline:active,.btn-color.btn-outline.active{background-color:#800080;color:#fff}a.btn-color{color:#fff}.btn-color:active,.btn-color.active,.open .dropdown-toggle.btn-color{background-image:none}.btn-color.disabled,.btn-color[disabled],fieldset[disabled] .btn-color,.btn-color.disabled:hover,.btn-color[disabled]:hover,fieldset[disabled] .btn-color:hover,.btn-color.disabled:focus,.btn-color[disabled]:focus,fieldset[disabled] .btn-color:focus,.btn-color.disabled:active,.btn-color[disabled]:active,fieldset[disabled] .btn-color:active,.btn-color.disabled.active,.btn-color[disabled].active,fieldset[disabled] .btn-color.active{background-color:#800080;border-color:#800080}.color,.drop-cap{color:#800080}.drop-cap.boxed{background-color:#800080;color:#fff}.portfolio-item .overlay-hover{background-color:#800080;position:absolute;top:0;bottom:0;right:0;left:0;opacity:0;filter:alpha(opacity=0)}.overlay-colored-1,.overlay-colored-2,.overlay-colored-3,.overlay-colored-4,.overlay-colored-5,.overlay-colored-6,.overlay-colored-7,.overlay-colored-8,.overlay-colored-9{position:absolute;z-index:1000;top:0;bottom:0;right:0;left:0}.overlay-colored-1{background-color:rgba(128,0,128,0.1)}.overlay-colored-2{background-color:rgba(128,0,128,0.2)}.overlay-colored-3{background-color:rgba(128,0,128,0.3)}.overlay-colored-4{background-color:rgba(128,0,128,0.4)}.overlay-colored-5{background-color:rgba(128,0,128,0.5)}.overlay-colored-6{background-color:rgba(128,0,128,0.6)}.overlay-colored-7{background-color:rgba(128,0,128,0.7)}.overlay-colored-8{background-color:rgba(128,0,128,0.8)}.overlay-colored-9{background-color:rgba(128,0,128,0.9)}header.open,header.sticky,header.fixed-sticky{background-color:rgba(128,0,128,0.95)}.header .navigation>.nav>li>a:hover,.header .navigation>.nav>li.active>a,.nav .open>a{color:rgba(255,102,255,0.95)}.header .dropdown-menu>.active>a,.header .dropdown-menu>.active>a:hover,.header .dropdown-menu>.active>a:focus,.header .dropdown-menu>li>a:hover,.header .dropdown-menu>li>a:focus{color:#800080;background-color:transparent}nav.filter a.active,nav.filter a:active,nav.filter a:focus,nav.filter a:hover{color:#800080}.pagination>.active>a,.pagination>.active>span,.pagination>.active>a:hover,.pagination>.active>span:hover,.pagination>.active>a:focus,.pagination>.active>span:focus{border-color:#800080;background-color:#800080;color:#fff}.bg-color{background-color:#800080}.progress-bar-color{background-color:#d0dbec}.heading-font{color:#1a1a1a}
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 434 KiB

File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 229 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 394 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 143 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 698 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 936 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 963 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

@@ -0,0 +1,76 @@
window.activity = {
getType: async () => {
const {code, data, msg} = await $.get("/platform/activity/common/getType")
return data
},
getTeam: async () => {
const {code, data, msg} = await $.get("/platform/activity/common/getTeam")
return data
},
getTeamId: async () => {
const {code, data, msg} = await $.get("/platform/activity/apply/getTeamId")
return data
},
getEvents: async () => {
const {code, data, msg} = await $.get("/platform/activity/common/getEvents")
return data
},
getSchoolActivityPlan: async (type) => {
const {code, data, msg} = await $.get("/platform/activity/common/getSchoolActivityPlan", {type})
return data
},
school: {
gameStyle: {
1: '竞赛类',
2: '非竞赛类'
},
awardsMode: {
1: '单项',
2: '团体'
},
activityLevel: {
1: '校级',
2: '分工会',
3: '社团或协会'
},
combinationMethod: {
1: '单项报名人数',
2: '团体报名人数'
},
applyWay: {
1: '个人报名',
2: '基层工会报名',
3: '小程序报名'
},
getStatus(close, applyStartTime, applyEndTime, startTime, endTime, isSave) {
if (close) {
return `<span class="text-danger">活动已关闭</span>`
}
const now = moment().valueOf()
const dateNow = moment(moment(moment().format('YYYY-MM-DD')).valueOf()).valueOf()
if (!isSave && now < moment(applyStartTime).valueOf()) {
return `<span class="text-info">未开始报名</span>`
} else if (!isSave && moment(applyStartTime).valueOf() <= now && now <= moment(applyEndTime).valueOf()) {
return `<span class="text-success">活动报名中</span>`
} else if (!isSave && moment(applyEndTime).valueOf() < now && now < moment(startTime).valueOf()) {
return `<span class="text-info">报名已结束</span>`
} else if (!isSave && moment(startTime).valueOf() < now && now < moment(endTime).valueOf()) {
return `<span class="text-primary">活动进行中</span>`
} else if (!isSave && moment(endTime).valueOf() < now) {
return `<span class="text-danger">活动已结束</span>`
} else {
return `<span style="color: #606266">活动创建中</span>`
}
},
canApply(close, applyStartTime, applyEndTime) {
if (close) {
return false
}
if (moment(applyStartTime).valueOf() < now < moment(applyEndTime).valueOf()) {
return true
}
return false
},
},
}
@@ -0,0 +1,129 @@
Vue.component('vi-title', {
props: ['title'],
template: `
<div style="display: flex;flex-direction:row;color: #1867b0;font-weight: bolder;margin-bottom: 20px">
<div style="width: 5px;height: 24px;background-color: #1867b0;border-radius: 2px"></div>
<div style="margin-left: 20px;line-height: 24px;font-size: 15px;letter-spacing: 1px">
{{ title }}
</div>
</div>
`
})
Vue.component('vi-title2', {
props: ['title'],
template: `
<el-row type="flex" justify="space-between" align="middle" style="margin-bottom: 15px">
<div style="display: flex;justify-content: center;align-items: center">
<vi-title :title="title" style="margin-bottom: 0"></vi-title><slot name="label_end"></slot>
</div>
<div style="display: flex;justify-content: right;align-items: center">
<slot name="func"></slot>
</div>
</el-row>
`
})
Vue.component('vi-table-state', {
props: ['state'],
template: `
<span :style="'color:'+state.stateColor">{{ state.stateName }}</span>
`
})
Vue.component('more', {
props: {more: {type: Boolean, default: false}},
template: `
<el-link type="primary" :underline="false" style="margin-left: 15px"
@click="more=!more;$emit('change', more)">
{{ more ? '收起' : '展开' }}<i
:class="more?'el-icon-arrow-up':'el-icon-arrow-down'"></i></el-link>
`,
model: {
prop: 'more',
event: 'change'
}
})
Vue.component('table-tool', {
props: {
label: {type: String},
app: {}
},
data() {
return {
checkedFields: [],
columns: [],
}
},
methods: {
tableSizeChange(command) {
const {size} = command
this.app.tableSizeChange(size)
},
columnChange() {
this.app.columnChange(this.columns.filter(v => this.checkedFields.includes(v.prop)))
},
getColumns() {
const {tableColumns} = this.app
if (!tableColumns) {
return
}
this.columns = tableColumns
this.checkedFields = this.columns.filter(v => v.checked !== 0).map(v => v.prop)
this.columnChange()
},
},
created() {
this.getColumns()
},
template: `
<el-row type="flex" justify="space-between" align="middle" style="margin-bottom: 15px">
<div style="display: flex;justify-content: center;align-items: center">
<vi-title :title="label" style="margin-bottom: 0"></vi-title><slot name="label_end"></slot>
</div>
<div style="display: flex;justify-content: right;align-items: center">
<slot name="func"></slot>
<div class="table-tool-group">
<div class="table-tool-group-item" @click="app.doSearch()" style="width: 50px;padding-left: 10px;">
<i class="el-icon-refresh"></i>
</div>
<el-dropdown @command="tableSizeChange" class="table-tool-group-item">
<div style="display: flex;width: 100%;height: 100%;justify-content: center;align-items: center"><i
class="el-icon-c-scale-to-original"></i></div>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item :command="{size:'mini'}">Mini</el-dropdown-item>
<el-dropdown-item :command="{size:'small'}">Small</el-dropdown-item>
<el-dropdown-item :command="{size:'medium'}">Medium</el-dropdown-item>
<el-dropdown-item :command="{size:''}">Large</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
<el-popover
trigger="hover" placement="bottom-start">
<div>
<el-checkbox-group v-model="checkedFields" @change="columnChange">
<el-checkbox v-for="field in columns" :label="field.prop" style="display: block">{{
field.label
}}
</el-checkbox>
</el-checkbox-group>
</div>
<div slot="reference" style="width: 50px;padding-right: 10px;" class="table-tool-group-item">
<i class="el-icon-s-operation"></i>
</div>
</el-popover>
</div>
</div>
</el-row>
`,
})
@@ -0,0 +1,167 @@
function doFix(dom, top) {
dom.style.position = 'fixed'
dom.style.zIndex = '2001'
dom.style.top = top + 'px'
dom.parentNode.style.paddingTop = top + 'px'
}
// 给固定头取消样式
function removeFix(dom) {
dom.parentNode.style.paddingTop = 0
dom.style.position = 'static'
dom.style.top = '0'
dom.style.zIndex = '0'
}
// 给固定头添加class
function addClass(dom, fixtop) {
const old = dom.className
if (!old.includes('fixed')) {
dom.setAttribute('class', old + ' fixed')
doFix(dom, fixtop)
}
}
// 给固定头移除class
function removeClass(dom) {
const old = dom.className
const idx = old.indexOf('fixed')
if (idx !== -1) {
const newClass = old.substr(0, idx - 1)
dom.setAttribute('class', newClass)
removeFix(dom)
}
}
// 具体判断是否固定头的主函数
function fixHead(parent, el, top) {
/**
* myTop 当前元素距离滚动父容器的高度
* fixtop 当前元素需要设置的绝对定位的高度
* parentHeight 滚动父容器的高度
*/
let myTop, fixtop, parentHeight
// 表头DOM节点
const dom = el.children[1]
if (parent.tagName) {
// 如果是DOM内局部滚动
// 当前元素距离滚动父容器的高度= 当前元素距离父元素的高度-父容器的滚动距离-表头的高度
myTop = el.offsetTop - parent.scrollTop - dom.offsetHeight
// 父元素高度
const height = getComputedStyle(parent).height
parentHeight = Number(height.slice(0, height.length - 2))
// 绝对定位高度 = 滚动父容器相对于视口的高度 + 传入的吸顶高度
fixtop = top + parent.getBoundingClientRect().top
// 如果自己距离顶部距离大于父元素的高度,也就是自己还没在父元素滚动出来,直接return
if (myTop > parentHeight) {
return
}
} else {
// document节点滚动
// 当前元素距离滚动父容器的高度 = 当前元素距离视口顶端的距离
myTop = el.getBoundingClientRect().top
// 父元素高度 = 视口的高度
parentHeight = window.innerHeight
// 绝对定位高度 = 传入的吸顶高度
fixtop = top
// 如果自己距离顶部距离大于父元素的高度,也就是自己还没在父元素滚动出来,直接return
if (myTop > document.documentElement.scrollTop + parentHeight) {
return
}
}
// 如果 已经滚动的上去不在父容器显示了。直接return
if (Math.abs(myTop) > el.offsetHeight + 100) {
return
}
if (myTop < 0 && Math.abs(myTop) > el.offsetHeight) {
// 如果当前表格已经完全滚动到父元素上面,也就是不在父元素显示了。则需要去除fixed定位
removeClass(dom)
} else if (myTop <= 0) {
// 如果表头滚动到 父容器顶部了。fixed定位
addClass(dom, fixtop)
} else if (myTop > 0) {
// 如果表格向上滚动 又滚动到父容器里。取消fixed定位
removeClass(dom)
} else if (Math.abs(myTop) < el.offsetHeight) {
// 如果滚动的距离的绝对值小于自身的高度,也就是说表格向上滚动,刚刚显示出表格的尾部是需要将表头fixed定位
addClass(dom, fixtop)
}
}
// 设置头部固定时表头外容器的宽度写死为表格body的宽度
function setHeadWidth(el) {
// 获取到当前表格个表格body的宽度
const width = getComputedStyle(
el.getElementsByClassName('el-table__body-wrapper')[0]
).width
// 给表格设置宽度。这里默认一个页面中的多个表格宽度是一样的。所以直接遍历赋值,也可以根据自己需求,单独设置
const tableParent = el.getElementsByClassName('el-table__header-wrapper')
for (let i = 0; i < tableParent.length; i++) {
tableParent[i].style.width = width
}
}
/**
* 这里有三个全局对象用于存放监听事件方便组件销毁后移除监听事件
*/
const fixFunObj = {} // 用于存放滚动容器的监听scroll事件
const setWidthFunObj = {} // 用于存放页面resize后重新计算head宽度事件
const autoMoveFunObj = {} // 用户存放如果是DOM元素内局部滚动时,document滚动时,fix布局的表头也需要跟着document一起向上滚动
// 全局注册 自定义事件
Vue.directive('sticky', {
// 当被绑定的元素插入到 DOM 中时……
inserted(el, binding, vnode) {
// 首先设置表头宽度
setHeadWidth(el)
// 获取当前vueComponent的ID。作为存放各种监听事件的key
const uid = vnode.componentInstance._uid
// 当window resize时 重新计算设置表头宽度,并将监听函数存入 监听函数对象中,方便移除监听事件
window.addEventListener(
'resize',
(setWidthFunObj[uid] = () => {
setHeadWidth(el)
})
)
// 获取当前滚动的容器是什么。如果是document滚动。则可默认不传入parent参数
const scrollParent =
document.querySelector(binding.value.parent) || document
// 给滚动容器加scroll监听事件。并将监听函数存入 监听函数对象中,方便移除监听事件
scrollParent.addEventListener(
'scroll',
(fixFunObj[uid] = () => {
fixHead(scrollParent, el, binding.value.top)
})
)
// 如果是局部DOM元素内滚动。则需要监听document滚动,document滚动是同步让表头一起滚动。并将监听函数存入 监听函数对象中,方便移除监听事件
if (binding.value.parent) {
document.addEventListener('scroll', autoMoveFunObj[uid] = () => {
// 获取到表头DOM节点
const dom = el.children[1]
// 如果当前表头是fixed定位。则跟着document滚动一起滚
if (getComputedStyle(dom).position === 'fixed') {
// 滚动的距离是: 滚动父容器距离视口顶端高度 + 传入的吸顶固定距离
const fixtop =
binding.value.top + scrollParent.getBoundingClientRect().top
doFix(dom, fixtop, 'fixed')
}
})
}
},
// component 更新后。重新计算表头宽度
componentUpdated(el) {
setHeadWidth(el)
},
// 节点取消绑定时 移除各项监听事件。
unbind(el, binding, vnode) {
const uid = vnode.componentInstance._uid
window.removeEventListener('resize', setWidthFunObj[uid])
const scrollParent =
document.querySelector(binding.value.parent) || document
scrollParent.removeEventListener('scroll', fixFunObj[uid])
if (binding.value.parent) {
document.removeEventListener('scroll', autoMoveFunObj[uid])
}
}
})
File diff suppressed because one or more lines are too long
@@ -0,0 +1,130 @@
const QC = (arr1,arr2,key)=>{
let json = arr1.concat(arr2)
let newArr = []
for(let item1 of json){
let flag = true
for(let item2 of newArr){
if(item1[key]==item2[key]){
flag = false
}
}
if(flag){
newArr.push(item1)
}
}
return newArr
}
//查询用户
const selectUser = async (key,pageSize) => {
const {data} = await $.get("/platform/Common/selectUser",{ key: key,pageSize: pageSize})
return data
}
//获取所有的教代会
const getAllJdh = async () => {
const {data} = await $.get("/platform/jdh/Common/getAllJdhxx")
return data
}
//获取所有开启的教代会
const getOpenJdh = async () => {
const {data} = await $.get("/platform/jdh/Common/getOpenJdhxx")
return data
}
//获取教代会工作资料类型
const getGzzllx = async () => {
const {data} = await $.get("/platform/jdh/Common/getGzzllx")
return data
}
//获取字典表里的代表团名称 需要提前录入好
// const getDbt = async () => {
// const {data} = await $.get("/platform/jdh/Common/getDbt")
// return data
// }
//根据教代会获取代表团
const getDbtList = async (jdhid)=>{
const {data} = await $.get("/platform/jdh/Common/getDbtListByJdhId",{jdhid:jdhid})
return data
}
//查询当前用户管理的基层工会
const getUnion = async () => {
const {data} = await $.get("/platform/Common/getUnion")
return data
}
//查询当前用户管理的基层工会下的单位
const getUnit = async (unionid) => {
const {data} = await $.get("/platform/Common/getUnit",{unionid:unionid})
return data
}
const GET = (url,params)=>{
return new Promise((resolve,reject) => {
$.ajax({
url:base+url,
method:'GET',
data:params
}).then(res=>{
if(res && res.code===0) {
resolve(res)
}else{
ELEMENT.Notification.error('系统错误!')
return reject(url)
}
}).fail(err=>{
ELEMENT.Notification.error(err.status+'')
return
})
})
}
const POST = (url,params,isLoading=false)=>{
return new Promise((resolve,reject) => {
if(isLoading)
sublime.showLoadingbar()
$.ajax({
url:base+url,
method:'POST',
data:params
}).then(res=>{
if(res && res.code===0){
if(!isLoading){
ELEMENT.Message.success(res.msg)
}
resolve(res)
}else {
ELEMENT.Notification.error('系统错误!')
return reject(url)
}
}).fail(err=>{
ELEMENT.Notification.error(err.status+'')
return
}).always(()=>{
sublime.closeLoadingbar()
})
})
}
@@ -0,0 +1,67 @@
function inputScript(url) {
var script = '<script type="text/javascript" src="' + url + '"><' + '/script>';
document.writeln(script);
}
function inputCSS(url) {
var css = '<link rel="stylesheet" href="' + url + '">';
document.writeln(css);
}
function include() {
/**
* 基础
*/
inputScript("/assets/platform/module/basics/basics.js?v=1.0.4")
/**
* 大病互助
*/
inputScript("/assets/platform/module/medicalaid/common.js?v=1.0.0")
/**
* 职工慰问
*/
inputScript("/assets/platform/module/condolence/common.js?v=1.0.0")
/**
* 困难帮扶
*/
inputScript("/assets/platform/module/difficulty/common.js?v=1.0.0")
/**
* 提案
*/
inputScript("/assets/platform/module/proposal/common.js?v=1.0.0")
/**
* 提案api
*/
inputScript("/assets/platform/module/proposal/api.js?v=1.0.0")
/**
* 提案api
*/
inputScript("/assets/platform/module/proposal/api.js?v=1.0.0")
/**
* 会员
*/
inputScript("/assets/platform/module/member/common.js?v=1.0.0")
inputScript("/assets/platform/module/mixins/proposalMixins.js?v=1.0.0")
/**
* 体检
*/
inputScript("/assets/platform/module/physicals/common.js?v=1.0.1")
/**
* 活动
*/
inputScript("/assets/platform/module/activity/activity.js?v=1.0.0")
inputScript("/assets/platform/module/activity/site.js?v=1.0.0")
}
include()
@@ -0,0 +1,529 @@
(function (root, factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define(['exports', 'echarts'], factory);
} else if (typeof exports === 'object' && typeof exports.nodeName !== 'string') {
// CommonJS
factory(exports, require('echarts'));
} else {
// Browser globals
factory({}, root.echarts);
}
}(this, function (exports, echarts) {
var log = function (msg) {
if (typeof console !== 'undefined') {
console && console.error && console.error(msg);
}
};
if (!echarts) {
log('ECharts is not Loaded');
return;
}
echarts.registerTheme('infographic', {
"color": [
"#c1232b",
"#27727b",
"#fcce10",
"#e87c25",
"#b5c334",
"#fe8463",
"#9bca63",
"#fad860",
"#f3a43b",
"#60c0dd",
"#d7504b",
"#c6e579",
"#f4e001",
"#f0805a",
"#26c0c0"
],
"backgroundColor": "rgba(0,0,0,0)",
"textStyle": {},
"title": {
"textStyle": {
"color": "#27727b"
},
"subtextStyle": {
"color": "#aaaaaa"
}
},
"line": {
"itemStyle": {
"normal": {
"borderWidth": 1
}
},
"lineStyle": {
"normal": {
"width": "3"
}
},
"symbolSize": "5",
"symbol": "emptyCircle",
"smooth": false
},
"radar": {
"itemStyle": {
"normal": {
"borderWidth": 1
}
},
"lineStyle": {
"normal": {
"width": "3"
}
},
"symbolSize": "5",
"symbol": "emptyCircle",
"smooth": false
},
"bar": {
"itemStyle": {
"normal": {
"barBorderWidth": 0,
"barBorderColor": "#ccc"
},
"emphasis": {
"barBorderWidth": 0,
"barBorderColor": "#ccc"
}
}
},
"pie": {
"itemStyle": {
"normal": {
"borderWidth": 0,
"borderColor": "#ccc"
},
"emphasis": {
"borderWidth": 0,
"borderColor": "#ccc"
}
}
},
"scatter": {
"itemStyle": {
"normal": {
"borderWidth": 0,
"borderColor": "#ccc"
},
"emphasis": {
"borderWidth": 0,
"borderColor": "#ccc"
}
}
},
"boxplot": {
"itemStyle": {
"normal": {
"borderWidth": 0,
"borderColor": "#ccc"
},
"emphasis": {
"borderWidth": 0,
"borderColor": "#ccc"
}
}
},
"parallel": {
"itemStyle": {
"normal": {
"borderWidth": 0,
"borderColor": "#ccc"
},
"emphasis": {
"borderWidth": 0,
"borderColor": "#ccc"
}
}
},
"sankey": {
"itemStyle": {
"normal": {
"borderWidth": 0,
"borderColor": "#ccc"
},
"emphasis": {
"borderWidth": 0,
"borderColor": "#ccc"
}
}
},
"funnel": {
"itemStyle": {
"normal": {
"borderWidth": 0,
"borderColor": "#ccc"
},
"emphasis": {
"borderWidth": 0,
"borderColor": "#ccc"
}
}
},
"gauge": {
"itemStyle": {
"normal": {
"borderWidth": 0,
"borderColor": "#ccc"
},
"emphasis": {
"borderWidth": 0,
"borderColor": "#ccc"
}
}
},
"candlestick": {
"itemStyle": {
"normal": {
"color": "#c1232b",
"color0": "#b5c334",
"borderColor": "#c1232b",
"borderColor0": "#b5c334",
"borderWidth": 1
}
}
},
"graph": {
"itemStyle": {
"normal": {
"borderWidth": 0,
"borderColor": "#ccc"
}
},
"lineStyle": {
"normal": {
"width": 1,
"color": "#aaaaaa"
}
},
"symbolSize": "5",
"symbol": "emptyCircle",
"smooth": false,
"color": [
"#c1232b",
"#27727b",
"#fcce10",
"#e87c25",
"#b5c334",
"#fe8463",
"#9bca63",
"#fad860",
"#f3a43b",
"#60c0dd",
"#d7504b",
"#c6e579",
"#f4e001",
"#f0805a",
"#26c0c0"
],
"label": {
"normal": {
"textStyle": {
"color": "#eeeeee"
}
}
}
},
"map": {
"itemStyle": {
"normal": {
"areaColor": "#dddddd",
"borderColor": "#eeeeee",
"borderWidth": 0.5
},
"emphasis": {
"areaColor": "rgba(254,153,78,1)",
"borderColor": "#444444",
"borderWidth": 1
}
},
"label": {
"normal": {
"textStyle": {
"color": "#c1232b"
}
},
"emphasis": {
"textStyle": {
"color": "rgb(100,0,0)"
}
}
}
},
"geo": {
"itemStyle": {
"normal": {
"areaColor": "#dddddd",
"borderColor": "#eeeeee",
"borderWidth": 0.5
},
"emphasis": {
"areaColor": "rgba(254,153,78,1)",
"borderColor": "#444444",
"borderWidth": 1
}
},
"label": {
"normal": {
"textStyle": {
"color": "#c1232b"
}
},
"emphasis": {
"textStyle": {
"color": "rgb(100,0,0)"
}
}
}
},
"categoryAxis": {
"axisLine": {
"show": true,
"lineStyle": {
"color": "#27727b"
}
},
"axisTick": {
"show": true,
"lineStyle": {
"color": "#27727b"
}
},
"axisLabel": {
"show": true,
"textStyle": {
"color": "#333"
}
},
"splitLine": {
"show": false,
"lineStyle": {
"color": [
"#ccc"
]
}
},
"splitArea": {
"show": false,
"areaStyle": {
"color": [
"rgba(250,250,250,0.3)",
"rgba(200,200,200,0.3)"
]
}
}
},
"valueAxis": {
"axisLine": {
"show": false,
"lineStyle": {
"color": "#333"
}
},
"axisTick": {
"show": false,
"lineStyle": {
"color": "#333"
}
},
"axisLabel": {
"show": true,
"textStyle": {
"color": "#333"
}
},
"splitLine": {
"show": true,
"lineStyle": {
"color": [
"#ccc"
]
}
},
"splitArea": {
"show": false,
"areaStyle": {
"color": [
"rgba(250,250,250,0.3)",
"rgba(200,200,200,0.3)"
]
}
}
},
"logAxis": {
"axisLine": {
"show": true,
"lineStyle": {
"color": "#27727b"
}
},
"axisTick": {
"show": true,
"lineStyle": {
"color": "#333"
}
},
"axisLabel": {
"show": true,
"textStyle": {
"color": "#333"
}
},
"splitLine": {
"show": true,
"lineStyle": {
"color": [
"#ccc"
]
}
},
"splitArea": {
"show": false,
"areaStyle": {
"color": [
"rgba(250,250,250,0.3)",
"rgba(200,200,200,0.3)"
]
}
}
},
"timeAxis": {
"axisLine": {
"show": true,
"lineStyle": {
"color": "#27727b"
}
},
"axisTick": {
"show": true,
"lineStyle": {
"color": "#333"
}
},
"axisLabel": {
"show": true,
"textStyle": {
"color": "#333"
}
},
"splitLine": {
"show": true,
"lineStyle": {
"color": [
"#ccc"
]
}
},
"splitArea": {
"show": false,
"areaStyle": {
"color": [
"rgba(250,250,250,0.3)",
"rgba(200,200,200,0.3)"
]
}
}
},
"toolbox": {
"iconStyle": {
"normal": {
"borderColor": "#c1232b"
},
"emphasis": {
"borderColor": "#e87c25"
}
}
},
"legend": {
"textStyle": {
"color": "#333333"
}
},
"tooltip": {
"axisPointer": {
"lineStyle": {
"color": "#27727b",
"width": 1
},
"crossStyle": {
"color": "#27727b",
"width": 1
}
}
},
"timeline": {
"lineStyle": {
"color": "#293c55",
"width": 1
},
"itemStyle": {
"normal": {
"color": "#27727b",
"borderWidth": 1
},
"emphasis": {
"color": "#72d4e0"
}
},
"controlStyle": {
"normal": {
"color": "#27727b",
"borderColor": "#27727b",
"borderWidth": 0.5
},
"emphasis": {
"color": "#27727b",
"borderColor": "#27727b",
"borderWidth": 0.5
}
},
"checkpointStyle": {
"color": "#c1232b",
"borderColor": "rgba(194,53,49,0.5)"
},
"label": {
"normal": {
"textStyle": {
"color": "#293c55"
}
},
"emphasis": {
"textStyle": {
"color": "#293c55"
}
}
}
},
"visualMap": {
"color": [
"#c1232b",
"#fcce10"
]
},
"dataZoom": {
"backgroundColor": "rgba(0,0,0,0)",
"dataBackgroundColor": "rgba(181,195,52,0.3)",
"fillerColor": "rgba(181,195,52,0.2)",
"handleColor": "#27727b",
"handleSize": "100%",
"textStyle": {
"color": "#999999"
}
},
"markPoint": {
"label": {
"normal": {
"textStyle": {
"color": "#eeeeee"
}
},
"emphasis": {
"textStyle": {
"color": "#eeeeee"
}
}
}
}
});
}));
@@ -0,0 +1,10 @@
/*!
* jQuery Viewer v1.0.0
* https://github.com/fengyuanchen/jquery-viewer
*
* Copyright (c) 2018 Chen Fengyuan
* Released under the MIT license
*
* Date: 2018-04-01T05:58:29.617Z
*/
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(require("jquery"),require("viewerjs")):"function"==typeof define&&define.amd?define(["jquery","viewerjs"],t):t(e.jQuery,e.Viewer)}(this,function(d,v){"use strict";if(d=d&&d.hasOwnProperty("default")?d.default:d,v=v&&v.hasOwnProperty("default")?v.default:v,d.fn){var e=d.fn.viewer,c="viewer";d.fn.viewer=function(o){for(var e=arguments.length,u=Array(1<e?e-1:0),t=1;t<e;t++)u[t-1]=arguments[t];var s=void 0;return this.each(function(e,t){var r=d(t),i="destroy"===o,n=r.data(c);if(!n){if(i)return;var f=d.extend({},r.data(),d.isPlainObject(o)&&o);n=new v(t,f),r.data(c,n)}if("string"==typeof o){var a=n[o];d.isFunction(a)&&((s=a.apply(n,u))===n&&(s=void 0),i&&r.removeData(c))}}),void 0!==s?s:this},d.fn.viewer.Constructor=v,d.fn.viewer.setDefaults=v.setDefaults,d.fn.viewer.noConflict=function(){return d.fn.viewer=e,this}}});
@@ -0,0 +1,28 @@
(function(r){r.fn.qrcode=function(h){var s;function u(a){this.mode=s;this.data=a}function o(a,c){this.typeNumber=a;this.errorCorrectLevel=c;this.modules=null;this.moduleCount=0;this.dataCache=null;this.dataList=[]}function q(a,c){if(void 0==a.length)throw Error(a.length+"/"+c);for(var d=0;d<a.length&&0==a[d];)d++;this.num=Array(a.length-d+c);for(var b=0;b<a.length-d;b++)this.num[b]=a[b+d]}function p(a,c){this.totalCount=a;this.dataCount=c}function t(){this.buffer=[];this.length=0}u.prototype={getLength:function(){return this.data.length},
write:function(a){for(var c=0;c<this.data.length;c++)a.put(this.data.charCodeAt(c),8)}};o.prototype={addData:function(a){this.dataList.push(new u(a));this.dataCache=null},isDark:function(a,c){if(0>a||this.moduleCount<=a||0>c||this.moduleCount<=c)throw Error(a+","+c);return this.modules[a][c]},getModuleCount:function(){return this.moduleCount},make:function(){if(1>this.typeNumber){for(var a=1,a=1;40>a;a++){for(var c=p.getRSBlocks(a,this.errorCorrectLevel),d=new t,b=0,e=0;e<c.length;e++)b+=c[e].dataCount;
for(e=0;e<this.dataList.length;e++)c=this.dataList[e],d.put(c.mode,4),d.put(c.getLength(),j.getLengthInBits(c.mode,a)),c.write(d);if(d.getLengthInBits()<=8*b)break}this.typeNumber=a}this.makeImpl(!1,this.getBestMaskPattern())},makeImpl:function(a,c){this.moduleCount=4*this.typeNumber+17;this.modules=Array(this.moduleCount);for(var d=0;d<this.moduleCount;d++){this.modules[d]=Array(this.moduleCount);for(var b=0;b<this.moduleCount;b++)this.modules[d][b]=null}this.setupPositionProbePattern(0,0);this.setupPositionProbePattern(this.moduleCount-
7,0);this.setupPositionProbePattern(0,this.moduleCount-7);this.setupPositionAdjustPattern();this.setupTimingPattern();this.setupTypeInfo(a,c);7<=this.typeNumber&&this.setupTypeNumber(a);null==this.dataCache&&(this.dataCache=o.createData(this.typeNumber,this.errorCorrectLevel,this.dataList));this.mapData(this.dataCache,c)},setupPositionProbePattern:function(a,c){for(var d=-1;7>=d;d++)if(!(-1>=a+d||this.moduleCount<=a+d))for(var b=-1;7>=b;b++)-1>=c+b||this.moduleCount<=c+b||(this.modules[a+d][c+b]=
0<=d&&6>=d&&(0==b||6==b)||0<=b&&6>=b&&(0==d||6==d)||2<=d&&4>=d&&2<=b&&4>=b?!0:!1)},getBestMaskPattern:function(){for(var a=0,c=0,d=0;8>d;d++){this.makeImpl(!0,d);var b=j.getLostPoint(this);if(0==d||a>b)a=b,c=d}return c},createMovieClip:function(a,c,d){a=a.createEmptyMovieClip(c,d);this.make();for(c=0;c<this.modules.length;c++)for(var d=1*c,b=0;b<this.modules[c].length;b++){var e=1*b;this.modules[c][b]&&(a.beginFill(0,100),a.moveTo(e,d),a.lineTo(e+1,d),a.lineTo(e+1,d+1),a.lineTo(e,d+1),a.endFill())}return a},
setupTimingPattern:function(){for(var a=8;a<this.moduleCount-8;a++)null==this.modules[a][6]&&(this.modules[a][6]=0==a%2);for(a=8;a<this.moduleCount-8;a++)null==this.modules[6][a]&&(this.modules[6][a]=0==a%2)},setupPositionAdjustPattern:function(){for(var a=j.getPatternPosition(this.typeNumber),c=0;c<a.length;c++)for(var d=0;d<a.length;d++){var b=a[c],e=a[d];if(null==this.modules[b][e])for(var f=-2;2>=f;f++)for(var i=-2;2>=i;i++)this.modules[b+f][e+i]=-2==f||2==f||-2==i||2==i||0==f&&0==i?!0:!1}},setupTypeNumber:function(a){for(var c=
j.getBCHTypeNumber(this.typeNumber),d=0;18>d;d++){var b=!a&&1==(c>>d&1);this.modules[Math.floor(d/3)][d%3+this.moduleCount-8-3]=b}for(d=0;18>d;d++)b=!a&&1==(c>>d&1),this.modules[d%3+this.moduleCount-8-3][Math.floor(d/3)]=b},setupTypeInfo:function(a,c){for(var d=j.getBCHTypeInfo(this.errorCorrectLevel<<3|c),b=0;15>b;b++){var e=!a&&1==(d>>b&1);6>b?this.modules[b][8]=e:8>b?this.modules[b+1][8]=e:this.modules[this.moduleCount-15+b][8]=e}for(b=0;15>b;b++)e=!a&&1==(d>>b&1),8>b?this.modules[8][this.moduleCount-
b-1]=e:9>b?this.modules[8][15-b-1+1]=e:this.modules[8][15-b-1]=e;this.modules[this.moduleCount-8][8]=!a},mapData:function(a,c){for(var d=-1,b=this.moduleCount-1,e=7,f=0,i=this.moduleCount-1;0<i;i-=2)for(6==i&&i--;;){for(var g=0;2>g;g++)if(null==this.modules[b][i-g]){var n=!1;f<a.length&&(n=1==(a[f]>>>e&1));j.getMask(c,b,i-g)&&(n=!n);this.modules[b][i-g]=n;e--; -1==e&&(f++,e=7)}b+=d;if(0>b||this.moduleCount<=b){b-=d;d=-d;break}}}};o.PAD0=236;o.PAD1=17;o.createData=function(a,c,d){for(var c=p.getRSBlocks(a,
c),b=new t,e=0;e<d.length;e++){var f=d[e];b.put(f.mode,4);b.put(f.getLength(),j.getLengthInBits(f.mode,a));f.write(b)}for(e=a=0;e<c.length;e++)a+=c[e].dataCount;if(b.getLengthInBits()>8*a)throw Error("code length overflow. ("+b.getLengthInBits()+">"+8*a+")");for(b.getLengthInBits()+4<=8*a&&b.put(0,4);0!=b.getLengthInBits()%8;)b.putBit(!1);for(;!(b.getLengthInBits()>=8*a);){b.put(o.PAD0,8);if(b.getLengthInBits()>=8*a)break;b.put(o.PAD1,8)}return o.createBytes(b,c)};o.createBytes=function(a,c){for(var d=
0,b=0,e=0,f=Array(c.length),i=Array(c.length),g=0;g<c.length;g++){var n=c[g].dataCount,h=c[g].totalCount-n,b=Math.max(b,n),e=Math.max(e,h);f[g]=Array(n);for(var k=0;k<f[g].length;k++)f[g][k]=255&a.buffer[k+d];d+=n;k=j.getErrorCorrectPolynomial(h);n=(new q(f[g],k.getLength()-1)).mod(k);i[g]=Array(k.getLength()-1);for(k=0;k<i[g].length;k++)h=k+n.getLength()-i[g].length,i[g][k]=0<=h?n.get(h):0}for(k=g=0;k<c.length;k++)g+=c[k].totalCount;d=Array(g);for(k=n=0;k<b;k++)for(g=0;g<c.length;g++)k<f[g].length&&
(d[n++]=f[g][k]);for(k=0;k<e;k++)for(g=0;g<c.length;g++)k<i[g].length&&(d[n++]=i[g][k]);return d};s=4;for(var j={PATTERN_POSITION_TABLE:[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,
78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],G15:1335,G18:7973,G15_MASK:21522,getBCHTypeInfo:function(a){for(var c=a<<10;0<=j.getBCHDigit(c)-j.getBCHDigit(j.G15);)c^=j.G15<<j.getBCHDigit(c)-j.getBCHDigit(j.G15);return(a<<10|c)^j.G15_MASK},getBCHTypeNumber:function(a){for(var c=a<<12;0<=j.getBCHDigit(c)-
j.getBCHDigit(j.G18);)c^=j.G18<<j.getBCHDigit(c)-j.getBCHDigit(j.G18);return a<<12|c},getBCHDigit:function(a){for(var c=0;0!=a;)c++,a>>>=1;return c},getPatternPosition:function(a){return j.PATTERN_POSITION_TABLE[a-1]},getMask:function(a,c,d){switch(a){case 0:return 0==(c+d)%2;case 1:return 0==c%2;case 2:return 0==d%3;case 3:return 0==(c+d)%3;case 4:return 0==(Math.floor(c/2)+Math.floor(d/3))%2;case 5:return 0==c*d%2+c*d%3;case 6:return 0==(c*d%2+c*d%3)%2;case 7:return 0==(c*d%3+(c+d)%2)%2;default:throw Error("bad maskPattern:"+
a);}},getErrorCorrectPolynomial:function(a){for(var c=new q([1],0),d=0;d<a;d++)c=c.multiply(new q([1,l.gexp(d)],0));return c},getLengthInBits:function(a,c){if(1<=c&&10>c)switch(a){case 1:return 10;case 2:return 9;case s:return 8;case 8:return 8;default:throw Error("mode:"+a);}else if(27>c)switch(a){case 1:return 12;case 2:return 11;case s:return 16;case 8:return 10;default:throw Error("mode:"+a);}else if(41>c)switch(a){case 1:return 14;case 2:return 13;case s:return 16;case 8:return 12;default:throw Error("mode:"+
a);}else throw Error("type:"+c);},getLostPoint:function(a){for(var c=a.getModuleCount(),d=0,b=0;b<c;b++)for(var e=0;e<c;e++){for(var f=0,i=a.isDark(b,e),g=-1;1>=g;g++)if(!(0>b+g||c<=b+g))for(var h=-1;1>=h;h++)0>e+h||c<=e+h||0==g&&0==h||i==a.isDark(b+g,e+h)&&f++;5<f&&(d+=3+f-5)}for(b=0;b<c-1;b++)for(e=0;e<c-1;e++)if(f=0,a.isDark(b,e)&&f++,a.isDark(b+1,e)&&f++,a.isDark(b,e+1)&&f++,a.isDark(b+1,e+1)&&f++,0==f||4==f)d+=3;for(b=0;b<c;b++)for(e=0;e<c-6;e++)a.isDark(b,e)&&!a.isDark(b,e+1)&&a.isDark(b,e+
2)&&a.isDark(b,e+3)&&a.isDark(b,e+4)&&!a.isDark(b,e+5)&&a.isDark(b,e+6)&&(d+=40);for(e=0;e<c;e++)for(b=0;b<c-6;b++)a.isDark(b,e)&&!a.isDark(b+1,e)&&a.isDark(b+2,e)&&a.isDark(b+3,e)&&a.isDark(b+4,e)&&!a.isDark(b+5,e)&&a.isDark(b+6,e)&&(d+=40);for(e=f=0;e<c;e++)for(b=0;b<c;b++)a.isDark(b,e)&&f++;a=Math.abs(100*f/c/c-50)/5;return d+10*a}},l={glog:function(a){if(1>a)throw Error("glog("+a+")");return l.LOG_TABLE[a]},gexp:function(a){for(;0>a;)a+=255;for(;256<=a;)a-=255;return l.EXP_TABLE[a]},EXP_TABLE:Array(256),
LOG_TABLE:Array(256)},m=0;8>m;m++)l.EXP_TABLE[m]=1<<m;for(m=8;256>m;m++)l.EXP_TABLE[m]=l.EXP_TABLE[m-4]^l.EXP_TABLE[m-5]^l.EXP_TABLE[m-6]^l.EXP_TABLE[m-8];for(m=0;255>m;m++)l.LOG_TABLE[l.EXP_TABLE[m]]=m;q.prototype={get:function(a){return this.num[a]},getLength:function(){return this.num.length},multiply:function(a){for(var c=Array(this.getLength()+a.getLength()-1),d=0;d<this.getLength();d++)for(var b=0;b<a.getLength();b++)c[d+b]^=l.gexp(l.glog(this.get(d))+l.glog(a.get(b)));return new q(c,0)},mod:function(a){if(0>
this.getLength()-a.getLength())return this;for(var c=l.glog(this.get(0))-l.glog(a.get(0)),d=Array(this.getLength()),b=0;b<this.getLength();b++)d[b]=this.get(b);for(b=0;b<a.getLength();b++)d[b]^=l.gexp(l.glog(a.get(b))+c);return(new q(d,0)).mod(a)}};p.RS_BLOCK_TABLE=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],
[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,
116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,
43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,
3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,
55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,
45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]];p.getRSBlocks=function(a,c){var d=p.getRsBlockTable(a,c);if(void 0==d)throw Error("bad rs block @ typeNumber:"+a+"/errorCorrectLevel:"+c);for(var b=d.length/3,e=[],f=0;f<b;f++)for(var h=d[3*f+0],g=d[3*f+1],j=d[3*f+2],l=0;l<h;l++)e.push(new p(g,j));return e};p.getRsBlockTable=function(a,c){switch(c){case 1:return p.RS_BLOCK_TABLE[4*(a-1)+0];case 0:return p.RS_BLOCK_TABLE[4*(a-1)+1];case 3:return p.RS_BLOCK_TABLE[4*
(a-1)+2];case 2:return p.RS_BLOCK_TABLE[4*(a-1)+3]}};t.prototype={get:function(a){return 1==(this.buffer[Math.floor(a/8)]>>>7-a%8&1)},put:function(a,c){for(var d=0;d<c;d++)this.putBit(1==(a>>>c-d-1&1))},getLengthInBits:function(){return this.length},putBit:function(a){var c=Math.floor(this.length/8);this.buffer.length<=c&&this.buffer.push(0);a&&(this.buffer[c]|=128>>>this.length%8);this.length++}};"string"===typeof h&&(h={text:h});h=r.extend({},{render:"canvas",width:256,height:256,typeNumber:-1,
correctLevel:2,background:"#ffffff",foreground:"#000000"},h);return this.each(function(){var a;if("canvas"==h.render){a=new o(h.typeNumber,h.correctLevel);a.addData(h.text);a.make();var c=document.createElement("canvas");c.width=h.width;c.height=h.height;for(var d=c.getContext("2d"),b=h.width/a.getModuleCount(),e=h.height/a.getModuleCount(),f=0;f<a.getModuleCount();f++)for(var i=0;i<a.getModuleCount();i++){d.fillStyle=a.isDark(f,i)?h.foreground:h.background;var g=Math.ceil((i+1)*b)-Math.floor(i*b),
j=Math.ceil((f+1)*b)-Math.floor(f*b);d.fillRect(Math.round(i*b),Math.round(f*e),g,j)}}else{a=new o(h.typeNumber,h.correctLevel);a.addData(h.text);a.make();c=r("<table></table>").css("width",h.width+"px").css("height",h.height+"px").css("border","0px").css("border-collapse","collapse").css("background-color",h.background);d=h.width/a.getModuleCount();b=h.height/a.getModuleCount();for(e=0;e<a.getModuleCount();e++){f=r("<tr></tr>").css("height",b+"px").appendTo(c);for(i=0;i<a.getModuleCount();i++)r("<td></td>").css("width",
d+"px").css("background-color",a.isDark(e,i)?h.foreground:h.background).appendTo(f)}}a=c;jQuery(a).appendTo(this)})}})(jQuery);
File diff suppressed because one or more lines are too long
@@ -0,0 +1,10 @@
const Jsz = {
mapCenter: {
lng: 118.920491,
lat: 31.904084
},
async getTypes() {
const {data} = await $.get("/jsz/common/getTypes")
return data
}
}
@@ -0,0 +1,539 @@
(function (root, factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define(['exports', 'echarts'], factory);
} else if (typeof exports === 'object' && typeof exports.nodeName !== 'string') {
// CommonJS
factory(exports, require('echarts'));
} else {
// Browser globals
factory({}, root.echarts);
}
}(this, function (exports, echarts) {
var log = function (msg) {
if (typeof console !== 'undefined') {
console && console.error && console.error(msg);
}
};
if (!echarts) {
log('ECharts is not Loaded');
return;
}
echarts.registerTheme('macarons', {
"color": [
"#2ec7c9",
"#b6a2de",
"#5ab1ef",
"#ffb980",
"#d87a80",
"#8d98b3",
"#e5cf0d",
"#97b552",
"#95706d",
"#dc69aa",
"#07a2a4",
"#9a7fd1",
"#588dd5",
"#f5994e",
"#c05050",
"#59678c",
"#c9ab00",
"#7eb00a",
"#6f5553",
"#c14089"
],
"backgroundColor": "rgba(0,0,0,0)",
"textStyle": {},
"title": {
"textStyle": {
"color": "#008acd"
},
"subtextStyle": {
"color": "#aaaaaa"
}
},
"line": {
"itemStyle": {
"normal": {
"borderWidth": 1
}
},
"lineStyle": {
"normal": {
"width": 2
}
},
"symbolSize": 3,
"symbol": "emptyCircle",
"smooth": true
},
"radar": {
"itemStyle": {
"normal": {
"borderWidth": 1
}
},
"lineStyle": {
"normal": {
"width": 2
}
},
"symbolSize": 3,
"symbol": "emptyCircle",
"smooth": true
},
"bar": {
"itemStyle": {
"normal": {
"barBorderWidth": 0,
"barBorderColor": "#ccc"
},
"emphasis": {
"barBorderWidth": 0,
"barBorderColor": "#ccc"
}
}
},
"pie": {
"itemStyle": {
"normal": {
"borderWidth": 0,
"borderColor": "#ccc"
},
"emphasis": {
"borderWidth": 0,
"borderColor": "#ccc"
}
}
},
"scatter": {
"itemStyle": {
"normal": {
"borderWidth": 0,
"borderColor": "#ccc"
},
"emphasis": {
"borderWidth": 0,
"borderColor": "#ccc"
}
}
},
"boxplot": {
"itemStyle": {
"normal": {
"borderWidth": 0,
"borderColor": "#ccc"
},
"emphasis": {
"borderWidth": 0,
"borderColor": "#ccc"
}
}
},
"parallel": {
"itemStyle": {
"normal": {
"borderWidth": 0,
"borderColor": "#ccc"
},
"emphasis": {
"borderWidth": 0,
"borderColor": "#ccc"
}
}
},
"sankey": {
"itemStyle": {
"normal": {
"borderWidth": 0,
"borderColor": "#ccc"
},
"emphasis": {
"borderWidth": 0,
"borderColor": "#ccc"
}
}
},
"funnel": {
"itemStyle": {
"normal": {
"borderWidth": 0,
"borderColor": "#ccc"
},
"emphasis": {
"borderWidth": 0,
"borderColor": "#ccc"
}
}
},
"gauge": {
"itemStyle": {
"normal": {
"borderWidth": 0,
"borderColor": "#ccc"
},
"emphasis": {
"borderWidth": 0,
"borderColor": "#ccc"
}
}
},
"candlestick": {
"itemStyle": {
"normal": {
"color": "#d87a80",
"color0": "#2ec7c9",
"borderColor": "#d87a80",
"borderColor0": "#2ec7c9",
"borderWidth": 1
}
}
},
"graph": {
"itemStyle": {
"normal": {
"borderWidth": 0,
"borderColor": "#ccc"
}
},
"lineStyle": {
"normal": {
"width": 1,
"color": "#aaaaaa"
}
},
"symbolSize": 3,
"symbol": "emptyCircle",
"smooth": true,
"color": [
"#2ec7c9",
"#b6a2de",
"#5ab1ef",
"#ffb980",
"#d87a80",
"#8d98b3",
"#e5cf0d",
"#97b552",
"#95706d",
"#dc69aa",
"#07a2a4",
"#9a7fd1",
"#588dd5",
"#f5994e",
"#c05050",
"#59678c",
"#c9ab00",
"#7eb00a",
"#6f5553",
"#c14089"
],
"label": {
"normal": {
"textStyle": {
"color": "#eeeeee"
}
}
}
},
"map": {
"itemStyle": {
"normal": {
"areaColor": "#dddddd",
"borderColor": "#eeeeee",
"borderWidth": 0.5
},
"emphasis": {
"areaColor": "rgba(254,153,78,1)",
"borderColor": "#444444",
"borderWidth": 1
}
},
"label": {
"normal": {
"textStyle": {
"color": "#d87a80"
}
},
"emphasis": {
"textStyle": {
"color": "rgb(100,0,0)"
}
}
}
},
"geo": {
"itemStyle": {
"normal": {
"areaColor": "#dddddd",
"borderColor": "#eeeeee",
"borderWidth": 0.5
},
"emphasis": {
"areaColor": "rgba(254,153,78,1)",
"borderColor": "#444444",
"borderWidth": 1
}
},
"label": {
"normal": {
"textStyle": {
"color": "#d87a80"
}
},
"emphasis": {
"textStyle": {
"color": "rgb(100,0,0)"
}
}
}
},
"categoryAxis": {
"axisLine": {
"show": true,
"lineStyle": {
"color": "#008acd"
}
},
"axisTick": {
"show": true,
"lineStyle": {
"color": "#333"
}
},
"axisLabel": {
"show": true,
"textStyle": {
"color": "#333"
}
},
"splitLine": {
"show": false,
"lineStyle": {
"color": [
"#eee"
]
}
},
"splitArea": {
"show": false,
"areaStyle": {
"color": [
"rgba(250,250,250,0.3)",
"rgba(200,200,200,0.3)"
]
}
}
},
"valueAxis": {
"axisLine": {
"show": true,
"lineStyle": {
"color": "#008acd"
}
},
"axisTick": {
"show": true,
"lineStyle": {
"color": "#333"
}
},
"axisLabel": {
"show": true,
"textStyle": {
"color": "#333"
}
},
"splitLine": {
"show": true,
"lineStyle": {
"color": [
"#eee"
]
}
},
"splitArea": {
"show": true,
"areaStyle": {
"color": [
"rgba(250,250,250,0.3)",
"rgba(200,200,200,0.3)"
]
}
}
},
"logAxis": {
"axisLine": {
"show": true,
"lineStyle": {
"color": "#008acd"
}
},
"axisTick": {
"show": true,
"lineStyle": {
"color": "#333"
}
},
"axisLabel": {
"show": true,
"textStyle": {
"color": "#333"
}
},
"splitLine": {
"show": true,
"lineStyle": {
"color": [
"#eee"
]
}
},
"splitArea": {
"show": true,
"areaStyle": {
"color": [
"rgba(250,250,250,0.3)",
"rgba(200,200,200,0.3)"
]
}
}
},
"timeAxis": {
"axisLine": {
"show": true,
"lineStyle": {
"color": "#008acd"
}
},
"axisTick": {
"show": true,
"lineStyle": {
"color": "#333"
}
},
"axisLabel": {
"show": true,
"textStyle": {
"color": "#333"
}
},
"splitLine": {
"show": true,
"lineStyle": {
"color": [
"#eee"
]
}
},
"splitArea": {
"show": false,
"areaStyle": {
"color": [
"rgba(250,250,250,0.3)",
"rgba(200,200,200,0.3)"
]
}
}
},
"toolbox": {
"iconStyle": {
"normal": {
"borderColor": "#2ec7c9"
},
"emphasis": {
"borderColor": "#18a4a6"
}
}
},
"legend": {
"textStyle": {
"color": "#333333"
}
},
"tooltip": {
"axisPointer": {
"lineStyle": {
"color": "#008acd",
"width": "1"
},
"crossStyle": {
"color": "#008acd",
"width": "1"
}
}
},
"timeline": {
"lineStyle": {
"color": "#008acd",
"width": 1
},
"itemStyle": {
"normal": {
"color": "#008acd",
"borderWidth": 1
},
"emphasis": {
"color": "#a9334c"
}
},
"controlStyle": {
"normal": {
"color": "#008acd",
"borderColor": "#008acd",
"borderWidth": 0.5
},
"emphasis": {
"color": "#008acd",
"borderColor": "#008acd",
"borderWidth": 0.5
}
},
"checkpointStyle": {
"color": "#2ec7c9",
"borderColor": "rgba(46,199,201,0.4)"
},
"label": {
"normal": {
"textStyle": {
"color": "#008acd"
}
},
"emphasis": {
"textStyle": {
"color": "#008acd"
}
}
}
},
"visualMap": {
"color": [
"#5ab1ef",
"#e0ffff"
]
},
"dataZoom": {
"backgroundColor": "rgba(47,69,84,0)",
"dataBackgroundColor": "rgba(239,239,255,1)",
"fillerColor": "rgba(182,162,222,0.2)",
"handleColor": "#008acd",
"handleSize": "100%",
"textStyle": {
"color": "#333333"
}
},
"markPoint": {
"label": {
"normal": {
"textStyle": {
"color": "#eeeeee"
}
},
"emphasis": {
"textStyle": {
"color": "#eeeeee"
}
}
}
}
});
}));
@@ -0,0 +1,323 @@
(function (a) {
(jQuery.browser = jQuery.browser || {}).mobile = /(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i.test(a) || /1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(a.substr(0, 4));
})(navigator.userAgent || navigator.vendor || window.opera);
$.ajaxSetup({
contentType: 'application/x-www-form-urlencoded;charset=utf-8',
complete: function (XMLHttpRequest, textStatus) {
var sessionstatus = XMLHttpRequest.getResponseHeader('loginStatus'); //通过XMLHttpRequest取得响应头,sessionstatus
if (sessionstatus == 'accessDenied') {
ELEMENT.Notification({title: '提示', message: '\u6ca1\u6709\u6743\u9650', type: 'warning'})
}
if (sessionstatus == 'unauthorized') {
ELEMENT.Notification({title: '提示', message: '\u6ca1\u6709\u6743\u9650', type: 'warning'})
}
}
});
function removeHTMLTag(str) {
str = str.replace(/<\/?[^>]*>/g, ''); //去除HTML tag
str = str.replace(/[ | ]*\n/g, '\n'); //去除行尾空白
str = str.replace(/\n[\s| | ]*\r/g, '\n'); //去除多余空行
str = str.replace(/&nbsp;/ig, '');//去掉&nbsp;
return str;
}
function GetQueryString(name) {
var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)");
var r = window.location.search.substr(1).match(reg);
if (r != null) return unescape(r[2]);
return "";
}
function getQueryVariable(variable) {
return GetQueryString(variable)
}
//函数在一定时间内只会触发一次 FN.ABC
function throttle(func, wait) {
let previous = 0;
return function () {
let now = Date.now();
let context = this;
let args = arguments;
if (now - previous > wait) {
func.apply(context, args);
previous = now;
}
}
}
var sublime = function () {
var linkLocation, searchOpen = false, app = $("#mainApp"), maxHeight = 0;
var sidebar = false, boxed = false, scroll = false;
function redirectPage() {
window.location = linkLocation;
}
function events() {
$(".offscreen-left, .main-navigation").ontouchstart = function () {
};
$(".accordion > dd").hide();
$(window).on("load", function () {
$(".pageload").fadeOut("slow");
});
$(window).resize(function () {
if (!$.browser.mobile && !checkBreakout()) {
$(".no-touch .main-navigation").slimScroll({height: 'auto'});
$(".no-touch .slimscroll").slimScroll({height: 'auto'});
}
});
}
function simulateLoad(el) {
$(el).block({
message: '<div class="loader"></div>',
css: {border: "none", backgroundColor: "none"},
overlayCSS: {backgroundColor: "#fff", opacity: 0.5}
});
}
function checkBreakout() {
var state = false;
var app = $("#mainApp");
if (app.hasClass("small-menu") || app.hasClass("fixed-scroll")) {
state = true;
}
return state;
}
function initLinkTransition() {
$(document).on("click", "a.transition", function (e) {
e.preventDefault();
e.stopPropagation();
linkLocation = this.href;
$("body").fadeOut(1000, "easeInOutExpo", redirectPage);
return;
});
}
function initAnimationAPI() {
if (!$.browser.mobile && $.fn.appear) {
$("[data-animation]").appear();
$("[data-animation]").on("appear", function () {
var elm = $(this), animation = elm.data("animation") || "fadeIn", delay = elm.data("delay") || 0;
if (!elm.hasClass("done")) {
setTimeout(function () {
elm.addClass("animated " + animation + " done");
}, delay);
}
});
} else {
$("[data-animation]").each(function () {
var elm = $(this), animation = elm.data("animation") || "fadeIn";
if (!elm.hasClass("done")) {
elm.addClass("animated " + animation + " done");
}
});
}
}
function initAnimateNumbers() {
if (!$.browser.mobile && $.fn.appear) {
$(".count").appear();
$(".count").on("appear", function () {
if (!$(this).hasClass("done")) {
var speed = $(this).data("speed") || 2000, interval = $(this).data("interval") || 100;
$(this).addClass("done").countTo({speed: speed, refreshInterval: interval});
}
});
} else {
$(".count").each(function () {
if (!$(this).hasClass("done")) {
$(this).addClass("done").countTo({speed: 1000});
}
});
}
}
function initAnimateProgressBars() {
if (!$.browser.mobile && $.fn.appear) {
$(".progress-bar").appear();
$(".progress-bar").on("appear", function () {
var elm = $(this), percent = elm.data("percent");
if (!elm.hasClass("done")) {
elm.addClass("done").css("width", Math.ceil(percent) + "%");
}
});
} else {
$(".progress-bar").each(function () {
var elm = $(this), percent = elm.data("percent");
if (!elm.hasClass("done")) {
elm.addClass("done").css("width", Math.ceil(percent) + "%");
}
});
}
}
function initBrowserFix() {
if (navigator.userAgent.search("Firefox") >= 0) {
$(".layout > aside, .layout > section").wrapInner("<div class=\"fffix\"/>");
}
}
function initMenuCollapse() {
//顶部导航浮动显示,觉得体验不好注释掉
$(document).on("click", ".main-navigation a", function (e) {
var app = $("#mainApp");
var links = $(this).parents('li'), parentLink = $(this).closest("li"),
otherLinks = $('.main-navigation li').not(links), subMenu = $(this).next();
if (!subMenu.hasClass("sub-menu")) {
offscreen.hide();
$(".fa-dot-circle-o").parent().parent().attr('style', 'color: black')
$(".fa-dot-circle-o").removeClass("fa-dot-circle-o");
if ($(this).find("i").hasClass("fa fa-circle-o")) {
$(".fa-dot-circle-o").addClass("fa-circle-o");
$(".fa-dot-circle-o").parent().parent().attr('style', 'color: black')
$(".fa-dot-circle-o").removeClass("fa-dot-circle-o");
$(this).find("i").addClass("fa fa-dot-circle-o");
$(this).attr('style', 'color: #1867b0')
}
return;
}
otherLinks.find("a").removeClass('active');
otherLinks.removeClass('open');
otherLinks.find('.sub-menu').slideUp();
if (subMenu.is("ul") && (!subMenu.is(":visible")) && (!app.hasClass("small-sidebar"))) {
subMenu.slideDown();
parentLink.addClass("open");
} else if (subMenu.is("ul") && (subMenu.is(":visible")) && (!app.hasClass("small-sidebar"))) {
parentLink.removeClass("open");
subMenu.slideUp();
}
if ($(this).hasClass('active') === false) {
$(this).parents("ul.dropdown-menu").find('a').removeClass('active');
$(this).addClass('active');
}
if ($(this).attr('href') === '#') {
e.preventDefault();
}
if (subMenu.is("ul")) {
return false;
}
e.stopPropagation();
return true;
});
$(".main-navigation > .nav > li.open").each(function () {
$(".sub-menu").hide();
$(this).children(".sub-menu").show();
});
}
function bindLeft() {
$('.main-navigation a[data-pjax]').on('click', function () {
$('.main-navigation a[data-pjax]').each(function () {
$(this).parent().removeClass('active');
});
$(this).parent().addClass('active');
});
}
function initHome() {
$(".gallery-loader").fadeOut();
$.get(base + "/platform/home/path?url=" + window.location.href + "&rnd=" + new Date().getTime(), function (data) {
// $("#leftnav").html(data);
bindLeft();
}, "html");
//PJAX实现
if ($.support.pjax) {
$(document).pjax('a[data-pjax]', '#container', {
maxCacheLength: 0,
push: false,
replace: true,
fragment: '#container',
timeout: 8000
});
$(document).on('pjax:send', function (options) { //pjax链接点击后显示加载动画;
$(".gallery-loader").fadeIn();
});
$(document).on('pjax:complete', function (options) { //pjax链接加载完成后隐藏加载动画;
window.sessionStorage.setItem('pjax_url', options.currentTarget.URL)
setTimeout(function () {
$(".gallery-loader").fadeOut()
}, 250);
});
}
}
return {
checkBreakout: checkBreakout, init: function () {
events();
initAnimationAPI();
initAnimateNumbers();
initAnimateProgressBars();
initLinkTransition();
initBrowserFix();
initMenuCollapse();
initHome();
},
showLoadingbar: function (obj) {//显示顶部进度条
var clz = "waiting";
if (!obj) {
clz += " full";
}
obj = obj || $("body");
if ($("#loadingbar").length < 1) {
obj.prepend("<div id=\"loadingbar\"></div>");
$("#loadingbar").addClass(clz).append($("<dt/><dd/>"));
$("#loadingbar").width((50 + Math.random() * 30) + "%");
var width = (50 + Math.random() * 30);
var interval = setInterval(function () {
width = width + 10;
if (width < 100) {
$("#loadingbar").width(width + "%");
} else {
$("#loadingbar").width("101%");
clearInterval(interval);
}
}, 600);
$("#loadingbar").attr("interval", interval);
}
},
closeLoadingbar: function (obj) {//关闭顶部进度条
obj = obj || $("body");
obj.find("#loadingbar").width("101%").delay(200).fadeOut(400, function () {
var interval = $(this).attr("interval");
clearInterval(interval);
$("#loadingbar").remove();
});
},
//2022/02/14 zxy pjax跳转自定义页面
jumpPagePjax(pageUrl) {
const index = pageUrl.indexOf("?")
const doMainUrl = index > -1 ? pageUrl.substring(0, index) : pageUrl
const {protocol, host} = window.location
const nodes = document.querySelectorAll('a[data-pjax]')
for (let node of nodes) {
if (node.hasAttribute('data-pjax') && node.href.trim() === protocol + "//" + host + doMainUrl) {
const metaHref = node.href
node.href = pageUrl
node.click()
//父级节点展开
const links = $(node).parents('li'),
parentLink = $(node).closest("li");
links.addClass("open")
links.children(".sub-menu").slideDown()
parentLink.removeClass("open")
node.href = metaHref
}
}
}
};
}();
$(function () {
"use strict";
sublime.init();
});
@@ -0,0 +1,34 @@
const ddmixins = {
data(){
return{
pageForm: {
searchName: "",
searchKeyword: "",
pageNumber: 1,
pageSize: 10,
totalCount: 0,
pageOrderName: "",
pageOrderBy: ""
},
}
},
methods: {
doSearch () {
this.pageForm.pageNumber = 1;
this.pageData();
},
pageOrder: function (column) {//按字段排序
this.pageForm.pageOrderName = column.prop;
this.pageForm.pageOrderBy = column.order;
this.pageData();
},
pageNumberChange: function (val) {//页码更新操作
this.pageForm.pageNumber = val;
this.pageData();
},
pageSizeChange: function (val) {//分页大小更新操作
this.pageForm.pageSize = val;
this.pageData();
}
}
}
@@ -0,0 +1,73 @@
var offscreen = function() {
var container = $(".app"), canvasDirection, direction, rapidClick = false;
function hide() {
container.removeClass("move-left move-right");
canvasDirection = "";
setTimeout(function() {
container.removeClass("offscreen");
rapidClick = false;
}, 300);
}
function toggle(direction) {
if (direction !== undefined && direction === "rtl") {
container.addClass("offscreen move-right").removeClass("move-left");
canvasDirection = "rtl";
} else {
container.addClass("offscreen move-left").removeClass("move-right");
canvasDirection = "ltr";
}
}
function fixSlimScroll() {
if (!$.browser.mobile && !sublime.checkBreakout()) {
if (canvasDirection === "ltr") {
if ($(".offscreen-left").find(".slimScrollDiv").length !== 0) {
$(".offscreen-left").find(".main-navigation, .slimscroll")
.slimScroll({
height : 'auto'
});
}
}
if (canvasDirection === "rtl") {
if ($(".offscreen-right").find(".slimScrollDiv").length !== 0) {
$(".offscreen-right").find(".main-navigation, .slimscroll")
.slimScroll({
height : 'auto'
});
}
}
}
}
function events() {
$("[data-toggle=offscreen]").on("click", function(e) {
$("#topnav").toggleClass("hidden-xs");
/*e.preventDefault();
e.stopPropagation();
direction = $(this).data("move");
if (direction === canvasDirection) {
hide();
return;
}
if (rapidClick) {
return;
}
rapidClick = true;
toggle(direction);
fixSlimScroll();*/
});
$(".exit-offscreen").on("click", function(e) {
e.preventDefault();
e.stopPropagation();
hide();
});
}
return {
hide : hide,
init : function() {
events();
}
};
}();
$(function() {
"use strict";
offscreen.init();
});
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1,48 @@
var wxScannerQrCode = function () {
async function initWxConfig(url) {
const {data: signData} = await $.post('/platform/mobile/trainSignUpActivityScannerQrCode/auth/sign', {url})
window.wx.config({
debug: false, // 开启调试模式,调用的所有api的返回值会在客户端alert出来,若要查看传入的参数,可以在pc端打开,参数信息会通过log打出,仅在pc端时才会打印。
appId: 'wx68966f267c67f199', // 必填,公众号的唯一标识
timestamp: signData.timestamp, // 必填,生成签名的时间戳
nonceStr: signData.nonceStr, // 必填,生成签名的随机串
signature: signData.signature,// 必填,签名
jsApiList: ['scanQRCode'] // 必填,需要使用的JS接口列表
});
wx.ready(function () {
// console.log("微信配置成功")
// alert('微信配置成功');
})
wx.error(function (res) {
// console.log("微信配置错误" + JSON.stringify(res))
alert(res.errMsg);
})
}
function scanner() {
return new Promise((resolve, reject) => {
wx.scanQRCode({
needResult: 1,
success: (res) => {
if (res.errMsg === 'scanQRCode:ok') {
resolve(res.resultStr)
} else {
reject('扫码错误')
}
},
fail: (err) => {
reject('扫码错误')
}
});
})
}
return {
scanner: scanner,
initWxConfig: initWxConfig
};
}()
@@ -0,0 +1 @@
"use strict";var _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};!function(t,e){"object"===("undefined"==typeof exports?"undefined":_typeof(exports))&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t=t||self,t.Signature=e)}(void 0,function(t){function e(){o.step++,o.step<status.length&&(o.status.length=o.step),o.status.push(o.getContentBase64())}var o=this;this.obj=t&&!Array.isArray(t)?t:{},this.option={el:o.obj.el?o.obj.el:"body",lineWidth:o.obj.lineWidth&&!isNaN(parseInt(o.obj.lineWidth))?o.obj.lineWidth:5,lineColor:o.obj.lineColor&&/^#[1-9|A-F]{6}/.test(o.obj.lineColor.substr(0,7).toLocaleUpperCase())?o.obj.lineColor:"#000000",overflow:!o.obj.direction||"boolean"!=typeof o.obj.direction||o.obj.direction,background:o.obj.background&&/^#[1-9|A-F]{6}/.test(o.obj.background.substr(0,7).toLocaleUpperCase())?o.obj.background:"#ffffff"},this.status=[],this.step=-1,this.firstStatus="";var n=document.querySelector(this.option.el);if("CANVAS"!==n.tagName)throw new Error("Target element must be canvas");n.style.backgroundColor=this.option.background;var i=n.getContext("2d");this.create=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o.option;i.lineWidth=t.lineWidth,i.strokeStyle=t.lineColor,!0===t.overflow&&(document.querySelector("body").style.overflow="hidden");var s="",a=navigator.userAgent.toLocaleLowerCase();o.firstStatus=o.getContentBase64(),-1!==a.indexOf("iphone")||-1!==a.indexOf("android")?(n.addEventListener("touchstart",function(t){s={x:t.touches[0].clientX-this.offsetLeft,y:t.touches[0].clientY-this.offsetTop}}),n.addEventListener("touchmove",function(t){i.beginPath(),i.moveTo(s.x,s.y),s={x:t.touches[0].clientX-this.offsetLeft,y:t.touches[0].clientY-this.offsetTop},i.lineTo(s.x,s.y),i.fill(),i.closePath(),i.stroke()}),n.addEventListener("touchend",function(){s=""})):(n.addEventListener("mousedown",function(t){e(),s={x:t.clientX-this.offsetLeft,y:t.clientY-this.offsetTop}}),n.addEventListener("mousemove",function(t){s.x&&s.y&&(i.beginPath(),i.moveTo(s.x,s.y),s={x:t.clientX-this.offsetLeft,y:t.clientY-this.offsetTop},i.lineTo(s.x,s.y),i.fill(),i.closePath(),i.stroke())}),n.addEventListener("mouseup",function(){s=""}),n.addEventListener("mouseout",function(){s=""}))},this.getContentBase64=function(t,e){if(t){var i=!0,s=!1,a=void 0;try{for(var r,f=document.querySelectorAll('canvas[data-none="1"]')[Symbol.iterator]();!(i=(r=f.next()).done);i=!0){var d=r.value;d.parentNode.removeChild(d)}}catch(t){s=!0,a=t}finally{try{!i&&f.return&&f.return()}finally{if(s)throw a}}var l=document.createElement("canvas");l.dataset.none="1",l.width=n.offsetHeight,l.height=n.offsetWidth,document.body.appendChild(l);var c=document.querySelector('canvas[data-none="1"]').getContext("2d"),u=new Image;u.src=o.getContentBase64(),u.onload=function(){var t=Math.round(n.offsetHeight/2),o=Math.round(n.offsetWidth/2);c.save(),c.translate(t,o),c.rotate(-90*Math.PI/180),c.drawImage(u,-u.width/2,-u.height/2),c.restore(),e&&e(document.querySelector('canvas[data-none="1"]').toDataURL("image/png"))}}else{if(!e)return n.toDataURL("image/png");e(n.toDataURL("image/png"))}},this.getBlob=function(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getContentBase64(),e=t.split(","),o=e[0].match(/:(.*?);/)[1],n=atob(e[1]),i=n.length,s=new Uint8Array(i);i--;)s[i]=n.charCodeAt(i);return new Blob([s],{type:o})},this.getFile=function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getContentBase64(),o=t||"file",n=e.split(","),i=n[0].match(/:(.*?);/)[1],s=i.split("/")[1],a=atob(n[1]),r=a.length,f=new Uint8Array(r);r--;)f[r]=a.charCodeAt(r);return new File([f],o+"."+s,{type:i})},this.reset=function(){if(!o.firstStatus)return!1;i.clearRect(0,0,n.offsetWidth,n.offsetHeight);var t=new Image;try{t.src=o.firstStatus,t.addEventListener("load",function(){i.drawImage(t,0,0)}),o.step=-1,o.status=[]}catch(t){}},this.undo=function(t){if(o.step>=0){i.clearRect(0,0,n.offsetWidth,n.offsetHeight);var e=new Image;try{e.src=o.status[o.step],e.addEventListener("load",function(){i.drawImage(e,0,0)})}catch(t){}o.step--}else console.warn("no more undo"),t&&t()},this.redo=function(t){if(o.step<o.status.length-2){o.step++;var e=new Image;o.status[o.step+1]&&(e.src=o.status[o.step+1],e.addEventListener("load",function(){i.clearRect(0,0,n.offsetWidth,n.offsetHeight),i.drawImage(e,0,0)}))}else console.warn("no more redo"),t&&t()}});
@@ -0,0 +1,14 @@
window.site = {
reverseRankingDate(data) {
for (let i = 0; i < data.length - 1; i++) {
for (let j = 0; j < data.length - 1 - i; j++) {
if (moment().format(data[j].start_time) > moment().format(data[j + 1].start_time)) {
let temp = data[j];
data[j] = data[j + 1];
data[j + 1] = temp;
}
}
}
return data;
}
}
@@ -0,0 +1,82 @@
const RunFunction = ({func, code, data, msg}) => {
if (func) {
func({code, data, msg})
}
}
/**
* 请求完成后调用(带消息的)
* @param app vue实例
* @param response 请求返回值
* @param success 成功的方法
* @param fail 失败的方法
* @param final 始终都要调用的方法
*/
const AssertResponseMessage = ({app, response, success, fail, final}) => {
const {code, data, msg} = response
app = app ? app : (vue ? vue : app)
if (code === 0) {
if (app) app.$notify({
title: '成功',
message: msg,
type: 'success'
});
RunFunction({func: success, code, data, msg})
} else {
if (app) app.$notify.error({
title: '错误',
message: msg
});
RunFunction({func: fail, code, data, msg})
}
RunFunction({func: final, code, data, msg})
}
/**
* 请求完成后调用(带消息的 成功不提示失败提示)
* @param app vue实例
* @param response 请求返回值
* @param success 成功的方法
* @param fail 失败的方法
* @param final 始终都要调用的方法
*/
const AssertResponseMessage2 = ({app, response, success, fail, final}) => {
const {code, data, msg} = response
app = app ? app : (vue ? vue : app)
if (code === 0) {
RunFunction({func: success, code, data, msg})
} else {
if (app) app.$notify.error({
title: '错误',
message: msg
});
RunFunction({func: fail, code, data, msg})
}
RunFunction({func: final, code, data, msg})
}
/**
* 请求完成后调用
* @param response 请求返回值
* @param success 成功的方法
* @param fail 失败的方法
* @param final 始终都要调用的方法
*/
const AssertResponse = ({response, success, fail, final}) => {
const {code, data, msg} = response
if (code === 0) {
RunFunction({func: success, code, data, msg})
} else {
RunFunction({func: fail, code, data, msg})
}
RunFunction({func: final, code, data, msg})
}
@@ -0,0 +1,309 @@
/**
* 根据enum获取选项
* @returns {Promise<*>}
*/
const getEnumOptions = async (enumName) => {
const {data} = await $.get("/platform/vi/common/enumOptions", {enumName})
return data
}
/**
* 根据code获取字典选项
* @returns {Promise<*>}
*/
const getDictOptions = async (code) => {
const {data} = await $.get("/platform/vi/common/dictOptions", {code})
return data
}
/**
* 获取校区
* @returns {Promise<*>}
*/
const getCampus = async () => {
const {data} = await $.get("/platform/vi/common/getCampus")
return data
}
/**
* 获取代表团
* @returns {Promise<*>}
*/
const getDbt = async (jdhId) => {
const {data} = await $.get("/platform/vi/common/getDbt", {jdhId})
return data
}
/**
* 获取基层工会
* @returns {Promise<*>}
*/
const getUnions = async (delegationId) => {
const {data} = await $.get("/platform/vi/common/unions", {delegationId})
return data
}
/**
* 获取基层工会
* @returns {Promise<*>}
*/
const getUnionList = async (unionId) => {
const {data} = await $.get("/platform/vi/common/unionList", {unionId})
return data
}
/**
* 获取单位
* @returns {Promise<*>}
*/
const getUnits = async (unionId) => {
const {data} = await $.get("/platform/vi/common/units", {unionId})
return data
}
/**
* 获取本分工会的单位
* @returns {Promise<*>}
*/
const getUnionUnits = async () => {
const {data} = await $.get("/platform/vi/common/unionUnits")
return data
}
/**
* 获取福利单位
* @returns {Promise<*>}
*/
const getWelfareUnits = async () => {
const {data} = await $.get("/platform/vi/common/welfareUnits")
return data
}
/**
* 获取福利单位的二级单位
* @returns {Promise<*>}
*/
const getUnitsByWelfareUnit = async (welfareUnitId) => {
const {data} = await $.get("/platform/vi/common/unitsByWelfareUnit", {welfareUnitId})
return data
}
/**
* 获取社团
* @returns {Promise<*>}
*/
const getClubs = async () => {
const {data} = await $.get("/platform/vi/common/clubs", {})
return data
}
/**
* 获取届次
* @returns {Promise<*>}
*/
const getJc = async () => {
const {data} = await $.get("/platform/vi/common/getJcByDict")
return data
}
/**
* 获取当前人所管理的协会
* @returns {Promise<*>}
*/
const getClubsByRole = async () => {
const {data} = await $.get("/platform/vi/common/getClubsByRole", {})
return data
}
/**
* 获取文件类型
* @returns {Promise<*>}
*/
const getFileType = async () => {
const {data} = await $.get("/platform/vi/common/getFileTypeByDict")
return data
}
/**
* 获取基层干部的角色
* @returns {Promise<*>}
*/
const getJcgbJs = async () => {
const {data} = await $.get("/platform/vi/common/getJcgbJsByDict")
return data
}
/**
* 获取审批员的角色
* @returns {Promise<*>}
*/
const getSpyJs = async () => {
const {data} = await $.get("/platform/vi/common/getSpyJsByDict")
return data
}
/**
* 获取社团类型
* @returns {Promise<*>}
*/
const getClubType = async () => {
const {data} = await $.get("/platform/vi/common/getClubTypeByDict")
return data
}
/**
* 获取系统名称
* @returns {Promise<*>}
*/
const getSystemName = async () => {
const {data} = await $.get("/platform/vi/common/getSystemNameByDict")
return data
}
/**
* 获取工代会
* @returns {Promise<*>}
*/
const getGdh = async (open = true) => {
const {data} = await $.get("/platform/vi/common/getGdh", {open})
return data
}
/**
* 根据id查用户
* @returns {Promise<*>}
*/
const queryUserByIds = async (ids) => {
const {data} = await $.get("/platform/vi/common/queryUserByIds", {ids: JSON.stringify(ids)})
return data
}
/**
* 查询用户
* @param query
* @param unionid
* @param unitid
* @param sex
* @param ishy
* @returns {Promise<*>}
*/
const searchUser = async (query, unionid, unitid, sex, ishy) => {
const {data} = await $.get("/platform/vi/common/searchUser", {query, unionid, unitid, sex, ishy})
return data.list
}
/**
* 获取代表可以操作的教代会
* @returns {Promise<*>}
*/
const getJdhByDb = async () => {
const {data} = await $.get("/platform/proposal/common/getJdhByDb")
return data
}
/**
* 获取代表可以操作的开启的教代会
* @returns {Promise<*>}
*/
const getOpenJdhByDb = async () => {
const {data} = await $.get("/platform/proposal/common/getOpenMeeting")
return data
}
/**
* 获取疗休养活动
* @returns {Promise<*>}
*/
const getLxyHd = async () => {
const {data} = await $.get("/platform/zgfw/lxy/common/getHdList")
return data
}
const getlxyHdCd = async () => {
const {data} = await $.get("/platform/zgfw/lxy/common/getlxyHdCd")
return data
}
const getNowLxyHd = async () => {
const {data} = await $.get("/platform/zgfw/lxy/common/getNowHdList")
return data
}
/**
* 获取活动人员范围
* @returns {Promise<*>}
*/
const getActivityGroup = async () => {
const {data} = await $.get('/platform/activity/basic/scope/getActivityUserScopeGroup')
return data
}
/**
* 查看该人员是否在活动范围中
* @returns {Promise<*>}
*/
const getScopeUser = async (activityGroupId) => {
const {data} = await $.get('/platform/activity/basic/scope/getScopeUser', {activityGroupId})
return data
}
/**
* 获取活动院级工会
* @returns {Promise<*>}
*/
const getActivityUnions = async () => {
const {data} = await $.get("/platform/activity/basic/union/getActivityUnions",)
return data
}
const getLocationVariable = (variable) => {
var query = window.location.search.substring(1);
var vars = query.split("&");
for (let i = 0; i < vars.length; i++) {
var pair = vars[i].split("=");
if (pair[0] == variable) {
return pair[1];
}
}
return '';
}
const threeUnitsByUnionGroupOrUnitId = async (unitId, groupId) => {
const {data} = await $.get("/platform/vi/common/threeUnitsByUnionGroupOrUnitId", {
unitId,
groupId
})
return data
}
const unionGroupsByUnionId = async (unionId) => {
const {data} = await $.get("/platform/vi/common/unionGroupsByUnionId", {unionId})
return data
}
/**
* 获取单位
* @returns {Promise<*>}
*/
const getActivityUnits = async (unionId) => {
const {data} = await $.get("/platform/activity/basic/union/getActivityUnits", {unionId})
return data
}
/**
* 根据code查询活动项目下面的类型
* @param id
* @returns {Promise<*>}
*/
const getActivityTwoLevelType = async (code) => {
const {data} = await $.get("/platform/activity/basic/basic/settings/getActivityTwoLevelType", {code})
return data
}
const getConfigKey = async (key) => {
const {data} = await $.get('/platform/sys/conf/getValue', {key})
return data
}
/**
* 根据id查用户
* @returns {Promise<*>}
*/
const queryUserById = async (id) => {
const {data} = await $.get("/platform/vi/common/queryUserById", {id: id})
return data
}
File diff suppressed because one or more lines are too long
@@ -0,0 +1,511 @@
(function (root, factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define(['exports', 'echarts'], factory);
} else if (typeof exports === 'object' && typeof exports.nodeName !== 'string') {
// CommonJS
factory(exports, require('echarts'));
} else {
// Browser globals
factory({}, root.echarts);
}
}(this, function (exports, echarts) {
var log = function (msg) {
if (typeof console !== 'undefined') {
console && console.error && console.error(msg);
}
};
if (!echarts) {
log('ECharts is not Loaded');
return;
}
echarts.registerTheme('walden', {
"color": [
"#3fb1e3",
"#6be6c1",
"#626c91",
"#a0a7e6",
"#c4ebad",
"#96dee8"
],
"backgroundColor": "rgba(252,252,252,0)",
"textStyle": {},
"title": {
"textStyle": {
"color": "#666666"
},
"subtextStyle": {
"color": "#999999"
}
},
"line": {
"itemStyle": {
"normal": {
"borderWidth": "2"
}
},
"lineStyle": {
"normal": {
"width": "3"
}
},
"symbolSize": "8",
"symbol": "emptyCircle",
"smooth": false
},
"radar": {
"itemStyle": {
"normal": {
"borderWidth": "2"
}
},
"lineStyle": {
"normal": {
"width": "3"
}
},
"symbolSize": "8",
"symbol": "emptyCircle",
"smooth": false
},
"bar": {
"itemStyle": {
"normal": {
"barBorderWidth": 0,
"barBorderColor": "#ccc"
},
"emphasis": {
"barBorderWidth": 0,
"barBorderColor": "#ccc"
}
}
},
"pie": {
"itemStyle": {
"normal": {
"borderWidth": 0,
"borderColor": "#ccc"
},
"emphasis": {
"borderWidth": 0,
"borderColor": "#ccc"
}
}
},
"scatter": {
"itemStyle": {
"normal": {
"borderWidth": 0,
"borderColor": "#ccc"
},
"emphasis": {
"borderWidth": 0,
"borderColor": "#ccc"
}
}
},
"boxplot": {
"itemStyle": {
"normal": {
"borderWidth": 0,
"borderColor": "#ccc"
},
"emphasis": {
"borderWidth": 0,
"borderColor": "#ccc"
}
}
},
"parallel": {
"itemStyle": {
"normal": {
"borderWidth": 0,
"borderColor": "#ccc"
},
"emphasis": {
"borderWidth": 0,
"borderColor": "#ccc"
}
}
},
"sankey": {
"itemStyle": {
"normal": {
"borderWidth": 0,
"borderColor": "#ccc"
},
"emphasis": {
"borderWidth": 0,
"borderColor": "#ccc"
}
}
},
"funnel": {
"itemStyle": {
"normal": {
"borderWidth": 0,
"borderColor": "#ccc"
},
"emphasis": {
"borderWidth": 0,
"borderColor": "#ccc"
}
}
},
"gauge": {
"itemStyle": {
"normal": {
"borderWidth": 0,
"borderColor": "#ccc"
},
"emphasis": {
"borderWidth": 0,
"borderColor": "#ccc"
}
}
},
"candlestick": {
"itemStyle": {
"normal": {
"color": "#e6a0d2",
"color0": "transparent",
"borderColor": "#e6a0d2",
"borderColor0": "#3fb1e3",
"borderWidth": "2"
}
}
},
"graph": {
"itemStyle": {
"normal": {
"borderWidth": 0,
"borderColor": "#ccc"
}
},
"lineStyle": {
"normal": {
"width": "1",
"color": "#cccccc"
}
},
"symbolSize": "8",
"symbol": "emptyCircle",
"smooth": false,
"color": [
"#3fb1e3",
"#6be6c1",
"#626c91",
"#a0a7e6",
"#c4ebad",
"#96dee8"
],
"label": {
"normal": {
"textStyle": {
"color": "#ffffff"
}
}
}
},
"map": {
"itemStyle": {
"normal": {
"areaColor": "#eeeeee",
"borderColor": "#aaaaaa",
"borderWidth": 0.5
},
"emphasis": {
"areaColor": "rgba(63,177,227,0.25)",
"borderColor": "#3fb1e3",
"borderWidth": 1
}
},
"label": {
"normal": {
"textStyle": {
"color": "#ffffff"
}
},
"emphasis": {
"textStyle": {
"color": "rgb(63,177,227)"
}
}
}
},
"geo": {
"itemStyle": {
"normal": {
"areaColor": "#eeeeee",
"borderColor": "#aaaaaa",
"borderWidth": 0.5
},
"emphasis": {
"areaColor": "rgba(63,177,227,0.25)",
"borderColor": "#3fb1e3",
"borderWidth": 1
}
},
"label": {
"normal": {
"textStyle": {
"color": "#ffffff"
}
},
"emphasis": {
"textStyle": {
"color": "rgb(63,177,227)"
}
}
}
},
"categoryAxis": {
"axisLine": {
"show": true,
"lineStyle": {
"color": "#cccccc"
}
},
"axisTick": {
"show": false,
"lineStyle": {
"color": "#333"
}
},
"axisLabel": {
"show": true,
"textStyle": {
"color": "#999999"
}
},
"splitLine": {
"show": true,
"lineStyle": {
"color": [
"#eeeeee"
]
}
},
"splitArea": {
"show": false,
"areaStyle": {
"color": [
"rgba(250,250,250,0.05)",
"rgba(200,200,200,0.02)"
]
}
}
},
"valueAxis": {
"axisLine": {
"show": true,
"lineStyle": {
"color": "#cccccc"
}
},
"axisTick": {
"show": false,
"lineStyle": {
"color": "#333"
}
},
"axisLabel": {
"show": true,
"textStyle": {
"color": "#999999"
}
},
"splitLine": {
"show": true,
"lineStyle": {
"color": [
"#eeeeee"
]
}
},
"splitArea": {
"show": false,
"areaStyle": {
"color": [
"rgba(250,250,250,0.05)",
"rgba(200,200,200,0.02)"
]
}
}
},
"logAxis": {
"axisLine": {
"show": true,
"lineStyle": {
"color": "#cccccc"
}
},
"axisTick": {
"show": false,
"lineStyle": {
"color": "#333"
}
},
"axisLabel": {
"show": true,
"textStyle": {
"color": "#999999"
}
},
"splitLine": {
"show": true,
"lineStyle": {
"color": [
"#eeeeee"
]
}
},
"splitArea": {
"show": false,
"areaStyle": {
"color": [
"rgba(250,250,250,0.05)",
"rgba(200,200,200,0.02)"
]
}
}
},
"timeAxis": {
"axisLine": {
"show": true,
"lineStyle": {
"color": "#cccccc"
}
},
"axisTick": {
"show": false,
"lineStyle": {
"color": "#333"
}
},
"axisLabel": {
"show": true,
"textStyle": {
"color": "#999999"
}
},
"splitLine": {
"show": true,
"lineStyle": {
"color": [
"#eeeeee"
]
}
},
"splitArea": {
"show": false,
"areaStyle": {
"color": [
"rgba(250,250,250,0.05)",
"rgba(200,200,200,0.02)"
]
}
}
},
"toolbox": {
"iconStyle": {
"normal": {
"borderColor": "#999999"
},
"emphasis": {
"borderColor": "#666666"
}
}
},
"legend": {
"textStyle": {
"color": "#999999"
}
},
"tooltip": {
"axisPointer": {
"lineStyle": {
"color": "#cccccc",
"width": 1
},
"crossStyle": {
"color": "#cccccc",
"width": 1
}
}
},
"timeline": {
"lineStyle": {
"color": "#626c91",
"width": 1
},
"itemStyle": {
"normal": {
"color": "#626c91",
"borderWidth": 1
},
"emphasis": {
"color": "#626c91"
}
},
"controlStyle": {
"normal": {
"color": "#626c91",
"borderColor": "#626c91",
"borderWidth": 0.5
},
"emphasis": {
"color": "#626c91",
"borderColor": "#626c91",
"borderWidth": 0.5
}
},
"checkpointStyle": {
"color": "#3fb1e3",
"borderColor": "rgba(63,177,227,0.15)"
},
"label": {
"normal": {
"textStyle": {
"color": "#626c91"
}
},
"emphasis": {
"textStyle": {
"color": "#626c91"
}
}
}
},
"visualMap": {
"color": [
"#2a99c9",
"#afe8ff"
]
},
"dataZoom": {
"backgroundColor": "rgba(255,255,255,0)",
"dataBackgroundColor": "rgba(222,222,222,1)",
"fillerColor": "rgba(114,230,212,0.25)",
"handleColor": "#cccccc",
"handleSize": "100%",
"textStyle": {
"color": "#999999"
}
},
"markPoint": {
"label": {
"normal": {
"textStyle": {
"color": "#ffffff"
}
},
"emphasis": {
"textStyle": {
"color": "#ffffff"
}
}
}
}
});
}));
@@ -0,0 +1,512 @@
(function (root, factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define(['exports', 'echarts'], factory);
} else if (typeof exports === 'object' && typeof exports.nodeName !== 'string') {
// CommonJS
factory(exports, require('echarts'));
} else {
// Browser globals
factory({}, root.echarts);
}
}(this, function (exports, echarts) {
var log = function (msg) {
if (typeof console !== 'undefined') {
console && console.error && console.error(msg);
}
};
if (!echarts) {
log('ECharts is not Loaded');
return;
}
echarts.registerTheme('westeros', {
"color": [
"#516b91",
"#59c4e6",
"#edafda",
"#93b7e3",
"#a5e7f0",
"#cbb0e3"
],
"backgroundColor": "rgba(0,0,0,0)",
"textStyle": {},
"title": {
"textStyle": {
"color": "#516b91"
},
"subtextStyle": {
"color": "#93b7e3"
}
},
"line": {
"itemStyle": {
"normal": {
"borderWidth": "2"
}
},
"lineStyle": {
"normal": {
"width": "2"
}
},
"symbolSize": "6",
"symbol": "emptyCircle",
"smooth": true
},
"radar": {
"itemStyle": {
"normal": {
"borderWidth": "2"
}
},
"lineStyle": {
"normal": {
"width": "2"
}
},
"symbolSize": "6",
"symbol": "emptyCircle",
"smooth": true
},
"bar": {
"itemStyle": {
"normal": {
"barBorderWidth": 0,
"barBorderColor": "#ccc"
},
"emphasis": {
"barBorderWidth": 0,
"barBorderColor": "#ccc"
}
}
},
"pie": {
"itemStyle": {
"normal": {
"borderWidth": 0,
"borderColor": "#ccc"
},
"emphasis": {
"borderWidth": 0,
"borderColor": "#ccc"
}
}
},
"scatter": {
"itemStyle": {
"normal": {
"borderWidth": 0,
"borderColor": "#ccc"
},
"emphasis": {
"borderWidth": 0,
"borderColor": "#ccc"
}
}
},
"boxplot": {
"itemStyle": {
"normal": {
"borderWidth": 0,
"borderColor": "#ccc"
},
"emphasis": {
"borderWidth": 0,
"borderColor": "#ccc"
}
}
},
"parallel": {
"itemStyle": {
"normal": {
"borderWidth": 0,
"borderColor": "#ccc"
},
"emphasis": {
"borderWidth": 0,
"borderColor": "#ccc"
}
}
},
"sankey": {
"itemStyle": {
"normal": {
"borderWidth": 0,
"borderColor": "#ccc"
},
"emphasis": {
"borderWidth": 0,
"borderColor": "#ccc"
}
}
},
"funnel": {
"itemStyle": {
"normal": {
"borderWidth": 0,
"borderColor": "#ccc"
},
"emphasis": {
"borderWidth": 0,
"borderColor": "#ccc"
}
}
},
"gauge": {
"itemStyle": {
"normal": {
"borderWidth": 0,
"borderColor": "#ccc"
},
"emphasis": {
"borderWidth": 0,
"borderColor": "#ccc"
}
}
},
"candlestick": {
"itemStyle": {
"normal": {
"color": "#edafda",
"color0": "transparent",
"borderColor": "#d680bc",
"borderColor0": "#8fd3e8",
"borderWidth": "2"
}
}
},
"graph": {
"itemStyle": {
"normal": {
"borderWidth": 0,
"borderColor": "#ccc"
}
},
"lineStyle": {
"normal": {
"width": 1,
"color": "#aaaaaa"
}
},
"symbolSize": "6",
"symbol": "emptyCircle",
"smooth": true,
"color": [
"#516b91",
"#59c4e6",
"#edafda",
"#93b7e3",
"#a5e7f0",
"#cbb0e3"
],
"label": {
"normal": {
"textStyle": {
"color": "#eeeeee"
}
}
}
},
"map": {
"itemStyle": {
"normal": {
"areaColor": "#f3f3f3",
"borderColor": "#516b91",
"borderWidth": 0.5
},
"emphasis": {
"areaColor": "rgba(165,231,240,1)",
"borderColor": "#516b91",
"borderWidth": 1
}
},
"label": {
"normal": {
"textStyle": {
"color": "#000000"
}
},
"emphasis": {
"textStyle": {
"color": "rgb(81,107,145)"
}
}
}
},
"geo": {
"itemStyle": {
"normal": {
"areaColor": "#f3f3f3",
"borderColor": "#516b91",
"borderWidth": 0.5
},
"emphasis": {
"areaColor": "rgba(165,231,240,1)",
"borderColor": "#516b91",
"borderWidth": 1
}
},
"label": {
"normal": {
"textStyle": {
"color": "#000000"
}
},
"emphasis": {
"textStyle": {
"color": "rgb(81,107,145)"
}
}
}
},
"categoryAxis": {
"axisLine": {
"show": true,
"lineStyle": {
"color": "#cccccc"
}
},
"axisTick": {
"show": false,
"lineStyle": {
"color": "#333"
}
},
"axisLabel": {
"show": true,
"textStyle": {
"color": "#999999"
}
},
"splitLine": {
"show": true,
"lineStyle": {
"color": [
"#eeeeee"
]
}
},
"splitArea": {
"show": false,
"areaStyle": {
"color": [
"rgba(250,250,250,0.05)",
"rgba(200,200,200,0.02)"
]
}
}
},
"valueAxis": {
"axisLine": {
"show": true,
"lineStyle": {
"color": "#cccccc"
}
},
"axisTick": {
"show": false,
"lineStyle": {
"color": "#333"
}
},
"axisLabel": {
"show": true,
"textStyle": {
"color": "#999999"
}
},
"splitLine": {
"show": true,
"lineStyle": {
"color": [
"#eeeeee"
]
}
},
"splitArea": {
"show": false,
"areaStyle": {
"color": [
"rgba(250,250,250,0.05)",
"rgba(200,200,200,0.02)"
]
}
}
},
"logAxis": {
"axisLine": {
"show": true,
"lineStyle": {
"color": "#cccccc"
}
},
"axisTick": {
"show": false,
"lineStyle": {
"color": "#333"
}
},
"axisLabel": {
"show": true,
"textStyle": {
"color": "#999999"
}
},
"splitLine": {
"show": true,
"lineStyle": {
"color": [
"#eeeeee"
]
}
},
"splitArea": {
"show": false,
"areaStyle": {
"color": [
"rgba(250,250,250,0.05)",
"rgba(200,200,200,0.02)"
]
}
}
},
"timeAxis": {
"axisLine": {
"show": true,
"lineStyle": {
"color": "#cccccc"
}
},
"axisTick": {
"show": false,
"lineStyle": {
"color": "#333"
}
},
"axisLabel": {
"show": true,
"textStyle": {
"color": "#999999"
}
},
"splitLine": {
"show": true,
"lineStyle": {
"color": [
"#eeeeee"
]
}
},
"splitArea": {
"show": false,
"areaStyle": {
"color": [
"rgba(250,250,250,0.05)",
"rgba(200,200,200,0.02)"
]
}
}
},
"toolbox": {
"iconStyle": {
"normal": {
"borderColor": "#999999"
},
"emphasis": {
"borderColor": "#666666"
}
}
},
"legend": {
"textStyle": {
"color": "#999999"
}
},
"tooltip": {
"axisPointer": {
"lineStyle": {
"color": "#cccccc",
"width": 1
},
"crossStyle": {
"color": "#cccccc",
"width": 1
}
}
},
"timeline": {
"lineStyle": {
"color": "#8fd3e8",
"width": 1
},
"itemStyle": {
"normal": {
"color": "#8fd3e8",
"borderWidth": 1
},
"emphasis": {
"color": "#8fd3e8"
}
},
"controlStyle": {
"normal": {
"color": "#8fd3e8",
"borderColor": "#8fd3e8",
"borderWidth": 0.5
},
"emphasis": {
"color": "#8fd3e8",
"borderColor": "#8fd3e8",
"borderWidth": 0.5
}
},
"checkpointStyle": {
"color": "#8fd3e8",
"borderColor": "rgba(138,124,168,0.37)"
},
"label": {
"normal": {
"textStyle": {
"color": "#8fd3e8"
}
},
"emphasis": {
"textStyle": {
"color": "#8fd3e8"
}
}
}
},
"visualMap": {
"color": [
"#516b91",
"#59c4e6",
"#a5e7f0"
]
},
"dataZoom": {
"backgroundColor": "rgba(0,0,0,0)",
"dataBackgroundColor": "rgba(255,255,255,0.3)",
"fillerColor": "rgba(167,183,204,0.4)",
"handleColor": "#a7b7cc",
"handleSize": "100%",
"textStyle": {
"color": "#333333"
}
},
"markPoint": {
"label": {
"normal": {
"textStyle": {
"color": "#eeeeee"
}
},
"emphasis": {
"textStyle": {
"color": "#eeeeee"
}
}
}
}
});
}));
@@ -0,0 +1,73 @@
window.activity = {
getType: async () => {
const {code, data, msg} = await $.get("/platform/activity/common/getType")
return data
},
getTeam: async () => {
const {code, data, msg} = await $.get("/platform/activity/common/getTeam")
return data
},
getEvents: async (type) => {
const {code, data, msg} = await $.get("/platform/activity/common/getEvents", {type})
return data
},
getSchoolActivityPlan: async (type) => {
const {code, data, msg} = await $.get("/platform/activity/common/getSchoolActivityPlan", {type})
return data
},
school: {
gameStyle: {
1: '竞赛类',
2: '非竞赛类'
},
awardsMode: {
1: '单项',
2: '团体'
},
activityLevel: {
1: '校级',
2: '分工会',
3: '社团或协会'
},
combinationMethod: {
1: '单项报名人数',
2: '团体报名人数'
},
applyWay: {
1: '个人报名',
2: '分工会报名',
3: '小程序报名'
},
getStatus(close, applyStartTime, applyEndTime, startTime, endTime, isSave) {
if (isSave) {
return `<span class="text-danger">活动未开始</span>`
}
if (close) {
return `<span class="text-danger">活动已关闭</span>`
}
const now = moment().valueOf()
const dateNow = moment(moment(moment().format('YYYY-MM-DD')).valueOf()).valueOf()
if (now < moment(applyStartTime).valueOf()) {
return `<span class="text-info">未开始报名</span>`
} else if (moment(applyStartTime).valueOf() <= now && now <= moment(applyEndTime).valueOf()) {
return `<span class="text-success">活动报名中</span>`
} else if (moment(applyEndTime).valueOf() < now && now < moment(startTime).valueOf()) {
return `<span class="text-info">报名已结束</span>`
} else if (moment(startTime).valueOf() < now && now < moment(endTime).valueOf()) {
return `<span class="text-primary">活动进行中</span>`
} else if (moment(endTime).valueOf() < now) {
return `<span class="text-danger">活动已结束</span>`
}
},
canApply(close, applyStartTime, applyEndTime) {
if (close) {
return false
}
if (moment(applyStartTime).valueOf() < now < moment(applyEndTime).valueOf()) {
return true
}
return false
},
},
}
@@ -0,0 +1,14 @@
window.site = {
reverseRankingDate(data) {
for (let i = 0; i < data.length - 1; i++) {
for (let j = 0; j < data.length - 1 - i; j++) {
if (moment().format(data[j].start_time) > moment().format(data[j + 1].start_time)) {
let temp = data[j];
data[j] = data[j + 1];
data[j + 1] = temp;
}
}
}
return data;
}
}
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,37 @@
window.condolence = {
type: {
1: '生日慰问',
2: '结婚慰问',
3: '生育慰问',
4: '退休离岗慰问',
5: '会员直系去世慰问',
6: '住院慰问',
7: '其他',
},
way: {
1: '慰问金 (A)',
2: '提货券 (B)',
3: '慰问品 (C)',
},
diseaseType: {
1: '普通疾病',
2: '重大疾病',
},
toFormData: (formData) => {
formData.type = formData.type + ""
formData.way = formData.way + ""
formData.disease_type = formData.disease_type + ""
if (formData.files) {
formData.files = JSON.parse(formData.files)
}
},
doExport(id) {
window.location.href = "/platform/fw/condolence/doExport?id=" + id
},
export(id) {
window.location.href = "/platform/fw/condolence/export?id=" + id
},
doPrint(id) {
window.location.href = "/platform/fw/condolence/read/doPrint?id=" + id
},
}
@@ -0,0 +1,74 @@
window.difficulty = {
sq_knlx: {
1: "会员因病住院",
2: "家庭重大意外事故",
3: "会员去世",
4: "重大疾病(癌症)",
5: "困难家庭",
6: "精神疾病",
7: "长期病休",
8: "其它"
},
subsidy: {
1: "日常补助慰问",
2: "“元旦、春节”困难补助慰问"
},
hard1: {
1: "会员因病住院",
2: "家庭重大意外事故",
3: "会员去世",
},
hard2: {
4: "重大疾病(癌症)",
5: "困难家庭",
6: "精神疾病",
7: "长期病休",
8: "其它"
},
hard: {
1: "会员因病住院",
2: "家庭重大意外事故",
3: "会员去世",
4: "重大疾病(癌症)",
5: "困难家庭",
6: "精神疾病",
7: "长期病休",
8: "其它"
},
/**
* 金额提示
*/
subsidyAmountPrompt: {
1: "会员因病住院(500-1000元)",
2: "家庭重大意外事故(1000元)",
3: "会员去世(1000元)",
4: "重大疾病(癌症)(1000元)",
5: "困难家庭(1000元)",
6: "精神疾病(800元)",
7: "长期病休(800元)",
8: "其它(800元)"
},
jobTitle: [
'事业编制职工(正式职工)',
'合同制职工',
'人事代理职工',
'集体职工',
'流动编制职工',
'非事业编制职工',
'博士后进站人员',
'劳务派遣人员',
'聘用工(各二级单位聘用)'
],
zcOptions: [
'教授',
'副教授',
'讲师',
'助教'],
getHard(sid) {
return sid == 1 ? this.hard1 : this.hard2
}
}
@@ -0,0 +1,23 @@
window.medicalAid = {
toFormData: v => {
if (v.hospital_time) {
v.hospital_time = v.hospital_time.split(",")
}
v.files_medical_certificate = JSON.parse(v.files_medical_certificate)
v.files_medicare_settlement = JSON.parse(v.files_medicare_settlement)
v.files_invoice = JSON.parse(v.files_invoice)
v.files_summary_discharge = JSON.parse(v.files_summary_discharge)
}
,
elementType: type => {
if (type === 1) {
return `<span v-if="type==1" class="text-primary">医疗补助</span>`
} else if (type === 2) {
return `<span v-if="type==2" class="text-danger">重疾补助</span>`
} else {
return `<span v-if="type==3" class="text-info">特殊补助</span>`
}
},
med_types: [{val: 1, lab: '医疗补助'}, {val: 2, lab: '重疾补助'}]
}
@@ -0,0 +1,18 @@
window.member = {
async getChangeType() {
const changeType = {}
const changeTypeOptions = await getDictOptions("MemberChangeType")
changeTypeOptions.forEach(v => {
changeType[v.code] = v.name
})
return changeType
},
async getChangeOrigin() {
const changeOrigin = {}
const changeOriginOptions = await getEnumOptions("MemberChangeOrigin")
changeOriginOptions.forEach(v => {
changeOrigin[v.code] = v.description
})
return changeOrigin
},
}
@@ -0,0 +1,126 @@
const initTableMixins = {
data() {
return {
submitLoading: false,
searchMore: false,
tableSize: '',
tableKey: '',
formData: {},
formRules: {},
formLoading: false,
tableLoading: false,
tableData: [],
tableColumns: [],
pageForm: {
searchName: "",
searchKeyword: "",
pageNumber: 1,
pageSize: 10,
totalCount: 0,
pageOrderName: "",
pageOrderBy: ""
}
}
},
filters: {
date(value) {
return value ? moment(value).format('YYYY-MM-DD') : ''
}
},
methods: {
dropdownCommand({action, value}) {
if (action) action(value)
},
fileHandleRemove(file, fileList) {
return fileList;
},
fileHandleChange(file, fileList, {type, size}) {
const removeFile = () => {
fileList.splice(fileList.findIndex(v => v === file))
}
if (!file.size) {
this.notifyWarning('您选择的是空文件!')
removeFile()
}
if (type && type.length && !type.includes(file.name.split('.').pop().toLowerCase())) {
this.notifyWarning(`文件只能是 ${type.map(v => v.toUpperCase()).join('/')} 格式!`)
removeFile()
}
if (size && !file.size < size) {
this.notifyWarning(`文件大小不能超过 ${size / 1024 / 1024}MB`)
removeFile()
}
return fileList;
},
columnChange(val) {
this.tableLoading = true
this.tableColumns = val
this.tableLoading = false
},
tableSizeChange(size) {
this.tableSize = size
},
indexMethod(index) {
return index + (this.pageForm.pageNumber - 1) * this.pageForm.pageSize + 1
},
doSearch() {
this.tableKey = new Date().getTime()
this.pageForm.pageNumber = 1
this.pageData()
},
pageOrder(column) {
this.pageForm.pageOrderName = column.prop;
this.pageForm.pageOrderBy = column.order;
this.pageData();
},
pageNumberChange(val) {
this.pageForm.pageNumber = val;
this.pageData();
},
pageSizeChange(val) {
this.pageForm.pageSize = val;
this.pageData();
},
pageData(url) {
const address = url ? url : loc() + "/pageData"
sublime.showLoadingbar();
this.tableLoading = true
$.post(address, this.pageForm, (data) => {
sublime.closeLoadingbar();
this.tableLoading = false
if (data.code == 0) {
this.tableData = data.data.list;
this.pageForm.totalCount = data.data.totalCount;
} else {
this.$message.error(data.msg);
}
}, "json");
},
notifySuccess(msg) {
this.$notify({
title: '成功',
message: msg,
type: 'success'
});
},
notifyWarning(msg) {
this.$notify({
title: '警告',
message: msg,
type: 'warning'
});
},
notifyError(msg) {
this.$notify.error({
title: '错误',
message: msg
});
}
}
}
@@ -0,0 +1,110 @@
const memberMixins = {
data() {
return {
showBzPicker: false,
showMzPicker: false,
showXlPicker: false,
showCsPicker: false,
currentDate: new Date(1990, 0, 1),
maxDate: new Date(),
minDate: new Date(1950, 0, 1),
formData: {},
bzColumns: [
'事业编制职工(正式职工)', '合同制职工', '人事代理职工', '集体职工', '流动编制职工',
'非事业编制职工', '博士后进站人员', '劳务派遣人员', '聘用工(各二级单位聘用)'
],
xlColumns: [
'博士', '硕士', '本科', '专科', '其他'
],
mzColumns: [],
imageList: []
}
},
methods: {
onBzConfirm(value) {
this.formData.rsbz = value;
this.showBzPicker = false;
},
onMzConfirm(value) {
this.formData.mz = value;
this.showMzPicker = false;
},
onXlConfirm(value) {
this.formData.xl = value;
this.showXlPicker = false;
},
onCsConfirm(value) {
this.formData.birthday = moment(value).format('YYYY-MM-DD');
this.showCsPicker = false;
},
onOversize(file) {
vant.Toast('文件大小不能超过2MB');
},
beforeRead(file) {
if (file.type !== 'image/jpeg' && file.type !== 'image/png') {
vant.Toast('只能上传jpg/png文件,且不超过2MB的一寸电子照片')
return false;
}
return true;
},
afterRead(file) {
file.status = 'uploading';
file.message = '上传中...';
let formData = new FormData();
formData.append("file", file.file, file.file.name);
$.ajax({
url: "/platform/Common/uploadFile",
type: "post",
data: formData,
processData: false,
contentType: false,
success: (res) => {
const {code, data, msg} = res
if (code === 0) {
file.status = 'success';
this.formData.imgUrl = data.filepath
}
},
error: (err) => {
file.status = 'failed';
file.message = '上传失败';
}
});
},
pageData() {
$.post("/mobile/hy/apply/join/pageData", (res) => {
const {code, data, msg} = res
if (code === 0) {
this.formData = data
this.imageList = [{url: FILE_DOMAIN + data.imgurl, status: 'success'}]
}
})
},
onSubmit() {
this.$toast.loading('提交中...');
$.post(location.href + "/doAdd", {user: JSON.stringify(this.formData)}, (res) => {
if (res.code === 0) {
setTimeout(() => {
this.$toast.success('提交成功');
setTimeout(() => {
location.replace('/mobile/index')
}, 300)
}, 500)
} else {
setTimeout(() => {
this.$toast.fail('提交失败');
}, 500)
}
})
},
async getAllNation() {
const {data} = await $.get("/mobile/hy/apply/join/getAllNation");
return data.map(v => {
return v.mzmc
})
}
}
}
@@ -0,0 +1,30 @@
const proposalMixins = {
methods: {
openView(row) {
this.$refs.guava.view()
this.$refs.info.openView(row.id)
},
async doAudit() {
this.submitDisabled = true
const loading = this.$loading({
lock: true,
text: '正在提交...',
spinner: 'el-icon-loading',
background: COVER_LAYER_COLOR
});
const resp = await $.post(base + "/platform/proposal/transact/audit/doAudit", this.formData)
requestLaterFun(resp, () => {
this.$notify.success({title: '成功', message: resp.msg});
this.pageData()
this.$refs.guava.index()
}, () => {
this.$notify.error({title: '失败', message: resp.msg});
}, () => {
loading.close()
this.submitDisabled = false
})
}
}
}
@@ -0,0 +1,49 @@
const refreshSearchMixins = {
data() {
return {
loading: false,
finished: false,
refreshing: false,
tableData: [],
pageForm: {
pageNumber: 0,
pageSize: 5,
totalCount: 0,
}
}
},
methods: {
async pageData() {
this.pageForm.pageNumber++
$.post(loc() + "/pageData", this.pageForm, (res) => {
const {code, data} = res
if (this.refreshing) {
this.tableData = [];
this.refreshing = false;
}
this.loading = false;
if (code === 0) {
this.tableData = this.tableData.concat(data.list)
this.pageForm.totalCount = data.totalCount
if (this.tableData.length == 0) {
this.finished = true;
} else {
this.none_data = false
if (this.tableData.length >= this.pageForm.totalCount) {
this.finished = true;
}
}
}
})
},
async onRefresh() {
this.refreshing = true;
this.finished = false;
this.pageForm.pageNumber = 0
this.loading = true;
await this.pageData();
},
}
}
@@ -0,0 +1,44 @@
let physicalsCommonUrl = "/platform/physicals/common";
const sexOptions = ['男', '女']
let exportPhysicalsList = (projectId) => {
location.href = physicalsCommonUrl + "/exportPhysicalsList?projectId=" + projectId
}
let getWelfareUnitPhysicals = async () => {
const {code, data} = await $.get(physicalsCommonUrl + "/welfareUnit")
if (!code) {
return data
}
return []
}
let getComponentUnitPhysicals = async (unitId) => {
const {code, data} = await $.get(physicalsCommonUrl + "/componentUnit", {unitId})
if (!code) {
return data
}
return []
}
let getPhysicalsProjects = async () => {
const {code, data} = await $.get(physicalsCommonUrl + "/physicalsProjects")
if (!code) {
return data
}
return []
}
let physicalsCommonColumns = [
{prop: 'loginname', label: '工号'},
{prop: 'username', label: '姓名'},
{prop: 'sex', label: '性别', sortable: true, width: '100px'},
{prop: 'marriage', label: '结婚状态', sortable: true},
{prop: 'mobile', label: '手机号'},
{prop: 'idcard', label: '身份证号', width: '180px'},
{prop: 'personType', label: '人员类型', sortable: true},
{prop: 'userState', label: '在职状态', sortable: true},
{prop: 'unitname', label: '所在单位', sortable: true},
{prop: 'unionname', label: '所属工会', sortable: true},
{prop: 'campusName', label: '所属校区', sortable: true}]
@@ -0,0 +1,135 @@
/**
* 根据id查询提案详细详细
* @returns {Promise<*>}
*/
const getProposalInfo = async (id) => {
const {data} = await $.get("/platform/proposal/common/getProposalInfo", {id})
return data
}
/**
* 根据code获取字典选项
* @returns {Promise<*>}
*/
const getDictByCode = async (code) => {
const {data} = await $.get("/platform/proposal/common/getDictByCode", {code})
return data
}
/**
* 获取提案类型
* @returns {Promise<*>}
*/
const getProposalType = async () => {
const {data} = await $.get("/platform/proposal/common/getProposalType")
return data
}
/**
* 获取提案状态
* @returns {Promise<*>}
*/
const getProposalState = async (stateCode) => {
const {data} = await $.get("/platform/proposal/common/getProposalState", {stateCode})
return data
}
/**
* 获取全部开启的提案状态
* @returns {Promise<*>}
*/
const getOpenProposalState = async () => {
const {data} = await $.get("/platform/proposal/common/getOpenProposalState")
return data
}
/**
* 获取提案配置
* @returns {Promise<*>}
*/
const getProposalConfig = async () => {
const {data} = await $.get("/platform/proposal/common/getProposalConfig")
return data
}
/**
* 按教代会届次获取承办单位
* @returns {Promise<*>}
*/
const getUndertakeByMeeting = async (meetingId) => {
const {data} = await $.get("/platform/proposal/common/getUndertakeByMeeting", {meetingId})
return data
}
/**
* 获取所有开启的承办单位
* @returns {Promise<*>}
*/
const getProposalUndertake = async () => {
const {data} = await $.get("/platform/proposal/common/getProposalUndertake")
return data
}
/**
* 获取开启的教代会
* @returns {Promise<*>}
*/
const getOpenMeeting = async () => {
const {data} = await $.get("/platform/proposal/common/getOpenMeeting")
return data
}
/**
* 获取所有教代会
* @returns {Promise<*>}
*/
const getAllMeeting = async () => {
const {data} = await $.get("/platform/proposal/common/getAllMeeting")
return data
}
/**
* 根据教代会获取代表团
* @returns {Promise<*>}
*/
const getDelegation = async (meetingId) => {
const {data} = await $.get("/platform/proposal/common/getDelegation", {meetingId})
return data
}
/**
* 根据教代会获取当前登录用户的代表团
* @returns {Promise<*>}
*/
const getDelegationId = async (meetingId) => {
const {data} = await $.get("/platform/proposal/common/getDelegationId", {meetingId})
return data
}
/**
* 根据教代会获取委员会
* @returns {Promise<*>}
*/
const getCommittee = async (meetingId) => {
const {data} = await $.get("/platform/proposal/common/getCommittee", {meetingId})
return data
}
/**
* 查询该提案下的承办单位
* @returns {Promise<*>}
*/
const findOrganizer = async (proposalId) => {
const {data} = await $.get("/platform/proposal/common/findOrganizer", {proposalId})
return data
}
/**
* 查询该提案的立案状态
* @returns {Promise<*>}
*/
const getProposalResultCode = async (proposalId) => {
const {data} = await $.get("/platform/proposal/common/getProposalResultCode", {proposalId})
return data
}
@@ -0,0 +1,196 @@
window.proposal = {
/*提案状态*/
UNSUBMIT: 100,
INVIRTE: 150,
DELEGATION: 200,
CASE: 300,
PRINCIPALREAD: 330,
CASEUNIT: 400,
LEADERAUDIT: 500,
UNITREPLY: 600,
FEEDBACKSCORE: 700,
CASE_CHECK: 800,
FINISH: 900,
//开启的状态
enableState: [],
//开启签字的状态
needSignState: [],
auditUrl: '/platform/proposal/transact/audit/doAudit',
replyUrl: '/platform/proposal/transact/audit/doReply',
async initData(app) {
const allJdhOptions = await proposal.getOpenMeeting()
app.pageForm.meetingId = allJdhOptions.length > 0 ? allJdhOptions[0].id : null
app.delegationOptions = await proposal.getDelegation(app.pageForm.meetingId)
app.pageData();
},
/**
* 根据id查询提案详细详细
* @returns {Promise<*>}
*/
async getProposalInfo(id) {
const {data} = await $.get("/platform/proposal/common/getProposalInfo", {id})
return data
},
/**
* 根据code获取字典选项
* @returns {Promise<*>}
*/
async getDictByCode(code) {
const {data} = await $.get("/platform/proposal/common/getDictByCode", {code})
return data
},
/**
* 获取提案类型
* @returns {Promise<*>}
*/
async getProposalType() {
const {data} = await $.get("/platform/proposal/common/getProposalType")
return data
},
/**
* 获取提案状态
* @returns {Promise<*>}
*/
async getProposalState(stateCode) {
const {data} = await $.get("/platform/proposal/common/getProposalState", {stateCode})
return data
},
/**
* 获取全部开启的提案状态
* @returns {Promise<*>}
*/
async getOpenProposalState() {
const {data} = await $.get("/platform/proposal/common/getOpenProposalState")
return data
},
/**
* 获取提案配置
* @returns {Promise<*>}
*/
async getProposalConfig() {
const {data} = await $.get("/platform/proposal/common/getProposalConfig")
return data
},
/**
* 按教代会届次获取承办单位
* @returns {Promise<*>}
*/
async getUndertakeByMeeting(meetingId) {
const {data} = await $.get("/platform/proposal/common/getUndertakeByMeeting", {meetingId})
return data
},
/**
* 获取所有开启的承办单位
* @returns {Promise<*>}
*/
async getProposalUndertake() {
const {data} = await $.get("/platform/proposal/common/getProposalUndertake")
return data
},
/**
* 获取开启的教代会
* @returns {Promise<*>}
*/
async getOpenMeeting() {
const {data} = await $.get("/platform/proposal/common/getOpenMeeting")
return data
},
/**
* 获取所有教代会
* @returns {Promise<*>}
*/
async getAllMeeting() {
const {data} = await $.get("/platform/proposal/common/getAllMeeting")
return data
},
/**
* 根据教代会获取代表团
* @returns {Promise<*>}
*/
async getDelegation(meetingId) {
const {data} = await $.get("/platform/proposal/common/getDelegation", {meetingId})
return data
},
/**
* 根据教代会获取当前登录用户的代表团
* @returns {Promise<*>}
*/
async getDelegationId(meetingId) {
const {data} = await $.get("/platform/proposal/common/getDelegationId", {meetingId})
return data
},
/**
* 根据教代会获取委员会
* @returns {Promise<*>}
*/
async getCommittee(meetingId) {
const {data} = await $.get("/platform/proposal/common/getCommittee", {meetingId})
return data
},
/**
* 查询该提案下的承办单位
* @returns {Promise<*>}
*/
async findOrganizer(proposalId) {
const {data} = await $.get("/platform/proposal/common/findOrganizer", {proposalId})
return data
},
/**
* 查询该提案的立案状态
* @returns {Promise<*>}
*/
async getProposalResultCode(proposalId) {
const {data} = await $.get("/platform/proposal/common/getProposalResultCode", {proposalId})
return data
},
async getProposalAllStateCode() {
const {data} = await $.get("/platform/proposal/common/getProposalAllStateCode")
Object.assign(proposal, data)
},
async getProposalEnableStateCode() {
const {data} = await $.get("/platform/proposal/common/getProposalEnableStateCode")
this.enableState = data
},
async getProposalNeedSignStateCode() {
const {data} = await $.get("/platform/proposal/common/getProposalNeedSignStateCode")
this.needSignState = data
},
async getProposalIsNodeState(stateCode) {
if (!stateCode) {
return false;
}
const {data} = await $.get("/platform/proposal/common/getProposalIsNodeState", {stateCode})
return data
},
async getProposalNextNode(stateCode) {
const {data} = await $.get("/platform/proposal/common/getProposalNextNode", {stateCode})
return data
}
}
proposal.getProposalAllStateCode()
proposal.getProposalEnableStateCode()
proposal.getProposalNeedSignStateCode()
File diff suppressed because one or more lines are too long
@@ -0,0 +1,360 @@
/* BASICS */
.CodeMirror {
/* Set height, width, borders, and global font properties here */
font-family: monospace;
height: 300px;
color: black;
direction: ltr;
}
/* PADDING */
.CodeMirror-lines {
padding: 4px 0; /* Vertical padding around content */
}
.CodeMirror pre {
padding: 0 4px; /* Horizontal padding of content */
}
.CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
background-color: white; /* The little square between H and V scrollbars */
}
/* GUTTER */
.CodeMirror-gutters {
border-right: 1px solid #ddd;
background-color: #f7f7f7;
white-space: nowrap;
}
.CodeMirror-linenumbers {}
.CodeMirror-linenumber {
padding: 0 3px 0 5px;
min-width: 20px;
text-align: right;
color: #999;
white-space: nowrap;
}
.CodeMirror-guttermarker { color: black; }
.CodeMirror-guttermarker-subtle { color: #999; }
/* CURSOR */
.CodeMirror-cursor {
border-left: 1px solid black;
border-right: none;
width: 0;
}
/* Shown when moving in bi-directional text */
.CodeMirror div.CodeMirror-secondarycursor {
border-left: 1px solid silver;
}
.cm-fat-cursor .CodeMirror-cursor {
width: auto;
border: 0 !important;
background: #7e7;
}
.cm-fat-cursor div.CodeMirror-cursors {
z-index: 1;
}
.cm-fat-cursor-mark {
background-color: rgba(20, 255, 20, 0.5);
-webkit-animation: blink 1.06s steps(1) infinite;
-moz-animation: blink 1.06s steps(1) infinite;
animation: blink 1.06s steps(1) infinite;
}
.cm-animate-fat-cursor {
width: auto;
border: 0;
-webkit-animation: blink 1.06s steps(1) infinite;
-moz-animation: blink 1.06s steps(1) infinite;
animation: blink 1.06s steps(1) infinite;
background-color: #7e7;
}
@-moz-keyframes blink {
0% {}
50% { background-color: transparent; }
100% {}
}
@-webkit-keyframes blink {
0% {}
50% { background-color: transparent; }
100% {}
}
@keyframes blink {
0% {}
50% { background-color: transparent; }
100% {}
}
/* Can style cursor different in overwrite (non-insert) mode */
.CodeMirror-overwrite .CodeMirror-cursor {}
.cm-tab { display: inline-block; text-decoration: inherit; }
.CodeMirror-rulers {
position: absolute;
left: 0; right: 0; top: -50px; bottom: -20px;
overflow: hidden;
}
.CodeMirror-ruler {
border-left: 1px solid #ccc;
top: 0; bottom: 0;
position: absolute;
}
/* DEFAULT THEME */
.cm-s-default .cm-header {color: blue;}
.cm-s-default .cm-quote {color: #090;}
.cm-negative {color: #d44;}
.cm-positive {color: #292;}
.cm-header, .cm-strong {font-weight: bold;}
.cm-em {font-style: italic;}
.cm-link {text-decoration: underline;}
.cm-strikethrough {text-decoration: line-through;}
.cm-s-default .cm-keyword {color: #708;}
.cm-s-default .cm-atom {color: #219;}
.cm-s-default .cm-number {color: #164;}
.cm-s-default .cm-def {color: #00f;}
.cm-s-default .cm-variable,
.cm-s-default .cm-punctuation,
.cm-s-default .cm-property,
.cm-s-default .cm-operator {}
.cm-s-default .cm-variable-2 {color: #05a;}
.cm-s-default .cm-variable-3, .cm-s-default .cm-type {color: #085;}
.cm-s-default .cm-comment {color: #a50;}
.cm-s-default .cm-string {color: #a11;}
.cm-s-default .cm-string-2 {color: #f50;}
.cm-s-default .cm-meta {color: #555;}
.cm-s-default .cm-qualifier {color: #555;}
.cm-s-default .cm-builtin {color: #30a;}
.cm-s-default .cm-bracket {color: #997;}
.cm-s-default .cm-tag {color: #170;}
.cm-s-default .cm-attribute {color: #00c;}
.cm-s-default .cm-hr {color: #999;}
.cm-s-default .cm-link {color: #00c;}
.cm-s-default .cm-error {color: #f00;}
.cm-invalidchar {color: #f00;}
.CodeMirror-composing { border-bottom: 2px solid; }
/* Default styles for common addons */
div.CodeMirror span.CodeMirror-matchingbracket {color: #0b0;}
div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #a22;}
.CodeMirror-matchingtag { background: rgba(255, 150, 0, .3); }
.CodeMirror-activeline-background {background: #e8f2ff;}
/* STOP */
/* The rest of this file contains styles related to the mechanics of
the editor. You probably shouldn't touch them. */
.CodeMirror {
position: relative;
overflow: hidden;
background: white;
}
.CodeMirror-scroll {
overflow: scroll !important; /* Things will break if this is overridden */
/* 30px is the magic margin used to hide the element's real scrollbars */
/* See overflow: hidden in .CodeMirror */
margin-bottom: -30px; margin-right: -30px;
padding-bottom: 30px;
height: 100%;
outline: none; /* Prevent dragging from highlighting the element */
position: relative;
}
.CodeMirror-sizer {
position: relative;
border-right: 30px solid transparent;
}
/* The fake, visible scrollbars. Used to force redraw during scrolling
before actual scrolling happens, thus preventing shaking and
flickering artifacts. */
.CodeMirror-vscrollbar, .CodeMirror-hscrollbar, .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
position: absolute;
z-index: 6;
display: none;
}
.CodeMirror-vscrollbar {
right: 0; top: 0;
overflow-x: hidden;
overflow-y: scroll;
}
.CodeMirror-hscrollbar {
bottom: 0; left: 0;
overflow-y: hidden;
overflow-x: scroll;
}
.CodeMirror-scrollbar-filler {
right: 0; bottom: 0;
}
.CodeMirror-gutter-filler {
left: 0; bottom: 0;
}
.CodeMirror-gutters {
position: absolute; left: 0; top: 0;
min-height: 100%;
z-index: 3;
}
.CodeMirror-gutter {
white-space: normal;
height: 100%;
display: inline-block;
vertical-align: top;
margin-bottom: -30px;
}
.CodeMirror-gutter-wrapper {
position: absolute;
z-index: 4;
background: none !important;
border: none !important;
}
.CodeMirror-gutter-background {
position: absolute;
top: 0; bottom: 0;
z-index: 4;
}
.CodeMirror-gutter-elt {
position: absolute;
cursor: default;
z-index: 4;
}
.CodeMirror-gutter-wrapper ::selection { background-color: transparent }
.CodeMirror-gutter-wrapper ::-moz-selection { background-color: transparent }
.CodeMirror-lines {
cursor: text;
min-height: 1px; /* prevents collapsing before first draw */
}
.CodeMirror pre {
/* Reset some styles that the rest of the page might have set */
-moz-border-radius: 0; -webkit-border-radius: 0; border-radius: 0;
border-width: 0;
background: transparent;
font-family: inherit;
font-size: inherit;
margin: 0;
white-space: pre;
word-wrap: normal;
line-height: inherit;
color: inherit;
z-index: 2;
position: relative;
overflow: visible;
-webkit-tap-highlight-color: transparent;
-webkit-font-variant-ligatures: contextual;
font-variant-ligatures: contextual;
}
.CodeMirror-wrap pre {
word-wrap: break-word;
white-space: pre-wrap;
word-break: normal;
}
.CodeMirror-linebackground {
position: absolute;
left: 0; right: 0; top: 0; bottom: 0;
z-index: 0;
}
.CodeMirror-linewidget {
position: relative;
z-index: 2;
padding: 0.1px; /* Force widget margins to stay inside of the container */
}
.CodeMirror-widget {}
.CodeMirror-rtl pre { direction: rtl; }
.CodeMirror-code {
outline: none;
}
/* Force content-box sizing for the elements where we expect it */
.CodeMirror-scroll,
.CodeMirror-sizer,
.CodeMirror-gutter,
.CodeMirror-gutters,
.CodeMirror-linenumber {
-moz-box-sizing: content-box;
box-sizing: content-box;
}
.CodeMirror-measure {
position: absolute;
width: 100%;
height: 0;
overflow: hidden;
visibility: hidden;
}
.CodeMirror-cursor {
position: absolute;
pointer-events: none;
}
.CodeMirror-measure pre { position: static; }
div.CodeMirror-cursors {
visibility: hidden;
position: relative;
z-index: 3;
}
div.CodeMirror-dragcursors {
visibility: visible;
}
.CodeMirror-focused div.CodeMirror-cursors {
visibility: visible;
}
.CodeMirror-selected { background: #d9d9d9; }
.CodeMirror-focused .CodeMirror-selected { background: #d7d4f0; }
.CodeMirror-crosshair { cursor: crosshair; }
.CodeMirror-line::selection, .CodeMirror-line > span::selection, .CodeMirror-line > span > span::selection { background: #d7d4f0; }
.CodeMirror-line::-moz-selection, .CodeMirror-line > span::-moz-selection, .CodeMirror-line > span > span::-moz-selection { background: #d7d4f0; }
.cm-searching {
background-color: #ffa;
background-color: rgba(255, 255, 0, .4);
}
/* Used to force a border model for a node */
.cm-force-border { padding-right: .1px; }
@media print {
/* Hide the cursor when printing */
.CodeMirror div.CodeMirror-cursors {
visibility: hidden;
}
}
/* See issue #2901 */
.cm-tab-wrap-hack:after { content: ''; }
/* Help users use markselection to safely style text background */
span.CodeMirror-selectedtext { background: none; }
.cm-s-elegant span.cm-number, .cm-s-elegant span.cm-string, .cm-s-elegant span.cm-atom { color: #762; }
.cm-s-elegant span.cm-comment { color: #262; font-style: italic; line-height: 1em; }
.cm-s-elegant span.cm-meta { color: #555; font-style: italic; line-height: 1em; }
.cm-s-elegant span.cm-variable { color: black; }
.cm-s-elegant span.cm-variable-2 { color: #b11; }
.cm-s-elegant span.cm-qualifier { color: #555; }
.cm-s-elegant span.cm-keyword { color: #730; }
.cm-s-elegant span.cm-builtin { color: #30a; }
.cm-s-elegant span.cm-link { color: #762; }
.cm-s-elegant span.cm-error { background-color: #fdd; }
.cm-s-elegant .CodeMirror-activeline-background { background: #e8f2ff; }
.cm-s-elegant .CodeMirror-matchingbracket { outline:1px solid grey; color:black !important; }
File diff suppressed because it is too large Load Diff
File diff suppressed because one or more lines are too long
@@ -0,0 +1,64 @@
(function () {
window.dd3s = {}; //创建一个自己的对象相当于C#中的命名空间
const download = function (filepath, filename) {
window.open('/platform/base/Common/download?filepath=' + filepath + '&filename=' + filename);
};
dd3s.download = download;
//这个预览只针对于文档 图片的话用viewer.js
const preview = function (filepath, fileid) {
window.open('/platform/base/Common/preview?filepath=' + filepath + '&fileid=' + fileid);
};
dd3s.preview = preview;
const doctype = ['doc', 'docx', 'xls', 'xlsx'];
const pictype = ['jpg', 'png', 'gif', 'jpeg'];
const isDoc = function (filepath) {
let filetype = filepath.substring(filepath.lastIndexOf('.') + 1, filepath.length);
if (doctype.indexOf(filetype) > -1) {
return true;
}
return false;
};
dd3s.isDoc = isDoc;
const isPic = function (filepath) {
let filetype = filepath.substring(filepath.lastIndexOf('.') + 1, filepath.length);
if (pictype.indexOf(filetype) > -1) {
return true;
}
return false;
};
dd3s.isPic = isPic;
//获取鼠标选中的位置和值 传入元素
const getChecked = function getChecked(obj) {
var result = {
start: 0,
end: 0,
val: ''
};
if (obj.selectionStart || obj.selectionStart == 0) {
// another support
result.start = obj.selectionStart;
result.end = obj.selectionEnd;
result.val = obj.value.substring(obj.selectionStart, obj.selectionEnd);
}
return result;
};
dd3s.getChecked = getChecked;
const html2txt = function html2txt(html) {
return html.replace(/<(style|script|iframe)[^>]*?>[\s\S]+?<\/\1\s*>/gi, '').replace(/<[^>]+?>/g, '').replace(/\s+/g, ' ').replace(/ /g, ' ').replace(/>/g, ' ');
};
dd3s.html2txt = html2txt;
})();
File diff suppressed because one or more lines are too long
@@ -0,0 +1,529 @@
(function (root, factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define(['exports', 'echarts'], factory);
} else if (typeof exports === 'object' && typeof exports.nodeName !== 'string') {
// CommonJS
factory(exports, require('echarts'));
} else {
// Browser globals
factory({}, root.echarts);
}
}(this, function (exports, echarts) {
var log = function (msg) {
if (typeof console !== 'undefined') {
console && console.error && console.error(msg);
}
};
if (!echarts) {
log('ECharts is not Loaded');
return;
}
echarts.registerTheme('infographic', {
"color": [
"#c1232b",
"#27727b",
"#fcce10",
"#e87c25",
"#b5c334",
"#fe8463",
"#9bca63",
"#fad860",
"#f3a43b",
"#60c0dd",
"#d7504b",
"#c6e579",
"#f4e001",
"#f0805a",
"#26c0c0"
],
"backgroundColor": "rgba(0,0,0,0)",
"textStyle": {},
"title": {
"textStyle": {
"color": "#27727b"
},
"subtextStyle": {
"color": "#aaaaaa"
}
},
"line": {
"itemStyle": {
"normal": {
"borderWidth": 1
}
},
"lineStyle": {
"normal": {
"width": "3"
}
},
"symbolSize": "5",
"symbol": "emptyCircle",
"smooth": false
},
"radar": {
"itemStyle": {
"normal": {
"borderWidth": 1
}
},
"lineStyle": {
"normal": {
"width": "3"
}
},
"symbolSize": "5",
"symbol": "emptyCircle",
"smooth": false
},
"bar": {
"itemStyle": {
"normal": {
"barBorderWidth": 0,
"barBorderColor": "#ccc"
},
"emphasis": {
"barBorderWidth": 0,
"barBorderColor": "#ccc"
}
}
},
"pie": {
"itemStyle": {
"normal": {
"borderWidth": 0,
"borderColor": "#ccc"
},
"emphasis": {
"borderWidth": 0,
"borderColor": "#ccc"
}
}
},
"scatter": {
"itemStyle": {
"normal": {
"borderWidth": 0,
"borderColor": "#ccc"
},
"emphasis": {
"borderWidth": 0,
"borderColor": "#ccc"
}
}
},
"boxplot": {
"itemStyle": {
"normal": {
"borderWidth": 0,
"borderColor": "#ccc"
},
"emphasis": {
"borderWidth": 0,
"borderColor": "#ccc"
}
}
},
"parallel": {
"itemStyle": {
"normal": {
"borderWidth": 0,
"borderColor": "#ccc"
},
"emphasis": {
"borderWidth": 0,
"borderColor": "#ccc"
}
}
},
"sankey": {
"itemStyle": {
"normal": {
"borderWidth": 0,
"borderColor": "#ccc"
},
"emphasis": {
"borderWidth": 0,
"borderColor": "#ccc"
}
}
},
"funnel": {
"itemStyle": {
"normal": {
"borderWidth": 0,
"borderColor": "#ccc"
},
"emphasis": {
"borderWidth": 0,
"borderColor": "#ccc"
}
}
},
"gauge": {
"itemStyle": {
"normal": {
"borderWidth": 0,
"borderColor": "#ccc"
},
"emphasis": {
"borderWidth": 0,
"borderColor": "#ccc"
}
}
},
"candlestick": {
"itemStyle": {
"normal": {
"color": "#c1232b",
"color0": "#b5c334",
"borderColor": "#c1232b",
"borderColor0": "#b5c334",
"borderWidth": 1
}
}
},
"graph": {
"itemStyle": {
"normal": {
"borderWidth": 0,
"borderColor": "#ccc"
}
},
"lineStyle": {
"normal": {
"width": 1,
"color": "#aaaaaa"
}
},
"symbolSize": "5",
"symbol": "emptyCircle",
"smooth": false,
"color": [
"#c1232b",
"#27727b",
"#fcce10",
"#e87c25",
"#b5c334",
"#fe8463",
"#9bca63",
"#fad860",
"#f3a43b",
"#60c0dd",
"#d7504b",
"#c6e579",
"#f4e001",
"#f0805a",
"#26c0c0"
],
"label": {
"normal": {
"textStyle": {
"color": "#eeeeee"
}
}
}
},
"map": {
"itemStyle": {
"normal": {
"areaColor": "#dddddd",
"borderColor": "#eeeeee",
"borderWidth": 0.5
},
"emphasis": {
"areaColor": "rgba(254,153,78,1)",
"borderColor": "#444444",
"borderWidth": 1
}
},
"label": {
"normal": {
"textStyle": {
"color": "#c1232b"
}
},
"emphasis": {
"textStyle": {
"color": "rgb(100,0,0)"
}
}
}
},
"geo": {
"itemStyle": {
"normal": {
"areaColor": "#dddddd",
"borderColor": "#eeeeee",
"borderWidth": 0.5
},
"emphasis": {
"areaColor": "rgba(254,153,78,1)",
"borderColor": "#444444",
"borderWidth": 1
}
},
"label": {
"normal": {
"textStyle": {
"color": "#c1232b"
}
},
"emphasis": {
"textStyle": {
"color": "rgb(100,0,0)"
}
}
}
},
"categoryAxis": {
"axisLine": {
"show": true,
"lineStyle": {
"color": "#27727b"
}
},
"axisTick": {
"show": true,
"lineStyle": {
"color": "#27727b"
}
},
"axisLabel": {
"show": true,
"textStyle": {
"color": "#333"
}
},
"splitLine": {
"show": false,
"lineStyle": {
"color": [
"#ccc"
]
}
},
"splitArea": {
"show": false,
"areaStyle": {
"color": [
"rgba(250,250,250,0.3)",
"rgba(200,200,200,0.3)"
]
}
}
},
"valueAxis": {
"axisLine": {
"show": false,
"lineStyle": {
"color": "#333"
}
},
"axisTick": {
"show": false,
"lineStyle": {
"color": "#333"
}
},
"axisLabel": {
"show": true,
"textStyle": {
"color": "#333"
}
},
"splitLine": {
"show": true,
"lineStyle": {
"color": [
"#ccc"
]
}
},
"splitArea": {
"show": false,
"areaStyle": {
"color": [
"rgba(250,250,250,0.3)",
"rgba(200,200,200,0.3)"
]
}
}
},
"logAxis": {
"axisLine": {
"show": true,
"lineStyle": {
"color": "#27727b"
}
},
"axisTick": {
"show": true,
"lineStyle": {
"color": "#333"
}
},
"axisLabel": {
"show": true,
"textStyle": {
"color": "#333"
}
},
"splitLine": {
"show": true,
"lineStyle": {
"color": [
"#ccc"
]
}
},
"splitArea": {
"show": false,
"areaStyle": {
"color": [
"rgba(250,250,250,0.3)",
"rgba(200,200,200,0.3)"
]
}
}
},
"timeAxis": {
"axisLine": {
"show": true,
"lineStyle": {
"color": "#27727b"
}
},
"axisTick": {
"show": true,
"lineStyle": {
"color": "#333"
}
},
"axisLabel": {
"show": true,
"textStyle": {
"color": "#333"
}
},
"splitLine": {
"show": true,
"lineStyle": {
"color": [
"#ccc"
]
}
},
"splitArea": {
"show": false,
"areaStyle": {
"color": [
"rgba(250,250,250,0.3)",
"rgba(200,200,200,0.3)"
]
}
}
},
"toolbox": {
"iconStyle": {
"normal": {
"borderColor": "#c1232b"
},
"emphasis": {
"borderColor": "#e87c25"
}
}
},
"legend": {
"textStyle": {
"color": "#333333"
}
},
"tooltip": {
"axisPointer": {
"lineStyle": {
"color": "#27727b",
"width": 1
},
"crossStyle": {
"color": "#27727b",
"width": 1
}
}
},
"timeline": {
"lineStyle": {
"color": "#293c55",
"width": 1
},
"itemStyle": {
"normal": {
"color": "#27727b",
"borderWidth": 1
},
"emphasis": {
"color": "#72d4e0"
}
},
"controlStyle": {
"normal": {
"color": "#27727b",
"borderColor": "#27727b",
"borderWidth": 0.5
},
"emphasis": {
"color": "#27727b",
"borderColor": "#27727b",
"borderWidth": 0.5
}
},
"checkpointStyle": {
"color": "#c1232b",
"borderColor": "rgba(194,53,49,0.5)"
},
"label": {
"normal": {
"textStyle": {
"color": "#293c55"
}
},
"emphasis": {
"textStyle": {
"color": "#293c55"
}
}
}
},
"visualMap": {
"color": [
"#c1232b",
"#fcce10"
]
},
"dataZoom": {
"backgroundColor": "rgba(0,0,0,0)",
"dataBackgroundColor": "rgba(181,195,52,0.3)",
"fillerColor": "rgba(181,195,52,0.2)",
"handleColor": "#27727b",
"handleSize": "100%",
"textStyle": {
"color": "#999999"
}
},
"markPoint": {
"label": {
"normal": {
"textStyle": {
"color": "#eeeeee"
}
},
"emphasis": {
"textStyle": {
"color": "#eeeeee"
}
}
}
}
});
}));
@@ -0,0 +1,539 @@
(function (root, factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define(['exports', 'echarts'], factory);
} else if (typeof exports === 'object' && typeof exports.nodeName !== 'string') {
// CommonJS
factory(exports, require('echarts'));
} else {
// Browser globals
factory({}, root.echarts);
}
}(this, function (exports, echarts) {
var log = function (msg) {
if (typeof console !== 'undefined') {
console && console.error && console.error(msg);
}
};
if (!echarts) {
log('ECharts is not Loaded');
return;
}
echarts.registerTheme('macarons', {
"color": [
"#2ec7c9",
"#b6a2de",
"#5ab1ef",
"#ffb980",
"#d87a80",
"#8d98b3",
"#e5cf0d",
"#97b552",
"#95706d",
"#dc69aa",
"#07a2a4",
"#9a7fd1",
"#588dd5",
"#f5994e",
"#c05050",
"#59678c",
"#c9ab00",
"#7eb00a",
"#6f5553",
"#c14089"
],
"backgroundColor": "rgba(0,0,0,0)",
"textStyle": {},
"title": {
"textStyle": {
"color": "#008acd"
},
"subtextStyle": {
"color": "#aaaaaa"
}
},
"line": {
"itemStyle": {
"normal": {
"borderWidth": 1
}
},
"lineStyle": {
"normal": {
"width": 2
}
},
"symbolSize": 3,
"symbol": "emptyCircle",
"smooth": true
},
"radar": {
"itemStyle": {
"normal": {
"borderWidth": 1
}
},
"lineStyle": {
"normal": {
"width": 2
}
},
"symbolSize": 3,
"symbol": "emptyCircle",
"smooth": true
},
"bar": {
"itemStyle": {
"normal": {
"barBorderWidth": 0,
"barBorderColor": "#ccc"
},
"emphasis": {
"barBorderWidth": 0,
"barBorderColor": "#ccc"
}
}
},
"pie": {
"itemStyle": {
"normal": {
"borderWidth": 0,
"borderColor": "#ccc"
},
"emphasis": {
"borderWidth": 0,
"borderColor": "#ccc"
}
}
},
"scatter": {
"itemStyle": {
"normal": {
"borderWidth": 0,
"borderColor": "#ccc"
},
"emphasis": {
"borderWidth": 0,
"borderColor": "#ccc"
}
}
},
"boxplot": {
"itemStyle": {
"normal": {
"borderWidth": 0,
"borderColor": "#ccc"
},
"emphasis": {
"borderWidth": 0,
"borderColor": "#ccc"
}
}
},
"parallel": {
"itemStyle": {
"normal": {
"borderWidth": 0,
"borderColor": "#ccc"
},
"emphasis": {
"borderWidth": 0,
"borderColor": "#ccc"
}
}
},
"sankey": {
"itemStyle": {
"normal": {
"borderWidth": 0,
"borderColor": "#ccc"
},
"emphasis": {
"borderWidth": 0,
"borderColor": "#ccc"
}
}
},
"funnel": {
"itemStyle": {
"normal": {
"borderWidth": 0,
"borderColor": "#ccc"
},
"emphasis": {
"borderWidth": 0,
"borderColor": "#ccc"
}
}
},
"gauge": {
"itemStyle": {
"normal": {
"borderWidth": 0,
"borderColor": "#ccc"
},
"emphasis": {
"borderWidth": 0,
"borderColor": "#ccc"
}
}
},
"candlestick": {
"itemStyle": {
"normal": {
"color": "#d87a80",
"color0": "#2ec7c9",
"borderColor": "#d87a80",
"borderColor0": "#2ec7c9",
"borderWidth": 1
}
}
},
"graph": {
"itemStyle": {
"normal": {
"borderWidth": 0,
"borderColor": "#ccc"
}
},
"lineStyle": {
"normal": {
"width": 1,
"color": "#aaaaaa"
}
},
"symbolSize": 3,
"symbol": "emptyCircle",
"smooth": true,
"color": [
"#2ec7c9",
"#b6a2de",
"#5ab1ef",
"#ffb980",
"#d87a80",
"#8d98b3",
"#e5cf0d",
"#97b552",
"#95706d",
"#dc69aa",
"#07a2a4",
"#9a7fd1",
"#588dd5",
"#f5994e",
"#c05050",
"#59678c",
"#c9ab00",
"#7eb00a",
"#6f5553",
"#c14089"
],
"label": {
"normal": {
"textStyle": {
"color": "#eeeeee"
}
}
}
},
"map": {
"itemStyle": {
"normal": {
"areaColor": "#dddddd",
"borderColor": "#eeeeee",
"borderWidth": 0.5
},
"emphasis": {
"areaColor": "rgba(254,153,78,1)",
"borderColor": "#444444",
"borderWidth": 1
}
},
"label": {
"normal": {
"textStyle": {
"color": "#d87a80"
}
},
"emphasis": {
"textStyle": {
"color": "rgb(100,0,0)"
}
}
}
},
"geo": {
"itemStyle": {
"normal": {
"areaColor": "#dddddd",
"borderColor": "#eeeeee",
"borderWidth": 0.5
},
"emphasis": {
"areaColor": "rgba(254,153,78,1)",
"borderColor": "#444444",
"borderWidth": 1
}
},
"label": {
"normal": {
"textStyle": {
"color": "#d87a80"
}
},
"emphasis": {
"textStyle": {
"color": "rgb(100,0,0)"
}
}
}
},
"categoryAxis": {
"axisLine": {
"show": true,
"lineStyle": {
"color": "#008acd"
}
},
"axisTick": {
"show": true,
"lineStyle": {
"color": "#333"
}
},
"axisLabel": {
"show": true,
"textStyle": {
"color": "#333"
}
},
"splitLine": {
"show": false,
"lineStyle": {
"color": [
"#eee"
]
}
},
"splitArea": {
"show": false,
"areaStyle": {
"color": [
"rgba(250,250,250,0.3)",
"rgba(200,200,200,0.3)"
]
}
}
},
"valueAxis": {
"axisLine": {
"show": true,
"lineStyle": {
"color": "#008acd"
}
},
"axisTick": {
"show": true,
"lineStyle": {
"color": "#333"
}
},
"axisLabel": {
"show": true,
"textStyle": {
"color": "#333"
}
},
"splitLine": {
"show": true,
"lineStyle": {
"color": [
"#eee"
]
}
},
"splitArea": {
"show": true,
"areaStyle": {
"color": [
"rgba(250,250,250,0.3)",
"rgba(200,200,200,0.3)"
]
}
}
},
"logAxis": {
"axisLine": {
"show": true,
"lineStyle": {
"color": "#008acd"
}
},
"axisTick": {
"show": true,
"lineStyle": {
"color": "#333"
}
},
"axisLabel": {
"show": true,
"textStyle": {
"color": "#333"
}
},
"splitLine": {
"show": true,
"lineStyle": {
"color": [
"#eee"
]
}
},
"splitArea": {
"show": true,
"areaStyle": {
"color": [
"rgba(250,250,250,0.3)",
"rgba(200,200,200,0.3)"
]
}
}
},
"timeAxis": {
"axisLine": {
"show": true,
"lineStyle": {
"color": "#008acd"
}
},
"axisTick": {
"show": true,
"lineStyle": {
"color": "#333"
}
},
"axisLabel": {
"show": true,
"textStyle": {
"color": "#333"
}
},
"splitLine": {
"show": true,
"lineStyle": {
"color": [
"#eee"
]
}
},
"splitArea": {
"show": false,
"areaStyle": {
"color": [
"rgba(250,250,250,0.3)",
"rgba(200,200,200,0.3)"
]
}
}
},
"toolbox": {
"iconStyle": {
"normal": {
"borderColor": "#2ec7c9"
},
"emphasis": {
"borderColor": "#18a4a6"
}
}
},
"legend": {
"textStyle": {
"color": "#333333"
}
},
"tooltip": {
"axisPointer": {
"lineStyle": {
"color": "#008acd",
"width": "1"
},
"crossStyle": {
"color": "#008acd",
"width": "1"
}
}
},
"timeline": {
"lineStyle": {
"color": "#008acd",
"width": 1
},
"itemStyle": {
"normal": {
"color": "#008acd",
"borderWidth": 1
},
"emphasis": {
"color": "#a9334c"
}
},
"controlStyle": {
"normal": {
"color": "#008acd",
"borderColor": "#008acd",
"borderWidth": 0.5
},
"emphasis": {
"color": "#008acd",
"borderColor": "#008acd",
"borderWidth": 0.5
}
},
"checkpointStyle": {
"color": "#2ec7c9",
"borderColor": "rgba(46,199,201,0.4)"
},
"label": {
"normal": {
"textStyle": {
"color": "#008acd"
}
},
"emphasis": {
"textStyle": {
"color": "#008acd"
}
}
}
},
"visualMap": {
"color": [
"#5ab1ef",
"#e0ffff"
]
},
"dataZoom": {
"backgroundColor": "rgba(47,69,84,0)",
"dataBackgroundColor": "rgba(239,239,255,1)",
"fillerColor": "rgba(182,162,222,0.2)",
"handleColor": "#008acd",
"handleSize": "100%",
"textStyle": {
"color": "#333333"
}
},
"markPoint": {
"label": {
"normal": {
"textStyle": {
"color": "#eeeeee"
}
},
"emphasis": {
"textStyle": {
"color": "#eeeeee"
}
}
}
}
});
}));
@@ -0,0 +1,511 @@
(function (root, factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define(['exports', 'echarts'], factory);
} else if (typeof exports === 'object' && typeof exports.nodeName !== 'string') {
// CommonJS
factory(exports, require('echarts'));
} else {
// Browser globals
factory({}, root.echarts);
}
}(this, function (exports, echarts) {
var log = function (msg) {
if (typeof console !== 'undefined') {
console && console.error && console.error(msg);
}
};
if (!echarts) {
log('ECharts is not Loaded');
return;
}
echarts.registerTheme('walden', {
"color": [
"#3fb1e3",
"#6be6c1",
"#626c91",
"#a0a7e6",
"#c4ebad",
"#96dee8"
],
"backgroundColor": "rgba(252,252,252,0)",
"textStyle": {},
"title": {
"textStyle": {
"color": "#666666"
},
"subtextStyle": {
"color": "#999999"
}
},
"line": {
"itemStyle": {
"normal": {
"borderWidth": "2"
}
},
"lineStyle": {
"normal": {
"width": "3"
}
},
"symbolSize": "8",
"symbol": "emptyCircle",
"smooth": false
},
"radar": {
"itemStyle": {
"normal": {
"borderWidth": "2"
}
},
"lineStyle": {
"normal": {
"width": "3"
}
},
"symbolSize": "8",
"symbol": "emptyCircle",
"smooth": false
},
"bar": {
"itemStyle": {
"normal": {
"barBorderWidth": 0,
"barBorderColor": "#ccc"
},
"emphasis": {
"barBorderWidth": 0,
"barBorderColor": "#ccc"
}
}
},
"pie": {
"itemStyle": {
"normal": {
"borderWidth": 0,
"borderColor": "#ccc"
},
"emphasis": {
"borderWidth": 0,
"borderColor": "#ccc"
}
}
},
"scatter": {
"itemStyle": {
"normal": {
"borderWidth": 0,
"borderColor": "#ccc"
},
"emphasis": {
"borderWidth": 0,
"borderColor": "#ccc"
}
}
},
"boxplot": {
"itemStyle": {
"normal": {
"borderWidth": 0,
"borderColor": "#ccc"
},
"emphasis": {
"borderWidth": 0,
"borderColor": "#ccc"
}
}
},
"parallel": {
"itemStyle": {
"normal": {
"borderWidth": 0,
"borderColor": "#ccc"
},
"emphasis": {
"borderWidth": 0,
"borderColor": "#ccc"
}
}
},
"sankey": {
"itemStyle": {
"normal": {
"borderWidth": 0,
"borderColor": "#ccc"
},
"emphasis": {
"borderWidth": 0,
"borderColor": "#ccc"
}
}
},
"funnel": {
"itemStyle": {
"normal": {
"borderWidth": 0,
"borderColor": "#ccc"
},
"emphasis": {
"borderWidth": 0,
"borderColor": "#ccc"
}
}
},
"gauge": {
"itemStyle": {
"normal": {
"borderWidth": 0,
"borderColor": "#ccc"
},
"emphasis": {
"borderWidth": 0,
"borderColor": "#ccc"
}
}
},
"candlestick": {
"itemStyle": {
"normal": {
"color": "#e6a0d2",
"color0": "transparent",
"borderColor": "#e6a0d2",
"borderColor0": "#3fb1e3",
"borderWidth": "2"
}
}
},
"graph": {
"itemStyle": {
"normal": {
"borderWidth": 0,
"borderColor": "#ccc"
}
},
"lineStyle": {
"normal": {
"width": "1",
"color": "#cccccc"
}
},
"symbolSize": "8",
"symbol": "emptyCircle",
"smooth": false,
"color": [
"#3fb1e3",
"#6be6c1",
"#626c91",
"#a0a7e6",
"#c4ebad",
"#96dee8"
],
"label": {
"normal": {
"textStyle": {
"color": "#ffffff"
}
}
}
},
"map": {
"itemStyle": {
"normal": {
"areaColor": "#eeeeee",
"borderColor": "#aaaaaa",
"borderWidth": 0.5
},
"emphasis": {
"areaColor": "rgba(63,177,227,0.25)",
"borderColor": "#3fb1e3",
"borderWidth": 1
}
},
"label": {
"normal": {
"textStyle": {
"color": "#ffffff"
}
},
"emphasis": {
"textStyle": {
"color": "rgb(63,177,227)"
}
}
}
},
"geo": {
"itemStyle": {
"normal": {
"areaColor": "#eeeeee",
"borderColor": "#aaaaaa",
"borderWidth": 0.5
},
"emphasis": {
"areaColor": "rgba(63,177,227,0.25)",
"borderColor": "#3fb1e3",
"borderWidth": 1
}
},
"label": {
"normal": {
"textStyle": {
"color": "#ffffff"
}
},
"emphasis": {
"textStyle": {
"color": "rgb(63,177,227)"
}
}
}
},
"categoryAxis": {
"axisLine": {
"show": true,
"lineStyle": {
"color": "#cccccc"
}
},
"axisTick": {
"show": false,
"lineStyle": {
"color": "#333"
}
},
"axisLabel": {
"show": true,
"textStyle": {
"color": "#999999"
}
},
"splitLine": {
"show": true,
"lineStyle": {
"color": [
"#eeeeee"
]
}
},
"splitArea": {
"show": false,
"areaStyle": {
"color": [
"rgba(250,250,250,0.05)",
"rgba(200,200,200,0.02)"
]
}
}
},
"valueAxis": {
"axisLine": {
"show": true,
"lineStyle": {
"color": "#cccccc"
}
},
"axisTick": {
"show": false,
"lineStyle": {
"color": "#333"
}
},
"axisLabel": {
"show": true,
"textStyle": {
"color": "#999999"
}
},
"splitLine": {
"show": true,
"lineStyle": {
"color": [
"#eeeeee"
]
}
},
"splitArea": {
"show": false,
"areaStyle": {
"color": [
"rgba(250,250,250,0.05)",
"rgba(200,200,200,0.02)"
]
}
}
},
"logAxis": {
"axisLine": {
"show": true,
"lineStyle": {
"color": "#cccccc"
}
},
"axisTick": {
"show": false,
"lineStyle": {
"color": "#333"
}
},
"axisLabel": {
"show": true,
"textStyle": {
"color": "#999999"
}
},
"splitLine": {
"show": true,
"lineStyle": {
"color": [
"#eeeeee"
]
}
},
"splitArea": {
"show": false,
"areaStyle": {
"color": [
"rgba(250,250,250,0.05)",
"rgba(200,200,200,0.02)"
]
}
}
},
"timeAxis": {
"axisLine": {
"show": true,
"lineStyle": {
"color": "#cccccc"
}
},
"axisTick": {
"show": false,
"lineStyle": {
"color": "#333"
}
},
"axisLabel": {
"show": true,
"textStyle": {
"color": "#999999"
}
},
"splitLine": {
"show": true,
"lineStyle": {
"color": [
"#eeeeee"
]
}
},
"splitArea": {
"show": false,
"areaStyle": {
"color": [
"rgba(250,250,250,0.05)",
"rgba(200,200,200,0.02)"
]
}
}
},
"toolbox": {
"iconStyle": {
"normal": {
"borderColor": "#999999"
},
"emphasis": {
"borderColor": "#666666"
}
}
},
"legend": {
"textStyle": {
"color": "#999999"
}
},
"tooltip": {
"axisPointer": {
"lineStyle": {
"color": "#cccccc",
"width": 1
},
"crossStyle": {
"color": "#cccccc",
"width": 1
}
}
},
"timeline": {
"lineStyle": {
"color": "#626c91",
"width": 1
},
"itemStyle": {
"normal": {
"color": "#626c91",
"borderWidth": 1
},
"emphasis": {
"color": "#626c91"
}
},
"controlStyle": {
"normal": {
"color": "#626c91",
"borderColor": "#626c91",
"borderWidth": 0.5
},
"emphasis": {
"color": "#626c91",
"borderColor": "#626c91",
"borderWidth": 0.5
}
},
"checkpointStyle": {
"color": "#3fb1e3",
"borderColor": "rgba(63,177,227,0.15)"
},
"label": {
"normal": {
"textStyle": {
"color": "#626c91"
}
},
"emphasis": {
"textStyle": {
"color": "#626c91"
}
}
}
},
"visualMap": {
"color": [
"#2a99c9",
"#afe8ff"
]
},
"dataZoom": {
"backgroundColor": "rgba(255,255,255,0)",
"dataBackgroundColor": "rgba(222,222,222,1)",
"fillerColor": "rgba(114,230,212,0.25)",
"handleColor": "#cccccc",
"handleSize": "100%",
"textStyle": {
"color": "#999999"
}
},
"markPoint": {
"label": {
"normal": {
"textStyle": {
"color": "#ffffff"
}
},
"emphasis": {
"textStyle": {
"color": "#ffffff"
}
}
}
}
});
}));
@@ -0,0 +1,512 @@
(function (root, factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define(['exports', 'echarts'], factory);
} else if (typeof exports === 'object' && typeof exports.nodeName !== 'string') {
// CommonJS
factory(exports, require('echarts'));
} else {
// Browser globals
factory({}, root.echarts);
}
}(this, function (exports, echarts) {
var log = function (msg) {
if (typeof console !== 'undefined') {
console && console.error && console.error(msg);
}
};
if (!echarts) {
log('ECharts is not Loaded');
return;
}
echarts.registerTheme('westeros', {
"color": [
"#516b91",
"#59c4e6",
"#edafda",
"#93b7e3",
"#a5e7f0",
"#cbb0e3"
],
"backgroundColor": "rgba(0,0,0,0)",
"textStyle": {},
"title": {
"textStyle": {
"color": "#516b91"
},
"subtextStyle": {
"color": "#93b7e3"
}
},
"line": {
"itemStyle": {
"normal": {
"borderWidth": "2"
}
},
"lineStyle": {
"normal": {
"width": "2"
}
},
"symbolSize": "6",
"symbol": "emptyCircle",
"smooth": true
},
"radar": {
"itemStyle": {
"normal": {
"borderWidth": "2"
}
},
"lineStyle": {
"normal": {
"width": "2"
}
},
"symbolSize": "6",
"symbol": "emptyCircle",
"smooth": true
},
"bar": {
"itemStyle": {
"normal": {
"barBorderWidth": 0,
"barBorderColor": "#ccc"
},
"emphasis": {
"barBorderWidth": 0,
"barBorderColor": "#ccc"
}
}
},
"pie": {
"itemStyle": {
"normal": {
"borderWidth": 0,
"borderColor": "#ccc"
},
"emphasis": {
"borderWidth": 0,
"borderColor": "#ccc"
}
}
},
"scatter": {
"itemStyle": {
"normal": {
"borderWidth": 0,
"borderColor": "#ccc"
},
"emphasis": {
"borderWidth": 0,
"borderColor": "#ccc"
}
}
},
"boxplot": {
"itemStyle": {
"normal": {
"borderWidth": 0,
"borderColor": "#ccc"
},
"emphasis": {
"borderWidth": 0,
"borderColor": "#ccc"
}
}
},
"parallel": {
"itemStyle": {
"normal": {
"borderWidth": 0,
"borderColor": "#ccc"
},
"emphasis": {
"borderWidth": 0,
"borderColor": "#ccc"
}
}
},
"sankey": {
"itemStyle": {
"normal": {
"borderWidth": 0,
"borderColor": "#ccc"
},
"emphasis": {
"borderWidth": 0,
"borderColor": "#ccc"
}
}
},
"funnel": {
"itemStyle": {
"normal": {
"borderWidth": 0,
"borderColor": "#ccc"
},
"emphasis": {
"borderWidth": 0,
"borderColor": "#ccc"
}
}
},
"gauge": {
"itemStyle": {
"normal": {
"borderWidth": 0,
"borderColor": "#ccc"
},
"emphasis": {
"borderWidth": 0,
"borderColor": "#ccc"
}
}
},
"candlestick": {
"itemStyle": {
"normal": {
"color": "#edafda",
"color0": "transparent",
"borderColor": "#d680bc",
"borderColor0": "#8fd3e8",
"borderWidth": "2"
}
}
},
"graph": {
"itemStyle": {
"normal": {
"borderWidth": 0,
"borderColor": "#ccc"
}
},
"lineStyle": {
"normal": {
"width": 1,
"color": "#aaaaaa"
}
},
"symbolSize": "6",
"symbol": "emptyCircle",
"smooth": true,
"color": [
"#516b91",
"#59c4e6",
"#edafda",
"#93b7e3",
"#a5e7f0",
"#cbb0e3"
],
"label": {
"normal": {
"textStyle": {
"color": "#eeeeee"
}
}
}
},
"map": {
"itemStyle": {
"normal": {
"areaColor": "#f3f3f3",
"borderColor": "#516b91",
"borderWidth": 0.5
},
"emphasis": {
"areaColor": "rgba(165,231,240,1)",
"borderColor": "#516b91",
"borderWidth": 1
}
},
"label": {
"normal": {
"textStyle": {
"color": "#000000"
}
},
"emphasis": {
"textStyle": {
"color": "rgb(81,107,145)"
}
}
}
},
"geo": {
"itemStyle": {
"normal": {
"areaColor": "#f3f3f3",
"borderColor": "#516b91",
"borderWidth": 0.5
},
"emphasis": {
"areaColor": "rgba(165,231,240,1)",
"borderColor": "#516b91",
"borderWidth": 1
}
},
"label": {
"normal": {
"textStyle": {
"color": "#000000"
}
},
"emphasis": {
"textStyle": {
"color": "rgb(81,107,145)"
}
}
}
},
"categoryAxis": {
"axisLine": {
"show": true,
"lineStyle": {
"color": "#cccccc"
}
},
"axisTick": {
"show": false,
"lineStyle": {
"color": "#333"
}
},
"axisLabel": {
"show": true,
"textStyle": {
"color": "#999999"
}
},
"splitLine": {
"show": true,
"lineStyle": {
"color": [
"#eeeeee"
]
}
},
"splitArea": {
"show": false,
"areaStyle": {
"color": [
"rgba(250,250,250,0.05)",
"rgba(200,200,200,0.02)"
]
}
}
},
"valueAxis": {
"axisLine": {
"show": true,
"lineStyle": {
"color": "#cccccc"
}
},
"axisTick": {
"show": false,
"lineStyle": {
"color": "#333"
}
},
"axisLabel": {
"show": true,
"textStyle": {
"color": "#999999"
}
},
"splitLine": {
"show": true,
"lineStyle": {
"color": [
"#eeeeee"
]
}
},
"splitArea": {
"show": false,
"areaStyle": {
"color": [
"rgba(250,250,250,0.05)",
"rgba(200,200,200,0.02)"
]
}
}
},
"logAxis": {
"axisLine": {
"show": true,
"lineStyle": {
"color": "#cccccc"
}
},
"axisTick": {
"show": false,
"lineStyle": {
"color": "#333"
}
},
"axisLabel": {
"show": true,
"textStyle": {
"color": "#999999"
}
},
"splitLine": {
"show": true,
"lineStyle": {
"color": [
"#eeeeee"
]
}
},
"splitArea": {
"show": false,
"areaStyle": {
"color": [
"rgba(250,250,250,0.05)",
"rgba(200,200,200,0.02)"
]
}
}
},
"timeAxis": {
"axisLine": {
"show": true,
"lineStyle": {
"color": "#cccccc"
}
},
"axisTick": {
"show": false,
"lineStyle": {
"color": "#333"
}
},
"axisLabel": {
"show": true,
"textStyle": {
"color": "#999999"
}
},
"splitLine": {
"show": true,
"lineStyle": {
"color": [
"#eeeeee"
]
}
},
"splitArea": {
"show": false,
"areaStyle": {
"color": [
"rgba(250,250,250,0.05)",
"rgba(200,200,200,0.02)"
]
}
}
},
"toolbox": {
"iconStyle": {
"normal": {
"borderColor": "#999999"
},
"emphasis": {
"borderColor": "#666666"
}
}
},
"legend": {
"textStyle": {
"color": "#999999"
}
},
"tooltip": {
"axisPointer": {
"lineStyle": {
"color": "#cccccc",
"width": 1
},
"crossStyle": {
"color": "#cccccc",
"width": 1
}
}
},
"timeline": {
"lineStyle": {
"color": "#8fd3e8",
"width": 1
},
"itemStyle": {
"normal": {
"color": "#8fd3e8",
"borderWidth": 1
},
"emphasis": {
"color": "#8fd3e8"
}
},
"controlStyle": {
"normal": {
"color": "#8fd3e8",
"borderColor": "#8fd3e8",
"borderWidth": 0.5
},
"emphasis": {
"color": "#8fd3e8",
"borderColor": "#8fd3e8",
"borderWidth": 0.5
}
},
"checkpointStyle": {
"color": "#8fd3e8",
"borderColor": "rgba(138,124,168,0.37)"
},
"label": {
"normal": {
"textStyle": {
"color": "#8fd3e8"
}
},
"emphasis": {
"textStyle": {
"color": "#8fd3e8"
}
}
}
},
"visualMap": {
"color": [
"#516b91",
"#59c4e6",
"#a5e7f0"
]
},
"dataZoom": {
"backgroundColor": "rgba(0,0,0,0)",
"dataBackgroundColor": "rgba(255,255,255,0.3)",
"fillerColor": "rgba(167,183,204,0.4)",
"handleColor": "#a7b7cc",
"handleSize": "100%",
"textStyle": {
"color": "#333333"
}
},
"markPoint": {
"label": {
"normal": {
"textStyle": {
"color": "#eeeeee"
}
},
"emphasis": {
"textStyle": {
"color": "#eeeeee"
}
}
}
}
});
}));
@@ -0,0 +1,139 @@
(function (global, factory) {
if (typeof define === "function" && define.amd) {
define('element/locale/en_US', ['module', 'exports'], factory);
} else if (typeof exports !== "undefined") {
factory(module, exports);
} else {
var mod = {
exports: {}
};
factory(mod, mod.exports);
global.ELEMENT.lang = global.ELEMENT.lang || {};
global.ELEMENT.lang.en_US = mod.exports;
}
})(this, function (module, exports) {
'use strict';
exports.__esModule = true;
exports.default = {
el: {
colorpicker: {
confirm: 'OK',
clear: 'Clear'
},
datepicker: {
now: 'Now',
today: 'Today',
cancel: 'Cancel',
clear: 'Clear',
confirm: 'OK',
selectDate: 'Select date',
selectTime: 'Select time',
startDate: 'Start Date',
startTime: 'Start Time',
endDate: 'End Date',
endTime: 'End Time',
prevYear: 'Previous Year',
nextYear: 'Next Year',
prevMonth: 'Previous Month',
nextMonth: 'Next Month',
year: '',
month1: 'January',
month2: 'February',
month3: 'March',
month4: 'April',
month5: 'May',
month6: 'June',
month7: 'July',
month8: 'August',
month9: 'September',
month10: 'October',
month11: 'November',
month12: 'December',
week: 'week',
weeks: {
sun: 'Sun',
mon: 'Mon',
tue: 'Tue',
wed: 'Wed',
thu: 'Thu',
fri: 'Fri',
sat: 'Sat'
},
months: {
jan: 'Jan',
feb: 'Feb',
mar: 'Mar',
apr: 'Apr',
may: 'May',
jun: 'Jun',
jul: 'Jul',
aug: 'Aug',
sep: 'Sep',
oct: 'Oct',
nov: 'Nov',
dec: 'Dec'
}
},
select: {
loading: 'Loading',
noMatch: 'No matching data',
noData: 'No data',
placeholder: 'Select'
},
cascader: {
noMatch: 'No matching data',
loading: 'Loading',
placeholder: 'Select',
noData: 'No data'
},
pagination: {
goto: 'Go to',
pagesize: '/page',
total: 'Total {total}',
pageClassifier: ''
},
messagebox: {
title: 'Message',
confirm: 'OK',
cancel: 'Cancel',
error: 'Illegal input'
},
upload: {
deleteTip: 'press delete to remove',
delete: 'Delete',
preview: 'Preview',
continue: 'Continue'
},
table: {
emptyText: 'No Data',
confirmFilter: 'Confirm',
resetFilter: 'Reset',
clearFilter: 'All',
sumText: 'Sum'
},
tree: {
emptyText: 'No Data'
},
transfer: {
noMatch: 'No matching data',
noData: 'No data',
titles: ['List 1', 'List 2'], // to be translated
filterPlaceholder: 'Enter keyword', // to be translated
noCheckedFormat: '{total} items', // to be translated
hasCheckedFormat: '{checked}/{total} checked' // to be translated
},
image: {
error: 'FAILED'
},
pageHeader: {
title: 'Back' // to be translated
},
popconfirm: {
confirmButtonText: 'Yes',
cancelButtonText: 'No'
}
}
};
module.exports = exports['default'];
});
@@ -0,0 +1 @@
!function(e,t){"function"==typeof define&&define.amd?define("element/locale/zh-CN",["module","exports"],t):"undefined"!=typeof exports?t(module,exports):(t(t={exports:{}},t.exports),e.ELEMENT.lang=e.ELEMENT.lang||{},e.ELEMENT.lang.zhCN=t.exports)}(this,function(e,t){"use strict";t.__esModule=!0,t.default={el:{colorpicker:{confirm:"确定",clear:"清空"},datepicker:{now:"此刻",today:"今天",cancel:"取消",clear:"清空",confirm:"确定",selectDate:"选择日期",selectTime:"选择时间",startDate:"开始日期",startTime:"开始时间",endDate:"结束日期",endTime:"结束时间",prevYear:"前一年",nextYear:"后一年",prevMonth:"上个月",nextMonth:"下个月",year:"年",month1:"1 月",month2:"2 月",month3:"3 月",month4:"4 月",month5:"5 月",month6:"6 月",month7:"7 月",month8:"8 月",month9:"9 月",month10:"10 月",month11:"11 月",month12:"12 月",weeks:{sun:"日",mon:"一",tue:"二",wed:"三",thu:"四",fri:"五",sat:"六"},months:{jan:"一月",feb:"二月",mar:"三月",apr:"四月",may:"五月",jun:"六月",jul:"七月",aug:"八月",sep:"九月",oct:"十月",nov:"十一月",dec:"十二月"}},select:{loading:"加载中",noMatch:"无匹配数据",noData:"无数据",placeholder:"请选择"},cascader:{noMatch:"无匹配数据",loading:"加载中",placeholder:"请选择",noData:"暂无数据"},pagination:{goto:"前往",pagesize:"条/页",total:"共 {total} 条",pageClassifier:"页"},messagebox:{title:"提示",confirm:"确定",cancel:"取消",error:"输入的数据不合法!"},upload:{deleteTip:"按 delete 键可删除",delete:"删除",preview:"查看图片",continue:"继续上传"},table:{emptyText:"暂无数据",confirmFilter:"筛选",resetFilter:"重置",clearFilter:"全部",sumText:"合计"},tree:{emptyText:"暂无数据"},transfer:{noMatch:"无匹配数据",noData:"无数据",titles:["列表 1","列表 2"],filterPlaceholder:"请输入搜索内容",noCheckedFormat:"共 {total} 项",hasCheckedFormat:"已选 {checked}/{total} 项"},image:{error:"加载失败"},pageHeader:{title:"返回"},popconfirm:{confirmButtonText:"确定",cancelButtonText:"取消"},empty:{description:"暂无数据"}}},e.exports=t.default});
File diff suppressed because it is too large Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long

Some files were not shown because too many files have changed in this diff Show More