e43f5a55 by lihua

已确认过的任务连接器不可编辑和删除

1 parent e524b3de
...@@ -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) => {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!