From 8cf07f81c9e464a5e8ef55058ade6147aa39c8a3 Mon Sep 17 00:00:00 2001 From: kun <1422840143@qq.com> Date: Thu, 27 Jun 2024 18:51:28 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=96=B0=E9=A1=B9=E7=9B=AE=E7=8E=AF?= =?UTF-8?q?=E5=A2=83=E3=80=81=E5=86=85=E5=AE=B9=E6=B7=BB=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.js | 12 +- pages.json | 14 + .../laborManage/searchTeam/addAttendance.vue | 592 ++++++++++++++++++ .../searchTeam/addAttendanceManage.vue | 309 +++++++++ .../laborManage/searchTeam/personDetail.vue | 31 +- 5 files changed, 952 insertions(+), 6 deletions(-) create mode 100644 pages/projectEnd/laborManage/searchTeam/addAttendance.vue create mode 100644 pages/projectEnd/laborManage/searchTeam/addAttendanceManage.vue diff --git a/main.js b/main.js index e616f1bc..53fac709 100644 --- a/main.js +++ b/main.js @@ -32,7 +32,8 @@ Vue.component('uni-icons2', uniIcons2) // Vue.prototype.COMPANY = "zjwj" // Vue.prototype.COMPANY = "sccr" // Vue.prototype.COMPANY = "agjt" // 鞍钢集团环境 -Vue.prototype.COMPANY = "" // 标准版 +Vue.prototype.COMPANY = "cpgs" // 成平高速环境 +// Vue.prototype.COMPANY = "" // 标准版 if (process.env.NODE_ENV === 'development') { // 开发环境 console.log('开发环境') @@ -41,14 +42,14 @@ if (process.env.NODE_ENV === 'development') { // Vue.prototype.url_config = 'http://42.180.188.17:11211/' // 鞍钢测试地址 // Vue.prototype.url_config = 'http://182.90.224.237:51234/' //雄哥内网穿透地址 // Vue.prototype.url_config = 'http://jxj.zhgdyun.com:61212/' //杰哥内网穿透地址 - // Vue.prototype.url_config = ' http://192.168.34.221:28888/' //郭圣雄本地 - Vue.prototype.url_config = ' http://192.168.34.221:9111/' //郭圣雄本地 + // Vue.prototype.url_config = 'http://192.168.34.221:28888/' //郭圣雄本地 + // Vue.prototype.url_config = 'http://192.168.34.221:9111/' //郭圣雄本地 // Vue.prototype.url_config = 'http://182.90.224.237:51234/' //郭圣雄本地 - // Vue.prototype.url_config = 'http://192.168.34.155:19111/' //彭洁本地 + Vue.prototype.url_config = 'http://192.168.34.155:19111/' //彭洁本地 // Vue.prototype.work_url = 'http://47.93.215.234:19997' // 工作流线上地址(弃用) // Vue.prototype.work_url = 'http://42.180.188.17:19997' // 工作流线上地址 // Vue.prototype.work_url = 'http://42.180.188.17:19097' // 工作流测试地址 - Vue.prototype.work_url = 'http://192.168.34.175:5173' // 工作流地址 + // Vue.prototype.work_url = 'http://192.168.34.175:5173' // 工作流地址 // Vue.prototype.work_url = 'http://192.168.34.138:5173' // 工作流地址 // Vue.prototype.work_url = 'http://139.9.66.234:5173' // 工作流地址 // Vue.prototype.work_url = 'http://192.168.34.126:5173' // 工作流地址 @@ -84,6 +85,7 @@ if (process.env.NODE_ENV === 'development') { // Vue.prototype.url_config = 'http://118.121.198.147:23232'//成润正式 // Vue.prototype.url_config = 'http://huli.zjzhiliao.com/jxjgdapi'//金林湾测试 // Vue.prototype.url_config = 'http://8.136.222.164:8808/'//中科安信 + // Vue.prototype.url_config = 'http://101.43.164.214:11111/'// 百色三标段 } else { diff --git a/pages.json b/pages.json index d0ef8cb1..bfae62a5 100644 --- a/pages.json +++ b/pages.json @@ -247,6 +247,20 @@ "enablePullDownRefresh": false } }, + { + "path": "pages/projectEnd/laborManage/searchTeam/addAttendance", + "style": { + "navigationBarTitleText": "", + "enablePullDownRefresh": false + } + }, + { + "path": "pages/projectEnd/laborManage/searchTeam/addAttendanceManage", + "style": { + "navigationBarTitleText": "", + "enablePullDownRefresh": false + } + }, { "path": "pages/projectEnd/laborManage/clockIn", "style": { diff --git a/pages/projectEnd/laborManage/searchTeam/addAttendance.vue b/pages/projectEnd/laborManage/searchTeam/addAttendance.vue new file mode 100644 index 00000000..265ef93d --- /dev/null +++ b/pages/projectEnd/laborManage/searchTeam/addAttendance.vue @@ -0,0 +1,592 @@ + + + + + \ No newline at end of file diff --git a/pages/projectEnd/laborManage/searchTeam/addAttendanceManage.vue b/pages/projectEnd/laborManage/searchTeam/addAttendanceManage.vue new file mode 100644 index 00000000..9562f43c --- /dev/null +++ b/pages/projectEnd/laborManage/searchTeam/addAttendanceManage.vue @@ -0,0 +1,309 @@ + + + + + \ No newline at end of file diff --git a/pages/projectEnd/laborManage/searchTeam/personDetail.vue b/pages/projectEnd/laborManage/searchTeam/personDetail.vue index 716263a9..2d03f84a 100644 --- a/pages/projectEnd/laborManage/searchTeam/personDetail.vue +++ b/pages/projectEnd/laborManage/searchTeam/personDetail.vue @@ -103,6 +103,11 @@ src="../../../../static/personManage/qrCode.png"> 二维码 + + + 考勤录入 + @@ -296,6 +301,16 @@ + + + + + 考勤记录 + + 添加 + + @@ -314,6 +329,7 @@ qrUrl: '此二维码仅供展示', workerId: 0, operateType: false, + originWorkerInfo: {}, // 原始基本信息 workerInfo: {}, //基本信息 certificateList: [], //资格证书 workExperienceList: [], //从业信息 @@ -414,6 +430,7 @@ }, success: res => { if (res.code == 200) { + this.originWorkerInfo = {...res.result.workerInfo}; this.workerInfo = res.result.workerInfo; this.productRecord(res.result.workerInfo) //获取证书附件 @@ -525,6 +542,11 @@ this.showReduceScoreList = !this.showReduceScoreList; } + break; + case 6: + uni.navigateTo({ + url: "./addAttendanceManage?item="+ encodeURIComponent(JSON.stringify(this.originWorkerInfo)) + }); break; } }, @@ -543,7 +565,7 @@ //查看信息详情 showItemDetails(type) { - // type == 1.合同; 2.体检; 3.保险; 4安全教育; 5.二维码 + // type == 1.合同; 2.体检; 3.保险; 4安全教育; 5.二维码 ; 6.补卡 let moduleInfo = null; if (type == 1) { moduleInfo = this.contractList; @@ -553,6 +575,13 @@ moduleInfo = this.insuranceList; } else if (type == 4) { moduleInfo = this.safeEducationList; + } else if (type == 5) { + // moduleInfo = this.safeEducationList; + } else if (type == 6) { + uni.navigateTo({ + url: "./addAttendance?item="+ encodeURIComponent(JSON.stringify(this.originWorkerInfo)) + }); + return; }; uni.setStorageSync('moduleInfo', moduleInfo) uni.navigateTo({