webpackJsonp([10],{"8u6Y":function(e,t){},I2id:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l={name:"tableColumDailog",props:{checkedFields:{type:Array,default:function(){return[]}},memberFields:{type:Array,default:function(){return[]}},dialogVisible:{type:Boolean,default:!1},pageName:{type:String,default:""}},data:function(){return{checkedFieldsCopy:[]}},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)}},watch:{dialogVisible:function(e,t){e&&(this.checkedFieldsCopy=[].concat(this.checkedFields))}}},c={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.dialogVisible,width:"600px"},on:{"update:visible":function(t){e.dialogVisible=t},close:e.cancel}},[i("div",{staticClass:"checkwtip mBottom10"},[e._v("请选择您想显示的列表字段，最多勾选8个选项，已经勾选了 "),i("span",{staticClass:"curcheck"},[e._v(e._s(e.checkedFieldsCopy.length))]),e._v(" 个")]),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,l){return i("el-checkbox",{key:l,staticClass:"table-colum-item",attrs:{label:t.code,disabled:"name"===t.code}},[e._v(e._s(t.name))])}),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("C7Lr")(l,c,!1,function(e){i("d/EL"),i("8u6Y")},"data-v-2e1b0f4d",null);t.default=s.exports},"d/EL":function(e,t){}});