cloud-web-corejs 1.0.54-dev.650 → 1.0.54-dev.652
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 +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/form-item-wrapper.vue +135 -32
- package/src/components/xform/form-designer/setting-panel/property-editor/buttonIcon-editor.vue +14 -15
- package/src/components/xform/form-designer/setting-panel/property-editor/field-button/icon-editor.vue +14 -15
- package/src/components/xform/form-designer/setting-panel/property-editor/labelIconClass-editor.vue +18 -17
- package/src/components/xform/form-designer/setting-panel/property-editor/labelIconPosition-editor.vue +26 -26
- package/src/components/xform/form-designer/setting-panel/property-editor/labelTooltip-editor.vue +12 -14
- package/src/components/xform/form-designer/setting-panel/property-editor/prefixIcon-editor.vue +14 -15
- package/src/components/xform/form-designer/setting-panel/property-editor/suffixIcon-editor.vue +14 -15
- package/src/components/xform/form-designer/setting-panel/propertyRegister.js +207 -194
- package/src/components/xform/icon-picker/icons.json +284 -0
- package/src/components/xform/icon-picker/index.vue +145 -0
- package/src/layout/components/Sidebar/default.vue +76 -132
|
@@ -45,7 +45,10 @@
|
|
|
45
45
|
:content="$t1('流程待办')"
|
|
46
46
|
:placement="direction"
|
|
47
47
|
>
|
|
48
|
-
<i
|
|
48
|
+
<i
|
|
49
|
+
class="iconfont icon-liuchengdaiban"
|
|
50
|
+
@click="$router.push('/basic/wf/wf_manage/list')"
|
|
51
|
+
/>
|
|
49
52
|
</el-tooltip>
|
|
50
53
|
</div>
|
|
51
54
|
<div class="item" v-if="isDev && isBdAdmin">
|
|
@@ -139,15 +142,9 @@
|
|
|
139
142
|
:key="'menuModule' + menuModule.id"
|
|
140
143
|
@click.native="rourteTo(menuModule)"
|
|
141
144
|
>
|
|
142
|
-
<i
|
|
143
|
-
:class="getMenuClass(menuModule, 1)"
|
|
144
|
-
v-if="menuModule.children.length <= 0"
|
|
145
|
-
></i>
|
|
145
|
+
<i :class="getMenuClass(menuModule, 1)" v-if="menuModule.children.length <= 0"></i>
|
|
146
146
|
<template slot="title">
|
|
147
|
-
<i
|
|
148
|
-
:class="getMenuClass(menuModule, 1)"
|
|
149
|
-
v-if="menuModule.children.length > 0"
|
|
150
|
-
></i>
|
|
147
|
+
<i :class="getMenuClass(menuModule, 1)" v-if="menuModule.children.length > 0"></i>
|
|
151
148
|
<span>{{ getMenuName(menuModule) }}</span>
|
|
152
149
|
</template>
|
|
153
150
|
<component
|
|
@@ -297,7 +294,6 @@ import extractedCodeCreateDialog from "../extractedCode/createDialog.vue";
|
|
|
297
294
|
import extractedCodeQueryDialog from "../extractedCode/queryDialog.vue";
|
|
298
295
|
import { getBdFlag } from "@base/api/user";
|
|
299
296
|
import createCompanyDialog from "@base/layout/components/createCompany/createCompanyDialog.vue";
|
|
300
|
-
import { getLogicParamValue } from "@base/api/user";
|
|
301
297
|
|
|
302
298
|
export default {
|
|
303
299
|
props: {
|
|
@@ -349,7 +345,6 @@ export default {
|
|
|
349
345
|
showExtractedCodeQueryDialog: false,
|
|
350
346
|
isDev: false,
|
|
351
347
|
showCreateCompanyDialog: false,
|
|
352
|
-
workflowManageRoute: "",
|
|
353
348
|
};
|
|
354
349
|
},
|
|
355
350
|
computed: {
|
|
@@ -405,23 +400,8 @@ export default {
|
|
|
405
400
|
initPddLog(); //初始化拼多多日志
|
|
406
401
|
this.initIsFormDev();
|
|
407
402
|
this.getBdEnv();
|
|
408
|
-
//初始化流程待办路由
|
|
409
|
-
this.initWorkflowManageRoute();
|
|
410
403
|
},
|
|
411
404
|
methods: {
|
|
412
|
-
initWorkflowManageRoute() {
|
|
413
|
-
//初始化流程待办路由
|
|
414
|
-
getLogicParamValue({
|
|
415
|
-
data: { paramCode: "workflowManageRoute" },
|
|
416
|
-
success: (res) => {
|
|
417
|
-
let value = res?.objx;
|
|
418
|
-
this.workflowManageRoute = value || "/basic/wf/wf_manage/list";
|
|
419
|
-
},
|
|
420
|
-
});
|
|
421
|
-
},
|
|
422
|
-
toWorkflowManage() {
|
|
423
|
-
this.$router.push(this.workflowManageRoute);
|
|
424
|
-
},
|
|
425
405
|
getMenuType(item) {
|
|
426
406
|
if (item.children && item.children.length > 0) {
|
|
427
407
|
return "el-submenu";
|
|
@@ -817,7 +797,7 @@ export default {
|
|
|
817
797
|
if (sh >= 0) {
|
|
818
798
|
$snav.style["margin-top"] = sh1 + "px";
|
|
819
799
|
} else if (sh < 0) {
|
|
820
|
-
let bd = sh1 + sh;
|
|
800
|
+
let bd = sh1 + sh ;
|
|
821
801
|
|
|
822
802
|
$snav.style["margin-top"] = bd + "px";
|
|
823
803
|
$snav.querySelector(".ico-arrow").style["margin-top"] =
|
|
@@ -1077,34 +1057,30 @@ export default {
|
|
|
1077
1057
|
position: relative;
|
|
1078
1058
|
background-color: rgba(0, 0, 0, 0.2);
|
|
1079
1059
|
word-break: break-word;
|
|
1080
|
-
.el-scrollbar__view >
|
|
1081
|
-
padding:
|
|
1082
|
-
|
|
1083
|
-
font-size: 14px;
|
|
1060
|
+
.el-scrollbar__view >{
|
|
1061
|
+
.el-menu-item{padding:0 11px !important;
|
|
1062
|
+
span{font-size:14px;}
|
|
1084
1063
|
}
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
color: $baseColor;
|
|
1064
|
+
.el-submenu > .el-submenu__title{padding:0 11px !important;
|
|
1065
|
+
span{font-size:14px;}
|
|
1066
|
+
~ .el-menu{
|
|
1067
|
+
padding:5px 0;display: grid;
|
|
1068
|
+
> .el-menu-item{
|
|
1069
|
+
span{line-height:1.4;height: 26px;}
|
|
1092
1070
|
}
|
|
1093
|
-
|
|
1094
|
-
color
|
|
1071
|
+
.el-submenu.is-opened .el-submenu__title{background-color:#FFF;opacity:1;
|
|
1072
|
+
span{color:$baseColor;}
|
|
1073
|
+
i.iconfont{color:$baseColor}
|
|
1095
1074
|
}
|
|
1096
1075
|
}
|
|
1076
|
+
|
|
1097
1077
|
}
|
|
1098
1078
|
}
|
|
1099
|
-
.el-submenu__title
|
|
1100
|
-
.el-menu-item {
|
|
1079
|
+
.el-submenu__title,.el-menu-item {
|
|
1101
1080
|
padding: 0 11px;
|
|
1102
1081
|
height: 48px;
|
|
1103
1082
|
line-height: 48px;
|
|
1104
|
-
&:hover,
|
|
1105
|
-
&.is-active {
|
|
1106
|
-
background-color: rgba(0, 0, 0, 0.29);
|
|
1107
|
-
}
|
|
1083
|
+
&:hover,&.is-active{background-color:rgba(0, 0, 0, 0.29)}
|
|
1108
1084
|
i {
|
|
1109
1085
|
color: #fff;
|
|
1110
1086
|
font-size: 13px;
|
|
@@ -1143,22 +1119,18 @@ export default {
|
|
|
1143
1119
|
&.is-opened .el-submenu__title {
|
|
1144
1120
|
//background-color: rgba(27, 66, 97) !important;
|
|
1145
1121
|
}
|
|
1146
|
-
.el-submenu .el-menu
|
|
1147
|
-
display: none;
|
|
1148
|
-
}
|
|
1122
|
+
.el-submenu .el-menu{display:none}
|
|
1149
1123
|
}
|
|
1150
1124
|
|
|
1151
1125
|
.el-submenu {
|
|
1152
|
-
&.is-opened
|
|
1153
|
-
> .el-submenu__title
|
|
1154
|
-
background-color: rgba(0, 0, 0, 0.29);
|
|
1155
|
-
}
|
|
1126
|
+
&.is-opened{
|
|
1127
|
+
> .el-submenu__title{background-color:rgba(0, 0, 0, 0.29)}
|
|
1156
1128
|
}
|
|
1157
1129
|
.el-menu {
|
|
1158
1130
|
background: rgba(0, 0, 0, 0.35);
|
|
1159
1131
|
box-shadow: 0px -5px 8px #00000014 inset;
|
|
1160
1132
|
//padding:4px 0;
|
|
1161
|
-
.el-submenu__title
|
|
1133
|
+
.el-submenu__title{
|
|
1162
1134
|
height: auto;
|
|
1163
1135
|
line-height: 1.4;
|
|
1164
1136
|
font-size: 12px;
|
|
@@ -1192,18 +1164,13 @@ export default {
|
|
|
1192
1164
|
zoom: 0.8;
|
|
1193
1165
|
display: none;
|
|
1194
1166
|
}
|
|
1195
|
-
span
|
|
1196
|
-
height: auto;
|
|
1197
|
-
text-align: left !important;
|
|
1198
|
-
}
|
|
1167
|
+
span{height:auto;text-align: left !important;}
|
|
1199
1168
|
&:hover,
|
|
1200
1169
|
&.on {
|
|
1201
1170
|
opacity: 1;
|
|
1202
1171
|
background-color: #fbfdfe !important;
|
|
1203
1172
|
color: $baseColor !important;
|
|
1204
|
-
i.iconfont
|
|
1205
|
-
color: $baseColor;
|
|
1206
|
-
}
|
|
1173
|
+
i.iconfont{color:$baseColor}
|
|
1207
1174
|
.el-icon-arrow-right {
|
|
1208
1175
|
color: $baseColor;
|
|
1209
1176
|
}
|
|
@@ -1211,14 +1178,14 @@ export default {
|
|
|
1211
1178
|
}
|
|
1212
1179
|
}
|
|
1213
1180
|
|
|
1214
|
-
.el-menu-item
|
|
1181
|
+
.el-menu-item{
|
|
1215
1182
|
height: auto;
|
|
1216
1183
|
line-height: 1.4;
|
|
1217
1184
|
padding-left: 33px !important;
|
|
1218
1185
|
font-size: 12px;
|
|
1219
1186
|
opacity: 0.8;
|
|
1220
1187
|
margin: 5px 0 5px 14px;
|
|
1221
|
-
padding:
|
|
1188
|
+
padding: 2px 2px 2px 0px;
|
|
1222
1189
|
border-radius: 8px;
|
|
1223
1190
|
text-align: left;
|
|
1224
1191
|
min-width: 81px !important;
|
|
@@ -1234,7 +1201,7 @@ export default {
|
|
|
1234
1201
|
line-height: 20px;
|
|
1235
1202
|
left: 7px;
|
|
1236
1203
|
font-size: 18px;
|
|
1237
|
-
color
|
|
1204
|
+
color:#D0D6DB;
|
|
1238
1205
|
}
|
|
1239
1206
|
|
|
1240
1207
|
[class^="el-icon-"] {
|
|
@@ -1247,6 +1214,7 @@ export default {
|
|
|
1247
1214
|
width: 14px;
|
|
1248
1215
|
zoom: 0.8;
|
|
1249
1216
|
display: none;
|
|
1217
|
+
|
|
1250
1218
|
}
|
|
1251
1219
|
|
|
1252
1220
|
&:hover,
|
|
@@ -1255,8 +1223,7 @@ export default {
|
|
|
1255
1223
|
background-color: #fbfdfe !important;
|
|
1256
1224
|
color: $baseColor !important;
|
|
1257
1225
|
|
|
1258
|
-
.el-icon-arrow-right,
|
|
1259
|
-
i.iconfont {
|
|
1226
|
+
.el-icon-arrow-right,i.iconfont {
|
|
1260
1227
|
color: $baseColor;
|
|
1261
1228
|
}
|
|
1262
1229
|
}
|
|
@@ -1579,82 +1546,59 @@ export default {
|
|
|
1579
1546
|
// .el-submenu .el-menu {
|
|
1580
1547
|
// height: auto !important;
|
|
1581
1548
|
// }
|
|
1582
|
-
.el-menu--vertical
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
text-align: left;
|
|
1594
|
-
min-width: 81px !important;
|
|
1595
|
-
white-space: normal;
|
|
1596
|
-
margin-right: 10px;
|
|
1597
|
-
word-break: break-word;
|
|
1598
|
-
i.iconfont {
|
|
1599
|
-
color: #fff;
|
|
1600
|
-
margin-right: 8px;
|
|
1601
|
-
}
|
|
1602
|
-
}
|
|
1603
|
-
}
|
|
1604
|
-
.el-submenu {
|
|
1605
|
-
.el-submenu__title {
|
|
1606
|
-
height: 36px;
|
|
1607
|
-
line-height: 36px;
|
|
1608
|
-
.el-submenu__icon-arrow {
|
|
1609
|
-
display: none;
|
|
1549
|
+
.el-menu--vertical{
|
|
1550
|
+
> .el-menu--popup{overflow: hidden;
|
|
1551
|
+
.el-submenu__title, .el-menu-item{
|
|
1552
|
+
height: auto !important;
|
|
1553
|
+
line-height: 1.4 !important;
|
|
1554
|
+
padding: 8px 0;
|
|
1555
|
+
text-align: left;
|
|
1556
|
+
white-space: normal;
|
|
1557
|
+
word-break: break-word;
|
|
1558
|
+
background:none;
|
|
1559
|
+
i.iconfont{color:#FFF;margin-right:8px;}
|
|
1610
1560
|
}
|
|
1561
|
+
}
|
|
1562
|
+
.el-submenu{
|
|
1563
|
+
.el-submenu__title{
|
|
1564
|
+
.el-submenu__icon-arrow{display:none}
|
|
1611
1565
|
}
|
|
1612
|
-
&:hover
|
|
1613
|
-
.el-submenu__title
|
|
1614
|
-
background:
|
|
1615
|
-
|
|
1616
|
-
color: #fff;
|
|
1617
|
-
}
|
|
1618
|
-
i.iconfont {
|
|
1619
|
-
color: $baseColor;
|
|
1620
|
-
}
|
|
1566
|
+
&:hover{
|
|
1567
|
+
.el-submenu__title{
|
|
1568
|
+
background-color: rgba(0, 0, 0, 0.29) !important;
|
|
1569
|
+
i.iconfont{color:$baseColor}
|
|
1621
1570
|
}
|
|
1622
1571
|
}
|
|
1623
1572
|
|
|
1624
|
-
&.is-opened
|
|
1625
|
-
.el-submenu__title
|
|
1626
|
-
background-color:
|
|
1627
|
-
|
|
1628
|
-
span {
|
|
1629
|
-
color: $baseColor;
|
|
1630
|
-
}
|
|
1631
|
-
i.iconfont {
|
|
1632
|
-
color: $baseColor;
|
|
1633
|
-
}
|
|
1573
|
+
&.is-opened{
|
|
1574
|
+
.el-submenu__title{
|
|
1575
|
+
background-color: rgba(0, 0, 0, 0.29) !important;
|
|
1576
|
+
i.iconfont{color:$baseColor}
|
|
1634
1577
|
}
|
|
1635
1578
|
}
|
|
1636
1579
|
}
|
|
1637
|
-
.el-menu-item
|
|
1638
|
-
&:hover
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
span {
|
|
1642
|
-
color: $baseColor;
|
|
1643
|
-
}
|
|
1644
|
-
i.iconfont {
|
|
1645
|
-
color: $baseColor;
|
|
1646
|
-
}
|
|
1580
|
+
.el-menu-item{
|
|
1581
|
+
&:hover{
|
|
1582
|
+
background-color: rgba(0, 0, 0, 0.29) !important;
|
|
1583
|
+
i.iconfont{color:$baseColor}
|
|
1647
1584
|
}
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
color: $baseColor;
|
|
1653
|
-
}
|
|
1654
|
-
i.iconfont {
|
|
1655
|
-
color: $baseColor;
|
|
1656
|
-
}
|
|
1585
|
+
|
|
1586
|
+
&.is-opened{
|
|
1587
|
+
background-color: rgba(0, 0, 0, 0.29) !important;
|
|
1588
|
+
i.iconfont{color:$baseColor}
|
|
1657
1589
|
}
|
|
1658
1590
|
}
|
|
1591
|
+
// .el-menu-item{
|
|
1592
|
+
// &:hover{
|
|
1593
|
+
// background:#FFF !important;opacity:1;
|
|
1594
|
+
// span{color:$baseColor}
|
|
1595
|
+
// i.iconfont{color:$baseColor}
|
|
1596
|
+
// }
|
|
1597
|
+
// &.is-opened{
|
|
1598
|
+
// background:#FFF;opacity:1;
|
|
1599
|
+
// span{color:$baseColor}
|
|
1600
|
+
// i.iconfont{color:$baseColor}
|
|
1601
|
+
// }
|
|
1602
|
+
// }
|
|
1659
1603
|
}
|
|
1660
1604
|
</style>
|