diff --git a/src/bg-ui/bg-btns.vue b/src/bg-ui/bg-btns.vue index abe7773ca111c268d723ba8a15604c357940c972..11405052586b870905ef76329973550e44b5e635 100644 --- a/src/bg-ui/bg-btns.vue +++ b/src/bg-ui/bg-btns.vue @@ -15,24 +15,21 @@ - diff --git a/src/bg-ui/bg-card.vue b/src/bg-ui/bg-card.vue index a473955adee775df43958cdcdd577bad0bb2f39c..c34605e6256d72a01e6bc522f8269c73912c609f 100644 --- a/src/bg-ui/bg-card.vue +++ b/src/bg-ui/bg-card.vue @@ -1,29 +1,58 @@ - + + \ No newline at end of file diff --git a/src/bg-ui/bg-detail-table.vue b/src/bg-ui/bg-detail-table.vue index da685d3321e5609526d11968a198e0b9c0a13f82..ab0af920f619697f369a0f220e0ac513268d0959 100644 --- a/src/bg-ui/bg-detail-table.vue +++ b/src/bg-ui/bg-detail-table.vue @@ -1,102 +1,105 @@ - diff --git a/src/bg-ui/bg-detail-table2.vue b/src/bg-ui/bg-detail-table2.vue index 19757d2c791f8bf66616ba116ee5ffe58b75878b..fe1fd13a2cb479a5e08ccede18ec9100ee6465a0 100644 --- a/src/bg-ui/bg-detail-table2.vue +++ b/src/bg-ui/bg-detail-table2.vue @@ -1,94 +1,69 @@ - diff --git a/src/bg-ui/bg-detail.vue b/src/bg-ui/bg-detail.vue index 8ea63e135f6d9ac15cef7f423e93d505faa30cd8..2dd720232abe69428c89301b02f5c0ba29c5ae88 100644 --- a/src/bg-ui/bg-detail.vue +++ b/src/bg-ui/bg-detail.vue @@ -1,5 +1,5 @@ - diff --git a/src/bg-ui/bg-filter-date.vue b/src/bg-ui/bg-filter-date.vue index 27421d7d7608b60074d9e380cf4c4ec842d2bb4d..c2f3d6ee33625c28a844b4636cf2bd439bdc21fc 100644 --- a/src/bg-ui/bg-filter-date.vue +++ b/src/bg-ui/bg-filter-date.vue @@ -3,7 +3,7 @@ {{ name }}:
- \ No newline at end of file +}); + diff --git a/src/bg-ui/bg-filter-group.vue b/src/bg-ui/bg-filter-group.vue index 2965825b2f5aa7fc1ec4078ff715555552eb4f76..d4358b01ffa38cf2805a85233cce10db098cc018 100644 --- a/src/bg-ui/bg-filter-group.vue +++ b/src/bg-ui/bg-filter-group.vue @@ -1,66 +1,100 @@ \ No newline at end of file + state.modelValue = props.modelValue; +}); +const { modelValue, showFlag } = toRefs(state); + diff --git a/src/bg-ui/bg-filter.vue b/src/bg-ui/bg-filter.vue index 699265a6ce00316e08449cdc68bac3cbb7f7a871..9554431deb94406cecd747865dfdc9f9d54864e5 100644 --- a/src/bg-ui/bg-filter.vue +++ b/src/bg-ui/bg-filter.vue @@ -15,22 +15,17 @@
- diff --git a/src/bg-ui/bg-filtrate.vue b/src/bg-ui/bg-filtrate.vue index ac50c8d78464e791915861318afa9e8aab9e4fd2..0140afab555c1e45c93c9ed539cf240113d9ef5d 100644 --- a/src/bg-ui/bg-filtrate.vue +++ b/src/bg-ui/bg-filtrate.vue @@ -6,85 +6,83 @@ v-for="(item, index) in fullOptions" :class="{ current: selection.indexOf(item.value) > -1 }" :key="'li_' + index" - @click="selectAction(item)" - > + @click="selectAction(item)"> {{ item.name }} - \ No newline at end of file + diff --git a/src/bg-ui/bg-icon.vue b/src/bg-ui/bg-icon.vue index 6a967026083a3145574d49efe8e7e340f856b7b2..a66160ddbb8b7cf4fc906e7b396c81a6106c9bc5 100644 --- a/src/bg-ui/bg-icon.vue +++ b/src/bg-ui/bg-icon.vue @@ -4,15 +4,13 @@ - \ No newline at end of file +}) + diff --git a/src/bg-ui/bg-info.vue b/src/bg-ui/bg-info.vue index 1790258bec495d9421ed293fc62272381e9aba3f..613a36f2be697cf67b376821e7b8ea38f1c08596 100644 --- a/src/bg-ui/bg-info.vue +++ b/src/bg-ui/bg-info.vue @@ -6,115 +6,109 @@ :key="'li_' + index" :style="{ width: item.full ? `100%` : `calc(100% / ${col})`, - }" - > - + }"> + {{ item.name }} - - + {{ item.value }} - + {{ + item.value + }} + {{ item.value }} + + 复制 + - 复制 - - - + + @click="changeView(item)"> - diff --git a/src/bg-ui/bg-layout-card.vue b/src/bg-ui/bg-layout-card.vue index 7e545d9d272b1f348eaf8d3a5e553f0732fb69eb..708e139276981b44180d91e8ac3b72a51f17bf39 100644 --- a/src/bg-ui/bg-layout-card.vue +++ b/src/bg-ui/bg-layout-card.vue @@ -7,8 +7,7 @@ v-for="(item, index) in btns" :key="item" :class="{ current: index === btn }" - @click="$emit('update:btn', index)" - > + @click="$emit('update:btn', index)"> {{ item }} @@ -17,8 +16,7 @@ @click="downloadAction" v-loading="downloading" element-loading-spinner="el-icon-loading" - v-if="download" - > + v-if="download"> @@ -28,87 +26,81 @@ - diff --git a/src/bg-ui/bg-list.vue b/src/bg-ui/bg-list.vue index f896beb670633aecfcd0b9d9d82a8e3d8e2477a7..6ce311d9a8422fbe1fc8e54a44e1b6b8cfcd1732 100644 --- a/src/bg-ui/bg-list.vue +++ b/src/bg-ui/bg-list.vue @@ -30,10 +30,7 @@ -
+
@@ -41,12 +38,8 @@
- - 查询 - - - 重置 - + 查询 + 重置
@@ -73,22 +66,19 @@ - diff --git a/src/bg-ui/bg-nav-list.vue b/src/bg-ui/bg-nav-list.vue index 97ff048a93dd8a8401eb7bfd1ea269680c9fa985..bde6ff9ed6a092a2965e746eabdc8fd861bb02e5 100644 --- a/src/bg-ui/bg-nav-list.vue +++ b/src/bg-ui/bg-nav-list.vue @@ -1,18 +1,23 @@ - \ No newline at end of file + diff --git a/src/bg-ui/bg-step.vue b/src/bg-ui/bg-step.vue deleted file mode 100644 index c757568e87f82036adf2c05db81364c5771fb258..0000000000000000000000000000000000000000 --- a/src/bg-ui/bg-step.vue +++ /dev/null @@ -1,42 +0,0 @@ - - - diff --git a/src/bg-ui/bg-steps.vue b/src/bg-ui/bg-steps.vue deleted file mode 100644 index a17dfa2d6489878a25237a670669fe6cef9982b6..0000000000000000000000000000000000000000 --- a/src/bg-ui/bg-steps.vue +++ /dev/null @@ -1,106 +0,0 @@ - - - diff --git a/src/bg-ui/bg-switch.vue b/src/bg-ui/bg-switch.vue index 62c03cd44c95e545cf2ce235d981c101ab37532f..282b67b6fe02cd740550342e9d07c4e78e22720c 100644 --- a/src/bg-ui/bg-switch.vue +++ b/src/bg-ui/bg-switch.vue @@ -1,11 +1,5 @@ - diff --git a/src/bg-ui/bg-tab.vue b/src/bg-ui/bg-tab.vue index 36a6b54546d74cedd0e46030d9a0b4e4748b5ff0..618e9a189829fcf974382be77e8f143e5867defb 100644 --- a/src/bg-ui/bg-tab.vue +++ b/src/bg-ui/bg-tab.vue @@ -9,51 +9,47 @@ - diff --git a/src/bg-ui/bg-table-btn.vue b/src/bg-ui/bg-table-btn.vue index e2e218151788236783cb2ed88cdb4be83aadef44..7a80ba022ffe42f4c356e086b8f9a628efb0240b 100644 --- a/src/bg-ui/bg-table-btn.vue +++ b/src/bg-ui/bg-table-btn.vue @@ -4,30 +4,27 @@ - diff --git a/src/bg-ui/bg-table-btns.vue b/src/bg-ui/bg-table-btns.vue index f2adb807ce35e18bf1029c136af180a803201c2f..c0e2ec4223138f689bb741a65211c089b17af710 100644 --- a/src/bg-ui/bg-table-btns.vue +++ b/src/bg-ui/bg-table-btns.vue @@ -11,7 +11,7 @@ @@ -19,7 +19,7 @@ @@ -78,7 +78,7 @@ export default { return name; } }, - showMOreBtns() { + showMoreBtns() { if (this.timer) clearTimeout(this.timer); this.showMore = true; diff --git a/src/bg-ui/bg-table-btns2.vue b/src/bg-ui/bg-table-btns2.vue new file mode 100644 index 0000000000000000000000000000000000000000..7b95478258fd1f797c210a2426e53c7cdbffaf95 --- /dev/null +++ b/src/bg-ui/bg-table-btns2.vue @@ -0,0 +1,169 @@ + + + + + diff --git a/src/bg-ui/bg-table-pro.vue b/src/bg-ui/bg-table-pro.vue index b46b7ffb439cfa1b17808468ec2187988d798ab5..958144ff4faaa673d8c6ad5f7cc308785d58ff6f 100644 --- a/src/bg-ui/bg-table-pro.vue +++ b/src/bg-ui/bg-table-pro.vue @@ -3,14 +3,13 @@ ref="table" class="bg-table bg-table-pro" :class="{ 'bg-table-tree': !!rowKey }" - v-bind="$attrs" + v-bind="attrs" :data="data" :row-key="rowKey" :tree-props="treeProps" @selection-change="selectionChange" - :default-expand-all="defaultExpandAll" tooltip-effect="light" - > + :default-expand-all="defaultExpandAll"> - + + :fixed="header.fixed"> - diff --git a/src/bg-ui/bg-upload-image.vue b/src/bg-ui/bg-upload-image.vue index 346e20eff96ad586e1e81ad2ced43e23c38acb91..ca99f4fdb217eb5095111be9d024e760576e22c5 100644 --- a/src/bg-ui/bg-upload-image.vue +++ b/src/bg-ui/bg-upload-image.vue @@ -1,13 +1,13 @@ - diff --git a/src/bg-ui/bg-upload.vue b/src/bg-ui/bg-upload.vue index 07d5b4307a5a0a4a26f8c3ef63e1b5ff6fd379fd..8e7ecea50112e27541b182d59584aa79a9fe4238 100644 --- a/src/bg-ui/bg-upload.vue +++ b/src/bg-ui/bg-upload.vue @@ -1,8 +1,5 @@ - diff --git a/src/bg-ui/index.js b/src/bg-ui/index.js index 710a6f794fd4761871c7939c35577a26bdb59fe7..f4455e765eabfbae1a92134b34fc8a0881945b80 100644 --- a/src/bg-ui/index.js +++ b/src/bg-ui/index.js @@ -14,8 +14,6 @@ import BgLayoutCard from './bg-layout-card.vue' import BgCard from './bg-card.vue' import BgInfo from './bg-info.vue' - import BgSteps from './bg-steps.vue' - import BgStep from './bg-step.vue' import BgBtns from './bg-btns.vue' import BgUpload from './bg-upload.vue' import BgUploadImage from './bg-upload-image.vue' @@ -34,6 +32,7 @@ import BgInnerTabs from './bg-inner-tabs.vue' import BgFilterGroup from './bg-filter-group.vue' import BgTableBtns from './bg-table-btns.vue' + import BgTableBtns2 from './bg-table-btns2.vue' const components = { BgIcon,//字体图标 @@ -49,8 +48,6 @@ const components = { BgLayoutCard, // 带标题的卡片 BgCard, // 详情卡片 BgInfo, // 表格信息 - BgSteps, // 步骤条 - BgStep, // 步骤条 BgBtns, // 按钮组 BgUpload, // 上传附件 BgUploadImage, // 上传单张图片 @@ -69,6 +66,7 @@ const components = { BgInnerTabs,//内部tab BgFilterGroup,//列表按钮及筛选 BgTableBtns,// 表格按钮组 + BgTableBtns2, }; const install = (Vue) => { diff --git a/src/bg-ui/index.scss b/src/bg-ui/index.scss index a84eb253498cc9894597b1ec9b8789b46802afef..7fa5a383faf36936fc94362ccfc6476037661b00 100644 --- a/src/bg-ui/index.scss +++ b/src/bg-ui/index.scss @@ -265,17 +265,17 @@ a { padding: 0 10px; > * { - height: 36px !important; + height: 32px !important; background-color: transparent !important; font-size: 14px; - line-height: 36px !important; + line-height: 32px !important; color: #404a62; } > .el-pager > li { - height: 36px !important; + height: 32px !important; background-color: transparent !important; - line-height: 36px !important; + line-height: 32px !important; color: #404a62 !important; &.active { @@ -522,7 +522,7 @@ a { } > .bg-nav-list { - height: calc(100% - 135px); + height: calc(100% - 10px); box-sizing: border-box; ul.nav-list { @@ -644,17 +644,20 @@ a { &::before { display: none; } - .empty_container { - height: 500px; - padding-top: 247px; - img { - width: 257px; - height: 145px; - } - .text { - font-size: 16px; - color: #616f94; - line-height: 1; + .el-table__empty-block { + height: 500px!important; + .empty_container { + height: 500px; + padding-top: 247px; + img { + width: 257px; + height: 145px; + } + .text { + font-size: 16px; + color: #616f94; + line-height: 1; + } } } th, @@ -746,7 +749,7 @@ a { max-width: 388px; padding: 15px 12px; color: #202531; - box-shadow: 0px 4px 12px 0px + box-shadow: 0px 4px 12px 0px rgba(18, 30, 63, 0.1); border: solid 1px #e6e9ef; font-size: 14px; @@ -760,12 +763,26 @@ a { > .cell { padding: 0 10px !important; overflow: unset; - display: flex; + display: flex!important; justify-content: flex-start; align-items: center; } } + .el-table-column--selection{ + border-left: 1px solid #e6e9ef; + > .cell { + justify-content: center + } + } + + th.el-table-column--selection{ + > .cell { + display: flex; + justify-content: center + } + } + &.el-table--border { @@ -804,7 +821,12 @@ a { display: inline; color: #3759be; cursor: pointer; - + &:hover { + color: #738bd2 + } + &:active { + color: #2c4798; + } &.disabled { cursor: not-allowed; color: #a9b1c7; @@ -1495,7 +1517,7 @@ a { border-left: 1px solid #e3e5ef; color: #404a62; position: relative; - + > .copy-btn { position: absolute; top: 50%; @@ -1512,6 +1534,16 @@ a { color: #2b4695; } } + > .copy-btn-dis { + color: #dce0e8; + cursor: not-allowed!important; + &:hover { + color: #dce0e8; + } + &:active { + color: #dce0e8; + } + } } } @@ -1819,7 +1851,7 @@ a { > .el-upload-list { margin: 0 0 0 16px; - + > .el-upload-list__item { margin: 0; @@ -2337,6 +2369,9 @@ a { height: 32px; margin-top: 16px; float: right; + .el-input { + --el-input-height: 32px; + } .el-pagination { text-align: center; margin: 0 auto; @@ -2356,7 +2391,7 @@ a { li:hover { color: #3759be; } - } + } .el-input__wrapper { background-color: #fff; } @@ -2373,14 +2408,20 @@ a { .bg-card { background-color: #ffffff; - box-shadow: 0px 1px 4px 0px + box-shadow: 0px 1px 4px 0px rgba(0, 7, 101, 0.15); border-radius: 6px; margin-bottom: 16px; + .card-header { + display: flex; + justify-content: space-between; + align-items: center; + border-bottom: 1px solid #ebedf2; + } + .card-title { padding: 16px 16px; - border-bottom: 1px solid #ebedf2; font-weight: bold; display: flex; justify-content: flex-start; @@ -2517,7 +2558,7 @@ a { background-color: #f2f3f7; color: #202531; } - + &.disabled { color: #a9b1c7; } @@ -2534,4 +2575,4 @@ a { height: 10px; width: 100%; } -} \ No newline at end of file +}