text: (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-5216b0d0"],{"0c9f":function(e,t,n){"use strict";n("5fd6")},"5fd6":function(e,t,n){},"7d29":function(e,t,n){"use strict";n.r(t);var l=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("wyhElementTable",{attrs:{type:"checkbox",column:e.column1,checkboxAttribute:e.checkboxAttribute,listServe:"/getList1"},on:{selectComplete:e.selectComplete}}),n("div",{staticClass:"padding20"},[n("el-card",{staticClass:"box-card"},[n("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[n("span",[e._v("代码片段")])]),n("pre",[e._v("  \n        <wyhElementTable\n      type=\"checkbox\"\n      @selectComplete=\"selectComplete\"\n      :column=\"column1\"\n      :checkboxAttribute=\"checkboxAttribute\"\n      listServe=\"/getList1\"\n  >  </wyhElementTable>\n \n  data() {\n    return {\n      checkboxAttribute: {\n        type: 'user.id',\n        value: [\n          {\n            user: {\n              id: 33,\n            },\n          },\n        ],\n      },\n      column1: [\n        {\n          prop: 'user.id',\n          label: '编号',\n        },\n        {\n          prop: 'user.name',\n          label: '名称',\n        },\n\n        {\n          type: 'date',\n          prop: 'user.mtime',\n          label: '年月日  超出宽度展示提示框',\n          width: 100,\n          showOverflowTooltip: true,\n        },\n      ],\n    }\n  }, \n  methods: {\n    selectComplete(value) {\n      if (checkArray(value.checkboxAttribute.value)) {\n        this.$message(\n          '选中了' +\n            value.checkboxAttribute.value\n              .map((item) => {\n                return item.user.id\n              })\n              .toString()\n        )\n      }\n    },\n  },\n}\n  ")])])],1)],1)},r=[],c=(n("d81d"),n("d3b7"),n("25f0"),{name:"radioData",components:{},data:function(){return{checkboxAttribute:{type:"user.id",value:[{user:{id:33}}]},column1:[{prop:"user.id",label:"编号"},{prop:"user.name",label:"名称"},{type:"date",prop:"user.mtime",label:"年月日  超出宽度展示提示框",width:100,showOverflowTooltip:!0}]}},methods:{selectComplete:function(e){checkArray(e.checkboxAttribute.value)&&this.$message("选中了"+e.checkboxAttribute.value.map((function(e){return e.user.id})).toString())}}}),o=c,a=(n("0c9f"),n("2877")),s=Object(a["a"])(o,l,r,!1,null,"35847754",null);t["default"]=s.exports}}]);