@xinlian-frontend/lui 0.0.1-beta.5
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/README.md +22 -0
- package/assets/style.css +1 -0
- package/components/ApprovalSteps/index.d.ts +11 -0
- package/components/ApprovalSteps/index.vue.d.ts +10 -0
- package/components/ApprovalSteps/privite-type.d.ts +381 -0
- package/components/ApprovalSteps/type.d.ts +61 -0
- package/components/FilePreview/file-preview.vue.d.ts +6 -0
- package/components/FilePreview/index.d.ts +7 -0
- package/components/button/button.vue.d.ts +3 -0
- package/components/button/index.d.ts +4 -0
- package/components/button/type.d.ts +1 -0
- package/components/detail-layout/detail-layout.vue.d.ts +42 -0
- package/components/detail-layout/index.d.ts +2 -0
- package/components/detail-layout/type.d.ts +9 -0
- package/components/drawer/index.d.ts +107 -0
- package/components/drawer/index.vue.d.ts +51 -0
- package/components/drawer/type.d.ts +1 -0
- package/components/error-page/404.vue.d.ts +3 -0
- package/components/error-page/index.d.ts +4 -0
- package/components/filter-panel/filter-panel.vue.d.ts +36 -0
- package/components/filter-panel/index.d.ts +79 -0
- package/components/filter-panel/type.d.ts +28 -0
- package/components/fixed-footer/fixed-footer.vue.d.ts +13 -0
- package/components/fixed-footer/index.d.ts +2 -0
- package/components/form-footer/form-footer.vue.d.ts +13 -0
- package/components/form-footer/index.d.ts +15 -0
- package/components/form-footer/type.d.ts +36 -0
- package/components/form-section-page/form-section-page.vue.d.ts +13 -0
- package/components/form-section-page/index.d.ts +3 -0
- package/components/form-submit-page/form-submit-page-card.vue.d.ts +22 -0
- package/components/form-submit-page/form-submit-page.vue.d.ts +79 -0
- package/components/form-submit-page/index.d.ts +4 -0
- package/components/info-layout/index.d.ts +50 -0
- package/components/info-layout/info-layout.vue.d.ts +28 -0
- package/components/info-layout/type.d.ts +6 -0
- package/components/modal/index.d.ts +44 -0
- package/components/modal/index.vue.d.ts +25 -0
- package/components/page-table/index.d.ts +204 -0
- package/components/page-table/page-table.vue.d.ts +95 -0
- package/components/page-table/setting.vue.d.ts +10 -0
- package/components/page-table/type.d.ts +19 -0
- package/components/role-tree/index.d.ts +23 -0
- package/components/role-tree/role-tree-item.vue.d.ts +17 -0
- package/components/role-tree/role-tree.vue.d.ts +21 -0
- package/components/role-tree/type.d.ts +13 -0
- package/components/second-bar/SecondBar.vue.d.ts +16 -0
- package/components/second-bar/index.d.ts +22 -0
- package/components/section-block/index.d.ts +2 -0
- package/components/section-block/section-block.vue.d.ts +31 -0
- package/components/sign-status-flow/index.d.ts +12 -0
- package/components/sign-status-flow/sign-status-flow.vue.d.ts +9 -0
- package/components/sign-status-flow/type.d.ts +8 -0
- package/components/upload-file/constant.d.ts +18 -0
- package/components/upload-file/index.d.ts +170 -0
- package/components/upload-file/service.d.ts +4 -0
- package/components/upload-file/type.d.ts +8 -0
- package/components/upload-file/upload-file.vue.d.ts +48 -0
- package/components/upload-file/upload-image.vue.d.ts +46 -0
- package/exported-components.d.ts +19 -0
- package/index.d.ts +2 -0
- package/l-ui.es.js +3823 -0
- package/package.json +32 -0
- package/type.d.ts +9 -0
- package/utils/index.d.ts +3 -0
- package/vue-office-docx.js +5857 -0
- package/vue-office-excel.js +64323 -0
- package/vue-office-pdf.js +2012 -0
package/README.md
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# lui
|
|
2
|
+
|
|
3
|
+
lui 公共组件库,基于 Vue3 + Ant Design Vue。
|
|
4
|
+
|
|
5
|
+
## 安装
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install @xinlian-frontend/lui
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## 使用
|
|
12
|
+
|
|
13
|
+
```js
|
|
14
|
+
import { LPageTable } from '@xinlian-frontend/lui'
|
|
15
|
+
import '@xinlian-frontend/lui/style.css'
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
## License
|
|
21
|
+
|
|
22
|
+
MIT
|
package/assets/style.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@charset "UTF-8";[data-v-99840b60] .docx-wrapper{height:530px;overflow:auto}.file-preview-wrapper .no-preview[data-v-99840b60]{height:550px;display:flex;align-items:center;justify-content:center;color:#999}.l-approval-steps[data-v-897fc289]{padding:16px;width:100%;font-size:14px;color:#000000e0}.step-group[data-v-897fc289]{display:flex;align-items:stretch;min-height:1px}.step-group[data-v-897fc289]:not(:last-child){margin-bottom:8px}.step-group__rail[data-v-897fc289]{position:relative;width:88px;flex-shrink:0;display:flex;flex-direction:column;align-items:center}.rail-segment[data-v-897fc289]{width:1px;transform:scaleX(1.3);flex-shrink:0}.rail-segment--before[data-v-897fc289]{min-height:16px}.rail-segment--after[data-v-897fc289]{height:0;flex:1;margin-bottom:9px;min-height:16px}.rail-segment--fixed-height[data-v-897fc289]{flex:unset!important}.rail-segment.is-solid[data-v-897fc289]{background:#1677ff}.rail-segment.is-dotted[data-v-897fc289]{background:repeating-linear-gradient(to bottom,#d9d9d9 0,#d9d9d9 4px,transparent 4px,transparent 8px)}.rail-segment.is-solid-to-dotted[data-v-897fc289]{background:repeating-linear-gradient(to bottom,#1677ff 0,#1677ff 4px,transparent 4px,transparent 8px)}.rail-node[data-v-897fc289]{z-index:1;width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:16px;font-weight:600;flex-shrink:0;border:1px solid transparent;box-sizing:border-box;margin-bottom:15px;position:relative}.rail-node[data-v-897fc289]:before{content:"";position:absolute;width:50px;height:50px;border-radius:50%;border:1px solid #e8edf5;top:50%;left:50%;transform:translate(-50%,-50%)}.rail-node[data-v-897fc289]:after{content:"";position:absolute;width:60px;height:60px;border-radius:50%;border:1px solid #e8edf5;top:50%;left:50%;transform:translate(-50%,-50%)}.rail-node.is-done[data-v-897fc289],.rail-node.is-active[data-v-897fc289]{background:#1677ff;color:#fff;border-color:#1677ff}.rail-node.is-pending[data-v-897fc289]{background:#fafafa;color:#8c8c8c;border-color:#d9d9d9}.step-group__body[data-v-897fc289]{flex:1;min-width:0;padding-top:10px;padding-bottom:8px}.parent-head[data-v-897fc289]{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.parent-head__main[data-v-897fc289]{display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-width:0}.parent-head__title[data-v-897fc289]{font-weight:600;font-size:15px}.parent-head__tag[data-v-897fc289]{font-size:12px;line-height:20px;padding:0 8px;border-radius:4px}.parent-head__tag.is-success[data-v-897fc289]{color:#52c41a;background:#f6ffed;border:1px solid #b7eb8f}.parent-head__tag.is-processing[data-v-897fc289]{color:#1677ff;background:#e6f4ff;border:1px solid #91caff}.parent-head__tag.is-pending[data-v-897fc289]{color:#8c8c8c;background:#fafafa;border:1px solid #d9d9d9}.parent-head__tag.is-danger[data-v-897fc289]{color:#ff4d4f;background:#fff2f0;border:1px solid #ffccc7}.parent-head__time[data-v-897fc289]{flex-shrink:0;font-size:12px;color:#8c8c8c}.parent-desc[data-v-897fc289]{margin:6px 0 0;font-size:13px;color:#8c8c8c;line-height:1.5}.child-row[data-v-897fc289]{display:flex;align-items:flex-start;margin-top:16px}.child-row__marker[data-v-897fc289]{width:48px;height:22px;flex-shrink:0;position:relative;display:flex;align-items:center;justify-content:flex-end;padding-right:6px}.child-row__branch[data-v-897fc289]{position:absolute;right:16px;width:72px;height:0;top:50%;transform:translateY(-50%);border-top:1px dashed #1677ff}.child-row__branch.is-solid[data-v-897fc289]{border-top:1px solid #1677ff}.child-row__branch.is-dotted[data-v-897fc289]{border-top:1px dashed #d9d9d9}.child-row__branch[data-v-897fc289]:after{content:"";position:absolute;top:50%;transform:translateY(-50%);width:18px;height:18px;background-color:#fff;border-radius:50%;border:1px solid #e8edf5;left:-13px}.child-row__branch[data-v-897fc289]:before{content:"";position:absolute;top:50%;transform:translateY(-50%);width:10px;height:10px;border-radius:50%;left:-9px;z-index:10;background-color:#1677ff}.child-row__branch.is-solid[data-v-897fc289]:before{background-color:#1677ff}.child-row__branch.is-dotted[data-v-897fc289]:before{background-color:#d9d9d9}.child-row__dot[data-v-897fc289]{width:8px;height:8px;border-radius:50%;background:#1677ff;position:relative;z-index:1}.child-row__dot.is-before[data-v-897fc289]{background:#d9d9d9}.child-row__panel[data-v-897fc289]{flex:1;min-width:0}.child-head[data-v-897fc289]{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.child-head__main[data-v-897fc289]{display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-width:0}.child-head__name[data-v-897fc289]{font-weight:600}.child-head__dept[data-v-897fc289]{color:#8c8c8c;font-size:13px}.child-head__tag[data-v-897fc289]{font-size:12px;line-height:20px;padding:0 8px;border-radius:4px}.child-head__tag.is-success[data-v-897fc289]{color:#52c41a;background:#f6ffed;border:1px solid #b7eb8f}.child-head__tag.is-processing[data-v-897fc289]{color:#1677ff;background:#e6f4ff;border:1px solid #91caff}.child-head__tag.is-pending[data-v-897fc289]{color:#8c8c8c;background:#fafafa;border:1px solid #d9d9d9}.child-head__tag.is-danger[data-v-897fc289]{color:#ff4d4f;background:#fff2f0;border:1px solid #ffccc7}.child-head__time[data-v-897fc289]{flex-shrink:0;font-size:12px;color:#8c8c8c}.child-remark[data-v-897fc289]{margin-top:8px;padding:10px 12px;background:#f3f0ff;border-radius:6px;font-size:13px;color:#000000a6;line-height:1.5}.child-files[data-v-897fc289]{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.child-file-card[data-v-897fc289]{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;background:#fff;border:1px solid #d9d9d9;border-radius:4px;font-size:12px;color:#000000a6;max-width:100%}.child-file-card__icon[data-v-897fc289]{color:#8c8c8c;font-size:14px;flex-shrink:0}.child-file-card__text[data-v-897fc289]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.l-fixed-footer[data-v-65057ac3]{position:absolute;bottom:0;width:100%;left:0;background:#fff;padding:16px 24px;display:flex;align-items:center;justify-content:right;box-shadow:0 -2px 8px #0000001a;z-index:9}.l-detail-layout__header[data-v-9f5352d2]{background-color:var(--ant-color-bg-container, #fff);padding:10px}.l-detail-layout__tabs-card[data-v-9f5352d2]{margin-top:-8px}.loading[data-v-65c0ec46]{text-align:center;padding-top:100px}.title[data-v-65c0ec46]{display:flex;align-items:center}.title .menu[data-v-65c0ec46]{display:flex;border:1px solid #dcdee2;border-radius:4px;margin-left:8px}.title .menu .icon[data-v-65c0ec46]{cursor:pointer;padding:2px;color:#dcdee2}.title .menu .icon[data-v-65c0ec46]:first-of-type{border-right:1px solid #dcdee2}.title .menu .prev.disabled[data-v-65c0ec46],.title .menu .next.disabled[data-v-65c0ec46]{cursor:not-allowed}.extra[data-v-65c0ec46]{display:flex;align-items:center;flex-wrap:wrap}.extra[data-v-65c0ec46]>:not(:last-child){margin-right:8px}.extra .icon[data-v-65c0ec46]{cursor:pointer}.l-hide-mask .ant-drawer-mask{pointer-events:none!important;background:transparent!important}.l-drawer .ant-drawer-body{padding:11px!important}:where(.css-dev-only-do-not-override-19ozoxn).ant-drawer .ant-drawer-body{padding:11px!important}:where(.css-19ozoxn).ant-drawer .ant-drawer-body{padding:11px!important}.l-drawer .ant-drawer-footer{display:flex;align-items:center;justify-content:right!important;padding:16px 24px;box-shadow:0 -2px 8px #0000001a;border:none;background-color:#fff;z-index:9;background:#fff}.l-drawer .ant-drawer-header{background-color:#fff}.l-filter-panel[data-v-7b9f532e]{display:flex;width:100%;padding-right:10px;box-sizing:border-box}.l-filter-panel .label-overflow[data-v-7b9f532e]{width:var(--v6d3848de);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:400}.l-filter-panel .hide[data-v-7b9f532e]{height:32px;overflow:hidden}.l-filter-panel__content[data-v-7b9f532e]{flex:1}.l-filter-panel__form[data-v-7b9f532e]{width:100%;display:flex;flex-wrap:wrap;gap:12px;max-height:none;overflow:visible;transition:max-height .3s ease}.l-filter-panel__form.is-collapsible[data-v-7b9f532e]{overflow:hidden}.l-filter-panel__form.is-expanded[data-v-7b9f532e]{overflow:visible}.l-filter-panel__form[data-v-7b9f532e] .el-form-item{margin:0}.l-filter-panel__form[data-v-7b9f532e] .el-form-item .el-date-editor{width:100%}.l-filter-panel__form-item[data-v-7b9f532e]{width:31.4%;margin-bottom:0}.l-filter-panel__actions[data-v-7b9f532e]{display:flex;align-items:center;height:32px}.card[data-v-7b9f532e]{padding:16px 20px;background:#fff;border-radius:4px}.l-form-submit-page-wrap[data-v-7bfdb12f]{position:relative}.l-form-submit-page__layout-switch[data-v-7bfdb12f]{position:fixed;right:24px;top:50%;transform:translateY(-50%);z-index:10;display:flex;flex-direction:column;gap:4px;padding:8px 4px;background:#fff;border-radius:8px;box-shadow:0 2px 12px #0000001a;border:1px solid #f0f0f0}.l-form-submit-page__layout-switch-btn[data-v-7bfdb12f]{display:flex;align-items:center;justify-content:center;width:36px;height:36px;font-size:18px;color:#8c8c8c;cursor:pointer;border-radius:6px;transition:color .2s,background .2s}.l-form-submit-page__layout-switch-btn[data-v-7bfdb12f]:hover{color:var(--ant-color-primary);background:#2468f20f}.l-form-submit-page__layout-switch-btn.is-active[data-v-7bfdb12f]{color:var(--ant-color-primary);background:#2468f214}.l-form-submit-page__layout-icon[data-v-7bfdb12f]{width:18px;height:18px}.l-form-submit-page[data-v-7bfdb12f]{padding-bottom:80px}.l-card[data-v-7bfdb12f]{margin-bottom:8px}.l-form-submit-page__card[data-v-7bfdb12f]:last-child,.l-card[data-v-7bfdb12f]:last-child{margin-bottom:0}.l-form-submit-page__footer[data-v-7bfdb12f]{position:fixed;bottom:0;left:0;right:0;background:#fff;padding:16px 24px;display:flex;align-items:center;justify-content:flex-end;gap:12px;box-shadow:0 -2px 8px #0000001a;z-index:9}.l-form-submit-page__footer-left[data-v-7bfdb12f]{margin-right:auto}.l-form-submit-page__footer-right[data-v-7bfdb12f]{margin-left:auto}.l-form-submit-page__actions[data-v-7bfdb12f]{display:flex;gap:12px}.l-form-section-page[data-v-7bfdb12f]{background:#fff;min-height:100%;display:flex;gap:24px;padding-bottom:80px}.l-form-section-page__main[data-v-7bfdb12f]{flex:1;min-width:0}.l-form-section-page__anchor[data-v-7bfdb12f]{flex-shrink:0;width:120px;position:sticky;top:24px;align-self:flex-start}.l-form-section-page__anchor-inner[data-v-7bfdb12f]{padding:4px 0}.l-form-section-page__anchor-item[data-v-7bfdb12f]{display:block;padding:8px 0 8px 12px;font-size:14px;color:#748499;text-decoration:none;transition:color .2s,border-color .2s;cursor:pointer;border-left:2px solid #eeeff4;position:relative}.l-form-section-page__anchor-item[data-v-7bfdb12f]:hover{color:#40a9ff}.l-form-section-page__anchor-item.is-active[data-v-7bfdb12f]{color:#2468f2;border-left-color:#2468f2}.l-form-section-page__card[data-v-7bfdb12f]{margin-bottom:16px;padding:16px 0 16px 24px}.l-form-section-page__card[data-v-7bfdb12f]:last-child{margin-bottom:0}.l-form-section-page__title[data-v-7bfdb12f]{display:flex;align-items:center;margin-bottom:16px}.l-form-section-page__bar[data-v-7bfdb12f]{width:3px;height:16px;background-color:#2468f2;border-radius:2px;margin-right:8px;flex-shrink:0}.l-form-section-page__title-text[data-v-7bfdb12f]{font-size:14px;font-weight:600}.l-form-section-page__desc[data-v-7bfdb12f]{font-size:14px;margin-left:2px;color:#748499}.l-form-section-page__body[data-v-7bfdb12f]{margin-left:12px}.l-form-section-page[data-v-7bfdb12f] .ant-form-item-control-input-content{max-width:50%}.l-form-section-page[data-v-7bfdb12f] .ant-form-item-control-input-content:has(.ant-input),.l-form-section-page[data-v-7bfdb12f] .ant-form-item-control-input-content:has(.ant-radio){max-width:80%}.l-form-section-page[data-v-7bfdb12f] .ant-form-item-control-input-content:has(.ant-input[disabled]){max-width:50%!important}.l-form-section-page__footer[data-v-7bfdb12f]{position:fixed;bottom:0;left:0;right:0;background:#fff;padding:16px 24px;display:flex;align-items:center;justify-content:center;gap:12px;box-shadow:0 -2px 8px #0000001a;z-index:9}.l-form-section-page__footer-left[data-v-7bfdb12f]{margin-right:auto}.l-form-section-page__footer-right[data-v-7bfdb12f]{margin-left:auto}.l-form-section-page__actions[data-v-7bfdb12f]{display:flex;gap:12px}.l-form-section-page[data-v-5bec1cd0]{background:#fff;min-height:100%;display:flex;gap:24px;padding-bottom:80px}.l-form-section-page__main[data-v-5bec1cd0]{flex:1;min-width:0}.l-form-section-page__anchor[data-v-5bec1cd0]{flex-shrink:0;width:120px;position:sticky;top:24px;align-self:flex-start}.l-form-section-page__anchor-inner[data-v-5bec1cd0]{padding:4px 0}.l-form-section-page__anchor-item[data-v-5bec1cd0]{display:block;padding:8px 0 8px 12px;font-size:14px;color:#748499;text-decoration:none;transition:color .2s,border-color .2s;cursor:pointer;border-left:2px solid #eeeff4;position:relative}.l-form-section-page__anchor-item[data-v-5bec1cd0]:hover{color:#40a9ff}.l-form-section-page__anchor-item.is-active[data-v-5bec1cd0]{color:#2468f2;border-left-color:#2468f2}.l-form-section-page__card[data-v-5bec1cd0]{margin-bottom:16px;padding:16px 0 16px 24px}.l-form-section-page__card[data-v-5bec1cd0]:last-child{margin-bottom:0}.l-form-section-page__title[data-v-5bec1cd0]{display:flex;align-items:center;margin-bottom:16px}.l-form-section-page__bar[data-v-5bec1cd0]{width:3px;height:16px;background-color:#2468f2;border-radius:2px;margin-right:8px;flex-shrink:0}.l-form-section-page__title-text[data-v-5bec1cd0]{font-size:14px;font-weight:600}.l-form-section-page__body[data-v-5bec1cd0]{margin-left:12px}.l-form-section-page[data-v-5bec1cd0] .ant-form-item-control-input-content{max-width:50%}.l-form-section-page[data-v-5bec1cd0] .ant-form-item-control-input-content:has(.ant-input),.l-form-section-page[data-v-5bec1cd0] .ant-form-item-control-input-content:has(.ant-radio){max-width:80%}.l-form-section-page[data-v-5bec1cd0] .ant-form-item-control-input-content:has(.ant-input[disabled]){max-width:50%}.l-form-section-page__footer[data-v-5bec1cd0]{position:fixed;bottom:0;left:0;right:0;background:#fff;padding:16px 24px;display:flex;align-items:center;justify-content:center;gap:12px;box-shadow:0 -2px 8px #0000001a;z-index:9}.l-form-section-page__footer-left[data-v-5bec1cd0]{margin-right:auto}.l-form-section-page__footer-right[data-v-5bec1cd0]{margin-left:auto}.l-form-section-page__actions[data-v-5bec1cd0]{display:flex;gap:12px}.l-card[data-v-caf69e1c]{margin-bottom:8px}.l-card[data-v-caf69e1c]:last-child{margin-bottom:0}.l-info-layout[data-v-073ecdc0]{display:flex;justify-content:space-between;padding:16px}.l-info-layout .content[data-v-073ecdc0]{flex:1;height:calc(100vh - 116px);overflow:auto}.l-info-layout .content .item[data-v-073ecdc0]{background-color:#fff;border-radius:6px}.l-info-layout .content .item .title-top[data-v-073ecdc0]{box-sizing:border-box;padding:0 20px;border-bottom:1px solid #f0f0f0;display:flex;justify-content:space-between;align-items:center}.l-info-layout .content .item .title-top .text[data-v-073ecdc0]{line-height:56px;font-size:16px;color:#333;font-weight:700}.l-info-layout .content .item .info[data-v-073ecdc0]{padding:20px}.l-info-layout .content .item .operation[data-v-073ecdc0]{display:flex;align-items:center;cursor:pointer;color:#b3b8cc;font-size:14px}.l-info-layout .content .item+.item[data-v-073ecdc0]{margin-top:20px}.l-info-layout .content .footer[data-v-073ecdc0]{background:#fff;border-radius:6px;display:flex;justify-content:flex-end;padding:12px 20px;margin-top:20px}.l-info-layout .menu[data-v-073ecdc0]{width:13%;margin-left:20px}.l-modal[data-v-f0bb5f5e]{max-height:68vh;overflow:auto;margin-right:-24px;padding-right:24px}.column-row[data-v-357f44e4]:hover{background-color:red!important}.column-row[data-v-357f44e4]{cursor:pointer}.blue-background-class[data-v-357f44e4]{background-color:red!important}[data-v-357f44e4] .ant-table-tbody .ant-table-row-selected>td{background-color:#fff}.l-page-table .icons[data-v-8d57c521]{display:flex;align-items:center;gap:2px}.l-page-table .icons[data-v-8d57c521] .ant-btn{margin:0}.l-page-table .card[data-v-8d57c521]{padding:12px;background-color:var(--v7a909fa3);border-radius:4px}.l-page-table__filter[data-v-8d57c521]{margin-bottom:12px}.l-page-table__action[data-v-8d57c521]{margin-bottom:12px;display:flex;justify-content:space-between}.l-page-table__require[data-v-8d57c521]{color:red;margin-right:4px}.l-page-table__page[data-v-8d57c521]{display:flex;margin-top:12px;justify-content:flex-end}.l-page-table__page[data-v-8d57c521] .ant-pagination-options .ant-pagination-options-size-changer{width:95px}.l-page-table__page[data-v-8d57c521] .ant-pagination-options-quick-jumper{margin-right:0}.full[data-v-8d57c521]{background-color:var(--v71b74b48);padding:16px}.role-tree-item .box[data-v-84c3531a]{border-bottom:1px solid #f0f0f0;display:flex}.role-tree-item .box .btnlist[data-v-84c3531a]{flex:1;margin-left:40px;border-left:1px solid #f0f0f0;padding-left:40px;display:flex;flex-wrap:wrap;padding-top:8px}.role-tree-item .box .btnlist[data-v-84c3531a]::-webkit-scrollbar{width:4px;height:4px}.role-tree-item .box .btnlist[data-v-84c3531a]::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:3px;visibility:hidden}.role-tree-item .box .btnlist[data-v-84c3531a]::-webkit-scrollbar-track{background:#f5f5f5}.role-tree-item .box .btnlist[data-v-84c3531a]:hover::-webkit-scrollbar-thumb{visibility:visible}.role-tree-item .expand-icon[data-v-84c3531a]{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;margin-right:4px;cursor:pointer;transition:transform .2s}.role-tree-item .expand-icon[data-v-84c3531a]:hover{color:#1890ff}.role-tree-item .expand-icon img[data-v-84c3531a]{width:16px}.role-tree-item .expand-icon .collapsed[data-v-84c3531a]{transform:rotate(180deg)}.role-tree-item .expand-icon-placeholder[data-v-84c3531a]{display:inline-block;width:20px;height:20px;margin-right:4px}.child-menu[data-v-84c3531a]{padding-left:30px}.tree-wrapper .tree-header[data-v-84a0e666]{display:flex;gap:8px;padding-bottom:8px;border-bottom:1px solid #f0f0f0;margin-bottom:8px}.tree-wrapper .tree[data-v-84a0e666]{display:block;width:100%}.tab-wrapper[data-v-33eae005]{border-bottom:1px solid #eee}.tab-bar[data-v-33eae005]{display:flex;align-items:flex-end;margin-left:16px}.tab-item[data-v-33eae005]{height:40px;position:relative;min-width:120px;padding:10px 17px 9px;text-align:center;cursor:pointer;border-radius:6px 6px 0 0;background:#f7f7fc;color:#707070;font-size:14px;margin-right:16px;border:1px solid #ededed;margin-bottom:-1px}.tab-item.is-active[data-v-33eae005]{background:#fff;color:#2468f2;border-bottom-color:#fff;font-weight:600}.l-section-block[data-v-4ef613d2]{margin-bottom:16px}.l-section-block__title[data-v-4ef613d2]{display:flex;align-items:center;margin-bottom:16px}.l-section-block__bar[data-v-4ef613d2]{width:4px;height:16px;background-color:#1677ff;border-radius:2px;margin-right:8px}.l-section-block__text[data-v-4ef613d2]{font-size:14px;font-weight:600}.l-section-block__extra[data-v-4ef613d2]{margin-left:auto}.l-section-block__body[data-v-4ef613d2]{margin-left:12px}.l-sign-status-flow[data-v-92a1f504]{display:flex;flex-direction:column;gap:10px}.l-sign-status-flow__item[data-v-92a1f504]{display:flex;align-items:flex-start;gap:10px;padding:8px 0}.l-sign-status-flow__icon[data-v-92a1f504]{width:28px;height:28px;border-radius:50%;background:#f2f3f5;color:#86909c;display:flex;align-items:center;justify-content:center;font-size:12px;flex:0 0 28px}.l-sign-status-flow__content[data-v-92a1f504]{flex:1;min-width:0}.l-sign-status-flow__line-1[data-v-92a1f504]{display:flex;align-items:center;gap:10px;line-height:22px}.l-sign-status-flow__signer[data-v-92a1f504]{font-weight:500;color:#1d2129;max-width:360px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.l-sign-status-flow__line-2[data-v-92a1f504]{margin-top:2px;color:#86909c;line-height:20px;max-width:520px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.upload-file-wrapper[data-v-ad40ee66]{display:flex;align-items:flex-start;gap:0 8px}.upload-file-wrapper.readonly[data-v-ad40ee66] .ant-upload-select{display:none}.upload-file-col[data-v-ad40ee66]{flex-shrink:0;width:auto}.upload-file-wrapper:has(.upload-file-hint) .upload-file-col[data-v-ad40ee66]{width:180px}.upload-file-hint[data-v-ad40ee66]{flex-shrink:0;padding-top:4px;font-size:12px;color:var(--ant-color-text-tertiary, rgba(0, 0, 0, .45));line-height:1.5}.readonly[data-v-ad40ee66] .ant-upload-list-item{margin-top:0!important}.upload-file-wrapper[data-v-e3fbddf7]{display:flex;align-items:flex-start;gap:0 8px}.upload-file-wrapper.readonly[data-v-e3fbddf7] .ant-upload-select{display:none}.upload-file-col[data-v-e3fbddf7]{flex-shrink:0;width:auto}.upload-file-wrapper:has(.upload-file-hint) .upload-file-col[data-v-e3fbddf7]{width:180px}.upload-file-hint[data-v-e3fbddf7]{flex-shrink:0;padding-top:4px;font-size:12px;color:var(--ant-color-text-tertiary, rgba(0, 0, 0, .45));line-height:1.5}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { SFCWithInstall } from '../../utils';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
import { LFlowData } from './type';
|
|
4
|
+
declare const LApprovalSteps: SFCWithInstall<DefineComponent<{
|
|
5
|
+
nodes?: LFlowData[];
|
|
6
|
+
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
|
|
7
|
+
nodes?: LFlowData[];
|
|
8
|
+
}> & Readonly<{}>, {
|
|
9
|
+
nodes: LFlowData[];
|
|
10
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>> & Record<string, any>;
|
|
11
|
+
export default LApprovalSteps;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { LFlowData } from './type';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
/** 父流程节点列表,结构见 type.ts */
|
|
5
|
+
nodes?: LFlowData[];
|
|
6
|
+
};
|
|
7
|
+
declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
8
|
+
nodes: LFlowData[];
|
|
9
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,381 @@
|
|
|
1
|
+
export declare const NodeStatusMap: {
|
|
2
|
+
PENDING: string;
|
|
3
|
+
RUNNING: string;
|
|
4
|
+
PASS: string;
|
|
5
|
+
REFUSE: string;
|
|
6
|
+
REVOKED: string;
|
|
7
|
+
DELETED: string;
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* 流程实例节点执行记录
|
|
11
|
+
*
|
|
12
|
+
* FlowInstRecordVo
|
|
13
|
+
*/
|
|
14
|
+
export interface FlowInstRecordVo {
|
|
15
|
+
/**
|
|
16
|
+
* 节点内实际的执行人
|
|
17
|
+
*/
|
|
18
|
+
actualUsers?: ActualUser[];
|
|
19
|
+
/**
|
|
20
|
+
* 节点执行信息
|
|
21
|
+
*/
|
|
22
|
+
content?: {
|
|
23
|
+
[key: string]: any;
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* 第几次经过
|
|
27
|
+
*/
|
|
28
|
+
count?: number;
|
|
29
|
+
/**
|
|
30
|
+
* 完成时间
|
|
31
|
+
*/
|
|
32
|
+
endTime?: string;
|
|
33
|
+
id?: number;
|
|
34
|
+
/**
|
|
35
|
+
* 流程实例ID
|
|
36
|
+
*/
|
|
37
|
+
instId?: string;
|
|
38
|
+
/**
|
|
39
|
+
* 是否是预测的还未执行到的节点
|
|
40
|
+
*/
|
|
41
|
+
isFuture?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* 节点模式
|
|
44
|
+
*/
|
|
45
|
+
modeType?: ModeType;
|
|
46
|
+
/**
|
|
47
|
+
* 节点ID
|
|
48
|
+
*/
|
|
49
|
+
nodeId?: string;
|
|
50
|
+
/**
|
|
51
|
+
* 节点名
|
|
52
|
+
*/
|
|
53
|
+
nodeName?: string;
|
|
54
|
+
/**
|
|
55
|
+
* 节点类型
|
|
56
|
+
*/
|
|
57
|
+
nodeType?: NodeType;
|
|
58
|
+
/**
|
|
59
|
+
* 节点附加原因
|
|
60
|
+
*/
|
|
61
|
+
reason?: Reason;
|
|
62
|
+
/**
|
|
63
|
+
* 每个节点的执行记录
|
|
64
|
+
*/
|
|
65
|
+
recordItems?: RecordItem[];
|
|
66
|
+
/**
|
|
67
|
+
* 记录点的操作结果
|
|
68
|
+
*/
|
|
69
|
+
result?: string;
|
|
70
|
+
/**
|
|
71
|
+
* 创建时间
|
|
72
|
+
*/
|
|
73
|
+
startTime?: string;
|
|
74
|
+
/**
|
|
75
|
+
* 任务模式,会签/或签/顺序签等
|
|
76
|
+
*/
|
|
77
|
+
taskMode?: TaskMode;
|
|
78
|
+
[property: string]: any;
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* com.wflow.controller.vo.FlowInstRecordVo.ActualUser
|
|
82
|
+
*
|
|
83
|
+
* ActualUser
|
|
84
|
+
*/
|
|
85
|
+
export interface ActualUser {
|
|
86
|
+
/**
|
|
87
|
+
* 执行人信息
|
|
88
|
+
*/
|
|
89
|
+
assignee?: UserInfo;
|
|
90
|
+
/**
|
|
91
|
+
* 评论
|
|
92
|
+
*/
|
|
93
|
+
comment?: ProcComment;
|
|
94
|
+
/**
|
|
95
|
+
* 创建时间
|
|
96
|
+
*/
|
|
97
|
+
createTime?: string;
|
|
98
|
+
/**
|
|
99
|
+
* 用户所在部门
|
|
100
|
+
*/
|
|
101
|
+
depts?: DeptInfo[];
|
|
102
|
+
/**
|
|
103
|
+
* 完成时间
|
|
104
|
+
*/
|
|
105
|
+
endTime?: string;
|
|
106
|
+
/**
|
|
107
|
+
* 是否是预测的
|
|
108
|
+
*/
|
|
109
|
+
isFuture?: boolean;
|
|
110
|
+
/**
|
|
111
|
+
* 节点主键id,不是节点id
|
|
112
|
+
*/
|
|
113
|
+
nodeId?: number;
|
|
114
|
+
/**
|
|
115
|
+
* 操作结果
|
|
116
|
+
*/
|
|
117
|
+
result?: Result;
|
|
118
|
+
/**
|
|
119
|
+
* 签名
|
|
120
|
+
*/
|
|
121
|
+
signature?: string;
|
|
122
|
+
/**
|
|
123
|
+
* 任务ID
|
|
124
|
+
*/
|
|
125
|
+
taskId?: string;
|
|
126
|
+
[property: string]: any;
|
|
127
|
+
}
|
|
128
|
+
/**
|
|
129
|
+
* 执行人信息
|
|
130
|
+
*
|
|
131
|
+
* UserInfo
|
|
132
|
+
*
|
|
133
|
+
* 源操作用户
|
|
134
|
+
*
|
|
135
|
+
* 操作目标用户
|
|
136
|
+
*/
|
|
137
|
+
export interface UserInfo {
|
|
138
|
+
/**
|
|
139
|
+
* 用户头像
|
|
140
|
+
*/
|
|
141
|
+
avatar?: string;
|
|
142
|
+
deptInfo?: DeptInfo;
|
|
143
|
+
/**
|
|
144
|
+
* 组织/用户/角色 id
|
|
145
|
+
*/
|
|
146
|
+
id?: {
|
|
147
|
+
[key: string]: any;
|
|
148
|
+
};
|
|
149
|
+
/**
|
|
150
|
+
* 是否为本部门角色
|
|
151
|
+
*/
|
|
152
|
+
isLeader?: boolean;
|
|
153
|
+
/**
|
|
154
|
+
* 名称属性
|
|
155
|
+
*/
|
|
156
|
+
name?: string;
|
|
157
|
+
roleType?: {
|
|
158
|
+
[key: string]: any;
|
|
159
|
+
}[];
|
|
160
|
+
/**
|
|
161
|
+
* 类型:user、dept、role
|
|
162
|
+
*/
|
|
163
|
+
type?: string;
|
|
164
|
+
[property: string]: any;
|
|
165
|
+
}
|
|
166
|
+
/**
|
|
167
|
+
* DeptInfo
|
|
168
|
+
*
|
|
169
|
+
* 部门基本信息
|
|
170
|
+
*/
|
|
171
|
+
export interface DeptInfo {
|
|
172
|
+
deptInfo?: DeptInfo;
|
|
173
|
+
/**
|
|
174
|
+
* 组织/用户/角色 id
|
|
175
|
+
*/
|
|
176
|
+
id?: {
|
|
177
|
+
[key: string]: any;
|
|
178
|
+
};
|
|
179
|
+
/**
|
|
180
|
+
* 部门负责人
|
|
181
|
+
*/
|
|
182
|
+
leader?: {
|
|
183
|
+
[key: string]: any;
|
|
184
|
+
};
|
|
185
|
+
/**
|
|
186
|
+
* 名称属性
|
|
187
|
+
*/
|
|
188
|
+
name?: string;
|
|
189
|
+
/**
|
|
190
|
+
* 父级部门ID
|
|
191
|
+
*/
|
|
192
|
+
parentId?: {
|
|
193
|
+
[key: string]: any;
|
|
194
|
+
};
|
|
195
|
+
roleType?: {
|
|
196
|
+
[key: string]: any;
|
|
197
|
+
}[];
|
|
198
|
+
/**
|
|
199
|
+
* 部门总人数
|
|
200
|
+
*/
|
|
201
|
+
size?: number;
|
|
202
|
+
/**
|
|
203
|
+
* 类型:user、dept、role
|
|
204
|
+
*/
|
|
205
|
+
type?: string;
|
|
206
|
+
[property: string]: any;
|
|
207
|
+
}
|
|
208
|
+
/**
|
|
209
|
+
* 评论
|
|
210
|
+
*
|
|
211
|
+
* ProcComment
|
|
212
|
+
*/
|
|
213
|
+
export interface ProcComment {
|
|
214
|
+
/**
|
|
215
|
+
* 评论附件
|
|
216
|
+
*/
|
|
217
|
+
files?: AttachmentVo[];
|
|
218
|
+
/**
|
|
219
|
+
* 评论图片
|
|
220
|
+
*/
|
|
221
|
+
images?: AttachmentVo[];
|
|
222
|
+
/**
|
|
223
|
+
* 文字评论
|
|
224
|
+
*/
|
|
225
|
+
text?: string;
|
|
226
|
+
[property: string]: any;
|
|
227
|
+
}
|
|
228
|
+
/**
|
|
229
|
+
* 流程评论附件文件类
|
|
230
|
+
*
|
|
231
|
+
* AttachmentVo
|
|
232
|
+
*/
|
|
233
|
+
export interface AttachmentVo {
|
|
234
|
+
/**
|
|
235
|
+
* 文件资源ID
|
|
236
|
+
*/
|
|
237
|
+
id?: string;
|
|
238
|
+
/**
|
|
239
|
+
* 是否为图片
|
|
240
|
+
*/
|
|
241
|
+
isImage?: string;
|
|
242
|
+
/**
|
|
243
|
+
* 文件名
|
|
244
|
+
*/
|
|
245
|
+
name?: string;
|
|
246
|
+
/**
|
|
247
|
+
* 文件大小
|
|
248
|
+
*/
|
|
249
|
+
size?: string;
|
|
250
|
+
/**
|
|
251
|
+
* 访问地址
|
|
252
|
+
*/
|
|
253
|
+
url?: string;
|
|
254
|
+
[property: string]: any;
|
|
255
|
+
}
|
|
256
|
+
/**
|
|
257
|
+
* 操作结果
|
|
258
|
+
*/
|
|
259
|
+
export declare enum Result {
|
|
260
|
+
AfterAdd = "afterAdd",
|
|
261
|
+
Agree = "agree",
|
|
262
|
+
BeforeAdd = "beforeAdd",
|
|
263
|
+
Cancel = "cancel",
|
|
264
|
+
Candidate = "candidate",
|
|
265
|
+
Cc = "cc",
|
|
266
|
+
Comment = "comment",
|
|
267
|
+
Complete = "complete",
|
|
268
|
+
Delegate = "delegate",
|
|
269
|
+
Fallback = "fallback",
|
|
270
|
+
Forward = "forward",
|
|
271
|
+
Pass = "pass",
|
|
272
|
+
Reject = "reject",
|
|
273
|
+
Revise = "revise",
|
|
274
|
+
Revoke = "revoke",
|
|
275
|
+
Startup = "startup",
|
|
276
|
+
Terminate = "terminate",
|
|
277
|
+
Warning = "warning",
|
|
278
|
+
Withdraw = "withdraw"
|
|
279
|
+
}
|
|
280
|
+
/**
|
|
281
|
+
* 节点模式
|
|
282
|
+
*/
|
|
283
|
+
export declare enum ModeType {
|
|
284
|
+
AutoPass = "AUTO_PASS",
|
|
285
|
+
AutoRefuse = "AUTO_REFUSE",
|
|
286
|
+
User = "USER"
|
|
287
|
+
}
|
|
288
|
+
/**
|
|
289
|
+
* 节点类型
|
|
290
|
+
*/
|
|
291
|
+
export declare enum NodeType {
|
|
292
|
+
Approval = "Approval",
|
|
293
|
+
Cc = "Cc",
|
|
294
|
+
Exclusive = "Exclusive",
|
|
295
|
+
Gateway = "Gateway",
|
|
296
|
+
Inclusive = "Inclusive",
|
|
297
|
+
Join = "Join",
|
|
298
|
+
Other = "Other",
|
|
299
|
+
Parallel = "Parallel",
|
|
300
|
+
Router = "Router",
|
|
301
|
+
Start = "Start",
|
|
302
|
+
Subproc = "Subproc",
|
|
303
|
+
Task = "Task",
|
|
304
|
+
Trigger = "Trigger",
|
|
305
|
+
Waiting = "Waiting"
|
|
306
|
+
}
|
|
307
|
+
/**
|
|
308
|
+
* 节点附加原因
|
|
309
|
+
*/
|
|
310
|
+
export declare enum Reason {
|
|
311
|
+
Normal = "NORMAL",
|
|
312
|
+
SkipDistinct = "SKIP_DISTINCT",
|
|
313
|
+
SkipEmpty = "SKIP_EMPTY",
|
|
314
|
+
TransferEmpty = "TRANSFER_EMPTY",
|
|
315
|
+
TransferLeader = "TRANSFER_LEADER"
|
|
316
|
+
}
|
|
317
|
+
/**
|
|
318
|
+
* 每个节点内的执行记录
|
|
319
|
+
*
|
|
320
|
+
* RecordItem
|
|
321
|
+
*/
|
|
322
|
+
export interface RecordItem {
|
|
323
|
+
/**
|
|
324
|
+
* 评论
|
|
325
|
+
*/
|
|
326
|
+
comment?: ProcComment;
|
|
327
|
+
/**
|
|
328
|
+
* 结束时间
|
|
329
|
+
*/
|
|
330
|
+
endTime?: string;
|
|
331
|
+
/**
|
|
332
|
+
* 是否是预测的还未执行到的节点
|
|
333
|
+
*/
|
|
334
|
+
isFuture?: boolean;
|
|
335
|
+
/**
|
|
336
|
+
* 节点主键id,不是节点id
|
|
337
|
+
*/
|
|
338
|
+
nodeId?: number;
|
|
339
|
+
/**
|
|
340
|
+
* 操作结果
|
|
341
|
+
*/
|
|
342
|
+
result?: Result;
|
|
343
|
+
/**
|
|
344
|
+
* 源操作用户
|
|
345
|
+
*/
|
|
346
|
+
source?: UserInfo;
|
|
347
|
+
/**
|
|
348
|
+
* 开始时间
|
|
349
|
+
*/
|
|
350
|
+
startTime?: string;
|
|
351
|
+
/**
|
|
352
|
+
* 操作目标用户
|
|
353
|
+
*/
|
|
354
|
+
target?: UserInfo;
|
|
355
|
+
[property: string]: any;
|
|
356
|
+
}
|
|
357
|
+
/**
|
|
358
|
+
* 任务模式,会签/或签/顺序签等
|
|
359
|
+
*
|
|
360
|
+
* TaskMode
|
|
361
|
+
*/
|
|
362
|
+
export interface TaskMode {
|
|
363
|
+
/**
|
|
364
|
+
* 自定义通过比例%
|
|
365
|
+
*/
|
|
366
|
+
percentage?: number;
|
|
367
|
+
/**
|
|
368
|
+
* 任务模式,会签/或签/顺序签等
|
|
369
|
+
*/
|
|
370
|
+
type?: Type;
|
|
371
|
+
[property: string]: any;
|
|
372
|
+
}
|
|
373
|
+
/**
|
|
374
|
+
* 任务模式,会签/或签/顺序签等
|
|
375
|
+
*/
|
|
376
|
+
export declare enum Type {
|
|
377
|
+
And = "AND",
|
|
378
|
+
Custom = "CUSTOM",
|
|
379
|
+
Next = "NEXT",
|
|
380
|
+
Or = "OR"
|
|
381
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { FlowInstRecordVo } from './privite-type';
|
|
2
|
+
/**
|
|
3
|
+
* 父流程实例节点轨迹 VO
|
|
4
|
+
*
|
|
5
|
+
* ParentFlowInstNodeVO
|
|
6
|
+
*/
|
|
7
|
+
export interface LFlowData {
|
|
8
|
+
/**
|
|
9
|
+
* 审批身份(产业企业/仓储/监管/金融)
|
|
10
|
+
*/
|
|
11
|
+
approvalRole?: number;
|
|
12
|
+
/**
|
|
13
|
+
* 审批身份名称
|
|
14
|
+
*/
|
|
15
|
+
approvalRoleName?: string;
|
|
16
|
+
/**
|
|
17
|
+
* 创建时间
|
|
18
|
+
*/
|
|
19
|
+
createTime?: string;
|
|
20
|
+
/**
|
|
21
|
+
* 企业id
|
|
22
|
+
*/
|
|
23
|
+
enterpriseId?: number;
|
|
24
|
+
/**
|
|
25
|
+
* 企业名称
|
|
26
|
+
*/
|
|
27
|
+
enterpriseName?: string;
|
|
28
|
+
/**
|
|
29
|
+
* 主键id
|
|
30
|
+
*/
|
|
31
|
+
id?: number;
|
|
32
|
+
/**
|
|
33
|
+
* 节点名(审批 1、审批 2…)
|
|
34
|
+
*/
|
|
35
|
+
nodeName?: string;
|
|
36
|
+
/**
|
|
37
|
+
* 节点状态
|
|
38
|
+
*/
|
|
39
|
+
nodeStatus?: string;
|
|
40
|
+
/**
|
|
41
|
+
* 节点状态描述
|
|
42
|
+
*/
|
|
43
|
+
nodeStatusDesc?: string;
|
|
44
|
+
/**
|
|
45
|
+
* 备注
|
|
46
|
+
*/
|
|
47
|
+
remark?: string;
|
|
48
|
+
/**
|
|
49
|
+
* 子流程实例id
|
|
50
|
+
*/
|
|
51
|
+
subInstId?: string;
|
|
52
|
+
/**
|
|
53
|
+
* 子流程实例审批记录
|
|
54
|
+
*/
|
|
55
|
+
subInstRecordList?: FlowInstRecordVo[];
|
|
56
|
+
/**
|
|
57
|
+
* 更新时间
|
|
58
|
+
*/
|
|
59
|
+
updateTime?: string;
|
|
60
|
+
[property: string]: any;
|
|
61
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
declare function showDialog(fileUrl: string, type?: string): void;
|
|
3
|
+
declare const _default: DefineComponent<{}, {
|
|
4
|
+
showDialog: typeof showDialog;
|
|
5
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { SFCWithInstall } from '../../utils';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
declare const LFilePreview: SFCWithInstall<DefineComponent<{}, {
|
|
4
|
+
showDialog: (fileUrl: string, type?: string) => void;
|
|
5
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>> & Record<string, any>;
|
|
6
|
+
export default LFilePreview;
|
|
7
|
+
export type LFilePreviewProps = InstanceType<typeof LFilePreview>['$props'];
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { SFCWithInstall } from '../../utils';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
declare const LButton: SFCWithInstall<DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>> & Record<string, any>;
|
|
4
|
+
export default LButton;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type ButtonType = 'primary' | 'secondary' | 'tertiary' | 'ghost' | 'link' | 'text' | 'icon' | 'default';
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { LDetailDescriptionItem, LDetailTabItem } from './type';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
interface Props {
|
|
4
|
+
title?: string;
|
|
5
|
+
descriptions?: LDetailDescriptionItem[];
|
|
6
|
+
headerColumn?: number;
|
|
7
|
+
tabs: LDetailTabItem[];
|
|
8
|
+
defaultActiveKey?: string;
|
|
9
|
+
tabSize?: 'small' | 'default';
|
|
10
|
+
loading?: boolean;
|
|
11
|
+
loadingTip?: string;
|
|
12
|
+
}
|
|
13
|
+
declare var __VLS_10: {}, __VLS_21: `description-${string}`, __VLS_22: {
|
|
14
|
+
item: LDetailDescriptionItem;
|
|
15
|
+
}, __VLS_41: `tab-${string}`, __VLS_42: {}, __VLS_48: {};
|
|
16
|
+
type __VLS_Slots = {} & {
|
|
17
|
+
[K in NonNullable<typeof __VLS_21>]?: (props: typeof __VLS_22) => any;
|
|
18
|
+
} & {
|
|
19
|
+
[K in NonNullable<typeof __VLS_41>]?: (props: typeof __VLS_42) => any;
|
|
20
|
+
} & {
|
|
21
|
+
extra?: (props: typeof __VLS_10) => any;
|
|
22
|
+
} & {
|
|
23
|
+
footer?: (props: typeof __VLS_48) => any;
|
|
24
|
+
};
|
|
25
|
+
declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
26
|
+
tabChange: (key: string) => any;
|
|
27
|
+
}, string, PublicProps, Readonly<Props> & Readonly<{
|
|
28
|
+
onTabChange?: ((key: string) => any) | undefined;
|
|
29
|
+
}>, {
|
|
30
|
+
loading: boolean;
|
|
31
|
+
headerColumn: number;
|
|
32
|
+
defaultActiveKey: string;
|
|
33
|
+
tabSize: "small" | "default";
|
|
34
|
+
loadingTip: string;
|
|
35
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
36
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
37
|
+
export default _default;
|
|
38
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
39
|
+
new (): {
|
|
40
|
+
$slots: S;
|
|
41
|
+
};
|
|
42
|
+
};
|