diff --git a/app/view/page/createTask.html b/app/view/page/createTask.html
index 852bed9..3243ac4 100644
--- a/app/view/page/createTask.html
+++ b/app/view/page/createTask.html
@@ -58,15 +58,13 @@
-
- mdi-menu
-
-
-
-
-
-
-
+
+
+
+ mdi-menu
+
+
+
@@ -98,23 +96,23 @@
-
-
+
-
+
@@ -200,8 +198,6 @@
searchInput: '',
isHelpPageDrawerShown: false,
isTableZebraLineShown: true,
- isTableZebraLineMenuShown: false,
- tableZebraLineMenuPosition: {x: null, y: null},
isCreateDrawerShown: false,
createFormList: [],
@@ -221,9 +217,6 @@
case 'getTableData':
await this.getTableData();
break;
- case 'openTableZebraLineMenu':
- await this.openTableZebraLineMenu(uiActionData);
- break;
case 'startCreateWorkflow':
await this.prepareCreateFormData(uiActionData);
await this.openCreateDrawer();
@@ -268,7 +261,7 @@
row.workflowPersonList = workflowNodeList.filter(node => node.id.includes('userTask-'));
row.workflowForm = JSON.parse(row.workflowForm);
});
-
+
this.tableData = rows;
this.isTableLoading = false;
},
@@ -288,14 +281,6 @@
const userList = result.data.appData.resultData.rows;
this.userList = userList;
},
-
- // ---------- <<<<<<<<<< 斑马纹开关 uiAction --------
- async openTableZebraLineMenu(funObj) {
- this.tableZebraLineMenuPosition.x = funObj.x -funObj.offsetX + 10;
- this.tableZebraLineMenuPosition.y = window.innerHeight - 50;
- this.isTableZebraLineMenuShown = !this.isTableZebraLineMenuShown;
- },
- // ---------- 斑马纹开关 uiAction >>>>>>>>>> --------
// ---------- <<<<<<<<<< 申请项目审核 --------
async prepareCreateFormData({workflowForm, workflowPersonList, workflowId}) {
@@ -333,7 +318,7 @@
async doCreateWork() {
await window.jhMask.show();
-
+
await window.jianghuAxios({
data: {
appData: {
@@ -360,7 +345,7 @@
sessionStorage.setItem('workflowEditItem', JSON.stringify(item))
window.location.href = `/${window.appInfo.appId}/page/workflowEditor?id=${item.id}`;
},
-
+
jumpToCreateWorkflow() {
window.location.href = '/<$ ctx.app.config.appId $>/page/workflowEditor';
}
@@ -386,6 +371,6 @@
flex: auto;
}
}
-
+
{% endblock %}
diff --git a/app/view/page/taskHistory.html b/app/view/page/taskHistory.html
index 2c09ea8..1eb0c99 100644
--- a/app/view/page/taskHistory.html
+++ b/app/view/page/taskHistory.html
@@ -47,14 +47,14 @@
{{item.taskStatus}}
@@ -71,15 +71,13 @@
-
- mdi-menu
-
-
-
-
-
-
-
+
+
+
+ mdi-menu
+
+
+
@@ -175,8 +173,6 @@
isHelpPageDrawerShown: false,
// 表格相关数据
- isTableZebraLineMenuShown: false,
- tableZebraLineMenuPosition: {x: null, y: null},
isTableZebraLineShown: true,
// 生日日期选择
validationRules: {
@@ -219,9 +215,6 @@
case 'openDataPicker':
await this.openDataPicker(uiActionData);
break;
- case 'openTableZebraLineMenu':
- await this.openTableZebraLineMenu(uiActionData);
- break;
case 'startUpdateItem':
await this.prepareUpdateFormData(uiActionData);
await this.openUpdateDrawer();
@@ -258,13 +251,6 @@
this.tableData = rows;
this.isTableLoading = false;
},
- // ---------- 斑马纹开关 uiAction >>>>>>>>>> --------
- async openTableZebraLineMenu(funObj) {
- this.tableZebraLineMenuPosition.x = funObj.x -funObj.offsetX + 10;
- this.tableZebraLineMenuPosition.y = window.innerHeight - 50;
- this.isTableZebraLineMenuShown = !this.isTableZebraLineMenuShown;
- },
- // ---------- <<<<<<<<<< 斑马纹开关 uiAction --------
// ---------- 审核、查看 uiAction >>>>>>>>>>>> --------
async prepareUpdateFormData(funObj) {
this.updateItem = _.cloneDeep(funObj);
@@ -286,4 +272,4 @@
{% endblock %}
-s
\ No newline at end of file
+s
diff --git a/app/view/page/todo.html b/app/view/page/todo.html
index 2ef9a27..db4f37a 100644
--- a/app/view/page/todo.html
+++ b/app/view/page/todo.html
@@ -109,15 +109,13 @@
-
- mdi-menu
-
-
-
-
-
-
-
+
+
+
+ mdi-menu
+
+
+
@@ -226,8 +224,6 @@
isHelpPageDrawerShown: false,
// 表格相关数据
- isTableZebraLineMenuShown: false,
- tableZebraLineMenuPosition: {x: null, y: null},
isTableZebraLineShown: true,
// 生日日期选择
validationRules: {
@@ -276,9 +272,6 @@
case 'openDataPicker':
await this.openDataPicker(uiActionData);
break;
- case 'openTableZebraLineMenu':
- await this.openTableZebraLineMenu(uiActionData);
- break;
case 'startUpdateItem':
await this.prepareUpdateFormData(uiActionData);
await this.openUpdateDrawer();
@@ -342,13 +335,6 @@
});
this.historyData = rows;
},
- // ---------- 斑马纹开关 uiAction >>>>>>>>>> --------
- async openTableZebraLineMenu(funObj) {
- this.tableZebraLineMenuPosition.x = funObj.x -funObj.offsetX + 10;
- this.tableZebraLineMenuPosition.y = window.innerHeight - 50;
- this.isTableZebraLineMenuShown = !this.isTableZebraLineMenuShown;
- },
- // ---------- <<<<<<<<<< 斑马纹开关 uiAction --------
// ---------- 审核、查看 uiAction >>>>>>>>>>>> --------
async prepareUpdateFormData(funObj) {
this.updateItem = _.cloneDeep(funObj);
diff --git a/app/view/page/workflowManagement.html b/app/view/page/workflowManagement.html
index 5e0c871..d4719d2 100644
--- a/app/view/page/workflowManagement.html
+++ b/app/view/page/workflowManagement.html
@@ -3,156 +3,152 @@
{% block vueTemplate %}
@@ -168,224 +164,219 @@
{% endblock %}
diff --git a/package.json b/package.json
index 1205842..0624f9e 100644
--- a/package.json
+++ b/package.json
@@ -8,7 +8,8 @@
"framework": "@jianghujs/jianghu"
},
"dependencies": {
- "@jianghujs/jianghu": "4.0.9",
+ "@jianghujs/jianghu": "4.0.14",
+ "dayjs": "^1.11.4",
"egg": "^2.15.1",
"egg-scripts": "^2.11.0"
},