hy-dispatch-ui-v3 0.2.74 → 0.2.75
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 +12 -12
- package/es/bussiness/hyDepartmentTypeOperation/departmentTypeOperation.vue.mjs +6 -0
- package/es/bussiness/hyDepartmentTypeOperation/departmentTypeOperation2.vue.mjs +352 -0
- package/es/bussiness/hyDepartmentTypeOperation/departmentTypeOperation_tiantong.vue.mjs +6 -0
- package/es/bussiness/hyDepartmentTypeOperation/departmentTypeOperation_tiantong2.vue.mjs +352 -0
- package/es/bussiness/hyDepartmentTypeOperation/index.mjs +8 -0
- package/es/bussiness/hyDepartmentTypeOperation/locale/en_US.mjs +15 -0
- package/es/bussiness/hyDepartmentTypeOperation/locale/index.mjs +2 -0
- package/es/bussiness/hyDepartmentTypeOperation/locale/zh_CN.mjs +15 -0
- package/es/bussiness/hyDepartmentTypeOperation/style/departmentTypeOperation.scss +58 -0
- package/es/bussiness/hyDepartmentTypeOperation/tiantong.mjs +8 -0
- package/es/bussiness/index.mjs +2 -1
- package/es/components/hyCutter/cutter.vue.mjs +18 -6
- package/es/components/hyOrgCascader/js/index.mjs +2 -2
- package/es/components-map.mjs +3 -0
- package/es/hooks/index.mjs +1 -1
- package/es/hooks/useApi.mjs +2 -2
- package/es/hooks/useDialog.mjs +1 -1
- package/es/hooks/useGlobalConfig.mjs +3 -0
- package/es/hooks/useLocale.mjs +29 -1
- package/es/index.mjs +3 -2
- package/es/utils/handler.mjs +0 -1
- package/es/version.mjs +1 -1
- package/lib/bussiness/hyDepartmentTypeOperation/departmentTypeOperation.vue.js +10 -0
- package/lib/bussiness/hyDepartmentTypeOperation/departmentTypeOperation2.vue.js +356 -0
- package/lib/bussiness/hyDepartmentTypeOperation/departmentTypeOperation_tiantong.vue.js +10 -0
- package/lib/bussiness/hyDepartmentTypeOperation/departmentTypeOperation_tiantong2.vue.js +356 -0
- package/lib/bussiness/hyDepartmentTypeOperation/index.js +13 -0
- package/lib/bussiness/hyDepartmentTypeOperation/locale/en_US.js +19 -0
- package/lib/bussiness/hyDepartmentTypeOperation/locale/index.js +9 -0
- package/lib/bussiness/hyDepartmentTypeOperation/locale/zh_CN.js +19 -0
- package/lib/bussiness/hyDepartmentTypeOperation/style/departmentTypeOperation.scss +58 -0
- package/lib/bussiness/hyDepartmentTypeOperation/tiantong.js +13 -0
- package/lib/bussiness/index.js +9 -7
- package/lib/components/hyCutter/cutter.vue.js +18 -6
- package/lib/components/hyOrgCascader/js/index.js +2 -2
- package/lib/components-map.js +3 -0
- package/lib/hooks/index.js +2 -0
- package/lib/hooks/useApi.js +2 -2
- package/lib/hooks/useDialog.js +1 -1
- package/lib/hooks/useGlobalConfig.js +3 -0
- package/lib/hooks/useLocale.js +30 -0
- package/lib/index.js +28 -24
- package/lib/utils/handler.js +0 -1
- package/lib/version.js +1 -1
- package/package.json +10 -6
- package/es/_virtual/_plugin-vue_export-helper.mjs +0 -9
- package/es/bussiness/hyAddDepartmentType/addDepartmentType.vue.mjs +0 -367
- package/es/bussiness/hyAddDepartmentType/index.mjs +0 -7
- package/es/bussiness/hyAddDepartmentType/style/addDepartmentType.scss +0 -31
- package/lib/_virtual/_plugin-vue_export-helper.js +0 -13
- package/lib/bussiness/hyAddDepartmentType/addDepartmentType.vue.js +0 -371
- package/lib/bussiness/hyAddDepartmentType/index.js +0 -12
- package/lib/bussiness/hyAddDepartmentType/style/addDepartmentType.scss +0 -31
|
@@ -1,371 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var vue = require('vue');
|
|
6
|
-
require('../../hooks/index.js');
|
|
7
|
-
var elementPlus = require('element-plus');
|
|
8
|
-
var index = require('../../api/index.js');
|
|
9
|
-
require('../../utils/index.js');
|
|
10
|
-
require('../../components/index.js');
|
|
11
|
-
var _pluginVue_exportHelper = require('../../_virtual/_plugin-vue_export-helper.js');
|
|
12
|
-
var useLocale = require('../../hooks/useLocale.js');
|
|
13
|
-
var file = require('../../utils/file.js');
|
|
14
|
-
var useMixins = require('../../hooks/useMixins.js');
|
|
15
|
-
var index$1 = require('../../components/hyDialog/index.js');
|
|
16
|
-
var index$2 = require('../../components/hyIcon/index.js');
|
|
17
|
-
var index$3 = require('../../components/hyButton/index.js');
|
|
18
|
-
var index$4 = require('../../components/hyCutter/index.js');
|
|
19
|
-
|
|
20
|
-
const __default__ = vue.defineComponent({
|
|
21
|
-
name: "HyAddDepartmentType"
|
|
22
|
-
});
|
|
23
|
-
const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
|
|
24
|
-
props: {
|
|
25
|
-
// 是否可缩小化
|
|
26
|
-
ifShrink: { type: Boolean, default: false },
|
|
27
|
-
// 是否拖拽
|
|
28
|
-
ifDraggable: { type: Boolean, default: false }
|
|
29
|
-
},
|
|
30
|
-
emits: ["on-submit", "onMinimized", "onDialogMousedown"],
|
|
31
|
-
setup(__props, { expose: __expose, emit: __emit }) {
|
|
32
|
-
const props = __props;
|
|
33
|
-
const emit = __emit;
|
|
34
|
-
const HyCutterRef = vue.useTemplateRef("HyCutterRef");
|
|
35
|
-
function useAddDepartmentType(hy) {
|
|
36
|
-
const { emit: emit2 } = hy;
|
|
37
|
-
const formRef2 = vue.ref(null);
|
|
38
|
-
const HyDialogRef2 = vue.ref();
|
|
39
|
-
const visible2 = vue.ref(false);
|
|
40
|
-
const form2 = vue.ref({
|
|
41
|
-
icon: null,
|
|
42
|
-
typeName: null
|
|
43
|
-
});
|
|
44
|
-
const rules2 = vue.ref({
|
|
45
|
-
typeName: [
|
|
46
|
-
{
|
|
47
|
-
required: true,
|
|
48
|
-
message: useLocale.$t("departmentType.pleaseEnterTheDepartmentTypeName"),
|
|
49
|
-
trigger: "blur"
|
|
50
|
-
}
|
|
51
|
-
]
|
|
52
|
-
});
|
|
53
|
-
const title2 = vue.ref(useLocale.$t("departmentType.addDepartmentType"));
|
|
54
|
-
function beforeAvatarUpload2(file) {
|
|
55
|
-
const width = 44;
|
|
56
|
-
const height = 44;
|
|
57
|
-
const isLt2M = file.size / 1024 / 1024 < 2;
|
|
58
|
-
if (!isLt2M) {
|
|
59
|
-
elementPlus.ElMessage.error(useLocale.$t("departmentType.imageUploadFailedLogoSizeWithin2M"));
|
|
60
|
-
return false;
|
|
61
|
-
}
|
|
62
|
-
HyCutterRef.value.open({
|
|
63
|
-
file,
|
|
64
|
-
options: {
|
|
65
|
-
outputType: "png",
|
|
66
|
-
// 裁剪生成图片的格式
|
|
67
|
-
canScale: true,
|
|
68
|
-
// 图片是否允许滚轮缩放
|
|
69
|
-
fixedBox: true,
|
|
70
|
-
// 固定截图框大小 不允许改变
|
|
71
|
-
infoTrue: false,
|
|
72
|
-
// 是否开启截图框宽高固定比例
|
|
73
|
-
autoCropWidth: width,
|
|
74
|
-
autoCropHeight: height,
|
|
75
|
-
centerBox: false,
|
|
76
|
-
original: true,
|
|
77
|
-
fixed: false
|
|
78
|
-
},
|
|
79
|
-
onSubmit: ({ url, key }) => {
|
|
80
|
-
hy.form.value.icon = url;
|
|
81
|
-
hy.form.value.iconKey = key;
|
|
82
|
-
}
|
|
83
|
-
});
|
|
84
|
-
return false;
|
|
85
|
-
}
|
|
86
|
-
async function handleHttpRequestImg2(object) {
|
|
87
|
-
await file.fileUpload(object.file).then((url) => {
|
|
88
|
-
hy.form.value.icon = url;
|
|
89
|
-
});
|
|
90
|
-
}
|
|
91
|
-
function submit2() {
|
|
92
|
-
hy.formRef.value?.validate((valid) => {
|
|
93
|
-
if (valid) {
|
|
94
|
-
if (!hy.form.value.icon) {
|
|
95
|
-
hy.form.value.iconKey = null;
|
|
96
|
-
}
|
|
97
|
-
index.saveApi("organization/orgType", {
|
|
98
|
-
...hy.form.value,
|
|
99
|
-
icon: null
|
|
100
|
-
}).then((res) => {
|
|
101
|
-
if (res.code === 200) {
|
|
102
|
-
emit2("on-submit", hy.form.value.id ? null : 1);
|
|
103
|
-
hy.visible.value = false;
|
|
104
|
-
elementPlus.ElMessage.success(useLocale.$t("videoPlayer.operationSuccessful"));
|
|
105
|
-
}
|
|
106
|
-
});
|
|
107
|
-
}
|
|
108
|
-
});
|
|
109
|
-
}
|
|
110
|
-
function onClose2() {
|
|
111
|
-
hy.visible.value = false;
|
|
112
|
-
}
|
|
113
|
-
function setDragLevelIndex2(dragLevel) {
|
|
114
|
-
HyDialogRef2.value.setDragLevelIndex(dragLevel);
|
|
115
|
-
}
|
|
116
|
-
function onMinimized2(e) {
|
|
117
|
-
emit2("onMinimized", e);
|
|
118
|
-
}
|
|
119
|
-
function onDialogMousedown2(e) {
|
|
120
|
-
emit2("onDialogMousedown", e);
|
|
121
|
-
}
|
|
122
|
-
function show2(row) {
|
|
123
|
-
if (row) {
|
|
124
|
-
hy.form.value = { ...row };
|
|
125
|
-
} else {
|
|
126
|
-
hy.form.value = {
|
|
127
|
-
icon: null,
|
|
128
|
-
typeName: null
|
|
129
|
-
};
|
|
130
|
-
}
|
|
131
|
-
hy.visible.value = true;
|
|
132
|
-
}
|
|
133
|
-
return {
|
|
134
|
-
// HyCutterRef,
|
|
135
|
-
formRef: formRef2,
|
|
136
|
-
visible: visible2,
|
|
137
|
-
form: form2,
|
|
138
|
-
rules: rules2,
|
|
139
|
-
beforeAvatarUpload: beforeAvatarUpload2,
|
|
140
|
-
handleHttpRequestImg: handleHttpRequestImg2,
|
|
141
|
-
submit: submit2,
|
|
142
|
-
onClose: onClose2,
|
|
143
|
-
show: show2,
|
|
144
|
-
onDialogMousedown: onDialogMousedown2,
|
|
145
|
-
onMinimized: onMinimized2,
|
|
146
|
-
setDragLevelIndex: setDragLevelIndex2,
|
|
147
|
-
title: title2,
|
|
148
|
-
HyDialogRef: HyDialogRef2
|
|
149
|
-
};
|
|
150
|
-
}
|
|
151
|
-
const {
|
|
152
|
-
// HyCutterRef,
|
|
153
|
-
formRef,
|
|
154
|
-
visible,
|
|
155
|
-
form,
|
|
156
|
-
rules,
|
|
157
|
-
beforeAvatarUpload,
|
|
158
|
-
handleHttpRequestImg,
|
|
159
|
-
submit,
|
|
160
|
-
onClose,
|
|
161
|
-
show,
|
|
162
|
-
title,
|
|
163
|
-
setDragLevelIndex,
|
|
164
|
-
HyDialogRef,
|
|
165
|
-
onMinimized,
|
|
166
|
-
onDialogMousedown
|
|
167
|
-
} = useMixins.useMixins({ emit, props }, [useAddDepartmentType]);
|
|
168
|
-
__expose({
|
|
169
|
-
show,
|
|
170
|
-
setDragLevelIndex
|
|
171
|
-
});
|
|
172
|
-
return (_ctx, _cache) => {
|
|
173
|
-
const _component_el_input = vue.resolveComponent("el-input");
|
|
174
|
-
return vue.openBlock(), vue.createBlock(vue.unref(index$1.HyDialog), {
|
|
175
|
-
ref_key: "HyDialogRef",
|
|
176
|
-
ref: HyDialogRef,
|
|
177
|
-
modelValue: vue.unref(visible),
|
|
178
|
-
"onUpdate:modelValue": ($event) => vue.isRef(visible) ? visible.value = $event : null,
|
|
179
|
-
"if-shrink": props.ifShrink,
|
|
180
|
-
"if-draggable": props.ifDraggable,
|
|
181
|
-
width: "310px",
|
|
182
|
-
title: vue.unref(title),
|
|
183
|
-
showOperate: false,
|
|
184
|
-
"on-close": vue.unref(onClose),
|
|
185
|
-
onOnMinimized: vue.unref(onMinimized),
|
|
186
|
-
onOnDialogMousedown: vue.unref(onDialogMousedown)
|
|
187
|
-
}, {
|
|
188
|
-
default: vue.withCtx(() => [
|
|
189
|
-
vue.createCommentVNode(` <template #header>
|
|
190
|
-
<div
|
|
191
|
-
class="box-border w-full border-0 border-b border-solid border-background-3 px-4 py-[10px] text-main text-sm font-bold flex justify-between items-center relative"
|
|
192
|
-
>
|
|
193
|
-
<span v-if="form.id">{{ $t('editDepartmentType') }}</span>
|
|
194
|
-
<span v-else>{{ $t('addDepartmentType') }}</span>
|
|
195
|
-
<div class="text-lg absolute right-4 cursor-pointer text-danger-2">
|
|
196
|
-
<HyIcon
|
|
197
|
-
svg-name="layout-dialog-close-v2"
|
|
198
|
-
class="!w-[20px] !h-[20px]"
|
|
199
|
-
@click="onClose"
|
|
200
|
-
/>
|
|
201
|
-
</div>
|
|
202
|
-
</div>
|
|
203
|
-
</template> `),
|
|
204
|
-
vue.createElementVNode("div", { class: "text-main" }, [
|
|
205
|
-
vue.createElementVNode("div", { class: "box-border" }, [
|
|
206
|
-
vue.createElementVNode("div", { class: "overflow-hidden" }, [
|
|
207
|
-
vue.createVNode(vue.unref(elementPlus.ElForm), {
|
|
208
|
-
ref_key: "formRef",
|
|
209
|
-
ref: formRef,
|
|
210
|
-
"label-position": "top",
|
|
211
|
-
model: vue.unref(form),
|
|
212
|
-
rules: vue.unref(rules),
|
|
213
|
-
"label-width": "0px"
|
|
214
|
-
}, {
|
|
215
|
-
default: vue.withCtx(() => [
|
|
216
|
-
vue.createVNode(vue.unref(elementPlus.ElFormItem), { prop: "companyName" }, {
|
|
217
|
-
label: vue.withCtx(() => [
|
|
218
|
-
vue.createElementVNode(
|
|
219
|
-
"span",
|
|
220
|
-
{ class: "form-label" },
|
|
221
|
-
vue.toDisplayString(vue.unref(useLocale.$t)("departmentType.departmentIcon")),
|
|
222
|
-
1
|
|
223
|
-
/* TEXT */
|
|
224
|
-
)
|
|
225
|
-
]),
|
|
226
|
-
default: vue.withCtx(() => [
|
|
227
|
-
vue.createElementVNode("div", { class: "flex flex-row" }, [
|
|
228
|
-
vue.createVNode(vue.unref(elementPlus.ElUpload), {
|
|
229
|
-
class: "w-[80px] flex items-center justify-center",
|
|
230
|
-
accept: ".png,.jpg,.gif",
|
|
231
|
-
"before-upload": vue.unref(beforeAvatarUpload),
|
|
232
|
-
"http-request": vue.unref(handleHttpRequestImg),
|
|
233
|
-
action: "",
|
|
234
|
-
"show-file-list": false
|
|
235
|
-
}, {
|
|
236
|
-
default: vue.withCtx(() => [
|
|
237
|
-
vue.createElementVNode("div", { class: "click-box emptyHead" }, [
|
|
238
|
-
vue.unref(form).icon ? (vue.openBlock(), vue.createBlock(vue.unref(elementPlus.ElImage), {
|
|
239
|
-
key: 0,
|
|
240
|
-
fit: "contain",
|
|
241
|
-
class: "w-[44px] h-[44px]",
|
|
242
|
-
src: vue.unref(form).icon
|
|
243
|
-
}, null, 8, ["src"])) : (vue.openBlock(), vue.createBlock(vue.unref(index$2.HyIcon), {
|
|
244
|
-
key: 1,
|
|
245
|
-
"svg-name": "ops-file-empty-head",
|
|
246
|
-
class: "text-auxiliary !w-[42px] !h-[42px]"
|
|
247
|
-
})),
|
|
248
|
-
vue.createElementVNode(
|
|
249
|
-
"span",
|
|
250
|
-
{ class: "uploadTips text-center" },
|
|
251
|
-
vue.toDisplayString(vue.unref(useLocale.$t)("departmentType.upload")),
|
|
252
|
-
1
|
|
253
|
-
/* TEXT */
|
|
254
|
-
)
|
|
255
|
-
])
|
|
256
|
-
]),
|
|
257
|
-
_: 1
|
|
258
|
-
/* STABLE */
|
|
259
|
-
}, 8, ["before-upload", "http-request"]),
|
|
260
|
-
vue.createElementVNode("div", { class: "flex-grow leading-[20px] text-auxiliary text-xs text-center" }, [
|
|
261
|
-
vue.createElementVNode(
|
|
262
|
-
"div",
|
|
263
|
-
null,
|
|
264
|
-
vue.toDisplayString(vue.unref(useLocale.$t)("departmentType.pleaseUploadDepartmentTypeIcon")),
|
|
265
|
-
1
|
|
266
|
-
/* TEXT */
|
|
267
|
-
),
|
|
268
|
-
vue.createElementVNode(
|
|
269
|
-
"div",
|
|
270
|
-
null,
|
|
271
|
-
vue.toDisplayString(vue.unref(useLocale.$t)("departmentType.iconSize44px")) + "*44px",
|
|
272
|
-
1
|
|
273
|
-
/* TEXT */
|
|
274
|
-
),
|
|
275
|
-
vue.createElementVNode(
|
|
276
|
-
"div",
|
|
277
|
-
null,
|
|
278
|
-
vue.toDisplayString(vue.unref(useLocale.$t)("departmentType.ifNoIconUseTheDefaultIcon")),
|
|
279
|
-
1
|
|
280
|
-
/* TEXT */
|
|
281
|
-
)
|
|
282
|
-
])
|
|
283
|
-
])
|
|
284
|
-
]),
|
|
285
|
-
_: 1
|
|
286
|
-
/* STABLE */
|
|
287
|
-
}),
|
|
288
|
-
vue.createVNode(vue.unref(elementPlus.ElFormItem), { prop: "typeName" }, {
|
|
289
|
-
label: vue.withCtx(() => [
|
|
290
|
-
vue.createElementVNode(
|
|
291
|
-
"span",
|
|
292
|
-
{ class: "form-label" },
|
|
293
|
-
vue.toDisplayString(vue.unref(useLocale.$t)("departmentType.departmentTypeName")),
|
|
294
|
-
1
|
|
295
|
-
/* TEXT */
|
|
296
|
-
)
|
|
297
|
-
]),
|
|
298
|
-
default: vue.withCtx(() => [
|
|
299
|
-
vue.createVNode(_component_el_input, {
|
|
300
|
-
modelValue: vue.unref(form).typeName,
|
|
301
|
-
"onUpdate:modelValue": ($event) => vue.unref(form).typeName = $event,
|
|
302
|
-
placeholder: vue.unref(useLocale.$t)("departmentType.pleaseEnterTheDepartmentTypeName"),
|
|
303
|
-
clearable: ""
|
|
304
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder"])
|
|
305
|
-
]),
|
|
306
|
-
_: 1
|
|
307
|
-
/* STABLE */
|
|
308
|
-
})
|
|
309
|
-
]),
|
|
310
|
-
_: 1
|
|
311
|
-
/* STABLE */
|
|
312
|
-
}, 8, ["model", "rules"])
|
|
313
|
-
]),
|
|
314
|
-
vue.createElementVNode("div", { class: "flex items-center justify-center mt-5" }, [
|
|
315
|
-
vue.createVNode(vue.unref(index$3.HyButton), {
|
|
316
|
-
class: "!min-w-[120px]",
|
|
317
|
-
onClick: vue.unref(onClose)
|
|
318
|
-
}, {
|
|
319
|
-
default: vue.withCtx(() => [
|
|
320
|
-
vue.createTextVNode(
|
|
321
|
-
vue.toDisplayString(vue.unref(useLocale.$t)("departmentType.close")),
|
|
322
|
-
1
|
|
323
|
-
/* TEXT */
|
|
324
|
-
)
|
|
325
|
-
]),
|
|
326
|
-
_: 1
|
|
327
|
-
/* STABLE */
|
|
328
|
-
}, 8, ["onClick"]),
|
|
329
|
-
vue.createVNode(vue.unref(index$3.HyButton), {
|
|
330
|
-
type: "primary",
|
|
331
|
-
class: "!min-w-[120px]",
|
|
332
|
-
onClick: vue.unref(submit)
|
|
333
|
-
}, {
|
|
334
|
-
default: vue.withCtx(() => [
|
|
335
|
-
vue.createTextVNode(
|
|
336
|
-
vue.toDisplayString(vue.unref(useLocale.$t)("departmentType.save")),
|
|
337
|
-
1
|
|
338
|
-
/* TEXT */
|
|
339
|
-
)
|
|
340
|
-
]),
|
|
341
|
-
_: 1
|
|
342
|
-
/* STABLE */
|
|
343
|
-
}, 8, ["onClick"])
|
|
344
|
-
])
|
|
345
|
-
])
|
|
346
|
-
]),
|
|
347
|
-
vue.unref(visible) ? (vue.openBlock(), vue.createBlock(
|
|
348
|
-
vue.unref(index$4.HyCutter),
|
|
349
|
-
{
|
|
350
|
-
key: 0,
|
|
351
|
-
ref_key: "HyCutterRef",
|
|
352
|
-
ref: HyCutterRef,
|
|
353
|
-
"show-upload": false,
|
|
354
|
-
"z-index": 1e4
|
|
355
|
-
},
|
|
356
|
-
null,
|
|
357
|
-
512
|
|
358
|
-
/* NEED_PATCH */
|
|
359
|
-
)) : vue.createCommentVNode("v-if", true)
|
|
360
|
-
]),
|
|
361
|
-
_: 1
|
|
362
|
-
/* STABLE */
|
|
363
|
-
}, 8, ["modelValue", "onUpdate:modelValue", "if-shrink", "if-draggable", "title", "on-close", "onOnMinimized", "onOnDialogMousedown"]);
|
|
364
|
-
};
|
|
365
|
-
}
|
|
366
|
-
});
|
|
367
|
-
import "./style/addDepartmentType.scss?vue&type=style&index=0&src=4cb686f4&scoped=4cb686f4&lang.css";
|
|
368
|
-
|
|
369
|
-
var componnet = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-4cb686f4"]]);
|
|
370
|
-
|
|
371
|
-
exports.default = componnet;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var addDepartmentType = require('./addDepartmentType.vue.js');
|
|
6
|
-
require('../../utils/index.js');
|
|
7
|
-
var handler = require('../../utils/handler.js');
|
|
8
|
-
|
|
9
|
-
const HyAddDepartmentType = handler.withInstall(addDepartmentType.default);
|
|
10
|
-
|
|
11
|
-
exports.HyAddDepartmentType = HyAddDepartmentType;
|
|
12
|
-
exports.default = HyAddDepartmentType;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
.emptyHead {
|
|
2
|
-
color: rgba(var(--hy-auxiliary), 1);
|
|
3
|
-
height: 44px;
|
|
4
|
-
width: 44px;
|
|
5
|
-
background: var(--item-background-main-color);
|
|
6
|
-
box-shadow: 0 0 10px 2px var(--background-auxiliary-color);
|
|
7
|
-
border-radius: 6px;
|
|
8
|
-
border: 1px solid #454b5f;
|
|
9
|
-
position: relative;
|
|
10
|
-
overflow: hidden;
|
|
11
|
-
span.uploadTips {
|
|
12
|
-
color: #fff;
|
|
13
|
-
position: absolute;
|
|
14
|
-
top: 50%;
|
|
15
|
-
left: 50%;
|
|
16
|
-
width: 44px;
|
|
17
|
-
font-size: 12px;
|
|
18
|
-
line-height: 20px;
|
|
19
|
-
transform: translate(-50%, -50%);
|
|
20
|
-
opacity: 0;
|
|
21
|
-
transition: 0.5s;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
.emptyHead:hover {
|
|
25
|
-
img {
|
|
26
|
-
opacity: 0.5;
|
|
27
|
-
}
|
|
28
|
-
span.uploadTips {
|
|
29
|
-
opacity: 1;
|
|
30
|
-
}
|
|
31
|
-
}
|