approveList.js 661 B

1234567891011121314151617181920212223242526272829303132
  1. import list from '@/mixins/list'
  2. export default {
  3. mixins: [list],
  4. created() {
  5. this.activeIndex = -100
  6. this.getList(true)
  7. },
  8. methods: {
  9. handle2ProcessTask(id, instId, category, definitionId, allowDeal) {
  10. uni.navigateTo({
  11. url:`/pages/workflowTask/webviewPages/dealTask?id=${id}&definitionId=${definitionId}&instId=${instId}&category=${category}&allowDeal=${allowDeal}`
  12. })
  13. }
  14. },
  15. watch: {
  16. searchKeyWord: {
  17. handler: function (val) {
  18. this.list = []
  19. this.queryParam['name'] = val
  20. this.handlePullDownRefresh()
  21. }
  22. }
  23. },
  24. props: {
  25. approveListHeight: {
  26. type: Number
  27. },
  28. searchKeyWord: {
  29. type: String
  30. }
  31. }
  32. }