EvaluateView.vue 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. <template>
  2. <view class="container">
  3. <view class="itemBox" v-for="(item, index) in listData">
  4. <!-- <view class="itemHeader">{{item.BMName}}</view> -->
  5. <view class="itemBody">
  6. <view class="infoItemBox">
  7. <text class="infoLable">中心满意度</text>
  8. <text class="infoText">{{item.seatEvaluate || ''}}</text>
  9. </view>
  10. <view class="infoItemBox">
  11. <text class="infoLable">部门满意度</text>
  12. <text class="infoText">{{item.orgProcessingResults || ''}}</text>
  13. </view>
  14. <view class="infoItemBox">
  15. <text class="infoLable">办事态度</text>
  16. <text class="infoText">{{item.orgHandledAttitude || ''}}</text>
  17. </view>
  18. <view class="infoItemBox">
  19. <text class="infoLable">备注</text>
  20. <text class="infoText">{{item.remark || ''}}</text>
  21. </view>
  22. </view>
  23. </view>
  24. </view>
  25. </template>
  26. <script>
  27. var that;
  28. export default {
  29. data() {
  30. return {
  31. isShow: false,
  32. id: '',
  33. listData: [],
  34. }
  35. },
  36. onLoad(options) {
  37. that = this;
  38. that.id = options.id;
  39. that.onGetData(function() {
  40. that.isShow = true;
  41. });
  42. },
  43. methods: {
  44. onGetData(fun) {
  45. that.$admin.req({
  46. method: 'GET',
  47. url: '/api/v1/Snapshot/order/visit/' + that.id
  48. }).then(res => {
  49. if (res && res.length > 0) {
  50. that.listData = res;
  51. }
  52. typeof fun === 'function' && fun();
  53. })
  54. },
  55. }
  56. }
  57. </script>
  58. <style lang="less">
  59. .container {
  60. background-color: #ffffff;
  61. }
  62. .itemBox {
  63. background-color: #ffffff;
  64. margin: 26rpx 20rpx;
  65. padding: 30rpx 20rpx;
  66. border-radius: 10rpx;
  67. border-bottom: 2rpx #efefef solid;
  68. }
  69. .itemHeader {
  70. color: #000006;
  71. font-weight: bold;
  72. margin-bottom: 30rpx;
  73. font-size: 34rpx;
  74. }
  75. .itemBody {
  76. line-height: 48rpx;
  77. color: #333333;
  78. font-size: 28rpx;
  79. }
  80. .infoItemBox {
  81. font-size: 28rpx;
  82. line-height: 60rpx;
  83. }
  84. .infoLable {
  85. width: 180rpx;
  86. display: inline-block;
  87. vertical-align: top;
  88. color: #666666;
  89. }
  90. .infoText {
  91. width: calc(100% - 180rpx);
  92. display: inline-block;
  93. vertical-align: top;
  94. color: #333333;
  95. word-break: break-all;
  96. }
  97. .infoContent {
  98. margin-top: 10rpx;
  99. }
  100. </style>