eoss-mobiles 0.2.71 → 0.2.73
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/CHANGELOG.md +4 -1
- package/lib/date.js +6 -6
- package/lib/eoss-mobile.common.js +862 -64
- package/lib/flow-btn.js +50 -7
- package/lib/flow-list.js +26 -9
- package/lib/form.js +654 -2
- package/lib/index.js +1 -1
- package/lib/table.js +105 -19
- package/lib/theme-chalk/flow-list.css +1 -1
- package/lib/theme-chalk/flow.css +1 -1
- package/lib/theme-chalk/fonts/iconfont.scss +11 -3
- package/lib/theme-chalk/fonts/iconfont.ttf +0 -0
- package/lib/theme-chalk/fonts/iconfont.woff +0 -0
- package/lib/theme-chalk/fonts/iconfont1.scss +90 -0
- package/lib/theme-chalk/index.css +1 -1
- package/lib/theme-chalk/selector.css +1 -1
- package/lib/theme-chalk/table.css +1 -1
- package/package.json +1 -1
- package/packages/flow-btn/src/main.vue +29 -9
- package/packages/flow-list/src/main.vue +8 -3
- package/packages/form/src/main.vue +183 -0
- package/packages/table/src/main.vue +138 -27
- package/packages/theme-chalk/lib/flow-list.css +1 -1
- package/packages/theme-chalk/lib/flow.css +1 -1
- package/packages/theme-chalk/lib/fonts/iconfont.scss +11 -3
- package/packages/theme-chalk/lib/fonts/iconfont.ttf +0 -0
- package/packages/theme-chalk/lib/fonts/iconfont.woff +0 -0
- package/packages/theme-chalk/lib/fonts/iconfont1.scss +90 -0
- package/packages/theme-chalk/lib/index.css +1 -1
- package/packages/theme-chalk/lib/selector.css +1 -1
- package/packages/theme-chalk/lib/table.css +1 -1
- package/packages/theme-chalk/src/base.scss +6 -0
- package/packages/theme-chalk/src/flow-list.scss +1 -1
- package/packages/theme-chalk/src/fonts/iconfont.scss +11 -3
- package/packages/theme-chalk/src/fonts/iconfont.ttf +0 -0
- package/packages/theme-chalk/src/fonts/iconfont.woff +0 -0
- package/packages/theme-chalk/src/fonts/iconfont1.scss +90 -0
- package/packages/theme-chalk/src/table.scss +36 -5
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
@charset "UTF-8";@font-face{font-family:iconfont;src:url(//at.alicdn.com/t/c/font_4360523_ph4qmmcd8ze.woff2?t=1704791048889) format("woff2"),url(//at.alicdn.com/t/c/font_4360523_ph4qmmcd8ze.woff?t=1704791048889) format("woff"),url(//at.alicdn.com/t/c/font_4360523_ph4qmmcd8ze.ttf?t=1704791048889) format("truetype")}.iconfont{font-family:iconfont!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.em-tree .em-tree-item,.em-tree .em-tree-item .title{height:56px;font-size:15px;color:#333;position:relative;font-family:PingFang SC;font-weight:400}.icon-em-more:before{content:"\e646"}.icon-youjiantou:before{content:"\e622"}.icon-shoucang:before{content:"\e600"}.icon-ziguanshujufuwu:before{content:"\e618"}.icon-fuwenbenkuang:before{content:"\e66f"}.icon-gongdanguanlian:before{content:"\e66d"}.icon-riqi_rili:before{content:"\e648"}.icon-fuwenben:before{content:"\e718"}.icon-a-gaizhang3:before{content:"\eba4"}.icon-quan:before{content:"\e63a"}.icon-gou:before{content:"\e8bd"}.icon-fujian:before{content:"\e651"}.icon-ziyuan:before{content:"\e60d"}.icon-duoxuanxuanzhong:before{content:"\e62c"}.icon-saoma:before{content:"\e621"}.icon-jiayonghu:before{content:"\e617"}.icon-bumenguanli:before{content:"\e60c"}.icon-shuzi:before{content:"\e640"}.icon-dingwei:before{content:"\ee33"}.em-tree .em-tree-item{background-color:#fff;overflow:hidden}.em-tree .em-tree-item:last-child{border:0}.em-tree .em-tree-item .title{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding-left:13px;padding-right:10px;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.em-tree .em-tree-item .title .text{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:.95;-ms-flex:.95;flex:.95;-webkit-box-align:center;-ms-flex-align:center;align-items:center;line-height:16px}.em-tree .em-tree-item .title .text .label{width:4px;height:16px;background:#12278B;border-radius:2px;margin-right:9px}.em-tree .em-tree-item .title .text .label-name-icon{font-size:13px;width:35px;height:35px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border-radius:50%;margin-right:5px;background-color:#12278B;color:#fff}.em-tree .em-tree-item .check-box .title,.em-tree .em-tree-item.active>div>.title{border:none}.em-tree .em-tree-item .title .right{font-size:14px;right:10px;color:#999}.em-tree .em-tree-item .title .icon-quan{color:#c8c9cc;font-size:17px}.em-tree .em-tree-item .title .select-icon{position:absolute;top:50%;right:48px;-webkit-transform:translate(0,-50%);transform:translate(0,-50%)}.em-tree .em-tree-item .title .icon-gou{color:#12278B;font-size:18px}.em-tree .em-tree-item.active{height:auto;min-height:41px}.em-tree .em-tree-item.active>div>.em-tree{padding-left:15px}.em-tree .em-tree-item.active>div>.title>.right{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.em-tree .em-tree-item .check-box{padding-right:10px}.em-tree .em-tree-item .check-box .em-show-tree-head img{width:30px;height:30px}.em-tree .em-tree-item .check-box .icon-quan{color:#c8c9cc;font-size:17px}.em-tree .em-tree-item .check-box .icon-gou{color:#12278B;font-size:18px}.em-selector .van-search .van-field__control--right{text-align:left}.em-selector .em-flow-tabs{height:unset!important}.em-selector .em-flow-tabs .van-tabs__content{display:none!important}.em-selector .selector-right-count{margin-right:15px}.em-selector .selector-left-count{margin-left:10px}.em-selector .selector-field .hide-label .van-field__label{display:none}.em-selector .selector-field .select-list{display:-webkit-box;display:-ms-flexbox;display:flex;overflow-x:auto;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-flex:1;-ms-flex:1;flex:1}.em-selector .selector-field .select-list .item{height:29px;padding:0 8px;border-radius:15px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border:1px solid #12278B;display:flex;font-size:14px;font-weight:400;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;color:#12278B;margin-top:2px;margin-right:2px}.em-selector .selector-field .select-list .item .delte{margin-left:9px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.em-selector .selector-field .select-list .item .delte img{width:15px;height:15px}.em-selector .selector-checkList{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.em-selector .em-select-tree-content,.em-selector .em-show-tree{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#fafafa;z-index:999;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.em-selector .em-select-tree-content-head img,.em-selector .em-show-tree-head img{margin-right:10px}.em-selector .em-select-tree-content .em-selector-nav-bar .van-nav-bar,.em-selector .em-show-tree .em-selector-nav-bar .van-nav-bar{background:#12278B!important;position:unset!important}.em-selector .em-select-tree-content .em-selector-nav-bar .van-icon,.em-selector .em-select-tree-content .em-selector-nav-bar .van-nav-bar__text,.em-selector .em-select-tree-content .em-selector-nav-bar .van-nav-bar__title,.em-selector .em-show-tree .em-selector-nav-bar .van-icon,.em-selector .em-show-tree .em-selector-nav-bar .van-nav-bar__text,.em-selector .em-show-tree .em-selector-nav-bar .van-nav-bar__title{color:#fff}.em-selector .em-select-tree-content .em-selector-nav-bar .van-hairline--bottom::after,.em-selector .em-show-tree .em-selector-nav-bar .van-hairline--bottom::after{border:none}.em-selector .em-select-tree-content .select-list,.em-selector .em-show-tree .select-list{display:-webkit-box;display:-ms-flexbox;display:flex;overflow-x:auto;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-flex:1;-ms-flex:1;flex:1}.em-selector .em-select-tree-content .select-list .item,.em-selector .em-show-tree .select-list .item{height:29px;padding:0 8px;border-radius:15px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border:1px solid #12278B;display:flex;font-size:14px;font-weight:400;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;color:#12278B;margin-top:2px;margin-right:2px}.em-selector .em-select-tree-content .select-list .item .delte,.em-selector .em-show-tree .select-list .item .delte{margin-left:9px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.em-selector .em-select-tree-content .select-list .item .delte img,.em-selector .em-show-tree .select-list .item .delte img{width:15px;height:15px}.em-selector .em-select-tree-content .em-search-box,.em-selector .em-show-tree .em-search-box{padding:10px;background:#12278B;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:relative;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.em-selector .em-select-tree-content .em-search-box .van-search,.em-selector .em-show-tree .em-search-box .van-search{padding:0;width:100%;max-height:40px;border-radius:4px}.em-selector .em-select-tree-content .em-search-box .van-cell,.em-selector .em-show-tree .em-search-box .van-cell{padding:8px 8px 8px 0!important;display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important}.em-selector .em-select-tree-content .em-search-box .van-cell__value--alone,.em-selector .em-show-tree .em-search-box .van-cell__value--alone{font-size:16px;font-family:PingFang SC;font-weight:400;color:#999}.em-selector .em-select-tree-content .em-search-box .van-icon-search,.em-selector .em-show-tree .em-search-box .van-icon-search{font-size:18px;color:#999;font-weight:600}.em-selector .em-select-tree-content .em-search-box .van-field__control,.em-selector .em-show-tree .em-search-box .van-field__control{padding:0!important;border:none!important}.em-selector .em-select-tree-content .em-search-box .van-search__content,.em-selector .em-show-tree .em-search-box .van-search__content{max-height:40px}.em-selector .em-select-tree-content .em-tree-box,.em-selector .em-show-tree .em-tree-box{-webkit-box-flex:1;-ms-flex:1;flex:1;overflow-y:auto}.em-selector .em-select-tree-content .em-btn-group,.em-selector .em-show-tree .em-btn-group{padding:9px 11px;background-color:#fff;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-shadow:0 0 12px 0 rgba(75,12,9,.06);box-shadow:0 0 12px 0 rgba(75,12,9,.06)}.em-selector .em-select-tree-content .em-btn-group .select-list,.em-selector .em-show-tree .em-btn-group .select-list{max-height:95px;overflow:auto;width:40%}.em-selector .em-select-tree-content .em-btn-group .select-list .name,.em-selector .em-show-tree .em-btn-group .select-list .name{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.em-selector .em-select-tree-content .em-btn-group .btn,.em-selector .em-show-tree .em-btn-group .btn{width:154px;height:40px;background:#12278B;border-radius:20px;text-align:center;line-height:40px;font-size:18px;font-family:PingFang SC;font-weight:400;color:#fff;-ms-flex-negative:0;flex-shrink:0}.em-selector .em-select-tree-content .em-btn-group .select-list,.em-selector .em-show-tree .em-btn-group .select-list{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.em-selector .em-select-tree-content .em-btn-group .select-list .item,.em-selector .em-show-tree .em-btn-group .select-list .item{height:29px;padding:0 8px;border-radius:15px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border:1px solid #12278B;display:flex;font-size:14px;font-weight:400;color:#12278B;margin-right:8px;margin-bottom:3px}.em-selector .em-select-tree-content .em-btn-group .select-list .item .delte,.em-selector .em-show-tree .em-btn-group .select-list .item .delte{margin-left:9px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.em-selector .em-select-tree-content .em-btn-group .select-list .item .delte img,.em-selector .em-show-tree .em-btn-group .select-list .item .delte img{width:15px;height:15px}.em-selector .em-show-tree{position:unset}
|
|
1
|
+
@charset "UTF-8";@font-face{font-family:iconfont;src:url(//at.alicdn.com/t/c/font_4360523_y103tt1hpxg.woff2?t=1723088955236) format("woff2"),url(//at.alicdn.com/t/c/font_4360523_y103tt1hpxg.woff?t=1723088955236) format("woff"),url(//at.alicdn.com/t/c/font_4360523_y103tt1hpxg.ttf?t=1723088955236) format("truetype")}.iconfont{font-family:iconfont!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.em-tree .em-tree-item,.em-tree .em-tree-item .title{height:56px;font-size:15px;color:#333;position:relative;font-family:PingFang SC;font-weight:400}.em-fangda:before{content:"\e612"}.em-guanbi:before{content:"\e6f8"}.icon-em-more:before{content:"\e646"}.icon-youjiantou:before{content:"\e622"}.icon-shoucang:before{content:"\e600"}.icon-ziguanshujufuwu:before{content:"\e618"}.icon-fuwenbenkuang:before{content:"\e66f"}.icon-gongdanguanlian:before{content:"\e66d"}.icon-riqi_rili:before{content:"\e648"}.icon-fuwenben:before{content:"\e718"}.icon-a-gaizhang3:before{content:"\eba4"}.icon-quan:before{content:"\e63a"}.icon-gou:before{content:"\e8bd"}.icon-fujian:before{content:"\e651"}.icon-ziyuan:before{content:"\e60d"}.icon-duoxuanxuanzhong:before{content:"\e62c"}.icon-saoma:before{content:"\e621"}.icon-jiayonghu:before{content:"\e617"}.icon-bumenguanli:before{content:"\e60c"}.icon-shuzi:before{content:"\e640"}.icon-dingwei:before{content:"\ee33"}.em-tree .em-tree-item{background-color:#fff;overflow:hidden}.em-tree .em-tree-item:last-child{border:0}.em-tree .em-tree-item .title{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding-left:13px;padding-right:10px;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.em-tree .em-tree-item .title .text{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:.95;-ms-flex:.95;flex:.95;-webkit-box-align:center;-ms-flex-align:center;align-items:center;line-height:16px}.em-tree .em-tree-item .title .text .label{width:4px;height:16px;background:#12278B;border-radius:2px;margin-right:9px}.em-tree .em-tree-item .title .text .label-name-icon{font-size:13px;width:35px;height:35px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border-radius:50%;margin-right:5px;background-color:#12278B;color:#fff}.em-tree .em-tree-item .check-box .title,.em-tree .em-tree-item.active>div>.title{border:none}.em-tree .em-tree-item .title .right{font-size:14px;right:10px;color:#999}.em-tree .em-tree-item .title .icon-quan{color:#c8c9cc;font-size:17px}.em-tree .em-tree-item .title .select-icon{position:absolute;top:50%;right:48px;-webkit-transform:translate(0,-50%);transform:translate(0,-50%)}.em-tree .em-tree-item .title .icon-gou{color:#12278B;font-size:18px}.em-tree .em-tree-item.active{height:auto;min-height:41px}.em-tree .em-tree-item.active>div>.em-tree{padding-left:15px}.em-tree .em-tree-item.active>div>.title>.right{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.em-tree .em-tree-item .check-box{padding-right:10px}.em-tree .em-tree-item .check-box .em-show-tree-head img{width:30px;height:30px}.em-tree .em-tree-item .check-box .icon-quan{color:#c8c9cc;font-size:17px}.em-tree .em-tree-item .check-box .icon-gou{color:#12278B;font-size:18px}.em-selector .van-search .van-field__control--right{text-align:left}.em-selector .em-flow-tabs{height:unset!important}.em-selector .em-flow-tabs .van-tabs__content{display:none!important}.em-selector .selector-right-count{margin-right:15px}.em-selector .selector-left-count{margin-left:10px}.em-selector .selector-field .hide-label .van-field__label{display:none}.em-selector .selector-field .select-list{display:-webkit-box;display:-ms-flexbox;display:flex;overflow-x:auto;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-flex:1;-ms-flex:1;flex:1}.em-selector .selector-field .select-list .item{height:29px;padding:0 8px;border-radius:15px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border:1px solid #12278B;display:flex;font-size:14px;font-weight:400;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;color:#12278B;margin-top:2px;margin-right:2px}.em-selector .selector-field .select-list .item .delte{margin-left:9px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.em-selector .selector-field .select-list .item .delte img{width:15px;height:15px}.em-selector .selector-checkList{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.em-selector .em-select-tree-content,.em-selector .em-show-tree{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#fafafa;z-index:999;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.em-selector .em-select-tree-content-head img,.em-selector .em-show-tree-head img{margin-right:10px}.em-selector .em-select-tree-content .em-selector-nav-bar .van-nav-bar,.em-selector .em-show-tree .em-selector-nav-bar .van-nav-bar{background:#12278B!important;position:unset!important}.em-selector .em-select-tree-content .em-selector-nav-bar .van-icon,.em-selector .em-select-tree-content .em-selector-nav-bar .van-nav-bar__text,.em-selector .em-select-tree-content .em-selector-nav-bar .van-nav-bar__title,.em-selector .em-show-tree .em-selector-nav-bar .van-icon,.em-selector .em-show-tree .em-selector-nav-bar .van-nav-bar__text,.em-selector .em-show-tree .em-selector-nav-bar .van-nav-bar__title{color:#fff}.em-selector .em-select-tree-content .em-selector-nav-bar .van-hairline--bottom::after,.em-selector .em-show-tree .em-selector-nav-bar .van-hairline--bottom::after{border:none}.em-selector .em-select-tree-content .select-list,.em-selector .em-show-tree .select-list{display:-webkit-box;display:-ms-flexbox;display:flex;overflow-x:auto;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-flex:1;-ms-flex:1;flex:1}.em-selector .em-select-tree-content .select-list .item,.em-selector .em-show-tree .select-list .item{height:29px;padding:0 8px;border-radius:15px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border:1px solid #12278B;display:flex;font-size:14px;font-weight:400;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;color:#12278B;margin-top:2px;margin-right:2px}.em-selector .em-select-tree-content .select-list .item .delte,.em-selector .em-show-tree .select-list .item .delte{margin-left:9px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.em-selector .em-select-tree-content .select-list .item .delte img,.em-selector .em-show-tree .select-list .item .delte img{width:15px;height:15px}.em-selector .em-select-tree-content .em-search-box,.em-selector .em-show-tree .em-search-box{padding:10px;background:#12278B;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:relative;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.em-selector .em-select-tree-content .em-search-box .van-search,.em-selector .em-show-tree .em-search-box .van-search{padding:0;width:100%;max-height:40px;border-radius:4px}.em-selector .em-select-tree-content .em-search-box .van-cell,.em-selector .em-show-tree .em-search-box .van-cell{padding:8px 8px 8px 0!important;display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important}.em-selector .em-select-tree-content .em-search-box .van-cell__value--alone,.em-selector .em-show-tree .em-search-box .van-cell__value--alone{font-size:16px;font-family:PingFang SC;font-weight:400;color:#999}.em-selector .em-select-tree-content .em-search-box .van-icon-search,.em-selector .em-show-tree .em-search-box .van-icon-search{font-size:18px;color:#999;font-weight:600}.em-selector .em-select-tree-content .em-search-box .van-field__control,.em-selector .em-show-tree .em-search-box .van-field__control{padding:0!important;border:none!important}.em-selector .em-select-tree-content .em-search-box .van-search__content,.em-selector .em-show-tree .em-search-box .van-search__content{max-height:40px}.em-selector .em-select-tree-content .em-tree-box,.em-selector .em-show-tree .em-tree-box{-webkit-box-flex:1;-ms-flex:1;flex:1;overflow-y:auto}.em-selector .em-select-tree-content .em-btn-group,.em-selector .em-show-tree .em-btn-group{padding:9px 11px;background-color:#fff;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-shadow:0 0 12px 0 rgba(75,12,9,.06);box-shadow:0 0 12px 0 rgba(75,12,9,.06)}.em-selector .em-select-tree-content .em-btn-group .select-list,.em-selector .em-show-tree .em-btn-group .select-list{max-height:95px;overflow:auto;width:40%}.em-selector .em-select-tree-content .em-btn-group .select-list .name,.em-selector .em-show-tree .em-btn-group .select-list .name{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.em-selector .em-select-tree-content .em-btn-group .btn,.em-selector .em-show-tree .em-btn-group .btn{width:154px;height:40px;background:#12278B;border-radius:20px;text-align:center;line-height:40px;font-size:18px;font-family:PingFang SC;font-weight:400;color:#fff;-ms-flex-negative:0;flex-shrink:0}.em-selector .em-select-tree-content .em-btn-group .select-list,.em-selector .em-show-tree .em-btn-group .select-list{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.em-selector .em-select-tree-content .em-btn-group .select-list .item,.em-selector .em-show-tree .em-btn-group .select-list .item{height:29px;padding:0 8px;border-radius:15px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border:1px solid #12278B;display:flex;font-size:14px;font-weight:400;color:#12278B;margin-right:8px;margin-bottom:3px}.em-selector .em-select-tree-content .em-btn-group .select-list .item .delte,.em-selector .em-show-tree .em-btn-group .select-list .item .delte{margin-left:9px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.em-selector .em-select-tree-content .em-btn-group .select-list .item .delte img,.em-selector .em-show-tree .em-btn-group .select-list .item .delte img{width:15px;height:15px}.em-selector .em-show-tree{position:unset}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@charset "UTF-8";.em-table.el-table{height:calc(100% - 40px)}.em-table.el-table .van-field__control--right{text-align:left}.em-table.el-table .el-table__body-wrapper{height:calc(100% - 30px)}.em-table.el-table .el-scrollbar__view{height:100%}.em-table.el-table .el-table__empty-text{margin:auto}.em-table.el-table .cell{position:relative}.em-table.el-table .em-date .em-input,.em-table.el-table .em-picker .em-input,.em-table.el-table .em-selector .em-input,.em-table.el-table .em-table-input{border-radius:3px;border:1px solid #d9d9d9}.em-table.el-table .em-date .em-input .van-cell,.em-table.el-table .em-picker .em-input .van-cell,.em-table.el-table .em-selector .em-input .van-cell,.em-table.el-table .em-table-input .van-cell{background-color:unset}.em-table.el-table .em-date .em-input .van-field__error-message,.em-table.el-table .em-picker .em-input .van-field__error-message,.em-table.el-table .em-selector .em-input .van-field__error-message,.em-table.el-table .em-table-input .van-field__error-message{position:absolute;bottom:-14px}.em-table.el-table .el-table .em-row{background:hsvTorgb(222,.23,.75)}.em-table.el-table .el-table .el-table__header-wrapper .is-center,.em-table.el-table .el-table th.is-center,.em-table.el-table .em-table-header{background:#12278B;color:#fff}.em-table.el-table th{background:unset!important}.em-table.el-table .van-switch__node{width:.9em;height:.9em}
|
|
1
|
+
@charset "UTF-8";.em-table-box .el-table--scrollable-y .el-table__body-wrapper,.em-table.el-table .el-table--scrollable-y .el-table__body-wrapper{overflow-x:auto!important}.em-table.el-table{height:calc(100% - 40px)}.em-table.el-table .van-field__control--right{text-align:left}.em-table.el-table .el-table__body-wrapper{height:calc(100% - 30px)}.em-table.el-table .el-scrollbar__view{height:100%}.em-table.el-table .el-table__empty-text{margin:auto}.em-table.el-table .cell{position:relative}.em-table.el-table .em-date .em-input,.em-table.el-table .em-picker .em-input,.em-table.el-table .em-selector .em-input,.em-table.el-table .em-table-input{border-radius:3px;border:1px solid #d9d9d9}.em-table.el-table .em-date .em-input .van-cell,.em-table.el-table .em-picker .em-input .van-cell,.em-table.el-table .em-selector .em-input .van-cell,.em-table.el-table .em-table-input .van-cell{background-color:unset}.em-table.el-table .em-date .em-input .van-field__error-message,.em-table.el-table .em-picker .em-input .van-field__error-message,.em-table.el-table .em-selector .em-input .van-field__error-message,.em-table.el-table .em-table-input .van-field__error-message{position:absolute;bottom:-14px}.em-table.el-table .el-table .em-row{background:hsvTorgb(222,.23,.75)}.em-table.el-table .el-table .el-table__header-wrapper .is-center,.em-table.el-table .el-table th.is-center,.em-table.el-table .em-table-header{background:#12278B;color:#fff}.em-table.el-table th{background:unset!important}.em-table.el-table .van-switch__node{width:.9em;height:.9em}.em-table-box .em-table-icon{position:absolute;top:10px;right:10px;color:#fff;font-size:18px}.em-table-isEnlarge{width:100vh!important;height:100vw!important;position:fixed;top:0;background-color:#fff;left:0;-webkit-transform:rotate(90deg);transform:rotate(90deg);z-index:9999}.em-table-isEnlarge .el-table__body-wrapper{overflow:auto;overflow-x:auto!important}
|
package/package.json
CHANGED
|
@@ -13,7 +13,10 @@
|
|
|
13
13
|
v-if="pointsReadingObj.fun"
|
|
14
14
|
@click="toStartTaskRead(pointsReadingObj)"
|
|
15
15
|
>
|
|
16
|
-
<img
|
|
16
|
+
<img
|
|
17
|
+
class="icon"
|
|
18
|
+
src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAjCAYAAAD8BaggAAAAAXNSR0IArs4c6QAABNBJREFUWEftmE9oXFUUxr/z3vxNbKpUitpaEbGghbYbK11IN5a2JI2VNFELiU2cdzObbhR1YQtdKS6Ki4AhL/Mmo5WmOiAK0kVdmKQ0UouIVLS10FKotUIkUcdM83LvPXLDi7xMpp036Sx7IQTmnnvP753zvXvPeYTbD8pmszu01h3MvI2IngYQu4N9XVPMrIjoCoDzWuuTc3Nzk8ePH/+Xqu2SzWbXKqXeBtAN4EEiKgO4CWC+Lq9VjJmZAbQAeJiIZgGkmflvIvp0fn7+SDUgEkK8CeBdADe01gVjbNv2jNZaSymrPkRUUCKK27Z9DEArM2csy1rNzG8A2MDMJ5Zt7jjODgAniChBRB1DQ0MTUZ1FsRNCNAHIA3iBmXcPDw+PCyFaAXwGYGoZkBDifQBvEdHApUuXXh8bG5NRHEW16e7ubk6lUnkialdK7fI8b6Kvr+8R27YniGjdMqD+/v7PmdkYv+J5XjGqo6h2FUBdSqkzAB5KJBJfAHisWspMirYC2GvCGdVRVLsQ0H4AlwNBx5h5IxHFqkVoQmu9WWvdbsIZdiSEiJfL5URU5+l0ml3XNW/S/yME1MXMt4hIMrPhMH9XqwIx82aT47CgHcfZSkSHAayKChS84uPDw8NGl9qsCwHtU0odsSzrR/O71tqwXK8H6EUi+hCAFRUosDvn+35XoVC4VQG0Vym10/O8s+H9IgMdOHDggebm5qeY2bYsyxxuNYd5ainlzUKhcHnROCxqrfWeXC43tiKgmt4jGtwDqhWohkVICLEBQDszp4goqoYQj8d/npqaOl0sFlWFqNvvSkOO43QFd5xdKwrheWaenJmZeb5YLJqKIfza3x3QwYMH708mkx1aa1OOLJwptYY5h6SUZ0ZGRr4DsBDVhqWslvOo8/eAakWqYREyG6XT6Z1a6zW2bUfSkNbayOhcLpe72HANZTKZ/UT0ERHV+5adJ6I213X/aqioe3t7H7VtuwfA6qjnUJC+X1Kp1OjAwMBcQ4GCzamzs9PatGlTpIPRrDl69OiS9DZMQ7XEGnW+biAhxDgzb9Fat1bWKlGd3smuJlAmk1kPwFSISinFsVjsGDM/bqItpbwQi9XfrFqWtUpKedHzvJ8q4WoCCSEmmdkU9SbXTESmk7SI6JZpd4Nat67gEFEKwLdSypfy+fyN8OLg+PBMX1b1chVCGMeSiH4N/q+4Mw1q6CQRbQRwRWvdlsvlrlYCJZPJEcuy2ph5T2VnY9pmcwtf831/n+/7f6TT6RUDlctlTiQS6+Px+JdEVFJK7fU871oYKCiFvwKwhYi2u657YUkJ6ziOAbqulNpRGd668hQYG00S0Tcm5Uqptkqg/v7+7cx8iplLRLTNdd3fK4F+APAkM3flcrlTK4EIr+np6VmTSqVMN7rWtu1dg4OD3y/OB4I+aU5uAJ9MT0+LxTpp0YYcxzkc9Fu/AfhASvl1IpEorfRLx+zsLFpaWkYBPMfMRWY2e/6ZTCaf0FpniWi3aQillC/n8/mFnmxJhAx1U1PTO8z8mvkWBOAfANMAFo76FQyj7fsArDNricjsY7pT8zWFmPksEb3nuu7pansvCPjQoUNJ3/efZeZXATxjmn4AkVvm20AvuV6Y2TzksVKp9PHo6OjU7R70P943RUDEn1FvAAAAAElFTkSuQmCC"
|
|
19
|
+
/>
|
|
17
20
|
<div class="label">{{ pointsReadingObj.value }}</div>
|
|
18
21
|
</div>
|
|
19
22
|
<div
|
|
@@ -21,11 +24,22 @@
|
|
|
21
24
|
v-if="moreList.length > 0"
|
|
22
25
|
@click="isShowMore = !isShowMore"
|
|
23
26
|
>
|
|
24
|
-
<img
|
|
27
|
+
<img
|
|
28
|
+
class="icon"
|
|
29
|
+
src="data:image/png;base64,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"
|
|
30
|
+
/>
|
|
25
31
|
<div class="label">更多</div>
|
|
26
32
|
</div>
|
|
27
33
|
</div>
|
|
28
|
-
<div
|
|
34
|
+
<div
|
|
35
|
+
class="right-one"
|
|
36
|
+
@click="
|
|
37
|
+
toAudit(
|
|
38
|
+
(currentNodeAttr && currentNodeAttr.submitButtonText) || '审核'
|
|
39
|
+
)
|
|
40
|
+
"
|
|
41
|
+
v-if="!rejectObj.fun"
|
|
42
|
+
>
|
|
29
43
|
<div class="audit">
|
|
30
44
|
{{ (currentNodeAttr && currentNodeAttr.submitButtonText) || '审核' }}
|
|
31
45
|
</div>
|
|
@@ -34,7 +48,14 @@
|
|
|
34
48
|
<div class="reject" @click="reject(rejectObj)">
|
|
35
49
|
{{ rejectObj.value }}
|
|
36
50
|
</div>
|
|
37
|
-
<div
|
|
51
|
+
<div
|
|
52
|
+
class="audit"
|
|
53
|
+
@click="
|
|
54
|
+
toAudit(
|
|
55
|
+
(currentNodeAttr && currentNodeAttr.submitButtonText) || '审核'
|
|
56
|
+
)
|
|
57
|
+
"
|
|
58
|
+
>
|
|
38
59
|
{{ (currentNodeAttr && currentNodeAttr.submitButtonText) || '审核' }}
|
|
39
60
|
</div>
|
|
40
61
|
</div>
|
|
@@ -255,7 +276,7 @@ export default {
|
|
|
255
276
|
// });
|
|
256
277
|
}
|
|
257
278
|
},
|
|
258
|
-
toAudit() {
|
|
279
|
+
toAudit(btnText) {
|
|
259
280
|
if (
|
|
260
281
|
this.$route.query.bcode &&
|
|
261
282
|
this.$route.query.bcode.indexOf('form_') != -1
|
|
@@ -264,7 +285,7 @@ export default {
|
|
|
264
285
|
.then(res => {
|
|
265
286
|
this.$emit('click', {
|
|
266
287
|
name: 'newProcessAudit',
|
|
267
|
-
h5HeadTitle:
|
|
288
|
+
h5HeadTitle: btnText,
|
|
268
289
|
type: 'handle',
|
|
269
290
|
pendingId: this.pendingId,
|
|
270
291
|
taskRead: this.$route.query.taskRead,
|
|
@@ -285,12 +306,11 @@ export default {
|
|
|
285
306
|
.catch(err => {
|
|
286
307
|
console.log('失败');
|
|
287
308
|
})
|
|
288
|
-
.finally(() => {
|
|
289
|
-
});
|
|
309
|
+
.finally(() => {});
|
|
290
310
|
} else {
|
|
291
311
|
this.$emit('click', {
|
|
292
312
|
name: 'newProcessAudit',
|
|
293
|
-
h5HeadTitle:
|
|
313
|
+
h5HeadTitle: btnText,
|
|
294
314
|
type: 'handle',
|
|
295
315
|
pendingId: this.pendingId,
|
|
296
316
|
businessId: this.businessId
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
串行会签预备("串行会签预备", 5),
|
|
17
17
|
自动办理("自动办理", 6); -->
|
|
18
18
|
<i class="iconfont icon-gou" v-if="item.flowList.length > 0" />
|
|
19
|
-
<div v-else class="process-pending">
|
|
19
|
+
<div v-else class="process-pending" :style="` background: rgba( ${rgbColor}, 0.1)`">
|
|
20
20
|
<i class="process-pending-yuan" />
|
|
21
21
|
</div>
|
|
22
22
|
<div class="item-box">
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
class="iconfont icon-gou"
|
|
95
95
|
v-if="item.pendstate == 2 || item.pendstate == 6"
|
|
96
96
|
/>
|
|
97
|
-
<div v-else class="process-pending">
|
|
97
|
+
<div v-else class="process-pending" :style="` background: rgba( ${rgbColor}, 0.1)`">
|
|
98
98
|
<i class="process-pending-yuan" />
|
|
99
99
|
</div>
|
|
100
100
|
<div class="item-box">
|
|
@@ -182,9 +182,14 @@ export default {
|
|
|
182
182
|
},
|
|
183
183
|
data() {
|
|
184
184
|
return {
|
|
185
|
-
processList: []
|
|
185
|
+
processList: [],
|
|
186
|
+
rgbColor:''
|
|
186
187
|
};
|
|
187
188
|
},
|
|
189
|
+
mounted(){
|
|
190
|
+
let bgColor = document.documentElement.style.getPropertyValue('--theme-primary') || '#12278B'
|
|
191
|
+
this.rgbColor = $.getRgb(bgColor).join(',')
|
|
192
|
+
},
|
|
188
193
|
watch: {
|
|
189
194
|
businessId: {
|
|
190
195
|
handler(val) {
|
|
@@ -8,6 +8,189 @@
|
|
|
8
8
|
>
|
|
9
9
|
<div class="em-form-content">
|
|
10
10
|
<div v-for="(item, index) in newContent" :key="index">
|
|
11
|
+
<em-tabs
|
|
12
|
+
v-model="item.active"
|
|
13
|
+
v-bind="{ ...item, type: item.tabType || 'line' }"
|
|
14
|
+
v-if="item.type === 'tab'"
|
|
15
|
+
>
|
|
16
|
+
<em-tab v-bind="{ ...z }" v-for="(z, i) in item.contents" :key="i">
|
|
17
|
+
<div v-for="(x, j) in z.contents" :key="j">
|
|
18
|
+
<em-input
|
|
19
|
+
v-if="
|
|
20
|
+
x.type === 'text' ||
|
|
21
|
+
x.type === 'textarea' ||
|
|
22
|
+
x.type == 'number' ||
|
|
23
|
+
x.type == 'digit' ||
|
|
24
|
+
x.type == 'password' ||
|
|
25
|
+
x.type == 'tel'
|
|
26
|
+
"
|
|
27
|
+
class="em-table-input"
|
|
28
|
+
v-bind="{ ...$attrs, ...x }"
|
|
29
|
+
v-on="{ ...x.events }"
|
|
30
|
+
:label-position="x.labelPosition || labelPosition"
|
|
31
|
+
:disabled="x.disabled || disabled"
|
|
32
|
+
:readonly="x.readonly || readonly"
|
|
33
|
+
ref="input"
|
|
34
|
+
v-model="model[x.name]"
|
|
35
|
+
:label="x.label.text || x.label"
|
|
36
|
+
@input="handleChange(x.name, model[x.name])"
|
|
37
|
+
/>
|
|
38
|
+
<!-- <em-input
|
|
39
|
+
v-if="
|
|
40
|
+
(item.type === 'text' ||
|
|
41
|
+
item.type === 'textarea' ||
|
|
42
|
+
item.type == 'number' ||
|
|
43
|
+
item.type == 'digit' ||
|
|
44
|
+
item.type == 'password' ||
|
|
45
|
+
item.type == 'tel') && item.events
|
|
46
|
+
"
|
|
47
|
+
class="em-table-input"
|
|
48
|
+
v-bind="{ ...$attrs, ...item }"
|
|
49
|
+
|
|
50
|
+
:label-position="item.labelPosition || labelPosition"
|
|
51
|
+
:disabled="item.disabled || disabled"
|
|
52
|
+
:readonly="item.readonly || readonly"
|
|
53
|
+
ref="input"
|
|
54
|
+
v-model="model[item.name]"
|
|
55
|
+
:label="item.label.text || item.label"
|
|
56
|
+
@input="handleChange(item.name, model[item.name])"
|
|
57
|
+
/> -->
|
|
58
|
+
<em-picker
|
|
59
|
+
v-if="x.type === 'select'"
|
|
60
|
+
v-bind="{ ...$attrs, ...x }"
|
|
61
|
+
v-on="{ ...x.events }"
|
|
62
|
+
ref="select"
|
|
63
|
+
:label-position="x.labelPosition || labelPosition"
|
|
64
|
+
:disabled="x.disabled || disabled"
|
|
65
|
+
:readonly="x.readonly || readonly"
|
|
66
|
+
v-model="model[x.name]"
|
|
67
|
+
:columns="x.data || []"
|
|
68
|
+
@confirm="
|
|
69
|
+
value => {
|
|
70
|
+
handleChange(item.name, value);
|
|
71
|
+
}
|
|
72
|
+
"
|
|
73
|
+
/>
|
|
74
|
+
<em-date
|
|
75
|
+
v-else-if="
|
|
76
|
+
x.date ||
|
|
77
|
+
x.type == 'date' ||
|
|
78
|
+
x.type == 'year' ||
|
|
79
|
+
x.type == 'year-month' ||
|
|
80
|
+
x.type == 'month-day' ||
|
|
81
|
+
x.type == 'time' ||
|
|
82
|
+
x.type == 'datetimeSecond' ||
|
|
83
|
+
x.type == 'datetime' ||
|
|
84
|
+
x.type == 'datehour'
|
|
85
|
+
"
|
|
86
|
+
ref="date"
|
|
87
|
+
v-bind="{ ...$attrs, ...x }"
|
|
88
|
+
v-on="{ ...x.events }"
|
|
89
|
+
v-model="model[x.name]"
|
|
90
|
+
:label-position="x.labelPosition || labelPosition"
|
|
91
|
+
:disabled="x.disabled || disabled"
|
|
92
|
+
:readonly="x.readonly || readonly"
|
|
93
|
+
:joinStr="x.joinStr || ''"
|
|
94
|
+
@confirm="
|
|
95
|
+
(value, timePeriod) => {
|
|
96
|
+
handleChange(x.name, value, timePeriod);
|
|
97
|
+
}
|
|
98
|
+
"
|
|
99
|
+
/>
|
|
100
|
+
<em-input
|
|
101
|
+
v-else-if="x.type === 'radio'"
|
|
102
|
+
ref="radio"
|
|
103
|
+
v-bind="{ ...$attrs, ...x }"
|
|
104
|
+
:label-position="x.labelPosition || labelPosition"
|
|
105
|
+
>
|
|
106
|
+
<template slot="input">
|
|
107
|
+
<em-radio-group
|
|
108
|
+
v-bind="{ ...$attrs, ...x }"
|
|
109
|
+
v-on="{ ...x.events }"
|
|
110
|
+
v-model="model[x.name]"
|
|
111
|
+
:disabled="x.disabled || disabled || x.readonly || readonly"
|
|
112
|
+
:data="x.data"
|
|
113
|
+
@change="
|
|
114
|
+
value => {
|
|
115
|
+
handleChange(x.name, value);
|
|
116
|
+
}
|
|
117
|
+
"
|
|
118
|
+
/>
|
|
119
|
+
</template>
|
|
120
|
+
</em-input>
|
|
121
|
+
<em-input
|
|
122
|
+
v-else-if="x.type === 'checkbox'"
|
|
123
|
+
ref="checkbox"
|
|
124
|
+
v-bind="{ ...$attrs, ...x }"
|
|
125
|
+
:label-position="x.labelPosition || labelPosition"
|
|
126
|
+
>
|
|
127
|
+
<template slot="input">
|
|
128
|
+
<em-checkbox-group
|
|
129
|
+
v-bind="{ ...$attrs, ...x }"
|
|
130
|
+
v-on="{ ...x.events }"
|
|
131
|
+
v-model="model[x.name]"
|
|
132
|
+
:disabled="x.disabled || disabled || x.readonly || readonly"
|
|
133
|
+
@change="
|
|
134
|
+
value => {
|
|
135
|
+
handleChange(x.name, value);
|
|
136
|
+
}
|
|
137
|
+
"
|
|
138
|
+
/>
|
|
139
|
+
</template>
|
|
140
|
+
</em-input>
|
|
141
|
+
<em-input
|
|
142
|
+
v-else-if="x.type === 'switch'"
|
|
143
|
+
ref="switch"
|
|
144
|
+
v-bind="{ ...$attrs, ...x }"
|
|
145
|
+
:label-position="x.labelPosition || labelPosition"
|
|
146
|
+
>
|
|
147
|
+
<template slot="input">
|
|
148
|
+
<em-switch
|
|
149
|
+
v-bind="{ ...$attrs, ...x }"
|
|
150
|
+
v-model="model[x.name]"
|
|
151
|
+
v-on="{ ...x.events }"
|
|
152
|
+
:disabled="x.disabled || disabled || x.readonly || readonly"
|
|
153
|
+
@change="
|
|
154
|
+
value => {
|
|
155
|
+
handleChange(x.name, value);
|
|
156
|
+
}
|
|
157
|
+
"
|
|
158
|
+
/>
|
|
159
|
+
</template>
|
|
160
|
+
</em-input>
|
|
161
|
+
<em-selector
|
|
162
|
+
v-else-if="x.type == 'selector'"
|
|
163
|
+
ref="selector"
|
|
164
|
+
v-bind="{ ...$attrs, ...x }"
|
|
165
|
+
v-model="model[x.name]"
|
|
166
|
+
v-on="{ ...x.events }"
|
|
167
|
+
:label="x.label"
|
|
168
|
+
:label-position="x.labelPosition || labelPosition"
|
|
169
|
+
:disabled="x.disabled || disabled || x.readonly || readonly"
|
|
170
|
+
@change="
|
|
171
|
+
value => {
|
|
172
|
+
handleChange(x.name, value);
|
|
173
|
+
}
|
|
174
|
+
"
|
|
175
|
+
/>
|
|
176
|
+
<em-table
|
|
177
|
+
v-else-if="x.type == 'table'"
|
|
178
|
+
class="em-form-table"
|
|
179
|
+
ref="emFormTable"
|
|
180
|
+
v-bind="{ ...$attrs, ...x }"
|
|
181
|
+
:data="model[x.name]"
|
|
182
|
+
:thead="x.tHead"
|
|
183
|
+
:style="`margin:${x.margin || 10}px 0px`"
|
|
184
|
+
isForm
|
|
185
|
+
:form="
|
|
186
|
+
!x.disabled && !disabled && !x.readonly && !readonly && x.form
|
|
187
|
+
"
|
|
188
|
+
v-on="{ ...x.events }"
|
|
189
|
+
@btn-click="handleBtnClick"
|
|
190
|
+
/>
|
|
191
|
+
</div>
|
|
192
|
+
</em-tab>
|
|
193
|
+
</em-tabs>
|
|
11
194
|
<em-input
|
|
12
195
|
v-if="
|
|
13
196
|
item.type === 'text' ||
|
|
@@ -8,10 +8,26 @@ export default {
|
|
|
8
8
|
components: { Table },
|
|
9
9
|
inheritAttrs: false,
|
|
10
10
|
props: {
|
|
11
|
+
navHeight: {
|
|
12
|
+
type: [String, Number],
|
|
13
|
+
default: 20
|
|
14
|
+
},
|
|
11
15
|
thead: {
|
|
12
16
|
type: Array,
|
|
13
17
|
default: () => []
|
|
14
18
|
},
|
|
19
|
+
openEnlarge: {
|
|
20
|
+
type: Boolean,
|
|
21
|
+
default: false
|
|
22
|
+
},
|
|
23
|
+
enlargeColor: {
|
|
24
|
+
type: String,
|
|
25
|
+
default: '#fff'
|
|
26
|
+
},
|
|
27
|
+
enlargeSize: {
|
|
28
|
+
type: [String, Number],
|
|
29
|
+
default: 18
|
|
30
|
+
},
|
|
15
31
|
data: {
|
|
16
32
|
type: Array,
|
|
17
33
|
default: () => []
|
|
@@ -95,6 +111,8 @@ export default {
|
|
|
95
111
|
options: {},
|
|
96
112
|
theadData: [],
|
|
97
113
|
errForm: [],
|
|
114
|
+
isEnlarge: false,
|
|
115
|
+
clientWidth: document.documentElement.clientWidth,
|
|
98
116
|
list: null,
|
|
99
117
|
wheres: {},
|
|
100
118
|
config: {
|
|
@@ -819,34 +837,125 @@ export default {
|
|
|
819
837
|
}
|
|
820
838
|
});
|
|
821
839
|
let tableContents = [];
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
840
|
+
if (!this.isEnlarge) {
|
|
841
|
+
tableContents.push(
|
|
842
|
+
h(
|
|
843
|
+
'el-table',
|
|
844
|
+
{
|
|
845
|
+
// ref: ref,
|
|
846
|
+
class: `em-table`,
|
|
847
|
+
attrs: {
|
|
848
|
+
'row-class-name': this.tableRowClassName,
|
|
849
|
+
'header-row-class-name': this.tableHeader,
|
|
850
|
+
data: this.datas,
|
|
851
|
+
...this.$attrs,
|
|
852
|
+
'max-height': this.maxHeight,
|
|
853
|
+
height:
|
|
854
|
+
this.tableHeight !== 'auto'
|
|
855
|
+
? this.tableHeight
|
|
856
|
+
: this.tableClientHeight
|
|
857
|
+
},
|
|
858
|
+
on: {
|
|
859
|
+
...this.$listeners,
|
|
860
|
+
'row-click': this.rowClick,
|
|
861
|
+
'selection-change': this.selectionChange
|
|
862
|
+
},
|
|
863
|
+
ref: 'oaTable'
|
|
838
864
|
},
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
865
|
+
dom
|
|
866
|
+
)
|
|
867
|
+
);
|
|
868
|
+
if (this.openEnlarge) {
|
|
869
|
+
tableContents.push(
|
|
870
|
+
h('i', {
|
|
871
|
+
class: 'iconfont em-fangda em-table-icon',
|
|
872
|
+
style: {
|
|
873
|
+
fontSize: this.enlargeSize + 'px',
|
|
874
|
+
color: this.enlargeColor
|
|
875
|
+
},
|
|
876
|
+
on: {
|
|
877
|
+
click: () => {
|
|
878
|
+
this.isEnlarge = true;
|
|
879
|
+
}
|
|
880
|
+
}
|
|
881
|
+
})
|
|
882
|
+
);
|
|
883
|
+
}
|
|
884
|
+
} else {
|
|
885
|
+
tableContents.push(
|
|
886
|
+
h(
|
|
887
|
+
'div',
|
|
888
|
+
{
|
|
889
|
+
class: 'em-table-isEnlarge',
|
|
890
|
+
style: {
|
|
891
|
+
'transform-origin':
|
|
892
|
+
this.clientWidth / 2 + 'px ' + this.clientWidth / 2 + 'px'
|
|
893
|
+
}
|
|
843
894
|
},
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
895
|
+
[
|
|
896
|
+
h(
|
|
897
|
+
'el-table',
|
|
898
|
+
{
|
|
899
|
+
// ref: ref,
|
|
900
|
+
class: `em-table`,
|
|
901
|
+
attrs: {
|
|
902
|
+
'row-class-name': this.tableRowClassName,
|
|
903
|
+
'header-row-class-name': this.tableHeader,
|
|
904
|
+
data: this.datas,
|
|
905
|
+
...this.$attrs,
|
|
906
|
+
'max-height': this.maxHeight,
|
|
907
|
+
height: this.page ? '90vw' : '100vw'
|
|
908
|
+
},
|
|
909
|
+
style: {
|
|
910
|
+
overflow: 'auto',
|
|
911
|
+
marginLeft: this.navHeight + 'px',
|
|
912
|
+
width: `calc(100% - ${this.navHeight}px)`
|
|
913
|
+
},
|
|
914
|
+
on: {
|
|
915
|
+
...this.$listeners,
|
|
916
|
+
'row-click': this.rowClick,
|
|
917
|
+
'selection-change': this.selectionChange
|
|
918
|
+
},
|
|
919
|
+
ref: 'oaTable'
|
|
920
|
+
},
|
|
921
|
+
dom
|
|
922
|
+
),
|
|
923
|
+
this.page
|
|
924
|
+
? h('em-pagination', {
|
|
925
|
+
attrs: {
|
|
926
|
+
...this.config
|
|
927
|
+
// pageNum: this.config.pageNum,
|
|
928
|
+
// pageSize: this.config.pageSize,
|
|
929
|
+
// totalCount: this.config.totalCount
|
|
930
|
+
},
|
|
931
|
+
class: 'em-table-page',
|
|
932
|
+
style: {
|
|
933
|
+
'text-align': this.page.position || 'center',
|
|
934
|
+
background: '#fff'
|
|
935
|
+
},
|
|
936
|
+
on: {
|
|
937
|
+
change: this.currentChange
|
|
938
|
+
}
|
|
939
|
+
})
|
|
940
|
+
: '',
|
|
941
|
+
h('i', {
|
|
942
|
+
class: 'iconfont em-guanbi em-table-icon',
|
|
943
|
+
style: {
|
|
944
|
+
fontSize: this.enlargeSize + 'px',
|
|
945
|
+
color: this.enlargeColor
|
|
946
|
+
},
|
|
947
|
+
on: {
|
|
948
|
+
click: () => {
|
|
949
|
+
this.isEnlarge = false;
|
|
950
|
+
}
|
|
951
|
+
}
|
|
952
|
+
})
|
|
953
|
+
]
|
|
954
|
+
)
|
|
955
|
+
);
|
|
956
|
+
}
|
|
957
|
+
|
|
958
|
+
if (this.page && !this.isEnlarge) {
|
|
850
959
|
tableContents.push(
|
|
851
960
|
h('em-pagination', {
|
|
852
961
|
attrs: {
|
|
@@ -867,8 +976,10 @@ export default {
|
|
|
867
976
|
'div',
|
|
868
977
|
{
|
|
869
978
|
ref: 'emTable',
|
|
979
|
+
class: 'em-table-box',
|
|
870
980
|
style: {
|
|
871
|
-
height: '100%'
|
|
981
|
+
height: '100%',
|
|
982
|
+
position: 'relative'
|
|
872
983
|
}
|
|
873
984
|
},
|
|
874
985
|
tableContents
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@charset "UTF-8";.em-flow-list{width:100%;background-color:#fff}.em-flow-list .list{padding:32px 16px 0}.em-flow-list .list .item{position:relative;border-left:1px solid #eee;padding:10px 0;margin:10px 0}.em-flow-list .list .item .icon-gou{position:absolute;top:-15px;left:-8px;color:#12278B}.em-flow-list .list .item .process-pending{position:absolute;top:-15px;left:-8.5px;width:16px;height:16px;border-radius:50%;
|
|
1
|
+
@charset "UTF-8";.em-flow-list{width:100%;background-color:#fff}.em-flow-list .list{padding:32px 16px 0}.em-flow-list .list .item{position:relative;border-left:1px solid #eee;padding:10px 0;margin:10px 0}.em-flow-list .list .item .icon-gou{position:absolute;top:-15px;left:-8px;color:#12278B}.em-flow-list .list .item .process-pending{position:absolute;top:-15px;left:-8.5px;width:16px;height:16px;border-radius:50%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.em-flow-list .list .item .process-pending .process-pending-yuan{display:inline-block;width:6px;height:6px;border-radius:50%;background:#12278B}.em-flow-list .list .item:last-child{border-left-color:transparent;height:auto}.em-flow-list .list .item .icon-finish{width:16px;height:auto;position:relative;left:-8px}.em-flow-list .list .item .icon-ing{width:34px;height:auto;position:relative;left:-14px}.em-flow-list .list .item .item-box{padding-left:29px;width:100%}.em-flow-list .list .item .item-box .one{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:absolute;top:-18px}.em-flow-list .list .item .item-box .one .label{font-size:14px;font-family:PingFang SC;font-weight:400;color:#666}.em-flow-list .list .item .item-box .one .time{font-size:12px;font-family:PingFang SC;font-weight:400;color:#999}.em-flow-list .list .item .item-box .two{font-size:16px;font-family:PingFang SC;font-weight:400;color:#333;padding-bottom:10px;border-bottom:1px solid #eee}.em-flow-list .list .item .item-box .tree{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;font-size:12px;font-family:PingFang SC;color:#999;line-height:16px;margin-bottom:16px;margin-top:10px}.em-flow-list .list .item .time{text-align:right;color:#333;font-size:13px;padding-top:10px;height:16px;line-height:15px}.em-flow-list .list .success-icon{border-left-color:#12278B}.em-flow-list .more{color:#12278B}.em-flow-list .custom-image .van-empty__image{width:90px;height:90px}
|