此依赖为创搭平台的任务中心模块,作为基础组件使用
$ npm install gc-starter-lowcode-workflow
<template>
<div>
<LowcodeTaskCenter />
</div>
</template>
<script>
import { LowcodeTaskCenter } from 'gc-starter-lowcode-workflow'
import 'gc-starter-lowcode-workflow/lib/lowcodeWorkflow.css'
export default {
components: {
LowcodeTaskCenter
}
}
</script>
<template>
<div>
<LowcodeAddTask />
</div>
</template>
<script>
import { LowcodeAddTask } from 'gc-starter-lowcode-workflow'
import 'gc-starter-lowcode-workflow/lib/lowcodeWorkflow.css'
export default {
components: {
LowcodeAddTask
}
}
</script>
<template>
<div>
<LowcodeTaskTable ref="Table" />
</div>
</template>
<script>
import { LowcodeTaskTable } from 'gc-starter-lowcode-workflow'
import 'gc-starter-lowcode-workflow/lib/lowcodeWorkflow.css'
export default {
components: {
LowcodeTaskTable
},
mounted () {
this.$refs.Table.getDataList('ccToMeCount', 'ccToMe')
}
}
</script>
<template>
<div>
<LowcodeTaskTable ref="Table" />
</div>
</template>
<script>
import { LowcodeTaskTable } from 'gc-starter-lowcode-workflow'
import 'gc-starter-lowcode-workflow/lib/lowcodeWorkflow.css'
export default {
components: {
LowcodeTaskTable
},
mounted () {
this.$refs.Table.getDataList('deliverByMeCount', 'deliver')
}
}
</script>
<template>
<div>
<LowcodeTaskTable ref="Table" />
</div>
</template>
<script>
import { LowcodeTaskTable } from 'gc-starter-lowcode-workflow'
import 'gc-starter-lowcode-workflow/lib/lowcodeWorkflow.css'
export default {
components: {
LowcodeTaskTable
},
mounted () {
this.$refs.Table.getDataList('deliverToMeCount', 'todo', { commentType: 'ZB' })
}
}
</script>
<template>
<div>
<LowcodeTaskTable ref="Table" />
</div>
</template>
<script>
import { LowcodeTaskTable } from 'gc-starter-lowcode-workflow'
import 'gc-starter-lowcode-workflow/lib/lowcodeWorkflow.css'
export default {
components: {
LowcodeTaskTable
},
mounted () {
this.$refs.Table.getDataList('doneCountByUser', 'done')
}
}
</script>
<template>
<div>
<LowcodeTaskTable ref="Table" />
</div>
</template>
<script>
import { LowcodeTaskTable } from 'gc-starter-lowcode-workflow'
import 'gc-starter-lowcode-workflow/lib/lowcodeWorkflow.css'
export default {
components: {
LowcodeTaskTable
},
mounted () {
this.$refs.Table.getDataList('entrustByMeCount', 'entrust')
}
}
</script>
<template>
<div>
<LowcodeTaskTable ref="Table" />
</div>
</template>
<script>
import { LowcodeTaskTable } from 'gc-starter-lowcode-workflow'
import 'gc-starter-lowcode-workflow/lib/lowcodeWorkflow.css'
export default {
components: {
LowcodeTaskTable
},
mounted () {
this.$refs.Table.getDataList('entrustToMeCount', 'todo', { commentType: 'WP' })
}
}
</script>
<template>
<div>
<LowcodeTaskTable ref="Table" />
</div>
</template>
<script>
import { LowcodeTaskTable } from 'gc-starter-lowcode-workflow'
import 'gc-starter-lowcode-workflow/lib/lowcodeWorkflow.css'
export default {
components: {
LowcodeTaskTable
},
mounted () {
this.$refs.Table.getDataList('startedByMeCount', 'startedBy')
}
}
</script>
<template>
<div>
<LowcodeTaskTable ref="Table" />
</div>
</template>
<script>
import { LowcodeTaskTable } from 'gc-starter-lowcode-workflow'
import 'gc-starter-lowcode-workflow/lib/lowcodeWorkflow.css'
export default {
components: {
LowcodeTaskTable
},
mounted () {
this.$refs.Table.getDataList('todoCountByUser', 'todo')
}
}
</script>