特易招,招聘小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

89 lines
1.7 KiB

1 month ago
3 weeks ago
3 weeks ago
3 weeks ago
1 month ago
3 weeks ago
1 month ago
3 weeks ago
3 weeks ago
1 month ago
3 weeks ago
3 weeks ago
1 month ago
3 weeks ago
3 weeks ago
1 month ago
3 weeks ago
3 weeks ago
1 month ago
3 weeks ago
1 month ago
3 weeks ago
1 month ago
3 weeks ago
1 month ago
  1. <template>
  2. <view class="page">
  3. <navbar title="合同模板"
  4. leftClick
  5. @leftClick="$utils.navigateBack"/>
  6. <uv-swipe-action>
  7. <view class="content">
  8. <view class="projectContent"
  9. v-for="(item, index) in list"
  10. :key="item.id"
  11. >
  12. <uv-swipe-action-item
  13. @click="e => clickSwipeAction(e, item)"
  14. :options="options">
  15. <contractManageItem
  16. @click="$utils.navigateTo('/pages_order/contract/contractManageEdit?id=' + item.id)"
  17. :item="item"/>
  18. </uv-swipe-action-item>
  19. </view>
  20. </view>
  21. </uv-swipe-action>
  22. <view class="plus-contract"
  23. @click="$utils.navigateTo('/pages_order/contract/contractManageEdit')">
  24. <uv-icon size="40rpx" color="#fff" name="plus" />
  25. </view>
  26. </view>
  27. </template>
  28. <script>
  29. import mixinList from '@/mixins/list.js'
  30. import contractManageItem from '@/components/list/contract/contractManageItem.vue'
  31. export default {
  32. components : {
  33. contractManageItem,
  34. },
  35. mixins : [mixinList],
  36. data() {
  37. return {
  38. mixinsListApi : 'queryContractTemplateList',
  39. options : [
  40. {
  41. text: '删除',
  42. style: {
  43. backgroundColor: '#FA5A0A'
  44. }
  45. },
  46. ],
  47. }
  48. },
  49. methods: {
  50. clickSwipeAction(e, item){
  51. this.$api('', {
  52. }).then(res => {
  53. if(res.code == 200){
  54. this.getData()
  55. }
  56. })
  57. },
  58. }
  59. }
  60. </script>
  61. <style scoped lang="scss">
  62. .page{
  63. .content {
  64. width: 100%;
  65. height: 100%;
  66. }
  67. .plus-contract{
  68. position: fixed;
  69. top: 55%;
  70. right: 80rpx;
  71. display: flex;
  72. width: 100rpx;
  73. height: 100rpx;
  74. border-radius: 50%;
  75. align-items: center;
  76. justify-content: center;
  77. background-color: $uni-color;
  78. }
  79. }
  80. </style>