From 0d899188768c45567e4c552e93263cb6a2b7dfdb Mon Sep 17 00:00:00 2001 From: 18500206848 Date: Wed, 8 May 2024 23:20:10 +0800 Subject: [PATCH] 111 --- .../tenant/main/talents/certain/index.vue | 59 ++++--------------- .../tenant/main/talents/latent/index.vue | 29 +++------ vue.config.js | 2 +- 3 files changed, 20 insertions(+), 70 deletions(-) diff --git a/src/views/tenant/main/talents/certain/index.vue b/src/views/tenant/main/talents/certain/index.vue index 5cb1426..7315372 100644 --- a/src/views/tenant/main/talents/certain/index.vue +++ b/src/views/tenant/main/talents/certain/index.vue @@ -272,29 +272,11 @@ export default { props: { label: "title", }, - hide: true, checkStrictly: true, span: 24, search: true, change: this.deptChange }, - { - label: "机构名称", - prop: "companyName", - // search: true, - // span: 24, - // rules: [ - // { - // required: true, - // whitespace: true, - // message: "请输入街道名称", - // trigger: "blur", - // }, - // ], - // slot: true, - addDisplay: false, - // hide: true - }, { label: "姓名", prop: "name", @@ -313,18 +295,21 @@ export default { }, { label: "姓别", - prop: "AAC004", - // search: true, - span: 24, + prop: "aac004", + type: 'select', + dicUrl: "/api/jobslink-api/system/dict-biz/tadict?code=AAC004", + props: { + label: "dictValue", + value: "dictValue", + }, rules: [ { required: true, - whitespace: true, message: "请输入性别", trigger: "blur", }, ], - slot: true + span: 24, }, { label: "身份证", @@ -359,6 +344,10 @@ export default { label: "dictValue", value: "dictValue", }, + props: { + label: "dictValue", + value: "dictKey", + }, rules: [ { required: true, @@ -422,24 +411,6 @@ export default { {required: true, message: "请输入经办时间", trigger: "blur"}, ], }, - { - label: "用户类型", - prop: "userId", - type: "select", - dicData: [ - { - value: "0", - label: "未注册用户", - }, - { - value: "1", - label: "已注册用户", - }, - ], - display: false, - hide: true, - // search: true - }, { label: "分组", prop: "groupId", @@ -474,12 +445,6 @@ export default { formslot: true, span: 24, }, - // { - // label: "简历", - // prop: "resume", - // slot: true, - // display: false - // }, { label: "备注", prop: "remarks", diff --git a/src/views/tenant/main/talents/latent/index.vue b/src/views/tenant/main/talents/latent/index.vue index 8d4fd83..2a80edf 100644 --- a/src/views/tenant/main/talents/latent/index.vue +++ b/src/views/tenant/main/talents/latent/index.vue @@ -274,29 +274,11 @@ export default { props: { label: "title", }, - hide: true, checkStrictly: true, span: 24, search: true, change: this.deptChange }, - { - label: "机构名称", - prop: "companyName", - // search: true, - // span: 24, - // rules: [ - // { - // required: true, - // whitespace: true, - // message: "请输入街道名称", - // trigger: "blur", - // }, - // ], - // slot: true, - addDisplay: false, - // hide: true - }, { label: "姓名", prop: "name", @@ -316,17 +298,20 @@ export default { { label: "姓别", prop: "aac004", - // search: true, - span: 24, + type: 'select', + dicUrl: "/api/jobslink-api/system/dict-biz/tadict?code=AAC004", + props: { + label: "dictValue", + value: "dictValue", + }, rules: [ { required: true, - whitespace: true, message: "请输入性别", trigger: "blur", }, ], - slot: true + span: 24, }, { label: "身份证", diff --git a/vue.config.js b/vue.config.js index 59fcc13..2fa2a74 100644 --- a/vue.config.js +++ b/vue.config.js @@ -23,7 +23,7 @@ module.exports = { port: 1888, proxy: { "/api": { - target: 'http://192.168.1.105:8000', + target: 'http://localhost:8000', ws: true, changeOrigin: true, pathRewrite: {