Merge remote-tracking branch 'origin/1212-八项作业迁移' into 1212-八项作业迁移

pull/9/head
liujun 2023-12-27 15:14:26 +08:00
commit 883be5690d
4 changed files with 28 additions and 8 deletions

View File

@ -72,7 +72,7 @@
<el-form-item label="文件名" prop="NAME"> <el-form-item label="文件名" prop="NAME">
<el-input v-model="form.NAME" placeholder="这里输入名称..." /> <el-input v-model="form.NAME" placeholder="这里输入名称..." />
</el-form-item> </el-form-item>
<el-form-item label="附件"> <el-form-item label="附件" prop="FILE">
<el-upload <el-upload
ref="upload" ref="upload"
:on-preview="handlePictureCardPreview" :on-preview="handlePictureCardPreview"
@ -131,7 +131,8 @@ export default {
FFILE: [] FFILE: []
}, },
rules: { rules: {
NAME: [{ required: true, message: '名称不能为空', trigger: 'blur' }] NAME: [{ required: true, message: '名称不能为空', trigger: 'blur' }],
FILE: [{ required: true, message: '附件不能为空', trigger: 'blur' }]
} }
} }
}, },
@ -302,6 +303,10 @@ export default {
this.varList = [] this.varList = []
this.listQuery.page = 1 this.listQuery.page = 1
this.$refs.multipleTable.clearSelection() this.$refs.multipleTable.clearSelection()
this.$message({
message: '批量删除成功',
type: 'success'
})
this.getList() this.getList()
}).catch((e) => { }).catch((e) => {
this.listLoading = false this.listLoading = false

View File

@ -72,7 +72,7 @@
<el-form-item label="文件名" prop="NAME"> <el-form-item label="文件名" prop="NAME">
<el-input v-model="form.NAME" placeholder="这里输入名称..." /> <el-input v-model="form.NAME" placeholder="这里输入名称..." />
</el-form-item> </el-form-item>
<el-form-item label="附件"> <el-form-item label="附件" prop="FILE">
<el-upload <el-upload
ref="upload" ref="upload"
:on-preview="handlePictureCardPreview" :on-preview="handlePictureCardPreview"
@ -131,7 +131,8 @@ export default {
FFILE: [] FFILE: []
}, },
rules: { rules: {
NAME: [{ required: true, message: '名称不能为空', trigger: 'blur' }] NAME: [{ required: true, message: '名称不能为空', trigger: 'blur' }],
FILE: [{ required: true, message: '附件不能为空', trigger: 'blur' }]
} }
} }
}, },
@ -305,6 +306,10 @@ export default {
this.varList = [] this.varList = []
this.listQuery.page = 1 this.listQuery.page = 1
this.$refs.multipleTable.clearSelection() this.$refs.multipleTable.clearSelection()
this.$message({
message: '批量删除成功',
type: 'success'
})
this.getList() this.getList()
}).catch((e) => { }).catch((e) => {
this.listLoading = false this.listLoading = false

View File

@ -72,7 +72,7 @@
<el-form-item label="文件名" prop="NAME"> <el-form-item label="文件名" prop="NAME">
<el-input v-model="form.NAME" placeholder="这里输入名称..." /> <el-input v-model="form.NAME" placeholder="这里输入名称..." />
</el-form-item> </el-form-item>
<el-form-item label="附件"> <el-form-item label="附件" prop="FILE">
<el-upload <el-upload
ref="upload" ref="upload"
:on-preview="handlePictureCardPreview" :on-preview="handlePictureCardPreview"
@ -131,7 +131,8 @@ export default {
FFILE: [] FFILE: []
}, },
rules: { rules: {
NAME: [{ required: true, message: '名称不能为空', trigger: 'blur' }] NAME: [{ required: true, message: '名称不能为空', trigger: 'blur' }],
FILE: [{ required: true, message: '附件不能为空', trigger: 'blur' }]
} }
} }
}, },
@ -305,6 +306,10 @@ export default {
this.varList = [] this.varList = []
this.listQuery.page = 1 this.listQuery.page = 1
this.$refs.multipleTable.clearSelection() this.$refs.multipleTable.clearSelection()
this.$message({
message: '批量删除成功',
type: 'success'
})
this.getList() this.getList()
}).catch((e) => { }).catch((e) => {
this.listLoading = false this.listLoading = false

View File

@ -72,7 +72,7 @@
<el-form-item label="文件名" prop="NAME"> <el-form-item label="文件名" prop="NAME">
<el-input v-model="form.NAME" placeholder="这里输入名称..." /> <el-input v-model="form.NAME" placeholder="这里输入名称..." />
</el-form-item> </el-form-item>
<el-form-item label="附件"> <el-form-item label="附件" prop="FILE">
<el-upload <el-upload
ref="upload" ref="upload"
:on-preview="handlePictureCardPreview" :on-preview="handlePictureCardPreview"
@ -131,7 +131,8 @@ export default {
FFILE: [] FFILE: []
}, },
rules: { rules: {
NAME: [{ required: true, message: '名称不能为空', trigger: 'blur' }] NAME: [{ required: true, message: '名称不能为空', trigger: 'blur' }],
FILE: [{ required: true, message: '附件不能为空', trigger: 'blur' }]
} }
} }
}, },
@ -305,6 +306,10 @@ export default {
this.varList = [] this.varList = []
this.listQuery.page = 1 this.listQuery.page = 1
this.$refs.multipleTable.clearSelection() this.$refs.multipleTable.clearSelection()
this.$message({
message: '批量删除成功',
type: 'success'
})
this.getList() this.getList()
}).catch((e) => { }).catch((e) => {
this.listLoading = false this.listLoading = false