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() { },
|
mounted() { },
|
||||||
methods: {
|
methods: {
|
||||||
async doUiAction(actionId, actionData) {
|
async doUiAction(uiActionId, actionData) {
|
||||||
switch (actionId) {
|
switch (uiActionId) {
|
||||||
case 'refreshTableData':
|
case 'refreshTableData':
|
||||||
await this.refreshTableData(actionData);
|
await this.refreshTableData(actionData);
|
||||||
break;
|
break;
|
||||||
@@ -182,7 +182,7 @@
|
|||||||
await this.closeDrawerShow(actionData);
|
await this.closeDrawerShow(actionData);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
console.error("[doAction] actionId not find", { actionId });
|
console.error("[doAction] uiActionId not find", { uiActionId });
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -196,14 +196,14 @@ new Vue({
|
|||||||
mounted() {
|
mounted() {
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
async doUiAction(actionId, actionData) {
|
async doUiAction(uiActionId, actionData) {
|
||||||
switch (actionId) {
|
switch (uiActionId) {
|
||||||
case 'submitNode':
|
case 'submitNode':
|
||||||
await this.submitNode(actionData);
|
await this.submitNode(actionData);
|
||||||
await this.getTaskHistoryList(actionData);
|
await this.getTaskHistoryList(actionData);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
console.error("[doUiAction] actionId not find", { actionId });
|
console.error("[doUiAction] uiActionId not find", { uiActionId });
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -93,8 +93,8 @@ new Vue({
|
|||||||
mounted() {
|
mounted() {
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
async doUiAction(actionId, actionData) {
|
async doUiAction(uiActionId, actionData) {
|
||||||
switch (actionId) {
|
switch (uiActionId) {
|
||||||
case 'refreshTableData':
|
case 'refreshTableData':
|
||||||
await this.refreshTableData(actionData);
|
await this.refreshTableData(actionData);
|
||||||
break;
|
break;
|
||||||
@@ -102,7 +102,7 @@ new Vue({
|
|||||||
await this.toTaskHistory(actionData);
|
await this.toTaskHistory(actionData);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
console.error("[doAction] actionId not find", { actionId });
|
console.error("[doAction] uiActionId not find", { uiActionId });
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -113,8 +113,8 @@ new Vue({
|
|||||||
mounted() {
|
mounted() {
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
async doUiAction(actionId, actionData) {
|
async doUiAction(uiActionId, actionData) {
|
||||||
switch (actionId) {
|
switch (uiActionId) {
|
||||||
case 'refreshTableData':
|
case 'refreshTableData':
|
||||||
await this.refreshTableData(actionData);
|
await this.refreshTableData(actionData);
|
||||||
break;
|
break;
|
||||||
@@ -127,7 +127,7 @@ new Vue({
|
|||||||
await this.toTaskHistory(actionData);
|
await this.toTaskHistory(actionData);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
console.error("[doUiAction] actionId not find", { actionId });
|
console.error("[doUiAction] uiActionId not find", { uiActionId });
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -94,8 +94,8 @@ new Vue({
|
|||||||
mounted() {
|
mounted() {
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
async doUiAction(actionId, actionData) {
|
async doUiAction(uiActionId, actionData) {
|
||||||
switch (actionId) {
|
switch (uiActionId) {
|
||||||
case 'refreshTableData':
|
case 'refreshTableData':
|
||||||
await this.refreshTableData(actionData);
|
await this.refreshTableData(actionData);
|
||||||
break;
|
break;
|
||||||
@@ -103,7 +103,7 @@ new Vue({
|
|||||||
await this.toTaskHistory(actionData);
|
await this.toTaskHistory(actionData);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
console.error("[doUiAction] actionId not find", { actionId });
|
console.error("[doUiAction] uiActionId not find", { uiActionId });
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -96,8 +96,8 @@ new Vue({
|
|||||||
mounted() {
|
mounted() {
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
async doUiAction(actionId, actionData) {
|
async doUiAction(uiActionId, actionData) {
|
||||||
switch (actionId) {
|
switch (uiActionId) {
|
||||||
case 'refreshTableData':
|
case 'refreshTableData':
|
||||||
await this.refreshTableData(actionData);
|
await this.refreshTableData(actionData);
|
||||||
break;
|
break;
|
||||||
@@ -105,7 +105,7 @@ new Vue({
|
|||||||
await this.toTaskHistory(actionData);
|
await this.toTaskHistory(actionData);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
console.error("[doAction] actionId not find", { actionId });
|
console.error("[doAction] uiActionId not find", { uiActionId });
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -166,8 +166,8 @@ new Vue({
|
|||||||
mounted() {
|
mounted() {
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
async doUiAction(actionId, actionData) {
|
async doUiAction(uiActionId, actionData) {
|
||||||
switch (actionId) {
|
switch (uiActionId) {
|
||||||
case 'createItem':
|
case 'createItem':
|
||||||
await this.confirmCreateItemDialog(actionData);
|
await this.confirmCreateItemDialog(actionData);
|
||||||
await this.doCreateItem(actionData);
|
await this.doCreateItem(actionData);
|
||||||
@@ -177,7 +177,7 @@ new Vue({
|
|||||||
await this.doUpdateItem(actionData);
|
await this.doUpdateItem(actionData);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
console.error("[doUiAction] actionId not find", { actionId });
|
console.error("[doUiAction] uiActionId not find", { uiActionId });
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -101,8 +101,8 @@ new Vue({
|
|||||||
mounted() {
|
mounted() {
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
async doUiAction(actionId, actionData) {
|
async doUiAction(uiActionId, actionData) {
|
||||||
switch (actionId) {
|
switch (uiActionId) {
|
||||||
case 'refreshTableData':
|
case 'refreshTableData':
|
||||||
await this.refreshTableData(actionData);
|
await this.refreshTableData(actionData);
|
||||||
break;
|
break;
|
||||||
@@ -120,7 +120,7 @@ new Vue({
|
|||||||
await this.refreshTableData(actionData);
|
await this.refreshTableData(actionData);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
console.error("[doUiAction] actionId not find", { actionId });
|
console.error("[doUiAction] uiActionId not find", { uiActionId });
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in new issue
Block a user