dealTask.vue 743 B

123456789101112131415161718192021222324252627282930
  1. <template>
  2. <web-view :src="`${webviewServer}/mobile/dealTask?definitionId=${definitionId}&category=${category}&taskId=${taskId}&withDealTask=${withDealTask}&processInstanceId=${processInstanceId}&fromMobile=true&authtoken=${authtoken}`"></web-view>
  3. </template>
  4. <script>
  5. import webview from './webview'
  6. export default {
  7. mixins: [webview],
  8. data() {
  9. return {
  10. definitionId: '',
  11. processInstanceId: '',
  12. taskId: '',
  13. category: '',
  14. withDealTask: '',
  15. };
  16. },
  17. onLoad(options) {
  18. this.processInstanceId = options.instId
  19. this.definitionId = options.definitionId
  20. this.taskId = options.id
  21. this.category = options.category
  22. this.withDealTask = options.allowDeal
  23. }
  24. }
  25. </script>
  26. <style lang="scss">
  27. </style>