e43f5a55 by lihua

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

1 parent e524b3de
......@@ -73,7 +73,7 @@ const tableInfo = ref({
fixed: 'right',
btns: (scope) => {
return [{
label: "编辑", value: "edit", click: (scope) => {
label: "编辑", value: "edit", disabled: scope.row.isConfirm == 'Y', click: (scope) => {
router.push({
name: 'anonTaskCreate',
query: {
......@@ -105,7 +105,7 @@ const tableInfo = ref({
});
}
}, {
label: "删除", value: "delete", click: (scope) => {
label: "删除", value: "delete", disabled: scope.row.isConfirm == 'Y', click: (scope) => {
proxy.$openMessageBox("此操作将永久删除, 是否继续?", () => {
let guids = [scope.row.guid];
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!