@ued_fpi/data-visual 1.4.20 → 1.4.21
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.
|
@@ -22,7 +22,7 @@ const _hoisted_3 = { class: "box" };
|
|
|
22
22
|
const _hoisted_4 = ["src"];
|
|
23
23
|
const _hoisted_5 = { class: "info" };
|
|
24
24
|
const _hoisted_6 = { class: "type" };
|
|
25
|
-
const _hoisted_7 =
|
|
25
|
+
const _hoisted_7 = ["onClick"];
|
|
26
26
|
const _hoisted_8 = { class: "name" };
|
|
27
27
|
const _hoisted_9 = { class: "phone" };
|
|
28
28
|
const _hoisted_10 = { class: "done-header" };
|
|
@@ -50,7 +50,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
50
50
|
default: "/duty-system-server/duty/web/api/v1/work/getDutyKeeper"
|
|
51
51
|
}
|
|
52
52
|
},
|
|
53
|
-
|
|
53
|
+
emits: {
|
|
54
|
+
callPhone: (value) => value
|
|
55
|
+
},
|
|
56
|
+
setup(__props, { emit: emits }) {
|
|
54
57
|
const props = __props;
|
|
55
58
|
const { isDark } = useThemeHook();
|
|
56
59
|
const doneRate = computed(() => props.doneRate);
|
|
@@ -87,6 +90,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
87
90
|
getCommitmentData();
|
|
88
91
|
});
|
|
89
92
|
setIntervalData(getCommitmentData, 5 * 60 * 1e3);
|
|
93
|
+
function handleCallPhone(phone) {
|
|
94
|
+
emits("callPhone", phone);
|
|
95
|
+
}
|
|
90
96
|
return (_ctx, _cache) => {
|
|
91
97
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
92
98
|
_hoisted_2,
|
|
@@ -108,10 +114,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
108
114
|
}, null, 8, _hoisted_4),
|
|
109
115
|
createElementVNode("div", _hoisted_5, [
|
|
110
116
|
createElementVNode("div", _hoisted_6, toDisplayString(item.job), 1),
|
|
111
|
-
createElementVNode("div",
|
|
117
|
+
createElementVNode("div", {
|
|
118
|
+
class: "bottom",
|
|
119
|
+
onClick: ($event) => handleCallPhone(item.contactWay)
|
|
120
|
+
}, [
|
|
112
121
|
createElementVNode("span", _hoisted_8, toDisplayString(item.name), 1),
|
|
113
122
|
createElementVNode("span", _hoisted_9, toDisplayString(item.contactWay), 1)
|
|
114
|
-
])
|
|
123
|
+
], 8, _hoisted_7)
|
|
115
124
|
])
|
|
116
125
|
])
|
|
117
126
|
]);
|