档案管理

This commit is contained in:
cwchen 2025-09-17 17:07:50 +08:00
parent ce3607ec08
commit dee3cf77e6
1 changed files with 8 additions and 6 deletions

View File

@ -7,9 +7,9 @@
<el-form-item label="所属案卷">
<el-input type="textarea" class="form-item" :value="belongName" :disabled="true"></el-input>
</el-form-item>
<el-form-item label="文件题名" prop="contentName">
<el-form-item label="档案名称" prop="contentName">
<el-input type="textarea" class="form-item" v-model="form.contentName" clearable show-word-limit
placeholder="请输入文件题名" maxlength="64" :disabled="detailStatus"></el-input>
placeholder="请输入档案名称" maxlength="64" :disabled="detailStatus"></el-input>
</el-form-item>
<el-form-item label="案卷期限" prop="term">
<el-input class="form-item" v-model="form.term" clearable show-word-limit placeholder="请输入案卷期限"
@ -51,7 +51,7 @@
:http-request="customUpload">
<el-button size="small" type="primary" icon="el-icon-upload" :disabled="fileList.length > 0">选择文件</el-button>
<div slot="tip" class="el-upload__tip">
<span>
<span style="color: #f00;">
只能上传PDF和图片文件且不超过{{maxFileTips}}
</span>
</div>
@ -101,7 +101,7 @@ export default {
maxFileTips: '10MB',
rules: {
contentName: [
{ required: true, message: '文件题名不能为空', trigger: 'blur' }
{ required: true, message: '档案名称不能为空', trigger: 'blur' }
],
fileList: [
{ validator: (rule, value, callback) => {
@ -188,7 +188,8 @@ export default {
markCode: this.rowData.markCode || null,
classifyMark: this.rowData.classifyMark || null,
parentId: this.rowData.parentId || null,
level: 5
level: 5,
proId:this.projectId
};
} else {
//
@ -200,7 +201,8 @@ export default {
markCode: null,
classifyMark: null,
parentId: this.rowData.id || null,
level: 5
level: 5,
proId:this.projectId
};
}
},