diff --git a/.env.development b/.env.development index b6fc12c..5d4dc3a 100644 --- a/.env.development +++ b/.env.development @@ -1,3 +1,3 @@ # 开发环境 # 请求接口地址 -VITE_REQUEST_BASE_URL = https://36.112.48.190 +VITE_REQUEST_BASE_URL = http://10.75.166.6:8080 diff --git a/api/renyuan.js b/api/renyuan.js index 636b05a..0848390 100644 --- a/api/renyuan.js +++ b/api/renyuan.js @@ -57,6 +57,15 @@ export function queryZyzgdjByRyLdhth(ldhth) { // 获取人员职业资格等级 }) } + +export function queryJxkhByRyLdhth(ldhth) { // 绩效考核信息 + return https({ + url: '/cxc_rlzy.zb/cxcRlzyZb/listCxcRlzyJxkhByMainId', + method: 'get', + data: ldhth + }) +} + // ryList: '/cxchrygxxtj/cxcHrYgxxtj/list', // ryByXb: '/cxcRyData/countByXb', // ryByNl: '/cxcRyData/countByNl', diff --git a/bpm/leaveApplication/index.vue b/bpm/leaveApplication/index.vue index a9c86a6..4a79283 100644 --- a/bpm/leaveApplication/index.vue +++ b/bpm/leaveApplication/index.vue @@ -182,6 +182,14 @@ }).then((res) => { if (res.success) { step.value = res.result.records + step.value = step.value.map(item => { + if (item.name === 'start') { + item.name = '开始'; + } else if (item.name === 'end') { + item.name = '结束'; + } + return item; + }); } }) } diff --git a/manifest.json b/manifest.json index 57ec6a8..57a7b73 100644 --- a/manifest.json +++ b/manifest.json @@ -1,123 +1,122 @@ { - "name" : "数智产销", - "appid" : "__UNI__9F097F0", - "description" : "", - "versionName" : "1.1.1", - "versionCode" : 20250106, - "transformPx" : false, - /* 5+App特有相关 */ - "app-plus" : { - "usingComponents" : true, - "nvueStyleCompiler" : "uni-app", - "compilerVersion" : 3, - "splashscreen" : { - "alwaysShowBeforeRender" : true, - "waiting" : true, - "autoclose" : true, - "delay" : 0 - }, - "compatible" : { - "ignoreVersion" : true - }, - /* 模块配置 */ - "modules" : { - "Geolocation" : {}, - "Fingerprint" : {}, - "Camera" : {}, - "Barcode" : {} - }, - /* 应用发布信息 */ - "distribute" : { - /* android打包配置 */ - "android" : { - "permissions" : [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ] - }, - /* ios打包配置 */ - "ios" : { - "dSYMs" : false - }, - /* SDK配置 */ - "sdkConfigs" : { - "ad" : {}, - "geolocation" : { - "system" : { - "__platform__" : [ "android" ] - } - } - }, - "icons" : { - "android" : { - "hdpi" : "unpackage/res/icons/72x72.png", - "xhdpi" : "unpackage/res/icons/96x96.png", - "xxhdpi" : "unpackage/res/icons/144x144.png", - "xxxhdpi" : "unpackage/res/icons/192x192.png" - }, - "ios" : { - "appstore" : "unpackage/res/icons/1024x1024.png", - "ipad" : { - "app" : "unpackage/res/icons/76x76.png", - "app@2x" : "unpackage/res/icons/152x152.png", - "notification" : "unpackage/res/icons/20x20.png", - "notification@2x" : "unpackage/res/icons/40x40.png", - "proapp@2x" : "unpackage/res/icons/167x167.png", - "settings" : "unpackage/res/icons/29x29.png", - "settings@2x" : "unpackage/res/icons/58x58.png", - "spotlight" : "unpackage/res/icons/40x40.png", - "spotlight@2x" : "unpackage/res/icons/80x80.png" - }, - "iphone" : { - "app@2x" : "unpackage/res/icons/120x120.png", - "app@3x" : "unpackage/res/icons/180x180.png", - "notification@2x" : "unpackage/res/icons/40x40.png", - "notification@3x" : "unpackage/res/icons/60x60.png", - "settings@2x" : "unpackage/res/icons/58x58.png", - "settings@3x" : "unpackage/res/icons/87x87.png", - "spotlight@2x" : "unpackage/res/icons/80x80.png", - "spotlight@3x" : "unpackage/res/icons/120x120.png" - } - } - } - } - }, - /* 快应用特有相关 */ - "quickapp" : {}, - /* 小程序特有相关 */ - "mp-weixin" : { - "appid" : "", - "setting" : { - "urlCheck" : false - }, - "usingComponents" : true - }, - "mp-alipay" : { - "usingComponents" : true - }, - "mp-baidu" : { - "usingComponents" : true - }, - "mp-toutiao" : { - "usingComponents" : true - }, - "uniStatistics" : { - "enable" : false - }, - "vueVersion" : "3" + "name": "数智产销", + "appid": "__UNI__9F097F0", + "description": "", + "versionName": "1.1.4", + "versionCode": 20250121, + "transformPx": false, + /* 5+App特有相关 */ + "app-plus": { + "usingComponents": true, + "nvueStyleCompiler": "uni-app", + "compilerVersion": 3, + "splashscreen": { + "alwaysShowBeforeRender": true, + "waiting": true, + "autoclose": true, + "delay": 0 + }, + "compatible": { + "ignoreVersion": true + }, + /* 模块配置 */ + "modules": { + "Geolocation": {}, + "Fingerprint": {}, + "Camera": {}, + "Barcode": {} + }, + /* 应用发布信息 */ + "distribute": { + /* android打包配置 */ + "android": { + "permissions": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ] + }, + /* ios打包配置 */ + "ios": { + "dSYMs": false + }, + /* SDK配置 */ + "sdkConfigs": { + "ad": {}, + "geolocation": { + "system": { + "__platform__": ["android"] + } + } + }, + "icons": { + "android": { + "hdpi": "unpackage/res/icons/72x72.png", + "xhdpi": "unpackage/res/icons/96x96.png", + "xxhdpi": "unpackage/res/icons/144x144.png", + "xxxhdpi": "unpackage/res/icons/192x192.png" + }, + "ios": { + "appstore": "unpackage/res/icons/1024x1024.png", + "ipad": { + "app": "unpackage/res/icons/76x76.png", + "app@2x": "unpackage/res/icons/152x152.png", + "notification": "unpackage/res/icons/20x20.png", + "notification@2x": "unpackage/res/icons/40x40.png", + "proapp@2x": "unpackage/res/icons/167x167.png", + "settings": "unpackage/res/icons/29x29.png", + "settings@2x": "unpackage/res/icons/58x58.png", + "spotlight": "unpackage/res/icons/40x40.png", + "spotlight@2x": "unpackage/res/icons/80x80.png" + }, + "iphone": { + "app@2x": "unpackage/res/icons/120x120.png", + "app@3x": "unpackage/res/icons/180x180.png", + "notification@2x": "unpackage/res/icons/40x40.png", + "notification@3x": "unpackage/res/icons/60x60.png", + "settings@2x": "unpackage/res/icons/58x58.png", + "settings@3x": "unpackage/res/icons/87x87.png", + "spotlight@2x": "unpackage/res/icons/80x80.png", + "spotlight@3x": "unpackage/res/icons/120x120.png" + } + } + } + } + }, + /* 快应用特有相关 */ + "quickapp": {}, + /* 小程序特有相关 */ + "mp-weixin": { + "appid": "", + "setting": { + "urlCheck": false + }, + "usingComponents": true + }, + "mp-alipay": { + "usingComponents": true + }, + "mp-baidu": { + "usingComponents": true + }, + "mp-toutiao": { + "usingComponents": true + }, + "uniStatistics": { + "enable": false + }, + "vueVersion": "3" } -/* 模块配置 */ - +/* 模块配置 */ \ No newline at end of file diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..ed89a0e --- /dev/null +++ b/package-lock.json @@ -0,0 +1,95 @@ +{ + "name": "cxc-szcx-uniapp", + "lockfileVersion": 2, + "requires": true, + "packages": { + "": { + "dependencies": { + "@dcloudio/uni-ui": "^1.5.6", + "base-64": "^1.0.0", + "dayjs": "^1.11.13", + "echarts": "^5.6.0" + } + }, + "node_modules/@dcloudio/uni-ui": { + "version": "1.5.6", + "resolved": "https://registry.npmjs.org/@dcloudio/uni-ui/-/uni-ui-1.5.6.tgz", + "integrity": "sha512-jmb98PasFvZkrIDXGh94GbdWg2/jyhgs1HUG+bU8eyL7Ltias/5XBz4q8w9RXyWUfqepJRqapPA2IIQpLCuTIg==", + "license": "Apache-2.0" + }, + "node_modules/base-64": { + "version": "1.0.0", + "resolved": "https://registry.npmmirror.com/base-64/-/base-64-1.0.0.tgz", + "integrity": "sha512-kwDPIFCGx0NZHog36dj+tHiwP4QMzsZ3AgMViUBKI0+V5n4U0ufTCUMhnQ04diaRI8EX/QcPfql7zlhZ7j4zgg==" + }, + "node_modules/dayjs": { + "version": "1.11.13", + "resolved": "https://registry.npmmirror.com/dayjs/-/dayjs-1.11.13.tgz", + "integrity": "sha512-oaMBel6gjolK862uaPQOVTA7q3TZhuSvuMQAAglQDOWYO9A91IrAOUJEyKVlqJlHE0vq5p5UXxzdPfMH/x6xNg==" + }, + "node_modules/echarts": { + "version": "5.6.0", + "resolved": "https://registry.npmmirror.com/echarts/-/echarts-5.6.0.tgz", + "integrity": "sha512-oTbVTsXfKuEhxftHqL5xprgLoc0k7uScAwtryCgWF6hPYFLRwOUHiFmHGCBKP5NPFNkDVopOieyUqYGH8Fa3kA==", + "license": "Apache-2.0", + "dependencies": { + "tslib": "2.3.0", + "zrender": "5.6.1" + } + }, + "node_modules/tslib": { + "version": "2.3.0", + "resolved": "https://registry.npmmirror.com/tslib/-/tslib-2.3.0.tgz", + "integrity": "sha512-N82ooyxVNm6h1riLCoyS9e3fuJ3AMG2zIZs2Gd1ATcSFjSA23Q0fzjjZeh0jbJvWVDZ0cJT8yaNNaaXHzueNjg==", + "license": "0BSD" + }, + "node_modules/zrender": { + "version": "5.6.1", + "resolved": "https://registry.npmmirror.com/zrender/-/zrender-5.6.1.tgz", + "integrity": "sha512-OFXkDJKcrlx5su2XbzJvj/34Q3m6PvyCZkVPHGYpcCJ52ek4U/ymZyfuV1nKE23AyBJ51E/6Yr0mhZ7xGTO4ag==", + "license": "BSD-3-Clause", + "dependencies": { + "tslib": "2.3.0" + } + } + }, + "dependencies": { + "@dcloudio/uni-ui": { + "version": "1.5.6", + "resolved": "https://registry.npmjs.org/@dcloudio/uni-ui/-/uni-ui-1.5.6.tgz", + "integrity": "sha512-jmb98PasFvZkrIDXGh94GbdWg2/jyhgs1HUG+bU8eyL7Ltias/5XBz4q8w9RXyWUfqepJRqapPA2IIQpLCuTIg==" + }, + "base-64": { + "version": "1.0.0", + "resolved": "https://registry.npmmirror.com/base-64/-/base-64-1.0.0.tgz", + "integrity": "sha512-kwDPIFCGx0NZHog36dj+tHiwP4QMzsZ3AgMViUBKI0+V5n4U0ufTCUMhnQ04diaRI8EX/QcPfql7zlhZ7j4zgg==" + }, + "dayjs": { + "version": "1.11.13", + "resolved": "https://registry.npmmirror.com/dayjs/-/dayjs-1.11.13.tgz", + "integrity": "sha512-oaMBel6gjolK862uaPQOVTA7q3TZhuSvuMQAAglQDOWYO9A91IrAOUJEyKVlqJlHE0vq5p5UXxzdPfMH/x6xNg==" + }, + "echarts": { + "version": "5.6.0", + "resolved": "https://registry.npmmirror.com/echarts/-/echarts-5.6.0.tgz", + "integrity": "sha512-oTbVTsXfKuEhxftHqL5xprgLoc0k7uScAwtryCgWF6hPYFLRwOUHiFmHGCBKP5NPFNkDVopOieyUqYGH8Fa3kA==", + "requires": { + "tslib": "2.3.0", + "zrender": "5.6.1" + } + }, + "tslib": { + "version": "2.3.0", + "resolved": "https://registry.npmmirror.com/tslib/-/tslib-2.3.0.tgz", + "integrity": "sha512-N82ooyxVNm6h1riLCoyS9e3fuJ3AMG2zIZs2Gd1ATcSFjSA23Q0fzjjZeh0jbJvWVDZ0cJT8yaNNaaXHzueNjg==" + }, + "zrender": { + "version": "5.6.1", + "resolved": "https://registry.npmmirror.com/zrender/-/zrender-5.6.1.tgz", + "integrity": "sha512-OFXkDJKcrlx5su2XbzJvj/34Q3m6PvyCZkVPHGYpcCJ52ek4U/ymZyfuV1nKE23AyBJ51E/6Yr0mhZ7xGTO4ag==", + "requires": { + "tslib": "2.3.0" + } + } + } +} diff --git a/pages/views/renliziyuan/renyuanxinxi/detail.vue b/pages/views/renliziyuan/renyuanxinxi/detail.vue index dd036d2..cc2e1c0 100644 --- a/pages/views/renliziyuan/renyuanxinxi/detail.vue +++ b/pages/views/renliziyuan/renyuanxinxi/detail.vue @@ -4,6 +4,45 @@ + + + + + + 序号 + + + + + 绩效考核年份 + + + + + 绩效考核成绩 + + + + + + + + + + {{index+1}} + + + + + {{item.nf}} + + + + {{item.khcj+"---"+item.khcj_dictText}} + + + + @@ -248,7 +287,8 @@ queryJtzycyByRyLdhth, queryXlxxByRyLdhth, queryGbxxByRyLdhth, - queryZyzgdjByRyLdhth + queryZyzgdjByRyLdhth, + queryJxkhByRyLdhth } from '@/api/renyuan.js' import { useStore @@ -268,10 +308,22 @@ const xlxxList = ref([]) // 人员其他子表信息-学历证书 const gbxxList = ref([]) // 人员其他子表信息-干部信息 const zyzgdjList = ref([]) // 人员其他子表信息-职业资格等级 + const jxkhxxList = ref([]) // 人员其他子表信息-绩效考核信息 function getChildTable() { console.log(ldhth.value) + + queryJxkhByRyLdhth({ + "ldhth": ldhth.value + }).then((res) => { + console.log(res); + jxkhxxList.value = res.result.records + console.log(jxkhxxList.value) + }).catch((err) => { + console.log(err); + }) + queryGbxxByRyLdhth({ "ldhth": ldhth.value }).then((res) => { @@ -327,20 +379,29 @@ xlxxList.value = [] if (res.result.records.length > 0) { var rress = res.result.records + console.log(rress); for (let i = 0; i < rress.length; i++) { - if (rress[i].onexl == 1) { + if (rress[i].onexl == 1 & rress[i].zgxl == 1) { + rress[i].xllb = "第一学历" + xlxxList.value.push(JSON.parse(JSON.stringify(rress[i]))) + console.log(xlxxList.value) + rress[i].xllb = "最高学历" + xlxxList.value.push(JSON.parse(JSON.stringify(rress[i]))) + console.log(xlxxList.value) + } + if (rress[i].onexl == 1 & rress[i].zgxl != 1) { rress[i].xllb = "第一学历" xlxxList.value.push(rress[i]) + } - if (rress[i].zgxl == 1) { + if (rress[i].onexl != 1 & rress[i].zgxl == 1) { rress[i].xllb = "最高学历" xlxxList.value.push(rress[i]) } - } - } - console.log(xlxxList.value); + + } } }).catch((err) => { console.log(err); diff --git a/pages/views/renliziyuan/renyuanxinxi/taizhang.vue b/pages/views/renliziyuan/renyuanxinxi/taizhang.vue index 5c25ddf..97742b7 100644 --- a/pages/views/renliziyuan/renyuanxinxi/taizhang.vue +++ b/pages/views/renliziyuan/renyuanxinxi/taizhang.vue @@ -2,7 +2,6 @@ - @@ -10,10 +9,10 @@ type="h5"> - - @@ -34,6 +33,9 @@ :border="true" :data="ryDataList" @detail="detail"> + + 当前页:{{ current }},数据总量:{{ total }}条,每页数据:{{ pageSize }} + @@ -97,12 +99,6 @@ width: 70, align: 'center' }, - // { - // name: 'gzdw', - // label: '单位', - // align: 'center', - // width: 150 - // }, { name: 'xb_dictText', label: '性别', @@ -118,6 +114,7 @@ { name: 'operation', type: 'operation', + width: 60, fixed: true, label: '操作', align: 'center', @@ -139,7 +136,6 @@ function detail(record) { // console.log(record) - uni.navigateTo({ url: "/pages/views/renliziyuan/renyuanxinxi/detail?data=" + encodeURIComponent(JSON.stringify(record)) }) @@ -169,8 +165,7 @@ ryDataList.value = res.result.records total.value = res.result.total pages.value = res.result.pages - - + current.value = res.result.current } }).catch((err) => { console.log(err); diff --git a/pages/views/renliziyuan/renyuanxinxi/tongji.vue b/pages/views/renliziyuan/renyuanxinxi/tongji.vue index 16847f7..6b008cf 100644 --- a/pages/views/renliziyuan/renyuanxinxi/tongji.vue +++ b/pages/views/renliziyuan/renyuanxinxi/tongji.vue @@ -2,26 +2,26 @@ - - + + - - - - - - - - + + + + + + + - @@ -29,6 +29,7 @@ diff --git a/pages/views/zhongheguanli/zhiban/index.vue b/pages/views/zhongheguanli/zhiban/index.vue index eb3329b..84ddae1 100644 --- a/pages/views/zhongheguanli/zhiban/index.vue +++ b/pages/views/zhongheguanli/zhiban/index.vue @@ -1,40 +1,54 @@ @@ -53,6 +67,36 @@ } from '@/store'; const store = useStore() import dayjs from 'dayjs'; + + + let column = ref([{ + name: 'date', + label: '日期', + width: 70, + align: 'center' + }, + + { + name: 'dbld_dictText', + label: '带班领导', + align: 'center', + width: 60 + }, + { + name: 'zbld_dictText', + label: '值班领导', + align: 'center', + width: 60 + }, + { + name: 'zbgbrealname', + label: '值班干部', + align: 'center', + width: 150 + } + + ]) + const zhibanArr = ref([]) onLoad(() => { zhibanQuery() @@ -83,36 +127,36 @@ color: #333333; } - .info { - background: #F8F8F8; - border-radius: 8rpx; + + .titleStyle { + font-size: 12px; + color: #747474; + line-height: 25px; + height: 25px; + background: #F2F9FC; text-align: center; - width: 690rpx; - margin-top: 23rpx; + vertical-align: middle; + border-left: 1px solid #919191; + border-bottom: 1px solid #919191; + ; + } - .info_title { - font-size: 24rpx; - color: #333333; - padding: 24rpx 0; - border-bottom: 1px solid #EFEFEF; + /* 内容样式 */ + .dataStyle { + max-font-size: 14px; + /* 最大字体限制 */ + min-font-size: 10px; + /* 最小字体限制 */ + font-size: 12px; + color: #00007f; + line-height: 25px; + height: 25px; + font-weight: 500; + text-align: center; + vertical-align: middle; + border-bottom: 1px solid #919191; + border-left: 1px solid #919191; + text-overflow: ellipsis; - view { - flex: 1; - } - } - - .data_box { - font-size: 24rpx; - padding-bottom: 24rpx; - color: #888888; - - .data { - margin-top: 23rpx; - - view { - flex: 1; - } - } - } } \ No newline at end of file