|
@@ -27,6 +27,10 @@
|
|
@current-change="dataList"
|
|
@current-change="dataList"
|
|
@selection-change="selectionChange"
|
|
@selection-change="selectionChange"
|
|
>
|
|
>
|
|
|
|
+ <template #fileUrl-form="scope">
|
|
|
|
+ <single-upload v-model="form.fileUrl" />
|
|
|
|
+ {{ form }}
|
|
|
|
+ </template>
|
|
<template #menu-left="{ size }">
|
|
<template #menu-left="{ size }">
|
|
<el-button
|
|
<el-button
|
|
:disabled="toDeleteIds.length < 1"
|
|
:disabled="toDeleteIds.length < 1"
|
|
@@ -76,6 +80,7 @@ import { useCrud } from "@/hooks/userCrud";
|
|
import dictDataUtil from "@/common/configs/dictDataUtil";
|
|
import dictDataUtil from "@/common/configs/dictDataUtil";
|
|
import ButtonPermKeys from "@/common/configs/buttonPermission";
|
|
import ButtonPermKeys from "@/common/configs/buttonPermission";
|
|
import { useCommonStoreHook, useDictionaryStoreHook } from "@/store";
|
|
import { useCommonStoreHook, useDictionaryStoreHook } from "@/store";
|
|
|
|
+import SingleUpload from "@/components/Upload/SingleUpload.vue";
|
|
|
|
|
|
// 数据字典相关
|
|
// 数据字典相关
|
|
const { dicts } = useDictionaryStoreHook();
|
|
const { dicts } = useDictionaryStoreHook();
|
|
@@ -196,6 +201,12 @@ option.value = Object.assign(option.value, {
|
|
],
|
|
],
|
|
value: 0,
|
|
value: 0,
|
|
},
|
|
},
|
|
|
|
+ {
|
|
|
|
+ label: "附件上传",
|
|
|
|
+ prop: "fileUrl",
|
|
|
|
+ span: 24,
|
|
|
|
+ slot: true,
|
|
|
|
+ },
|
|
],
|
|
],
|
|
});
|
|
});
|
|
</script>
|
|
</script>
|