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