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 lines
4.0 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-d9639dc4"],{"64c6":function(t,e,a){},"76fe":function(t,e,a){"use strict";var o=a("365c");function r(t){var e="/jobCate/index";return o["a"].get(e,t)}function i(t){var e="/jobCate/save";return o["a"].post(e,t)}function n(t){var e="/jobCate/update";return o["a"].post(e,t)}function s(t){var e="/jobCate/delete";return o["a"].post(e,t)}function u(t){var e="/jobCity/index";return o["a"].get(e,t)}function d(t){var e="/jobCity/save";return o["a"].post(e,t)}function l(t){var e="/jobCity/update";return o["a"].post(e,t)}function c(t){var e="/jobCity/delete";return o["a"].post(e,t)}function b(t){var e="/job/index";return o["a"].get(e,t)}function f(t){var e="/job/save";return o["a"].post(e,t)}function m(t){var e="/job/update";return o["a"].post(e,t)}function p(t){var e="/job/delete";return o["a"].post(e,t)}function h(t){var e="/job/read";return o["a"].get(e,t)}function v(t){var e="/resume/index";return o["a"].get(e,t)}function g(t){var e="/resume/delete";return o["a"].post(e,t)}function j(t){var e="/resume/save";return o["a"].post(e,t)}function C(t){var e="/resume/read";return o["a"].get(e,t)}function $(t){var e="/resume/update";return o["a"].post(e,t)}e["a"]={resumeUpdate:$,resumeRead:C,resumeSave:j,resumeList:v,resumeDelete:g,jobCateList:r,jobCateSave:i,jobCateUpdate:n,jobCateDelete:s,jobCityList:u,jobCitySave:d,jobCityUpdate:l,jobCityDelete:c,jobList:b,jobSave:f,jobUpdate:m,jobDelete:p,jobInfo:h}},"934e":function(t,e,a){"use strict";a("64c6")},ba67:function(t,e,a){"use strict";a.r(e);var o=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"main-box"},[a("el-button",{staticStyle:{"margin-bottom":"16px"},attrs:{type:"primary",icon:"el-icon-plus"},on:{click:t.add}},[t._v(" "+t._s(t.$t("添加城市"))+" ")]),a("BaseTable",{ref:"baseTable",attrs:{request:t.request}},[a("el-table-column",{attrs:{label:"ID",prop:"id"}}),a("el-table-column",{attrs:{label:t.$t("城市"),prop:"title"}}),a("el-table-column",{attrs:{label:t.$t("添加时间"),prop:"create_time"}}),a("el-table-column",{attrs:{label:t.$t("操作"),fixed:"right",align:"right"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("EditBtn",{on:{click:function(a){return t.edit(e.row)}}}),a("DelBtn",{on:{success:function(a){return t.del(e.row)}}})]}}])})],1),a("BaseDialog",{attrs:{title:t.addForm.id?t.$t("编辑城市"):t.$t("添加城市"),"dialog-show":t.dialogShow,width:"50%",footer:""},on:{"update:dialogShow":function(e){t.dialogShow=e},"update:dialog-show":function(e){t.dialogShow=e},submit:t.submit}},[a("el-form",{ref:"addForm",staticClass:"addForm",attrs:{model:t.addForm,rules:t.rules,"label-position":"top"}},[a("el-form-item",{attrs:{label:t.$t("城市"),prop:"title"}},[a("el-input",{attrs:{placeholder:t.$t("请输入城市名称")},model:{value:t.addForm.title,callback:function(e){t.$set(t.addForm,"title",e)},expression:"addForm.title"}})],1)],1)],1)],1)},r=[],i=a("5530"),n=a("76fe"),s={data:function(){return{request:n["a"].jobCityList,cityList:[],addForm:{title:""},rules:{title:[{required:"true",message:this.$t("请输入城市名称"),trigger:"blur"}]},dialogShow:!1}},created:function(){},methods:{add:function(){this.addForm.id="",this.addForm.title="",this.dialogShow=!0},edit:function(t){var e=this.$lodash.cloneDeep(t);this.addForm.id=e.id,this.addForm.title=e.title,this.dialogShow=!0},submit:function(){var t=this;this.$refs.addForm.validate((function(e){e?t.addForm.id?n["a"].jobCityUpdate(Object(i["a"])({},t.addForm)).then((function(e){0==e.code&&(t.$message.success(e.msg),t.dialogShow=!1,t.$refs.baseTable.getList("search"))})):n["a"].jobCitySave(Object(i["a"])({},t.addForm)).then((function(e){0==e.code&&(t.$message.success(e.msg),t.dialogShow=!1,t.$refs.baseTable.getList("search"))})):t.$message.error(t.$t("请填写必要信息"))}))},del:function(t){var e=this;n["a"].jobCityDelete({id:t.id}).then((function(t){0==t.code&&(e.$message.success(t.msg),e.$refs.baseTable.getList("search"))}))}}},u=s,d=(a("934e"),a("2877")),l=Object(d["a"])(u,o,r,!1,null,"2f5eaf3c",null);e["default"]=l.exports}}]);