已确认过的任务连接器不可编辑和删除
Showing
1 changed file
with
2 additions
and
2 deletions
| ... | @@ -73,7 +73,7 @@ const tableInfo = ref({ | ... | @@ -73,7 +73,7 @@ const tableInfo = ref({ |
| 73 | fixed: 'right', | 73 | fixed: 'right', |
| 74 | btns: (scope) => { | 74 | btns: (scope) => { |
| 75 | return [{ | 75 | return [{ |
| 76 | label: "编辑", value: "edit", click: (scope) => { | 76 | label: "编辑", value: "edit", disabled: scope.row.isConfirm == 'Y', click: (scope) => { |
| 77 | router.push({ | 77 | router.push({ |
| 78 | name: 'anonTaskCreate', | 78 | name: 'anonTaskCreate', |
| 79 | query: { | 79 | query: { |
| ... | @@ -105,7 +105,7 @@ const tableInfo = ref({ | ... | @@ -105,7 +105,7 @@ const tableInfo = ref({ |
| 105 | }); | 105 | }); |
| 106 | } | 106 | } |
| 107 | }, { | 107 | }, { |
| 108 | label: "删除", value: "delete", click: (scope) => { | 108 | label: "删除", value: "delete", disabled: scope.row.isConfirm == 'Y', click: (scope) => { |
| 109 | proxy.$openMessageBox("此操作将永久删除, 是否继续?", () => { | 109 | proxy.$openMessageBox("此操作将永久删除, 是否继续?", () => { |
| 110 | let guids = [scope.row.guid]; | 110 | let guids = [scope.row.guid]; |
| 111 | deleteAnonTask(guids).then((res: any) => { | 111 | deleteAnonTask(guids).then((res: any) => { | ... | ... |
-
Please register or sign in to post a comment