From 16230562e8a4e06b7f43372d76862aba2c96bad1 Mon Sep 17 00:00:00 2001
From: BianLzhaoMin <11485688+bianliangzhaomin123@user.noreply.gitee.com>
Date: Fri, 14 Feb 2025 17:46:31 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E4=BC=98=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
config.js | 205 +--
.../workbench/dailyPlanManagement/develop.vue | 10 +-
pages/realName/workbench/outPerson/index.vue | 1141 +++++++++--------
.../realName/workbench/outPerson/outList.vue | 947 +++++++-------
.../workbench/personEnter/addPeople.vue | 12 +-
.../workbench/personEnter/editPeople.vue | 12 +-
6 files changed, 1207 insertions(+), 1120 deletions(-)
diff --git a/config.js b/config.js
index f087721..8477d6b 100644
--- a/config.js
+++ b/config.js
@@ -39,103 +39,118 @@
// }
// 测试环境
module.exports = {
- // baseUrl:'/prod-api',
- // http://192.168.0.14:19999
- // loginBaseUrl: 'http://112.29.103.165:1616',
- // // loginBaseUrl: 'http://192.168.0.14:27018',
- // // loginBaseUrl:'http://192.168.0.14:19999',
- // // baseUrl:'http://192.168.0.14:2900',
- // baseUrl: 'http://192.168.0.14:19999',
- // // loginUrl: 'http://112.29.103.165:1616',
- // login: 'http://192.168.0.14:19200',
- // // 图片展示基础地址
- // fileUrl: 'http://192.168.0.14:19999/exam-file/',
- // // 上传文件地址
- // uploadUrl: 'http://192.168.0.14:19999/exam-file/file/uploadBase64',
- // bmwUrl: 'http://192.168.0.14:19999/exam-bmw',
- // // 体检-基础路径
- // tjBaseUrl: 'http://192.168.0.14:18077/AppPeaManager',
- // // tjBaseUrl: 'http://192.168.2.91:19100/AppPeaManager',
- // tjFile: 'http://192.168.0.14:18077/medicalDocumentation/statics/',
+ // baseUrl:'/prod-api',
+ // http://192.168.0.14:19999
+ // loginBaseUrl: 'http://112.29.103.165:1616',
+ // // loginBaseUrl: 'http://192.168.0.14:27018',
+ // // loginBaseUrl:'http://192.168.0.14:19999',
+ // // baseUrl:'http://192.168.0.14:2900',
+ // baseUrl: 'http://192.168.0.14:19999',
+ // // loginUrl: 'http://112.29.103.165:1616',
+ // login: 'http://192.168.0.14:19200',
+ // // 图片展示基础地址
+ // fileUrl: 'http://192.168.0.14:19999/exam-file/',
+ // // 上传文件地址
+ // uploadUrl: 'http://192.168.0.14:19999/exam-file/file/uploadBase64',
+ // bmwUrl: 'http://192.168.0.14:19999/exam-bmw',
+ // // 体检-基础路径
+ // tjBaseUrl: 'http://192.168.0.14:18077/AppPeaManager',
+ // // tjBaseUrl: 'http://192.168.2.91:19100/AppPeaManager',
+ // tjFile: 'http://192.168.0.14:18077/medicalDocumentation/statics/',
+ // 兰坪实名制 - 本地
+ // realBaseUrl: 'http://192.168.0.44:31910/',
+ // //兰坪实名制移动端--移动
+ // realAppUrl: 'http://192.168.0.44:31913/app',
+ // //兰坪实名制移动端--登录
+ // lpLoginUrl: 'http://192.168.0.44:39200/',
+ // //兰坪实名制移动端--后台
+ // lpBmwUrl: 'http://192.168.0.44:31912',
+ // // 兰坪实名制移动端-文件
+ // realFileUrl: 'http://192.168.0.44:31909/file/',
+ // // 兰坪实名制移动端-安培
+ // lpExamUrl: 'http://192.168.0.44:31910',
- // 兰坪实名制 - 本地
- // realBaseUrl: 'http://192.168.0.44:31910/',
- // //兰坪实名制移动端--移动
- // realAppUrl: 'http://192.168.0.44:31913/app',
- // //兰坪实名制移动端--登录
- // lpLoginUrl: 'http://192.168.0.44:39200/',
- // //兰坪实名制移动端--后台
- // lpBmwUrl: 'http://192.168.0.44:31912',
- // // 兰坪实名制移动端-文件
- // realFileUrl: 'http://192.168.0.44:31909/file/',
- // // 兰坪实名制移动端-安培
- // lpExamUrl: 'http://192.168.0.44:31910',
-
-
- //兰坪实名制 - 测试
- realBaseUrl: 'http://192.168.0.14:31910/',
- //兰坪实名制移动端--移动
- realAppUrl: 'http://192.168.0.14:31913/app',
- //兰坪实名制移动端--登录
- lpLoginUrl: 'http://192.168.0.14:39200/',
- //兰坪实名制移动端--后台
- lpBmwUrl: 'http://192.168.0.14:31912',
- // 兰坪实名制移动端-文件
- realFileUrl: 'http://192.168.0.14:31909/file/',
- // 兰坪实名制移动端-安培
- lpExamUrl: 'http://192.168.0.14:31910',
-
- // 实名制移动端 -- 新
- realNewYnUrl: 'http://192.168.0.14:1918',
- realIdCardUrl: 'http://192.168.0.14:26699',
- baseUrl: 'http://192.168.0.14:19999',
-
-
- // 兰坪实名制 线上环境
- // realAppUrl: 'http://112.29.103.165:14413/app',
-
- // lpLoginUrl : 'http://112.29.103.165:14413/auth/',
- // lpBmwUrl : 'http://112.29.103.165:14413',
-
- // realFileUrl: 'http://192.168.0.14:1909/file/',
-
- // lpExamUrl : 'http://112.29.103.165:14413/system/',
-
- //实名制移动端 线上环境
- // realNewYnUrl : 'http://112.29.103.165:14413/ynPlan',
-
- // baseUrl: 'http://112.29.103.165:1616/exam',
- // realIdCardUrl: 'http://112.29.103.165:1616/exam',
-
- // http://112.29.103.165:1616/exam/exam-student/personalCenter/getFaceRecognition
+ // //兰坪实名制 - 测试
+ // realBaseUrl: 'http://192.168.0.14:31910/',
+ // //兰坪实名制移动端--移动
+ // realAppUrl: 'http://192.168.0.14:31913/app',
+ // //兰坪实名制移动端--登录
+ // lpLoginUrl: 'http://192.168.0.14:39200/',
+ // //兰坪实名制移动端--后台
+ // lpBmwUrl: 'http://192.168.0.14:31912',
+ // // 兰坪实名制移动端-文件
+ // realFileUrl: 'http://192.168.0.14:31909/file/',
+ // // 兰坪实名制移动端-安培
+ // lpExamUrl: 'http://192.168.0.14:31910',
- // //实名制移动端-登录接口
- // realLoginUrl: 'http://192.168.0.14:1616/auth/',
- // realBaseUrl: 'http://192.168.0.14:1910/',
- // //实名制移动端-移动
- // realAppUrl: 'http://192.168.0.14:1913/app',
- // //实名制移动端-安培
- // realExamUrl: 'http://192.168.0.14:1616/system',
- // //实名制移动端-文件
- // realFileUrl: 'http://192.168.0.14:1909/file/',
- // //实名制移动端
- // realBmwUrl: 'http://192.168.0.14:1616/bmw',
- // //实名制移动端 -- 新
- // realNewBmwUrl: 'http://192.168.0.14:1616',
- // loginUrl: 'http://192.168.0.14:27018',
- // //实名制移动端 -- 新
- // realNewYnUrl: 'http://192.168.0.14:1918',
- // realIdCardUrl: 'http://192.168.0.14:26699',
+ // // 实名制移动端 -- 新
+ // realNewYnUrl: 'http://192.168.0.14:1918',
+ // realIdCardUrl: 'http://192.168.0.14:26699',
+ // baseUrl: 'http://192.168.0.14:19999',
- // //作业计划 -- 新
- // workPlanNewYnUrl: 'http://192.168.0.14:19191',
+ //兰坪实名制 - 测试
+ realBaseUrl: 'http://192.168.2.209:31910/',
+ //兰坪实名制移动端--移动
+ realAppUrl: 'http://192.168.2.209:31913/app',
+ //兰坪实名制移动端--登录
+ lpLoginUrl: 'http://192.168.2.209:39200/',
+ //兰坪实名制移动端--后台
+ lpBmwUrl: 'http://192.168.2.209:31912',
+ // 兰坪实名制移动端-文件
+ realFileUrl: 'http://192.168.2.209:31909/file/',
+ // 兰坪实名制移动端-安培
+ lpExamUrl: 'http://192.168.2.209:31910',
- // 应用信息
- appInfo: {
- // 应用名称
- name: '作业管控智慧平台',
- // 应用版本
- version: '1.1.0'
- }
-}
\ No newline at end of file
+ // 实名制移动端 -- 新
+ realNewYnUrl: 'http://192.168.2.209:1918',
+ realIdCardUrl: 'http://192.168.2.209:26699',
+ baseUrl: 'http://192.168.2.209:19999',
+
+ // 兰坪实名制 线上环境
+ // realAppUrl: 'http://112.29.103.165:14413/app',
+
+ // lpLoginUrl : 'http://112.29.103.165:14413/auth/',
+ // lpBmwUrl : 'http://112.29.103.165:14413',
+
+ // realFileUrl: 'http://192.168.0.14:1909/file/',
+
+ // lpExamUrl : 'http://112.29.103.165:14413/system/',
+
+ //实名制移动端 线上环境
+ // realNewYnUrl : 'http://112.29.103.165:14413/ynPlan',
+
+ // baseUrl: 'http://112.29.103.165:1616/exam',
+ // realIdCardUrl: 'http://112.29.103.165:1616/exam',
+
+ // http://112.29.103.165:1616/exam/exam-student/personalCenter/getFaceRecognition
+
+ // //实名制移动端-登录接口
+ // realLoginUrl: 'http://192.168.0.14:1616/auth/',
+ // realBaseUrl: 'http://192.168.0.14:1910/',
+ // //实名制移动端-移动
+ // realAppUrl: 'http://192.168.0.14:1913/app',
+ // //实名制移动端-安培
+ // realExamUrl: 'http://192.168.0.14:1616/system',
+ // //实名制移动端-文件
+ // realFileUrl: 'http://192.168.0.14:1909/file/',
+ // //实名制移动端
+ // realBmwUrl: 'http://192.168.0.14:1616/bmw',
+ // //实名制移动端 -- 新
+ // realNewBmwUrl: 'http://192.168.0.14:1616',
+ // loginUrl: 'http://192.168.0.14:27018',
+ // //实名制移动端 -- 新
+ // realNewYnUrl: 'http://192.168.0.14:1918',
+ // realIdCardUrl: 'http://192.168.0.14:26699',
+
+ // //作业计划 -- 新
+ // workPlanNewYnUrl: 'http://192.168.0.14:19191',
+
+ // 应用信息
+ appInfo: {
+ // 应用名称
+ name: '作业管控智慧平台',
+ // 应用版本
+ version: '1.1.0'
+ }
+}
diff --git a/pages/realName/workbench/dailyPlanManagement/develop.vue b/pages/realName/workbench/dailyPlanManagement/develop.vue
index 04da32b..bd81689 100644
--- a/pages/realName/workbench/dailyPlanManagement/develop.vue
+++ b/pages/realName/workbench/dailyPlanManagement/develop.vue
@@ -159,15 +159,19 @@ export default {
let errorMessage = ''
this.tableData.forEach((item, index) => {
- const totalNum = item.totalNum
+ console.log('item,指定计划时的每一项', item)
+ const totalNum = parseInt(item.totalNum)
console.log('totalNum', totalNum)
- const completeNumAllDay = Number(item.completeNumDay) || 0
+ // const completeNumAllDay = Number(item.completeNumDay) || 0
+ const completeNumAllDay = parseInt(item.completeNumAllDay)
console.log('completeNumAllDay', completeNumAllDay)
- const completeNumDay = item.completeNumDay
+ // const completeNumDay = item.completeNumDay
+ const completeNumDay = parseInt(item.completeNumDay)
console.log('completeNumDay', completeNumDay)
+ console.log(completeNumDay + completeNumAllDay > totalNum, 'completeNumDay + completeNumAllDay > totalNum')
if (completeNumDay + completeNumAllDay > totalNum) {
isValid = false
errorMessage += `第 ${index + 1} 行: 本日计划完成量 + 本月已定计划量 不能大于 本月计划量\n`
diff --git a/pages/realName/workbench/outPerson/index.vue b/pages/realName/workbench/outPerson/index.vue
index 3e01a8f..8aeeed9 100644
--- a/pages/realName/workbench/outPerson/index.vue
+++ b/pages/realName/workbench/outPerson/index.vue
@@ -1,569 +1,600 @@
-
-
-
-
- {{proName}}
-
-
- 添加暂退人员
- 人员退场
- 人员返场
-
-
-
-
-
-
-
- 暂无数据
-
-
-
-
-
-
-
-
-
-
-
-
-
- 姓名:
- {{item.name}}
-
-
- 身份证号:
- {{item.idNumber}}
-
-
- 工程:
- {{item.proName}}
-
-
- 班组:
- {{item.teamName}}
-
-
- 是否考勤:
- 未考勤
- 已考勤
-
-
- 暂退时间:
- {{item.furloughTime}}
-
-
-
-
-
-
-
-
-
-
- 全选
-
-
-
+
+
+
+ {{ proName }}
+
+
+ 添加暂退人员
+ 人员退场
+ 人员返场
+
+
+
+
+
+
+
+ 暂无数据
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 姓名:
+ {{ item.name }}
+
+
+ 身份证号:
+ {{ item.idNumber }}
+
+
+ 工程:
+ {{ item.proName }}
+
+
+ 班组:
+ {{ item.teamName }}
+
+
+ 是否考勤:
+ 未考勤
+ 已考勤
+
+
+ 暂退时间:
+ {{ item.furloughTime }}
+
+
+
+
+
+
+
+
+
+ 全选
+
+
+
+
-
-
diff --git a/pages/realName/workbench/outPerson/outList.vue b/pages/realName/workbench/outPerson/outList.vue
index 604c27e..d9e0e99 100644
--- a/pages/realName/workbench/outPerson/outList.vue
+++ b/pages/realName/workbench/outPerson/outList.vue
@@ -1,469 +1,506 @@
-
-
-
-
-
-
-
-
-
-
- 查询
-
-
-
-
-
-
-
- 暂无数据
-
-
-
-
-
-
-
-
-
-
-
-
-
- 姓名:
- {{item.name}}
-
-
- 身份证号:
- {{item.idNumber}}
-
-
- 是否考勤:
- 未考勤
- 已考勤
-
-
-
-
-
-
-
-
-
-
- 确定
-
-
-
+
+
+
+
+
+
+
+
+
+ 查询
+
+
+
+
+
+
+
+ 暂无数据
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 姓名:
+ {{ item.name }}
+
+
+ 身份证号:
+ {{ item.idNumber }}
+
+
+ 是否考勤:
+ 未考勤
+ 已考勤
+
+
+
+
+
+
+
+
+
+ 确定
+
+
+
+
-
-
diff --git a/pages/realName/workbench/personEnter/addPeople.vue b/pages/realName/workbench/personEnter/addPeople.vue
index 8aef058..e6a901a 100644
--- a/pages/realName/workbench/personEnter/addPeople.vue
+++ b/pages/realName/workbench/personEnter/addPeople.vue
@@ -386,14 +386,14 @@
- 班组级级考试
+ 班组级考试
-
+
-
-
+
+
@@ -1104,7 +1104,7 @@ export default {
companyExamFilePath: '', // 公司级考试附件
deptExamFilePath: '', // 部门级考试附件
- eamExamFilePath: '' // 班组级考试附件
+ teamExamFilePath: '' // 班组级考试附件
},
entrySubTeamBean: {
subId: '', //分包编号
@@ -1826,7 +1826,7 @@ export default {
this.entryTrainBean.deptExamFilePath = config.realBaseUrl + JSON.parse(uploadFileRes.data).data.url
}
if (type === 3) {
- this.entryTrainBean.eamExamFilePath = config.realBaseUrl + JSON.parse(uploadFileRes.data).data.url
+ this.entryTrainBean.teamExamFilePath = config.realBaseUrl + JSON.parse(uploadFileRes.data).data.url
}
} else {
uni.$u.toast('上传失败')
diff --git a/pages/realName/workbench/personEnter/editPeople.vue b/pages/realName/workbench/personEnter/editPeople.vue
index 8758ebc..df5b32e 100644
--- a/pages/realName/workbench/personEnter/editPeople.vue
+++ b/pages/realName/workbench/personEnter/editPeople.vue
@@ -398,14 +398,14 @@
- 班组级级考试
+ 班组级考试
-
+
-
-
+
+
@@ -1123,7 +1123,7 @@ export default {
isPass: '', //是否合格
companyExamFilePath: '', // 公司级考试附件
deptExamFilePath: '', // 部门级考试附件
- eamExamFilePath: '' // 班组级考试附件
+ teamExamFilePath: '' // 班组级考试附件
},
entrySubTeamBean: {
subId: '', //分包编号
@@ -1899,7 +1899,7 @@ export default {
this.entryTrainBean.deptExamFilePath = config.realBaseUrl + JSON.parse(uploadFileRes.data).data.url
}
if (type === 3) {
- this.entryTrainBean.eamExamFilePath = config.realBaseUrl + JSON.parse(uploadFileRes.data).data.url
+ this.entryTrainBean.teamExamFilePath = config.realBaseUrl + JSON.parse(uploadFileRes.data).data.url
}
} else {
uni.$u.toast('上传失败')