widget.qw 1.0.42 → 1.0.44

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/build/style.css CHANGED
@@ -1,36 +1,36 @@
1
- @charset "UTF-8";.widget[data-v-3d293c3a] {
1
+ @charset "UTF-8";.widget[data-v-c9c18a98] {
2
2
  text-align: center;
3
3
  padding: 15px 15px;
4
4
  }
5
- .memo[data-v-3d293c3a] {
5
+ .memo[data-v-c9c18a98] {
6
6
  margin-bottom: 15px;
7
7
  }
8
- .refuse-btn[data-v-3d293c3a] {
8
+ .refuse-btn[data-v-c9c18a98] {
9
9
  width: 120px;
10
10
  margin-right: 15px;
11
11
  }
12
- .pass-btn[data-v-3d293c3a] {
12
+ .pass-btn[data-v-c9c18a98] {
13
13
  width: 120px;
14
14
  }
15
- .apply-btn[data-v-3d293c3a] {
15
+ .apply-btn[data-v-c9c18a98] {
16
16
  width: 60vw;
17
17
  }
18
- .task-list[data-v-3d293c3a] {
18
+ .task-list[data-v-c9c18a98] {
19
19
  margin-top: 15px;
20
20
  }
21
- .task-title[data-v-3d293c3a] {
21
+ .task-title[data-v-c9c18a98] {
22
22
  font-size: 14px;
23
23
  font-weight: bold;
24
24
  color: #333;
25
25
  text-align: left;
26
26
  }
27
- .task-user[data-v-3d293c3a] {
27
+ .task-user[data-v-c9c18a98] {
28
28
  font-size: 13px;
29
29
  color: #666;
30
30
  text-align: left;
31
31
  margin-top: 5px;
32
32
  }
33
- .audit-title[data-v-3d293c3a] {
33
+ .audit-title[data-v-c9c18a98] {
34
34
  padding: 25px 15px 0 15px;
35
35
  font-size: 16px;
36
36
  font-weight: bold;
@@ -15755,7 +15755,7 @@ var lodash$1 = { exports: {} };
15755
15755
  }).call(commonjsGlobal);
15756
15756
  })(lodash$1, lodash$1.exports);
15757
15757
  var lodash = lodash$1.exports;
15758
- var AuditBar_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".widget[data-v-3d293c3a] {\n text-align: center;\n padding: 15px 15px;\n}\n.memo[data-v-3d293c3a] {\n margin-bottom: 15px;\n}\n.refuse-btn[data-v-3d293c3a] {\n width: 120px;\n margin-right: 15px;\n}\n.pass-btn[data-v-3d293c3a] {\n width: 120px;\n}\n.apply-btn[data-v-3d293c3a] {\n width: 60vw;\n}\n.task-list[data-v-3d293c3a] {\n margin-top: 15px;\n}\n.task-title[data-v-3d293c3a] {\n font-size: 14px;\n font-weight: bold;\n color: #333;\n text-align: left;\n}\n.task-user[data-v-3d293c3a] {\n font-size: 13px;\n color: #666;\n text-align: left;\n margin-top: 5px;\n}\n.audit-title[data-v-3d293c3a] {\n padding: 25px 15px 0 15px;\n font-size: 16px;\n font-weight: bold;\n color: #666;\n text-align: left;\n}")();
15758
+ var AuditBar_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".widget[data-v-c9c18a98] {\n text-align: center;\n padding: 15px 15px;\n}\n.memo[data-v-c9c18a98] {\n margin-bottom: 15px;\n}\n.refuse-btn[data-v-c9c18a98] {\n width: 120px;\n margin-right: 15px;\n}\n.pass-btn[data-v-c9c18a98] {\n width: 120px;\n}\n.apply-btn[data-v-c9c18a98] {\n width: 60vw;\n}\n.task-list[data-v-c9c18a98] {\n margin-top: 15px;\n}\n.task-title[data-v-c9c18a98] {\n font-size: 14px;\n font-weight: bold;\n color: #333;\n text-align: left;\n}\n.task-user[data-v-c9c18a98] {\n font-size: 13px;\n color: #666;\n text-align: left;\n margin-top: 5px;\n}\n.audit-title[data-v-c9c18a98] {\n padding: 25px 15px 0 15px;\n font-size: 16px;\n font-weight: bold;\n color: #666;\n text-align: left;\n}")();
15759
15759
  var AuditBar_vue_vue_type_style_index_1_lang = /* @__PURE__ */ (() => "\n:root:root {\r\n --van-popover-action-width: 70vw;\n}\r\n")();
15760
15760
  var _export_sfc = (sfc, props) => {
15761
15761
  const target = sfc.__vccOpts || sfc;
@@ -15768,7 +15768,7 @@ const _hoisted_1$i = {
15768
15768
  class: "widget"
15769
15769
  };
15770
15770
  const _hoisted_2$b = /* @__PURE__ */ createTextVNode("\u9A73\u56DE");
15771
- const _hoisted_3$9 = /* @__PURE__ */ createTextVNode("\u540C\u610F");
15771
+ const _hoisted_3$9 = /* @__PURE__ */ createTextVNode("\u63D0\u4EA4");
15772
15772
  const _hoisted_4$8 = /* @__PURE__ */ createTextVNode("\u7533\u8BF7");
15773
15773
  const _hoisted_5$8 = {
15774
15774
  key: 4,
@@ -16080,7 +16080,7 @@ const _sfc_main$u = {
16080
16080
  };
16081
16081
  }
16082
16082
  };
16083
- var AuditBar = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-3d293c3a"]]);
16083
+ var AuditBar = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-c9c18a98"]]);
16084
16084
  const isClient = typeof window !== "undefined" && typeof document !== "undefined";
16085
16085
  typeof WorkerGlobalScope !== "undefined" && globalThis instanceof WorkerGlobalScope;
16086
16086
  const isDef = (val) => typeof val !== "undefined";
@@ -20670,7 +20670,8 @@ const _sfc_main$1 = {
20670
20670
  data2.selectedNodeId = modelValue.value;
20671
20671
  } else {
20672
20672
  data2.selectedNodes = [];
20673
- modelValue.value.forEach((id) => __async(this, null, function* () {
20673
+ let ids = modelValue.value || [];
20674
+ ids.forEach((id) => __async(this, null, function* () {
20674
20675
  let params = {};
20675
20676
  params.id = id;
20676
20677
  params.isReturnParent = false;
@@ -15758,7 +15758,7 @@ var __async = (__this, __arguments, generator) => {
15758
15758
  }).call(commonjsGlobal);
15759
15759
  })(lodash$1, lodash$1.exports);
15760
15760
  var lodash = lodash$1.exports;
15761
- var AuditBar_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".widget[data-v-3d293c3a] {\n text-align: center;\n padding: 15px 15px;\n}\n.memo[data-v-3d293c3a] {\n margin-bottom: 15px;\n}\n.refuse-btn[data-v-3d293c3a] {\n width: 120px;\n margin-right: 15px;\n}\n.pass-btn[data-v-3d293c3a] {\n width: 120px;\n}\n.apply-btn[data-v-3d293c3a] {\n width: 60vw;\n}\n.task-list[data-v-3d293c3a] {\n margin-top: 15px;\n}\n.task-title[data-v-3d293c3a] {\n font-size: 14px;\n font-weight: bold;\n color: #333;\n text-align: left;\n}\n.task-user[data-v-3d293c3a] {\n font-size: 13px;\n color: #666;\n text-align: left;\n margin-top: 5px;\n}\n.audit-title[data-v-3d293c3a] {\n padding: 25px 15px 0 15px;\n font-size: 16px;\n font-weight: bold;\n color: #666;\n text-align: left;\n}")();
15761
+ var AuditBar_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".widget[data-v-c9c18a98] {\n text-align: center;\n padding: 15px 15px;\n}\n.memo[data-v-c9c18a98] {\n margin-bottom: 15px;\n}\n.refuse-btn[data-v-c9c18a98] {\n width: 120px;\n margin-right: 15px;\n}\n.pass-btn[data-v-c9c18a98] {\n width: 120px;\n}\n.apply-btn[data-v-c9c18a98] {\n width: 60vw;\n}\n.task-list[data-v-c9c18a98] {\n margin-top: 15px;\n}\n.task-title[data-v-c9c18a98] {\n font-size: 14px;\n font-weight: bold;\n color: #333;\n text-align: left;\n}\n.task-user[data-v-c9c18a98] {\n font-size: 13px;\n color: #666;\n text-align: left;\n margin-top: 5px;\n}\n.audit-title[data-v-c9c18a98] {\n padding: 25px 15px 0 15px;\n font-size: 16px;\n font-weight: bold;\n color: #666;\n text-align: left;\n}")();
15762
15762
  var AuditBar_vue_vue_type_style_index_1_lang = /* @__PURE__ */ (() => "\n:root:root {\r\n --van-popover-action-width: 70vw;\n}\r\n")();
15763
15763
  var _export_sfc = (sfc, props) => {
15764
15764
  const target = sfc.__vccOpts || sfc;
@@ -15771,7 +15771,7 @@ var __async = (__this, __arguments, generator) => {
15771
15771
  class: "widget"
15772
15772
  };
15773
15773
  const _hoisted_2$b = /* @__PURE__ */ vue.createTextVNode("\u9A73\u56DE");
15774
- const _hoisted_3$9 = /* @__PURE__ */ vue.createTextVNode("\u540C\u610F");
15774
+ const _hoisted_3$9 = /* @__PURE__ */ vue.createTextVNode("\u63D0\u4EA4");
15775
15775
  const _hoisted_4$8 = /* @__PURE__ */ vue.createTextVNode("\u7533\u8BF7");
15776
15776
  const _hoisted_5$8 = {
15777
15777
  key: 4,
@@ -16083,7 +16083,7 @@ var __async = (__this, __arguments, generator) => {
16083
16083
  };
16084
16084
  }
16085
16085
  };
16086
- var AuditBar = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-3d293c3a"]]);
16086
+ var AuditBar = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-c9c18a98"]]);
16087
16087
  const isClient = typeof window !== "undefined" && typeof document !== "undefined";
16088
16088
  typeof WorkerGlobalScope !== "undefined" && globalThis instanceof WorkerGlobalScope;
16089
16089
  const isDef = (val) => typeof val !== "undefined";
@@ -20673,7 +20673,8 @@ var __async = (__this, __arguments, generator) => {
20673
20673
  data2.selectedNodeId = modelValue.value;
20674
20674
  } else {
20675
20675
  data2.selectedNodes = [];
20676
- modelValue.value.forEach((id) => __async(this, null, function* () {
20676
+ let ids = modelValue.value || [];
20677
+ ids.forEach((id) => __async(this, null, function* () {
20677
20678
  let params = {};
20678
20679
  params.id = id;
20679
20680
  params.isReturnParent = false;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "widget.qw",
3
3
  "private": false,
4
- "version": "1.0.42",
4
+ "version": "1.0.44",
5
5
  "description": "marqstree Vue3组件库",
6
6
  "main": "build/widget.qw.es.js",
7
7
  "keywords": [
@@ -9,7 +9,7 @@
9
9
  </template>
10
10
  </van-popover>
11
11
 
12
- <van-button v-if="canPass" class="pass-btn" type="primary" native-type="submit" @click="onPass">同意</van-button>
12
+ <van-button v-if="canPass" class="pass-btn" type="primary" native-type="submit" @click="onPass">提交</van-button>
13
13
 
14
14
  <van-button class="apply-btn" v-if="data.canApply" type="primary" native-type="submit"
15
15
  @click="onApply">申请</van-button>
@@ -111,7 +111,8 @@ watch(() => JSON.stringify(modelValue.value), async (n, o) => {
111
111
  data.selectedNodeId = modelValue.value
112
112
  } else {
113
113
  data.selectedNodes = []
114
- modelValue.value.forEach(async(id) => {
114
+ let ids = modelValue.value || []
115
+ ids.forEach(async(id) => {
115
116
  let params = {}
116
117
  params.id = id
117
118
  params.isReturnParent = false