落日与鲸
2025-02-24 78867c5b9ad89b5478fa404815df0c6608e90ee4
H5/pages/components/certificate/certificate.vue
@@ -13,9 +13,9 @@
                        <text>所在党组织:</text>
                     </view>
                     <view class="flex flex-column a-end lh-48">
                        <text>李雷</text>
                        <text>500000000000000000</text>
                        <text>成都市锦江区XXXXX部门</text>
                        <text>{{info.name}}</text>
                        <text>{{info.idCard}}</text>
                        <text>{{info.partyOrganization}}</text>
                     </view>
                  </view>
@@ -25,7 +25,7 @@
                  <view class="btn_left" @click="onclose">
                     关闭
                  </view>
                  <view class="btn_right">
                  <view class="btn_right" @click="onclose">
                     编辑
                  </view>
               </view>
@@ -37,22 +37,31 @@
</template>
<script>
   import {
      getInfo
   } from './service.js'
   export default {
      props: {
         show: Boolean
      },
      data() {
         return {
info:{},
         };
      },
      methods: {
         open() {
            getInfo().then(resp => {
               console.log(resp, '党员信息');
               if(resp.code==200){
                  this.info =resp.data
               }
            })
         },
         onclose() {
            this.$emit('onCancel',false)
            this.$emit('onCancel', false)
         },
      },
      created() {},