king
2021-01-07 2292d1826e69e21c8a411c217faef635fe57d458
src/tabviews/custom/components/card/cardcellList/index.jsx
@@ -22,6 +22,7 @@
const PrintButton = asyncComponent(() => import('@/tabviews/zshare/actionList/printbutton'))
const BarCode = asyncElementComponent(() => import('@/components/barcode'))
const QrCode = asyncElementComponent(() => import('@/components/qrcode'))
const Video = asyncComponent(() => import('@/components/video'))
class CardCellComponent extends Component {
  static propTpyes = {
@@ -428,6 +429,22 @@
          </div>
        </Col>
      )
    } else if (card.eleType === 'video') {
      let url = ''
      if (card.datatype === 'static') {
        url = card.url
      } else {
        url = data[card.field] || ''
      }
      return (
        <Col key={card.uuid} span={card.width}>
          <div style={card.style}>
            <Video card={card} value={url}/>
          </div>
        </Col>
      )
    } else if (card.eleType === 'qrcode') {
      let val = ''
@@ -498,7 +515,6 @@
                show={card.show}
                style={card.btnstyle}
                setting={cards.setting}
                // getexceloutparam={getexceloutparam}
                updateStatus={this.props.updateStatus}
              />
            </div>