Commit 9ad7b305 authored by kangzhenfei's avatar kangzhenfei

user

parent 88e15c87
......@@ -49,6 +49,15 @@
</div>
<div style="width:98%" v-if="com(item.records).length>0">
<Table :columns="columns" border size="small" width="90%" :data="com(item.records)"></Table>
<p>
<state code="workflow.record.status" :value="item.status" type="text"></state>
<!-- <User v-for="(item2, index2) in item.defaultUsers.immutable"
:key="index2"
:value="item2"
class="mr5"
/> -->
<!-- <span>{{item}}</span> -->
</p>
</div>
</div>
</TimelineItem>
......@@ -60,6 +69,9 @@ import Api from './api'
export default {
name: 'process',
components: {},
async fetch({ store, params }) {
await store.dispatch('loadDictionary') // 加载数据字典
},
data() {
return {
currentUserId: 0,
......@@ -181,8 +193,8 @@ export default {
com(items) {
if(items)
return items.filter((u) => {
return [2, 3, 5,6].indexOf(u.status) > -1
})
return [2, 3, 5,6].indexOf(u.status) > -1
})
else
return [];
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment