修改文件上传

This commit is contained in:
GGJ
2024-08-20 09:03:43 +08:00
parent e7ba239071
commit 7598821a6d
4 changed files with 137 additions and 2 deletions

View File

@@ -127,7 +127,10 @@ const tableStore = new TableStore({
icon: 'el-icon-Open',
render: 'basicButton',
showDisabled: row => {
return row.city != adminInfo.$state.deptName || !(row.dataType == 1)
return (
(row.city != adminInfo.$state.deptName && row.createBy != adminInfo.$state.id) ||
!(row.dataType == 1)
)
},
click: row => {