inl-ui 0.0.21 → 0.0.23
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/index.js
CHANGED
|
@@ -18,7 +18,7 @@ import { ColorPicker } from 'vue-color-kit';
|
|
|
18
18
|
import 'vue-color-kit/dist/vue-color-kit.css';
|
|
19
19
|
import 'inl-card/dist/style.css';
|
|
20
20
|
|
|
21
|
-
var version = "0.0.
|
|
21
|
+
var version = "0.0.23";
|
|
22
22
|
|
|
23
23
|
const config$1 = {
|
|
24
24
|
prefix: "inl"
|
|
@@ -13196,6 +13196,7 @@ const BatchImportModal = defineComponent({
|
|
|
13196
13196
|
emit
|
|
13197
13197
|
}) {
|
|
13198
13198
|
const isVisible = useVModel$1(props, "visible", emit);
|
|
13199
|
+
const templateFileName = ref("");
|
|
13199
13200
|
const isLoading = ref(false);
|
|
13200
13201
|
const fileList = ref([]);
|
|
13201
13202
|
const handleUpload = async () => {
|
|
@@ -13211,12 +13212,16 @@ const BatchImportModal = defineComponent({
|
|
|
13211
13212
|
if (!val) {
|
|
13212
13213
|
fileList.value = [];
|
|
13213
13214
|
isLoading.value = false;
|
|
13215
|
+
} else {
|
|
13216
|
+
const day = dayjs();
|
|
13217
|
+
templateFileName.value = `批量导入成员_${day.format("YYYY_M_D_HHmm")}`;
|
|
13214
13218
|
}
|
|
13215
13219
|
});
|
|
13216
13220
|
return () => createVNode("div", {
|
|
13217
13221
|
"class": "batchImportModal"
|
|
13218
13222
|
}, [createVNode(resolveComponent("a-modal"), {
|
|
13219
13223
|
"title": "批量导入",
|
|
13224
|
+
"width": 800,
|
|
13220
13225
|
"visible": isVisible.value,
|
|
13221
13226
|
"onUpdate:visible": $event => isVisible.value = $event
|
|
13222
13227
|
}, {
|
|
@@ -13235,8 +13240,9 @@ const BatchImportModal = defineComponent({
|
|
|
13235
13240
|
}
|
|
13236
13241
|
}, [createTextVNode("\u8BF7\u5148\u4E0B\u8F7D\u6A21\u7248\u5E76\u6309\u8981\u6C42\u586B\u5199\u4FE1\u606F\uFF0C\u5426\u5219\u53EF\u80FD\u5BFC\u5165\u5931\u8D25")]), createVNode("a", {
|
|
13237
13242
|
"target": "_BLANK",
|
|
13238
|
-
"href": "/api/common/v1/employee/export/template"
|
|
13239
|
-
|
|
13243
|
+
"href": "/api/common/v1/employee/export/template",
|
|
13244
|
+
"download": templateFileName.value
|
|
13245
|
+
}, [templateFileName.value])])
|
|
13240
13246
|
}), createVNode(resolveComponent("a-upload-dragger"), {
|
|
13241
13247
|
"style": {
|
|
13242
13248
|
margin: "16px 0"
|
|
@@ -13396,7 +13402,7 @@ const EmployeeTable = defineComponent({
|
|
|
13396
13402
|
const day = dayjs();
|
|
13397
13403
|
const aEl = document.createElement("a");
|
|
13398
13404
|
aEl.href = "/api/common/v1/employee/export/multi";
|
|
13399
|
-
aEl.download = `批量导出成员_${day.format("
|
|
13405
|
+
aEl.download = `批量导出成员_${day.format("YYYY_M_D_HHmm")}`;
|
|
13400
13406
|
aEl.click();
|
|
13401
13407
|
};
|
|
13402
13408
|
return () => createVNode("div", {
|
|
@@ -13418,7 +13424,11 @@ const EmployeeTable = defineComponent({
|
|
|
13418
13424
|
"disabled": !selectIdList.value.length,
|
|
13419
13425
|
"onClick": handleExport
|
|
13420
13426
|
}, {
|
|
13421
|
-
default: () => [createTextVNode("\
|
|
13427
|
+
default: () => [createTextVNode("\u5BFC\u51FA\u9009\u4E2D")]
|
|
13428
|
+
}), createVNode(resolveComponent("a-button"), {
|
|
13429
|
+
"onClick": handleExport
|
|
13430
|
+
}, {
|
|
13431
|
+
default: () => [createTextVNode("\u5BFC\u51FA\u5168\u90E8")]
|
|
13422
13432
|
})]
|
|
13423
13433
|
}), createVNode(resolveComponent("a-input"), {
|
|
13424
13434
|
"style": {
|