iov-pro-components 0.0.82 → 0.0.83
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/iov-pro-components.css +1 -1
- package/lib/iov-pro-components.min.js +291 -188
- package/package.json +11 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
.iov-pro-column-tooltip__container{line-height:17px;padding:2px;overflow-x:hidden;position:relative}.iov-pro-column-tooltip__container.ellipsis:after{bottom:0;content:"...";display:block;position:absolute;right:-1px}.iov-pro-column-tooltip__text{height:23px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.iov-pro-description__col{display:flex;font-family:PingFangSC,PingFang SC;font-size:13px;line-height:18px}.iov-pro-description__label{color:#65677a;flex-shrink:0;width:144px;white-space:nowrap;overflow:hidden}.iov-pro-description__label.left{text-align:left}.iov-pro-description__label.right{text-align:right}.iov-pro-description__value{color:#212026;flex:1;width:0;word-break:break-all}.iov-pro-description__value.left{text-align:left}.iov-pro-description__value.right{text-align:right}.iov-pro-description__value.right .iov-pro-space.horizontal{justify-content:flex-end}.iov-pro-description__link.el-link.el-link--primary{color:#212026;margin-left:24px}.iov-pro-description__link.el-link.el-link--primary:hover{border-color:#2f48ff;color:#2f48ff}.iov-pro-description__link.el-link.el-link--primary.has-icon{margin-left:24px}.iov-pro-description__link-icon{font-size:20px;width:20px;height:20px;margin-right:4px;margin-left:-24px;vertical-align:bottom}.iov-pro-description__link-group .iov-pro-space{flex-wrap:wrap}.iov-pro-text__content{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;word-break:break-all}.iov-pro-text.is-single{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.iov-pro-dialog-items-select__content{display:flex}.iov-pro-dialog-items-select__unselect{flex:1;width:0;position:relative}.iov-pro-dialog-items-select__unselect .el-input{width:calc(100% - 24px)}.iov-pro-dialog-items-select__unselect .el-scrollbar{height:456px}.iov-pro-dialog-items-select__unselect .el-scrollbar__wrap{overflow-x:hidden}.iov-pro-dialog-items-select__unselect .el-scrollbar__view{padding:12px 24px 8px 0}.iov-pro-dialog-items-select__unselect .el-scrollbar__view .el-checkbox{align-items:center;border-radius:4px;display:flex;height:40px;margin-right:0;padding:0 4px;transition:background-color 300ms ease}.iov-pro-dialog-items-select__unselect .el-scrollbar__view .el-checkbox__input.is-focus .el-checkbox__inner{border-color:#d2d5df}.iov-pro-dialog-items-select__unselect .el-scrollbar__view .el-checkbox:hover{background-color:#f6f7f8}.iov-pro-dialog-items-select__unselect .el-scrollbar__view .el-checkbox:hover .el-checkbox__inner{border-color:#d2d5df}.iov-pro-dialog-items-select__unselect .el-scrollbar__view .el-checkbox:hover .el-checkbox__inner:hover{border-color:#3f57ff}.iov-pro-dialog-items-select__unselect .el-scrollbar__view .el-checkbox.is-checked .el-checkbox__inner.iov-icon-success{border-color:#3f57ff}.iov-pro-dialog-items-select__unselect .el-scrollbar__view .el-checkbox__label{max-width:calc(100% - 24px);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.iov-pro-dialog-items-select__unselect .el-empty{padding-top:128px}.iov-pro-dialog-items-select__unselect:after{background-color:#edeff3;bottom:0;content:"";display:block;position:absolute;right:0;top:-16px;width:1px}.iov-pro-dialog-items-select__selected{width:438px;padding-left:24px}.iov-pro-dialog-items-select__selected-title{color:#3d4158;font-weight:500;font-size:13px;line-height:18px}.iov-pro-dialog-items-select__selected .el-scrollbar{height:468px}.iov-pro-dialog-items-select__selected .el-scrollbar__wrap{overflow-x:hidden}.iov-pro-dialog-items-select__selected .el-scrollbar__view{display:flex;flex-direction:row;flex-wrap:wrap;padding-top:12px;gap:8px;row-gap:8px}.iov-pro-dialog-items-select__selected .el-scrollbar__view .el-tag{color:#3d4158;height:34px;line-height:34px;max-width:100%}.iov-pro-dialog-items-select__selected .el-scrollbar__view .el-tag__text{font-size:14px}.iov-pro-dialog-items-select__selected .el-scrollbar__view .el-tag .iov-icon-close-mini{color:#777d87;font-size:10px;height:10px;line-height:10px}.iov-pro-dialog-items-select__selected .el-empty{padding-top:140px;margin:0 auto}.iov-pro-dialog-items-select.shadow .el-dialog__footer{box-shadow:0px 0px 12px 0px rgba(196,198,207,.21)}.iov-pro-dialog-select__table{min-height:255px}.iov-pro-dialog-select__filter{margin-bottom:12px;width:40%}.iov-pro-dialog-select .el-tabs{width:100%}.iov-pro-dialog-select .el-tabs--card .el-tabs__item{box-sizing:content-box;font-weight:400;background:#f6f7f8;color:#6b707a}.iov-pro-dialog-select .el-tabs--card .el-tabs__item:hover{color:#6b707a;background:#edeff3}.iov-pro-dialog-select .el-tabs--card .el-tabs__item.is-active{background:linear-gradient(180deg, #F0F4FD 0%, #fff 100%);border-top:2px solid #2f48ff;color:#2f48ff;font-weight:500}.iov-pro-dialog-select .iov-pro-form{margin-bottom:12px}.iov-pro-dialog-select .search-table .iov-pro-form{margin-bottom:0}.iov-pro-dialog-select .el-form-item__label{display:none}.iov-pro-dialog-select .search-table__module{padding:0}.iov-pro-fixed-button-group{height:68px}.iov-pro-fixed-button-group__content{align-items:center;background-color:#fff;box-shadow:0px 0px 12px 0px rgba(196,198,207,.21);bottom:0;border-radius:0px 0px 8px 8px;display:flex;position:fixed;height:68px;left:204px;right:16px;z-index:1000}.iov-pro-fixed-button-group__content.center{justify-content:center}.iov-pro-fixed-button-group__content.left{justify-content:flex-start}.iov-pro-fixed-button-group__content.right{justify-content:flex-end}.iov-pro-form__form-item.override.important{margin-bottom:0}.iov-pro-form__form-item .el-radio--mini{line-height:26px;height:26px}.iov-pro-form__form-item .el-radio--small{line-height:30px;height:30px}.iov-pro-form__form-item .el-radio--medium{line-height:32px;height:32px}.iov-pro-form__form-item .el-radio--large{line-height:36px;height:36px}.iov-pro-form__form-item .el-checkbox{padding:4px 0}.iov-pro-form .iov-pro-form__form-item.important.override{margin-bottom:0}.iov-pro-form--width-fill{box-sizing:border-box;width:100%}.iov-pro-link-group .el-link,.iov-pro-link-group .el-dropdown{display:block}.iov-pro-link-group__more{color:#2f48ff;cursor:pointer;width:14px;height:14px;display:block}.iov-pro-link-group__dropdown-menu{padding:4px}.iov-pro-link-group__dropdown-menu .el-dropdown-menu__item{font-size:13px;line-height:32px;padding:0 12px}.iov-pro-link-group__dropdown-menu .el-dropdown-menu__item:hover{background-color:#f6f7f8}.iov-pro-link-group__dropdown-menu .popper__arrow{display:none}.iov-pro-link-group .iov-pro-space__item{position:relative}.iov-pro-link-group .iov-pro-space__item:after{background:#dcdfe6;content:"";display:block;top:50%;right:calc(var(--link-group-gap)*-0.5);transform:translateY(-50%);width:1px;height:12px;position:absolute}.iov-pro-link-group .iov-pro-space__item:last-child:after{display:none}.iov-pro-page-detail{padding:16px;background:#fff;border-radius:8px;font-family:PingFangSC,PingFang SC;position:relative}.iov-pro-page-detail.no-padding{padding:0}.iov-pro-page-detail.no-padding .iov-pro-page-detail__help{top:0;right:0}.iov-pro-page-detail__head{display:flex;align-items:center}.iov-pro-page-detail__body{margin-top:16px}.iov-pro-page-detail__body .iov-pro-page-module{padding:0}.iov-pro-page-detail__icon{margin-right:12px;width:44px;height:44px;background-position:0 0;background-repeat:no-repeat;background-size:contain;font-style:normal}.iov-pro-page-detail__head-info{display:flex;align-items:flex-start;flex-direction:column;justify-content:space-between;width:0;flex:1}.iov-pro-page-detail__name{align-items:center;display:flex;margin-bottom:4px;width:100%;height:22px;line-height:22px}.iov-pro-page-detail__name .name{margin-right:8px;font-weight:600;font-size:16px;color:#212026;max-width:calc(100% - 320px)}.iov-pro-page-detail__name .name.overflow-ellipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.iov-pro-page-detail__desc{height:18px;line-height:18px;font-weight:400;font-size:12px;color:#65677a}.iov-pro-page-detail__desc .desc-item{margin-right:16px}.iov-pro-page-detail__help{position:absolute;top:16px;right:16px}.iov-pro-page-detail__help .help-item{margin-left:16px;font-weight:400;font-size:12px;color:#a2a3aa}.iov-pro-page-module{padding:16px;background:#fff;border-radius:8px}.iov-pro-page-module.is-sub .iov-pro-page-module__name-text{font-size:14px}.iov-pro-page-module.no-padding{padding:0}.iov-pro-page-module.is-collapse .iov-pro-page-module__head{margin-bottom:0}.iov-pro-page-module__back{border-radius:4px;cursor:pointer;font-size:18px;color:#494b53;width:22px;height:22px;margin-right:8px;text-align:center;line-height:22px;transition:background-color .3s cubic-bezier(0.645, 0.045, 0.355, 1)}.iov-pro-page-module__back:hover{background-color:#f6f7f8}.iov-pro-page-module__head{margin-bottom:12px;display:flex;align-items:center;justify-content:space-between}.iov-pro-page-module__suffix{margin-left:8px}.iov-pro-page-module__suffix .el-button{margin-left:-4px}.iov-pro-page-module__name{display:flex;align-items:center}.iov-pro-page-module__name-text{font-family:PingFangSC,PingFang SC;font-weight:600;font-size:16px;color:#0d1722}.iov-pro-page-module__name .iov-icon-arrow-up,.iov-pro-page-module__name .iov-icon-arrow-down{border-radius:4px;cursor:pointer;color:#212026;display:inline-block;font-size:14px;margin-left:3px;width:20px;height:20px;line-height:20px;transition:background-color .3s cubic-bezier(0.645, 0.045, 0.355, 1);text-align:center}.iov-pro-page-module__name .iov-icon-arrow-up:hover,.iov-pro-page-module__name .iov-icon-arrow-down:hover{background-color:#f6f7f8}.image-viewer .is-disabled{width:32px;height:32px;background-color:rgba(255,255,255,.3) !important}.image-viewer .is-disabled-right{width:32px;height:32px;transform:rotate(180deg);background-color:rgba(255,255,255,.3) !important}.image-viewer .el-image-viewer__prev{width:32px;height:32px;background-color:rgba(255,255,255,.3)}.image-viewer .el-image-viewer__prev:hover{width:32px;height:32px;background-color:rgba(255,255,255,.6)}.image-viewer .is-disabled-icon{opacity:.2}.image-viewer .el-image-viewer__next{width:32px;height:32px;-webkit-transform:rotate(180deg);transform:rotate(180deg);right:40px;text-indent:2px;background-color:rgba(255,255,255,.3)}.image-viewer .el-image-viewer__next:hover{width:32px;height:32px;-webkit-transform:rotate(180deg);transform:rotate(180deg);background-color:rgba(255,255,255,.6)}.image-viewer .el-image-view__tools{position:absolute;right:16px;bottom:30px;line-height:20px;background:rgba(255,255,255,.2);border-radius:20px;text-align:center;font-size:10px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#494b53;padding:3px 13px}.image-viewer .el-image-view__tools :nth-child(2){padding:0 5px;font-weight:600}.image-viewer__close{font-size:20px}.search-table__title-main{line-height:22px;margin-bottom:12px}.search-table__title{color:#0d1722;font-family:PingFangSC,PingFang SC;font-weight:600;font-size:16px}.search-table__sub-title{margin-left:8px;color:#a2a3aa;font-family:PingFangSC,PingFang SC;font-weight:400;font-size:12px}.search-table__module{background:#fff;border-radius:8px;margin-bottom:10px;padding:16px}.search-table__module .iov-pro-form .iov-pro-form__form-item>label{overflow:hidden;padding:0;white-space:nowrap}.search-table__module .iov-pro-table .iov-pro-link-group .iov-pro-space__item{position:relative;line-height:1}.search-table__module .iov-pro-table .iov-pro-link-group .iov-pro-space__item:after{background:#dcdfe6;content:"";display:block;top:50%;right:-6px;transform:translateY(-50%);width:1px;height:12px;position:absolute}.search-table__module .iov-pro-table .iov-pro-link-group .iov-pro-space__item:last-child:after{display:none}.search-table__module .iov-pro-table .iov-pro-link-group .iov-pro-space__item .el-link{font-size:13px}.search-table__module:last-child{margin-bottom:0}.search-table__toolbar{align-items:center;display:flex}.search-table__bar{display:flex;justify-content:space-between;margin-bottom:12px}.search-table__toggle-status{align-items:center;color:#0d1722;cursor:pointer;display:flex;font-family:PingFangSC,PingFang SC;font-weight:500;font-size:12px;height:30px;padding:0 4px}.search-table__toggle-status .iov-icon-arrow-down,.search-table__toggle-status .iov-icon-arrow-up{font-size:14px;margin-top:2px}.search-table__row{position:relative}.search-table__row .search-table__action-bar{align-items:center;bottom:0;display:flex;top:0;right:0;position:absolute}.search-table.no-padding.is-simple .search-table__module{padding:0}.search-table.no-padding.is-simple .search-table__module:first-child{padding-bottom:0}.search-table.no-padding .search-table__module{padding:16px 0}.search-table.no-padding .search-table__module:first-child{padding:0 0 16px}.search-table.no-module .search-table__module{padding:8px 16px;margin-bottom:0}.search-table.no-module .search-table__module:first-child{padding-top:16px}.search-table.no-module .search-table__module:last-child{padding-bottom:16px}.search-table.no-form .search-table__title-main{margin-bottom:0}.search-table.no-form .search-table__module:first-child{border-radius:8px 8px 0 0;padding-bottom:6px}.search-table.no-form .search-table__module:last-child{border-radius:0 0 8px 8px;padding-top:6px}.inner-tabs__title-main{line-height:22px;margin-bottom:12px}.inner-tabs__title{color:#0d1722;font-family:PingFangSC,PingFang SC;font-weight:600;font-size:16px}.inner-tabs__sub-title{margin-left:8px;color:#a2a3aa;font-family:PingFangSC,PingFang SC;font-weight:400;font-size:12px}.inner-tabs__module{background:#fff;border-radius:8px;margin-bottom:10px;padding:16px}.inner-tabs__module .iov-pro-form .iov-pro-form__form-item>label{overflow:hidden;padding:0;white-space:nowrap}.inner-tabs__module .el-tabs .el-tabs__nav{border:none !important}.inner-tabs__module .el-tabs .el-tabs__header .el-tabs__item{background:#f6f7f8;border-radius:4px 4px 0px 0px;border-left:1px solid #e9ebf0 !important;border-right:1px solid #e9ebf0 !important;border-top:1px solid #e9ebf0 !important;border-bottom-color:rgba(0,0,0,0);color:#6b707a;font-size:13px;font-weight:400;padding:0 16px !important;margin-right:6px;height:30px;line-height:30px}.inner-tabs__module .el-tabs .el-tabs__header .el-tabs__item.is-active{background:linear-gradient(180deg, #F0F4FD 0%, #FFFFFF 100%);border-top:none !important;border-bottom:none;color:#3f57ff;font-weight:600;outline:none;position:relative}.inner-tabs__module .el-tabs .el-tabs__header .el-tabs__item.is-active:before{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAABIBAMAAAANAGjIAAAAKlBMVEUAAAA/Vv8/V/8/V/8/V/8/V/8/V/9BWf89Vf9AVf8qVf8/Vv8+Wf8/V//3fmOTAAAADXRSTlMAkm3589XUKyoMBr1CxUdJxQAAAD9JREFUKM9jYGAoDLkLBAwMC4EkiMG1F8pgvAtl1N5N6mQAAVkjBggIPgBlODFAQQKMoQBjNMAYExhGwSjADwC0VhuDywNOfgAAAABJRU5ErkJggg==),url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAABIAQMAAADF4Oe4AAAABlBMVEUAAAA/V/9SqD98AAAAAXRSTlMAQObYZgAAAA9JREFUCNdj+P8fgYYRAACKogf5+x8cIAAAAABJRU5ErkJggg==),url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAABIBAMAAAANAGjIAAAALVBMVEUAAAA/V/8/V/8/V/9AVv8+V/9AV/8+WP9BWf89Vf9AVf8qVf8/Vv8+Wf8/V/9Mw9oEAAAADnRSTlMA89XUlI9waysqDAa9QkOQHV4AAAA/SURBVCjPY3gHBEIRDAxABgh4wxhvNkAZ7xwYQGBl8rsXDBBQ+BTK4BVigAnBGMwwBhuMwQljcDGMglGAAwAASmoc2AEfAyMAAAAASUVORK5CYII=);background-repeat:no-repeat,no-repeat,no-repeat;background-position:left,center,right;background-size:8px 100%,calc(100% - 12px) 100%,8px 100%;content:"";left:0;position:absolute;top:0;width:100%;height:36px}.inner-tabs__module .search-table__module{padding:0}.inner-tabs__module .search-table__action-bar{bottom:12px;top:auto}.inner-tabs__module:last-child{margin-bottom:0}.inner-tabs__bar{display:flex;justify-content:space-between;margin-bottom:14px}.outer-tabs__tabs .el-tabs__header{background:#fff;border-radius:8px 8px 0 0;margin:0 16px;position:relative}.outer-tabs__tabs .el-tabs__header:before{background-color:#fff;border-radius:8px 0 0 0;bottom:-2px;content:"";display:block;width:16px;left:-16px;top:0px;position:absolute}.outer-tabs__tabs .el-tabs__header:after{background-color:#fff;border-radius:0 8px 0 0;bottom:-2px;content:"";display:block;width:16px;right:-16px;top:0px;position:absolute}.outer-tabs__tabs .search-table__module:first-child{border-radius:0 0 8px 8px}.outer-tabs__tabs .search-table__title-main{display:none}.outer-tabs__tabs.is-card .el-tabs__header.is-top{padding-top:16px}.iov-pro-space{display:flex}.iov-pro-space.horizontal{flex-direction:row}.iov-pro-space.horizontal.is-wrap{flex-wrap:wrap}.iov-pro-space.vertical{flex-direction:column}.iov-pro-space__item{flex-shrink:0}.iov-pro-sub-title{margin-bottom:12px;font-family:PingFangSC,PingFang SC;display:flex;align-items:center}.iov-pro-sub-title__prefix{margin-right:8px}.iov-pro-sub-title__icon{margin-right:8px;width:18px;height:18px;background-position:0 0;background-repeat:no-repeat;background-size:contain}.iov-pro-sub-title__name{margin-right:4px;font-weight:600;font-size:13px;color:#3d4158}.iov-pro-sub-title__desc{margin-right:8px;font-size:13px;color:#a2a3aa}.iov-pro-sub-title__help{margin-right:8px}.iov-pro-sub-title__help .el-link{margin-right:8px;font-size:13px;height:26px;color:#2f48ff;line-height:26px;padding:0 4px;border-radius:4px;transition:all .2s ease}.iov-pro-sub-title__help .el-link .iconfont{font-size:12px;margin-right:4px}.iov-pro-sub-title__help .el-link:not(.is-disabled):hover{background:rgba(42,104,255,.08)}.iov-pro-submit-module{padding:16px 0 20px;border-radius:0px 0px 8px 8px;position:fixed;left:228px;right:20px;bottom:0;z-index:9;font-size:0;background:#fff;text-align:center;box-shadow:0 0 12px 0 rgba(196,198,207,.2)}.iov-pro-table__table .is-right .iov-pro-space.horizontal{justify-content:flex-end}.iov-pro-table__table .is-center .iov-pro-space.horizontal{justify-content:center}.iov-pro-table__pagination{text-align:right;padding:12px 0 0}.iov-pro-table-filter__icon{border-radius:2px;color:#abafb5;cursor:pointer;display:block;font-size:14px;width:20px;height:20px;line-height:20px;text-align:center}.iov-pro-table-filter__icon.is-actived{color:#2f48ff}.iov-pro-table-filter__icon.is-actived:hover{color:#2f48ff}.iov-pro-table-filter__icon:hover{background-color:#e5e6eb;color:#777d87}.iov-pro-table-filter__operation{border-top:1px solid #edeff3;text-align:right;padding:8px}.iov-pro-table-filter__checkbox-group{padding:4px}.iov-pro-table-filter__checkbox{box-sizing:border-box;border-radius:2px;line-height:32px;padding:0 12px;width:100%}.iov-pro-table-filter__checkbox:hover{background-color:#f6f7f8}.iov-pro-table-filter__checkbox:hover .el-checkbox__inner{border-color:#d2d5df}.iov-pro-table-filter__checkbox:hover .el-checkbox__inner:hover{border-color:#3f57ff !important}.iov-pro-table-filter__checkbox:hover .el-checkbox__input.is-checked .el-checkbox__inner{border-color:#3f57ff}.iov-pro-table-filter__checkbox .el-checkbox__input.is-focus .el-checkbox__inner{border-color:#d2d5df}.iov-pro-table-filter__checkbox .el-checkbox__input.is-checked .el-checkbox__inner{border-color:#3f57ff}.iov-pro-table-filter__checkbox .el-checkbox__label{font-size:13px}.iov-pro-table-filter__popper{border:.5px solid #dcdfe6;margin-top:4px;padding:0;min-width:120px}.iov-pro-table-filter__popper .popper__arrow{display:none}.iov-pro-table-search__icon{border-radius:2px;color:#abafb5;cursor:pointer;display:inline-block;font-size:14px;width:20px;height:20px;line-height:20px;text-align:center}.iov-pro-table-search__icon.is-actived{color:#2f48ff}.iov-pro-table-search__icon.is-actived:hover{color:#2f48ff}.iov-pro-table-search__icon:hover{background-color:#e5e6eb;color:#777d87}.iov-pro-table-search__operation{padding:8px;text-align:right}.iov-pro-table-search__input-wrapper{padding:8px 8px 0}.iov-pro-table-search__popper{border:.5px solid #dcdfe6;margin-top:4px;padding:0}.iov-pro-table-search__popper .popper__arrow{display:none}.iov-pro-table-sort{box-sizing:border-box;color:#abafb5;cursor:pointer;display:flex;flex-direction:column;width:20px;height:20px;padding:3px}.iov-pro-table-sort .iovprofont{display:block;height:50%}.iov-pro-table-sort .iovprofont.iov-icon-sort-up{line-height:14px}.iov-pro-table-sort .iovprofont.iov-icon-sort-down{line-height:2px}.iov-pro-table-sort.ascending .iov-icon-sort-up{color:#2f48ff}.iov-pro-table-sort.descending .iov-icon-sort-down{color:#2f48ff}.iov-pro-tabs{border-radius:8px 8px 0 0;overflow:hidden;background:url(https://prod-common-public.obs-helf.cucloud.cn/user/39081000000000144927284) repeat-x 0 0/50px 50px;position:relative}.iov-pro-tabs:before,.iov-pro-tabs:after{content:"";width:12px;height:50px;background:url(https://prod-common-public.obs-helf.cucloud.cn/user/b5901000000000144927351) no-repeat 0 0/12px 50px;position:absolute;left:0;top:0}.iov-pro-tabs:after{left:auto;background:url(https://prod-common-public.obs-helf.cucloud.cn/user/c0f31000000000144937229) no-repeat 0 0/12px 50px;right:0}.iov-pro-tabs__head{display:flex;align-items:center}.iov-pro-tabs__item{padding:0 20px 0 21px;position:relative;cursor:pointer}.iov-pro-tabs__item.active{background:#fff}.iov-pro-tabs__item.active .iov-pro-tabs__name{color:#212026;opacity:1}.iov-pro-tabs__item.active:before,.iov-pro-tabs__item.active:after{content:"";width:35px;height:50px;background:url(https://prod-common-public.obs-helf.cucloud.cn/user/52851000000000144927564) no-repeat 0 0/35px 50px;position:absolute;left:-15px;top:0;z-index:2}.iov-pro-tabs__item.active:after{left:auto;background:url(https://prod-common-public.obs-helf.cucloud.cn/user/cc6b1000000000144927626) no-repeat 0 0/35px 50px;right:-15px}.iov-pro-tabs__item:first-child{padding-left:12px}.iov-pro-tabs__item:first-child .iov-pro-tabs__data:before{display:none}.iov-pro-tabs__item:first-child.active:before{display:none}.iov-pro-tabs__data{align-items:center;display:flex;padding:0 4px;height:50px;position:relative}.iov-pro-tabs__data:before{content:"";width:1px;height:20px;background:#e2e7f2;overflow:hidden;position:absolute;left:-21px;top:50%;transform:translateY(-50%)}.iov-pro-tabs__icon{margin-right:4px;width:24px;height:24px}.iov-pro-tabs__name{color:#3d4158;font-family:PingFangSC,PingFang SC;font-weight:500;font-size:16px;opacity:.6;transition:all .3s easy}.iov-pro-tabs__content{background-color:#fff;border-radius:0 0 8px 8px;padding:12px 16px 16px}.iov-pro-toolbar{align-items:center;display:flex}.iov-pro-toolbar__icon{background-color:#f2f3f5;background-position:center center;background-repeat:no-repeat;background-size:16px 16px;border-radius:4px;cursor:pointer;color:#212026;display:block;font-size:16px;width:26px;height:26px;text-align:center;line-height:26px}.iov-pro-toolbar__icon img{width:16px;height:16px;vertical-align:middle}.iov-pro-toolbar__icon:hover{color:#2f48ff}.iov-pro-toolbar__icon:active,.iov-pro-toolbar__icon.is-active{color:#1d2cd2}.iov-pro-toolbar__dropdown-menu{padding:4px}.iov-pro-toolbar__dropdown-menu .el-dropdown-menu__item{font-size:13px;line-height:32px;padding:0 12px}.iov-pro-toolbar__dropdown-menu .el-dropdown-menu__item:hover{background-color:#f6f7f8;color:#212026}.iov-pro-toolbar__dropdown-menu .el-dropdown-menu__item:active{font-weight:600}.iov-pro-toolbar__setting-popper{padding:0}.iov-pro-toolbar__setting-header{align-items:center;border-bottom:1px solid #edeff3;display:flex;padding:0 16px;height:42px;justify-content:space-between}.iov-pro-toolbar__setting-header .el-checkbox__label{font-size:13px}.iov-pro-toolbar__setting-reset{font-size:12px}.iov-pro-toolbar__setting-body{overflow:auto;padding:4px;max-height:190px}.iov-pro-toolbar__setting-item{align-items:center;border-radius:2px;display:flex;height:32px;justify-content:space-between;padding:0 12px}.iov-pro-toolbar__setting-item:hover{background:#f6f7f8}.iov-pro-toolbar__setting-item--drag{color:#777d87;cursor:grab;font-size:16px}.iov-pro-toolbar__setting-item--drag.undraggable{cursor:not-allowed}.iov-pro-toolbar__setting-item .el-checkbox{align-items:center;display:flex}.iov-pro-toolbar__setting-item .el-checkbox .el-checkbox__input{height:16px}.iov-pro-toolbar__setting-item .el-checkbox .el-checkbox__label{font-size:13px;max-width:102px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.iov-pro-toolbar__setting-item .el-checkbox.is-disabled .el-checkbox__label{color:#0d1722}.iov-pro-toolbar__setting-footer{align-items:center;border-top:1px solid #edeff3;display:flex;padding:0 8px;height:42px;justify-content:flex-end}.trigger-dialog{display:inline-block}.trigger-dialog__trigger{display:inline-block}.iov-pro-uploader__template-tip{color:#65677a;font-size:12px;line-height:18px}.iov-pro-uploader__button{display:block}.iov-pro-uploader .el-upload--drag .iov-pro-uploader__button{display:inline-block}.iov-pro-uploader .el-upload--drag .el-upload__icon{height:30px}
|
|
1
|
+
.iov-pro-column-tooltip__container{line-height:17px;padding:2px;overflow-x:hidden;position:relative}.iov-pro-column-tooltip__container.ellipsis:after{bottom:0;content:"...";display:block;position:absolute;right:-1px}.iov-pro-column-tooltip__text{height:23px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.iov-pro-description__col{display:flex;font-family:PingFangSC,PingFang SC;font-size:13px;line-height:18px}.iov-pro-description__label{color:#65677a;flex-shrink:0;width:144px;white-space:nowrap;overflow:hidden;padding-right:24px}.iov-pro-description__label.left{text-align:left}.iov-pro-description__label.right{text-align:right}.iov-pro-description__value{color:#212026;flex:1;width:0;word-break:break-all}.iov-pro-description__value.left{text-align:left}.iov-pro-description__value.right{text-align:right}.iov-pro-description__value.right .iov-pro-space.horizontal{justify-content:flex-end}.iov-pro-description__link.el-link.el-link--primary{color:#212026;margin-left:24px}.iov-pro-description__link.el-link.el-link--primary:hover{border-color:#2f48ff;color:#2f48ff}.iov-pro-description__link.el-link.el-link--primary.has-icon{margin-left:24px}.iov-pro-description__link-icon{font-size:20px;width:20px;height:20px;margin-right:4px;margin-left:-24px;vertical-align:bottom}.iov-pro-description__link-group .iov-pro-space{flex-wrap:wrap}.iov-pro-text__content{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;word-break:break-all}.iov-pro-text.is-single{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.iov-pro-dialog-items-select__content{display:flex}.iov-pro-dialog-items-select__unselect{flex:1;width:0;position:relative}.iov-pro-dialog-items-select__unselect .el-input{width:calc(100% - 24px)}.iov-pro-dialog-items-select__unselect .el-scrollbar{height:456px}.iov-pro-dialog-items-select__unselect .el-scrollbar__wrap{overflow-x:hidden}.iov-pro-dialog-items-select__unselect .el-scrollbar__view{padding:12px 24px 8px 0}.iov-pro-dialog-items-select__unselect .el-scrollbar__view .el-checkbox{align-items:center;border-radius:4px;display:flex;height:40px;margin-right:0;padding:0 4px;transition:background-color 300ms ease}.iov-pro-dialog-items-select__unselect .el-scrollbar__view .el-checkbox__input.is-focus .el-checkbox__inner{border-color:#d2d5df}.iov-pro-dialog-items-select__unselect .el-scrollbar__view .el-checkbox:hover{background-color:#f6f7f8}.iov-pro-dialog-items-select__unselect .el-scrollbar__view .el-checkbox:hover .el-checkbox__inner{border-color:#d2d5df}.iov-pro-dialog-items-select__unselect .el-scrollbar__view .el-checkbox:hover .el-checkbox__inner:hover{border-color:#3f57ff}.iov-pro-dialog-items-select__unselect .el-scrollbar__view .el-checkbox.is-checked .el-checkbox__inner.iov-icon-success{border-color:#3f57ff}.iov-pro-dialog-items-select__unselect .el-scrollbar__view .el-checkbox__label{max-width:calc(100% - 24px);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.iov-pro-dialog-items-select__unselect .el-empty{padding-top:128px}.iov-pro-dialog-items-select__unselect:after{background-color:#edeff3;bottom:0;content:"";display:block;position:absolute;right:0;top:-16px;width:1px}.iov-pro-dialog-items-select__selected{width:438px;padding-left:24px}.iov-pro-dialog-items-select__selected-title{color:#3d4158;font-weight:500;font-size:13px;line-height:18px}.iov-pro-dialog-items-select__selected .el-scrollbar{height:468px}.iov-pro-dialog-items-select__selected .el-scrollbar__wrap{overflow-x:hidden}.iov-pro-dialog-items-select__selected .el-scrollbar__view{display:flex;flex-direction:row;flex-wrap:wrap;padding-top:12px;gap:8px;row-gap:8px}.iov-pro-dialog-items-select__selected .el-scrollbar__view .el-tag{color:#3d4158;height:34px;line-height:34px;max-width:100%}.iov-pro-dialog-items-select__selected .el-scrollbar__view .el-tag__text{font-size:14px}.iov-pro-dialog-items-select__selected .el-scrollbar__view .el-tag .iov-icon-close-mini{color:#777d87;font-size:10px;height:10px;line-height:10px}.iov-pro-dialog-items-select__selected .el-empty{padding-top:140px;margin:0 auto}.iov-pro-dialog-items-select.shadow .el-dialog__footer{box-shadow:0px 0px 12px 0px rgba(196,198,207,.21)}.iov-pro-dialog-select__table{min-height:255px}.iov-pro-dialog-select__filter{margin-bottom:12px;width:40%}.iov-pro-dialog-select .el-tabs{width:100%}.iov-pro-dialog-select .el-tabs--card .el-tabs__item{box-sizing:content-box;font-weight:400;background:#f6f7f8;color:#6b707a}.iov-pro-dialog-select .el-tabs--card .el-tabs__item:hover{color:#6b707a;background:#edeff3}.iov-pro-dialog-select .el-tabs--card .el-tabs__item.is-active{background:linear-gradient(180deg, #F0F4FD 0%, #fff 100%);border-top:2px solid #2f48ff;color:#2f48ff;font-weight:500}.iov-pro-dialog-select .iov-pro-form{margin-bottom:12px}.iov-pro-dialog-select .search-table .iov-pro-form{margin-bottom:0}.iov-pro-dialog-select .el-form-item__label{display:none}.iov-pro-dialog-select .search-table__module{padding:0}.iov-pro-fixed-button-group{height:68px}.iov-pro-fixed-button-group__content{align-items:center;background-color:#fff;box-shadow:0px 0px 12px 0px rgba(196,198,207,.21);bottom:0;border-radius:0px 0px 8px 8px;display:flex;position:fixed;height:68px;left:204px;right:16px;z-index:1000}.iov-pro-fixed-button-group__content.center{justify-content:center}.iov-pro-fixed-button-group__content.left{justify-content:flex-start}.iov-pro-fixed-button-group__content.right{justify-content:flex-end}.iov-pro-form__form-item.override.important{margin-bottom:0}.iov-pro-form__form-item .el-radio--mini{line-height:26px;height:26px}.iov-pro-form__form-item .el-radio--small{line-height:30px;height:30px}.iov-pro-form__form-item .el-radio--medium{line-height:32px;height:32px}.iov-pro-form__form-item .el-radio--large{line-height:36px;height:36px}.iov-pro-form__form-item .el-checkbox{padding:4px 0}.iov-pro-form .iov-pro-form__form-item.important.override{margin-bottom:0}.iov-pro-form--width-fill{box-sizing:border-box;width:100%}.iov-pro-link-group .el-link,.iov-pro-link-group .el-dropdown{display:block}.iov-pro-link-group__more{color:#2f48ff;cursor:pointer;width:14px;height:14px;display:block}.iov-pro-link-group__dropdown-menu{padding:4px}.iov-pro-link-group__dropdown-menu .el-dropdown-menu__item{font-size:13px;line-height:32px;padding:0 12px}.iov-pro-link-group__dropdown-menu .el-dropdown-menu__item:hover{background-color:#f6f7f8}.iov-pro-link-group__dropdown-menu .popper__arrow{display:none}.iov-pro-link-group .iov-pro-space__item{position:relative}.iov-pro-link-group .iov-pro-space__item:after{background:#dcdfe6;content:"";display:block;top:50%;right:calc(var(--link-group-gap)*-0.5);transform:translateY(-50%);width:1px;height:12px;position:absolute}.iov-pro-link-group .iov-pro-space__item:last-child:after{display:none}.iov-pro-page-detail{padding:16px;background:#fff;border-radius:8px;font-family:PingFangSC,PingFang SC;position:relative}.iov-pro-page-detail.no-padding{padding:0}.iov-pro-page-detail.no-padding .iov-pro-page-detail__help{top:0;right:0}.iov-pro-page-detail__head{display:flex;align-items:center}.iov-pro-page-detail__body{margin-top:16px}.iov-pro-page-detail__body .iov-pro-page-module{padding:0}.iov-pro-page-detail__icon{margin-right:12px;width:44px;height:44px;background-position:0 0;background-repeat:no-repeat;background-size:contain;font-style:normal}.iov-pro-page-detail__head-info{display:flex;align-items:flex-start;flex-direction:column;justify-content:space-between;width:0;flex:1}.iov-pro-page-detail__name{align-items:center;display:flex;margin-bottom:4px;width:100%;height:22px;line-height:22px}.iov-pro-page-detail__name .name{margin-right:8px;font-weight:600;font-size:16px;color:#212026;max-width:calc(100% - 320px)}.iov-pro-page-detail__name .name.overflow-ellipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.iov-pro-page-detail__desc{height:18px;line-height:18px;font-weight:400;font-size:12px;color:#65677a}.iov-pro-page-detail__desc .desc-item{margin-right:16px}.iov-pro-page-detail__help{position:absolute;top:16px;right:16px}.iov-pro-page-detail__help .help-item{margin-left:16px;font-weight:400;font-size:12px;color:#a2a3aa}.iov-pro-page-module{padding:16px;background:#fff;border-radius:8px}.iov-pro-page-module.is-sub .iov-pro-page-module__name-text{font-size:14px}.iov-pro-page-module.no-padding{padding:0}.iov-pro-page-module.is-collapse .iov-pro-page-module__head{margin-bottom:0}.iov-pro-page-module__back{border-radius:4px;cursor:pointer;font-size:18px;color:#494b53;width:22px;height:22px;margin-right:8px;text-align:center;line-height:22px;transition:background-color .3s cubic-bezier(0.645, 0.045, 0.355, 1)}.iov-pro-page-module__back:hover{background-color:#f6f7f8}.iov-pro-page-module__head{margin-bottom:12px;display:flex;align-items:center;justify-content:space-between}.iov-pro-page-module__suffix{margin-left:8px}.iov-pro-page-module__suffix .el-button{margin-left:-4px}.iov-pro-page-module__name{display:flex;align-items:center}.iov-pro-page-module__name-text{font-family:PingFangSC,PingFang SC;font-weight:600;font-size:16px;color:#0d1722}.iov-pro-page-module__name .iov-icon-arrow-up,.iov-pro-page-module__name .iov-icon-arrow-down{border-radius:4px;cursor:pointer;color:#212026;display:inline-block;font-size:14px;margin-left:3px;width:20px;height:20px;line-height:20px;transition:background-color .3s cubic-bezier(0.645, 0.045, 0.355, 1);text-align:center}.iov-pro-page-module__name .iov-icon-arrow-up:hover,.iov-pro-page-module__name .iov-icon-arrow-down:hover{background-color:#f6f7f8}.iov-pro-page-module__name .iov-icon-arrow-up+.iov-pro-page-module__suffix,.iov-pro-page-module__name .iov-icon-arrow-down+.iov-pro-page-module__suffix{margin-left:5px}.image-viewer .is-disabled{width:32px;height:32px;background-color:rgba(255,255,255,.3) !important}.image-viewer .is-disabled-right{width:32px;height:32px;transform:rotate(180deg);background-color:rgba(255,255,255,.3) !important}.image-viewer .el-image-viewer__prev{width:32px;height:32px;background-color:rgba(255,255,255,.3)}.image-viewer .el-image-viewer__prev:hover{width:32px;height:32px;background-color:rgba(255,255,255,.6)}.image-viewer .is-disabled-icon{opacity:.2}.image-viewer .el-image-viewer__next{width:32px;height:32px;-webkit-transform:rotate(180deg);transform:rotate(180deg);right:40px;text-indent:2px;background-color:rgba(255,255,255,.3)}.image-viewer .el-image-viewer__next:hover{width:32px;height:32px;-webkit-transform:rotate(180deg);transform:rotate(180deg);background-color:rgba(255,255,255,.6)}.image-viewer .el-image-view__tools{position:absolute;right:16px;bottom:30px;line-height:20px;background:rgba(255,255,255,.2);border-radius:20px;text-align:center;font-size:10px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#494b53;padding:3px 13px}.image-viewer .el-image-view__tools :nth-child(2){padding:0 5px;font-weight:600}.image-viewer__close{font-size:20px}.search-table__title-main{line-height:22px;margin-bottom:12px}.search-table__title{color:#0d1722;font-family:PingFangSC,PingFang SC;font-weight:600;font-size:16px}.search-table__sub-title{margin-left:8px;color:#a2a3aa;font-family:PingFangSC,PingFang SC;font-weight:400;font-size:12px}.search-table__module{background:#fff;border-radius:8px;margin-bottom:10px;padding:16px}.search-table__module .iov-pro-form .iov-pro-form__form-item>label{overflow:hidden;padding:0;white-space:nowrap}.search-table__module .iov-pro-table .iov-pro-link-group .iov-pro-space__item{position:relative;line-height:1}.search-table__module .iov-pro-table .iov-pro-link-group .iov-pro-space__item:after{background:#dcdfe6;content:"";display:block;top:50%;right:-6px;transform:translateY(-50%);width:1px;height:12px;position:absolute}.search-table__module .iov-pro-table .iov-pro-link-group .iov-pro-space__item:last-child:after{display:none}.search-table__module .iov-pro-table .iov-pro-link-group .iov-pro-space__item .el-link{font-size:13px}.search-table__module:last-child{margin-bottom:0}.search-table__toolbar{align-items:center;display:flex}.search-table__bar{display:flex;justify-content:space-between;margin-bottom:12px}.search-table__toggle-status{align-items:center;color:#0d1722;cursor:pointer;display:flex;font-family:PingFangSC,PingFang SC;font-weight:500;font-size:12px;height:30px;padding:0 4px}.search-table__toggle-status .iov-icon-arrow-down,.search-table__toggle-status .iov-icon-arrow-up{font-size:14px;margin-top:2px}.search-table__row{position:relative}.search-table__row .search-table__action-bar{align-items:center;bottom:0;display:flex;top:0;right:0;position:absolute}.search-table.no-padding.is-simple .search-table__module{padding:0}.search-table.no-padding.is-simple .search-table__module:first-child{padding-bottom:0}.search-table.no-padding .search-table__module{padding:16px 0}.search-table.no-padding .search-table__module:first-child{padding:0 0 16px}.search-table.no-module .search-table__module{padding:8px 16px;margin-bottom:0}.search-table.no-module .search-table__module:first-child{padding-top:16px}.search-table.no-module .search-table__module:last-child{padding-bottom:16px}.search-table.no-form .search-table__title-main{margin-bottom:0}.search-table.no-form .search-table__module:first-child{border-radius:8px 8px 0 0;padding-bottom:6px}.search-table.no-form .search-table__module:last-child{border-radius:0 0 8px 8px;padding-top:6px}.inner-tabs__title-main{line-height:22px;margin-bottom:12px}.inner-tabs__title{color:#0d1722;font-family:PingFangSC,PingFang SC;font-weight:600;font-size:16px}.inner-tabs__sub-title{margin-left:8px;color:#a2a3aa;font-family:PingFangSC,PingFang SC;font-weight:400;font-size:12px}.inner-tabs__module{background:#fff;border-radius:8px;margin-bottom:10px;padding:16px}.inner-tabs__module .iov-pro-form .iov-pro-form__form-item>label{overflow:hidden;padding:0;white-space:nowrap}.inner-tabs__module .el-tabs .el-tabs__nav{border:none !important}.inner-tabs__module .el-tabs .el-tabs__header .el-tabs__item{background:#f6f7f8;border-radius:4px 4px 0px 0px;border-left:1px solid #e9ebf0 !important;border-right:1px solid #e9ebf0 !important;border-top:1px solid #e9ebf0 !important;border-bottom-color:rgba(0,0,0,0);color:#6b707a;font-size:13px;font-weight:400;padding:0 16px !important;margin-right:6px;height:30px;line-height:30px}.inner-tabs__module .el-tabs .el-tabs__header .el-tabs__item.is-active{background:linear-gradient(180deg, #F0F4FD 0%, #FFFFFF 100%);border-top:none !important;border-bottom:none;color:#3f57ff;font-weight:600;outline:none;position:relative}.inner-tabs__module .el-tabs .el-tabs__header .el-tabs__item.is-active:before{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAABIBAMAAAANAGjIAAAAKlBMVEUAAAA/Vv8/V/8/V/8/V/8/V/8/V/9BWf89Vf9AVf8qVf8/Vv8+Wf8/V//3fmOTAAAADXRSTlMAkm3589XUKyoMBr1CxUdJxQAAAD9JREFUKM9jYGAoDLkLBAwMC4EkiMG1F8pgvAtl1N5N6mQAAVkjBggIPgBlODFAQQKMoQBjNMAYExhGwSjADwC0VhuDywNOfgAAAABJRU5ErkJggg==),url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAABIAQMAAADF4Oe4AAAABlBMVEUAAAA/V/9SqD98AAAAAXRSTlMAQObYZgAAAA9JREFUCNdj+P8fgYYRAACKogf5+x8cIAAAAABJRU5ErkJggg==),url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAABIBAMAAAANAGjIAAAALVBMVEUAAAA/V/8/V/8/V/9AVv8+V/9AV/8+WP9BWf89Vf9AVf8qVf8/Vv8+Wf8/V/9Mw9oEAAAADnRSTlMA89XUlI9waysqDAa9QkOQHV4AAAA/SURBVCjPY3gHBEIRDAxABgh4wxhvNkAZ7xwYQGBl8rsXDBBQ+BTK4BVigAnBGMwwBhuMwQljcDGMglGAAwAASmoc2AEfAyMAAAAASUVORK5CYII=);background-repeat:no-repeat,no-repeat,no-repeat;background-position:left,center,right;background-size:8px 100%,calc(100% - 12px) 100%,8px 100%;content:"";left:0;position:absolute;top:0;width:100%;height:36px}.inner-tabs__module .search-table__module{padding:0}.inner-tabs__module .search-table__action-bar{bottom:12px;top:auto}.inner-tabs__module:last-child{margin-bottom:0}.inner-tabs__bar{display:flex;justify-content:space-between;margin-bottom:14px}.outer-tabs__tabs .el-tabs__header{background:#fff;border-radius:8px 8px 0 0;margin:0 16px;position:relative}.outer-tabs__tabs .el-tabs__header:before{background-color:#fff;border-radius:8px 0 0 0;bottom:-2px;content:"";display:block;width:16px;left:-16px;top:0px;position:absolute}.outer-tabs__tabs .el-tabs__header:after{background-color:#fff;border-radius:0 8px 0 0;bottom:-2px;content:"";display:block;width:16px;right:-16px;top:0px;position:absolute}.outer-tabs__tabs .search-table__module:first-child{border-radius:0 0 8px 8px}.outer-tabs__tabs .search-table__title-main{display:none}.outer-tabs__tabs.is-card .el-tabs__header.is-top{padding-top:16px}.outer-tabs .search-table__title-main{background-color:#fff;border-radius:8px 8px 0 0;padding:16px 16px 0;margin-bottom:-4px}.iov-pro-space{display:flex}.iov-pro-space.horizontal{flex-direction:row}.iov-pro-space.horizontal.is-wrap{flex-wrap:wrap}.iov-pro-space.vertical{flex-direction:column}.iov-pro-space__item{flex-shrink:0}.iov-pro-sub-title{margin-bottom:12px;font-family:PingFangSC,PingFang SC;display:flex;align-items:center}.iov-pro-sub-title__prefix{margin-right:8px}.iov-pro-sub-title__icon{margin-right:8px;width:18px;height:18px;background-position:0 0;background-repeat:no-repeat;background-size:contain}.iov-pro-sub-title__icon.line{background-color:#777d87;width:3px;height:12px}.iov-pro-sub-title__name{margin-right:4px;font-weight:600;font-size:13px;color:#3d4158}.iov-pro-sub-title__desc{margin-right:8px;font-size:13px;color:#a2a3aa}.iov-pro-sub-title__help{margin-right:8px}.iov-pro-sub-title__help .el-link{margin-right:8px;font-size:13px;height:26px;color:#2f48ff;line-height:26px;padding:0 4px;border-radius:4px;transition:all .2s ease}.iov-pro-sub-title__help .el-link .iconfont{font-size:12px;margin-right:4px}.iov-pro-sub-title__help .el-link:not(.is-disabled):hover{background:rgba(42,104,255,.08)}.iov-pro-submit-module{padding:16px 0 20px;border-radius:0px 0px 8px 8px;position:fixed;left:228px;right:20px;bottom:0;z-index:9;font-size:0;background:#fff;text-align:center;box-shadow:0 0 12px 0 rgba(196,198,207,.2)}.iov-pro-table__table .is-right .iov-pro-space.horizontal{justify-content:flex-end}.iov-pro-table__table .is-center .iov-pro-space.horizontal{justify-content:center}.iov-pro-table__pagination{text-align:right;padding:12px 0 0}.iov-pro-table-filter__icon{border-radius:2px;color:#abafb5;cursor:pointer;display:block;font-size:14px;width:20px;height:20px;line-height:20px;text-align:center}.iov-pro-table-filter__icon.is-actived{color:#2f48ff}.iov-pro-table-filter__icon.is-actived:hover{color:#2f48ff}.iov-pro-table-filter__icon:hover{background-color:#e5e6eb;color:#777d87}.iov-pro-table-filter__operation{border-top:1px solid #edeff3;text-align:right;padding:8px}.iov-pro-table-filter__operation.is-center{text-align:center}.iov-pro-table-filter__checkbox-group{padding:4px}.iov-pro-table-filter__checkbox{box-sizing:border-box;border-radius:2px;line-height:32px;padding:0 12px;width:100%}.iov-pro-table-filter__checkbox:hover{background-color:#f6f7f8}.iov-pro-table-filter__checkbox:hover .el-checkbox__inner{border-color:#d2d5df}.iov-pro-table-filter__checkbox:hover .el-checkbox__inner:hover{border-color:#3f57ff !important}.iov-pro-table-filter__checkbox:hover .el-checkbox__input.is-checked .el-checkbox__inner{border-color:#3f57ff}.iov-pro-table-filter__checkbox .el-checkbox__input.is-focus .el-checkbox__inner{border-color:#d2d5df}.iov-pro-table-filter__checkbox .el-checkbox__input.is-checked .el-checkbox__inner{border-color:#3f57ff}.iov-pro-table-filter__checkbox .el-checkbox__label{font-size:13px}.iov-pro-table-filter__popper[x-placement^=bottom]{border:.5px solid #dcdfe6;margin-top:4px;padding:0;min-width:120px}.iov-pro-table-filter__popper[x-placement^=bottom] .popper__arrow{display:none}.iov-pro-table-search__icon{border-radius:2px;color:#abafb5;cursor:pointer;display:inline-block;font-size:14px;width:20px;height:20px;line-height:20px;text-align:center}.iov-pro-table-search__icon.is-actived{color:#2f48ff}.iov-pro-table-search__icon.is-actived:hover{color:#2f48ff}.iov-pro-table-search__icon:hover{background-color:#e5e6eb;color:#777d87}.iov-pro-table-search__operation{padding:8px;text-align:right}.iov-pro-table-search__input-wrapper{padding:8px 8px 0}.iov-pro-table-search__popper{border:.5px solid #dcdfe6;margin-top:4px;padding:0}.iov-pro-table-search__popper .popper__arrow{display:none}.iov-pro-table-sort{box-sizing:border-box;color:#abafb5;cursor:pointer;display:flex;flex-direction:column;width:20px;height:20px;padding:3px}.iov-pro-table-sort .iovprofont{display:block;height:50%}.iov-pro-table-sort .iovprofont.iov-icon-sort-up{line-height:14px}.iov-pro-table-sort .iovprofont.iov-icon-sort-down{line-height:2px}.iov-pro-table-sort.ascending .iov-icon-sort-up{color:#2f48ff}.iov-pro-table-sort.descending .iov-icon-sort-down{color:#2f48ff}.iov-pro-tabs{border-radius:8px 8px 0 0;overflow:hidden;background:url(https://prod-common-public.obs-helf.cucloud.cn/user/39081000000000144927284) repeat-x 0 0/50px 50px;position:relative}.iov-pro-tabs:before,.iov-pro-tabs:after{content:"";width:12px;height:50px;background:url(https://prod-common-public.obs-helf.cucloud.cn/user/b5901000000000144927351) no-repeat 0 0/12px 50px;position:absolute;left:0;top:0}.iov-pro-tabs:after{left:auto;background:url(https://prod-common-public.obs-helf.cucloud.cn/user/c0f31000000000144937229) no-repeat 0 0/12px 50px;right:0}.iov-pro-tabs__head{display:flex;align-items:center}.iov-pro-tabs__item{padding:0 20px 0 21px;position:relative;cursor:pointer}.iov-pro-tabs__item.active{background:#fff}.iov-pro-tabs__item.active .iov-pro-tabs__name{color:#212026;opacity:1}.iov-pro-tabs__item.active:before,.iov-pro-tabs__item.active:after{content:"";width:35px;height:50px;background:url(https://prod-common-public.obs-helf.cucloud.cn/user/52851000000000144927564) no-repeat 0 0/35px 50px;position:absolute;left:-15px;top:0;z-index:2}.iov-pro-tabs__item.active:after{left:auto;background:url(https://prod-common-public.obs-helf.cucloud.cn/user/cc6b1000000000144927626) no-repeat 0 0/35px 50px;right:-15px}.iov-pro-tabs__item:first-child{padding-left:12px}.iov-pro-tabs__item:first-child .iov-pro-tabs__data:before{display:none}.iov-pro-tabs__item:first-child.active:before{display:none}.iov-pro-tabs__data{align-items:center;display:flex;padding:0 4px;height:50px;position:relative}.iov-pro-tabs__data:before{content:"";width:1px;height:20px;background:#e2e7f2;overflow:hidden;position:absolute;left:-21px;top:50%;transform:translateY(-50%)}.iov-pro-tabs__icon{margin-right:4px;width:24px;height:24px}.iov-pro-tabs__name{color:#3d4158;font-family:PingFangSC,PingFang SC;font-weight:500;font-size:16px;opacity:.6;transition:all .3s easy}.iov-pro-tabs__content{background-color:#fff;border-radius:0 0 8px 8px;padding:12px 16px 16px}.iov-pro-toolbar{align-items:center;display:flex}.iov-pro-toolbar__icon{background-color:#f2f3f5;background-position:center center;background-repeat:no-repeat;background-size:16px 16px;border-radius:4px;cursor:pointer;color:#212026;display:block;font-size:16px;width:26px;height:26px;text-align:center;line-height:26px}.iov-pro-toolbar__icon img{width:16px;height:16px;vertical-align:middle}.iov-pro-toolbar__icon:hover{color:#2f48ff}.iov-pro-toolbar__icon:active,.iov-pro-toolbar__icon.is-active{color:#1d2cd2}.iov-pro-toolbar__dropdown-menu{padding:4px}.iov-pro-toolbar__dropdown-menu .el-dropdown-menu__item{font-size:13px;line-height:32px;padding:0 12px}.iov-pro-toolbar__dropdown-menu .el-dropdown-menu__item:hover{background-color:#f6f7f8;color:#212026}.iov-pro-toolbar__dropdown-menu .el-dropdown-menu__item:active{font-weight:600}.iov-pro-toolbar__setting-popper{padding:0}.iov-pro-toolbar__setting-header{align-items:center;border-bottom:1px solid #edeff3;display:flex;padding:0 16px;height:42px;justify-content:space-between}.iov-pro-toolbar__setting-header .el-checkbox__label{font-size:13px}.iov-pro-toolbar__setting-reset{font-size:12px}.iov-pro-toolbar__setting-body{overflow:auto;padding:4px;max-height:190px}.iov-pro-toolbar__setting-item{align-items:center;border-radius:2px;display:flex;height:32px;justify-content:space-between;padding:0 12px}.iov-pro-toolbar__setting-item:hover{background:#f6f7f8}.iov-pro-toolbar__setting-item--drag{color:#777d87;cursor:grab;font-size:16px}.iov-pro-toolbar__setting-item--drag.undraggable{cursor:not-allowed}.iov-pro-toolbar__setting-item .el-checkbox{align-items:center;display:flex}.iov-pro-toolbar__setting-item .el-checkbox .el-checkbox__input{height:16px}.iov-pro-toolbar__setting-item .el-checkbox .el-checkbox__label{font-size:13px;max-width:102px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.iov-pro-toolbar__setting-item .el-checkbox.is-disabled .el-checkbox__label{color:#0d1722}.iov-pro-toolbar__setting-footer{align-items:center;border-top:1px solid #edeff3;display:flex;padding:0 8px;height:42px;justify-content:flex-end}.trigger-dialog{display:inline-block}.trigger-dialog__trigger{display:inline-block}.iov-pro-uploader__template-tip{color:#65677a;font-size:12px;line-height:18px}.iov-pro-uploader__button{display:block}.iov-pro-uploader .el-upload--drag .iov-pro-uploader__button{display:inline-block}.iov-pro-uploader .el-upload--drag .el-upload__icon{height:30px}
|
|
@@ -1804,7 +1804,7 @@ var isUrl = function isUrl(target) {
|
|
|
1804
1804
|
if (typeof target !== 'string') {
|
|
1805
1805
|
return false;
|
|
1806
1806
|
}
|
|
1807
|
-
return /^
|
|
1807
|
+
return /^https?:\/\/[^\s/$.?#][^\s]*/i.test(target.toLowerCase()) || /^(\/[a-zA-Z]:|[a-zA-Z]:\\|\.\/|\.\.\/|\/)[a-zA-Z0-9\-_./\\]*$/.test(target.toLowerCase());
|
|
1808
1808
|
};
|
|
1809
1809
|
|
|
1810
1810
|
/**
|
|
@@ -6556,35 +6556,33 @@ var script$t = {
|
|
|
6556
6556
|
* @time 2025-04-24 19:28:27
|
|
6557
6557
|
*/
|
|
6558
6558
|
setDialogFooterShadow: function setDialogFooterShadow() {
|
|
6559
|
-
|
|
6560
|
-
this.$
|
|
6561
|
-
|
|
6562
|
-
|
|
6563
|
-
|
|
6564
|
-
|
|
6565
|
-
});
|
|
6559
|
+
// this.$nextTick(() => {
|
|
6560
|
+
// const footer = this.$refs.dialog.$el.querySelector('.el-dialog__footer')
|
|
6561
|
+
// // const body = this.$refs.dialog.$el.querySelector('.el-dialog__body')
|
|
6562
|
+
// footer.style.boxShadow = '0px 0px 12px 0px rgba(196, 198, 207, 0.21)'
|
|
6563
|
+
// // body.classList.add('el-dialog__body--desc')
|
|
6564
|
+
// })
|
|
6566
6565
|
},
|
|
6567
6566
|
/**
|
|
6568
6567
|
* 设置弹窗按钮区域投影
|
|
6569
6568
|
* @time 2025-04-24 19:28:27
|
|
6570
6569
|
*/
|
|
6571
6570
|
removeDialogFooterShadow: function removeDialogFooterShadow() {
|
|
6572
|
-
|
|
6573
|
-
this.$
|
|
6574
|
-
|
|
6575
|
-
|
|
6576
|
-
|
|
6577
|
-
|
|
6578
|
-
});
|
|
6571
|
+
// this.$nextTick(() => {
|
|
6572
|
+
// const footer = this.$refs.dialog.$el.querySelector('.el-dialog__footer')
|
|
6573
|
+
// // const body = this.$refs.dialog.$el.querySelector('.el-dialog__body')
|
|
6574
|
+
// footer.style.boxShadow = 'none'
|
|
6575
|
+
// // body.classList.remove('el-dialog__body--desc')
|
|
6576
|
+
// })
|
|
6579
6577
|
},
|
|
6580
6578
|
/**
|
|
6581
6579
|
* 初始化内容高度
|
|
6582
6580
|
* @time 2025-08-21 10:13:19
|
|
6583
6581
|
*/
|
|
6584
6582
|
initContentHeight: function initContentHeight() {
|
|
6585
|
-
var
|
|
6583
|
+
var _this5 = this;
|
|
6586
6584
|
this.$nextTick(function () {
|
|
6587
|
-
var wrapper =
|
|
6585
|
+
var wrapper = _this5.$refs.dialog.$el;
|
|
6588
6586
|
var dialog = wrapper.querySelector('.el-dialog');
|
|
6589
6587
|
var header = dialog.querySelector('.el-dialog__header');
|
|
6590
6588
|
var body = dialog.querySelector('.el-dialog__body');
|
|
@@ -6627,26 +6625,26 @@ var script$t = {
|
|
|
6627
6625
|
* 选中表格行数据,需要从表格原始数据中获取对应行进行选择
|
|
6628
6626
|
*/
|
|
6629
6627
|
checkSelectedData: function checkSelectedData() {
|
|
6630
|
-
var
|
|
6628
|
+
var _this6 = this;
|
|
6631
6629
|
var tableData = this.curPageList;
|
|
6632
6630
|
if (!tableData || tableData.length === 0) return;
|
|
6633
6631
|
this.selectedData.forEach(function (row) {
|
|
6634
6632
|
var originRow = tableData.find(function (item) {
|
|
6635
|
-
return item[
|
|
6633
|
+
return item[_this6.rowKey] === row[_this6.rowKey];
|
|
6636
6634
|
});
|
|
6637
6635
|
if (originRow) {
|
|
6638
|
-
var selected =
|
|
6639
|
-
return row[
|
|
6636
|
+
var selected = _this6.getElTable().store.states.selection.find(function (row) {
|
|
6637
|
+
return row[_this6.rowKey] === originRow[_this6.rowKey];
|
|
6640
6638
|
});
|
|
6641
6639
|
if (selected) return;
|
|
6642
|
-
|
|
6640
|
+
_this6.getElTable().toggleRowSelection(originRow, true);
|
|
6643
6641
|
} else {
|
|
6644
6642
|
// 选中的数据不在当前页数据中,也需要添加到表格 selection 中,否则 selection change 会丢失数据
|
|
6645
|
-
var _selected =
|
|
6646
|
-
return row2[
|
|
6643
|
+
var _selected = _this6.getElTable().store.states.selection.find(function (row2) {
|
|
6644
|
+
return row2[_this6.rowKey] === row[_this6.rowKey];
|
|
6647
6645
|
});
|
|
6648
6646
|
if (_selected) return;
|
|
6649
|
-
|
|
6647
|
+
_this6.getElTable().toggleRowSelection(row, true);
|
|
6650
6648
|
}
|
|
6651
6649
|
});
|
|
6652
6650
|
},
|
|
@@ -6672,11 +6670,11 @@ var script$t = {
|
|
|
6672
6670
|
* @time 2024-12-20 13:59:57
|
|
6673
6671
|
*/
|
|
6674
6672
|
onRemove: function onRemove(row) {
|
|
6675
|
-
var
|
|
6673
|
+
var _this7 = this;
|
|
6676
6674
|
// 重新赋值选择的数据
|
|
6677
6675
|
if (this.customSearchRequest) {
|
|
6678
6676
|
this.selectedData = this.selectedData.filter(function (item) {
|
|
6679
|
-
return item[
|
|
6677
|
+
return item[_this7.rowKey] !== row[_this7.rowKey];
|
|
6680
6678
|
});
|
|
6681
6679
|
// 清空表格选择的数据
|
|
6682
6680
|
this.getElTable().clearSelection();
|
|
@@ -6687,13 +6685,13 @@ var script$t = {
|
|
|
6687
6685
|
var selection = cloneDeep(this.getElTable().store.states.selection);
|
|
6688
6686
|
// 过滤出本次不需要删除的数据
|
|
6689
6687
|
var selectedData = selection.filter(function (item) {
|
|
6690
|
-
return item[
|
|
6688
|
+
return item[_this7.rowKey] !== row[_this7.rowKey];
|
|
6691
6689
|
});
|
|
6692
6690
|
// 清空表格选择的数据
|
|
6693
6691
|
this.getElTable().clearSelection();
|
|
6694
6692
|
// 还原不需要删除的数据
|
|
6695
6693
|
selectedData.forEach(function (row) {
|
|
6696
|
-
|
|
6694
|
+
_this7.getElTable().toggleRowSelection(row);
|
|
6697
6695
|
});
|
|
6698
6696
|
// 如果是模糊过滤, 假如已选择列表过滤之后数据大于1条时, 删除其中1条数据之后, 此时表格列还是过滤状态, 不应展示其他数据
|
|
6699
6697
|
// 此处需要重新计算unselectList
|
|
@@ -6705,12 +6703,12 @@ var script$t = {
|
|
|
6705
6703
|
} else {
|
|
6706
6704
|
// 过滤出本次不需要删除的数据
|
|
6707
6705
|
var _selectedData = this.selectedData.filter(function (item) {
|
|
6708
|
-
return item[
|
|
6706
|
+
return item[_this7.rowKey] !== row[_this7.rowKey];
|
|
6709
6707
|
});
|
|
6710
6708
|
// 清空表格选择的数据
|
|
6711
6709
|
this.getElTable().clearSelection();
|
|
6712
6710
|
_selectedData.forEach(function (row) {
|
|
6713
|
-
|
|
6711
|
+
_this7.getElTable().toggleRowSelection(row);
|
|
6714
6712
|
});
|
|
6715
6713
|
}
|
|
6716
6714
|
this.$refs.selected.$refs.table.doLayout();
|
|
@@ -6727,11 +6725,11 @@ var script$t = {
|
|
|
6727
6725
|
* @time 2024-12-20 14:20:19
|
|
6728
6726
|
*/
|
|
6729
6727
|
onConfirm: function onConfirm() {
|
|
6730
|
-
var
|
|
6728
|
+
var _this8 = this;
|
|
6731
6729
|
var selectedData = this.selectedData.map(function (item) {
|
|
6732
6730
|
// 如果已选择的数据中包含其他字段, 则使用初始传进来的数据
|
|
6733
|
-
var val =
|
|
6734
|
-
return item[
|
|
6731
|
+
var val = _this8.value.filter(function (row) {
|
|
6732
|
+
return item[_this8.rowKey] === row[_this8.rowKey];
|
|
6735
6733
|
});
|
|
6736
6734
|
if (val.length > 0) {
|
|
6737
6735
|
return val[0];
|
|
@@ -6763,7 +6761,6 @@ var __vue_render__$b = function __vue_render__() {
|
|
|
6763
6761
|
visible: _vm.showDialog,
|
|
6764
6762
|
title: _vm.title,
|
|
6765
6763
|
width: "1096px",
|
|
6766
|
-
type: "desc",
|
|
6767
6764
|
center: "",
|
|
6768
6765
|
"close-on-click-modal": false,
|
|
6769
6766
|
"append-to-body": ""
|
|
@@ -9070,7 +9067,7 @@ var script$n = {
|
|
|
9070
9067
|
// 清空上一次可渲染的数据
|
|
9071
9068
|
this.formItemsForRender = [];
|
|
9072
9069
|
// 触发再次加载的影响
|
|
9073
|
-
this.triggerEffect();
|
|
9070
|
+
this.triggerEffect(this.value);
|
|
9074
9071
|
},
|
|
9075
9072
|
/**
|
|
9076
9073
|
* 如果表单数据的变化,则v-model双向绑定外部数据
|
|
@@ -9123,16 +9120,15 @@ var script$n = {
|
|
|
9123
9120
|
}
|
|
9124
9121
|
});
|
|
9125
9122
|
// 上一次value的值
|
|
9126
|
-
var prevStateValue =
|
|
9127
|
-
// 记录当前双向绑定的数据(当前组件内部均使用此数据,减少render数量)
|
|
9128
|
-
this.prevState.value = cloneDeep(value);
|
|
9129
|
-
// 触发watch对应的方法,并且深拷贝一份数据
|
|
9123
|
+
var prevStateValue = cloneDeep(value);
|
|
9130
9124
|
// 表单值改变后,触发对应的影响
|
|
9131
|
-
this.triggerEffect();
|
|
9125
|
+
this.triggerEffect(prevStateValue);
|
|
9132
9126
|
// 如果2个对象相等,则不处理
|
|
9133
|
-
if (isEqual(
|
|
9127
|
+
if (isEqual(this.prevState.value, value)) {
|
|
9134
9128
|
return;
|
|
9135
9129
|
}
|
|
9130
|
+
// 记录当前双向绑定的数据(当前组件内部均使用此数据,减少render数量)
|
|
9131
|
+
this.prevState.value = prevStateValue;
|
|
9136
9132
|
// 触发值改变钩子函数
|
|
9137
9133
|
this.triggerHooks(HOOKS.VALUE_CHANGE, value);
|
|
9138
9134
|
// 开始双向绑定
|
|
@@ -9160,7 +9156,7 @@ var script$n = {
|
|
|
9160
9156
|
dataSource: {
|
|
9161
9157
|
handler: function handler() {
|
|
9162
9158
|
// 数据源改变后,触发影响
|
|
9163
|
-
this.triggerEffect();
|
|
9159
|
+
this.triggerEffect(this.value);
|
|
9164
9160
|
// 深拷贝一份外部数据源数据
|
|
9165
9161
|
this.prevState.dataSource = cloneDeep(this.dataSource);
|
|
9166
9162
|
},
|
|
@@ -9188,7 +9184,7 @@ var script$n = {
|
|
|
9188
9184
|
// 规范化value值
|
|
9189
9185
|
this.normalizeValue();
|
|
9190
9186
|
// 触发首次加载的影响
|
|
9191
|
-
this.triggerEffect();
|
|
9187
|
+
this.triggerEffect(this.value);
|
|
9192
9188
|
// 触发loader
|
|
9193
9189
|
this.triggerHooks(HOOKS.INIT, this);
|
|
9194
9190
|
// 绑定观察器
|
|
@@ -9295,8 +9291,6 @@ var script$n = {
|
|
|
9295
9291
|
// 当前值的key集合
|
|
9296
9292
|
var valueKeys = Object.keys(this.value);
|
|
9297
9293
|
var modelValueKeys = Object.keys(this.modelValue);
|
|
9298
|
-
// 深拷贝一份数据
|
|
9299
|
-
this.prevState.value = cloneDeep(this.value);
|
|
9300
9294
|
// 遍历当前传入的数据
|
|
9301
9295
|
valueKeys.forEach(function (key) {
|
|
9302
9296
|
// 取出当前表单项配置
|
|
@@ -9305,7 +9299,7 @@ var script$n = {
|
|
|
9305
9299
|
});
|
|
9306
9300
|
// 当前展示的表单项配置
|
|
9307
9301
|
var showFormItems = formItems.filter(function (item) {
|
|
9308
|
-
return _this5.vif(item);
|
|
9302
|
+
return _this5.vif(item, _this5.value);
|
|
9309
9303
|
});
|
|
9310
9304
|
// 如果当前是表单的字段
|
|
9311
9305
|
if (showFormItems && showFormItems.length > 0) {
|
|
@@ -9348,7 +9342,7 @@ var script$n = {
|
|
|
9348
9342
|
return item.key === key;
|
|
9349
9343
|
});
|
|
9350
9344
|
// 如果有配置项
|
|
9351
|
-
if (_this5.vif(formItem)) {
|
|
9345
|
+
if (_this5.vif(formItem, _this5.value)) {
|
|
9352
9346
|
// 如果表单项数据是数组
|
|
9353
9347
|
if (Array.isArray(formItem.name)) {
|
|
9354
9348
|
// 按照name获取字段值
|
|
@@ -9390,11 +9384,11 @@ var script$n = {
|
|
|
9390
9384
|
* 当表单值发生改变,触发对应的影响
|
|
9391
9385
|
* @time 2024-11-13 14:27:36
|
|
9392
9386
|
*/
|
|
9393
|
-
triggerEffect: function triggerEffect() {
|
|
9387
|
+
triggerEffect: function triggerEffect(value) {
|
|
9394
9388
|
// 获取当前的form-items
|
|
9395
9389
|
var prevFormItems = this.formItemsForRender;
|
|
9396
9390
|
// 重新生成表单items
|
|
9397
|
-
this.doLayout();
|
|
9391
|
+
this.doLayout(value);
|
|
9398
9392
|
// 初始化vif动态生成的默认值
|
|
9399
9393
|
this.initValue(prevFormItems);
|
|
9400
9394
|
// 重新加载options方法
|
|
@@ -9502,9 +9496,29 @@ var script$n = {
|
|
|
9502
9496
|
getChangedFieldKeys: function getChangedFieldKeys() {
|
|
9503
9497
|
var _this7 = this;
|
|
9504
9498
|
// 当前已经改变的字段keys
|
|
9505
|
-
var
|
|
9499
|
+
var allFormKeys = this.items.map(function (item) {
|
|
9500
|
+
return Array.isArray(item.name) ? item.name.join(',') : item.name;
|
|
9501
|
+
});
|
|
9502
|
+
// 所有的字段names
|
|
9503
|
+
var allFormNames = this.items.reduce(function (memo, item) {
|
|
9504
|
+
// 如果当前是数组
|
|
9505
|
+
if (Array.isArray(item.name)) {
|
|
9506
|
+
memo.push.apply(memo, _toConsumableArray$1(item.name));
|
|
9507
|
+
} else {
|
|
9508
|
+
memo.push(item.name);
|
|
9509
|
+
}
|
|
9510
|
+
return memo;
|
|
9511
|
+
}, []);
|
|
9512
|
+
// 当前已经改变的字段keys
|
|
9513
|
+
var changedFormKeys = allFormKeys.filter(function (key) {
|
|
9506
9514
|
return !isEqual(_this7.modelValue[key], _this7.prevState.modelValue[key]);
|
|
9507
9515
|
});
|
|
9516
|
+
// 当前已经改变的值keys(非表单字段)
|
|
9517
|
+
var changedValueKeys = Object.keys(this.value).filter(function (key) {
|
|
9518
|
+
return !allFormNames.includes(key);
|
|
9519
|
+
}).filter(function (key) {
|
|
9520
|
+
return !isEqual(_this7.value[key], _this7.prevState.value[key]);
|
|
9521
|
+
});
|
|
9508
9522
|
// 当前已经改变的数据源
|
|
9509
9523
|
var dataSourceKeys = Object.keys(_objectSpread2(_objectSpread2({}, this.dataSource), this.prevState.dataSource)).filter(function (key) {
|
|
9510
9524
|
return !isEqual(_this7.dataSource[key], _this7.prevState.dataSource[key]);
|
|
@@ -9512,7 +9526,7 @@ var script$n = {
|
|
|
9512
9526
|
return "dataSource.".concat(key);
|
|
9513
9527
|
});
|
|
9514
9528
|
// 合并数据
|
|
9515
|
-
return [].concat(_toConsumableArray$1(
|
|
9529
|
+
return [].concat(_toConsumableArray$1(changedFormKeys), _toConsumableArray$1(changedValueKeys), _toConsumableArray$1(dataSourceKeys));
|
|
9516
9530
|
},
|
|
9517
9531
|
/**
|
|
9518
9532
|
* 当依赖项发生变化时,重置字段的值
|
|
@@ -9682,9 +9696,12 @@ var script$n = {
|
|
|
9682
9696
|
* 重新生成可渲染的表单项配置数据
|
|
9683
9697
|
* @time 2024-11-05 16:43:54
|
|
9684
9698
|
*/
|
|
9685
|
-
doLayout: function doLayout() {
|
|
9699
|
+
doLayout: function doLayout(value) {
|
|
9700
|
+
var _this1 = this;
|
|
9686
9701
|
// 生成当前需要展示的表单项
|
|
9687
|
-
var formItemsForRender = this.formItems.filter(
|
|
9702
|
+
var formItemsForRender = this.formItems.filter(function (item) {
|
|
9703
|
+
return _this1.vif(item, value);
|
|
9704
|
+
}).filter(function (item) {
|
|
9688
9705
|
// 如果没有名称,则给出提示
|
|
9689
9706
|
if (!item.name) {
|
|
9690
9707
|
console.warn("\u8868\u5355\u9879".concat(item.label, "\u4E2D\u7684name\u5C5E\u6027\u5FC5\u586B,\u8BF7\u68C0\u67E5"));
|
|
@@ -9711,9 +9728,10 @@ var script$n = {
|
|
|
9711
9728
|
/**
|
|
9712
9729
|
* 判断当前表单项是否需要渲染
|
|
9713
9730
|
* @param {Object} itemConfig 表单项配置
|
|
9731
|
+
* @param {Object} value 表单项的值
|
|
9714
9732
|
* @time 2024-10-31 16:56:03
|
|
9715
9733
|
*/
|
|
9716
|
-
vif: function vif(itemConfig) {
|
|
9734
|
+
vif: function vif(itemConfig, value) {
|
|
9717
9735
|
// 如果当前表单项不存在
|
|
9718
9736
|
if (isNil(itemConfig)) {
|
|
9719
9737
|
return false;
|
|
@@ -9729,7 +9747,7 @@ var script$n = {
|
|
|
9729
9747
|
// 如果当前是函数
|
|
9730
9748
|
if (isEvalFunction(itemConfig.vif)) {
|
|
9731
9749
|
// 执行函数,获取展示状态
|
|
9732
|
-
display = formThis.functionEval(itemConfig.vif)(
|
|
9750
|
+
display = formThis.functionEval(itemConfig.vif)(value);
|
|
9733
9751
|
}
|
|
9734
9752
|
// 返回状态
|
|
9735
9753
|
return display;
|
|
@@ -9740,7 +9758,7 @@ var script$n = {
|
|
|
9740
9758
|
* @time 2024-10-31 17:10:44
|
|
9741
9759
|
*/
|
|
9742
9760
|
formItemProps: function formItemProps(props) {
|
|
9743
|
-
var
|
|
9761
|
+
var _this10 = this;
|
|
9744
9762
|
// TODO:按照element和antdesign的不同进行配置
|
|
9745
9763
|
if (isElementUI()) {
|
|
9746
9764
|
// 表单items的属性
|
|
@@ -9752,7 +9770,7 @@ var script$n = {
|
|
|
9752
9770
|
if (isEvalFunction(props[propKey])) {
|
|
9753
9771
|
// 当前4个属性可以通过函数的方式获取值
|
|
9754
9772
|
if (['props', 'rules', 'label', 'labelWidth'].includes(propKey)) {
|
|
9755
|
-
memo[propKey] =
|
|
9773
|
+
memo[propKey] = _this10.functionEval(props[propKey])(_this10.prevState.value);
|
|
9756
9774
|
}
|
|
9757
9775
|
} else {
|
|
9758
9776
|
memo[propKey] = props[propKey];
|
|
@@ -9797,7 +9815,7 @@ var script$n = {
|
|
|
9797
9815
|
* @time 2024-10-31 18:34:58
|
|
9798
9816
|
*/
|
|
9799
9817
|
bindEvent: function bindEvent(itemConfig) {
|
|
9800
|
-
var
|
|
9818
|
+
var _this11 = this;
|
|
9801
9819
|
// 取出事件key
|
|
9802
9820
|
var key = itemConfig.key;
|
|
9803
9821
|
// 获取当前表单项的类型
|
|
@@ -9885,7 +9903,7 @@ var script$n = {
|
|
|
9885
9903
|
selectEvent['visible-change'].apply(selectEvent, args);
|
|
9886
9904
|
}
|
|
9887
9905
|
// 执行函数
|
|
9888
|
-
|
|
9906
|
+
_this11.$nextTick(function () {
|
|
9889
9907
|
return formThis.functionEval(events[eventKey]).apply(void 0, args);
|
|
9890
9908
|
});
|
|
9891
9909
|
};
|
|
@@ -9932,7 +9950,7 @@ var script$n = {
|
|
|
9932
9950
|
* @time 2024-11-13 09:46:01
|
|
9933
9951
|
*/
|
|
9934
9952
|
getOptions: function getOptions(keys) {
|
|
9935
|
-
var
|
|
9953
|
+
var _this12 = this;
|
|
9936
9954
|
// 当前字段的keys
|
|
9937
9955
|
var fieldKeys = keys ? Array.isArray(keys) ? keys : [keys] : this.formItemsForRender.map(function (item) {
|
|
9938
9956
|
return item.key;
|
|
@@ -9942,8 +9960,8 @@ var script$n = {
|
|
|
9942
9960
|
// 取出需要的数据
|
|
9943
9961
|
fieldKeys.forEach(function (key) {
|
|
9944
9962
|
// 如果api组件存在,则获取接口响应的数据
|
|
9945
|
-
if (
|
|
9946
|
-
options[key] = cloneDeep(
|
|
9963
|
+
if (_this12.$refs["".concat(key, "Api")]) {
|
|
9964
|
+
options[key] = cloneDeep(_this12.$refs["".concat(key, "Api")].respData);
|
|
9947
9965
|
}
|
|
9948
9966
|
});
|
|
9949
9967
|
// 获取options的所有数据
|
|
@@ -9954,13 +9972,13 @@ var script$n = {
|
|
|
9954
9972
|
* @time 2024-11-12 19:25:15
|
|
9955
9973
|
*/
|
|
9956
9974
|
validate: function validate() {
|
|
9957
|
-
var
|
|
9975
|
+
var _this13 = this;
|
|
9958
9976
|
return _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
9959
9977
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
9960
9978
|
while (1) switch (_context.prev = _context.next) {
|
|
9961
9979
|
case 0:
|
|
9962
9980
|
_context.next = 2;
|
|
9963
|
-
return
|
|
9981
|
+
return _this13.$refs.form.validate();
|
|
9964
9982
|
case 2:
|
|
9965
9983
|
case "end":
|
|
9966
9984
|
return _context.stop();
|
|
@@ -9988,12 +10006,12 @@ var script$n = {
|
|
|
9988
10006
|
* @time 2024-11-12 19:41:58
|
|
9989
10007
|
*/
|
|
9990
10008
|
resetFields: function resetFields() {
|
|
9991
|
-
var
|
|
10009
|
+
var _this14 = this;
|
|
9992
10010
|
// 清空上一次的options的请求参数
|
|
9993
10011
|
this.prevState.optionParams = {};
|
|
9994
10012
|
// 初始化默认值
|
|
9995
10013
|
this.formItemsForRender.forEach(function (item) {
|
|
9996
|
-
|
|
10014
|
+
_this14.triggerInitDefaultValue(item);
|
|
9997
10015
|
});
|
|
9998
10016
|
// 清空校验
|
|
9999
10017
|
this.$nextTick(this.clearValidate.bind(this));
|
|
@@ -10004,7 +10022,7 @@ var script$n = {
|
|
|
10004
10022
|
* @time 2024-12-09 19:23:56
|
|
10005
10023
|
*/
|
|
10006
10024
|
evalComponentProps: function evalComponentProps(itemConfig, props) {
|
|
10007
|
-
var
|
|
10025
|
+
var _this15 = this;
|
|
10008
10026
|
// 如果没有属性
|
|
10009
10027
|
if (!props) {
|
|
10010
10028
|
return {};
|
|
@@ -10017,12 +10035,12 @@ var script$n = {
|
|
|
10017
10035
|
// 得到结果
|
|
10018
10036
|
var evalResult = functionEval(function () {
|
|
10019
10037
|
return {
|
|
10020
|
-
model:
|
|
10021
|
-
dataSource:
|
|
10022
|
-
config:
|
|
10023
|
-
formThis:
|
|
10024
|
-
pageThis:
|
|
10025
|
-
options:
|
|
10038
|
+
model: _this15.modelValue,
|
|
10039
|
+
dataSource: _this15.dataSource,
|
|
10040
|
+
config: _this15.config,
|
|
10041
|
+
formThis: _this15,
|
|
10042
|
+
pageThis: _this15.pageThis || _this15.$parent,
|
|
10043
|
+
options: _this15.getOptions(itemConfig.key)
|
|
10026
10044
|
};
|
|
10027
10045
|
})(props[propKey]).apply(void 0, arguments);
|
|
10028
10046
|
// 过滤的key
|
|
@@ -10030,11 +10048,11 @@ var script$n = {
|
|
|
10030
10048
|
// 如果当前是remoteMethod属性,则需要覆盖
|
|
10031
10049
|
if (!isEmpty(filteredDataKey)) {
|
|
10032
10050
|
// 如果属性不存在
|
|
10033
|
-
if (!
|
|
10034
|
-
|
|
10051
|
+
if (!_this15.filteredData[filteredDataKey]) {
|
|
10052
|
+
_this15.$set(_this15.filteredData, filteredDataKey, {});
|
|
10035
10053
|
}
|
|
10036
10054
|
// 设置值
|
|
10037
|
-
|
|
10055
|
+
_this15.$set(_this15.filteredData[filteredDataKey], itemConfig.key, evalResult);
|
|
10038
10056
|
}
|
|
10039
10057
|
return evalResult;
|
|
10040
10058
|
};
|
|
@@ -10074,7 +10092,7 @@ var script$n = {
|
|
|
10074
10092
|
* @time 2025-05-13 18:11:06
|
|
10075
10093
|
*/
|
|
10076
10094
|
getNiceOptions: function getNiceOptions(options, key) {
|
|
10077
|
-
var
|
|
10095
|
+
var _this16 = this;
|
|
10078
10096
|
// 如果没有下拉
|
|
10079
10097
|
if (!options || (options === null || options === void 0 ? void 0 : options.length) === 0) {
|
|
10080
10098
|
return [];
|
|
@@ -10093,8 +10111,8 @@ var script$n = {
|
|
|
10093
10111
|
}
|
|
10094
10112
|
// 当前绑定的值
|
|
10095
10113
|
return options === null || options === void 0 ? void 0 : options.filter(function (option) {
|
|
10096
|
-
var
|
|
10097
|
-
return Array.isArray(
|
|
10114
|
+
var _this16$modelValue$ke;
|
|
10115
|
+
return Array.isArray(_this16.modelValue[key]) ? (_this16$modelValue$ke = _this16.modelValue[key]) === null || _this16$modelValue$ke === void 0 ? void 0 : _this16$modelValue$ke.includes(option.value) : _this16.modelValue[key] === option.value;
|
|
10098
10116
|
});
|
|
10099
10117
|
},
|
|
10100
10118
|
/**
|
|
@@ -10133,7 +10151,7 @@ var script$n = {
|
|
|
10133
10151
|
}
|
|
10134
10152
|
},
|
|
10135
10153
|
render: function render(h) {
|
|
10136
|
-
var
|
|
10154
|
+
var _this17 = this;
|
|
10137
10155
|
// 获取表单组件
|
|
10138
10156
|
var _getComponentNames3 = getComponentNames(['form', 'form-item', 'row', 'col']),
|
|
10139
10157
|
_getComponentNames4 = _slicedToArray(_getComponentNames3, 4),
|
|
@@ -10230,16 +10248,16 @@ var script$n = {
|
|
|
10230
10248
|
var defaultProps = {
|
|
10231
10249
|
filterMethod: function filterMethod(query) {
|
|
10232
10250
|
// 如果没有下拉配置
|
|
10233
|
-
if (!
|
|
10234
|
-
|
|
10251
|
+
if (!_this17.optionConfig[key]) {
|
|
10252
|
+
_this17.$set(_this17.optionConfig, key, {
|
|
10235
10253
|
page: 1,
|
|
10236
10254
|
remoteQuery: query
|
|
10237
10255
|
});
|
|
10238
10256
|
} else {
|
|
10239
10257
|
// 从第一页开始搜索
|
|
10240
|
-
|
|
10258
|
+
_this17.$set(_this17.optionConfig[key], 'page', 1);
|
|
10241
10259
|
// 搜索的关键字
|
|
10242
|
-
|
|
10260
|
+
_this17.$set(_this17.optionConfig[key], 'remoteQuery', query);
|
|
10243
10261
|
}
|
|
10244
10262
|
}
|
|
10245
10263
|
};
|
|
@@ -10252,7 +10270,7 @@ var script$n = {
|
|
|
10252
10270
|
* @time 2024-10-31 17:41:10
|
|
10253
10271
|
*/
|
|
10254
10272
|
var formInputComp = function formInputComp(itemConfig, formItemsProps, options) {
|
|
10255
|
-
var _itemConfig$slots,
|
|
10273
|
+
var _itemConfig$slots, _this17$filteredData$, _this17$getNiceOption, _options$data, _options$data2;
|
|
10256
10274
|
// 下拉组件,单选组件,多选组件
|
|
10257
10275
|
var _getComponentNames5 = getComponentNames(['option', 'radio-group', 'checkbox-group', itemConfig.type]),
|
|
10258
10276
|
_getComponentNames6 = _slicedToArray(_getComponentNames5, 4),
|
|
@@ -10269,21 +10287,21 @@ var script$n = {
|
|
|
10269
10287
|
}, {
|
|
10270
10288
|
DatePicker: defaultDatePickerProps(itemConfig.props),
|
|
10271
10289
|
Select: defaultSelectProps(itemConfig.key)
|
|
10272
|
-
}[itemConfig.type] || {}),
|
|
10290
|
+
}[itemConfig.type] || {}), _this17.evalComponentProps(itemConfig, formItemsProps.props));
|
|
10273
10291
|
// 当前组件的插槽
|
|
10274
10292
|
var componentSlots = (_itemConfig$slots = itemConfig.slots) === null || _itemConfig$slots === void 0 ? void 0 : _itemConfig$slots.component;
|
|
10275
10293
|
// 等待渲染的插槽
|
|
10276
10294
|
var renderComponentSlots = componentSlots ? Object.keys(componentSlots).reduce(function (memo, key) {
|
|
10277
10295
|
// 如果当前有插槽
|
|
10278
|
-
if (
|
|
10296
|
+
if (_this17.$scopedSlots[componentSlots[key]]) {
|
|
10279
10297
|
memo.push(h("span", {
|
|
10280
10298
|
"slot": key
|
|
10281
|
-
}, [
|
|
10299
|
+
}, [_this17.$scopedSlots[componentSlots[key]]()]));
|
|
10282
10300
|
}
|
|
10283
10301
|
return memo;
|
|
10284
10302
|
}, []) : null;
|
|
10285
10303
|
// 过滤的数据
|
|
10286
|
-
var filterOptionsData = (
|
|
10304
|
+
var filterOptionsData = (_this17$filteredData$ = _this17.filteredData.options) === null || _this17$filteredData$ === void 0 ? void 0 : _this17$filteredData$[itemConfig.key];
|
|
10287
10305
|
// 下拉数据
|
|
10288
10306
|
var optionsData = filterOptionsData || options.data;
|
|
10289
10307
|
// 插槽名称
|
|
@@ -10292,13 +10310,13 @@ var script$n = {
|
|
|
10292
10310
|
switch (itemConfig.type) {
|
|
10293
10311
|
case 'Slot':
|
|
10294
10312
|
// 如果是插槽组件
|
|
10295
|
-
comp =
|
|
10313
|
+
comp = _this17.$slots[slotName] ? _this17.$slots[slotName] : _this17.$scopedSlots[slotName] ? _this17.$scopedSlots[slotName](_this17.modelValue) : null;
|
|
10296
10314
|
break;
|
|
10297
10315
|
case 'Select':
|
|
10298
10316
|
// 如果是下拉组件
|
|
10299
10317
|
comp = h(ComponentType, _mergeJSXProps([{
|
|
10300
10318
|
"attrs": {
|
|
10301
|
-
"value":
|
|
10319
|
+
"value": _this17.modelValue[itemConfig.key]
|
|
10302
10320
|
}
|
|
10303
10321
|
}, {
|
|
10304
10322
|
"props": _objectSpread2(_objectSpread2({}, componentProps), {}, {
|
|
@@ -10316,7 +10334,7 @@ var script$n = {
|
|
|
10316
10334
|
}, {}, {
|
|
10317
10335
|
"nativeOn": bindNativeEvent(itemConfig)
|
|
10318
10336
|
}]), [renderComponentSlots, // 循环options的数据
|
|
10319
|
-
(
|
|
10337
|
+
(_this17$getNiceOption = _this17.getNiceOptions(optionsData, itemConfig.key)) === null || _this17$getNiceOption === void 0 ? void 0 : _this17$getNiceOption.map(function (option) {
|
|
10320
10338
|
return h(Option, {
|
|
10321
10339
|
"key": option.key || option.value,
|
|
10322
10340
|
"attrs": {
|
|
@@ -10335,7 +10353,7 @@ var script$n = {
|
|
|
10335
10353
|
// 如果是单选按钮
|
|
10336
10354
|
comp = h(RadioGroup, _mergeJSXProps([{
|
|
10337
10355
|
"attrs": {
|
|
10338
|
-
"value":
|
|
10356
|
+
"value": _this17.modelValue[itemConfig.key]
|
|
10339
10357
|
}
|
|
10340
10358
|
}, {
|
|
10341
10359
|
"props": componentProps
|
|
@@ -10363,7 +10381,7 @@ var script$n = {
|
|
|
10363
10381
|
// 如果是多选按钮
|
|
10364
10382
|
comp = h(CheckboxGroup, _mergeJSXProps([{
|
|
10365
10383
|
"attrs": {
|
|
10366
|
-
"value":
|
|
10384
|
+
"value": _this17.modelValue[itemConfig.key]
|
|
10367
10385
|
}
|
|
10368
10386
|
}, {
|
|
10369
10387
|
"props": componentProps
|
|
@@ -10392,12 +10410,12 @@ var script$n = {
|
|
|
10392
10410
|
comp = h(ComponentType, {
|
|
10393
10411
|
props: _objectSpread2(_objectSpread2({}, componentProps), {}, {
|
|
10394
10412
|
options: options.data || [],
|
|
10395
|
-
value:
|
|
10413
|
+
value: _this17.modelValue[itemConfig.key]
|
|
10396
10414
|
}),
|
|
10397
10415
|
attrs: _objectSpread2(_objectSpread2({}, getFormAttrs(componentProps)), {}, {
|
|
10398
10416
|
placeholder: componentProps.placeholder || "\u8BF7".concat(['Input', 'InputNumber'].includes(itemConfig.type) ? '输入' : '选择').concat(formItemsProps.label)
|
|
10399
10417
|
}),
|
|
10400
|
-
directives:
|
|
10418
|
+
directives: _this17.getComponentDirective(itemConfig.directive),
|
|
10401
10419
|
class: [componentProps.class, 'iov-pro-form--width-fill'].join(' '),
|
|
10402
10420
|
style: componentProps.style,
|
|
10403
10421
|
on: bindEvent(itemConfig),
|
|
@@ -10412,7 +10430,7 @@ var script$n = {
|
|
|
10412
10430
|
var FormItems = this.formItemsForRender.map(function (item) {
|
|
10413
10431
|
var _item$slots;
|
|
10414
10432
|
// 当前表单项的props
|
|
10415
|
-
var formItemProps =
|
|
10433
|
+
var formItemProps = _this17.formItemProps(item);
|
|
10416
10434
|
// 表单配置的slots
|
|
10417
10435
|
var formItemSlots = (_item$slots = item.slots) === null || _item$slots === void 0 ? void 0 : _item$slots.formItem;
|
|
10418
10436
|
// 当前表单项配置
|
|
@@ -10425,8 +10443,8 @@ var script$n = {
|
|
|
10425
10443
|
}, {
|
|
10426
10444
|
"scopedSlots": formItemSlots ? Object.keys(formItemSlots).reduce(function (memo, key) {
|
|
10427
10445
|
// 如果当前有插槽内容,则直接渲染
|
|
10428
|
-
if (
|
|
10429
|
-
memo[key] =
|
|
10446
|
+
if (_this17.$scopedSlots[formItemSlots[key]]) {
|
|
10447
|
+
memo[key] = _this17.$scopedSlots[formItemSlots[key]];
|
|
10430
10448
|
}
|
|
10431
10449
|
return memo;
|
|
10432
10450
|
}, {}) : {},
|
|
@@ -10437,7 +10455,7 @@ var script$n = {
|
|
|
10437
10455
|
"ref": "".concat(item.key, "Api"),
|
|
10438
10456
|
"attrs": {
|
|
10439
10457
|
"api": item.optionsCallback,
|
|
10440
|
-
"params":
|
|
10458
|
+
"params": _this17.optionParams[item.key]
|
|
10441
10459
|
},
|
|
10442
10460
|
"scopedSlots": {
|
|
10443
10461
|
default: function _default(options) {
|
|
@@ -10445,14 +10463,14 @@ var script$n = {
|
|
|
10445
10463
|
}
|
|
10446
10464
|
},
|
|
10447
10465
|
"on": {
|
|
10448
|
-
"loaded":
|
|
10466
|
+
"loaded": _this17.onOptionsLoaded.bind(_this17, item)
|
|
10449
10467
|
}
|
|
10450
10468
|
}) : formInputComp(item, formItemProps, {
|
|
10451
10469
|
data: [],
|
|
10452
10470
|
loading: false
|
|
10453
10471
|
})]);
|
|
10454
10472
|
// 如果当前需要栅格系统
|
|
10455
|
-
if (
|
|
10473
|
+
if (_this17.config.grid) {
|
|
10456
10474
|
ItemComp = h(Col, {
|
|
10457
10475
|
"key": item.key,
|
|
10458
10476
|
"attrs": {
|
|
@@ -10489,7 +10507,7 @@ var script$n = {
|
|
|
10489
10507
|
FormItemsInRows.map(function (row) {
|
|
10490
10508
|
return h(Row, {
|
|
10491
10509
|
"attrs": {
|
|
10492
|
-
"gutter":
|
|
10510
|
+
"gutter": _this17.config.gutter
|
|
10493
10511
|
}
|
|
10494
10512
|
}, [row]);
|
|
10495
10513
|
})]);
|
|
@@ -11101,14 +11119,14 @@ var __vue_render__$7 = function __vue_render__() {
|
|
|
11101
11119
|
}
|
|
11102
11120
|
}) : _vm._e(), _vm._v(" "), _c("span", {
|
|
11103
11121
|
staticClass: "iov-pro-page-module__name-text"
|
|
11104
|
-
}, [_vm._v(_vm._s(_vm.name))]), _vm._v(" "), _vm
|
|
11105
|
-
staticClass: "iov-pro-page-module__suffix"
|
|
11106
|
-
}, [_vm._t("suffix")], 2) : _vm._e(), _vm._v(" "), _vm.isCollapse ? _c("div", {
|
|
11122
|
+
}, [_vm._v(_vm._s(_vm.name))]), _vm._v(" "), _vm.isCollapse ? _c("div", {
|
|
11107
11123
|
class: "iov-icon-arrow-" + _vm.collpaseStatus,
|
|
11108
11124
|
on: {
|
|
11109
11125
|
click: _vm.onToggleCollapseStatus
|
|
11110
11126
|
}
|
|
11111
|
-
}) : _vm._e()
|
|
11127
|
+
}) : _vm._e(), _vm._v(" "), _vm.$slots.suffix ? _c("div", {
|
|
11128
|
+
staticClass: "iov-pro-page-module__suffix"
|
|
11129
|
+
}, [_vm._t("suffix")], 2) : _vm._e()]) : _vm._e(), _vm._v(" "), _vm.$slots.help ? _c("div", {
|
|
11112
11130
|
staticClass: "iov-pro-page-module__help"
|
|
11113
11131
|
}, [_vm._t("help")], 2) : _vm._e()]) : _vm._e(), _vm._v(" "), _vm.collpaseStatus === "up" ? _c("div", {
|
|
11114
11132
|
staticClass: "iov-pro-page-module__body"
|
|
@@ -12365,7 +12383,7 @@ var script$f = {
|
|
|
12365
12383
|
}
|
|
12366
12384
|
}, [item.label]);
|
|
12367
12385
|
})]), h("div", {
|
|
12368
|
-
"class": 'iov-pro-table-filter__operation'
|
|
12386
|
+
"class": 'iov-pro-table-filter__operation is-center'
|
|
12369
12387
|
}, [h(Button, {
|
|
12370
12388
|
"attrs": {
|
|
12371
12389
|
"size": 'mini'
|
|
@@ -20311,10 +20329,35 @@ var script$8 = {
|
|
|
20311
20329
|
* @time 2024-11-18 09:43:49
|
|
20312
20330
|
*/
|
|
20313
20331
|
onSearch: function onSearch() {
|
|
20314
|
-
|
|
20315
|
-
|
|
20316
|
-
|
|
20317
|
-
|
|
20332
|
+
var _this2 = this;
|
|
20333
|
+
return _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
20334
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
20335
|
+
while (1) switch (_context.prev = _context.next) {
|
|
20336
|
+
case 0:
|
|
20337
|
+
_context.prev = 0;
|
|
20338
|
+
if (!_this2.$refs.form) {
|
|
20339
|
+
_context.next = 4;
|
|
20340
|
+
break;
|
|
20341
|
+
}
|
|
20342
|
+
_context.next = 4;
|
|
20343
|
+
return _this2.$refs.form.validate();
|
|
20344
|
+
case 4:
|
|
20345
|
+
// 追加请求参数
|
|
20346
|
+
_this2.appendRequestParams(_this2.formData);
|
|
20347
|
+
// 重置表格分页数据
|
|
20348
|
+
_this2.$refs.table.onReset();
|
|
20349
|
+
_context.next = 11;
|
|
20350
|
+
break;
|
|
20351
|
+
case 8:
|
|
20352
|
+
_context.prev = 8;
|
|
20353
|
+
_context.t0 = _context["catch"](0);
|
|
20354
|
+
console.log('表单校验失败:', _context.t0);
|
|
20355
|
+
case 11:
|
|
20356
|
+
case "end":
|
|
20357
|
+
return _context.stop();
|
|
20358
|
+
}
|
|
20359
|
+
}, _callee, null, [[0, 8]]);
|
|
20360
|
+
}))();
|
|
20318
20361
|
},
|
|
20319
20362
|
/**
|
|
20320
20363
|
* 刷新表格数据
|
|
@@ -20334,7 +20377,7 @@ var script$8 = {
|
|
|
20334
20377
|
* @time 2024-11-18 09:49:31
|
|
20335
20378
|
*/
|
|
20336
20379
|
onReset: function onReset() {
|
|
20337
|
-
var
|
|
20380
|
+
var _this3 = this;
|
|
20338
20381
|
// 重置表单数据
|
|
20339
20382
|
this.$refs.form.resetFields();
|
|
20340
20383
|
// 清空表格高级搜索的内容
|
|
@@ -20342,11 +20385,11 @@ var script$8 = {
|
|
|
20342
20385
|
// 接口重新加载数据
|
|
20343
20386
|
this.$nextTick(function () {
|
|
20344
20387
|
// 抛出reset事件
|
|
20345
|
-
|
|
20388
|
+
_this3.$emit('reset');
|
|
20346
20389
|
// 追加请求参数
|
|
20347
|
-
|
|
20390
|
+
_this3.appendRequestParams(_this3.formData);
|
|
20348
20391
|
// 重置表格分页数据
|
|
20349
|
-
|
|
20392
|
+
_this3.$refs.table.onReset();
|
|
20350
20393
|
});
|
|
20351
20394
|
},
|
|
20352
20395
|
/**
|
|
@@ -20354,7 +20397,7 @@ var script$8 = {
|
|
|
20354
20397
|
* @time 2024-11-26 20:10:08
|
|
20355
20398
|
*/
|
|
20356
20399
|
normalizeFormItems: function normalizeFormItems() {
|
|
20357
|
-
var
|
|
20400
|
+
var _this4 = this;
|
|
20358
20401
|
// 是否使用外部label
|
|
20359
20402
|
var _this$config = this.config,
|
|
20360
20403
|
outerLabel = _this$config.outerLabel,
|
|
@@ -20390,8 +20433,8 @@ var script$8 = {
|
|
|
20390
20433
|
// 当值发生改变时触发校验
|
|
20391
20434
|
var onSearchByValueChange = function onSearchByValueChange() {
|
|
20392
20435
|
// 等数据更新后再执行搜索
|
|
20393
|
-
|
|
20394
|
-
return
|
|
20436
|
+
_this4.$nextTick(function () {
|
|
20437
|
+
return _this4.onSearch();
|
|
20395
20438
|
});
|
|
20396
20439
|
};
|
|
20397
20440
|
// 输入内容被清空后,重新搜索
|
|
@@ -20441,8 +20484,8 @@ var script$8 = {
|
|
|
20441
20484
|
}
|
|
20442
20485
|
// 如果当前是dot模式,并且未设置
|
|
20443
20486
|
if ([undefined, null].includes(itemCopy.config.size)) {
|
|
20444
|
-
// 如果当前是dot模式,则默认是
|
|
20445
|
-
itemCopy.config.size = [undefined, null].includes(itemCopy.config.dot) ? 'mini' : '
|
|
20487
|
+
// 如果当前是dot模式,则默认是small,否则是mini
|
|
20488
|
+
itemCopy.config.size = [undefined, null].includes(itemCopy.config.dot) ? 'mini' : 'small';
|
|
20446
20489
|
}
|
|
20447
20490
|
}
|
|
20448
20491
|
return itemCopy;
|
|
@@ -20512,7 +20555,7 @@ var script$8 = {
|
|
|
20512
20555
|
* @time 2025-08-13 16:25:25
|
|
20513
20556
|
*/
|
|
20514
20557
|
normalizeTableEvent: function normalizeTableEvent() {
|
|
20515
|
-
var
|
|
20558
|
+
var _this5 = this;
|
|
20516
20559
|
// 当前事件
|
|
20517
20560
|
var EVENTS = [].concat(_toConsumableArray$1(PAGINATION_EVENTS), _toConsumableArray$1(TABLE_EVENTS));
|
|
20518
20561
|
// 标准化后的表格事件
|
|
@@ -20524,10 +20567,10 @@ var script$8 = {
|
|
|
20524
20567
|
}
|
|
20525
20568
|
// 如果当前是过滤数据
|
|
20526
20569
|
if (eventKey === 'filter-change') {
|
|
20527
|
-
|
|
20570
|
+
_this5.onFilterChange.apply(_this5, args);
|
|
20528
20571
|
}
|
|
20529
20572
|
// 抛出事件
|
|
20530
|
-
|
|
20573
|
+
_this5.$emit.apply(_this5, [eventKey].concat(args));
|
|
20531
20574
|
};
|
|
20532
20575
|
// 返回事件
|
|
20533
20576
|
return memo;
|
|
@@ -20540,33 +20583,33 @@ var script$8 = {
|
|
|
20540
20583
|
* @time 2025-08-13 16:31:24
|
|
20541
20584
|
*/
|
|
20542
20585
|
normalizeTableRequest: function normalizeTableRequest() {
|
|
20543
|
-
var
|
|
20586
|
+
var _this6 = this;
|
|
20544
20587
|
// 序列化后的表格请求对象
|
|
20545
20588
|
var normalizedTableRequest = _objectSpread2(_objectSpread2({
|
|
20546
20589
|
reloadOnParamsChange: true,
|
|
20547
20590
|
immediate: true
|
|
20548
20591
|
}, this.request), {}, {
|
|
20549
20592
|
api: function () {
|
|
20550
|
-
var _api = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function
|
|
20593
|
+
var _api = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(params) {
|
|
20551
20594
|
var respData;
|
|
20552
|
-
return _regeneratorRuntime().wrap(function
|
|
20553
|
-
while (1) switch (
|
|
20595
|
+
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
20596
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
20554
20597
|
case 0:
|
|
20555
20598
|
// 触发请求前事件
|
|
20556
|
-
|
|
20599
|
+
_this6.$emit('before-request', params);
|
|
20557
20600
|
// 获取接口请求接口
|
|
20558
|
-
|
|
20559
|
-
return
|
|
20601
|
+
_context2.next = 3;
|
|
20602
|
+
return _this6.request.api(params);
|
|
20560
20603
|
case 3:
|
|
20561
|
-
respData =
|
|
20604
|
+
respData = _context2.sent;
|
|
20562
20605
|
// 触发请求后事件
|
|
20563
|
-
|
|
20564
|
-
return
|
|
20606
|
+
_this6.$emit('after-request', respData);
|
|
20607
|
+
return _context2.abrupt("return", respData);
|
|
20565
20608
|
case 6:
|
|
20566
20609
|
case "end":
|
|
20567
|
-
return
|
|
20610
|
+
return _context2.stop();
|
|
20568
20611
|
}
|
|
20569
|
-
},
|
|
20612
|
+
}, _callee2);
|
|
20570
20613
|
}));
|
|
20571
20614
|
function api(_x) {
|
|
20572
20615
|
return _api.apply(this, arguments);
|
|
@@ -20621,7 +20664,7 @@ var script$8 = {
|
|
|
20621
20664
|
* @time 2025-02-18 13:49:55
|
|
20622
20665
|
*/
|
|
20623
20666
|
onFilterChange: function onFilterChange(column, value) {
|
|
20624
|
-
var
|
|
20667
|
+
var _this7 = this;
|
|
20625
20668
|
// 塞入值
|
|
20626
20669
|
this.$set(this.tableAdvanceData, column.prop, value);
|
|
20627
20670
|
// 开始塞入筛选数据
|
|
@@ -20629,7 +20672,7 @@ var script$8 = {
|
|
|
20629
20672
|
// 等数据塞入后开始重置页面查询
|
|
20630
20673
|
this.$nextTick(function () {
|
|
20631
20674
|
// 重置表格分页数据
|
|
20632
|
-
|
|
20675
|
+
_this7.$refs.table.resetPagination();
|
|
20633
20676
|
});
|
|
20634
20677
|
},
|
|
20635
20678
|
/**
|
|
@@ -20647,7 +20690,7 @@ var script$8 = {
|
|
|
20647
20690
|
}
|
|
20648
20691
|
},
|
|
20649
20692
|
render: function render() {
|
|
20650
|
-
var
|
|
20693
|
+
var _this8 = this;
|
|
20651
20694
|
var h = arguments[0];
|
|
20652
20695
|
var _getComponentNames = getComponentNames(['col', 'button']),
|
|
20653
20696
|
_getComponentNames2 = _slicedToArray(_getComponentNames, 2),
|
|
@@ -20660,12 +20703,12 @@ var script$8 = {
|
|
|
20660
20703
|
toggleStatus = _ref2.toggleStatus,
|
|
20661
20704
|
needCollapse = _ref2.needCollapse;
|
|
20662
20705
|
// 插槽
|
|
20663
|
-
var scopedSlots =
|
|
20706
|
+
var scopedSlots = _this8.config.simple ? {} : {
|
|
20664
20707
|
append: function append() {
|
|
20665
|
-
var
|
|
20708
|
+
var _this8$normalizedButt, _this8$normalizedButt2, _this8$normalizedButt3, _this8$normalizedButt4, _this8$normalizedButt5, _this8$normalizedButt6, _this8$normalizedButt7, _this8$normalizedButt8;
|
|
20666
20709
|
return h(Col, {
|
|
20667
20710
|
"attrs": {
|
|
20668
|
-
"span":
|
|
20711
|
+
"span": _this8.normalizedFormConfig.span
|
|
20669
20712
|
}
|
|
20670
20713
|
}, [h(__vue_component__$x, {
|
|
20671
20714
|
"class": 'search-table__append',
|
|
@@ -20675,23 +20718,23 @@ var script$8 = {
|
|
|
20675
20718
|
}
|
|
20676
20719
|
}, [h(Button, {
|
|
20677
20720
|
"attrs": {
|
|
20678
|
-
"type": (
|
|
20679
|
-
"size": (
|
|
20680
|
-
"round": (
|
|
20681
|
-
"plain": (
|
|
20721
|
+
"type": (_this8$normalizedButt = _this8.normalizedButtonConfig.search) === null || _this8$normalizedButt === void 0 ? void 0 : _this8$normalizedButt.type,
|
|
20722
|
+
"size": (_this8$normalizedButt2 = _this8.normalizedButtonConfig.search) === null || _this8$normalizedButt2 === void 0 ? void 0 : _this8$normalizedButt2.size,
|
|
20723
|
+
"round": (_this8$normalizedButt3 = _this8.normalizedButtonConfig.search) === null || _this8$normalizedButt3 === void 0 ? void 0 : _this8$normalizedButt3.round,
|
|
20724
|
+
"plain": (_this8$normalizedButt4 = _this8.normalizedButtonConfig.search) === null || _this8$normalizedButt4 === void 0 ? void 0 : _this8$normalizedButt4.plain
|
|
20682
20725
|
},
|
|
20683
20726
|
"on": {
|
|
20684
|
-
"click":
|
|
20727
|
+
"click": _this8.onSearch
|
|
20685
20728
|
}
|
|
20686
20729
|
}, ["\u67E5\u8BE2"]), h(Button, {
|
|
20687
20730
|
"attrs": {
|
|
20688
|
-
"type": (
|
|
20689
|
-
"size": (
|
|
20690
|
-
"round": (
|
|
20691
|
-
"plain": (
|
|
20731
|
+
"type": (_this8$normalizedButt5 = _this8.normalizedButtonConfig.reset) === null || _this8$normalizedButt5 === void 0 ? void 0 : _this8$normalizedButt5.type,
|
|
20732
|
+
"size": (_this8$normalizedButt6 = _this8.normalizedButtonConfig.reset) === null || _this8$normalizedButt6 === void 0 ? void 0 : _this8$normalizedButt6.size,
|
|
20733
|
+
"round": (_this8$normalizedButt7 = _this8.normalizedButtonConfig.reset) === null || _this8$normalizedButt7 === void 0 ? void 0 : _this8$normalizedButt7.round,
|
|
20734
|
+
"plain": (_this8$normalizedButt8 = _this8.normalizedButtonConfig.search) === null || _this8$normalizedButt8 === void 0 ? void 0 : _this8$normalizedButt8.plain
|
|
20692
20735
|
},
|
|
20693
20736
|
"on": {
|
|
20694
|
-
"click":
|
|
20737
|
+
"click": _this8.onReset
|
|
20695
20738
|
}
|
|
20696
20739
|
}, ["\u91CD\u7F6E"]), status && needCollapse && h("span", {
|
|
20697
20740
|
"class": ['search-table__toggle-status', status].join(' '),
|
|
@@ -20704,27 +20747,34 @@ var script$8 = {
|
|
|
20704
20747
|
}
|
|
20705
20748
|
};
|
|
20706
20749
|
// 遍历所有的prefixLabel
|
|
20707
|
-
|
|
20708
|
-
|
|
20709
|
-
|
|
20710
|
-
|
|
20711
|
-
|
|
20712
|
-
|
|
20713
|
-
}
|
|
20750
|
+
_this8.normalizedFormItems.forEach(function (item) {
|
|
20751
|
+
// 如果当前需要内置插槽
|
|
20752
|
+
if (item.slots && item.slots.component && item.slots.component.prefixLabel) {
|
|
20753
|
+
scopedSlots[item.slots.component.prefixLabel] = function () {
|
|
20754
|
+
return item.label;
|
|
20755
|
+
};
|
|
20756
|
+
}
|
|
20757
|
+
// 如果当前类型是slot
|
|
20758
|
+
if (item.type === 'slot') {
|
|
20759
|
+
// 当前插槽的名称
|
|
20760
|
+
var slotName = item.slotName || (Array.isArray(item.name) ? item.name.join(',') : item.name);
|
|
20761
|
+
// 塞入插槽
|
|
20762
|
+
scopedSlots[slotName] = _this8.$scopedSlots[slotName];
|
|
20763
|
+
}
|
|
20714
20764
|
});
|
|
20715
|
-
return
|
|
20765
|
+
return _this8.normalizedFormItems.length > 0 ? h(__vue_component__$n, {
|
|
20716
20766
|
"ref": 'form',
|
|
20717
20767
|
"attrs": {
|
|
20718
|
-
"data-source":
|
|
20719
|
-
"value":
|
|
20720
|
-
"items":
|
|
20721
|
-
"config":
|
|
20768
|
+
"data-source": _this8.dataSource,
|
|
20769
|
+
"value": _this8.formData,
|
|
20770
|
+
"items": _this8.normalizedFormItems,
|
|
20771
|
+
"config": _this8.normalizedFormConfig
|
|
20722
20772
|
},
|
|
20723
20773
|
"on": {
|
|
20724
20774
|
"input": function input(val) {
|
|
20725
|
-
return
|
|
20775
|
+
return _this8.formData = val;
|
|
20726
20776
|
},
|
|
20727
|
-
"change":
|
|
20777
|
+
"change": _this8.onFormChange
|
|
20728
20778
|
},
|
|
20729
20779
|
"scopedSlots": scopedSlots
|
|
20730
20780
|
}) : null;
|
|
@@ -20735,29 +20785,29 @@ var script$8 = {
|
|
|
20735
20785
|
return h(__vue_component__$d, _mergeJSXProps([{
|
|
20736
20786
|
"ref": 'table',
|
|
20737
20787
|
"attrs": {
|
|
20738
|
-
"columns":
|
|
20739
|
-
"request":
|
|
20740
|
-
"config":
|
|
20788
|
+
"columns": _this8.normalizedTableColumns,
|
|
20789
|
+
"request": _this8.normalizedTableRequest,
|
|
20790
|
+
"config": _this8.normalizedTableConfig
|
|
20741
20791
|
},
|
|
20742
|
-
"scopedSlots":
|
|
20792
|
+
"scopedSlots": _this8.$scopedSlots
|
|
20743
20793
|
}, {
|
|
20744
|
-
"on":
|
|
20794
|
+
"on": _this8.normalizedTableEvent
|
|
20745
20795
|
}]));
|
|
20746
20796
|
};
|
|
20747
20797
|
|
|
20748
20798
|
// 生成actionbar
|
|
20749
20799
|
var renderActionBar = function renderActionBar() {
|
|
20750
|
-
return
|
|
20751
|
-
data: cloneDeep(_objectSpread2(_objectSpread2({},
|
|
20800
|
+
return _this8.$scopedSlots['action-bar'] ? _this8.$scopedSlots['action-bar']({
|
|
20801
|
+
data: cloneDeep(_objectSpread2(_objectSpread2({}, _this8.queryData), _this8.tableAdvanceData)),
|
|
20752
20802
|
ref: {
|
|
20753
20803
|
form: function form() {
|
|
20754
|
-
return lodashGet(
|
|
20804
|
+
return lodashGet(_this8.$refs.form, '$refs.form');
|
|
20755
20805
|
},
|
|
20756
20806
|
table: function table() {
|
|
20757
|
-
return lodashGet(
|
|
20807
|
+
return lodashGet(_this8.$refs.table, '$refs.table');
|
|
20758
20808
|
}
|
|
20759
20809
|
}
|
|
20760
|
-
}) :
|
|
20810
|
+
}) : _this8.$slots['action-bar'];
|
|
20761
20811
|
};
|
|
20762
20812
|
|
|
20763
20813
|
// 如果内嵌到inner-tabs组件中
|
|
@@ -20858,7 +20908,7 @@ var script$8 = {
|
|
|
20858
20908
|
"attrs": {
|
|
20859
20909
|
"config": this.config.toolbar,
|
|
20860
20910
|
"table": function table() {
|
|
20861
|
-
return
|
|
20911
|
+
return _this8.$refs.table;
|
|
20862
20912
|
}
|
|
20863
20913
|
}
|
|
20864
20914
|
})])]), renderProTable()])]);
|
|
@@ -21096,13 +21146,20 @@ var script$7 = {
|
|
|
21096
21146
|
}
|
|
21097
21147
|
};
|
|
21098
21148
|
// 遍历所有的prefixLabel
|
|
21099
|
-
_this4.normalizedFormItems.
|
|
21100
|
-
|
|
21101
|
-
|
|
21102
|
-
|
|
21103
|
-
|
|
21104
|
-
|
|
21105
|
-
}
|
|
21149
|
+
_this4.normalizedFormItems.forEach(function (item) {
|
|
21150
|
+
// 如果当前需要内置插槽
|
|
21151
|
+
if (item.slots && item.slots.component && item.slots.component.prefixLabel) {
|
|
21152
|
+
scopedSlots[item.slots.component.prefixLabel] = function () {
|
|
21153
|
+
return item.label;
|
|
21154
|
+
};
|
|
21155
|
+
}
|
|
21156
|
+
// 如果当前类型是slot
|
|
21157
|
+
if (item.type === 'slot') {
|
|
21158
|
+
// 当前插槽的名称
|
|
21159
|
+
var slotName = item.slotName || (Array.isArray(item.name) ? item.name.join(',') : item.name);
|
|
21160
|
+
// 塞入插槽
|
|
21161
|
+
scopedSlots[slotName] = _this4.$scopedSlots[slotName];
|
|
21162
|
+
}
|
|
21106
21163
|
});
|
|
21107
21164
|
return h(__vue_component__$n, {
|
|
21108
21165
|
"ref": 'form',
|
|
@@ -21202,6 +21259,10 @@ var script$6 = {
|
|
|
21202
21259
|
primary: {
|
|
21203
21260
|
type: Boolean,
|
|
21204
21261
|
default: false
|
|
21262
|
+
},
|
|
21263
|
+
title: {
|
|
21264
|
+
type: String,
|
|
21265
|
+
default: ''
|
|
21205
21266
|
}
|
|
21206
21267
|
},
|
|
21207
21268
|
data: function data() {
|
|
@@ -21216,9 +21277,20 @@ var script$6 = {
|
|
|
21216
21277
|
_getComponentNames2 = _slicedToArray(_getComponentNames, 2),
|
|
21217
21278
|
Tabs = _getComponentNames2[0],
|
|
21218
21279
|
TabPane = _getComponentNames2[1];
|
|
21280
|
+
|
|
21281
|
+
// 是否有标题
|
|
21282
|
+
var isHasTitle = this.title || this.$slots.title;
|
|
21219
21283
|
return h("div", {
|
|
21220
21284
|
"class": 'outer-tabs'
|
|
21221
|
-
}, [
|
|
21285
|
+
}, [
|
|
21286
|
+
// 如果有标题才展示
|
|
21287
|
+
isHasTitle ? h("div", {
|
|
21288
|
+
"class": 'search-table__title-main'
|
|
21289
|
+
}, [h("span", {
|
|
21290
|
+
"class": 'search-table__title'
|
|
21291
|
+
}, [this.$slots.title || this.title]), h("span", {
|
|
21292
|
+
"class": 'search-table__sub-title'
|
|
21293
|
+
}, [this.$slots.subTitle || this.subTitle])]) : null, h(Tabs, {
|
|
21222
21294
|
"attrs": {
|
|
21223
21295
|
"value": this.tabName,
|
|
21224
21296
|
"type": this.type,
|
|
@@ -21350,6 +21422,9 @@ var __vue_render__$4 = function __vue_render__() {
|
|
|
21350
21422
|
staticClass: "iov-pro-sub-title"
|
|
21351
21423
|
}, [_vm.icon ? _c("i", {
|
|
21352
21424
|
staticClass: "iov-pro-sub-title__icon",
|
|
21425
|
+
class: {
|
|
21426
|
+
line: _vm.icon === "line"
|
|
21427
|
+
},
|
|
21353
21428
|
style: _vm.iconStyle
|
|
21354
21429
|
}) : _vm._e(), _vm._v(" "), _vm.$slots.prefix ? _c("div", {
|
|
21355
21430
|
staticClass: "iov-pro-sub-title__prefix"
|
|
@@ -21763,6 +21838,14 @@ var script$1 = {
|
|
|
21763
21838
|
showFooter: {
|
|
21764
21839
|
type: Boolean,
|
|
21765
21840
|
default: true
|
|
21841
|
+
},
|
|
21842
|
+
appendToBody: {
|
|
21843
|
+
type: Boolean,
|
|
21844
|
+
default: true
|
|
21845
|
+
},
|
|
21846
|
+
disabled: {
|
|
21847
|
+
type: Boolean,
|
|
21848
|
+
default: false
|
|
21766
21849
|
}
|
|
21767
21850
|
},
|
|
21768
21851
|
data: function data() {
|
|
@@ -21779,6 +21862,10 @@ var script$1 = {
|
|
|
21779
21862
|
*/
|
|
21780
21863
|
onShow: function onShow() {
|
|
21781
21864
|
var _this = this;
|
|
21865
|
+
// 如果是禁用状态
|
|
21866
|
+
if (this.disabled) {
|
|
21867
|
+
return;
|
|
21868
|
+
}
|
|
21782
21869
|
// 先渲染弹框
|
|
21783
21870
|
this.vif = true;
|
|
21784
21871
|
// 抛出打开事件
|
|
@@ -22177,6 +22264,11 @@ var script = {
|
|
|
22177
22264
|
responseTransform: {
|
|
22178
22265
|
type: Function,
|
|
22179
22266
|
default: null
|
|
22267
|
+
},
|
|
22268
|
+
// 成功回调方法
|
|
22269
|
+
onSuccess: {
|
|
22270
|
+
type: Function,
|
|
22271
|
+
default: null
|
|
22180
22272
|
}
|
|
22181
22273
|
},
|
|
22182
22274
|
data: function data() {
|
|
@@ -22314,7 +22406,18 @@ var script = {
|
|
|
22314
22406
|
// 删除上传失败的文件
|
|
22315
22407
|
this.onDeleteFile(file);
|
|
22316
22408
|
} else {
|
|
22317
|
-
|
|
22409
|
+
// 如果有成功回调
|
|
22410
|
+
if (this.onSuccess) {
|
|
22411
|
+
// 执行成功回调
|
|
22412
|
+
var list = this.onSuccess(resp, file, fileList);
|
|
22413
|
+
// 双向绑定列表数据
|
|
22414
|
+
this.$emit('input', list);
|
|
22415
|
+
// 触发change事件
|
|
22416
|
+
this.$emit('change', list, fileList);
|
|
22417
|
+
} else {
|
|
22418
|
+
// 开始双向绑定
|
|
22419
|
+
this.onChangeModelValue(fileList);
|
|
22420
|
+
}
|
|
22318
22421
|
}
|
|
22319
22422
|
// 等待数据双向绑定成功后触发表单事件
|
|
22320
22423
|
this.$nextTick(function () {
|
|
@@ -22514,7 +22617,7 @@ var install = function install(Vue, componentConfig) {
|
|
|
22514
22617
|
};
|
|
22515
22618
|
var index = {
|
|
22516
22619
|
install: install,
|
|
22517
|
-
version: '0.0.
|
|
22620
|
+
version: '0.0.83',
|
|
22518
22621
|
ColumnTooltip: __vue_component__$y,
|
|
22519
22622
|
Description: __vue_component__$v,
|
|
22520
22623
|
DialogItemsSelect: __vue_component__$u,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "iov-pro-components",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.83",
|
|
4
4
|
"description": "IOV Pro Components for Vue.js",
|
|
5
5
|
"main": "lib/iov-pro-components.min.js",
|
|
6
6
|
"files": [
|
|
@@ -15,13 +15,14 @@
|
|
|
15
15
|
"docs:dev": "vuepress dev docs",
|
|
16
16
|
"docs:build": "vuepress build docs",
|
|
17
17
|
"k8s-dev": "vuepress build docs",
|
|
18
|
-
"lint": "eslint --ext .js,.vue src"
|
|
18
|
+
"lint": "eslint --ext .js,.vue src",
|
|
19
|
+
"jest": "jest --no-cache"
|
|
19
20
|
},
|
|
20
21
|
"lint-staged": {
|
|
21
22
|
"src/**/*.{js,vue,jsx,ts,tsx}": "eslint"
|
|
22
23
|
},
|
|
23
24
|
"dependencies": {
|
|
24
|
-
"iov-design": "^2.15.
|
|
25
|
+
"iov-design": "^2.15.70",
|
|
25
26
|
"vue": "^2.6.10",
|
|
26
27
|
"vuedraggable": "2.24.3"
|
|
27
28
|
},
|
|
@@ -39,11 +40,18 @@
|
|
|
39
40
|
"@vue/cli-plugin-babel": "~5.0.0",
|
|
40
41
|
"@vue/cli-plugin-eslint": "~5.0.0",
|
|
41
42
|
"@vue/cli-service": "~5.0.0",
|
|
43
|
+
"@vue/test-utils": "^1.3.0",
|
|
44
|
+
"@vue/vue2-jest": "^29.2.6",
|
|
42
45
|
"autoprefixer": "10.4.21",
|
|
43
46
|
"babel-eslint": "10.1.0",
|
|
44
47
|
"core-js": "^3.8.3",
|
|
45
48
|
"eslint": "7.32.0",
|
|
46
49
|
"eslint-plugin-vue": "8.0.3",
|
|
50
|
+
"jest": "^29.7.0",
|
|
51
|
+
"jest-environment-jsdom": "^29.7.0",
|
|
52
|
+
"jest-serializer-vue": "^3.1.0",
|
|
53
|
+
"jest-transform-stub": "^2.0.0",
|
|
54
|
+
"jest-watch-typeahead": "^2.2.2",
|
|
47
55
|
"js-cookie": "^3.0.5",
|
|
48
56
|
"lint-staged": "11.1.2",
|
|
49
57
|
"lodash": "4.17.21",
|