From 12c6f51d841e80bab7089725e63a034dbe6a294f Mon Sep 17 00:00:00 2001
From: fei <791364011@qq.com>
Date: 星期日, 11 一月 2026 21:57:45 +0800
Subject: [PATCH] 修改了代码
---
src/views/archiveManager/archiveMaterial/index.vue | 32 +++++++++++++++++---------------
1 files changed, 17 insertions(+), 15 deletions(-)
diff --git a/src/views/archiveManager/archiveMaterial/index.vue b/src/views/archiveManager/archiveMaterial/index.vue
index 79fd6da..fa1d883 100644
--- a/src/views/archiveManager/archiveMaterial/index.vue
+++ b/src/views/archiveManager/archiveMaterial/index.vue
@@ -19,7 +19,9 @@
<div class="title-search-wrapper">
<el-input
type="textarea"
- rows="1"
+ rows="2"
+ v-auto-height="{ minRows: 2, maxRows: 10 }"
+
v-model="form.creator"
placeholder="璇疯緭鍏ヨ矗浠昏��"
@input="handleCreatorInput"
@@ -51,7 +53,7 @@
<div class="title-search-wrapper">
<el-input
type="textarea"
- rows="1"
+ rows="2"
v-model="form.title"
placeholder="璇疯緭鍏ユ枃浠堕鍚�"
@input="handleTitleInput"
@@ -1037,7 +1039,7 @@
//alert(this.totalPageCount)
//alert(recordId)
this.recordId = recordId;
- this.uploadUrl = process.env.VUE_APP_BASE_API +'/system/materials/upload/'+this.recordId
+ this.uploadUrl = process.env.VUE_APP_BASE_API +'/system/materials/uploads/'+this.recordId
// alert('Bearer ' + getToken())
this.reset()
this.form.securityLevel = '鏅��' // 璁剧疆瀵硅瘽妗嗚〃鍗曢粯璁ゅ��
@@ -1094,10 +1096,10 @@
// 鎵撳紑瀵煎叆瀵硅瘽妗�
handleImport() {
//鐢熸垚鏂扮殑璁板綍
- insertFile(this.recordId, this.totalPageCount).then(response => {
- console.log(response)
- // alert(3245)
- })
+ // insertFile(this.recordId, this.totalPageCount).then(response => {
+ // console.log(response)
+ // // alert(3245)
+ // })
this.importDialogVisible = true
},
// 鏂囦欢绉婚櫎
@@ -1129,12 +1131,12 @@
// var res = response.data.res
// console.log(res)
//alert(response.data.total)
- if(fileCount!=this.totalPageCount)
- {
- this.$modal.msgWarning('璇烽�夋嫨涓庤褰曟暟涓�鑷寸殑鏂囦欢')
- return
- }
- else
+ // if(fileCount!=this.totalPageCount)
+ // {
+ // this.$modal.msgWarning('璇烽�夋嫨涓庤褰曟暟涓�鑷寸殑鏂囦欢')
+ // return
+ // }
+ // else
{
// 鍒濆鍖栦笂浼犵姸鎬佽鏁�
this.uploadSuccessCount = 0;
@@ -1142,7 +1144,7 @@
this.totalUploadFiles = fileCount;
// 鎵ц涓婁紶
this.$refs.upload.submit()
- this.getList()
+ // this.getList()
}
// else
// {
@@ -1641,7 +1643,7 @@
//淇敼妗堝嵎鐨勭姸鎬�
// var id = row.id
var status = '鏈笂浼犻檮浠�'
- updateStatusById(status, recordId).then(response=>{
+ updateStatusById(status, recordId, '閫�鍥炵鐞嗗憳').then(response=>{
// this.$modal.msgSuccess("鎻愪氦鎴愬姛")
// this.getList()
_this.$store.dispatch('tagsView/delView', this.$route);
--
Gitblit v1.9.1