diff --git a/src/bg-ui/bg-btns.vue b/src/bg-ui/bg-btns.vue index abe7773ca111c268d723ba8a15604c357940c972..a806416581426e16eea69e94071247b9844b84fa 100644 --- a/src/bg-ui/bg-btns.vue +++ b/src/bg-ui/bg-btns.vue @@ -7,32 +7,27 @@ 'is-active': modelValue === btn.value, }" :key="btn.value" - @click="selectBtn(btn)" - > + @click="selectBtn(btn)"> {{ btn.name }} - diff --git a/src/bg-ui/bg-card.vue b/src/bg-ui/bg-card.vue index 11f5baf098721a451d46d69017eb61e355616e62..d5191ab5d906554e657da760b416eaf284ecbc92 100644 --- a/src/bg-ui/bg-card.vue +++ b/src/bg-ui/bg-card.vue @@ -12,18 +12,15 @@ - diff --git a/src/bg-ui/bg-code-editor.vue b/src/bg-ui/bg-code-editor.vue index dbcfcfda3f0e3b1c20494705639272a31a34fe28..d239f2c16c478357b56f48ccfaa3344a9790966b 100644 --- a/src/bg-ui/bg-code-editor.vue +++ b/src/bg-ui/bg-code-editor.vue @@ -2,72 +2,69 @@ + wrap: true, + }" /> 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..7b45e8f26c59ae7d437d279a4e2154a2cb661fae 100644 --- a/src/bg-ui/bg-detail.vue +++ b/src/bg-ui/bg-detail.vue @@ -9,8 +9,7 @@ :class="{ current: activeName === item.name, }" - @click="changeActiveName(item, index)" - > + @click="changeActiveName(item, index)"> {{ item.label }}
  • @@ -44,8 +43,7 @@ :class="{ current: activeName === item.name, }" - @click="changeActiveName(item, index)" - > + @click="changeActiveName(item, index)"> {{ item.label }}
  • @@ -60,84 +58,76 @@ - diff --git a/src/bg-ui/bg-filter-date.vue b/src/bg-ui/bg-filter-date.vue index 27421d7d7608b60074d9e380cf4c4ec842d2bb4d..f73061ac3b89787c38eebf56c3ea0d87b997dc7b 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 bd1b99426f1cfe411116186b84b8e1c1628080bb..70afbd65ad6f263016d89095e2cf352ae48aeafa 100644 --- a/src/bg-ui/bg-filter-group.vue +++ b/src/bg-ui/bg-filter-group.vue @@ -1,70 +1,84 @@ \ 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..4e9fd4f5589f21b9c65d95deca764d7c6ce797e5 100644 --- a/src/bg-ui/bg-filter.vue +++ b/src/bg-ui/bg-filter.vue @@ -7,91 +7,82 @@ v-for="(item, index) in fullOptions" :class="{ current: selection.indexOf(item.value) > -1 }" :key="'li_' + index" - @click="selectAction(item)" - > + @click="selectAction(item)"> {{ item.name }}
  • - diff --git a/src/bg-ui/bg-filtrate.vue b/src/bg-ui/bg-filtrate.vue index ac50c8d78464e791915861318afa9e8aab9e4fd2..ae06e23fb4bffdc3eda3f049f70259594f09bfe9 100644 --- a/src/bg-ui/bg-filtrate.vue +++ b/src/bg-ui/bg-filtrate.vue @@ -6,85 +6,75 @@ 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 2ff2984223ee7942296589a981e453a989c797ea..0a2ca400a080e25541c893a0ad4b2859982842b9 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 738d54b2bbb18a4beb9ef5f2cf1970ef36d2ba31..98db35d799e7d6ed4d243f44ca06e20d7d82a58c 100644 --- a/src/bg-ui/bg-info.vue +++ b/src/bg-ui/bg-info.vue @@ -6,161 +6,162 @@ :key="'li_' + index" :style="{ width: item.full ? `100%` : `calc(100% / ${col})`, - }" - > - + }"> + {{ item.name }} - - + - {{item.value}} - {{secret(item.value)}} - {{idCardShow ? item.value : idcard(item.value)}} - {{item.value}} - {{ item.value }} + width: item.copy ? 'calc(100% - 36px)' : item.download || item.password ? 'calc(100% - 22px)' : '100%', + color: item.download ? '#3759be' : '#404a62', + }"> + + {{ item.value }} + {{ secret(item.value) }} + {{ idCardShow ? item.value : idcard(item.value) }} + {{ + item.value + }} + {{ item.value }} - 复制 + - 复制 - - - - + + - + + @click="changeView(item)"> - diff --git a/src/bg-ui/bg-inner-tabs.vue b/src/bg-ui/bg-inner-tabs.vue index 2726a63ac69eea628e833d7b198359fe8ce516ce..c17e1dc252eb9c6e66b459a24b832e15bcff5582 100644 --- a/src/bg-ui/bg-inner-tabs.vue +++ b/src/bg-ui/bg-inner-tabs.vue @@ -1,64 +1,71 @@ diff --git a/src/bg-ui/bg-layout-card.vue b/src/bg-ui/bg-layout-card.vue index 7e545d9d272b1f348eaf8d3a5e553f0732fb69eb..b2e451858de8c92fa64678a491b83ac951f643bf 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,82 @@ - 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..e487a06564cc2e7e63bf98043a13f29e853b0d72 100644 --- a/src/bg-ui/bg-nav-list.vue +++ b/src/bg-ui/bg-nav-list.vue @@ -1,18 +1,23 @@ - diff --git a/src/bg-ui/bg-permission.vue b/src/bg-ui/bg-permission.vue index 7b20194edf11df85d55c77d721004ac907f0e528..3a5283bda70f925752de9359ffd84e26beac19cd 100644 --- a/src/bg-ui/bg-permission.vue +++ b/src/bg-ui/bg-permission.vue @@ -1,13 +1,7 @@ - diff --git a/src/bg-ui/bg-rich-text.vue b/src/bg-ui/bg-rich-text.vue index 693255ed87d9642bcfc8fed200661cfc7e6ade20..d1bac2a5cb3f2cb0999bcf9327220acde312a7a7 100644 --- a/src/bg-ui/bg-rich-text.vue +++ b/src/bg-ui/bg-rich-text.vue @@ -1,87 +1,118 @@ \ No newline at end of file + emit("update:modelValue", valueHtml.value); +}; +const handleBlur = () => { + formItem?.validate?.("blur").catch((err) => console.warn(err)); +}; + diff --git a/src/bg-ui/bg-sort.vue b/src/bg-ui/bg-sort.vue index c0b2eb1307a6bd6750fad825e742e17ad9c6f157..caa9765ef34be5dccec6421915ed7d84c2d460d3 100644 --- a/src/bg-ui/bg-sort.vue +++ b/src/bg-ui/bg-sort.vue @@ -3,52 +3,43 @@ + :class="{ current: item.value === modelValue }" + @click="selectAction(item)"> {{ item.name }} - \ 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-ele.vue b/src/bg-ui/bg-switch-ele.vue index 1646344ef262edfe42d8369b896394a732a5c81f..a9ff623173d3f81f6eb334404927b250a6f42ea3 100644 --- a/src/bg-ui/bg-switch-ele.vue +++ b/src/bg-ui/bg-switch-ele.vue @@ -7,17 +7,16 @@ inline-prompt :active-text="activeText" :inactive-text="inactiveText" - @change="changeState" - /> + @change="changeState" /> diff --git a/src/bg-ui/bg-switch.vue b/src/bg-ui/bg-switch.vue index 71463f84e6f1a01db41182ac3a682e1f29dc8d6d..97a81f70ae77eaa8afbb5af427df88c0b23ed7d5 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..3d7e3dafeddaab804b7d853a7039c241c66cb0b6 100644 --- a/src/bg-ui/bg-tab.vue +++ b/src/bg-ui/bg-tab.vue @@ -9,51 +9,44 @@ - diff --git a/src/bg-ui/bg-table-btn.vue b/src/bg-ui/bg-table-btn.vue index e2e218151788236783cb2ed88cdb4be83aadef44..6154065001a8ca9c4a61aaaae179acc12433e48a 100644 --- a/src/bg-ui/bg-table-btn.vue +++ b/src/bg-ui/bg-table-btn.vue @@ -4,30 +4,25 @@ - diff --git a/src/bg-ui/bg-table-pro.vue b/src/bg-ui/bg-table-pro.vue index 40441c7071176613827e387cffa3de0ac2505cd7..8e61ac8daf928f873328cc70ac4a54d12c473172 100644 --- a/src/bg-ui/bg-table-pro.vue +++ b/src/bg-ui/bg-table-pro.vue @@ -3,13 +3,12 @@ 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" - > + :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 bf31b3e2ce3156ebfd83d4130da56128e8894ad3..be3d40480f9bd97e697f9a9b5a637a2cc3868d36 100644 --- a/src/bg-ui/bg-upload-image.vue +++ b/src/bg-ui/bg-upload-image.vue @@ -1,6 +1,6 @@ - diff --git a/src/bg-ui/bg-upload.vue b/src/bg-ui/bg-upload.vue index 5bbf77d9a5202b5eda7f72d4f973d5de014ee220..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 f3c02e3a4d94c0b24044c278928ccba69a1e1de6..cdd71637986a1a20aeca3318c09acc9ed4de3dc9 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' @@ -52,8 +50,6 @@ const components = { BgLayoutCard, // 带标题的卡片 BgCard, // 详情卡片 BgInfo, // 表格信息 - BgSteps, // 步骤条 - BgStep, // 步骤条 BgBtns, // 按钮组 BgUpload, // 上传附件 BgUploadImage, // 上传单张图片 diff --git a/src/bg-ui/index.scss b/src/bg-ui/index.scss index f71ab043b75b7d76ef8cad1c708d6959f065b6dc..459fe858d9c5071323fb1fc8d75bad6d928b8898 100644 --- a/src/bg-ui/index.scss +++ b/src/bg-ui/index.scss @@ -1529,176 +1529,6 @@ a { } } -.bg-steps { - background-color: #ffffff; - box-shadow: 0px 1px 4px 0px rgba(0, 7, 101, 0.1); - border-radius: 6px; - padding: 14px; - - > .bg-steps-container { - .steps-nav { - padding: 18px 16px 31px; - border-bottom: 1px solid #f4f7fc; - - > ul { - display: flex; - justify-content: space-between; - align-items: center; - - > .step-item { - display: flex; - justify-content: flex-start; - align-items: center; - margin: 0 16px; - - > .step-icon { - position: relative; - width: 30px; - height: 30px; - border-radius: 50%; - background-color: #e3e5ef; - - &::before { - content: ""; - width: 16px; - height: 16px; - border-radius: 50%; - background-color: #bcc1d0; - position: absolute; - top: 7px; - left: 7px; - } - } - - > .step-hightlight-icon { - position: relative; - width: 70px; - height: 70px; - border-radius: 50%; - background-color: #2d96c9; - display: flex; - justify-content: center; - align-items: center; - display: none; - - &::before { - content: ""; - width: 60px; - height: 60px; - border: solid 3px #84bfdc; - box-sizing: border-box; - border-radius: 50%; - position: absolute; - top: 5px; - left: 5px; - } - } - - > .step-title { - margin-left: 15px; - - > p { - line-height: 1; - color: #bcc1d0; - - &:nth-child(1) { - font-weight: bolder; - font-size: 18px; - } - - &:nth-child(2) { - font-size: 14px; - margin-top: 12px; - } - } - } - - &.done, - &.current { - > .step-icon { - display: none; - } - - > .step-hightlight-icon { - display: flex; - } - } - - > .step-title { - margin-left: 15px; - - > p { - &:nth-child(1) { - color: #242c43; - } - - &:nth-child(2) { - color: #8890a7; - } - } - } - } - - > .step-line { - width: 100px; - flex: 1 1 auto; - height: 4px; - background-color: #e3e5ef; - border-radius: 2px 0px 0px 2px; - - &.done, - &.current { - background-color: #2d96c9; - } - } - } - } - - .steps-content { - margin-top: 20px; - } - } -} - -.bg-step { - .step-done { - display: flex; - justify-self: center; - align-items: center; - - > .done-icon { - margin-right: 15px; - } - - > .done-info { - > p { - line-height: 1.5; - - &:nth-child(1) { - font-weight: bolder; - font-size: 18px; - color: #242c43; - } - - &:nth-child(2) { - font-size: 14px; - color: #8890a7; - margin-top: 5px; - } - } - } - } - - > .step-action { - overflow: hidden; - margin-top: 20px; - - > .fr { - float: right; - } - } -} - .bg-btns { display: inline-block; diff --git a/src/components/ability-card.vue b/src/components/ability-card.vue index 924c656c8fb5834697e1f81ed5ba9c8609272e86..3d2c77e606699ad2b3096a8ee95433f31e3cc1a2 100644 --- a/src/components/ability-card.vue +++ b/src/components/ability-card.vue @@ -1,68 +1,64 @@ \ No newline at end of file + diff --git a/src/components/ability-list.vue b/src/components/ability-list.vue index 89a7ebc0ffa901ddbaf58113d0f65a48485f0bf0..c771a84755cbae1d4508889193313afd9f51c03c 100644 --- a/src/components/ability-list.vue +++ b/src/components/ability-list.vue @@ -1,7 +1,13 @@ \ No newline at end of file + diff --git a/src/components/input-table.vue b/src/components/input-table.vue index b301f32c8b54297dadfe65fda6e5fbd48facc08b..d3ca6a7d7e849fe83cf31937b3a0420051a8ed1e 100644 --- a/src/components/input-table.vue +++ b/src/components/input-table.vue @@ -1,47 +1,40 @@