dfjxx.vue 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. <template>
  2. <view>
  3. <view class="boxt" v-for="(ite,idx) in fileList" :key="idx">
  4. <view class="txt">
  5. <view class="flex01">{{ite.tit}}</view>
  6. <view class="upimg"><image :src="fupimg"></image></view>
  7. <view class="flex1"></view>
  8. <text class="txta" @click="getDown(a)">在线查看</text>
  9. </view>
  10. <view class="mt18" v-if="ite.files&&ite.files.length">
  11. <view class="fjlists" v-for="(fite,fidx) in ite.files" :key='ite.files'>
  12. <view class="flext" @click="getDown(fite.url)">
  13. <view class="imgl"><image :src="filico" ></image></view>
  14. <view class="tit">{{fite.name}}</view>
  15. </view>
  16. </view>
  17. </view>
  18. </view>
  19. <view class="upbox" :class="zheList[0].zheflag?'':'act'" @click="getZheFn(i0dx)">
  20. <image :src="upimg"></image>
  21. <view>查看更多</view>
  22. </view>
  23. </view>
  24. </template>
  25. <script>
  26. import { checkPermi, checkRole } from "@/utils/permission"; // 权限判断函数
  27. import { selectValue } from '@/utils/common.js';
  28. import noData from "@/components/nodata/nodata.vue"
  29. export default {
  30. props:{
  31. datainfo: {
  32. type: Object,
  33. default () {
  34. return {}
  35. }
  36. },
  37. },
  38. components:{
  39. noData
  40. },
  41. data(){
  42. return{
  43. upimg: require('@/work/static/images/up.png'),
  44. fupimg:require('@/work/static/images/fup.png'),
  45. filico:require('@/work/static/images/filico.png'),
  46. gdfilelist:[{name:'123'}],
  47. zheList:[{zheflag:true}],
  48. fileList:[
  49. {tit:'委托担保申请书',files:[{url:"",name:'安徽嘉欣医疗用品有限公司0403担保意向函.doc'}]},
  50. {tit:'股东会议纪要',files:[]},
  51. {tit:'上一年度财务报表',files:[]},
  52. {tit:'当期财务报表',files:[]},
  53. {tit:'上一年度审计报告',qflag:true,files:[]},
  54. {tit:'纳税证明',qflag:true,files:[]},
  55. {tit:'近三月银行对账单',qflag:true,files:[]},
  56. {tit:'主要账户银行流水',files:[{url:"",name:'安徽嘉欣医疗用品有限公司0403担保意向函.doc'},{url:"",name:'安徽嘉欣医疗用品有限公司0403担保意向函.doc'}]},
  57. {tit:'购销合同',files:[]},
  58. {tit:'当前从事项目情况证明',qflag:true,files:[]},
  59. {tit:'企业基本注册信息查询单',qflag:true,files:[]},
  60. {tit:'企业固定资产证明',qflag:true,files:[]},
  61. ]
  62. }
  63. },
  64. onLoad: function() {
  65. },
  66. methods:{
  67. checkPermi, checkRole,
  68. kaType(ite){
  69. return selectValue(this.tajdlist, ite);
  70. },
  71. getZheFn(idx){
  72. this.zheList[idx].zheflag=!this.zheList[idx].zheflag
  73. },
  74. getDown(url){
  75. this.$emit('getDown',url)
  76. },
  77. getPreview(url){
  78. this.$emit('getPreview',url)
  79. },
  80. },
  81. }
  82. </script>
  83. <style lang="scss" scoped>
  84. .boxt{padding:44rpx 36rpx 40rpx;border-top: 2rpx solid #E6E6E6;}
  85. .txt{display: flex;align-items: flex-start;
  86. view{font-weight: bold;font-size: 30rpx;color: #222327;}
  87. text{color: #28C529;font-weight: 500;line-height: 40rpx;flex: 0 0 auto;margin-left: 18rpx;}
  88. .upimg{width:40rpx;height: 40rpx;margin-left: 18rpx;display: flex;align-items: center;justify-content: center;
  89. image{width: 30rpx;height: 28rpx;}
  90. }
  91. }
  92. .fjlists {display: flex;align-items: flex-start;justify-content: space-between;margin-bottom: 20rpx;
  93. &:last-child{margin-bottom: 0;}
  94. // image{flex: 0 0 auto;}
  95. .imgl{width: 40rpx;height: 40rpx;display: flex;align-items: center;flex: 0 0 auto;
  96. image{width: 26rpx;height: 24rpx;}
  97. }
  98. .tit{font-size: 24rpx;color: #222327;font-weight: 500;margin-top: 4rpx;}
  99. .delimg{width: 40rpx;height:40rpx;margin-left: 16rpx;display: flex;align-items: center;justify-content: center;flex: 0 0 auto;
  100. image{width: 24rpx;height: 24rpx;}
  101. }
  102. }
  103. .upbox{display: flex;flex-direction: column;align-items: center;padding: 56rpx 0 40rpx;border-top: 2rpx solid #E6E6E6;
  104. image{width: 30rpx;height: 26rpx;margin-bottom: 18rpx;transform: rotate(180deg);}
  105. view{font-weight: 500;font-size: 26rpx;color: #666666;}
  106. }
  107. </style>