doAction
This commit is contained in:
1 parent
7708f1b72f
commit
1362008dcd
9 files changed
+521
-19063
No files matched your search
@@ -49,7 +49,6 @@ new Vue({
|
||||
el: '#app',
|
||||
template: '#app-template',
|
||||
vuetify: new Vuetify(),
|
||||
mixins: [window.jianghuUiActionMixins],
|
||||
data: () => ({
|
||||
// 表格相关数据
|
||||
requireRules: [
|
||||
@@ -94,6 +93,19 @@ new Vue({
|
||||
mounted() {
|
||||
},
|
||||
methods: {
|
||||
async doUiAction(actionId, actionData) {
|
||||
switch (actionId) {
|
||||
case 'refreshTableData':
|
||||
await this.refreshTableData(actionData);
|
||||
break;
|
||||
case 'toTaskHistory':
|
||||
await this.toTaskHistory(actionData);
|
||||
break;
|
||||
default:
|
||||
console.error("[doAction] actionId not find", { actionId });
|
||||
break;
|
||||
}
|
||||
},
|
||||
/**
|
||||
* 获取表格数据
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user