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}}

+
diff --git a/src/views/projectAdmin/fourEngin/govComp/Col3.vue b/src/views/projectAdmin/fourEngin/govComp/Col3.vue index a6351d3c..08109172 100644 --- a/src/views/projectAdmin/fourEngin/govComp/Col3.vue +++ b/src/views/projectAdmin/fourEngin/govComp/Col3.vue @@ -75,13 +75,13 @@ export default { return { tableData: [ { - date: "混凝土抗压试验", + date: "钢筋原样送检", name: "28", address: "28", rale: "100%" }, { - date: "砌筑砂浆抗压试验", + date: "钢筋原样送检", name: "10", address: "10", rale: "100%" @@ -93,13 +93,13 @@ export default { rale: "100%" }, { - date: "机械连接原样送检", + date: "混凝土抗压试验", name: "5", address: "5", rale: "100%" }, { - date: "安全网原样送检", + date: "混凝土抗压试验", name: "1", address: "1", rale: "100%" diff --git a/src/views/projectAdmin/fourEngin/progress/leftOne.vue b/src/views/projectAdmin/fourEngin/progress/leftOne.vue index 9d0ae1ac..3ae31d15 100644 --- a/src/views/projectAdmin/fourEngin/progress/leftOne.vue +++ b/src/views/projectAdmin/fourEngin/progress/leftOne.vue @@ -1,5 +1,5 @@ +.DataTime { + +display:flex; +margin-top: 10px; +.typeName{ + margin-left:6px; + line-height: 30px; +} +} + +::v-deep .el-date-editor--daterange.el-input__inner { + cursor: pointer; + width: 235px; + height: 30px; + border: 1px solid #66d3d8; + background: transparent; +} +::v-deep .el-range-input { + cursor: pointer; + background: transparent; + color: #fff; +} +::v-deep .el-date-editor { + cursor: pointer; + .el-range__icon { + line-height: 23px; + color: #6ee4f0; + } + .el-range-separator { + line-height: 23px; + color: #757d88; + } + .el-range__close-icon { + color: #757d88; + line-height: 23px; + } +} +#trendContainer { + width: 100%; + height: 100%; + left: 0; + margin-top: -0px; +} +::v-deep .el-progress-bar { + width: 105%; + ::v-deep .el-progress-bar__outer { + height: 10px !important; + } +} +::v-deep .el-progress__text { + color: #fff; +} +::v-deep .el-progress-bar__inner { + background-color: #5ce2f6; +} + ::v-deep .el-input--suffix .el-input__inner { + background: transparent !important; + color: #fff !important; + border: 1px solid #66D3D8 !important ; + height: 30px !important; + z-index: 999; + margin-left:10px; + // width: 150px; + } + // // ::v-deep .el-input__suffix { + // right: -70px; + // top:2; + // } + + \ No newline at end of file diff --git a/src/views/projectAdmin/fourEngin/quality/leftTop.vue b/src/views/projectAdmin/fourEngin/quality/leftTop.vue index f9ef5e84..59bee205 100644 --- a/src/views/projectAdmin/fourEngin/quality/leftTop.vue +++ b/src/views/projectAdmin/fourEngin/quality/leftTop.vue @@ -43,7 +43,7 @@
- -
- + +
+
+
+
-
- -
-
- - +
+
+
+
+
室内温度
+
+ {{ currentData.temperature || 0 }} ℃ +
-
-

- {{ item.title }} -

-

- {{ item.measuredRealQuantityNumber }}/{{ item.qualifiedNumber }}次 -

- -
-
- {{ item.surveyingDate }} +
+
+
+
+
+
室内湿度
+
+ {{ currentData.humidity || 0 }}%RH +
- -
-
-
- -

{{ $t("message.dataBoard.nodata") }}

-
\ No newline at end of file + diff --git a/src/views/projectAdmin/fourEngin/quality/rightTop.vue b/src/views/projectAdmin/fourEngin/quality/rightTop.vue index 66201ce5..74d6f9ad 100644 --- a/src/views/projectAdmin/fourEngin/quality/rightTop.vue +++ b/src/views/projectAdmin/fourEngin/quality/rightTop.vue @@ -1,6 +1,6 @@ + + + +