开始值班
-
@@ -89,6 +96,7 @@ export default {
},
data() {
return {
+ singType: 1,
uploadSize,
isInUni: false,
signStatus: 0,
@@ -167,7 +175,8 @@ export default {
const res = await signIp({
image_id: this.imageId,
remark: this.remark,
- status: 3
+ status: 3,
+ type: this.singType
})
} else {
const res = await sign({
@@ -208,7 +217,8 @@ export default {
}
if (this.isIpSign) {
const res = await signIp({
- status: 1
+ status: 1,
+ type: this.singType
})
} else {
const res = await sign({
diff --git a/src/views/dashboard/index.vue b/src/views/dashboard/index.vue
index c54b85a..e2ff8e1 100644
--- a/src/views/dashboard/index.vue
+++ b/src/views/dashboard/index.vue
@@ -118,15 +118,9 @@
- 上午出差
-
-
- 下午出差
+ 出差
+
+
+
+ 流程名称
+
+
+ {{ row['custom_model'] ? row['custom_model']['name'] :'' }}
+
+
+
+
+ 发起人
+
+
+ {{ row['creator'] ? row['creator']['name'] :'' }}
+
+
+
+
+ 发起人
+
+
+ {{ (row['last_log'] && row['last_log']['user']) ? row['last_log']['user']['name'] :'' }}
+
+
+
+
+ 当前节点
+
+
+ {{ (row['current_node']) ? row['current_node']['name'] :'' }}
+
+
+
+
+ 简要
+
+
+ {{ row['_simple'] }}
+
+
+
+
+ 发起日期
+
+
+ {{ row['created_at'] }}
+
+
+
+
+ 当前状态
+
+
+ {{ myStatus.get(row.status) }}
+
+
+
@@ -727,4 +796,21 @@ export default {
.el-tag + .el-tag {
margin-left: 4px;
}
+.mobile-desc {
+
+ &-row {
+ display: flex;
+ margin-bottom: 20px;
+
+ &__title {
+ flex-basis: 20vw;
+ font-weight: 600;
+ text-align: right;
+ }
+ &__value {
+ flex-basis: 52vw;
+ padding-left: 4vw;
+ }
+ }
+}