(window.webpackJsonp=window.webpackJsonp||[]).push([[60],{497:function(e,t,r){},614:function(e,t,r){"use strict";r(497)},726:function(e,t,r){"use strict";r.r(t);var n=r(7),o=(r(40),{data:function(){return{form:{id:0,question:[{title:"",answer:""}],hzhb_img_list:[],logo_img_list:[],banner_img_list:[],liucheng_img_1_list:[],liucheng_img_2_list:[],liucheng_img_3_list:[],fwjs_img_pc_list:[],fwjs_img_h5_list:[]},positionType:[]}},mounted:function(){var e=this.$route.query.id?this.$route.query.id:0;this.form.id=e,0!=e&&this.getDetail(e),this.getPositionType()},methods:{add_question:function(){var e=this;return Object(n.a)(regeneratorRuntime.mark((function t(){var r;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r={title:"",answer:""},e.form.question.push(r);case 2:case"end":return t.stop()}}),t)})))()},del_question:function(e){var t=this;return Object(n.a)(regeneratorRuntime.mark((function r(){return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:t.form.question.splice(e,1);case 1:case"end":return r.stop()}}),r)})))()},getDetail:function(e){var t=this;return Object(n.a)(regeneratorRuntime.mark((function r(){var n;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,t.$post("/api/admin/nav/info",{id:e});case 2:(n=r.sent)&&1===n.status&&(t.form=n.data.data);case 4:case"end":return r.stop()}}),r)})))()},save:function(){var e=this;return Object(n.a)(regeneratorRuntime.mark((function t(){var data,r;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.form,data=JSON.stringify(e.form),t.next=4,e.$post("/api/admin/nav/add",{data:data});case 4:(r=t.sent)&&1===r.status&&(e.$message({type:"success",message:"添加成功!"}),e.$store.state.domainConfig.rooterUrl);case 6:case"end":return t.stop()}}),t)})))()},getPositionType:function(){var e=this;return Object(n.a)(regeneratorRuntime.mark((function t(){var r;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.$post("/api/recruit/getOptions");case 2:(r=t.sent)&&1===r.status&&function(){for(var t=r.data.direction||[],n=[],o=function(i){var e={value:t[i].occupation_id,label:t[i].occupation_name,children:function(){if(t[i].children.length>0){for(var a=[],e=0;e