render: (h, params) => {
              return h('div', [
                h('span', {style: {marginRight: '5px'},}, this.$t('liveRate_lang.th.whetherOpen')),
                h('i-switch', {
                  props: {
                    value: params.row.autoUpdate  //控制开关的打开或关闭状态,官网文档属性是value
                  },
                  style: {marginRight: '5px'},
                  on: {
                    'on-change': () => {
                      this.changeOneRateSetting(params)
                    }
                  }
                }),
                h('Button', {
                  props: {type: 'primary',size: 'small'},
                  style: {marginRight: '5px'},
                  on: {
                    click: () => {
                      this.changeRateEdit(params.index)
                    }
                  }
                }, this.$t('liveRate_lang.btn.edit')),
                h('Button', {
                  props: {type: 'primary',size: 'small'},
                  style: {marginRight: '5px'},
                  on: {
                    click: () => {
                      this.changeRateReview(params)
                    }
                  },
                  attrs: {
                    //按钮禁用
                    disabled: params.row.status == 'U' ? false : true
                  },
                }, params.row.status == 'U' ? this.$t('liveRate_lang.btn.review') : this.$t('liveRate_lang.btn.reviewSF')),
                   //params.row.AuthStatus == 0 ? "待审核" : params.row.AuthStatus == 1 ? "已审核" : "已拒绝"
              )
              ]);
            }

  

  

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-09-29
  • 2021-05-31
  • 2021-12-11
  • 2021-06-17
  • 2022-12-23
  • 2021-06-24
猜你喜欢
  • 2022-02-09
  • 2022-03-03
  • 2021-12-06
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案