按钮控制
Showing
1 changed file
with
2 additions
and
2 deletions
| ... | @@ -79,7 +79,7 @@ const tableInfo = ref({ | ... | @@ -79,7 +79,7 @@ const tableInfo = ref({ |
| 79 | fixed: 'right', | 79 | fixed: 'right', |
| 80 | btns: (scope) => { | 80 | btns: (scope) => { |
| 81 | return [{ | 81 | return [{ |
| 82 | label: "编辑", value: "edit", disabled: !isDataProvider && scope.row.dataOwnership == '1', click: (scope) => { | 82 | label: "编辑", value: "edit", disabled: !isDataProvider.value && scope.row.dataOwnership == '1', click: (scope) => { |
| 83 | router.push({ | 83 | router.push({ |
| 84 | name: 'anonTaskCreate', | 84 | name: 'anonTaskCreate', |
| 85 | query: { | 85 | query: { |
| ... | @@ -111,7 +111,7 @@ const tableInfo = ref({ | ... | @@ -111,7 +111,7 @@ const tableInfo = ref({ |
| 111 | }); | 111 | }); |
| 112 | } | 112 | } |
| 113 | }, { | 113 | }, { |
| 114 | label: "删除", value: "delete", disabled: !isDataProvider && scope.row.dataOwnership == '1', click: (scope) => { | 114 | label: "删除", value: "delete", disabled: !isDataProvider.value && scope.row.dataOwnership == '1', click: (scope) => { |
| 115 | proxy.$openMessageBox("此操作将永久删除, 是否继续?", () => { | 115 | proxy.$openMessageBox("此操作将永久删除, 是否继续?", () => { |
| 116 | let guids = [scope.row.guid]; | 116 | let guids = [scope.row.guid]; |
| 117 | deleteAnonTask(guids).then((res: any) => { | 117 | deleteAnonTask(guids).then((res: any) => { | ... | ... |
-
Please register or sign in to post a comment