hy-dispatch-ui-v3 0.2.75 → 0.2.77
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/es/bussiness/hyAcquisitionStationTree/acquisitionStationTree.install.mjs +6 -0
- package/es/bussiness/hyDepartmentTypeOperation/departmentTypeOperation2.install.mjs +6 -0
- package/es/bussiness/hyDepartmentTypeOperation/departmentTypeOperation2.vue.mjs +107 -116
- package/es/bussiness/hyDepartmentTypeOperation/departmentTypeOperation_tiantong2.install.mjs +6 -0
- package/es/bussiness/hyDepartmentTypeOperation/departmentTypeOperation_tiantong2.vue.mjs +8 -0
- package/es/bussiness/hyDepartmentTypeOperation/index.mjs +4 -1
- package/es/bussiness/hyDeviceTree/deviceTree.install.mjs +6 -0
- package/es/bussiness/hyElectronicFence/cpns/addElectronicFenceDialog/addElectronicFenceDialog.install.mjs +6 -0
- package/es/bussiness/hyElectronicFence/cpns/addElectronicFenceDialog/addElectronicFenceDialog.vue.mjs +2 -2
- package/es/bussiness/hyElectronicFence/cpns/batchSetElectronicFenceUserDialog/batchSetElectronicFenceUserDialog.install.mjs +6 -0
- package/es/bussiness/hyElectronicFence/cpns/electronicFenceAssociatedUsersDialog/electronicFenceAssociatedUsersDialog.install.mjs +6 -0
- package/es/bussiness/hyElectronicFence/cpns/electronicFenceAssociatedUsersDialog/electronicFenceAssociatedUsersItem.install.mjs +6 -0
- package/es/bussiness/hyElectronicFence/electronicFence.install.mjs +6 -0
- package/es/bussiness/hyMapAearchPlace/mapAearchPlace.install.mjs +6 -0
- package/es/bussiness/hyMapAearchPlace/mapAearchPlaceItem.install.mjs +6 -0
- package/es/bussiness/hyOrgGroupTree/orgGroupTree.install.mjs +6 -0
- package/es/bussiness/hyPlanGroupDeviceTree/planGroupDeviceTree.install.mjs +6 -0
- package/es/bussiness/hyRuleSetting/cpns/gatheringPeople/gatheringPeople.install.mjs +6 -0
- package/es/bussiness/hyRuleSetting/cpns/missionInRule/missionInRule.install.mjs +6 -0
- package/es/bussiness/hyRuleSetting/cpns/missionOutRule/missionOutRule.install.mjs +6 -0
- package/es/bussiness/hyRuleSetting/cpns/ruleAssignDialog/ruleAssignDialog.install.mjs +6 -0
- package/es/bussiness/hyRuleSetting/cpns/ruleFenceDialog/ruleFenceDialog.install.mjs +6 -0
- package/es/bussiness/hyRuleSetting/cpns/ruleSettingDialog/ruleSettingDialog.install.mjs +6 -0
- package/es/bussiness/hyRuleSetting/cpns/sedentary/sedentary.install.mjs +6 -0
- package/es/bussiness/hyRuleSetting/cpns/setRuleAggregationAlarmDialog/setRuleAggregationAlarmDialog.install.mjs +6 -0
- package/es/bussiness/hyRuleSetting/cpns/timedVideo/timedVideo.install.mjs +6 -0
- package/es/bussiness/hyRuleSetting/cpns/timerCamera/timerCamera.install.mjs +6 -0
- package/es/bussiness/hyRuleSetting/cpns/timingReturn/timingReturn.install.mjs +6 -0
- package/es/bussiness/hyRuleSetting/ruleSetting.install.mjs +6 -0
- package/es/bussiness/hyUserTree/userTree.install.mjs +6 -0
- package/es/bussiness/index.mjs +1 -2
- package/es/components-map.mjs +17 -1
- package/es/hooks/index.mjs +1 -0
- package/es/hooks/useGlobalConfig.mjs +9 -0
- package/es/hooks/useVersionControl.mjs +34 -0
- package/es/index.mjs +2 -2
- package/es/utils/form.mjs +11 -2
- package/es/utils/useUiComponent.mjs +34 -0
- package/es/version.mjs +1 -1
- package/lib/bussiness/hyAcquisitionStationTree/acquisitionStationTree.install.js +6 -0
- package/lib/bussiness/hyDepartmentTypeOperation/departmentTypeOperation2.install.js +6 -0
- package/lib/bussiness/hyDepartmentTypeOperation/departmentTypeOperation2.vue.js +106 -115
- package/lib/bussiness/hyDepartmentTypeOperation/departmentTypeOperation_tiantong2.install.js +6 -0
- package/lib/bussiness/hyDepartmentTypeOperation/departmentTypeOperation_tiantong2.vue.js +8 -0
- package/lib/bussiness/hyDepartmentTypeOperation/index.js +4 -0
- package/lib/bussiness/hyDeviceTree/deviceTree.install.js +6 -0
- package/lib/bussiness/hyElectronicFence/cpns/addElectronicFenceDialog/addElectronicFenceDialog.install.js +6 -0
- package/lib/bussiness/hyElectronicFence/cpns/addElectronicFenceDialog/addElectronicFenceDialog.vue.js +11 -11
- package/lib/bussiness/hyElectronicFence/cpns/batchSetElectronicFenceUserDialog/batchSetElectronicFenceUserDialog.install.js +6 -0
- package/lib/bussiness/hyElectronicFence/cpns/electronicFenceAssociatedUsersDialog/electronicFenceAssociatedUsersDialog.install.js +6 -0
- package/lib/bussiness/hyElectronicFence/cpns/electronicFenceAssociatedUsersDialog/electronicFenceAssociatedUsersItem.install.js +6 -0
- package/lib/bussiness/hyElectronicFence/electronicFence.install.js +6 -0
- package/lib/bussiness/hyMapAearchPlace/mapAearchPlace.install.js +6 -0
- package/lib/bussiness/hyMapAearchPlace/mapAearchPlaceItem.install.js +6 -0
- package/lib/bussiness/hyOrgGroupTree/orgGroupTree.install.js +6 -0
- package/lib/bussiness/hyPlanGroupDeviceTree/planGroupDeviceTree.install.js +6 -0
- package/lib/bussiness/hyRuleSetting/cpns/gatheringPeople/gatheringPeople.install.js +6 -0
- package/lib/bussiness/hyRuleSetting/cpns/missionInRule/missionInRule.install.js +6 -0
- package/lib/bussiness/hyRuleSetting/cpns/missionOutRule/missionOutRule.install.js +6 -0
- package/lib/bussiness/hyRuleSetting/cpns/ruleAssignDialog/ruleAssignDialog.install.js +6 -0
- package/lib/bussiness/hyRuleSetting/cpns/ruleFenceDialog/ruleFenceDialog.install.js +6 -0
- package/lib/bussiness/hyRuleSetting/cpns/ruleSettingDialog/ruleSettingDialog.install.js +6 -0
- package/lib/bussiness/hyRuleSetting/cpns/sedentary/sedentary.install.js +6 -0
- package/lib/bussiness/hyRuleSetting/cpns/setRuleAggregationAlarmDialog/setRuleAggregationAlarmDialog.install.js +6 -0
- package/lib/bussiness/hyRuleSetting/cpns/timedVideo/timedVideo.install.js +6 -0
- package/lib/bussiness/hyRuleSetting/cpns/timerCamera/timerCamera.install.js +6 -0
- package/lib/bussiness/hyRuleSetting/cpns/timingReturn/timingReturn.install.js +6 -0
- package/lib/bussiness/hyRuleSetting/ruleSetting.install.js +6 -0
- package/lib/bussiness/hyUserTree/userTree.install.js +6 -0
- package/lib/bussiness/index.js +1 -2
- package/lib/components-map.js +17 -1
- package/lib/hooks/index.js +4 -0
- package/lib/hooks/useGlobalConfig.js +9 -0
- package/lib/hooks/useVersionControl.js +38 -0
- package/lib/index.js +5 -2
- package/lib/utils/form.js +11 -2
- package/lib/utils/useUiComponent.js +37 -0
- package/lib/version.js +1 -1
- package/package.json +120 -18
- package/es/bussiness/hyDepartmentTypeOperation/tiantong.mjs +0 -8
- package/lib/bussiness/hyDepartmentTypeOperation/tiantong.js +0 -13
package/es/index.mjs
CHANGED
|
@@ -19,8 +19,7 @@ export { HyCheckboxGroup } from './components/hyCheckboxGroup/index.mjs';
|
|
|
19
19
|
export { HyConfigProvider } from './components/hyConfigProvider/index.mjs';
|
|
20
20
|
export { HyConfirmDialog } from './components/hyConfirmDialog/index.mjs';
|
|
21
21
|
export { HyCutter } from './components/hyCutter/index.mjs';
|
|
22
|
-
export { HyDepartmentTypeOperation } from './bussiness/hyDepartmentTypeOperation/index.mjs';
|
|
23
|
-
export { HyDepartmentTypeOperationTiantonmg } from './bussiness/hyDepartmentTypeOperation/tiantong.mjs';
|
|
22
|
+
export { HyDepartmentTypeOperation, HyDepartmentTypeOperationTiantong } from './bussiness/hyDepartmentTypeOperation/index.mjs';
|
|
24
23
|
export { HyDeviceTree } from './bussiness/hyDeviceTree/index.mjs';
|
|
25
24
|
export { HyDialog } from './components/hyDialog/index.mjs';
|
|
26
25
|
export { HyDrawer } from './components/hyDrawer/index.mjs';
|
|
@@ -62,6 +61,7 @@ export { isArray, isBoolean, isEmpty, isFile, isFunction, isNull, isNumber, isOb
|
|
|
62
61
|
export { loadingSvg } from './utils/sharedContent.mjs';
|
|
63
62
|
export { localAudioPlayerConfigKey, useAudioPlayerConfig } from './hooks/useAudioPlayerConfig.mjs';
|
|
64
63
|
export { localBaseMainStoreKey, useBaseMainStore } from './hooks/useBaseMainStore.mjs';
|
|
64
|
+
export { localComponentsMapKey, localVersionStoreKey, useVersionControl } from './hooks/useVersionControl.mjs';
|
|
65
65
|
export { localCurrentBusKey, useCurrentBus } from './hooks/useCurrentBus.mjs';
|
|
66
66
|
export { localEnsureHyIconMapKey, useEnsureHyIcon } from './hooks/useEnsureHyIcon.mjs';
|
|
67
67
|
export { localMapConfigKey, useMapConfig } from './hooks/useMapConfig.mjs';
|
package/es/utils/form.mjs
CHANGED
|
@@ -95,8 +95,17 @@ const columnRuleHandler = (column, model, config) => {
|
|
|
95
95
|
if (column.type === "input" && column.attrs.type === "text") {
|
|
96
96
|
if (!rules.some((item) => isNumber(item.max))) {
|
|
97
97
|
rules.push({
|
|
98
|
-
|
|
99
|
-
|
|
98
|
+
validator: (rule, value, callback) => {
|
|
99
|
+
if (isNumber(value)) {
|
|
100
|
+
value = `${value}`;
|
|
101
|
+
}
|
|
102
|
+
if (isString(value) && value.length > 255) {
|
|
103
|
+
callback(new Error($t("form.characterLimit", [columnLabelHandler(column, model), 255])));
|
|
104
|
+
return;
|
|
105
|
+
}
|
|
106
|
+
callback();
|
|
107
|
+
},
|
|
108
|
+
trigger: ["blur", "change"]
|
|
100
109
|
});
|
|
101
110
|
}
|
|
102
111
|
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { defineAsyncComponent } from 'vue';
|
|
2
|
+
import '../hooks/index.mjs';
|
|
3
|
+
import { useVersionControl } from '../hooks/useVersionControl.mjs';
|
|
4
|
+
|
|
5
|
+
function useUiComponent(componentName) {
|
|
6
|
+
const { componentsMap, versionStore } = useVersionControl();
|
|
7
|
+
const currentComponentsMap = componentsMap?.value;
|
|
8
|
+
const currentVersionStore = versionStore?.value;
|
|
9
|
+
if (currentComponentsMap && currentVersionStore) {
|
|
10
|
+
return defineAsyncComponent(() => {
|
|
11
|
+
const versionedName = currentVersionStore.getUiComponentName(componentName);
|
|
12
|
+
if (currentComponentsMap[versionedName]) {
|
|
13
|
+
return currentComponentsMap[versionedName]();
|
|
14
|
+
} else {
|
|
15
|
+
console.warn(`[useUiComponent] \u672A\u627E\u5230\u7248\u672C\u5316\u7EC4\u4EF6: ${versionedName}\uFF0C\u5C1D\u8BD5\u4F7F\u7528\u9ED8\u8BA4\u7EC4\u4EF6`);
|
|
16
|
+
if (currentComponentsMap[componentName]) {
|
|
17
|
+
return currentComponentsMap[componentName]();
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
throw new Error(`[useUiComponent] \u7EC4\u4EF6 ${componentName} \u5728 componentsMap \u4E2D\u4E0D\u5B58\u5728`);
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
throw new Error(`[useUiComponent] useUiComponent('${componentName}') \u9700\u8981\u901A\u8FC7 HyConfigProvider \u63D0\u4F9B componentsMap \u548C versionStore`);
|
|
24
|
+
return {
|
|
25
|
+
currentComponentsMap,
|
|
26
|
+
currentVersionStore
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
function isMultiVersionMode() {
|
|
30
|
+
const { componentsMap, versionStore } = useVersionControl();
|
|
31
|
+
return !!(componentsMap?.value && versionStore?.value);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export { isMultiVersionMode, useUiComponent };
|
package/es/version.mjs
CHANGED
|
@@ -226,129 +226,120 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
226
226
|
return (_ctx, _cache) => {
|
|
227
227
|
const _component_el_image = vue.resolveComponent("el-image");
|
|
228
228
|
const _component_el_upload = vue.resolveComponent("el-upload");
|
|
229
|
-
return vue.openBlock(), vue.
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
"
|
|
269
|
-
},
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
]
|
|
282
|
-
vue.
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
}, null, 8, ["src"])) : (vue.openBlock(), vue.createBlock(vue.unref(index$4.HyIcon), {
|
|
289
|
-
key: 1,
|
|
290
|
-
"svg-name": "ops-file-empty-head",
|
|
291
|
-
class: "text-auxiliary !w-[60px] !h-[60px]"
|
|
292
|
-
})),
|
|
293
|
-
vue.createElementVNode(
|
|
294
|
-
"span",
|
|
295
|
-
{ class: "uploadTips text-center" },
|
|
296
|
-
vue.toDisplayString($t("upload")),
|
|
297
|
-
1
|
|
298
|
-
/* TEXT */
|
|
299
|
-
)
|
|
300
|
-
])
|
|
301
|
-
]),
|
|
302
|
-
_: 1
|
|
303
|
-
/* STABLE */
|
|
304
|
-
}, 8, ["before-upload", "http-request"]),
|
|
305
|
-
vue.createElementVNode("div", { class: "flex-grow leading-[20px] text-auxiliary text-xs text-center" }, [
|
|
229
|
+
return vue.openBlock(), vue.createBlock(vue.unref(index$2.HyDialog), vue.mergeProps({
|
|
230
|
+
ref_key: "HyDialogRef",
|
|
231
|
+
ref: HyDialogRef,
|
|
232
|
+
modelValue: vue.unref(dialogVisible),
|
|
233
|
+
"onUpdate:modelValue": ($event) => vue.isRef(dialogVisible) ? dialogVisible.value = $event : null,
|
|
234
|
+
loading: vue.unref(loading),
|
|
235
|
+
"onUpdate:loading": ($event) => vue.isRef(loading) ? loading.value = $event : null,
|
|
236
|
+
"if-shrink": true,
|
|
237
|
+
width: "310px"
|
|
238
|
+
}, _ctx.$attrs, {
|
|
239
|
+
title: vue.unref(formModel).id ? $t("editDepartmentType") : $t("addDepartmentType"),
|
|
240
|
+
"on-submit": vue.unref(onSubmit),
|
|
241
|
+
"on-cancel": vue.unref(onClose),
|
|
242
|
+
"on-close": vue.unref(onClose),
|
|
243
|
+
"operate-class": "w-full justify-center",
|
|
244
|
+
onOnMinimized: vue.unref(onMinimized),
|
|
245
|
+
onOnDialogMousedown: ($event) => vue.unref(setDragLevelIndex)("HyDialogRef")
|
|
246
|
+
}), {
|
|
247
|
+
default: vue.withCtx(() => [
|
|
248
|
+
vue.createVNode(vue.unref(index$3.HyForm), {
|
|
249
|
+
ref_key: "formRef",
|
|
250
|
+
ref: formRef,
|
|
251
|
+
"column-num": 1,
|
|
252
|
+
model: vue.unref(formModel),
|
|
253
|
+
columns: vue.unref(formColumns)
|
|
254
|
+
}, {
|
|
255
|
+
companyNameSlot: vue.withCtx(() => [
|
|
256
|
+
vue.createElementVNode("div", { class: "flex flex-row departmentTypeOperation" }, [
|
|
257
|
+
vue.createVNode(_component_el_upload, {
|
|
258
|
+
class: "w-[80px] flex items-center justify-center upload_box",
|
|
259
|
+
accept: ".png,.jpg,.gif",
|
|
260
|
+
"before-upload": vue.unref(beforeAvatarUpload),
|
|
261
|
+
"http-request": vue.unref(handleHttpRequestImg),
|
|
262
|
+
action: "",
|
|
263
|
+
"show-file-list": false
|
|
264
|
+
}, {
|
|
265
|
+
default: vue.withCtx(() => [
|
|
266
|
+
vue.withDirectives(vue.createElementVNode("div", {
|
|
267
|
+
class: "delete_box flex items-center justify-center",
|
|
268
|
+
onClick: vue.withModifiers(($event) => vue.unref(setHeadImg)(null), ["stop"])
|
|
269
|
+
}, [
|
|
270
|
+
vue.createVNode(vue.unref(index$4.HyIcon), {
|
|
271
|
+
"svg-name": "ops-button-delete",
|
|
272
|
+
class: "svg_box"
|
|
273
|
+
})
|
|
274
|
+
], 8, ["onClick"]), [
|
|
275
|
+
[vue.vShow, vue.unref(formModel).icon]
|
|
276
|
+
]),
|
|
277
|
+
vue.createElementVNode("div", { class: "click-box emptyHead" }, [
|
|
278
|
+
vue.unref(formModel).icon ? (vue.openBlock(), vue.createBlock(_component_el_image, {
|
|
279
|
+
key: 0,
|
|
280
|
+
fit: "contain",
|
|
281
|
+
class: "w-[60px] h-[60px]",
|
|
282
|
+
src: vue.unref(formModel).icon
|
|
283
|
+
}, null, 8, ["src"])) : (vue.openBlock(), vue.createBlock(vue.unref(index$4.HyIcon), {
|
|
284
|
+
key: 1,
|
|
285
|
+
"svg-name": "ops-file-empty-head",
|
|
286
|
+
class: "text-auxiliary !w-[60px] !h-[60px]"
|
|
287
|
+
})),
|
|
306
288
|
vue.createElementVNode(
|
|
307
|
-
"
|
|
308
|
-
|
|
309
|
-
vue.toDisplayString($t("
|
|
310
|
-
1
|
|
311
|
-
/* TEXT */
|
|
312
|
-
),
|
|
313
|
-
vue.createElementVNode(
|
|
314
|
-
"div",
|
|
315
|
-
null,
|
|
316
|
-
vue.toDisplayString($t("iconSize44px")) + "*44px",
|
|
317
|
-
1
|
|
318
|
-
/* TEXT */
|
|
319
|
-
),
|
|
320
|
-
vue.createElementVNode(
|
|
321
|
-
"div",
|
|
322
|
-
null,
|
|
323
|
-
vue.toDisplayString($t("ifNoIconUseTheDefaultIcon")),
|
|
289
|
+
"span",
|
|
290
|
+
{ class: "uploadTips text-center" },
|
|
291
|
+
vue.toDisplayString($t("upload")),
|
|
324
292
|
1
|
|
325
293
|
/* TEXT */
|
|
326
294
|
)
|
|
327
295
|
])
|
|
328
|
-
])
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
296
|
+
]),
|
|
297
|
+
_: 1
|
|
298
|
+
/* STABLE */
|
|
299
|
+
}, 8, ["before-upload", "http-request"]),
|
|
300
|
+
vue.createElementVNode("div", { class: "flex-grow leading-[20px] text-auxiliary text-xs text-center" }, [
|
|
301
|
+
vue.createElementVNode(
|
|
302
|
+
"div",
|
|
303
|
+
null,
|
|
304
|
+
vue.toDisplayString($t("pleaseUploadDepartmentTypeIcon")),
|
|
305
|
+
1
|
|
306
|
+
/* TEXT */
|
|
307
|
+
),
|
|
308
|
+
vue.createElementVNode(
|
|
309
|
+
"div",
|
|
310
|
+
null,
|
|
311
|
+
vue.toDisplayString($t("iconSize44px")) + "*44px",
|
|
312
|
+
1
|
|
313
|
+
/* TEXT */
|
|
314
|
+
),
|
|
315
|
+
vue.createElementVNode(
|
|
316
|
+
"div",
|
|
317
|
+
null,
|
|
318
|
+
vue.toDisplayString($t("ifNoIconUseTheDefaultIcon")),
|
|
319
|
+
1
|
|
320
|
+
/* TEXT */
|
|
321
|
+
)
|
|
322
|
+
])
|
|
323
|
+
])
|
|
344
324
|
]),
|
|
345
325
|
_: 1
|
|
346
326
|
/* STABLE */
|
|
347
|
-
},
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
327
|
+
}, 8, ["model", "columns"]),
|
|
328
|
+
vue.createVNode(
|
|
329
|
+
vue.unref(index$5.HyCutter),
|
|
330
|
+
{
|
|
331
|
+
ref_key: "HyCutterRef",
|
|
332
|
+
ref: HyCutterRef,
|
|
333
|
+
"show-upload": false
|
|
334
|
+
},
|
|
335
|
+
null,
|
|
336
|
+
512
|
|
337
|
+
/* NEED_PATCH */
|
|
338
|
+
)
|
|
339
|
+
]),
|
|
340
|
+
_: 1
|
|
341
|
+
/* STABLE */
|
|
342
|
+
}, 16, ["modelValue", "onUpdate:modelValue", "loading", "onUpdate:loading", "title", "on-submit", "on-cancel", "on-close", "onOnMinimized", "onOnDialogMousedown"]);
|
|
352
343
|
};
|
|
353
344
|
}
|
|
354
345
|
});
|
|
@@ -224,6 +224,7 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
224
224
|
minimizedShow
|
|
225
225
|
});
|
|
226
226
|
return (_ctx, _cache) => {
|
|
227
|
+
const _component_Test = vue.resolveComponent("Test");
|
|
227
228
|
const _component_el_image = vue.resolveComponent("el-image");
|
|
228
229
|
const _component_el_upload = vue.resolveComponent("el-upload");
|
|
229
230
|
return vue.openBlock(), vue.createElementBlock(
|
|
@@ -231,6 +232,13 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
231
232
|
null,
|
|
232
233
|
[
|
|
233
234
|
vue.createTextVNode(" 222222 "),
|
|
235
|
+
vue.createVNode(
|
|
236
|
+
_component_Test,
|
|
237
|
+
{ ref: "TestRef" },
|
|
238
|
+
null,
|
|
239
|
+
512
|
|
240
|
+
/* NEED_PATCH */
|
|
241
|
+
),
|
|
234
242
|
vue.createVNode(vue.unref(index$2.HyDialog), vue.mergeProps({
|
|
235
243
|
ref_key: "HyDialogRef",
|
|
236
244
|
ref: HyDialogRef,
|
|
@@ -3,11 +3,15 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
require('./departmentTypeOperation.vue.js');
|
|
6
|
+
require('./departmentTypeOperation_tiantong.vue.js');
|
|
6
7
|
require('../../utils/index.js');
|
|
7
8
|
var handler = require('../../utils/handler.js');
|
|
8
9
|
var departmentTypeOperation_vue_vue_type_script_setup_true_lang = require('./departmentTypeOperation2.vue.js');
|
|
10
|
+
var departmentTypeOperation_tiantong_vue_vue_type_script_setup_true_lang = require('./departmentTypeOperation_tiantong2.vue.js');
|
|
9
11
|
|
|
10
12
|
const HyDepartmentTypeOperation = handler.withInstall(departmentTypeOperation_vue_vue_type_script_setup_true_lang.default);
|
|
13
|
+
const HyDepartmentTypeOperationTiantong = handler.withInstall(departmentTypeOperation_tiantong_vue_vue_type_script_setup_true_lang.default);
|
|
11
14
|
|
|
12
15
|
exports.HyDepartmentTypeOperation = HyDepartmentTypeOperation;
|
|
16
|
+
exports.HyDepartmentTypeOperationTiantong = HyDepartmentTypeOperationTiantong;
|
|
13
17
|
exports.default = HyDepartmentTypeOperation;
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var vue = require('vue');
|
|
6
|
+
var useUiComponent = require('../../../../utils/useUiComponent.js');
|
|
6
7
|
var elementPlus = require('element-plus');
|
|
7
8
|
var index = require('../../../../api/index.js');
|
|
8
9
|
var mapRail = require('../../../../api/mapRail.js');
|
|
9
10
|
require('../../../../hooks/index.js');
|
|
10
11
|
require('../../../../utils/index.js');
|
|
11
12
|
require('../../../../components/index.js');
|
|
12
|
-
require('../../../index.js');
|
|
13
13
|
var useCurrentBus = require('../../../../hooks/useCurrentBus.js');
|
|
14
14
|
var useLocale = require('../../../../hooks/useLocale.js');
|
|
15
15
|
var useAppForm = require('../../../../components/hyForm/js/useAppForm.js');
|
|
@@ -19,10 +19,9 @@ var useDialog = require('../../../../hooks/useDialog.js');
|
|
|
19
19
|
var index$1 = require('../../../../components/hyDialog/index.js');
|
|
20
20
|
var index$2 = require('../../../../components/hyForm/index.js');
|
|
21
21
|
var index$3 = require('../../../../components/hyInput/index.js');
|
|
22
|
-
var index$4 = require('
|
|
23
|
-
var index$5 = require('../../../../components/
|
|
24
|
-
var index$6 = require('../../../../components/
|
|
25
|
-
var index$7 = require('../../../../components/hyButton/index.js');
|
|
22
|
+
var index$4 = require('../../../../components/hyMap/index.js');
|
|
23
|
+
var index$5 = require('../../../../components/hyIcon/index.js');
|
|
24
|
+
var index$6 = require('../../../../components/hyButton/index.js');
|
|
26
25
|
|
|
27
26
|
const __default__ = vue.defineComponent({
|
|
28
27
|
name: "HyAddElectronicFenceDialog"
|
|
@@ -39,6 +38,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
39
38
|
}
|
|
40
39
|
},
|
|
41
40
|
setup(__props, { expose: __expose }) {
|
|
41
|
+
const HyMapAearchPlace = useUiComponent.useUiComponent("HyMapAearchPlace");
|
|
42
42
|
const props = __props;
|
|
43
43
|
const { currentBus } = useCurrentBus.useCurrentBus();
|
|
44
44
|
const useAddElectronicFenceDialog = (hy) => {
|
|
@@ -407,7 +407,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
407
407
|
}, {
|
|
408
408
|
"operate-left-box": vue.withCtx(() => [
|
|
409
409
|
vue.createElementVNode("div", { class: "flex items-center mt-2 text-xs" }, [
|
|
410
|
-
vue.createVNode(vue.unref(index$
|
|
410
|
+
vue.createVNode(vue.unref(index$5.HyIcon), {
|
|
411
411
|
"svg-name": "dispatch-share1-prompt",
|
|
412
412
|
"class-name": "!w-3 !h-3 text-auxiliary mr-1"
|
|
413
413
|
}),
|
|
@@ -436,7 +436,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
436
436
|
class: "relative z-[600]"
|
|
437
437
|
}, {
|
|
438
438
|
search: vue.withCtx(() => [
|
|
439
|
-
vue.createVNode(vue.unref(
|
|
439
|
+
vue.createVNode(vue.unref(HyMapAearchPlace), {
|
|
440
440
|
map: vue.unref(map),
|
|
441
441
|
"hy-map": vue.unref(hyMap)
|
|
442
442
|
}, null, 8, ["map", "hy-map"])
|
|
@@ -455,14 +455,14 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
455
455
|
}, 8, ["model", "columns", "rules"]),
|
|
456
456
|
vue.createElementVNode("div", { class: "w-full h-0 flex-1 relative border border-border rounded" }, [
|
|
457
457
|
vue.createElementVNode("div", { class: "w-full h-full" }, [
|
|
458
|
-
vue.createVNode(vue.unref(index$
|
|
458
|
+
vue.createVNode(vue.unref(index$4.HyMap), {
|
|
459
459
|
class: "!rounded-none",
|
|
460
460
|
onComplete: vue.unref(onMapComplete)
|
|
461
461
|
}, null, 8, ["onComplete"])
|
|
462
462
|
]),
|
|
463
463
|
vue.createElementVNode("div", { class: "w-full h-[60px] flex items-center justify-between border-b border-border pl-5 pr-4 box-border absolute left-0 top-0 z-[500] bg-[rgba(var(--hy-background-2),0.9)]" }, [
|
|
464
464
|
vue.createElementVNode("div", { class: "flex items-center gap-2 text-auxiliary" }, [
|
|
465
|
-
vue.createVNode(vue.unref(index$
|
|
465
|
+
vue.createVNode(vue.unref(index$5.HyIcon), {
|
|
466
466
|
"svg-name": "dispatch-share1-prompt",
|
|
467
467
|
"class-name": "!w-3 !h-3 text-auxiliary"
|
|
468
468
|
}),
|
|
@@ -482,7 +482,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
482
482
|
/* STABLE */
|
|
483
483
|
}, 8, ["modelValue", "onUpdate:modelValue", "onChange"])
|
|
484
484
|
]),
|
|
485
|
-
vue.createVNode(vue.unref(index$
|
|
485
|
+
vue.createVNode(vue.unref(index$6.HyButton), {
|
|
486
486
|
type: "primary",
|
|
487
487
|
onClick: vue.unref(startDraw)
|
|
488
488
|
}, {
|
|
@@ -492,7 +492,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
|
492
492
|
_: 1
|
|
493
493
|
/* STABLE */
|
|
494
494
|
}, 8, ["onClick"]),
|
|
495
|
-
vue.createVNode(vue.unref(index$
|
|
495
|
+
vue.createVNode(vue.unref(index$6.HyButton), {
|
|
496
496
|
type: "danger",
|
|
497
497
|
onClick: vue.unref(clearDraw)
|
|
498
498
|
}, {
|