webpackJsonp([20],{I2id:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var c={name:"TableColumDailog",props:{checkedFields:{type:Array,default:function(){return[]}},memberFields:{type:Array,default:function(){return[]}},dialogVisible:{type:Boolean,default:!1}},data:function(){return{visible:!1,checkedFieldsCopy:[]}},watch:{dialogVisible:function(e,t){this.visible=e,e&&(this.checkedFieldsCopy=[].concat(this.checkedFields))}},methods:{submitFields:function(){this.$emit("update:dialogVisible",!1),this.$emit("submit",this.checkedFieldsCopy.join(","))},cancel:function(){this.checkedFieldsCopy=[].concat(this.checkedFields),this.$emit("update:dialogVisible",!1)}}},l={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("el-dialog",{attrs:{title:"设置显示字段","custom-class":"table-colum-dailog",visible:e.visible,width:"600px"},on:{"update:visible":function(t){e.visible=t},close:e.cancel}},[i("div",{staticClass:"checkwtip mBottom10"},[e._v("\n      请选择您想显示的列表字段，最多勾选8个选项，已经勾选了 "),i("span",{staticClass:"curcheck"},[e._v(e._s(e.checkedFieldsCopy.length))]),e._v(" 个\n    ")]),e._v(" "),i("el-checkbox-group",{staticClass:"table-colum-wrap",attrs:{min:0,max:8},model:{value:e.checkedFieldsCopy,callback:function(t){e.checkedFieldsCopy=t},expression:"checkedFieldsCopy"}},e._l(e.memberFields,function(t,c){return i("el-checkbox",{key:c,staticClass:"table-colum-item",attrs:{label:t.code,disabled:"name"===t.code}},[e._v("\n        "+e._s(t.name)+"\n      ")])}),1),e._v(" "),i("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{on:{click:e.cancel}},[e._v("取消")]),e._v(" "),i("el-button",{attrs:{type:"primary"},on:{click:e.submitFields}},[e._v("确定")])],1)],1)],1)},staticRenderFns:[]};var s=i("VU/8")(c,l,!1,function(e){i("cTA3"),i("LqXP")},"data-v-32b42c29",null);t.default=s.exports},LqXP:function(e,t){},cTA3:function(e,t){}});