From 1a1654bbd7d91df6cf4864986748e0940907c8eb Mon Sep 17 00:00:00 2001
From: yz3456 <2753272399@qq.com>
Date: 星期六, 06 四月 2024 16:07:33 +0800
Subject: [PATCH] 修改了241之前的新bug
---
ruoyi-ui/src/views/note/memo.vue | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/ruoyi-ui/src/views/note/memo.vue b/ruoyi-ui/src/views/note/memo.vue
index 5dd578a..3b19f64 100644
--- a/ruoyi-ui/src/views/note/memo.vue
+++ b/ruoyi-ui/src/views/note/memo.vue
@@ -50,6 +50,7 @@
v-model='formDat.happenTime'
type='date'
placeholder='閫夋嫨鏃ユ湡'
+ value-format="yyyy-MM-dd"
></el-date-picker>
</el-form-item>
@@ -130,7 +131,10 @@
// 鏃ユ湡鑼冨洿
dateRange: [],
// 鏁版嵁鑼冨洿閫夐」
- fot:[".jpg",".jif"],
+ // 鏁版嵁鑼冨洿閫夐」
+ fot:['.bmp','.jpg','.jpeg','.png','.tif','.gif','.pcx','.tga','.exif','.fpx',
+ '.svg','.psd','.cdr','.pcd','.dxf','.ufo','.eps','.ai','.aw','.WMF','.webp','.apng'],
+
fileList:[
],
fileListOther:[
@@ -202,6 +206,7 @@
//涓汉鑷紶鐨勪繚瀛�
submitDataScope6: function() {
+
const cid = this.$route.params && this.$route.params.id;
const fid =2007;
this.formDat.fid = 2007;
@@ -229,6 +234,8 @@
});
} else {
// 鎵ц鏂板鎿嶄綔
+ console.log(this.formDat)
+
addNote(this.formDat).then(response => {
// this.formDat.term = selectedOption.label;
this.$modal.msgSuccess("鏂板鎴愬姛");
@@ -480,7 +487,7 @@
var formData = new FormData();
formData.append('excelImport', file);
let _this = this
- alert(file)
+
enload(formData).then(response => {
_this.getList();
Message({ message: "瀵煎叆鎴愬姛", type: 'warning' })
--
Gitblit v1.9.1