Explorar o código

fix: 调整拒绝原因的最大长度限制为200字符

yz hai 2 semanas
pai
achega
06a26a8239
Modificáronse 1 ficheiros con 10 adicións e 10 borrados
  1. 10 10
      src/views/image-store-apply/mixins/imageStoreApplyIndex.js

+ 10 - 10
src/views/image-store-apply/mixins/imageStoreApplyIndex.js

@@ -74,7 +74,7 @@ export default {
       rejectRules: {
         auditRemark: [
           { required: true, message: '请输入拒绝原因', trigger: 'blur' },
-          { min: 5, max: 500, message: '拒绝原因长度在5到500个字符', trigger: 'blur' }
+          { min: 5, max: 200, message: '拒绝原因长度在5到200个字符', trigger: 'blur' }
         ]
       },
 
@@ -324,16 +324,16 @@ export default {
     async handleView(row) {
       try {
         this.loading = true
-        
+
         // 获取详情数据
         const detailRes = await getDetail(row.id)
         if (detailRes.data.success) {
           this.detailData = detailRes.data.data
           this.qualificationList = detailRes.data.data.qualificationList || []
-          
+
           // 获取附件列表
           await this.loadAttachmentList(row.id)
-          
+
           this.detailVisible = true
         } else {
           this.$message.error(detailRes.data.msg || '获取详情失败')
@@ -464,7 +464,7 @@ export default {
         const res = await update(params)
         if (res.data.success) {
           this.$message.success('审核操作成功')
-          
+
           // 更新列表数据
           const index = this.data.findIndex(item => item.id === row.id)
           if (index !== -1) {
@@ -472,7 +472,7 @@ export default {
             this.data[index].auditRemark = auditRemark
             this.data[index].auditTime = new Date().toLocaleString()
           }
-          
+
           // 如果详情对话框打开,也更新详情数据
           if (this.detailVisible && this.detailData && this.detailData.id === row.id) {
             this.detailData.auditStatus = auditStatus
@@ -499,7 +499,7 @@ export default {
         this.$message.warning('文件链接不存在')
         return
       }
-      
+
       this.previewUrl = row.fileUrl
       this.previewVisible = true
     },
@@ -513,7 +513,7 @@ export default {
         this.$message.warning('文件链接不存在')
         return
       }
-      
+
       // 创建下载链接
       const link = document.createElement('a')
       link.href = row.fileUrl
@@ -599,7 +599,7 @@ export default {
     async onLoad(page, params = {}) {
       try {
         this.loading = true
-        
+
         const queryParams = {
           ...params,
           current: page.currentPage,
@@ -625,4 +625,4 @@ export default {
       }
     }
   }
-}
+}