uiActionId
This commit is contained in:
1 parent
1362008dcd
commit
e2c5bb996b
8 files changed
+24
-24
No files matched your search
@@ -166,8 +166,8 @@
|
||||
},
|
||||
mounted() { },
|
||||
methods: {
|
||||
async doUiAction(actionId, actionData) {
|
||||
switch (actionId) {
|
||||
async doUiAction(uiActionId, actionData) {
|
||||
switch (uiActionId) {
|
||||
case 'refreshTableData':
|
||||
await this.refreshTableData(actionData);
|
||||
break;
|
||||
@@ -182,7 +182,7 @@
|
||||
await this.closeDrawerShow(actionData);
|
||||
break;
|
||||
default:
|
||||
console.error("[doAction] actionId not find", { actionId });
|
||||
console.error("[doAction] uiActionId not find", { uiActionId });
|
||||
break;
|
||||
}
|
||||
},
|
||||
|
||||
@@ -196,14 +196,14 @@ new Vue({
|
||||
mounted() {
|
||||
},
|
||||
methods: {
|
||||
async doUiAction(actionId, actionData) {
|
||||
switch (actionId) {
|
||||
async doUiAction(uiActionId, actionData) {
|
||||
switch (uiActionId) {
|
||||
case 'submitNode':
|
||||
await this.submitNode(actionData);
|
||||
await this.getTaskHistoryList(actionData);
|
||||
break;
|
||||
default:
|
||||
console.error("[doUiAction] actionId not find", { actionId });
|
||||
console.error("[doUiAction] uiActionId not find", { uiActionId });
|
||||
break;
|
||||
}
|
||||
},
|
||||
|
||||
@@ -93,8 +93,8 @@ new Vue({
|
||||
mounted() {
|
||||
},
|
||||
methods: {
|
||||
async doUiAction(actionId, actionData) {
|
||||
switch (actionId) {
|
||||
async doUiAction(uiActionId, actionData) {
|
||||
switch (uiActionId) {
|
||||
case 'refreshTableData':
|
||||
await this.refreshTableData(actionData);
|
||||
break;
|
||||
@@ -102,7 +102,7 @@ new Vue({
|
||||
await this.toTaskHistory(actionData);
|
||||
break;
|
||||
default:
|
||||
console.error("[doAction] actionId not find", { actionId });
|
||||
console.error("[doAction] uiActionId not find", { uiActionId });
|
||||
break;
|
||||
}
|
||||
},
|
||||
|
||||
@@ -113,8 +113,8 @@ new Vue({
|
||||
mounted() {
|
||||
},
|
||||
methods: {
|
||||
async doUiAction(actionId, actionData) {
|
||||
switch (actionId) {
|
||||
async doUiAction(uiActionId, actionData) {
|
||||
switch (uiActionId) {
|
||||
case 'refreshTableData':
|
||||
await this.refreshTableData(actionData);
|
||||
break;
|
||||
@@ -127,7 +127,7 @@ new Vue({
|
||||
await this.toTaskHistory(actionData);
|
||||
break;
|
||||
default:
|
||||
console.error("[doUiAction] actionId not find", { actionId });
|
||||
console.error("[doUiAction] uiActionId not find", { uiActionId });
|
||||
break;
|
||||
}
|
||||
},
|
||||
|
||||
@@ -94,8 +94,8 @@ new Vue({
|
||||
mounted() {
|
||||
},
|
||||
methods: {
|
||||
async doUiAction(actionId, actionData) {
|
||||
switch (actionId) {
|
||||
async doUiAction(uiActionId, actionData) {
|
||||
switch (uiActionId) {
|
||||
case 'refreshTableData':
|
||||
await this.refreshTableData(actionData);
|
||||
break;
|
||||
@@ -103,7 +103,7 @@ new Vue({
|
||||
await this.toTaskHistory(actionData);
|
||||
break;
|
||||
default:
|
||||
console.error("[doUiAction] actionId not find", { actionId });
|
||||
console.error("[doUiAction] uiActionId not find", { uiActionId });
|
||||
break;
|
||||
}
|
||||
},
|
||||
|
||||
@@ -96,8 +96,8 @@ new Vue({
|
||||
mounted() {
|
||||
},
|
||||
methods: {
|
||||
async doUiAction(actionId, actionData) {
|
||||
switch (actionId) {
|
||||
async doUiAction(uiActionId, actionData) {
|
||||
switch (uiActionId) {
|
||||
case 'refreshTableData':
|
||||
await this.refreshTableData(actionData);
|
||||
break;
|
||||
@@ -105,7 +105,7 @@ new Vue({
|
||||
await this.toTaskHistory(actionData);
|
||||
break;
|
||||
default:
|
||||
console.error("[doAction] actionId not find", { actionId });
|
||||
console.error("[doAction] uiActionId not find", { uiActionId });
|
||||
break;
|
||||
}
|
||||
},
|
||||
|
||||
@@ -166,8 +166,8 @@ new Vue({
|
||||
mounted() {
|
||||
},
|
||||
methods: {
|
||||
async doUiAction(actionId, actionData) {
|
||||
switch (actionId) {
|
||||
async doUiAction(uiActionId, actionData) {
|
||||
switch (uiActionId) {
|
||||
case 'createItem':
|
||||
await this.confirmCreateItemDialog(actionData);
|
||||
await this.doCreateItem(actionData);
|
||||
@@ -177,7 +177,7 @@ new Vue({
|
||||
await this.doUpdateItem(actionData);
|
||||
break;
|
||||
default:
|
||||
console.error("[doUiAction] actionId not find", { actionId });
|
||||
console.error("[doUiAction] uiActionId not find", { uiActionId });
|
||||
break;
|
||||
}
|
||||
},
|
||||
|
||||
@@ -101,8 +101,8 @@ new Vue({
|
||||
mounted() {
|
||||
},
|
||||
methods: {
|
||||
async doUiAction(actionId, actionData) {
|
||||
switch (actionId) {
|
||||
async doUiAction(uiActionId, actionData) {
|
||||
switch (uiActionId) {
|
||||
case 'refreshTableData':
|
||||
await this.refreshTableData(actionData);
|
||||
break;
|
||||
@@ -120,7 +120,7 @@ new Vue({
|
||||
await this.refreshTableData(actionData);
|
||||
break;
|
||||
default:
|
||||
console.error("[doUiAction] actionId not find", { actionId });
|
||||
console.error("[doUiAction] uiActionId not find", { uiActionId });
|
||||
break;
|
||||
}
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user