{"version":3,"sources":["webpack:///./src/views/jobMaintain/list.vue?c13b","webpack:///./src/views/jobMaintain/list.vue?38fe","webpack:///./src/views/jobMaintain/list.vue?b4af","webpack:///./src/views/jobMaintain/list.vue","webpack:///./src/components/AbSelect/index.vue?6d18","webpack:///./src/components/AbSelect/index.vue?6669","webpack:///./src/components/AbSelect/index.vue?d427","webpack:///./src/components/AbSelect/index.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","attrs","fetchData","queryForm","detailId","on","$event","scopedSlots","_u","key","fn","model","value","callback","$$v","$set","expression","proxy","staticClass","directives","name","rawName","handleCreate","_v","scope","_s","_f","row","creationTime","jumpDetail","handleEdit","handleDelete","staticRenderFns","params","api","job","getAll","$router","push","id","toString","$confirm","then","delete","res","$message","type","message","components","PagedTableView","AbSelect","ExportButton","component","placeholder","disabled","filterable","clearable","loading","val","_l","item","index","itemValue","itemKey","newVal","$emit","required","default","deep"],"mappings":"yHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACA,EAAG,mBAAmB,CAACE,MAAM,CAAC,kBAAkBN,EAAIO,UAAU,aAAaP,EAAIQ,UAAU,YAAYR,EAAIS,SAAS,mBAAmB,eAAeC,GAAG,CAAC,eAAe,SAASC,GAAQX,EAAIS,SAAS,IAAIG,YAAYZ,EAAIa,GAAG,CAAC,CAACC,IAAI,YAAYC,GAAG,WAAW,MAAO,CAACX,EAAG,eAAe,CAACA,EAAG,WAAW,CAACE,MAAM,CAAC,UAAY,GAAG,KAAO,OAAO,YAAc,WAAWU,MAAM,CAACC,MAAOjB,EAAIQ,UAAe,MAAEU,SAAS,SAAUC,GAAMnB,EAAIoB,KAAKpB,EAAIQ,UAAW,QAASW,IAAME,WAAW,sBAAsB,KAAKC,OAAM,GAAM,CAACR,IAAI,UAAUC,GAAG,WAAW,MAAO,CAACX,EAAG,aAAa,CAACmB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BAES,gBAA1B,eAAK,CAAEA,UAAU,K,gCAES,gBAA1B,eAAK,CAAEA,UAAU,K,+BAEyB,gBAA1C,eAAK,CAAEA,UAAU,EAAOC,SAAS,K,+BAEP,gBAA1B,eAAK,CAAED,UAAU,K,4BACwB,gBAAzC,eAAK,CAAEA,UAAU,EAAOC,SAAS,K,gCACS,gBAA1C,eAAK,CAAED,UAAU,EAAOC,SAAS,K,8BAUlC,gBADC,eAAM,QAAQ,CAACC,MAAK,K,uBAGpB,MAGD,gBADC,eAAM,Q,4BAGN,MA5CkB,EAAQ,gBAD5B,eAAU,CAAChD,KAAK,cACI,WChB6X,I,YCO9YgC,EAAY,eACd,EACA1D,EACAsC,GACA,EACA,KACA,WACA,MAIa,OAAAoB,E","file":"js/chunk-0a732a62.2f5844ee.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('paged-table-view',{attrs:{\"search-function\":_vm.fetchData,\"query-form\":_vm.queryForm,\"detail-id\":_vm.detailId,\"index-route-name\":\"jobMaintain\"},on:{\"detail-close\":function($event){_vm.detailId=0}},scopedSlots:_vm._u([{key:\"condition\",fn:function(){return [_c('el-form-item',[_c('el-input',{attrs:{\"clearable\":\"\",\"type\":\"text\",\"placeholder\":\"请输入标题查询\"},model:{value:(_vm.queryForm.title),callback:function ($$v) {_vm.$set(_vm.queryForm, \"title\", $$v)},expression:\"queryForm.title\"}})],1)]},proxy:true},{key:\"buttons\",fn:function(){return [_c('el-divider',{staticClass:\"query-form-divider\"}),_c('el-button',{directives:[{name:\"permission\",rawName:\"v-permission\",value:('Pages.JobMaintain.Create'),expression:\"'Pages.JobMaintain.Create'\"}],staticClass:\"margin-bottom-20\",attrs:{\"type\":\"success\"},on:{\"click\":_vm.handleCreate}},[_c('i',{staticClass:\"el-icon-plus\"}),_vm._v(\"新建 \")])]},proxy:true},{key:\"table\",fn:function(){return [_c('el-table-column',{attrs:{\"label\":\"序号\",\"type\":\"index\",\"width\":\"50\"}}),_c('el-table-column',{attrs:{\"label\":\"标题\",\"prop\":\"title\"}}),_c('el-table-column',{attrs:{\"label\":\"工作城市\",\"prop\":\"city\"}}),_c('el-table-column',{attrs:{\"label\":\"工作地点\",\"prop\":\"address\"}}),_c('el-table-column',{attrs:{\"label\":\"薪资\",\"prop\":\"salary\"}}),_c('el-table-column',{attrs:{\"label\":\"联系方式\",\"prop\":\"contact\"}}),_c('el-table-column',{attrs:{\"label\":\"招聘人数\",\"prop\":\"recruitNumber\"}}),_c('el-table-column',{attrs:{\"label\":\"学历条件\",\"prop\":\"education\"}}),_c('el-table-column',{attrs:{\"label\":\"创建时间\",\"prop\":\"creationTime\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_vm._v(\" \"+_vm._s(_vm._f(\"formatDate\")(scope.row.creationTime))+\" \")]}}])}),_c('el-table-column',{attrs:{\"label\":\"操作\",\"width\":\"250\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-button',{attrs:{\"size\":\"mini\"},on:{\"click\":function($event){return _vm.jumpDetail(scope.row)}}},[_vm._v(\"查看详情\")]),_c('el-button',{directives:[{name:\"permission\",rawName:\"v-permission\",value:('Pages.JobMaintain.Update'),expression:\"'Pages.JobMaintain.Update'\"}],attrs:{\"size\":\"mini\"},on:{\"click\":function($event){return _vm.handleEdit(scope.row)}}},[_vm._v(\"编辑\")]),_c('el-button',{directives:[{name:\"permission\",rawName:\"v-permission\",value:('Pages.JobMaintain.Delete'),expression:\"'Pages.JobMaintain.Delete'\"}],attrs:{\"size\":\"mini\",\"type\":\"danger\"},on:{\"click\":function($event){return _vm.handleDelete(scope.row)}}},[_vm._v(\"删除\")])]}}])})]},proxy:true}])})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport api from \"@/api/index\"; //ABP API接口\r\nimport { Vue, Component, Ref } from \"vue-property-decorator\";\r\nimport {JobDto} from \"@/api/appService\";\r\nimport PagedTableView from \"@/components/PagedTableView/index.vue\";\r\nimport AbSelect from \"@/components/AbSelect/index.vue\";\r\nimport ExportButton from \"@/components/ExportButton/index.vue\";\r\n@Component({\r\n name: \"JobList\",\r\n components: {\r\n PagedTableView,\r\n AbSelect,\r\n ExportButton\r\n },\r\n})\r\nexport default class JobDtoList extends Vue {\r\n\r\n detailId: number = 0;\r\n queryForm = {\r\n };\r\n\r\n created() {\r\n }\r\n\r\n // 获取表数据\r\n fetchData(params: any) {\r\n return api.job.getAll(params);\r\n }\r\n\r\n // 新建\r\n handleCreate() {\r\n this.$router.push({ name: \"jobMaintainCreate\" });\r\n }\r\n\r\n // 查看详情\r\n jumpDetail(row: JobDto) {\r\n this.detailId = row.id!\r\n this.$router.push({\r\n name: \"jobMaintainDetail\",\r\n params: { id: row.id!.toString() }\r\n });\r\n }\r\n\r\n // 编辑\r\n handleEdit(row: JobDto) {\r\n this.$router.push({\r\n name: \"jobMaintainEdit\",\r\n params: { id: row.id!.toString() }\r\n });\r\n }\r\n\r\n // 删除\r\n async handleDelete(row: JobDto) {\r\n this.$confirm(\"你确定删除吗?\", \"提示\").then(async () => {\r\n await api.job.delete({ id: row.id }).then(res => {\r\n this.$message({\r\n type: \"success\",\r\n message: \"删除成功!\"\r\n });\r\n });\r\n });\r\n }\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./list.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./list.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./list.vue?vue&type=template&id=2cb7ca22&scoped=true&\"\nimport script from \"./list.vue?vue&type=script&lang=ts&\"\nexport * from \"./list.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2cb7ca22\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-select',{attrs:{\"placeholder\":_vm.placeholder,\"disabled\":_vm.disabled,\"filterable\":_vm.filterable,\"clearable\":_vm.clearable,\"loading\":_vm.loading},model:{value:(_vm.val),callback:function ($$v) {_vm.val=$$v},expression:\"val\"}},_vm._l((_vm.list),function(item,index){return _c('el-option',{key:index,attrs:{\"label\":item[_vm.itemValue],\"value\":item[_vm.itemKey],\"disabled\":_vm.disabled}})}),1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n import {Component, Vue, Inject, Prop, Watch, Model} from \"vue-property-decorator\";\nimport api from \"@/api\";\n\n@Component({name:'AbSelect'})\nexport default class AbSelect extends Vue {\n\n @Model('change',{required:true,default:''})readonly value!: number|string;\n\n @Prop({ required: false, default: false }) filterable!: boolean;\n\n // 页面上显示的值\n @Prop({ required: true }) itemValue!: string;\n\n // 传给后台的值再数据中的属性\n @Prop({ required: true }) itemKey!: string;\n\n @Prop({ required: false }) name!: string | number;\n\n @Prop({ required: false }) placeholder!: string;\n\n // 数据数组\n @Prop({ required: true }) list!: any[];\n\n @Prop({ required: false }) itemImage!: string | undefined;\n\n @Prop({ required: false }) itemTime!: string | undefined;\n\n @Prop({ required: false, default: false }) disabled!: boolean;\n\n @Prop({ required: false }) color!: string | undefined;\n @Prop({ required: false, default: true }) clearable!: boolean;\n @Prop({ required: false, default: false }) loading!: boolean;\n\n private val: number|string = '';\n\n created(){\n if(!this.loading){\n this.val = this.value;\n }\n }\n @Watch(\"value\",{deep:true})\n getValue(newVal:string | number) {\n this.val = newVal\n }\n\n @Watch(\"val\")\n onValueChange(newVal:string | number) {\n this.$emit('change',newVal);\n }\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=b8522dd8&scoped=true&\"\nimport script from \"./index.vue?vue&type=script&lang=ts&\"\nexport * from \"./index.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"b8522dd8\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}