dfjxx.vue 4.0 KB

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