tacheck.vue 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. <template>
  2. <view class="check">
  3. <view class="ctop flexc mb22 flex0">您好,查询到有<text>2</text>条提案的信息<text>内容相近</text>,请您选择并案</view>
  4. <!-- 表格 -->
  5. <view class="pl12 mb22 tables">
  6. <view class="table">
  7. <zb-table
  8. :show-header="true"
  9. :columns="columns"
  10. :headbgColor="headbgColor"
  11. :stripe="false"
  12. :fit="false"
  13. @rowClick="rowClick"
  14. @toggleRowSelection="toggleRowSelection"
  15. @toggleAllSelection="toggleAllSelection"
  16. :border="border"
  17. :borderr="borderr"
  18. @edit="buttonEdit"
  19. @dele="dele"
  20. :data="tableData"></zb-table>
  21. </view>
  22. </view>
  23. <view class="ctip flex0">请左右滑动查看提案信息</view>
  24. <view class="cbtn flexcc flex0" @click="getBaFn">并案</view>
  25. <!-- <view class="pt36">
  26. <no-data :notxt="notxt"></no-data>
  27. </view> -->
  28. <pop-up :type='ptype' @getClose="getClose"></pop-up>
  29. </view>
  30. </template>
  31. <script>
  32. import popUp from "@/work/components/popup/popup.vue"
  33. import zbTable from "@/work/components/zb-table/zb-tables.vue"
  34. import noData from "@/components/nodata/nodata.vue"
  35. export default{
  36. components:{zbTable,noData,popUp},
  37. data(){
  38. return{
  39. border:true,
  40. borderr:false,
  41. headbgColor:'#F1F1F1',
  42. notxt:'暂未查询到相似提案信息哟',
  43. ptype:'',
  44. columns: [
  45. { name: 'tm', label: '题目',width:440,align:'center', },
  46. { name: 'talb', label: '提案类别',align:'center',width:200,},
  47. { name: 'tasj', label: '提案时间',align:'center',width:200,},
  48. ],
  49. tableData:[
  50. {tm:'关于拓展市校合作,助推高质量发',talb:"社会建设类",tasj:'2023-11-17'},
  51. // {tm:'2关于拓展市校合作,助推高质量发',talb:"社会建设类",tasj:'2023-11-17'},
  52. ],
  53. }
  54. },
  55. onLoad(e) {
  56. },
  57. methods:{
  58. getClose(){
  59. this.ptype=""
  60. },
  61. getBaFn(){
  62. this.ptype="taba"
  63. }
  64. }
  65. }
  66. </script>
  67. <style scoped lang="scss">
  68. page{background-color: #FFFFFF;}
  69. .ctop{background: rgba(152, 252, 153, 0.3);padding: 18rpx 26rpx;min-height: 110rpx;box-sizing: border-box;
  70. font-weight: bold;font-size: 28rpx;color: #222327;
  71. text{color: #ff0000;}
  72. }
  73. .check{height: 100vh;display: flex;flex-direction: column;
  74. .tables{flex:0 1 auto;overflow: auto;
  75. .table{
  76. height: 100%;
  77. }
  78. }
  79. .ctip{font-weight: 500;padding: 0 24rpx;font-size: 26rpx;color: #FF0000;margin-bottom: 86rpx;}
  80. .cbtn{margin: 0 24rpx;height: 80rpx;background: #1D64E2;border-radius: 80rpx;font-weight: bold;font-size: 30rpx;color: #FFFFFF;}
  81. }
  82. </style>