|
|
|
@ -143,9 +143,9 @@ export default {
|
|
|
|
|
],
|
|
|
|
|
//操作列
|
|
|
|
|
tableActions: [
|
|
|
|
|
{ text: '查看', icon: 'el-icon-view', handler: this.handleView, permissions: ['system:notice:edit'] },
|
|
|
|
|
{ text: '修改', icon: 'el-icon-edit', handler: this.handleUpdate, permissions: ['system:notice:edit'],type:'hidden' },
|
|
|
|
|
{ text: '删除', icon: 'el-icon-delete', handler: this.handleDelete, permissions: ['system:notice:remove'],type:'hidden' }
|
|
|
|
|
{ text: '查看', icon: 'el-icon-view', handler: this.handleView,},
|
|
|
|
|
{ text: '修改', icon: 'el-icon-edit', handler: this.handleUpdate, },
|
|
|
|
|
{ text: '删除', icon: 'el-icon-delete', handler: this.handleDelete,}
|
|
|
|
|
],
|
|
|
|
|
//文件上传配置项
|
|
|
|
|
fileData:[
|
|
|
|
@ -218,7 +218,21 @@ export default {
|
|
|
|
|
expanded: false,
|
|
|
|
|
childrenList: [],
|
|
|
|
|
fileCode:'rew_excellent_category_10',
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
name: '盖章后的申报表',
|
|
|
|
|
status: '',
|
|
|
|
|
expanded: false,
|
|
|
|
|
childrenList: [],
|
|
|
|
|
fileCode:'rew_excellent_category_11',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
name: '综述材料',
|
|
|
|
|
status: '',
|
|
|
|
|
expanded: false,
|
|
|
|
|
childrenList: [],
|
|
|
|
|
fileCode:'rew_excellent_category_12',
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
],
|
|
|
|
|
// 遮罩层
|
|
|
|
@ -376,16 +390,13 @@ export default {
|
|
|
|
|
this.form.isReward = response.data.isReward;
|
|
|
|
|
this.editOpen = true;
|
|
|
|
|
this.title = "修改奖项";
|
|
|
|
|
});
|
|
|
|
|
this.getFileList(row.applyId)
|
|
|
|
|
},
|
|
|
|
|
getFileList(applyId){
|
|
|
|
|
listFile(applyId).then((res) => {
|
|
|
|
|
if (res.code === 200) {
|
|
|
|
|
res.data.forEach((item) => {
|
|
|
|
|
this.fileData.forEach((item)=>{
|
|
|
|
|
item.childrenList = []
|
|
|
|
|
})
|
|
|
|
|
if (response.code === 200) {
|
|
|
|
|
response.data.fileRelationVOList.forEach((item) => {
|
|
|
|
|
let index = this.fileData.findIndex(i => i.fileCode === item.fileCode);
|
|
|
|
|
if (index !== -1) {
|
|
|
|
|
this.fileData[index].childrenList = []
|
|
|
|
|
this.fileData[index].childrenList.push({
|
|
|
|
|
name: item.fileName,
|
|
|
|
|
url: item.filePath,
|
|
|
|
@ -397,7 +408,7 @@ export default {
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
/** 提交按钮 */
|
|
|
|
|
submitForm: function() {
|
|
|
|
|