From 2af4ec653879425abc5873febae74b7bbf9a07e0 Mon Sep 17 00:00:00 2001 From: yuxc <yuxc@vci-tech.com> Date: 星期五, 20 九月 2024 16:13:10 +0800 Subject: [PATCH] 1、新增日期保存期限接口。 2、新增保存期限设置接口。 3、新增删除日志接口。 4、新增日志查询接口。 5、新增获取操作用户接口。 --- Source/plt-web/plt-web-ui/src/components/PLT-basic-component/upload-file.vue | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Source/plt-web/plt-web-ui/src/components/PLT-basic-component/upload-file.vue b/Source/plt-web/plt-web-ui/src/components/PLT-basic-component/upload-file.vue index 3c3da9d..7e23662 100644 --- a/Source/plt-web/plt-web-ui/src/components/PLT-basic-component/upload-file.vue +++ b/Source/plt-web/plt-web-ui/src/components/PLT-basic-component/upload-file.vue @@ -2,7 +2,6 @@ <el-dialog v-dialogDrag :close-on-click-modal="false" - :destroy-on-close="true" :title="title" :visible.sync="visible" width="40%" @@ -23,6 +22,7 @@ </ul> <Divider left="30px" text="閫夋嫨鏂囦欢鍚庝細鑷姩涓婁紶"></Divider> <el-upload + :name="fileName" :action="fileUrl" :before-upload="beforeUpload" :data="fileData" @@ -52,6 +52,10 @@ fileType: { type: Array, default: () => [] + }, + fileName: { + type: String, + default: () => "file" }, // 瀵硅瘽妗嗗ご閮ㄥ悕绉� title: { @@ -121,11 +125,10 @@ }, // 鏂囦欢涓婁紶鎴愬姛 onSuccess(resbonse) { - console.log(resbonse); if (resbonse.code === 200) { this.$message.success("瀵煎叆鎴愬姛锛�"); this.visible = false; - this.$emit('updata'); + this.$emit('updata',resbonse); } else { this.$message.error(resbonse.msg); } -- Gitblit v1.9.3