CN-1612 feat: 1、部分css重构内容:report报告;2、修复新增report,time limit选择custom时,开始时间报错的问题。
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
|
$border-color-light: var(--el-border-color-light);
|
||||||
|
$color-primary: var(--el-color-business);
|
||||||
|
$border-radius-small: 2px;
|
||||||
|
|
||||||
.common-right-box {
|
.common-right-box {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
|
||||||
@@ -25,16 +29,17 @@
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
height: 60px;
|
height: 60px;
|
||||||
padding: 0 20px;
|
padding: 0 20px;
|
||||||
border-bottom: 1px solid $--right-box-border-color;
|
border-bottom: 1px solid $border-color-light;
|
||||||
|
|
||||||
.header__title {
|
.header__title {
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
color: #333;
|
color: var(--el-text-color-primary);
|
||||||
}
|
}
|
||||||
|
|
||||||
.header__operation {
|
.header__operation {
|
||||||
i {
|
i {
|
||||||
color: #999;
|
color: var(--el-color-info);
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -49,6 +54,7 @@
|
|||||||
.el-textarea__inner {
|
.el-textarea__inner {
|
||||||
padding: 5px 70px 4px 15px;
|
padding: 5px 70px 4px 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.container__form-width.container__form {
|
.container__form-width.container__form {
|
||||||
.input-box {
|
.input-box {
|
||||||
.el-textarea {
|
.el-textarea {
|
||||||
@@ -57,6 +63,7 @@
|
|||||||
height: 32px;
|
height: 32px;
|
||||||
padding: 5px 70px 4px 10px;
|
padding: 5px 70px 4px 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-input__count {
|
.el-input__count {
|
||||||
right: -40px;
|
right: -40px;
|
||||||
line-height: 29px;
|
line-height: 29px;
|
||||||
@@ -65,9 +72,11 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.container__form {
|
.container__form {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-form-item__content {
|
.el-form-item__content {
|
||||||
.input-box {
|
.input-box {
|
||||||
.el-textarea {
|
.el-textarea {
|
||||||
@@ -76,6 +85,7 @@
|
|||||||
height: 32px;
|
height: 32px;
|
||||||
padding: 5px 70px 4px 10px;
|
padding: 5px 70px 4px 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-input__count {
|
.el-input__count {
|
||||||
right: -40px;
|
right: -40px;
|
||||||
line-height: 29px;
|
line-height: 29px;
|
||||||
@@ -84,6 +94,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.form-row-item {
|
.form-row-item {
|
||||||
.input-box {
|
.input-box {
|
||||||
.el-textarea {
|
.el-textarea {
|
||||||
@@ -92,59 +103,70 @@
|
|||||||
height: 32px;
|
height: 32px;
|
||||||
padding: 5px 70px 4px 10px;
|
padding: 5px 70px 4px 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-input__count {
|
.el-input__count {
|
||||||
right: 0;
|
right: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-form-item {
|
.el-form-item {
|
||||||
.el-input__count {
|
.el-input__count {
|
||||||
line-height: 29px;
|
line-height: 29px;
|
||||||
height: 25px;
|
height: 25px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-form-item {
|
.el-form-item {
|
||||||
.el-input--small.not-fixed-height {
|
.el-input--small.not-fixed-height {
|
||||||
height: 32px;
|
height: 32px;
|
||||||
|
|
||||||
.el-input__count {
|
.el-input__count {
|
||||||
line-height: 29px;
|
line-height: 29px;
|
||||||
height: 25px;
|
height: 25px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-input__inner, .el-textarea__inner {
|
.el-input__inner, .el-textarea__inner {
|
||||||
padding: 0 10px;
|
padding: 0 10px;
|
||||||
border-radius: $--border-radius-primary;
|
border-radius: $border-radius-small;
|
||||||
border: 1px solid $--right-box-border-color;
|
border: 1px solid $border-color-light;
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-textarea__inner {
|
.el-textarea__inner {
|
||||||
padding: 5px 70px 4px 15px;
|
padding: 5px 70px 4px 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-form {
|
.el-form {
|
||||||
padding-top: 20px;
|
padding-top: 20px;
|
||||||
|
|
||||||
.el-form-item {
|
.el-form-item {
|
||||||
margin-bottom: 16px;
|
margin-bottom: 16px;
|
||||||
|
|
||||||
.el-form-item__label {
|
.el-form-item__label {
|
||||||
padding-bottom: 6px;
|
padding-bottom: 6px;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
line-height: 16px;
|
line-height: 16px;
|
||||||
color: #666;
|
color: var(--el-text-color-regular);
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-input__inner:hover {
|
.el-input__inner:hover {
|
||||||
border-color: darken($--right-box-border-color, 10%);
|
border-color: darken(#e4e7ed, 10%); // 使用$border-color-light会提示识别不到颜色
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-input__inner:focus {
|
.el-input__inner:focus {
|
||||||
border-color: darken($--right-box-border-color, 20%);
|
border-color: darken(#e4e7ed, 20%);
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-form-item__label {
|
.el-form-item__label {
|
||||||
padding-bottom: 2px;
|
padding-bottom: 2px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-form-item.is-error .el-input__inner, .el-form-item.is-error .el-input__inner:focus, .el-form-item.is-error .el-textarea__inner, .el-form-item.is-error .el-textarea__inner:focus, .el-message-box__input input.invalid, .el-message-box__input input.invalid:focus {
|
.el-form-item.is-error .el-input__inner, .el-form-item.is-error .el-input__inner:focus, .el-form-item.is-error .el-textarea__inner, .el-form-item.is-error .el-textarea__inner:focus, .el-message-box__input input.invalid, .el-message-box__input input.invalid:focus {
|
||||||
border-color: #F56C6C
|
border-color: var(--el-color-danger);
|
||||||
}
|
}
|
||||||
|
|
||||||
.form__sub-title {
|
.form__sub-title {
|
||||||
@@ -155,15 +177,16 @@
|
|||||||
line-height: 32px;
|
line-height: 32px;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
color: #555;
|
color: var(--el-text-color-regular);
|
||||||
background-color: #F6F6F6;
|
background-color: var(--el-fill-color-light);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 虚线框类型的form-item */
|
/* 虚线框类型的form-item */
|
||||||
.form__dotted-item {
|
.form__dotted-item {
|
||||||
padding: 10px 10px 6px 10px;
|
padding: 10px 10px 6px 10px;
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
border: 1px dashed $--border-color-primary;
|
border: 1px dashed var(--el-color-info-light-7);
|
||||||
border-radius: $--border-radius-primary;
|
border-radius: $border-radius-small;
|
||||||
|
|
||||||
.el-form-item {
|
.el-form-item {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
@@ -171,41 +194,47 @@
|
|||||||
.el-form-item__label {
|
.el-form-item__label {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.form__labels-label {
|
.form__labels-label {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.form__create-btn {
|
|
||||||
|
/*.form__create-btn {
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
width: 300px;
|
width: 300px;
|
||||||
height: 28px;
|
height: 28px;
|
||||||
border: 1px solid lighten($--color-primary, 60%);
|
border: 1px solid lighten($color-primary, 60%);
|
||||||
border-radius: $--border-radius-primary;
|
border-radius: $border-radius-small;
|
||||||
background-color: lighten($--color-primary, 95%);
|
background-color: lighten($color-primary, 95%);
|
||||||
|
|
||||||
i {
|
i {
|
||||||
color: $--color-primary;
|
color: $color-primary;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
}*/
|
||||||
.form__flex-container {
|
.form__flex-container {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.one-third-form-item-left {
|
.one-third-form-item-left {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: calc(50% - 5px);
|
width: calc(50% - 5px);
|
||||||
}
|
}
|
||||||
|
|
||||||
.one-third-form-item-right {
|
.one-third-form-item-right {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: calc(50% - 5px);
|
width: calc(50% - 5px);
|
||||||
}
|
}
|
||||||
|
|
||||||
.form-item--half-width-other-two {
|
.form-item--half-width-other-two {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: calc(50% - 10px);
|
width: calc(50% - 10px);
|
||||||
}
|
}
|
||||||
|
|
||||||
.form-item--half-width-other {
|
.form-item--half-width-other {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: calc(50% - 10px);
|
width: calc(50% - 10px);
|
||||||
@@ -225,33 +254,39 @@
|
|||||||
height: 30px;
|
height: 30px;
|
||||||
min-width: 74px;
|
min-width: 74px;
|
||||||
padding: 0 15px;
|
padding: 0 15px;
|
||||||
color: white;
|
color: var(--el-color-white);
|
||||||
background-color: $--color-primary;
|
//background-color: $--color-primary;
|
||||||
|
background-color: var(--el-color-business);
|
||||||
border: none;
|
border: none;
|
||||||
border-radius: 4px;
|
border-radius: var(--el-border-radius-base);
|
||||||
outline: none;
|
outline: none;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
transition: background-color linear .2s, color linear .1s;
|
transition: background-color linear var(--el-transition-duration-fast), color linear .1s;
|
||||||
}
|
}
|
||||||
|
|
||||||
.footer__btn:hover:not(.footer__btn--disabled) {
|
.footer__btn:hover:not(.footer__btn--disabled) {
|
||||||
background-color: lighten($--color-primary, 10%);
|
background-color: lighten(#38ACD2, 10%);
|
||||||
}
|
}
|
||||||
|
|
||||||
.footer__btn--light {
|
.footer__btn--light {
|
||||||
background-color: white;
|
background-color: var(--el-fill-color-blank);
|
||||||
border: 1px solid $--border-color-primary;
|
border: 1px solid var(--el-color-info-light-7);
|
||||||
color: #333;
|
color: var(--el-text-color-primary);
|
||||||
}
|
}
|
||||||
|
|
||||||
.footer__btn.footer__btn--light:hover:not(.footer__btn--disabled) {
|
.footer__btn.footer__btn--light:hover:not(.footer__btn--disabled) {
|
||||||
background-color: white;
|
background-color: var(--el-fill-color-blank);
|
||||||
border-color: lighten($--color-primary, 40%);
|
border-color: lighten(#38ACD2, 40%);
|
||||||
color: $--color-primary;
|
color: $color-primary;
|
||||||
}
|
}
|
||||||
|
|
||||||
.footer__btn--disabled {
|
.footer__btn--disabled {
|
||||||
opacity: .6;
|
opacity: .6;
|
||||||
cursor: default;
|
cursor: default;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 隐藏label新增按钮处级联选择器的input */
|
/* 隐藏label新增按钮处级联选择器的input */
|
||||||
.hide-casc-input {
|
.hide-casc-input {
|
||||||
position: relative;
|
position: relative;
|
||||||
@@ -263,16 +298,20 @@
|
|||||||
opacity: 0;
|
opacity: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.label__multi-text {
|
.label__multi-text {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
}
|
}
|
||||||
|
|
||||||
.right-box__select {
|
.right-box__select {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-select-last.right-box-select-dropdown {
|
.el-select-last.right-box-select-dropdown {
|
||||||
left: 1698px;
|
left: 1698px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.limit-height .el-cascader-menu {
|
.limit-height .el-cascader-menu {
|
||||||
max-height: 200px;
|
max-height: 200px;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
@@ -291,6 +330,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.cn-icon-minus-position {
|
.cn-icon-minus-position {
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
@@ -301,30 +341,37 @@
|
|||||||
transform: translateY(-50%);
|
transform: translateY(-50%);
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
}
|
}
|
||||||
|
|
||||||
.form-item--end-with-btn { // 末尾留出btn宽度空间的form item
|
.form-item--end-with-btn { // 末尾留出btn宽度空间的form item
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-form-item__content .el-autocomplete .el-input-group {
|
.el-form-item__content .el-autocomplete .el-input-group {
|
||||||
vertical-align: unset;
|
vertical-align: unset;
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-input__wrapper {
|
.el-input__wrapper {
|
||||||
border-radius: 2px;
|
border-radius: $border-radius-small;
|
||||||
height: 32px !important;
|
height: 32px !important;
|
||||||
line-height: 32px !important;
|
line-height: 32px !important;
|
||||||
//box-shadow: 0 0 0 1px var(--el-input-border-color,var(--el-border-color)) inset;
|
//box-shadow: 0 0 0 1px var(--el-input-border-color,var(--el-border-color)) inset;
|
||||||
box-shadow: 0 0 0 1px #e7eaed inset;
|
box-shadow: 0 0 0 1px var(--el-border-color-light) inset;
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-input__inner, .el-textarea__inner {
|
.el-input__inner, .el-textarea__inner {
|
||||||
border: none !important;
|
border: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-select__wrapper {
|
.el-select__wrapper {
|
||||||
height: 32px;
|
height: 32px;
|
||||||
line-height: 32px;
|
line-height: 32px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-switch {
|
.el-switch {
|
||||||
--el-switch-on-color: #699DC9;
|
--el-switch-on-color: #699DC9;
|
||||||
--el-switch-off-color: #C0CEDB;
|
--el-switch-off-color: #C0CEDB;
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-textarea__inner {
|
.el-textarea__inner {
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
$color-light: var(--el-border-color-light);
|
||||||
|
$color-primary1: #1890FF;
|
||||||
|
|
||||||
.right-box.right-box-report {
|
.right-box.right-box-report {
|
||||||
.right-box__container {
|
.right-box__container {
|
||||||
.container__form {
|
.container__form {
|
||||||
@@ -6,114 +9,141 @@
|
|||||||
line-height: 28px;
|
line-height: 28px;
|
||||||
margin-top: -2px;
|
margin-top: -2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-checkbox-group {
|
.el-checkbox-group {
|
||||||
line-height: 28px;
|
line-height: 28px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-height.el-form-item {
|
.el-height.el-form-item {
|
||||||
margin-bottom: 18px;
|
margin-bottom: 18px;
|
||||||
|
|
||||||
.el-form-item__content {
|
.el-form-item__content {
|
||||||
height: 20px;
|
height: 20px;
|
||||||
line-height: 20px;
|
line-height: 20px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.enable-tab {
|
.enable-tab {
|
||||||
display: flex;
|
display: flex;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
.enable-tabs {
|
.enable-tabs {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
height: 32px;
|
height: 32px;
|
||||||
width: 160px;
|
width: 160px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
border: 1px solid #E7EAED;
|
border: 1px solid $color-light;
|
||||||
border-right: none;
|
border-right: none;
|
||||||
line-height: 32px;
|
line-height: 32px;
|
||||||
color: #333;
|
color: var(--el-text-color-primary);
|
||||||
}
|
}
|
||||||
|
|
||||||
.enable-tabs:nth-of-type(4) {
|
.enable-tabs:nth-of-type(4) {
|
||||||
border-right: 1px solid #E7EAED;
|
border-right: 1px solid $color-light;
|
||||||
}
|
}
|
||||||
|
|
||||||
.enable-tabs.active {
|
.enable-tabs.active {
|
||||||
border: 1px solid #1890FF;
|
border: 1px solid $color-primary1;
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
color: #1890FF;
|
color: $color-primary1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.enable-tabs.disable {
|
.enable-tabs.disable {
|
||||||
cursor: not-allowed;
|
cursor: not-allowed;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.enable-tabs-per-month {
|
.enable-tabs-per-month {
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
|
|
||||||
.enable-month-tab {
|
.enable-month-tab {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
||||||
.enable-month-tabs {
|
.enable-month-tabs {
|
||||||
height: 32px;
|
height: 32px;
|
||||||
width: 290px;
|
width: 290px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
border: 1px solid #E7EAED;
|
border: 1px solid $color-light;
|
||||||
border-right: none;
|
border-right: none;
|
||||||
line-height: 32px;
|
line-height: 32px;
|
||||||
color: #333;
|
color: var(--el-text-color-primary);
|
||||||
}
|
}
|
||||||
|
|
||||||
.enable-month-tabs:nth-of-type(2) {
|
.enable-month-tabs:nth-of-type(2) {
|
||||||
border-right: 1px solid #E7EAED;
|
border-right: 1px solid $color-light;
|
||||||
}
|
}
|
||||||
|
|
||||||
.enable-month-tabs.active {
|
.enable-month-tabs.active {
|
||||||
border: 1px solid #1890FF;
|
border: 1px solid $color-primary1;
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
color: #1890FF;
|
color: $color-primary1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.enable-month-tabs.disable {
|
.enable-month-tabs.disable {
|
||||||
cursor: not-allowed;
|
cursor: not-allowed;
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-checkbox {
|
.el-checkbox {
|
||||||
padding-left: 10px;
|
padding-left: 10px;
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.enable-month-data-tab {
|
.enable-month-data-tab {
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
|
|
||||||
.enable-month-value {
|
.enable-month-value {
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
color: #666666;
|
color: var(--el-text-color-regular);
|
||||||
height: 16px;
|
height: 16px;
|
||||||
line-height: 16px;
|
line-height: 16px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.enable-month-moon-custom, .enable-tabs-custom {
|
.enable-month-moon-custom, .enable-tabs-custom {
|
||||||
height: 32px;
|
height: 32px;
|
||||||
line-height: 40px;
|
line-height: 40px;
|
||||||
color: #666;
|
color: var(--el-text-color-regular);
|
||||||
}
|
}
|
||||||
|
|
||||||
.enable-month-all, .enable-month-data-tabs {
|
.enable-month-all, .enable-month-data-tabs {
|
||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
|
|
||||||
.enable-month-week {
|
.enable-month-week {
|
||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-input-single {
|
.el-input-single {
|
||||||
width: 140px;
|
width: 140px;
|
||||||
height: 32px;
|
height: 32px;
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
|
|
||||||
.el-input__inner {
|
.el-input__inner {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-input-group__prepend, .el-input-group__append {
|
.el-input-group__prepend, .el-input-group__append {
|
||||||
padding: 0 10px;
|
padding: 0 10px;
|
||||||
|
|
||||||
i {
|
i {
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.right-box__select-single {
|
.right-box__select-single {
|
||||||
height: 32px;
|
height: 32px;
|
||||||
margin: 10px 0 0 10px;
|
margin: 10px 0 0 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-input__wrapper {
|
.el-input__wrapper {
|
||||||
height: 32px !important;
|
height: 32px !important;
|
||||||
padding: 1px 11px !important;
|
padding: 1px 11px !important;
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-input__inner {
|
.el-input__inner {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
@@ -121,10 +151,37 @@
|
|||||||
.el-form-item__content {
|
.el-form-item__content {
|
||||||
line-height: 40px !important;
|
line-height: 40px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.report__display {
|
||||||
|
width: 100%;
|
||||||
|
display: flex;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.demo-datetime-picker {
|
||||||
|
width: 100%;
|
||||||
|
|
||||||
|
.block {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.el-date-editor.el-input, .el-date-editor.el-input__wrapper {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.report__margin-t {
|
||||||
|
margin-top: 0.3125rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.report__params-vertical {
|
||||||
|
vertical-align: unset;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.el-input__inner {
|
.el-input__inner {
|
||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-select--small .el-select__wrapper {
|
.el-select--small .el-select__wrapper {
|
||||||
padding: 0 10px;
|
padding: 0 10px;
|
||||||
min-height: 32px !important;
|
min-height: 32px !important;
|
||||||
@@ -133,28 +190,23 @@
|
|||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.right-box__select--param {
|
.right-box__select--param {
|
||||||
//.el-select--small .el-select__prefix {
|
|
||||||
// left: 0;
|
|
||||||
// background-color: #f5f7fa;
|
|
||||||
// color: #999;
|
|
||||||
// padding: 0 1.07143rem;
|
|
||||||
// border: 1px solid #dcdfe6;
|
|
||||||
// border-radius: 2px 0 0 2px;
|
|
||||||
//}
|
|
||||||
.el-select__prefix, .el-input__prefix {
|
.el-select__prefix, .el-input__prefix {
|
||||||
left: 0;
|
left: 0;
|
||||||
background-color: #f5f7fa;
|
background-color: var(--el-border-color-extra-light);
|
||||||
color: #999;
|
color: var(--el-color-info);
|
||||||
padding: 0 15px;
|
padding: 0 15px;
|
||||||
border: 1px solid #dcdfe6;
|
border: 1px solid var(--el-border-color);
|
||||||
border-radius: 2px 0 0 2px;
|
border-radius: 2px 0 0 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-select__wrapper {
|
.el-select__wrapper {
|
||||||
padding-left: 0 !important;
|
padding-left: 0 !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.my-form-item .el-form-item__content {
|
.my-form-item .el-form-item__content {
|
||||||
display: block !important;
|
display: block !important;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -238,6 +238,7 @@
|
|||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
padding: 0 30px;
|
padding: 0 30px;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
|
//color: #2C72C6;
|
||||||
color: var(--el-color-business);
|
color: var(--el-color-business);
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|||||||
@@ -1,39 +1,51 @@
|
|||||||
|
$fill-color-blank: var(--el-fill-color-blank);
|
||||||
|
$color-regular: var(--el-text-color-regular);
|
||||||
|
$bg-color-dark: var(--el-border-color-dark);
|
||||||
|
|
||||||
.cn-report {
|
.cn-report {
|
||||||
background: #fff;
|
background: $fill-color-blank;
|
||||||
margin: 10px;
|
margin: 10px;
|
||||||
height: calc(100% - 20px) !important;
|
height: calc(100% - 20px) !important;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
|
|
||||||
.cn-report-left {
|
.cn-report-left {
|
||||||
width: 288px;
|
width: 288px;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
border-right: 1px solid #E7EAED;
|
border-right: 1px solid var(--el-border-color-light);
|
||||||
position: relative;
|
position: relative;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
|
|
||||||
.cn-report-left-title {
|
.cn-report-left-title {
|
||||||
padding: 28px 0 26px 13px;
|
padding: 28px 0 26px 13px;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
color: #333333;
|
color: var(--el-text-color-primary);
|
||||||
letter-spacing: 0;
|
letter-spacing: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.cn-report-left-menu {
|
.cn-report-left-menu {
|
||||||
width: 250px;
|
width: 250px;
|
||||||
word-break: normal;
|
word-break: normal;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
color: #333333;
|
color: var(--el-text-color-primary);
|
||||||
letter-spacing: 0;
|
letter-spacing: 0;
|
||||||
padding: 14px;
|
padding: 14px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
.cn-report-left-menu.cn-active {
|
.cn-report-left-menu.cn-active {
|
||||||
background: #F4FAFF;
|
//background: #F4FAFF;
|
||||||
|
background: var(--el-color-primary-light-9);
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
color: #0091FF;
|
//color: #0091FF;
|
||||||
|
color: var(--el-color-business);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.cn-report-right {
|
.cn-report-right {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
|
|
||||||
.list-page .main-container {
|
.list-page .main-container {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
|
||||||
@@ -43,159 +55,194 @@
|
|||||||
.el-table--fit.el-table--border {
|
.el-table--fit.el-table--border {
|
||||||
height: calc(100% - 55px) !important;
|
height: calc(100% - 55px) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-table__header th:first-of-type {
|
.el-table__header th:first-of-type {
|
||||||
border-right: none;
|
border-right: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.has-gutter .el-table-column--selection .el-checkbox {
|
.has-gutter .el-table-column--selection .el-checkbox {
|
||||||
border-left: none;
|
border-left: none;
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-scrollbar__bar.is-vertical {
|
.el-scrollbar__bar.is-vertical {
|
||||||
z-index: 1000;
|
z-index: 1000;
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-table__row .el-table-column--selection .cell {
|
.el-table__row .el-table-column--selection .cell {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-table__row.expanded {
|
.el-table__row.expanded {
|
||||||
td {
|
td {
|
||||||
border-bottom: none;
|
border-bottom: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-table__body-wrapper {
|
.el-table__body-wrapper {
|
||||||
.el-table__expanded-cell {
|
.el-table__expanded-cell {
|
||||||
z-index: 100;
|
z-index: 100;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-table__fixed,
|
.el-table__fixed,
|
||||||
.el-table__fixed-right {
|
.el-table__fixed-right {
|
||||||
.el-table__expanded-cell {
|
.el-table__expanded-cell {
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-table__expanded-cell {
|
.el-table__expanded-cell {
|
||||||
.down {
|
.down {
|
||||||
margin-left: 32px;
|
margin-left: 32px;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
width: calc(100% - 32px);
|
width: calc(100% - 32px);
|
||||||
background: #fff; //盖住fixed产生的阴影
|
background: $fill-color-blank; //盖住fixed产生的阴影
|
||||||
:deep .is-leaf {
|
:deep .is-leaf {
|
||||||
color: #1b2e3b;
|
color: var(--el-text-color-primary);
|
||||||
background: var(--el-border-color-lighter);
|
background: var(--el-border-color-lighter);
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-range-editor--small.el-input__wrapper {
|
.el-range-editor--small.el-input__wrapper {
|
||||||
height: 32px;
|
height: 32px;
|
||||||
line-height: 32px;
|
line-height: 32px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.cn-detection__footer {
|
.cn-detection__footer {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
|
||||||
.el-pagination__jump {
|
.el-pagination__jump {
|
||||||
margin-left: 3px;
|
margin-left: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-pagination__goto {
|
.el-pagination__goto {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-input--small {
|
.el-input--small {
|
||||||
width: 46px !important;
|
width: 46px !important;
|
||||||
|
|
||||||
.el-input__wrapper {
|
.el-input__wrapper {
|
||||||
height: 22px;
|
height: 22px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-pagination--small {
|
.el-pagination--small {
|
||||||
.btn-prev {
|
.btn-prev {
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-next {
|
.btn-next {
|
||||||
margin-left: 10px;
|
margin-left: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
&span {
|
&span {
|
||||||
color: $--color-text-primary;
|
color: var(--el-text-color-primary);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.block.drop-down-time {
|
.block.drop-down-time {
|
||||||
margin: 15px 0 14px 0;
|
margin: 15px 0 14px 0;
|
||||||
|
|
||||||
.el-date-editor {
|
.el-date-editor {
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
|
||||||
.el-range-separator {
|
.el-range-separator {
|
||||||
width: 24px;
|
width: 24px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-input__icon.el-range__close-icon {
|
.el-input__icon.el-range__close-icon {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.expand {
|
.expand {
|
||||||
min-height: 95px;
|
min-height: 95px;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
.panel-chart__no-data {
|
.panel-chart__no-data {
|
||||||
line-height: 95px;
|
line-height: 95px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.expand-cell {
|
.expand-cell {
|
||||||
display: flex;
|
display: flex;
|
||||||
background: #FFFFFF;
|
background: $fill-color-blank;
|
||||||
border: 1px solid #E7EAED;
|
border: 1px solid var(--el-border-color-light);
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
margin: 0 12px 16px 0;
|
margin: 0 12px 16px 0;
|
||||||
width: 300px;
|
width: 300px;
|
||||||
height: 97px;
|
height: 97px;
|
||||||
|
|
||||||
.expand-right {
|
.expand-right {
|
||||||
background: #F9F9F9;
|
background: var(--el-fill-color-lighter);
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
width: 97px;
|
width: 97px;
|
||||||
height: 94px;
|
height: 94px;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
.demo-progress {
|
.demo-progress {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 21px;
|
top: 21px;
|
||||||
left: 18.5px;
|
left: 18.5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.demo-progress, .demo-progress .el-progress-circle {
|
.demo-progress, .demo-progress .el-progress-circle {
|
||||||
width: 57px !important;
|
width: 57px !important;
|
||||||
height: 57px !important;
|
height: 57px !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.expand-left {
|
.expand-left {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
width: calc(100% - 97px);
|
width: calc(100% - 97px);
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
|
||||||
.expand-name {
|
.expand-name {
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
color: #666666;
|
color: $color-regular;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
margin-bottom: 4px;
|
margin-bottom: 4px;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
|
||||||
i {
|
i {
|
||||||
padding: 2px 3px 0 0;
|
padding: 2px 3px 0 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.expand-time {
|
.expand-time {
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
color: #666666;
|
color: $color-regular;
|
||||||
margin-bottom: 4px;
|
margin-bottom: 4px;
|
||||||
|
|
||||||
div:nth-of-type(1) {
|
div:nth-of-type(1) {
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
color: #999999;
|
color: var(--el-color-info);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.expand-icon {
|
.expand-icon {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-evenly;
|
justify-content: space-evenly;
|
||||||
margin: 0 8px;
|
margin: 0 8px;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
|
|
||||||
.table-operation-item--no-border {
|
.table-operation-item--no-border {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
position: relative;
|
position: relative;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.table-operation-item--disabled {
|
.table-operation-item--disabled {
|
||||||
cursor: not-allowed;
|
cursor: not-allowed;
|
||||||
filter: grayscale(1);
|
filter: grayscale(1);
|
||||||
@@ -208,7 +255,8 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.table-operation-all {
|
|
||||||
|
/*.table-operation-all {
|
||||||
width: 300px;
|
width: 300px;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 17px;
|
bottom: 17px;
|
||||||
@@ -217,57 +265,68 @@
|
|||||||
line-height: 24px;
|
line-height: 24px;
|
||||||
height: 24px;
|
height: 24px;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
||||||
.el-checkbox {
|
.el-checkbox {
|
||||||
width: 14px;
|
width: 14px;
|
||||||
height: 14px;
|
height: 14px;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
|
||||||
.el-checkbox__input, .el-checkbox__inner {
|
.el-checkbox__input, .el-checkbox__inner {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
min-width: unset;
|
min-width: unset;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.table-operation-all-span {
|
.table-operation-all-span {
|
||||||
height: 24px;
|
height: 24px;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
||||||
span {
|
span {
|
||||||
margin: 0 10px;
|
margin: 0 10px;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
color: #666666;
|
color: $color-regular;
|
||||||
letter-spacing: 0;
|
letter-spacing: 0;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
}
|
}
|
||||||
|
|
||||||
.table-operation-back-down {
|
.table-operation-back-down {
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
height: 24px;
|
height: 24px;
|
||||||
background: #D7D7D7;
|
background: $bg-color-dark;
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
cursor: not-allowed;
|
cursor: not-allowed;
|
||||||
|
|
||||||
span {
|
span {
|
||||||
margin: 3px 8px;
|
margin: 3px 8px;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
color: #FFFFFF;
|
color: var(--el-color-white);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.table-operation-back-down div {
|
.table-operation-back-down div {
|
||||||
color: #FFFFFF;
|
color: var(--el-color-white);
|
||||||
height: 24px;
|
height: 24px;
|
||||||
background: #D7D7D7;
|
background: $bg-color-dark;
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
|
|
||||||
i {
|
i {
|
||||||
font-size: 25px;
|
font-size: 25px;
|
||||||
top: calc(50% - 12px);
|
top: calc(50% - 12px);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.table-operation-back-down.table-operation-all-checkbox {
|
.table-operation-back-down.table-operation-all-checkbox {
|
||||||
background: #0091ff;
|
background: #0091ff;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
.table-operation-back-down.table-operation-all-loading {
|
.table-operation-back-down.table-operation-all-loading {
|
||||||
background: #D7D7D7;
|
background: $bg-color-dark;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}*/
|
||||||
|
|
||||||
.table-operation-items {
|
.table-operation-items {
|
||||||
.table-operation-item--no-border {
|
.table-operation-item--no-border {
|
||||||
margin-right: 16px;
|
margin-right: 16px;
|
||||||
@@ -275,9 +334,11 @@
|
|||||||
position: relative;
|
position: relative;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.table-operation-item--no-border:last-of-type {
|
.table-operation-item--no-border:last-of-type {
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.table-operation-item--no-border {
|
.table-operation-item--no-border {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
|||||||
@@ -42,7 +42,7 @@
|
|||||||
</template>
|
</template>
|
||||||
</el-select>
|
</el-select>
|
||||||
</template>
|
</template>
|
||||||
<div v-else-if="editObject.config.timeConfig.type === 'last' || editObject.config.timeConfig.type === 'previous'" style="display: flex;">
|
<div v-else-if="editObject.config.timeConfig.type === 'last' || editObject.config.timeConfig.type === 'previous'" class="report__display">
|
||||||
<el-input v-model.number="editObject.config.timeConfig.offset" size="small" class="el-input-single" placeholder=" ">
|
<el-input v-model.number="editObject.config.timeConfig.offset" size="small" class="el-input-single" placeholder=" ">
|
||||||
<template #prepend><i @click="timeOffsetHandle('m')" class="cn-icon cn-icon-a-"></i></template>
|
<template #prepend><i @click="timeOffsetHandle('m')" class="cn-icon cn-icon-a-"></i></template>
|
||||||
<template #append><i @click="timeOffsetHandle('p')" class="cn-icon cn-icon-a-1"></i></template>
|
<template #append><i @click="timeOffsetHandle('p')" class="cn-icon cn-icon-a-1"></i></template>
|
||||||
@@ -66,7 +66,6 @@
|
|||||||
<div class="demo-datetime-picker">
|
<div class="demo-datetime-picker">
|
||||||
<div class="block">
|
<div class="block">
|
||||||
<el-date-picker
|
<el-date-picker
|
||||||
style="width: 100%"
|
|
||||||
v-model="editObject.config.startTime"
|
v-model="editObject.config.startTime"
|
||||||
size="small"
|
size="small"
|
||||||
:format="dateFormat"
|
:format="dateFormat"
|
||||||
@@ -84,7 +83,6 @@
|
|||||||
<div class="demo-datetime-picker">
|
<div class="demo-datetime-picker">
|
||||||
<div class="block">
|
<div class="block">
|
||||||
<el-date-picker
|
<el-date-picker
|
||||||
style="width: 100%"
|
|
||||||
v-model="editObject.config.endTime"
|
v-model="editObject.config.endTime"
|
||||||
size="small"
|
size="small"
|
||||||
:format="dateFormat"
|
:format="dateFormat"
|
||||||
@@ -107,7 +105,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="enable-tabs-daily" v-if="scheduleType === scheduleTypeList[0].value">
|
<div class="enable-tabs-daily" v-if="scheduleType === scheduleTypeList[0].value">
|
||||||
<div class="enable-tabs-custom">{{$t('report.customEvery')}}</div>
|
<div class="enable-tabs-custom">{{$t('report.customEvery')}}</div>
|
||||||
<el-input v-model.number="editObject.config.schedulerConfig.interval" size="small" placeholder=" " style="margin-top: 0.3125rem;">
|
<el-input v-model.number="editObject.config.schedulerConfig.interval" size="small" placeholder=" " class="report__margin-t">
|
||||||
<template #append>{{$t('report.day')}}</template>
|
<template #append>{{$t('report.day')}}</template>
|
||||||
</el-input>
|
</el-input>
|
||||||
</div>
|
</div>
|
||||||
@@ -117,7 +115,7 @@
|
|||||||
<el-input v-model="editObject.config.schedulerConfig.interval" size="small" placeholder="Please input">
|
<el-input v-model="editObject.config.schedulerConfig.interval" size="small" placeholder="Please input">
|
||||||
<template #append>{{$t('report.week')}}</template>
|
<template #append>{{$t('report.week')}}</template>
|
||||||
</el-input>-->
|
</el-input>-->
|
||||||
<el-checkbox-group v-model="editObject.config.schedulerConfig.weekDates" style="margin-top: 0.3125rem">
|
<el-checkbox-group v-model="editObject.config.schedulerConfig.weekDates" class="report__margin-t">
|
||||||
<el-checkbox v-for="(item, index) in weekdayList" :key="index" :label="item.value">{{$t(item.name)}}</el-checkbox>
|
<el-checkbox v-for="(item, index) in weekdayList" :key="index" :label="item.value">{{$t(item.name)}}</el-checkbox>
|
||||||
</el-checkbox-group>
|
</el-checkbox-group>
|
||||||
</div>
|
</div>
|
||||||
@@ -132,7 +130,7 @@
|
|||||||
<!-- 自定义月,循环 -->
|
<!-- 自定义月,循环 -->
|
||||||
<template v-if="monthIsCycle">
|
<template v-if="monthIsCycle">
|
||||||
<div class="enable-tabs-custom">{{$t('report.customEvery')}}</div>
|
<div class="enable-tabs-custom">{{$t('report.customEvery')}}</div>
|
||||||
<el-input v-model="editObject.config.schedulerConfig.interval" size="small" placeholder=" " style="margin-top: 0.3125rem;">
|
<el-input v-model="editObject.config.schedulerConfig.interval" size="small" placeholder=" " class="report__margin-t">
|
||||||
<template #append>{{$t('report.month')}}</template>
|
<template #append>{{$t('report.month')}}</template>
|
||||||
</el-input>
|
</el-input>
|
||||||
</template>
|
</template>
|
||||||
@@ -184,7 +182,6 @@
|
|||||||
<div class="demo-datetime-picker">
|
<div class="demo-datetime-picker">
|
||||||
<div class="block">
|
<div class="block">
|
||||||
<el-date-picker
|
<el-date-picker
|
||||||
style="width: 100%"
|
|
||||||
v-model="editObject.schedulerStart"
|
v-model="editObject.schedulerStart"
|
||||||
size="small"
|
size="small"
|
||||||
:format="dateFormat"
|
:format="dateFormat"
|
||||||
@@ -200,7 +197,6 @@
|
|||||||
<div class="demo-datetime-picker">
|
<div class="demo-datetime-picker">
|
||||||
<div class="block">
|
<div class="block">
|
||||||
<el-date-picker
|
<el-date-picker
|
||||||
style="width: 100%"
|
|
||||||
v-model="editObject.schedulerEnd"
|
v-model="editObject.schedulerEnd"
|
||||||
size="small"
|
size="small"
|
||||||
:format="dateFormat"
|
:format="dateFormat"
|
||||||
@@ -233,7 +229,7 @@
|
|||||||
<template #prepend>{{param.key}}</template>
|
<template #prepend>{{param.key}}</template>
|
||||||
</el-input>-->
|
</el-input>-->
|
||||||
<template v-for="(param, index) in editObject.categoryParams" :key="index">
|
<template v-for="(param, index) in editObject.categoryParams" :key="index">
|
||||||
<el-input v-if="param.labelType === 'input'" v-model="param.value" placeholder=" " size="small" style="vertical-align: unset;" :disabled="!!editObject.id">
|
<el-input v-if="param.labelType === 'input'" v-model="param.value" placeholder=" " size="small" class="report__params-vertical" :disabled="!!editObject.id">
|
||||||
<template #prepend>{{param.key}}</template>
|
<template #prepend>{{param.key}}</template>
|
||||||
</el-input>
|
</el-input>
|
||||||
<el-select v-model="param.value"
|
<el-select v-model="param.value"
|
||||||
@@ -332,7 +328,7 @@ export default {
|
|||||||
}
|
}
|
||||||
const startTimeValidator = (rule, value, callback) => {
|
const startTimeValidator = (rule, value, callback) => {
|
||||||
const form = proxy.$refs.reportForm
|
const form = proxy.$refs.reportForm
|
||||||
if (form.model.config.endTime) {
|
if (form.model && form.model.config && form.model.config.endTime) {
|
||||||
form.validateField('config.endTime', () => null)
|
form.validateField('config.endTime', () => null)
|
||||||
}
|
}
|
||||||
callback()
|
callback()
|
||||||
@@ -415,7 +411,7 @@ export default {
|
|||||||
this.editObject.config.isScheduler = n ? 1 : 0
|
this.editObject.config.isScheduler = n ? 1 : 0
|
||||||
this.cleanScheduleConfig()
|
this.cleanScheduleConfig()
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
let datePrefixIcon = document.getElementsByClassName('el-input__prefix-inner')
|
const datePrefixIcon = document.getElementsByClassName('el-input__prefix-inner')
|
||||||
if (datePrefixIcon && datePrefixIcon.length > 0) {
|
if (datePrefixIcon && datePrefixIcon.length > 0) {
|
||||||
Array.prototype.forEach.call(datePrefixIcon, function (element) {
|
Array.prototype.forEach.call(datePrefixIcon, function (element) {
|
||||||
element.innerHTML = '<i class="el-input__icon cn-icon cn-icon-shijian"></i>'
|
element.innerHTML = '<i class="el-input__icon cn-icon cn-icon-shijian"></i>'
|
||||||
@@ -531,7 +527,7 @@ export default {
|
|||||||
},
|
},
|
||||||
mounted () {
|
mounted () {
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
let datePrefixIcon = document.getElementsByClassName('el-input__prefix-inner')
|
const datePrefixIcon = document.getElementsByClassName('el-input__prefix-inner')
|
||||||
if (datePrefixIcon && datePrefixIcon.length > 0) {
|
if (datePrefixIcon && datePrefixIcon.length > 0) {
|
||||||
Array.prototype.forEach.call(datePrefixIcon, function (element) {
|
Array.prototype.forEach.call(datePrefixIcon, function (element) {
|
||||||
element.innerHTML = '<i class="el-input__icon cn-icon cn-icon-shijian"></i>'
|
element.innerHTML = '<i class="el-input__icon cn-icon cn-icon-shijian"></i>'
|
||||||
|
|||||||
Reference in New Issue
Block a user