From 2d2430b7725094b3b0ccfbc056db884bac0afd6f Mon Sep 17 00:00:00 2001 From: liujun Date: Thu, 14 Dec 2023 10:48:34 +0800 Subject: [PATCH] =?UTF-8?q?bug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../PersonManager/user/components/add.vue | 85 +------------------ src/views/train/apply/components/record.vue | 2 +- src/views/train/apply/components/users.vue | 58 +------------ 3 files changed, 6 insertions(+), 139 deletions(-) diff --git a/src/views/PersonManager/user/components/add.vue b/src/views/PersonManager/user/components/add.vue index 5d049d7..230f7f2 100644 --- a/src/views/PersonManager/user/components/add.vue +++ b/src/views/PersonManager/user/components/add.vue @@ -237,10 +237,7 @@ - - + @@ -279,6 +276,7 @@ - - - - - - - - - - @@ -542,8 +530,7 @@ export default { ADDRESS: [{ required: false, message: '请输入现住址', trigger: 'blur' }], DEGREE_OF_EDUCATION: [{ required: true, message: '请选择文化程度', trigger: 'blur' }], CORP_START_DATE: [{ required: false, message: '请选择日期', trigger: 'blur' }], - POST_ID: [{ required: true, message: '请输入岗位', trigger: 'blur' }], - // PERSON_WORK_TYPE: [{ required: true, message: '请输入工种', trigger: 'blur' }], + POST_ID: [{ required: true, message: '请输入岗位名称(工种)', trigger: 'blur' }], ENTRY_DATE: [{ required: false, message: '请选择日期', trigger: 'blur' }], PHONE: [ { required: true, message: '请输入手机号码', trigger: 'blur' }, @@ -789,23 +776,6 @@ export default { }).catch((e) => { this.listLoading = false }) - - /* requestFN( - 'dictionaries/getLevels', - { DICTIONARIES_ID: '09e36ac01e9540f8bc84eab1c1a78754' } - ).then((data) => { - this.postList = data.list - }).catch((e) => { - this.listLoading = false - }) */ - /* requestFN( - 'dictionaries/getLevels', - { DICTIONARIES_ID: '55484e491a5e442d839c4595380713ec' } - ).then((data) => { - this.workTypeList = data.list - }).catch((e) => { - this.listLoading = false - }) */ }, changePersonType(e) { this.dialogFormLicenseInformation = true @@ -843,20 +813,6 @@ export default { }) }) }, - /* getTreetreeDataList() { - this.treeLoading = true - requestFN( - 'dictionaries/getLevels', - { - DICTIONARIES_ID: 'beafb40e1d5f48e3addbccf1d6f29572' - } - ).then((data) => { - this.treeLoading = false - this.wenhuachengduList = data.list - }).catch((e) => { - this.treeLoading = false - }) - }, */ getLearnerCategory() { requestFN( '/dictionariesCorp/getLevels', @@ -932,33 +888,6 @@ export default { } } } - // if (this.form.IS_INJURIES_PAY === '1') { - // if (this.$refs['gongshangFileList'].uploadFiles.length > 0) { - // for (let i = 0; i < this.$refs['gongshangFileList'].uploadFiles.length; i++) { - // if (this.$refs['gongshangFileList'].uploadFiles[i]) { - // formData.append('gongshang', this.$refs['gongshangFileList'].uploadFiles[i].raw) - // } - // } - // } - // } - // if (this.form.ISPAY === '1') { - // if (this.$refs['insuranceFileList'].uploadFiles.length > 0) { - // for (let i = 0; i < this.$refs['insuranceFileList'].uploadFiles.length; i++) { - // if (this.$refs['insuranceFileList'].uploadFiles[i]) { - // formData.append('insuranceFile', this.$refs['insuranceFileList'].uploadFiles[i].raw) - // } - // } - // } - // } - // if (this.form.IS_SIGN_LABOR === '1') { - // if (this.$refs['contractFileList'].uploadFiles.length > 0) { - // for (let i = 0; i < this.$refs['contractFileList'].uploadFiles.length; i++) { - // if (this.$refs['contractFileList'].uploadFiles[i]) { - // formData.append('contractFile', this.$refs['contractFileList'].uploadFiles[i].raw) - // } - // } - // } - // } formData.append('CORPINFO_ID', JSON.parse(sessionStorage.getItem('user')).CORPINFO_ID) upload( '/user/' + this.dialogType, @@ -988,14 +917,6 @@ export default { ).then((data) => { this.form = Object.assign({}, data.pd) // copy obj this.pdrelated = Object.assign({}, data.pdrelated) - /* if (this.treeData.length > 0) { - for (let i = 0; i < this.treeData.length; i++) { - const obj = this.treeData[i] - if (this.form.DEPARTMENT_ID == obj.id) { - this.DEPARTMENT_NAME = obj.name - } - } - } */ }).catch((e) => { this.listLoading = false }) diff --git a/src/views/train/apply/components/record.vue b/src/views/train/apply/components/record.vue index aa90043..e82258d 100644 --- a/src/views/train/apply/components/record.vue +++ b/src/views/train/apply/components/record.vue @@ -59,7 +59,7 @@ - + - - - - - - - -