hy-dispatch-ui-v3 0.2.76 → 0.2.78
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/dist/tailwind.css +91 -8
- package/es/api/common.mjs +28 -0
- 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 +109 -121
- package/es/bussiness/hyDepartmentTypeOperation/departmentTypeOperation_tiantong2.install.mjs +6 -0
- package/es/bussiness/hyDepartmentTypeOperation/departmentTypeOperation_tiantong2.vue.mjs +108 -117
- package/es/bussiness/hyDepartmentTypeOperation/index.mjs +4 -1
- package/es/bussiness/hyDepartmentTypeOperation/locale/en_US.mjs +7 -7
- package/es/bussiness/hyDepartmentTypeOperation/locale/zh_CN.mjs +6 -6
- package/es/bussiness/hyDeviceTree/deviceTree.install.mjs +6 -0
- package/es/bussiness/hyDisplayQueryAddress/displayQueryAddress.vue.mjs +5 -0
- package/es/bussiness/hyDisplayQueryAddress/displayQueryAddress2.install.mjs +6 -0
- package/es/bussiness/hyDisplayQueryAddress/displayQueryAddress2.vue.mjs +182 -0
- package/es/bussiness/hyDisplayQueryAddress/index.mjs +8 -0
- package/es/bussiness/hyDisplayQueryAddress/locale/en_US.mjs +7 -0
- package/es/bussiness/hyDisplayQueryAddress/locale/index.mjs +2 -0
- package/es/bussiness/hyDisplayQueryAddress/locale/zh_CN.mjs +7 -0
- package/es/bussiness/hyDisplayQueryAddress/style/dialog.scss +0 -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/hyFilePlayback/cpns/audioDetail.vue.mjs +5 -0
- package/es/bussiness/hyFilePlayback/cpns/audioDetail2.install.mjs +6 -0
- package/es/bussiness/hyFilePlayback/cpns/audioDetail2.vue.mjs +247 -0
- package/es/bussiness/hyFilePlayback/cpns/picDetail.vue.mjs +5 -0
- package/es/bussiness/hyFilePlayback/cpns/picDetail2.install.mjs +6 -0
- package/es/bussiness/hyFilePlayback/cpns/picDetail2.vue.mjs +206 -0
- package/es/bussiness/hyFilePlayback/cpns/videoDetail.vue.mjs +5 -0
- package/es/bussiness/hyFilePlayback/cpns/videoDetail2.install.mjs +6 -0
- package/es/bussiness/hyFilePlayback/cpns/videoDetail2.vue.mjs +238 -0
- package/es/bussiness/hyFilePlayback/filePlayback.vue.mjs +5 -0
- package/es/bussiness/hyFilePlayback/filePlayback2.install.mjs +6 -0
- package/es/bussiness/hyFilePlayback/filePlayback2.vue.mjs +166 -0
- package/es/bussiness/hyFilePlayback/index.mjs +8 -0
- package/es/bussiness/hyFilePlayback/locale/en_US.mjs +22 -0
- package/es/bussiness/hyFilePlayback/locale/index.mjs +2 -0
- package/es/bussiness/hyFilePlayback/locale/zh_CN.mjs +22 -0
- package/es/bussiness/hyFilePlayback/style/filePlayback.scss +2 -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 +3 -2
- package/es/components/hyCutter/cutter.vue.mjs +2 -2
- package/es/components/hyForm/cpns/arrayItem.vue.mjs +2 -2
- package/es/components/hyForm/cpns/formItem.vue.mjs +3 -2
- package/es/components/hyForm/js/index.mjs +2 -8
- package/es/components/hySearch/cpns/searchItem.vue.mjs +57 -67
- package/es/components/hySearch/js/index.mjs +1 -35
- package/es/components/hySearch/js/useAppSearch.mjs +3 -3
- package/es/components/hySearch/style/search.scss +1 -0
- package/es/components/hyTable/cpns/virtualTable.vue.mjs +5 -5
- package/es/components/hyTable/js/index.mjs +44 -4
- package/es/components/hyTable/js/search.mjs +0 -6
- package/es/components/hyTable/table.vue.mjs +47 -30
- package/es/components/hyTooltip/tooltip.vue.mjs +14 -6
- package/es/components/hyUserAvatar/userAvatar.vue.mjs +1 -1
- package/es/components/hyVideoPlayer/videoPlayer.vue.mjs +3 -3
- package/es/components-map.mjs +19 -10
- package/es/hooks/index.mjs +1 -0
- package/es/hooks/useBaseMainStore.mjs +16 -5
- package/es/hooks/useCurrentBus.mjs +5 -4
- package/es/hooks/useDialog.mjs +2 -2
- package/es/hooks/useGlobalConfig.mjs +26 -16
- package/es/hooks/useVersionControl.mjs +34 -0
- package/es/index.mjs +7 -4
- package/es/locale/en_US.mjs +1 -0
- package/es/locale/zh_CN.mjs +1 -0
- package/es/style/index.scss +2 -2
- package/es/utils/file.mjs +1 -2
- package/es/utils/form.mjs +70 -7
- package/es/utils/index.mjs +3 -2
- package/es/utils/map/hook/leafletjs.mjs +4 -0
- package/es/utils/map/index.mjs +4 -0
- package/es/utils/timeUtils.mjs +95 -0
- package/es/utils/useUiComponent.mjs +34 -0
- package/es/version.mjs +1 -1
- package/lib/api/common.js +33 -0
- 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 +107 -119
- package/lib/bussiness/hyDepartmentTypeOperation/departmentTypeOperation_tiantong2.install.js +6 -0
- package/lib/bussiness/hyDepartmentTypeOperation/departmentTypeOperation_tiantong2.vue.js +107 -116
- package/lib/bussiness/hyDepartmentTypeOperation/index.js +4 -0
- package/lib/bussiness/hyDepartmentTypeOperation/locale/en_US.js +7 -7
- package/lib/bussiness/hyDepartmentTypeOperation/locale/zh_CN.js +6 -6
- package/lib/bussiness/hyDeviceTree/deviceTree.install.js +6 -0
- package/lib/bussiness/hyDisplayQueryAddress/displayQueryAddress.install.js +6 -0
- package/lib/bussiness/hyDisplayQueryAddress/displayQueryAddress.vue.js +9 -0
- package/lib/bussiness/hyDisplayQueryAddress/displayQueryAddress2.install.js +6 -0
- package/lib/bussiness/hyDisplayQueryAddress/displayQueryAddress2.vue.js +186 -0
- package/lib/bussiness/hyDisplayQueryAddress/index.js +13 -0
- package/lib/bussiness/hyDisplayQueryAddress/locale/en_US.js +11 -0
- package/lib/bussiness/hyDisplayQueryAddress/locale/index.js +9 -0
- package/lib/bussiness/hyDisplayQueryAddress/locale/zh_CN.js +11 -0
- package/lib/bussiness/hyDisplayQueryAddress/style/dialog.scss +0 -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/hyFilePlayback/cpns/audioDetail.install.js +6 -0
- package/lib/bussiness/hyFilePlayback/cpns/audioDetail.vue.js +9 -0
- package/lib/bussiness/hyFilePlayback/cpns/audioDetail2.install.js +6 -0
- package/lib/bussiness/hyFilePlayback/cpns/audioDetail2.vue.js +251 -0
- package/lib/bussiness/hyFilePlayback/cpns/picDetail.install.js +6 -0
- package/lib/bussiness/hyFilePlayback/cpns/picDetail.vue.js +9 -0
- package/lib/bussiness/hyFilePlayback/cpns/picDetail2.install.js +6 -0
- package/lib/bussiness/hyFilePlayback/cpns/picDetail2.vue.js +210 -0
- package/lib/bussiness/hyFilePlayback/cpns/videoDetail.install.js +6 -0
- package/lib/bussiness/hyFilePlayback/cpns/videoDetail.vue.js +9 -0
- package/lib/bussiness/hyFilePlayback/cpns/videoDetail2.install.js +6 -0
- package/lib/bussiness/hyFilePlayback/cpns/videoDetail2.vue.js +242 -0
- package/lib/bussiness/hyFilePlayback/filePlayback.install.js +6 -0
- package/lib/bussiness/hyFilePlayback/filePlayback.vue.js +9 -0
- package/lib/bussiness/hyFilePlayback/filePlayback2.install.js +6 -0
- package/lib/bussiness/hyFilePlayback/filePlayback2.vue.js +170 -0
- package/lib/bussiness/hyFilePlayback/index.js +13 -0
- package/lib/bussiness/hyFilePlayback/locale/en_US.js +26 -0
- package/lib/bussiness/hyFilePlayback/locale/index.js +9 -0
- package/lib/bussiness/hyFilePlayback/locale/zh_CN.js +26 -0
- package/lib/bussiness/hyFilePlayback/style/filePlayback.scss +2 -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 +19 -16
- package/lib/components/hyCutter/cutter.vue.js +2 -2
- package/lib/components/hyForm/cpns/arrayItem.vue.js +2 -2
- package/lib/components/hyForm/cpns/formItem.vue.js +3 -2
- package/lib/components/hyForm/js/index.js +0 -7
- package/lib/components/hySearch/cpns/searchItem.vue.js +64 -74
- package/lib/components/hySearch/js/index.js +0 -36
- package/lib/components/hySearch/js/useAppSearch.js +3 -3
- package/lib/components/hySearch/style/search.scss +1 -0
- package/lib/components/hyTable/cpns/virtualTable.vue.js +4 -4
- package/lib/components/hyTable/js/index.js +45 -3
- package/lib/components/hyTable/js/search.js +0 -6
- package/lib/components/hyTable/table.vue.js +46 -29
- package/lib/components/hyTooltip/tooltip.vue.js +13 -5
- package/lib/components/hyUserAvatar/userAvatar.vue.js +1 -1
- package/lib/components/hyVideoPlayer/videoPlayer.vue.js +3 -3
- package/lib/components-map.js +19 -10
- package/lib/hooks/index.js +4 -0
- package/lib/hooks/useBaseMainStore.js +15 -4
- package/lib/hooks/useCurrentBus.js +4 -3
- package/lib/hooks/useDialog.js +2 -2
- package/lib/hooks/useGlobalConfig.js +25 -15
- package/lib/hooks/useVersionControl.js +38 -0
- package/lib/index.js +75 -57
- package/lib/locale/en_US.js +1 -0
- package/lib/locale/zh_CN.js +1 -0
- package/lib/style/index.scss +2 -2
- package/lib/utils/file.js +1 -2
- package/lib/utils/form.js +72 -6
- package/lib/utils/index.js +12 -1
- package/lib/utils/map/hook/leafletjs.js +4 -0
- package/lib/utils/map/index.js +4 -0
- package/lib/utils/timeUtils.js +105 -0
- package/lib/utils/useUiComponent.js +37 -0
- package/lib/version.js +1 -1
- package/package.json +113 -58
- package/es/bussiness/hyDepartmentTypeOperation/tiantong.mjs +0 -8
- package/lib/bussiness/hyDepartmentTypeOperation/tiantong.js +0 -13
|
@@ -123,7 +123,7 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
123
123
|
elementPlus.ElMessage.success($t("operationSuccessful"));
|
|
124
124
|
vue.nextTick(() => {
|
|
125
125
|
emit("on-submit", hy.formModel.value.id ? null : 1);
|
|
126
|
-
currentBus.emit("departmentTypeOperation", {
|
|
126
|
+
currentBus.value.emit("departmentTypeOperation", {
|
|
127
127
|
method: "onSubmit",
|
|
128
128
|
param: hy.formModel.value.id ? null : 1
|
|
129
129
|
});
|
|
@@ -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
|
});
|
|
@@ -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;
|
|
@@ -4,16 +4,16 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var en_US = {
|
|
6
6
|
departmentIcon: "Department Icon",
|
|
7
|
-
upload: "Upload",
|
|
8
|
-
pleaseUploadDepartmentTypeIcon: "Please upload department type icon",
|
|
9
|
-
iconSize44px: "Icon size 44px",
|
|
10
|
-
ifNoIconUseTheDefaultIcon: "If no icon, use the default icon",
|
|
11
7
|
departmentTypeName: "Department Type Name",
|
|
12
|
-
pleaseEnterTheDepartmentTypeName: "Please
|
|
13
|
-
imageUploadFailedLogoSizeWithin2M: "Image
|
|
8
|
+
pleaseEnterTheDepartmentTypeName: "Please Enter The Department Type Name",
|
|
9
|
+
imageUploadFailedLogoSizeWithin2M: "Image Upload Failed, Logo Size Within 2M",
|
|
10
|
+
operationSuccessful: "Operation Successful",
|
|
14
11
|
editDepartmentType: "Edit Department Type",
|
|
15
12
|
addDepartmentType: "Add Department Type",
|
|
16
|
-
|
|
13
|
+
upload: "Upload",
|
|
14
|
+
pleaseUploadDepartmentTypeIcon: "Please Upload Department Type Icon",
|
|
15
|
+
iconSize44px: "Icon Size 44px",
|
|
16
|
+
ifNoIconUseTheDefaultIcon: "If No Icon, Use The Default Icon"
|
|
17
17
|
};
|
|
18
18
|
|
|
19
19
|
exports.default = en_US;
|
|
@@ -4,16 +4,16 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var zh_CN = {
|
|
6
6
|
departmentIcon: "\u90E8\u95E8\u56FE\u6807",
|
|
7
|
-
upload: "\u4E0A \u4F20",
|
|
8
|
-
pleaseUploadDepartmentTypeIcon: "\u8BF7\u4E0A\u4F20\u90E8\u95E8\u7C7B\u578B\u56FE\u6807",
|
|
9
|
-
iconSize44px: "\u56FE\u6807\u5C3A\u5BF844px",
|
|
10
|
-
ifNoIconUseTheDefaultIcon: "\u82E5\u65E0\u56FE\u6807\u5219\u4F7F\u7528\u9ED8\u8BA4\u56FE\u6807",
|
|
11
7
|
departmentTypeName: "\u90E8\u95E8\u7C7B\u578B\u540D\u79F0",
|
|
12
8
|
pleaseEnterTheDepartmentTypeName: "\u8BF7\u8F93\u5165\u90E8\u95E8\u7C7B\u578B\u540D\u79F0",
|
|
13
|
-
imageUploadFailedLogoSizeWithin2M: "\u56FE\u7247\u4E0A\u4F20\u5931\u8D25\
|
|
9
|
+
imageUploadFailedLogoSizeWithin2M: "\u56FE\u7247\u4E0A\u4F20\u5931\u8D25,logo\u5927\u5C0F2M\u4EE5\u5185\u3002",
|
|
10
|
+
operationSuccessful: "\u64CD\u4F5C\u6210\u529F",
|
|
14
11
|
editDepartmentType: "\u7F16\u8F91\u90E8\u95E8\u7C7B\u578B",
|
|
15
12
|
addDepartmentType: "\u6DFB\u52A0\u90E8\u95E8\u7C7B\u578B",
|
|
16
|
-
|
|
13
|
+
upload: "\u4E0A \u4F20",
|
|
14
|
+
pleaseUploadDepartmentTypeIcon: "\u8BF7\u4E0A\u4F20\u90E8\u95E8\u7C7B\u578B\u56FE\u6807",
|
|
15
|
+
iconSize44px: "\u56FE\u6807\u5C3A\u5BF844px",
|
|
16
|
+
ifNoIconUseTheDefaultIcon: "\u82E5\u65E0\u56FE\u6807\u5219\u4F7F\u7528\u9ED8\u8BA4\u56FE\u6807"
|
|
17
17
|
};
|
|
18
18
|
|
|
19
19
|
exports.default = zh_CN;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var displayQueryAddress_vue_vue_type_script_setup_true_lang = require('./displayQueryAddress2.vue.js');
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
exports.default = displayQueryAddress_vue_vue_type_script_setup_true_lang.default;
|
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var vue = require('vue');
|
|
6
|
+
var common = require('../../api/common.js');
|
|
7
|
+
var elementPlus = require('element-plus');
|
|
8
|
+
require('../../hooks/index.js');
|
|
9
|
+
var index = require('./locale/index.js');
|
|
10
|
+
var useLocale = require('../../hooks/useLocale.js');
|
|
11
|
+
var useMixins = require('../../hooks/useMixins.js');
|
|
12
|
+
|
|
13
|
+
const __default__ = vue.defineComponent({
|
|
14
|
+
name: "HyDisplayQueryAddress"
|
|
15
|
+
});
|
|
16
|
+
var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
17
|
+
...__default__,
|
|
18
|
+
props: {
|
|
19
|
+
linesNum: {
|
|
20
|
+
type: [Number, String],
|
|
21
|
+
default: () => {
|
|
22
|
+
return 1;
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
emptyClass: {
|
|
26
|
+
type: String,
|
|
27
|
+
default: () => {
|
|
28
|
+
return "text-auxiliary";
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
emptyText: {
|
|
32
|
+
type: String,
|
|
33
|
+
default: () => {
|
|
34
|
+
return "--";
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
sourceType: {
|
|
38
|
+
type: String,
|
|
39
|
+
default: () => {
|
|
40
|
+
return "";
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
item: {
|
|
44
|
+
type: Object,
|
|
45
|
+
default: () => {
|
|
46
|
+
return {};
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
// 地址参数名称
|
|
50
|
+
addressName: {
|
|
51
|
+
type: String,
|
|
52
|
+
default: () => {
|
|
53
|
+
return "address";
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
lngName: {
|
|
57
|
+
type: String,
|
|
58
|
+
default: () => {
|
|
59
|
+
return "lng";
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
latName: {
|
|
63
|
+
type: String,
|
|
64
|
+
default: () => {
|
|
65
|
+
return "lat";
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
setup(__props) {
|
|
70
|
+
useLocale.registerComponentLocale("HyDisplayQueryAddress", index);
|
|
71
|
+
vue.onUnmounted(() => {
|
|
72
|
+
useLocale.unregisterComponentLocale("HyDisplayQueryAddress");
|
|
73
|
+
});
|
|
74
|
+
const $t = (key, option) => useLocale.$t(`HyDisplayQueryAddress.${key}`, option);
|
|
75
|
+
const props = __props;
|
|
76
|
+
function useDisplayQueryAddress(hy) {
|
|
77
|
+
vue.onMounted(() => {
|
|
78
|
+
vue.watch(
|
|
79
|
+
() => props.item?.[props.addressName],
|
|
80
|
+
(newVal) => {
|
|
81
|
+
hy.address.value = newVal;
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
// deep: true,
|
|
85
|
+
immediate: true
|
|
86
|
+
}
|
|
87
|
+
);
|
|
88
|
+
});
|
|
89
|
+
const getAddressType2 = vue.ref(false);
|
|
90
|
+
const address2 = vue.ref(null);
|
|
91
|
+
const lng2 = vue.computed(() => {
|
|
92
|
+
return props.item[`${props.lngName}`];
|
|
93
|
+
});
|
|
94
|
+
const lat2 = vue.computed(() => {
|
|
95
|
+
return props.item[`${props.latName}`];
|
|
96
|
+
});
|
|
97
|
+
async function getAddress2() {
|
|
98
|
+
hy.getAddressType.value = true;
|
|
99
|
+
const res = await common.reverseGeocodingApi({
|
|
100
|
+
list: [
|
|
101
|
+
{
|
|
102
|
+
sourceType: props.sourceType,
|
|
103
|
+
createDtm: props.item.createDtm,
|
|
104
|
+
sourceId: props.item.id,
|
|
105
|
+
lng: hy.lng.value,
|
|
106
|
+
lat: hy.lat.value
|
|
107
|
+
}
|
|
108
|
+
]
|
|
109
|
+
});
|
|
110
|
+
if (res && res.code === 200) {
|
|
111
|
+
const dataList = res.data || [];
|
|
112
|
+
if (dataList.length) {
|
|
113
|
+
hy.address.value = dataList[0].address;
|
|
114
|
+
hy.getAddressType.value = false;
|
|
115
|
+
}
|
|
116
|
+
} else {
|
|
117
|
+
elementPlus.ElMessage.error($t("failedToGetAddress"));
|
|
118
|
+
hy.getAddressType.value = false;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
return {
|
|
122
|
+
getAddressType: getAddressType2,
|
|
123
|
+
address: address2,
|
|
124
|
+
lng: lng2,
|
|
125
|
+
lat: lat2,
|
|
126
|
+
getAddress: getAddress2
|
|
127
|
+
};
|
|
128
|
+
}
|
|
129
|
+
const {
|
|
130
|
+
address,
|
|
131
|
+
getAddress,
|
|
132
|
+
getAddressType,
|
|
133
|
+
lat,
|
|
134
|
+
lng
|
|
135
|
+
} = useMixins.useMixins({}, [useDisplayQueryAddress]);
|
|
136
|
+
return (_ctx, _cache) => {
|
|
137
|
+
const _component_el_tooltip = vue.resolveComponent("el-tooltip");
|
|
138
|
+
return vue.openBlock(), vue.createBlock(_component_el_tooltip, {
|
|
139
|
+
disabled: !vue.unref(address),
|
|
140
|
+
content: vue.unref(address),
|
|
141
|
+
"show-after": 500,
|
|
142
|
+
class: "text-xs"
|
|
143
|
+
}, {
|
|
144
|
+
default: vue.withCtx(() => [
|
|
145
|
+
vue.createElementVNode(
|
|
146
|
+
"div",
|
|
147
|
+
{
|
|
148
|
+
class: vue.normalizeClass([{
|
|
149
|
+
"overflow-ellipsis overflow-hidden whitespace-nowrap": Number(__props.linesNum) === 1,
|
|
150
|
+
over_two_line: Number(__props.linesNum) === 2
|
|
151
|
+
}, "w-full"])
|
|
152
|
+
},
|
|
153
|
+
[
|
|
154
|
+
vue.unref(address) ? (vue.openBlock(), vue.createElementBlock(
|
|
155
|
+
"span",
|
|
156
|
+
{ key: 0 },
|
|
157
|
+
vue.toDisplayString(vue.unref(address)),
|
|
158
|
+
1
|
|
159
|
+
/* TEXT */
|
|
160
|
+
)) : vue.unref(lng) && vue.unref(lat) ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
161
|
+
key: 1,
|
|
162
|
+
onClick: vue.withModifiers(($event) => vue.unref(getAddress)(), ["stop"]),
|
|
163
|
+
class: "w-full box-border text-center text-theme rounded border border-theme px-1 py-0.5 text-xs clickBox float-left"
|
|
164
|
+
}, vue.toDisplayString(vue.unref(getAddressType) ? $t("querying") : $t("queryAddress")), 9, ["onClick"])) : (vue.openBlock(), vue.createElementBlock(
|
|
165
|
+
"span",
|
|
166
|
+
{
|
|
167
|
+
key: 2,
|
|
168
|
+
class: vue.normalizeClass(__props.emptyClass)
|
|
169
|
+
},
|
|
170
|
+
vue.toDisplayString(__props.emptyText),
|
|
171
|
+
3
|
|
172
|
+
/* TEXT, CLASS */
|
|
173
|
+
))
|
|
174
|
+
],
|
|
175
|
+
2
|
|
176
|
+
/* CLASS */
|
|
177
|
+
)
|
|
178
|
+
]),
|
|
179
|
+
_: 1
|
|
180
|
+
/* STABLE */
|
|
181
|
+
}, 8, ["disabled", "content"]);
|
|
182
|
+
};
|
|
183
|
+
}
|
|
184
|
+
});
|
|
185
|
+
|
|
186
|
+
exports.default = _sfc_main;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
require('./displayQueryAddress.vue.js');
|
|
6
|
+
require('../../utils/index.js');
|
|
7
|
+
var handler = require('../../utils/handler.js');
|
|
8
|
+
var displayQueryAddress_vue_vue_type_script_setup_true_lang = require('./displayQueryAddress2.vue.js');
|
|
9
|
+
|
|
10
|
+
const HyDisplayQueryAddress = handler.withInstall(displayQueryAddress_vue_vue_type_script_setup_true_lang.default);
|
|
11
|
+
|
|
12
|
+
exports.HyDisplayQueryAddress = HyDisplayQueryAddress;
|
|
13
|
+
exports.default = HyDisplayQueryAddress;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var zh_CN = {
|
|
6
|
+
"failedToGetAddress": "\u83B7\u53D6\u5730\u5740\u5931\u8D25",
|
|
7
|
+
"querying": "...\u67E5\u8BE2\u4E2D...",
|
|
8
|
+
"queryAddress": "\u67E5\u8BE2\u5730\u5740"
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
exports.default = zh_CN;
|
|
File without changes
|