import{f as i}from"./paper.4b971da3.js";import{n}from"./vueComponentNormalizer.9ef17bb1.js";var r=function(){var e=this,s=e.$createElement,t=e._self._c||s;return t("el-cascader",{attrs:{options:e.question_classify_list,props:{checkStrictly:!0,value:"id",label:"name",children:e.children,emitPath:!1},clearable:""},model:{value:e.classify,callback:function(a){e.classify=a},expression:"classify"}})},o=[];const c={data:e=>({classify:null,question_classify_list:[]}),mounted(){this.mountedLoad&&this.findAllPaperClassify()},activated(){this.findAllPaperClassify()},props:{value:{default:null},mountedLoad:{default:!1}},watch:{value:{immediate:!0,deep:!0,handler(e){this.classify=e}},classify:{immediate:!1,deep:!0,handler(e){this.$emit("input",e)}}},methods:{findAllPaperClassify(){i().then(({data:e})=>{let s={};s=e.toTree();const t=s.tree;this.question_classify_list=t}).catch(e=>{console.info(e)}).finally(e=>{this.page_is_loading=!1})}}},l={};var f=n(c,r,o,!1,u,null,null,null);function u(e){for(let s in l)this[s]=l[s]}const p=function(){return f.exports}();export{p as P};
