widget.qw 1.0.82 → 1.0.83
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/.env.development +1 -1
- package/build/style.css +19 -19
- package/build/widget.qw.es.js +11 -11
- package/build/widget.qw.umd.js +11 -11
- package/package.json +1 -1
- package/src/components/CascaderPop.vue +2 -2
- package/src/views/auditbar/index.vue +3 -3
package/.env.development
CHANGED
|
@@ -7,4 +7,4 @@ VITE_NEED_LOGIN_CODE=401
|
|
|
7
7
|
# 注意:发布时 VITE_IS_DEBUG必须配置为false
|
|
8
8
|
# 本地开发时 VITE_IS_DEBUG必须配置为true
|
|
9
9
|
VITE_IS_DEBUG=true
|
|
10
|
-
VITE_DEBUG_TOKEN= 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.
|
|
10
|
+
VITE_DEBUG_TOKEN= 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJsb2dpblR5cGUiOiJsb2dpbiIsImxvZ2luSWQiOiJIb3VNdSIsInJuU3RyIjoib0gxd1pNR2VITEh5UjQ4Z3NCVFhqVU51UXBSdkl6T0wifQ.vcPX9OTyTgnh4wDa685546NRN-v9yiXiWldNM11VmoQ'
|
package/build/style.css
CHANGED
|
@@ -694,25 +694,25 @@
|
|
|
694
694
|
margin:3px;
|
|
695
695
|
}
|
|
696
696
|
|
|
697
|
-
.cascader-pop[data-v-
|
|
697
|
+
.cascader-pop[data-v-3bc5a250] {
|
|
698
698
|
width: 100%;
|
|
699
699
|
overflow: hidden;
|
|
700
700
|
}
|
|
701
|
-
.cascader-selector[data-v-
|
|
701
|
+
.cascader-selector[data-v-3bc5a250] {
|
|
702
702
|
padding: 10px;
|
|
703
703
|
}
|
|
704
|
-
.search-buttons[data-v-
|
|
704
|
+
.search-buttons[data-v-3bc5a250] {
|
|
705
705
|
display: flex;
|
|
706
706
|
gap: 10px;
|
|
707
707
|
}
|
|
708
|
-
.clear-btn[data-v-
|
|
708
|
+
.clear-btn[data-v-3bc5a250] {
|
|
709
709
|
background-color: #f2f3f5;
|
|
710
710
|
border: none;
|
|
711
711
|
border-radius: 4px;
|
|
712
712
|
padding: 4px 8px;
|
|
713
713
|
font-size: 14px;
|
|
714
714
|
}
|
|
715
|
-
.confirm-btn[data-v-
|
|
715
|
+
.confirm-btn[data-v-3bc5a250] {
|
|
716
716
|
background-color: #1989fa;
|
|
717
717
|
color: white;
|
|
718
718
|
border: none;
|
|
@@ -720,19 +720,19 @@
|
|
|
720
720
|
padding: 4px 8px;
|
|
721
721
|
font-size: 14px;
|
|
722
722
|
}
|
|
723
|
-
.no-results[data-v-
|
|
723
|
+
.no-results[data-v-3bc5a250] {
|
|
724
724
|
text-align: center;
|
|
725
725
|
padding: 20px;
|
|
726
726
|
color: #969799;
|
|
727
727
|
}
|
|
728
|
-
.cascader-header[data-v-
|
|
728
|
+
.cascader-header[data-v-3bc5a250] {
|
|
729
729
|
padding: 10px;
|
|
730
730
|
border-bottom: 1px solid #ebedf0;
|
|
731
731
|
display: flex;
|
|
732
732
|
justify-content: space-between;
|
|
733
733
|
align-items: center;
|
|
734
734
|
}
|
|
735
|
-
.current-path[data-v-
|
|
735
|
+
.current-path[data-v-3bc5a250] {
|
|
736
736
|
flex: 1;
|
|
737
737
|
font-size: 14px;
|
|
738
738
|
color: #323233;
|
|
@@ -740,25 +740,25 @@
|
|
|
740
740
|
overflow: hidden;
|
|
741
741
|
text-overflow: ellipsis;
|
|
742
742
|
}
|
|
743
|
-
.header-right[data-v-
|
|
743
|
+
.header-right[data-v-3bc5a250] {
|
|
744
744
|
display: flex;
|
|
745
745
|
gap: 8px;
|
|
746
746
|
margin-left: auto;
|
|
747
747
|
}
|
|
748
|
-
.cancel-btn[data-v-
|
|
748
|
+
.cancel-btn[data-v-3bc5a250] {
|
|
749
749
|
color: #969799;
|
|
750
750
|
margin-right: 5px;
|
|
751
751
|
}
|
|
752
|
-
.scroll-container[data-v-
|
|
752
|
+
.scroll-container[data-v-3bc5a250] {
|
|
753
753
|
height: calc(80vh - 150px);
|
|
754
754
|
overflow-y: auto;
|
|
755
755
|
}
|
|
756
|
-
.cell-content[data-v-
|
|
756
|
+
.cell-content[data-v-3bc5a250] {
|
|
757
757
|
display: flex;
|
|
758
758
|
align-items: center;
|
|
759
759
|
gap: 12px;
|
|
760
760
|
}
|
|
761
|
-
.circle-selector[data-v-
|
|
761
|
+
.circle-selector[data-v-3bc5a250] {
|
|
762
762
|
width: 20px;
|
|
763
763
|
height: 20px;
|
|
764
764
|
border-radius: 50%;
|
|
@@ -768,29 +768,29 @@
|
|
|
768
768
|
transition: all 0.2s;
|
|
769
769
|
flex-shrink: 0;
|
|
770
770
|
}
|
|
771
|
-
.circle-selector.selected[data-v-
|
|
771
|
+
.circle-selector.selected[data-v-3bc5a250] {
|
|
772
772
|
background-color: #1989fa;
|
|
773
773
|
border-color: #1989fa;
|
|
774
774
|
}
|
|
775
|
-
.circle-selector.selected .van-icon[data-v-
|
|
775
|
+
.circle-selector.selected .van-icon[data-v-3bc5a250] {
|
|
776
776
|
color: white;
|
|
777
777
|
font-size: 14px;
|
|
778
778
|
}
|
|
779
|
-
.van-cell__right-icon[data-v-
|
|
779
|
+
.van-cell__right-icon[data-v-3bc5a250] {
|
|
780
780
|
color: #969799;
|
|
781
781
|
font-size: 16px;
|
|
782
782
|
margin-left: 8px;
|
|
783
783
|
}
|
|
784
|
-
.name[data-v-
|
|
784
|
+
.name[data-v-3bc5a250] {
|
|
785
785
|
flex: 1;
|
|
786
786
|
overflow: hidden;
|
|
787
787
|
text-overflow: ellipsis;
|
|
788
788
|
white-space: nowrap;
|
|
789
789
|
}
|
|
790
|
-
.cancel-btn[data-v-
|
|
790
|
+
.cancel-btn[data-v-3bc5a250] {
|
|
791
791
|
color: #969799;
|
|
792
792
|
}
|
|
793
|
-
.search-field[data-v-
|
|
793
|
+
.search-field[data-v-3bc5a250] {
|
|
794
794
|
background: #fff;
|
|
795
795
|
padding: 10px 16px;
|
|
796
796
|
border-bottom: 1px solid #ebedf0;
|
package/build/widget.qw.es.js
CHANGED
|
@@ -21909,7 +21909,7 @@ const _sfc_main$4 = {
|
|
|
21909
21909
|
}
|
|
21910
21910
|
};
|
|
21911
21911
|
var TreePicker = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-3fa519af"]]);
|
|
21912
|
-
var CascaderPop_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.cascader-pop[data-v-
|
|
21912
|
+
var CascaderPop_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.cascader-pop[data-v-3bc5a250] {\n width: 100%;\n overflow: hidden;\n}\n.cascader-selector[data-v-3bc5a250] {\n padding: 10px;\n}\n.search-buttons[data-v-3bc5a250] {\n display: flex;\n gap: 10px;\n}\n.clear-btn[data-v-3bc5a250] {\n background-color: #f2f3f5;\n border: none;\n border-radius: 4px;\n padding: 4px 8px;\n font-size: 14px;\n}\n.confirm-btn[data-v-3bc5a250] {\n background-color: #1989fa;\n color: white;\n border: none;\n border-radius: 4px;\n padding: 4px 8px;\n font-size: 14px;\n}\n.no-results[data-v-3bc5a250] {\n text-align: center;\n padding: 20px;\n color: #969799;\n}\n.cascader-header[data-v-3bc5a250] {\n padding: 10px;\n border-bottom: 1px solid #ebedf0;\n display: flex;\n justify-content: space-between;\n align-items: center;\n}\n.current-path[data-v-3bc5a250] {\n flex: 1;\n font-size: 14px;\n color: #323233;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.header-right[data-v-3bc5a250] {\n display: flex;\n gap: 8px;\n margin-left: auto;\n}\n.cancel-btn[data-v-3bc5a250] {\n color: #969799;\n margin-right: 5px;\n}\n.scroll-container[data-v-3bc5a250] {\n height: calc(80vh - 150px);\n overflow-y: auto;\n}\n.cell-content[data-v-3bc5a250] {\n display: flex;\n align-items: center;\n gap: 12px;\n}\n.circle-selector[data-v-3bc5a250] {\n width: 20px;\n height: 20px;\n border-radius: 50%;\n display: flex;\n align-items: center;\n justify-content: center;\n transition: all 0.2s;\n flex-shrink: 0;\n}\n.circle-selector.selected[data-v-3bc5a250] {\n background-color: #1989fa;\n border-color: #1989fa;\n}\n.circle-selector.selected .van-icon[data-v-3bc5a250] {\n color: white;\n font-size: 14px;\n}\n.van-cell__right-icon[data-v-3bc5a250] {\n color: #969799;\n font-size: 16px;\n margin-left: 8px;\n}\n.name[data-v-3bc5a250] {\n flex: 1;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.cancel-btn[data-v-3bc5a250] {\n color: #969799;\n}\n.search-field[data-v-3bc5a250] {\n background: #fff;\n padding: 10px 16px;\n border-bottom: 1px solid #ebedf0;\n position: sticky;\n top: 0;\n z-index: 999;\n margin-bottom: 10px;\n flex-shrink: 0;\n /* \u9632\u6B62\u538B\u7F29 */\n}\n")();
|
|
21913
21913
|
const _hoisted_1$3 = {
|
|
21914
21914
|
class: "cascader-selector"
|
|
21915
21915
|
};
|
|
@@ -21933,7 +21933,10 @@ const _hoisted_8$1 = {
|
|
|
21933
21933
|
const _hoisted_9$1 = {
|
|
21934
21934
|
class: "cell-content"
|
|
21935
21935
|
};
|
|
21936
|
-
const _hoisted_10 =
|
|
21936
|
+
const _hoisted_10 = {
|
|
21937
|
+
key: 0,
|
|
21938
|
+
class: "circle-selector"
|
|
21939
|
+
};
|
|
21937
21940
|
const _hoisted_11 = {
|
|
21938
21941
|
class: "name"
|
|
21939
21942
|
};
|
|
@@ -22148,13 +22151,10 @@ const _sfc_main$3 = {
|
|
|
22148
22151
|
}, 8, ["modelValue", "placeholder"]), createElementVNode("div", _hoisted_8$1, [createVNode(_component_van_cell_group, null, {
|
|
22149
22152
|
default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(unref(optionNodes), (item, i) => {
|
|
22150
22153
|
return openBlock(), createBlock(_component_van_cell, {
|
|
22151
|
-
key: i
|
|
22154
|
+
key: i,
|
|
22155
|
+
onClick: ($event) => onToggle(item)
|
|
22152
22156
|
}, createSlots({
|
|
22153
|
-
title: withCtx(() => [createElementVNode("div", _hoisted_9$1, [item.canCheck ? (openBlock(), createElementBlock("div", {
|
|
22154
|
-
key: 0,
|
|
22155
|
-
class: "circle-selector",
|
|
22156
|
-
onClick: withModifiers(($event) => onToggle(item), ["stop"])
|
|
22157
|
-
}, [data2.selectedNodeId === item.id ? (openBlock(), createBlock(_component_van_icon, {
|
|
22157
|
+
title: withCtx(() => [createElementVNode("div", _hoisted_9$1, [item.canCheck ? (openBlock(), createElementBlock("div", _hoisted_10, [data2.selectedNodeId === item.id ? (openBlock(), createBlock(_component_van_icon, {
|
|
22158
22158
|
key: 0,
|
|
22159
22159
|
name: "success",
|
|
22160
22160
|
size: "20",
|
|
@@ -22164,7 +22164,7 @@ const _sfc_main$3 = {
|
|
|
22164
22164
|
name: "circle",
|
|
22165
22165
|
size: "20",
|
|
22166
22166
|
color: "#e0e0e0"
|
|
22167
|
-
})) : createCommentVNode("", true)]
|
|
22167
|
+
})) : createCommentVNode("", true)])) : createCommentVNode("", true), createElementVNode("span", _hoisted_11, toDisplayString(item.label), 1)])]),
|
|
22168
22168
|
_: 2
|
|
22169
22169
|
}, [item.canExpand ? {
|
|
22170
22170
|
name: "right-icon",
|
|
@@ -22172,7 +22172,7 @@ const _sfc_main$3 = {
|
|
|
22172
22172
|
name: "arrow",
|
|
22173
22173
|
onClick: withModifiers(($event) => onNextLevel(item), ["stop"])
|
|
22174
22174
|
}, null, 8, ["onClick"])])
|
|
22175
|
-
} : void 0]),
|
|
22175
|
+
} : void 0]), 1032, ["onClick"]);
|
|
22176
22176
|
}), 128))]),
|
|
22177
22177
|
_: 1
|
|
22178
22178
|
})])])]),
|
|
@@ -22181,7 +22181,7 @@ const _sfc_main$3 = {
|
|
|
22181
22181
|
};
|
|
22182
22182
|
}
|
|
22183
22183
|
};
|
|
22184
|
-
var CascaderPop = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-
|
|
22184
|
+
var CascaderPop = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-3bc5a250"]]);
|
|
22185
22185
|
const _hoisted_1$2 = {
|
|
22186
22186
|
style: {
|
|
22187
22187
|
"display": "flex",
|
package/build/widget.qw.umd.js
CHANGED
|
@@ -21912,7 +21912,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
21912
21912
|
}
|
|
21913
21913
|
};
|
|
21914
21914
|
var TreePicker = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-3fa519af"]]);
|
|
21915
|
-
var CascaderPop_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.cascader-pop[data-v-
|
|
21915
|
+
var CascaderPop_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "\n.cascader-pop[data-v-3bc5a250] {\n width: 100%;\n overflow: hidden;\n}\n.cascader-selector[data-v-3bc5a250] {\n padding: 10px;\n}\n.search-buttons[data-v-3bc5a250] {\n display: flex;\n gap: 10px;\n}\n.clear-btn[data-v-3bc5a250] {\n background-color: #f2f3f5;\n border: none;\n border-radius: 4px;\n padding: 4px 8px;\n font-size: 14px;\n}\n.confirm-btn[data-v-3bc5a250] {\n background-color: #1989fa;\n color: white;\n border: none;\n border-radius: 4px;\n padding: 4px 8px;\n font-size: 14px;\n}\n.no-results[data-v-3bc5a250] {\n text-align: center;\n padding: 20px;\n color: #969799;\n}\n.cascader-header[data-v-3bc5a250] {\n padding: 10px;\n border-bottom: 1px solid #ebedf0;\n display: flex;\n justify-content: space-between;\n align-items: center;\n}\n.current-path[data-v-3bc5a250] {\n flex: 1;\n font-size: 14px;\n color: #323233;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.header-right[data-v-3bc5a250] {\n display: flex;\n gap: 8px;\n margin-left: auto;\n}\n.cancel-btn[data-v-3bc5a250] {\n color: #969799;\n margin-right: 5px;\n}\n.scroll-container[data-v-3bc5a250] {\n height: calc(80vh - 150px);\n overflow-y: auto;\n}\n.cell-content[data-v-3bc5a250] {\n display: flex;\n align-items: center;\n gap: 12px;\n}\n.circle-selector[data-v-3bc5a250] {\n width: 20px;\n height: 20px;\n border-radius: 50%;\n display: flex;\n align-items: center;\n justify-content: center;\n transition: all 0.2s;\n flex-shrink: 0;\n}\n.circle-selector.selected[data-v-3bc5a250] {\n background-color: #1989fa;\n border-color: #1989fa;\n}\n.circle-selector.selected .van-icon[data-v-3bc5a250] {\n color: white;\n font-size: 14px;\n}\n.van-cell__right-icon[data-v-3bc5a250] {\n color: #969799;\n font-size: 16px;\n margin-left: 8px;\n}\n.name[data-v-3bc5a250] {\n flex: 1;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.cancel-btn[data-v-3bc5a250] {\n color: #969799;\n}\n.search-field[data-v-3bc5a250] {\n background: #fff;\n padding: 10px 16px;\n border-bottom: 1px solid #ebedf0;\n position: sticky;\n top: 0;\n z-index: 999;\n margin-bottom: 10px;\n flex-shrink: 0;\n /* \u9632\u6B62\u538B\u7F29 */\n}\n")();
|
|
21916
21916
|
const _hoisted_1$3 = {
|
|
21917
21917
|
class: "cascader-selector"
|
|
21918
21918
|
};
|
|
@@ -21936,7 +21936,10 @@ var __async = (__this, __arguments, generator) => {
|
|
|
21936
21936
|
const _hoisted_9$1 = {
|
|
21937
21937
|
class: "cell-content"
|
|
21938
21938
|
};
|
|
21939
|
-
const _hoisted_10 =
|
|
21939
|
+
const _hoisted_10 = {
|
|
21940
|
+
key: 0,
|
|
21941
|
+
class: "circle-selector"
|
|
21942
|
+
};
|
|
21940
21943
|
const _hoisted_11 = {
|
|
21941
21944
|
class: "name"
|
|
21942
21945
|
};
|
|
@@ -22151,13 +22154,10 @@ var __async = (__this, __arguments, generator) => {
|
|
|
22151
22154
|
}, 8, ["modelValue", "placeholder"]), vue.createElementVNode("div", _hoisted_8$1, [vue.createVNode(_component_van_cell_group, null, {
|
|
22152
22155
|
default: vue.withCtx(() => [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(optionNodes), (item, i) => {
|
|
22153
22156
|
return vue.openBlock(), vue.createBlock(_component_van_cell, {
|
|
22154
|
-
key: i
|
|
22157
|
+
key: i,
|
|
22158
|
+
onClick: ($event) => onToggle(item)
|
|
22155
22159
|
}, vue.createSlots({
|
|
22156
|
-
title: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_9$1, [item.canCheck ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
22157
|
-
key: 0,
|
|
22158
|
-
class: "circle-selector",
|
|
22159
|
-
onClick: vue.withModifiers(($event) => onToggle(item), ["stop"])
|
|
22160
|
-
}, [data2.selectedNodeId === item.id ? (vue.openBlock(), vue.createBlock(_component_van_icon, {
|
|
22160
|
+
title: vue.withCtx(() => [vue.createElementVNode("div", _hoisted_9$1, [item.canCheck ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_10, [data2.selectedNodeId === item.id ? (vue.openBlock(), vue.createBlock(_component_van_icon, {
|
|
22161
22161
|
key: 0,
|
|
22162
22162
|
name: "success",
|
|
22163
22163
|
size: "20",
|
|
@@ -22167,7 +22167,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
22167
22167
|
name: "circle",
|
|
22168
22168
|
size: "20",
|
|
22169
22169
|
color: "#e0e0e0"
|
|
22170
|
-
})) : vue.createCommentVNode("", true)]
|
|
22170
|
+
})) : vue.createCommentVNode("", true)])) : vue.createCommentVNode("", true), vue.createElementVNode("span", _hoisted_11, vue.toDisplayString(item.label), 1)])]),
|
|
22171
22171
|
_: 2
|
|
22172
22172
|
}, [item.canExpand ? {
|
|
22173
22173
|
name: "right-icon",
|
|
@@ -22175,7 +22175,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
22175
22175
|
name: "arrow",
|
|
22176
22176
|
onClick: vue.withModifiers(($event) => onNextLevel(item), ["stop"])
|
|
22177
22177
|
}, null, 8, ["onClick"])])
|
|
22178
|
-
} : void 0]),
|
|
22178
|
+
} : void 0]), 1032, ["onClick"]);
|
|
22179
22179
|
}), 128))]),
|
|
22180
22180
|
_: 1
|
|
22181
22181
|
})])])]),
|
|
@@ -22184,7 +22184,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
22184
22184
|
};
|
|
22185
22185
|
}
|
|
22186
22186
|
};
|
|
22187
|
-
var CascaderPop = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-
|
|
22187
|
+
var CascaderPop = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-3bc5a250"]]);
|
|
22188
22188
|
const _hoisted_1$2 = {
|
|
22189
22189
|
style: {
|
|
22190
22190
|
"display": "flex",
|
package/package.json
CHANGED
|
@@ -27,10 +27,10 @@
|
|
|
27
27
|
<div class="scroll-container">
|
|
28
28
|
<!-- 遍历子节点列表 -->
|
|
29
29
|
<van-cell-group>
|
|
30
|
-
<van-cell v-for="(item, i) in optionNodes" :key="i">
|
|
30
|
+
<van-cell v-for="(item, i) in optionNodes" :key="i" @click="onToggle(item)">
|
|
31
31
|
<template #title>
|
|
32
32
|
<div class="cell-content">
|
|
33
|
-
<div class="circle-selector" v-if="item.canCheck"
|
|
33
|
+
<div class="circle-selector" v-if="item.canCheck">
|
|
34
34
|
<van-icon v-if="data.selectedNodeId === item.id" name="success" size="20"
|
|
35
35
|
color="#409eff" />
|
|
36
36
|
<van-icon v-if="data.selectedNodeId != item.id" name="circle" size="20"
|
|
@@ -11,9 +11,9 @@ import util from '@/util'
|
|
|
11
11
|
|
|
12
12
|
const data = reactive({
|
|
13
13
|
// processId: 46, // 流程ID
|
|
14
|
-
processId:
|
|
15
|
-
mouldId:
|
|
16
|
-
userId: '
|
|
14
|
+
processId: 457, // 流程ID
|
|
15
|
+
mouldId: 71, // 模板ID
|
|
16
|
+
userId: 'HouMu',
|
|
17
17
|
form:null
|
|
18
18
|
})
|
|
19
19
|
|