dfjxx.vue 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. <template>
  2. <view>
  3. <!-- <block v-if="declareFj&&declareFj.wtdbsqs&&declareFj.wtdbsqs.length>0">
  4. <view class="boxt">
  5. <view class="txt">
  6. <view class="flex01">委托担保申请书</view>
  7. </view>
  8. <view class="mt18">
  9. <view class="fjlists" v-for="(fite,fidx) in declareFj.wtdbsqs" :key='fidx'>
  10. <view class="flext" @click="getDown(fite.url)">
  11. <view class="imgl"><image :src="filico" ></image></view>
  12. <view class="tit">{{fite.name}}</view>
  13. </view>
  14. <view class="upimg" @click="getXzFn(fite)"><image :src="fupimg"></image></view>
  15. <text class="txta" @click="getDown(fite.url)">预览</text>
  16. </view>
  17. </view>
  18. </view>
  19. </block> -->
  20. <block v-if="declareFj&&declareFj.gdhyjy&&declareFj.gdhyjy.length>0">
  21. <view class="boxt">
  22. <view class="txt">
  23. <view class="flex01">股东会决议</view>
  24. </view>
  25. <view class="mt18">
  26. <view class="fjlists" v-for="(fite,fidx) in declareFj.gdhyjy" :key='fidx'>
  27. <view class="flext" @click="getDown(fite.url)">
  28. <view class="imgl"><image :src="filico" ></image></view>
  29. <view class="tit">{{fite.name}}</view>
  30. </view>
  31. <view class="upimg" @click="getXzFn(fite)"><image :src="fupimg"></image></view>
  32. <text class="txta" @click="getDown(fite.url)">预览</text>
  33. </view>
  34. </view>
  35. </view>
  36. </block>
  37. <view class="boxt" v-for="(ite,idx) in sbfjlist" :key="idx">
  38. <view class="txt">
  39. <view class="flex01">{{ite.label}}</view>
  40. <!-- <view class="upimg" @click="getXzFn"><image :src="fupimg"></image></view> -->
  41. <!-- <view class="flex1"></view> -->
  42. <!-- <text class="txta" @click="getDown(ite.val)">在线查看</text> -->
  43. </view>
  44. <view class="mt18" v-if="declareFj&&declareFj[ite.val]&&declareFj[ite.val].length">
  45. <view class="fjlists" v-for="(fite,fidx) in declareFj[ite.val]" :key='fidx'>
  46. <view class="flext" @click="getDown(fite.url)">
  47. <view class="imgl"><image :src="filico" ></image></view>
  48. <view class="tit">{{fite.name}}</view>
  49. </view>
  50. <view class="upimg" @click="getXzFn(fite)"><image :src="fupimg"></image></view>
  51. <text class="txta" @click="getDown(fite.url)">预览</text>
  52. </view>
  53. </view>
  54. </view>
  55. <!-- <view class="upbox" :class="zheList[0].zheflag?'':'act'" @click="getZheFn(i0dx)">
  56. <image :src="upimg"></image>
  57. <view>查看更多</view>
  58. </view> -->
  59. </view>
  60. </template>
  61. <script>
  62. import { checkPermi, checkRole } from "@/utils/permission"; // 权限判断函数
  63. import { selectValue } from '@/utils/common.js';
  64. import noData from "@/components/nodata/nodata.vue"
  65. export default {
  66. props:{
  67. datainfo: {
  68. type: Object,
  69. default () {
  70. return {}
  71. }
  72. },
  73. declareFj:{
  74. type: Object,
  75. default () {
  76. return {}
  77. }
  78. },
  79. sbfjlist:{
  80. type: Array,
  81. default () {
  82. return []
  83. }
  84. }
  85. },
  86. components:{
  87. noData
  88. },
  89. data(){
  90. return{
  91. upimg: require('@/work/static/images/up.png'),
  92. fupimg:require('@/work/static/images/fdown.png'),
  93. filico:require('@/work/static/images/filico.png'),
  94. gdfilelist:[{name:'123'}],
  95. zheList:[{zheflag:true}],
  96. }
  97. },
  98. onLoad: function() {
  99. },
  100. methods:{
  101. checkPermi, checkRole,
  102. kaType(ite){
  103. return selectValue(this.tajdlist, ite);
  104. },
  105. getZheFn(idx){
  106. this.zheList[idx].zheflag=!this.zheList[idx].zheflag
  107. },
  108. getDown(url){
  109. this.$emit('getDown',url)
  110. },
  111. getPreview(url){
  112. this.$emit('getPreview',url)
  113. },
  114. getXzFn(ite){
  115. this.$emit("getXzFn",ite)
  116. },
  117. },
  118. }
  119. </script>
  120. <style lang="scss" scoped>
  121. .boxt{padding:44rpx 36rpx 40rpx;border-top: 2rpx solid #E6E6E6;}
  122. .txt{display: flex;align-items: flex-start;
  123. view{font-weight: bold;font-size: 30rpx;color: #222327;}
  124. text{color: #28C529;font-weight: 500;line-height: 40rpx;flex: 0 0 auto;margin-left: 18rpx;}
  125. }
  126. .upimg{width:40rpx;height: 40rpx;margin-left: 18rpx;display: flex;align-items: center;justify-content: center;
  127. image{width: 30rpx;height: 28rpx;}
  128. }
  129. .fjlists {display: flex;align-items: flex-start;justify-content: space-between;margin-bottom: 20rpx;
  130. &:last-child{margin-bottom: 0;}
  131. // image{flex: 0 0 auto;}
  132. .imgl{width: 40rpx;height: 40rpx;display: flex;align-items: center;flex: 0 0 auto;
  133. image{width: 26rpx;height: 24rpx;}
  134. }
  135. .tit{font-size: 26rpx;color: #222327;font-weight: 500;margin-top: 4rpx;word-break: break-all;}
  136. .delimg{width: 40rpx;height:40rpx;margin-left: 16rpx;display: flex;align-items: center;justify-content: center;flex: 0 0 auto;
  137. image{width: 24rpx;height: 24rpx;}
  138. }
  139. .txta{color: #28C529;font-weight: 500;line-height: 40rpx;flex: 0 0 auto;margin-left: 18rpx;padding: 0 6rpx;}
  140. }
  141. .upbox{display: flex;flex-direction: column;align-items: center;padding: 56rpx 0 40rpx;border-top: 2rpx solid #E6E6E6;
  142. image{width: 30rpx;height: 26rpx;margin-bottom: 18rpx;transform: rotate(180deg);}
  143. view{font-weight: 500;font-size: 26rpx;color: #666666;}
  144. }
  145. </style>