Done.vue 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. <template>
  2. <div id="done">
  3. <!-- <a-tab-pane key="done" tab="我的已办">
  4. <div v-for="item in doneList" :key="item.id"> -->
  5. <a-card
  6. style="width: 100%;
  7. border-radius:20px;
  8. text-align:left;
  9. marginBottom:20px;
  10. border:none;
  11. background-color:rgba(247, 224, 212,.8);"
  12. >
  13. <p style="fontSize:16px;fontWeight:700;color:#092834;">
  14. <img
  15. src="@assets/look.png"
  16. width="30px;"
  17. alt="????"
  18. style="background: rgb(34,193,195);
  19. background: linear-gradient(0deg, rgba(34,193,195,1) 0%,
  20. rgba(253,187,45,1) 100%);borderRadius:6px;"
  21. />
  22. {{ item.processName }}
  23. </p>
  24. <p>任务名称:{{ item.name }}</p>
  25. <p>创建时间:{{ item.createTime }}</p>
  26. <!-- 审批操作 -->
  27. <p style="float:left;">
  28. 审批操作:
  29. <span
  30. style="background:rgba(20, 137, 184,.3);
  31. padding:4px 10px;
  32. borderRadius:2px;
  33. letterSpacing:1px;
  34. color: #092834;"
  35. >
  36. {{ item.deleteReason }}
  37. </span>
  38. </p>
  39. <p style="float:right;">发起人:{{ item.applyer }}</p>
  40. <a-divider style="background:rgba(128, 128, 128,.1);"></a-divider>
  41. <!-- 操作按钮 -->
  42. <div class="operation">
  43. <p style="fontSize:16px;fontWeight:700;color:#092834;">
  44. <img src="@assets/down.png" width="30px;" alt="???? " />
  45. 操作
  46. </p>
  47. <div class="btns">
  48. <a-button
  49. class="itemBtn"
  50. ghost
  51. @click="detail(item)"
  52. style="box-shadow: 8px 8px 8px rgba(128, 128, 128,.9);
  53. color:#4e73b9;"
  54. >
  55. 表单数据
  56. </a-button>
  57. <a-button
  58. class="itemBtn"
  59. ghost
  60. @click="Donehistory(item.id)"
  61. style="color:gray;box-shadow: 4px 4px 4px rgba(128, 128, 128,.9);color#f2c617;position:absolute;right:0;marginRight:0;"
  62. >
  63. 审批历史
  64. </a-button>
  65. <a-popconfirm title="确定删除吗?">
  66. <a-button
  67. class="itemBtn mid"
  68. ghost
  69. @click="remove(item.id)"
  70. style="color:gray;box-shadow: 5px 5px 5px rgba(128, 128, 128,.7);color:red;"
  71. >
  72. 删除
  73. </a-button>
  74. </a-popconfirm>
  75. </div>
  76. </div>
  77. </a-card>
  78. <!-- </div>
  79. </a-tab-pane> -->
  80. </div>
  81. </template>
  82. <script>
  83. export default {
  84. }
  85. </script>
  86. <style src="@assets/less/overwrite.less" lang="less" scoped></style>
  87. <style lang="less">
  88. @import '~@assets/less/common.less';
  89. </style>
  90. <style lang="less" scoped></style>