You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
1.0 MiB
1 line
1.0 MiB
|
2 weeks ago
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-009a4a37","chunk-49217a26","chunk-a1d52e64","chunk-22cea610","chunk-2d0c5774"],{"0189":function(e,t,a){"use strict";a("d3d4")},"0494":function(e,t,a){"use strict";a.d(t,"a",(function(){return i}));var i=[{value:"like",label:"包含"},{value:"notlike",label:"不包含"},{value:"eq",label:"等于"},{value:"neq",label:"不等于"},{value:"range",label:"范围"}]},"04a1":function(e,t,a){"use strict";a("91fe")},"04cb":function(e,t,a){"use strict";a("1780")},"04d3":function(e,t,a){},"0505":function(e,t,a){"use strict";a("3103")},"064d":function(e,t,a){"use strict";a.r(t);var i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("div",[a("div",{ref:"lxHeader"},[a("lx-header",{staticStyle:{"margin-bottom":"10px",border:"0px","margin-top":"15px"},attrs:{icon:"md-apps",text:e.$route.meta.title}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("div",{staticClass:"searchwrap",staticStyle:{display:"flex","align-items":"center"}},[a("div",[a("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"请选择状态",clearable:""},model:{value:e.select.status,callback:function(t){e.$set(e.select,"status",t)},expression:"select.status"}},e._l(e.types_status,(function(e){return a("el-option",{key:e.id,attrs:{label:e.value,value:e.id}})})),1)],1),a("div",[a("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"请选择是否额外添加课程体系",clearable:""},model:{value:e.select.is_history,callback:function(t){e.$set(e.select,"is_history",t)},expression:"select.is_history"}},[a("el-option",{attrs:{label:"是",value:1}}),a("el-option",{attrs:{label:"否",value:0}})],1)],1),a("div",[a("el-button",{attrs:{type:"primary",size:"small"},on:{click:function(t){e.select.page=1,e.getList()}}},[e._v("查询")]),a("el-button",{attrs:{type:"primary",size:"small"},on:{click:e.resetSelect}},[e._v("重置")])],1),a("div",[a("el-button",{attrs:{type:"primary",size:"small"},on:{click:function(t){return e.editTypes("add")}}},[e._v("新增")])],1)])])])],1)]),a("div",[a("xy-table",{attrs:{list:e.list,total:e.total,"table-item":e.table_item},on:{pageIndexChange:e.pageIndexChange,pageSizeChange:e.pageSizeChange},scopedSlots:e._u([{key:"status",fn:function(){return[a("el-table-column",{attrs:{align:"center",label:"状态",width:"120","header-align":"center"},scopedSlots:e._u([{key:"default",fn:function(t){return e._l(e.types_status,(function(i){return a("div",[t.row.status===i.id?a("el-tag",{attrs:{type:i.type}},[e._v(e._s(i.value))]):e._e()],1)}))}}])})]},proxy:!0},{key:"is_history",fn:function(){return[a("el-table-column",{attrs:{align:"center",label:"是否额外添加课程体系",width:"180","header-align":"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[1===t.row.is_history?a("el-tag",{attrs:{type:1===t.row.is_history?"success":"info"}},[e._v("是")]):a("el-tag",{attrs:{type:0===t.row.is_history?"info":"success"}},[e._v("否")])]}}])})]},proxy:!0},{key:"btns",fn:function(){return[a("el-table-column",{attrs:{align:"left",label:"操作",width:"180","header-align":"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"primary",size:"small"},on:{click:function(a){return e.editTypes("editor",t.row.id)}}},[e._v("编辑")]),a("el-popconfirm",{staticStyle:{margin:"0 10px"},attrs:{title:"确定删除吗?"},on:{confirm:function(a){return e.deleteList(t.row.id)}}},[a("el-button",{attrs:{slot:"reference",type:"danger",size:"small"},slot:"reference"},[e._v("删除")])],1)]}}])})]},proxy:!0}])})],1),a("add-types",{ref:"addTypes",on:{refresh:e.getList}})],1)},s=[],n=a("c7eb"),o=a("1da1"),l=a("d1cc"),r=a("be84"),c=a("90e6"),d={mixins:[r["default"]],components:{addTypes:l["default"]},data:function(){return{select:{status:"",is_history:"",page:1,page_size:10},list:[],total:0,table_item:[{prop:"name",label:"类型名称",align:"left"},{prop:"status",label:"状态",align:"center",width:120},{prop:"is_history",label:"是否额外添加课程体系",align:"center",width:180,formatter:function(e){return 1===e.is_hist
|