🎉 优化列表显示

pull/59/head
smallchill 7 years ago
parent 927e9ddfe0
commit 13033a8719
  1. 5
      src/views/flow/follow.vue
  2. 7
      src/views/flow/manager.vue
  3. 10
      src/views/flow/model.vue
  4. 4
      src/views/work/claim.vue
  5. 4
      src/views/work/done.vue
  6. 5
      src/views/work/send.vue
  7. 5
      src/views/work/start.vue
  8. 4
      src/views/work/todo.vue

@ -65,6 +65,7 @@
viewBtn: false, viewBtn: false,
dialogWidth: 300, dialogWidth: 300,
dialogHeight: 400, dialogHeight: 400,
menuWidth: 100,
column: [ column: [
{ {
label: "执行id", label: "执行id",
@ -75,6 +76,7 @@
label: "流程key", label: "流程key",
prop: "processDefinitionKey", prop: "processDefinitionKey",
search: true, search: true,
width: 80,
}, },
{ {
label: "流程实例id", label: "流程实例id",
@ -85,14 +87,17 @@
label: "状态", label: "状态",
prop: "suspensionState", prop: "suspensionState",
slot: true, slot: true,
width: 80,
}, },
{ {
label: "发起人", label: "发起人",
prop: "startUser", prop: "startUser",
width: 100,
}, },
{ {
label: '开始时间', label: '开始时间',
prop: 'startTime', prop: 'startTime',
width: 165,
}, },
] ]
}, },

@ -140,6 +140,7 @@
delBtn: false, delBtn: false,
dialogWidth: 300, dialogWidth: 300,
dialogHeight: 400, dialogHeight: 400,
menuWidth: 150,
column: [ column: [
{ {
label: '流程主键', label: '流程主键',
@ -148,10 +149,12 @@
{ {
label: '流程标识', label: '流程标识',
prop: 'key', prop: 'key',
width: 150,
}, },
{ {
label: '流程名称', label: '流程名称',
prop: 'name', prop: 'name',
width: 150,
}, },
{ {
label: "流程分类", label: "流程分类",
@ -165,20 +168,24 @@
slot: true, slot: true,
prop: "category", prop: "category",
search: true, search: true,
width: 100,
}, },
{ {
label: '流程版本', label: '流程版本',
prop: 'version', prop: 'version',
slot: true, slot: true,
width: 80,
}, },
{ {
label: '状态', label: '状态',
prop: 'suspensionState', prop: 'suspensionState',
slot: true, slot: true,
width: 80,
}, },
{ {
label: '部署时间', label: '部署时间',
prop: 'deploymentTime', prop: 'deploymentTime',
width: 165,
}, },
] ]
}, },

@ -143,6 +143,7 @@
delBtn: false, delBtn: false,
dialogWidth: 300, dialogWidth: 300,
dialogHeight: 400, dialogHeight: 400,
menuWidth: 150,
column: [ column: [
{ {
label: '模型主键', label: '模型主键',
@ -152,24 +153,29 @@
label: '模型标识', label: '模型标识',
prop: 'modelKey', prop: 'modelKey',
search: true, search: true,
width: 150,
}, },
{ {
label: '模型名称', label: '模型名称',
prop: 'name', prop: 'name',
search: true, search: true,
width: 150,
}, },
{ {
label: '流程版本', label: '流程版本',
prop: 'version', prop: 'version',
slot: true, slot: true,
width: 80,
}, },
{ {
label: '创建时间', label: '创建时间',
prop: 'created', prop: 'created',
width: 165,
}, },
{ {
label: '更新时间', label: '更新时间',
prop: 'lastUpdated', prop: 'lastUpdated',
width: 165,
}, },
] ]
}, },
@ -238,7 +244,7 @@
}); });
return; return;
} }
deployModel({ modelId: this.selectionId, category: flowCategory(this.categoryValue) }).then(res =>{ deployModel({modelId: this.selectionId, category: flowCategory(this.categoryValue)}).then(res => {
const data = res.data; const data = res.data;
if (data.success) { if (data.success) {
this.$message({ this.$message({
@ -296,6 +302,6 @@
<style> <style>
.none-border { .none-border {
border: 0; border: 0;
background-color: transparent!important; background-color: transparent !important;
} }
</style> </style>

@ -90,6 +90,7 @@
delBtn: false, delBtn: false,
dialogWidth: 300, dialogWidth: 300,
dialogHeight: 400, dialogHeight: 400,
menuWidth: 150,
column: [ column: [
{ {
label: "流程分类", label: "流程分类",
@ -104,6 +105,7 @@
prop: "category", prop: "category",
search: true, search: true,
hide: true, hide: true,
width: 100,
}, },
{ {
label: '流程名称', label: '流程名称',
@ -117,10 +119,12 @@
label: '流程版本', label: '流程版本',
prop: 'processDefinitionVersion', prop: 'processDefinitionVersion',
slot: true, slot: true,
width: 80,
}, },
{ {
label: '申请时间', label: '申请时间',
prop: 'createTime', prop: 'createTime',
width: 165,
}, },
] ]
}, },

@ -83,6 +83,7 @@
delBtn: false, delBtn: false,
dialogWidth: 300, dialogWidth: 300,
dialogHeight: 400, dialogHeight: 400,
menuWidth: 150,
column: [ column: [
{ {
label: "流程分类", label: "流程分类",
@ -97,6 +98,7 @@
prop: "category", prop: "category",
search: true, search: true,
hide: true, hide: true,
width: 100,
}, },
{ {
label: '流程名称', label: '流程名称',
@ -110,10 +112,12 @@
label: '流程版本', label: '流程版本',
prop: 'processDefinitionVersion', prop: 'processDefinitionVersion',
slot: true, slot: true,
width: 80,
}, },
{ {
label: '申请时间', label: '申请时间',
prop: 'createTime', prop: 'createTime',
width: 165,
}, },
] ]
}, },

@ -87,6 +87,7 @@
delBtn: false, delBtn: false,
dialogWidth: 300, dialogWidth: 300,
dialogHeight: 400, dialogHeight: 400,
menuWidth: 150,
column: [ column: [
{ {
label: "流程分类", label: "流程分类",
@ -101,6 +102,7 @@
prop: "category", prop: "category",
search: true, search: true,
hide: true, hide: true,
width: 100,
}, },
{ {
label: '流程名称', label: '流程名称',
@ -114,15 +116,18 @@
label: '流程版本', label: '流程版本',
prop: 'processDefinitionVersion', prop: 'processDefinitionVersion',
slot: true, slot: true,
width: 80,
}, },
{ {
label: '流程进度', label: '流程进度',
prop: 'processIsFinished', prop: 'processIsFinished',
slot: true, slot: true,
width: 80,
}, },
{ {
label: '申请时间', label: '申请时间',
prop: 'createTime', prop: 'createTime',
width: 165,
}, },
] ]
}, },

@ -89,6 +89,7 @@
addBtn: false, addBtn: false,
viewBtn: false, viewBtn: false,
delBtn: false, delBtn: false,
menuWidth: 150,
dialogWidth: 300, dialogWidth: 300,
dialogHeight: 400, dialogHeight: 400,
column: [ column: [
@ -104,6 +105,7 @@
slot: true, slot: true,
prop: "category", prop: "category",
search: true, search: true,
width: 100,
}, },
{ {
label: '流程标识', label: '流程标识',
@ -117,15 +119,18 @@
label: '流程版本', label: '流程版本',
prop: 'version', prop: 'version',
slot: true, slot: true,
width: 80,
}, },
{ {
label: '状态', label: '状态',
prop: 'suspensionState', prop: 'suspensionState',
slot: true, slot: true,
width: 80,
}, },
{ {
label: '部署时间', label: '部署时间',
prop: 'deploymentTime', prop: 'deploymentTime',
width: 165,
}, },
] ]
}, },

@ -90,6 +90,7 @@
delBtn: false, delBtn: false,
dialogWidth: 300, dialogWidth: 300,
dialogHeight: 400, dialogHeight: 400,
menuWidth: 150,
column: [ column: [
{ {
label: "流程分类", label: "流程分类",
@ -104,6 +105,7 @@
prop: "category", prop: "category",
search: true, search: true,
hide: true, hide: true,
width: 100,
}, },
{ {
label: '流程名称', label: '流程名称',
@ -117,10 +119,12 @@
label: '流程版本', label: '流程版本',
prop: 'processDefinitionVersion', prop: 'processDefinitionVersion',
slot: true, slot: true,
width: 80,
}, },
{ {
label: '申请时间', label: '申请时间',
prop: 'createTime', prop: 'createTime',
width: 165,
}, },
] ]
}, },

Loading…
Cancel
Save