cloud-web-corejs 1.1.0-dev.25 → 1.1.0-dev.27
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/package.json +11 -4
- package/src/app-bootstrap.js +523 -0
- package/src/boot-assets.legacy.js +7 -0
- package/src/boot-assets.next.js +7 -0
- package/src/components/Tinymce/index.vue +3 -0
- package/src/components/Tinymce/mce-chrome.scss +150 -0
- package/src/components/VabUpload/index.vue +1 -1
- package/src/components/VabUpload/style.scss +282 -0
- package/src/components/baseArea/index.vue +2 -2
- package/src/components/code-editor/ace-chrome.scss +17 -0
- package/src/components/code-editor/index.vue +3 -0
- package/src/components/excelImport/index.vue +1 -1
- package/src/components/fileLibrary/style.scss +579 -0
- package/src/components/hiprint/style.scss +188 -0
- package/src/components/jsonImport/index.vue +1 -1
- package/src/components/langImport/index.vue +1 -1
- package/src/components/mobile/buttonGroup/index.vue +1 -1
- package/src/components/obsUpload/index.vue +1 -1
- package/src/components/onlineTalk/index.vue +2 -2
- package/src/components/table/style.scss +1399 -0
- package/src/components/wf/style.scss +265 -0
- package/src/components/xform/docs/2026-08 xform H5 P0 /345/256/236/347/216/260/350/247/204/346/240/274.md" +1 -1
- package/src/components/xform/docs/2026-08 xform /347/247/273/345/212/250/347/253/257/345/270/203/345/261/200/345/257/271/351/275/220 bill_setting /346/226/271/346/241/210.md" +1 -1
- package/src/components/xform/form-designer/form-widget/dialog/importDialog.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/a-link-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/a-text-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/area-select-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/autocomplete-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/baseAttachment-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/button-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/cascader-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/census-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/checkbox-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/color-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/copy_button-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/date-range-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/date-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/descriptions-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/divider-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/download-button-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/dropdown-item-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/dropdown-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/echart-bar-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/echart-category-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/echart-pie-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/file-upload-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/form-item-wrapper.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/html-text-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/import-button-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/import2-button-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/input-batch-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/input-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/multiSearch-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/news-list-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/number-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/oplog-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/picture-upload-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/print-button-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/print-detail-button-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/project-tag-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/radio-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/rate-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/rich-editor-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/save_submit_wf_button-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/script-input-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/search_button-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/select-export-button-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/select-export-item-button-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/select-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/singerSearch-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/singleUpload-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/slider-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/static-content-wrapper.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/static-text-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/status-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/switch-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/table-export-button-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/tempStorage-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/text-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/textarea-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/time-range-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/time-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/title-head-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/vabSearch-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/vabUpload-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/vabUpload2-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/vue-page-widget.vue +1 -1
- package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +8 -8
- package/src/components/xform/mixins/scriptHttp.js +28 -7
- package/src/components/xform/styles/census.scss +288 -0
- package/src/components/xform/styles/containers.scss +208 -0
- package/src/components/xform/styles/designer.scss +904 -0
- package/src/components/xform/styles/detail-temp.scss +71 -0
- package/src/components/xform/styles/h5-designer.scss +191 -0
- package/src/components/xform/styles/h5.scss +5 -6
- package/src/components/xform/styles/skins.scss +398 -0
- package/src/components/xform/styles/table-layout.scss +91 -0
- package/src/components/xform/styles/titles.scss +255 -0
- package/src/core-resources/css/h5.scss +548 -0
- package/src/core-resources/css/iconfont.css +1447 -0
- package/src/core-resources/font/iconfont.ttf +0 -0
- package/src/core-resources/font/iconfont.woff +0 -0
- package/src/core-resources/font/iconfont.woff2 +0 -0
- package/src/core-resources/images/default-header.png +0 -0
- package/src/core-resources/images/ico-default_wenjian.svg +1 -0
- package/src/core-resources/images/ico-excel.svg +1 -0
- package/src/core-resources/images/ico-ftl.svg +7 -0
- package/src/core-resources/images/ico-html.svg +1 -0
- package/src/core-resources/images/ico-java.svg +1 -0
- package/src/core-resources/images/ico-music.svg +1 -0
- package/src/core-resources/images/ico-pdf.svg +1 -0
- package/src/core-resources/images/ico-photo.svg +1 -0
- package/src/core-resources/images/ico-ppt.svg +1 -0
- package/src/core-resources/images/ico-psd.svg +1 -0
- package/src/core-resources/images/ico-service.png +0 -0
- package/src/core-resources/images/ico-txt.svg +1 -0
- package/src/core-resources/images/ico-video.svg +1 -0
- package/src/core-resources/images/ico-vue.svg +8 -0
- package/src/core-resources/images/ico-wenjianjia.svg +1 -0
- package/src/core-resources/images/ico-wrod.svg +1 -0
- package/src/core-resources/images/ico-xml.svg +1 -0
- package/src/core-resources/images/ico-yasuobao.svg +1 -0
- package/src/core-resources/images/icon-error.png +0 -0
- package/src/core-resources/images/icon-tips.png +0 -0
- package/src/core-resources/images/nodata.png +0 -0
- package/src/core-resources/images/nodata2.png +0 -0
- package/src/icons/index.js +9 -0
- package/src/icons/svg/404.svg +1 -0
- package/src/icons/svg/alert.svg +1 -0
- package/src/icons/svg/bug.svg +1 -0
- package/src/icons/svg/button.svg +1 -0
- package/src/icons/svg/card.svg +1 -0
- package/src/icons/svg/cascader-field.svg +1 -0
- package/src/icons/svg/census.svg +1 -0
- package/src/icons/svg/chart.svg +1 -0
- package/src/icons/svg/checkbox-field.svg +1 -0
- package/src/icons/svg/clipboard.svg +1 -0
- package/src/icons/svg/color-field.svg +1 -0
- package/src/icons/svg/component.svg +1 -0
- package/src/icons/svg/custom-component.svg +1 -0
- package/src/icons/svg/dashboard.svg +1 -0
- package/src/icons/svg/data-table.svg +1 -0
- package/src/icons/svg/date-field.svg +1 -0
- package/src/icons/svg/date-range-field.svg +1 -0
- package/src/icons/svg/descriptions.svg +1 -0
- package/src/icons/svg/divider.svg +1 -0
- package/src/icons/svg/document.svg +1 -0
- package/src/icons/svg/documentation.svg +1 -0
- package/src/icons/svg/drag.svg +1 -0
- package/src/icons/svg/echart-category.svg +1 -0
- package/src/icons/svg/echart-pie.svg +1 -0
- package/src/icons/svg/echart.svg +1 -0
- package/src/icons/svg/edit.svg +1 -0
- package/src/icons/svg/education.svg +1 -0
- package/src/icons/svg/email.svg +1 -0
- package/src/icons/svg/example.svg +1 -0
- package/src/icons/svg/excel.svg +1 -0
- package/src/icons/svg/exit-fullscreen.svg +1 -0
- package/src/icons/svg/eye-open.svg +1 -0
- package/src/icons/svg/eye.svg +1 -0
- package/src/icons/svg/file-upload-field.svg +1 -0
- package/src/icons/svg/form.svg +1 -0
- package/src/icons/svg/fullscreen.svg +1 -0
- package/src/icons/svg/github.svg +1 -0
- package/src/icons/svg/grid.svg +1 -0
- package/src/icons/svg/guide.svg +1 -0
- package/src/icons/svg/html-text.svg +1 -0
- package/src/icons/svg/ico-more.svg +1 -0
- package/src/icons/svg/ico-wenjianjia.svg +1 -0
- package/src/icons/svg/icon.svg +1 -0
- package/src/icons/svg/input-batch.svg +1 -0
- package/src/icons/svg/international.svg +1 -0
- package/src/icons/svg/language.svg +1 -0
- package/src/icons/svg/link.svg +1 -0
- package/src/icons/svg/list-export.svg +1 -0
- package/src/icons/svg/list.svg +1 -0
- package/src/icons/svg/lock.svg +1 -0
- package/src/icons/svg/message.svg +1 -0
- package/src/icons/svg/money.svg +1 -0
- package/src/icons/svg/nested.svg +1 -0
- package/src/icons/svg/news-list.svg +1 -0
- package/src/icons/svg/node-tree.svg +1 -0
- package/src/icons/svg/number-field.svg +1 -0
- package/src/icons/svg/password.svg +1 -0
- package/src/icons/svg/pdf.svg +1 -0
- package/src/icons/svg/people.svg +1 -0
- package/src/icons/svg/peoples.svg +1 -0
- package/src/icons/svg/picture-upload-field.svg +1 -0
- package/src/icons/svg/qq.svg +1 -0
- package/src/icons/svg/query.svg +1 -0
- package/src/icons/svg/radio-field.svg +1 -0
- package/src/icons/svg/rate-field.svg +1 -0
- package/src/icons/svg/redo.svg +1 -0
- package/src/icons/svg/rich-editor-field.svg +1 -0
- package/src/icons/svg/search.svg +1 -0
- package/src/icons/svg/searchbox.svg +1 -0
- package/src/icons/svg/section.svg +1 -0
- package/src/icons/svg/select-field.svg +1 -0
- package/src/icons/svg/shopping.svg +1 -0
- package/src/icons/svg/size.svg +1 -0
- package/src/icons/svg/skill.svg +1 -0
- package/src/icons/svg/slider-field.svg +1 -0
- package/src/icons/svg/slot-component.svg +1 -0
- package/src/icons/svg/slot-field.svg +1 -0
- package/src/icons/svg/star.svg +1 -0
- package/src/icons/svg/static-text.svg +1 -0
- package/src/icons/svg/status.svg +1 -0
- package/src/icons/svg/sub-form.svg +1 -0
- package/src/icons/svg/switch-field.svg +1 -0
- package/src/icons/svg/tab.svg +1 -0
- package/src/icons/svg/table.svg +1 -0
- package/src/icons/svg/text-field.svg +1 -0
- package/src/icons/svg/text.svg +1 -0
- package/src/icons/svg/textarea-field.svg +1 -0
- package/src/icons/svg/theme.svg +1 -0
- package/src/icons/svg/time-field.svg +1 -0
- package/src/icons/svg/time-range-field.svg +1 -0
- package/src/icons/svg/tips-text.svg +1 -0
- package/src/icons/svg/title-head.svg +1 -0
- package/src/icons/svg/tree-pane.svg +1 -0
- package/src/icons/svg/tree-table.svg +1 -0
- package/src/icons/svg/tree.svg +1 -0
- package/src/icons/svg/undo.svg +1 -0
- package/src/icons/svg/uploadbox.svg +1 -0
- package/src/icons/svg/user.svg +1 -0
- package/src/icons/svg/vf-box.svg +1 -0
- package/src/icons/svg/vf-dialog.svg +1 -0
- package/src/icons/svg/vf-drawer.svg +1 -0
- package/src/icons/svg/vue-sfc.svg +1 -0
- package/src/icons/svg/wechat.svg +1 -0
- package/src/icons/svg/zip.svg +1 -0
- package/src/index.js +2 -514
- package/src/index.next.js +5 -0
- package/src/layout/components/Sidebar/default.vue +3 -3
- package/src/layout/components/TagsView/index.vue +1 -1
- package/src/layout/defaultLayout.vue +2 -2
- package/src/store/modules/settings.js +1 -1
- package/src/styles/btn.scss +104 -0
- package/src/styles/element-ui.scss +155 -0
- package/src/styles/element-variables.scss +31 -0
- package/src/styles/global.scss +115 -0
- package/src/styles/index.scss +200 -0
- package/src/styles/menu-icons.scss +75 -0
- package/src/styles/mixin.scss +72 -0
- package/src/styles/nprogress.scss +14 -0
- package/src/styles/sidebar.scss +281 -0
- package/src/styles/split-handle.scss +52 -0
- package/src/styles/theme-variables.scss +7 -0
- package/src/styles/transition.scss +48 -0
- package/src/styles/utilities.scss +137 -0
- package/src/styles/variables.scss +44 -0
- package/src/utils/vab.js +33 -11
- package/src/views/bd/setting/formVersion/compareContMixin.scss +1 -1
- package/src/views/mobile/user/area/dialog.vue +1 -1
- package/src/views/mobile/user/user/dialog.vue +1 -1
- package/src/views/user/commMenu/index.vue +3 -1
- package/src/views/user/commMenu/style.scss +123 -0
- package/src/views/user/home/default.vue +5 -5
- package/src/views/user/home/default2.vue +2 -2
- package/src/views/user/role/edit.vue +4 -0
- package/src/views/user/role/role-box.scss +83 -0
- package/src/views/user/role/voc_edit.vue +4 -0
- package/src/views/user/wf/wf_obj_config/importItemDialog.vue +1 -1
- package/src/views/demo/bizTab/bill/billConfig.js +0 -41
- package/src/views/demo/bizTab/bill/detail.vue +0 -436
- package/src/views/demo/bizTab/bill/list.vue +0 -288
- package/src/views/demo/bizTab/bill/productDialog.vue +0 -176
- package/src/views/demo/bizTab/simple/billApi.js +0 -123
- package/src/views/demo/bizTab/simple/detail.vue +0 -407
- package/src/views/demo/bizTab/simple/list.vue +0 -217
- package/src/views/demo/bizTab/standalone/index.vue +0 -121
- package/src/views/demo/bizTab/wf/billConfig.js +0 -44
- package/src/views/demo/bizTab/wf/detail.vue +0 -661
- package/src/views/demo/bizTab/wf/list.vue +0 -242
- package/src/views/user/home/net/distributor.vue +0 -1015
- package/src/views/user/home/net/index.vue +0 -61
- package/src/views/user/home/wjl/content.vue +0 -1570
- package/src/views/user/outLink/cc_form_view.vue +0 -188
- /package/src/{resources → core-resources}/js/base/common.js +0 -0
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
// Common-menu dialog styles extracted from the app stylesheet.
|
|
2
|
+
@import "~@base/styles/variables.scss";
|
|
3
|
+
.set-drag ul li {
|
|
4
|
+
width: 94px;
|
|
5
|
+
height: 23px;
|
|
6
|
+
float: left;
|
|
7
|
+
margin: 6px 5px;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.fast-set {
|
|
11
|
+
margin: 0 -8px;
|
|
12
|
+
font-size: $fontSizeBase;
|
|
13
|
+
.set-tips {
|
|
14
|
+
text-align: right;
|
|
15
|
+
margin-right: 12px;
|
|
16
|
+
color: $red;
|
|
17
|
+
}
|
|
18
|
+
.set-box {
|
|
19
|
+
padding: 2px 6px;
|
|
20
|
+
height: 60px;
|
|
21
|
+
overflow: hidden;
|
|
22
|
+
border-bottom: solid 8px #f1f5fb;
|
|
23
|
+
.item {
|
|
24
|
+
border: solid 1px #e6ebf5;
|
|
25
|
+
border-radius: 2px;
|
|
26
|
+
display: inline-block;
|
|
27
|
+
margin: 8px 6px 0;
|
|
28
|
+
padding: 0 12px;
|
|
29
|
+
line-height: 26px;
|
|
30
|
+
cursor: all-scroll;
|
|
31
|
+
background: #fff;
|
|
32
|
+
span {
|
|
33
|
+
vertical-align: middle;
|
|
34
|
+
display: inline-block;
|
|
35
|
+
overflow: hidden;
|
|
36
|
+
}
|
|
37
|
+
i {
|
|
38
|
+
display: inline-block;
|
|
39
|
+
vertical-align: middle;
|
|
40
|
+
margin-left: 2px;
|
|
41
|
+
cursor: pointer;
|
|
42
|
+
}
|
|
43
|
+
&:hover {
|
|
44
|
+
color: $baseColor;
|
|
45
|
+
border-color: $baseColor;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
.set-menu {
|
|
50
|
+
height: calc(100vh - 204px);
|
|
51
|
+
overflow: auto;
|
|
52
|
+
padding: 0 18px 18px;
|
|
53
|
+
.item {
|
|
54
|
+
margin-top: 16px;
|
|
55
|
+
position: relative;
|
|
56
|
+
&:before {
|
|
57
|
+
content: "";
|
|
58
|
+
position: absolute;
|
|
59
|
+
top: 34px;
|
|
60
|
+
left: 7px;
|
|
61
|
+
bottom: 32px;
|
|
62
|
+
width: 1px;
|
|
63
|
+
background: transparentize($baseColor, 0.92);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
.m-1 {
|
|
67
|
+
position: relative;
|
|
68
|
+
font-size: 13px;
|
|
69
|
+
color: $baseColor;
|
|
70
|
+
> span {
|
|
71
|
+
display: inline-block;
|
|
72
|
+
background: transparentize($baseColor, 0.92);
|
|
73
|
+
padding: 8px 12px 8px 8px;
|
|
74
|
+
border-radius: 2px;
|
|
75
|
+
margin: 0 -6px 0;
|
|
76
|
+
i {
|
|
77
|
+
margin-right: 4px;
|
|
78
|
+
vertical-align: middle;
|
|
79
|
+
margin-bottom: 2px;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
.m-2 {
|
|
84
|
+
width: 74px;
|
|
85
|
+
font-size: $fontSizeBase;
|
|
86
|
+
color: #212121;
|
|
87
|
+
}
|
|
88
|
+
.m-3 {
|
|
89
|
+
flex: 1;
|
|
90
|
+
border-bottom: solid 1px #eee;
|
|
91
|
+
padding: 0 2px 8px;
|
|
92
|
+
margin-bottom: 6px;
|
|
93
|
+
label {
|
|
94
|
+
display: inline-block; /*min-width: 94px;*/
|
|
95
|
+
color: #808080;
|
|
96
|
+
margin-right: 40px;
|
|
97
|
+
margin-bottom: 8px;
|
|
98
|
+
float: left;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
dl {
|
|
102
|
+
margin-top: 10px;
|
|
103
|
+
padding-left: 36px;
|
|
104
|
+
position: relative;
|
|
105
|
+
display: flex;
|
|
106
|
+
line-height: 20px;
|
|
107
|
+
margin-bottom: 0;
|
|
108
|
+
&:before {
|
|
109
|
+
content: "";
|
|
110
|
+
background: transparentize($baseColor, 0.92);
|
|
111
|
+
width: 20px;
|
|
112
|
+
height: 1px;
|
|
113
|
+
display: inline-block;
|
|
114
|
+
position: absolute;
|
|
115
|
+
left: 8px;
|
|
116
|
+
top: 10px;
|
|
117
|
+
}
|
|
118
|
+
&:last-child .m-3 {
|
|
119
|
+
border-bottom: none;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
}
|
|
@@ -355,7 +355,7 @@ export default {
|
|
|
355
355
|
let userInfo = res.objx;
|
|
356
356
|
this.headPhotoUrl = userInfo.headPhotoUrl
|
|
357
357
|
? userInfo.headPhotoUrl
|
|
358
|
-
: (require("
|
|
358
|
+
: (require("@base/core-resources/images/default-header.png").default || require("@base/core-resources/images/default-header.png"));
|
|
359
359
|
|
|
360
360
|
this.userInfo = userInfo;
|
|
361
361
|
},
|
|
@@ -678,7 +678,7 @@ export default {
|
|
|
678
678
|
};
|
|
679
679
|
</script>
|
|
680
680
|
<style lang="scss" scoped>
|
|
681
|
-
@import "
|
|
681
|
+
@import "~@base/styles/variables.scss";
|
|
682
682
|
|
|
683
683
|
body #app .index-home {
|
|
684
684
|
margin: 3px 10px;
|
|
@@ -737,8 +737,8 @@ body #app .index-home {
|
|
|
737
737
|
.time {
|
|
738
738
|
color: #b9b9b9;
|
|
739
739
|
font-size: 12px;
|
|
740
|
-
right: 12px;
|
|
741
|
-
background: #FFF;
|
|
740
|
+
right: 12px;
|
|
741
|
+
background: #FFF;
|
|
742
742
|
padding-left: 8px;
|
|
743
743
|
}
|
|
744
744
|
|
|
@@ -747,7 +747,7 @@ body #app .index-home {
|
|
|
747
747
|
background-color: #F8FAFC;
|
|
748
748
|
|
|
749
749
|
.time {
|
|
750
|
-
color: $baseColor;
|
|
750
|
+
color: $baseColor;
|
|
751
751
|
background-color: #F8FAFC;
|
|
752
752
|
}
|
|
753
753
|
}
|
|
@@ -594,7 +594,7 @@ export default {
|
|
|
594
594
|
let userInfo = res.objx;
|
|
595
595
|
this.headPhotoUrl = userInfo.headPhotoUrl
|
|
596
596
|
? userInfo.headPhotoUrl
|
|
597
|
-
: (require("
|
|
597
|
+
: (require("@base/core-resources/images/default-header.png").default || require("@base/core-resources/images/default-header.png"));
|
|
598
598
|
|
|
599
599
|
this.userInfo = userInfo;
|
|
600
600
|
},
|
|
@@ -923,7 +923,7 @@ export default {
|
|
|
923
923
|
};
|
|
924
924
|
</script>
|
|
925
925
|
<style lang="scss" scoped>
|
|
926
|
-
@import "
|
|
926
|
+
@import "~@base/styles/variables.scss";
|
|
927
927
|
::v-deep .el-link {
|
|
928
928
|
color: rgba(0, 0, 0, 0.65);
|
|
929
929
|
.iconfont {
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
// Role permission box extracted from the app stylesheet.
|
|
2
|
+
@import "~@base/styles/variables.scss";
|
|
3
|
+
.role-box {
|
|
4
|
+
.item {
|
|
5
|
+
border: solid 1px $borderColor;
|
|
6
|
+
margin-bottom: 12px;
|
|
7
|
+
&.hide {
|
|
8
|
+
.t i {
|
|
9
|
+
transform: rotate(180deg);
|
|
10
|
+
-ms-transform: rotate(180deg);
|
|
11
|
+
-moz-transform: rotate(180deg);
|
|
12
|
+
-webkit-transform: rotate(180deg);
|
|
13
|
+
-o-transform: rotate(180deg);
|
|
14
|
+
}
|
|
15
|
+
.c {
|
|
16
|
+
display: none;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
.t {
|
|
20
|
+
font-size: 13px;
|
|
21
|
+
color: #808080;
|
|
22
|
+
height: 36px;
|
|
23
|
+
line-height: 36px;
|
|
24
|
+
padding: 0 16px;
|
|
25
|
+
background: #f6faff;
|
|
26
|
+
font-weight: 600;
|
|
27
|
+
i {
|
|
28
|
+
display: inline-block;
|
|
29
|
+
float: right;
|
|
30
|
+
line-height: 36px;
|
|
31
|
+
font-size: 16px;
|
|
32
|
+
cursor: pointer;
|
|
33
|
+
-webkit-transition: all 0.2s ease-in;
|
|
34
|
+
-moz-transition: all 0.2s ease-in;
|
|
35
|
+
-o-transition: all 0.2s ease-in;
|
|
36
|
+
transition: all 0.2s ease-in;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
.c {
|
|
40
|
+
> div {
|
|
41
|
+
border-top: solid 1px $borderColor;
|
|
42
|
+
color: #424242;
|
|
43
|
+
min-height: 45px;
|
|
44
|
+
}
|
|
45
|
+
.c-2nd {
|
|
46
|
+
width: 146px;
|
|
47
|
+
display: inline-block;
|
|
48
|
+
padding: 14px 0 0 16px;
|
|
49
|
+
font-size: $fontSizeBase;
|
|
50
|
+
color: #808080;
|
|
51
|
+
.el-checkbox__inner {
|
|
52
|
+
vertical-align: bottom;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
.c-3rd {
|
|
56
|
+
display: inline-block;
|
|
57
|
+
width: calc(100% - 150px);
|
|
58
|
+
vertical-align: top;
|
|
59
|
+
border-left: solid 1px $borderColor;
|
|
60
|
+
padding: 0 24px;
|
|
61
|
+
.c-item {
|
|
62
|
+
padding: 10px 0;
|
|
63
|
+
border-bottom: solid 1px $borderColor;
|
|
64
|
+
&:last-child {
|
|
65
|
+
border-bottom: none;
|
|
66
|
+
}
|
|
67
|
+
.name {
|
|
68
|
+
width: 300px;
|
|
69
|
+
display: inline-block;
|
|
70
|
+
vertical-align: top;
|
|
71
|
+
}
|
|
72
|
+
.c-4th {
|
|
73
|
+
width: calc(100% - 320px);
|
|
74
|
+
display: inline-block;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
.el-checkbox__inner {
|
|
78
|
+
vertical-align: bottom;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
</div>
|
|
21
21
|
</el-upload>
|
|
22
22
|
<div class="upload-finish" v-if="fileRaw">
|
|
23
|
-
<img :src="$assetUrl(require('
|
|
23
|
+
<img :src="$assetUrl(require('@base/core-resources' + '/images/ico-txt.svg'))" class="ico"/>
|
|
24
24
|
<p class="name">{{ fileRaw.name }}</p>
|
|
25
25
|
<!-- <p>2022-1-17</p> -->
|
|
26
26
|
<el-tooltip :enterable="false" class="item" effect="dark"
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import prefixConfig from "@/prefixConfig.js";
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* demo B 接的是真实单据:PMD 的「产品变更申请」,走通用 bd_api(getPage / getOne / getList / saveUpdate)。
|
|
5
|
-
* 换成你自己的单据只改这里:表单编码、表名、流程编码、页签标题字段。
|
|
6
|
-
*
|
|
7
|
-
* 请求写法逐条对齐 stdxx 的真实页面 `views/pmd/product/product_change/{list,edit,productItemDialog}.vue`,
|
|
8
|
-
* 那边跑得通这边就跑得通(连 getOne/saveUpdate 不带 formVersion 都是照它来的)。
|
|
9
|
-
*
|
|
10
|
-
* ⚠️ 前置条件(跑不起来先核对这几条):
|
|
11
|
-
* 1. 表单模板 item_change(列表)/ item_change_edit(详情),且配了脚本
|
|
12
|
-
* getPage / getOne / getList / saveUpdate / findItemPage;
|
|
13
|
-
* 2. 表 pcp_item_change / pcp_item_change_item 存在;
|
|
14
|
-
* 3. 流程 product_change_edit 存在,且至少有一个允许改单据(toModify)的节点,
|
|
15
|
-
* 否则「通过自动保存」这条验不到。
|
|
16
|
-
* 真实页面还会写第三张表 pcp_product_properties_change(产品参数),demo 不带它——
|
|
17
|
-
* saveUpdate 只写 data 里出现的表,不传即不动,所以参数不会被清空。
|
|
18
|
-
* 不吃这些前置条件的版本看 ../simple/(前端 mock,不打后台)。
|
|
19
|
-
*
|
|
20
|
-
* ⚠️ 保存是整表提交:saveUpdate 的 data 里带哪几张表,后台就按哪几张表落库。
|
|
21
|
-
* 所以 detail.vue 把子表 pcp_item_change_item 一起读出来、原样带回,
|
|
22
|
-
* 不然拿真实单据试保存会把子表冲掉。你自己的单据有子表时照此办理。
|
|
23
|
-
*/
|
|
24
|
-
export const BILL = {
|
|
25
|
-
prefix: prefixConfig.PMD_PREFIX,
|
|
26
|
-
listFormCode: "item_change", // 列表分页用的表单编码
|
|
27
|
-
formCode: "item_change_edit", // 详情取数/保存用的表单编码
|
|
28
|
-
taBm: "pcp_item_change", // 主表表名
|
|
29
|
-
itemTaBm: "pcp_item_change_item", // 子表表名
|
|
30
|
-
wfCode: "div_form_item_change_edit", // 流程编码
|
|
31
|
-
titleField: "sn", // 页签标题字段(变更单号)
|
|
32
|
-
type: 0, // 业务过滤条件:0 产品变更 / 1 零件变更
|
|
33
|
-
};
|
|
34
|
-
|
|
35
|
-
export const STATUS_MAP = {
|
|
36
|
-
0: { label: "未审核", cls: "list-tag warning" },
|
|
37
|
-
1: { label: "审核中", cls: "list-tag" },
|
|
38
|
-
2: { label: "已审核", cls: "list-tag success" },
|
|
39
|
-
};
|
|
40
|
-
|
|
41
|
-
export default BILL;
|