(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-189c6a21"],{"67d8":function(t,e,n){"use strict";n("aca9")},"7e32":function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("el-table",{attrs:{data:t.datalist,border:"",stripe:""}},[n("el-table-column",{attrs:{label:"ID",width:"70",prop:"answerId"}}),n("el-table-column",{attrs:{label:"题型",width:"70",prop:"type"},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.row;return[n("span",[t._v(t._s(t.typeOption[a.type]))])]}}])}),n("el-table-column",{attrs:{label:"题目",prop:"name"},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.row;return[n("span",[t._v(t._s(a.title))])]}}])}),n("el-table-column",{attrs:{align:"center",width:"160px",label:"操作","class-name":"small-padding fixed-width"},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.row,l=e.$index;return[n("el-button",{attrs:{type:"success",size:"small",icon:"el-icon-circle-check"},on:{click:function(e){return t.deleteRow(a,l)}}},[t._v("移除题库")])]}}])})],1)],1)},l=[],r={name:"Api",data:function(){return{list:[],typeOption:{1:"单选",2:"多选",3:"判断"}}},props:{datalist:{type:Array,default:function(){return[]}}},methods:{deleteRow:function(t,e){t.index=e,this.$emit("deleteRow",t)}}},o=r,s=(n("67d8"),n("2877")),c=Object(s["a"])(o,a,l,!1,null,"4891810a",null);e["default"]=c.exports},aca9:function(t,e,n){}}]);