From b048f301d88c519daf00d2384a456eeb71eec486 Mon Sep 17 00:00:00 2001 From: yjl <1490736767@qq.com> Date: Thu, 23 Feb 2023 21:03:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=AD=E5=BB=BA=E5=9B=9B?= =?UTF-8?q?=E5=B1=80=E5=A4=A7=E5=B1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/js/api/materialManage.js | 7 + src/assets/js/api/zhongjianFourth.js | 2 + src/assets/js/http.js | 1 + src/router/index.js | 7 +- src/store/index.js | 10 +- .../fourEngin/command/rightOne.vue | 24 +- .../projectAdmin/fourEngin/govComp/Col3.vue | 8 +- .../fourEngin/progress/leftOne.vue | 2 +- .../fourEngin/quality/leftMiddle.vue | 571 ++++++----------- .../fourEngin/quality/leftTop.vue | 2 +- .../fourEngin/quality/rightBottom.vue | 603 +++++++++++------- .../fourEngin/quality/rightTop.vue | 123 ++-- .../fourEngin/security/centerBottom.vue | 73 ++- .../fourEngin/security/centerTop.vue | 8 + .../fourEngin/security/leftCenter.vue | 24 +- .../fourEngin/security/leftTop.vue | 2 +- .../materialManage/materialMobilization.vue | 301 +++++++++ 17 files changed, 1074 insertions(+), 694 deletions(-) create mode 100644 src/views/projectFront/materialManage/materialMobilization.vue diff --git a/src/assets/js/api/materialManage.js b/src/assets/js/api/materialManage.js index bce67dc9..a7c3b533 100644 --- a/src/assets/js/api/materialManage.js +++ b/src/assets/js/api/materialManage.js @@ -19,6 +19,13 @@ export const deletematerialRecordApi = data => post('xmgl/materialRecord/delete' export const materialRecordListApi = data => post('xmgl/materialRecord/selectList', data); +//材料进场记录 +export const getMaterialApprApi = data => get('xmgl/materialApproachRecord/page', data); +export const addMaterialApprApi = data => post('xmgl/materialApproachRecord/add', data); +export const deleteMaterialApprApi = data => post('xmgl/materialApproachRecord/delete', data); +export const editMaterialApprApi = data => post('xmgl/materialApproachRecord/edit', data); + + //项目从企业库复制材料数据 export const copyMaterialApi = data => post('xmgl/materialRecord/copyMaterial', data); //项目从企业库按照类别复制类别下所有材料数据 diff --git a/src/assets/js/api/zhongjianFourth.js b/src/assets/js/api/zhongjianFourth.js index bdc626c8..aafc4b0a 100644 --- a/src/assets/js/api/zhongjianFourth.js +++ b/src/assets/js/api/zhongjianFourth.js @@ -97,6 +97,8 @@ export const getLimitOrderByAcceptanceDateApi = data => get('/xmgl/subdivisionAc export const getQualifiedRatioApi = data => get('/xmgl/materialDetectionReport/getQualifiedRatio',data) export const getLimitByDetectionDateApi = data => get('/xmgl/materialDetectionReport/limitByDetectionDate',data) export const getWindowDisplaypi = data => get('/xmgl/windowDisplay/list',data) +export const getMeasuredRealQuantitypi = data => get('/xmgl/measuredRealQuantity/limitOrderBySurveyingDate',data) + diff --git a/src/assets/js/http.js b/src/assets/js/http.js index 9b9b2ba9..421a7c64 100644 --- a/src/assets/js/http.js +++ b/src/assets/js/http.js @@ -79,6 +79,7 @@ if (process.env.NODE_ENV == 'development') { // axios.defaults.baseURL = 'http://183.234.150.152:9090/' //华发 huaxin 123456789 // axios.defaults.baseURL = 'http://139.9.66.234:7072/' //三江集团测试环境 // axios.defaults.baseURL = 'http://116.169.63.183:7070' //三江集团正式环境 + // axios.defaults.baseURL = 'http://192.168.34.221:8088' //郭圣雄本地 } else if (process.env.NODE_ENV == 'debug') { axios.defaults.baseURL = 'https://www.ceshi.com' diff --git a/src/router/index.js b/src/router/index.js index 8b54a4f3..942e28b1 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -1026,10 +1026,15 @@ const routes2 = [ component: () => import('@/views/projectFront/materialManage/materialWeightList.vue') }, { - path: '/project/materialManage/materialCategory.vue', + path: '/project/materialManage/materialCategory', name: '材料管理_作业中心_榜单台账', component: () => import('@/views/projectFront/materialManage/materialCategory.vue') }, + { + path: '/project/materialManage/materialMobilization', + name: '材料管理_计量中心_材料进场记录', + component: () => import('@/views/projectFront/materialManage/materialMobilization.vue') + }, // { // path: '/project/materialManage/', // name: '材料管理_资源中心', diff --git a/src/store/index.js b/src/store/index.js index 0980a4b4..9e62e2f9 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -48,9 +48,9 @@ export default new Vuex.Store({ BASEURL: baseUrl ? baseUrl : window.location.protocol + "//" + window.location.host + "/", // - // UPLOADURL: - // window.location.protocol + "//" + window.location.host + "/upload/image", // - // FILEURL: window.location.protocol + "//" + window.location.host + "/image/", //测试 + UPLOADURL: + window.location.protocol + "//" + window.location.host + "/upload/image", // + FILEURL: window.location.protocol + "//" + window.location.host + "/image/", //测试 // tag: 本地测试接口 // BASEURL:'http://192.168.34.174:6023/', /* 2022-05-16 */ // tag: 部署河南项目时,需要打开这两行代码 @@ -63,8 +63,8 @@ export default new Vuex.Store({ // BASEURL:'http://192.168.34.116:6023/', // UPLOADURL: 'http://192.168.34.116:6023/upload/image', // FILEURL: 'http://192.168.34.116:6023/image/', - UPLOADURL: 'http://124.71.67.160:8088/upload/image', - FILEURL: 'http://124.71.67.160:8088/image/', + // UPLOADURL: 'http://124.71.67.160:8088/upload/image', + // FILEURL: 'http://124.71.67.160:8088/image/', //--- // UPLOADURL: 'http://192.168.34.125:6023/upload/image', // FILEURL: 'http://192.168.34.125:6023/image/', diff --git a/src/views/projectAdmin/fourEngin/command/rightOne.vue b/src/views/projectAdmin/fourEngin/command/rightOne.vue index 0a8d5453..339689b0 100644 --- a/src/views/projectAdmin/fourEngin/command/rightOne.vue +++ b/src/views/projectAdmin/fourEngin/command/rightOne.vue @@ -5,36 +5,36 @@
今日出勤
- -269
+{{ list.todayAtte||0}}
+在场
- -316
+{{ list.bePresent||0 }}
+今日出勤率
- -85.1%
+{{ list.atteRatio ||0}}%
+现场
- -253
+{{ list.scene||0 }}
+今日进场
- -0
+{{ list.todayMobilization||0 }}
+今日退场
- -0
+{{ list.todayExit||0}}
++ {{ item.title }} +
++ {{ item.measuredRealQuantityNumber }}/{{ item.qualifiedNumber }}次 +
+
+ {{ $t("message.dataBoard.nodata") }}
- {{ item.title }} -
-- {{ item.measuredRealQuantityNumber }}/{{ item.qualifiedNumber }}次 -
-
- {{ $t("message.dataBoard.nodata") }}
@@ -100,6 +104,57 @@
+ {{$t('message.dataBoard.nodata')}}
+
+ {{$t('message.dataBoard.nodata')}}
+今日出勤
- -269
+{{ list.todayAtte||0 }}
+在场
- -316
+{{ list.bePresent||0 }}
+今日出勤率
- -85.1%
+{{ list.atteRatio||0 }}%
+现场
- -253
+{{ list.scene||0 }}
+今日进场
-0
- + +{{ list.todayMobilization||0 }}
今日退场
-0
- + +{{ list.todayExit||0 }}