diff --git a/jwtech-admin-page/.gitignore b/jwtech-admin-page/.gitignore
index e0615fb0..3bbe178c 100644
--- a/jwtech-admin-page/.gitignore
+++ b/jwtech-admin-page/.gitignore
@@ -10,6 +10,8 @@ tests/**/coverage/
tests/e2e/reports
selenium-debug.log
+dist/*
+
# Editor directories and files
.idea
.vscode
diff --git a/jwtech-admin-page/src/api/site/equipmentMonitoring.js b/jwtech-admin-page/src/api/site/equipmentMonitoring.js
new file mode 100644
index 00000000..ab20d447
--- /dev/null
+++ b/jwtech-admin-page/src/api/site/equipmentMonitoring.js
@@ -0,0 +1,9 @@
+import request from "@/utils/request";
+
+// 查询项目人员名单信息列表
+export function statisticsOfNormal(proNo) {
+ return request({
+ url: `/site/deviceInformation/statisticsOfNormal/${proNo}`,
+ method: "get",
+ });
+}
diff --git a/jwtech-admin-page/src/api/site/equipmentOperationWarning.js b/jwtech-admin-page/src/api/site/equipmentOperationWarning.js
new file mode 100644
index 00000000..da81ee68
--- /dev/null
+++ b/jwtech-admin-page/src/api/site/equipmentOperationWarning.js
@@ -0,0 +1,9 @@
+import request from "@/utils/request";
+
+// 查询项目人员名单信息列表
+export function statisticsOfOverweightEquipment(proNo) {
+ return request({
+ url: `/site/deviceInformation/statisticsOfOverweightEquipment/${proNo}`,
+ method: "get",
+ });
+}
diff --git a/jwtech-admin-page/src/api/site/productionOutputStatistics.js b/jwtech-admin-page/src/api/site/productionOutputStatistics.js
new file mode 100644
index 00000000..9f5ff01b
--- /dev/null
+++ b/jwtech-admin-page/src/api/site/productionOutputStatistics.js
@@ -0,0 +1,10 @@
+import request from "@/utils/request";
+
+// 查询项目人员名单信息列表
+export function getMaterialOutputStatistics(params) {
+ return request({
+ url: `/site/monitoring/getMaterialOutputStatistics`,
+ method: "get",
+ params: params
+ });
+}
diff --git a/jwtech-admin-page/src/api/site/projectPersonnelStatistics.js b/jwtech-admin-page/src/api/site/projectPersonnelStatistics.js
new file mode 100644
index 00000000..d8ef92c2
--- /dev/null
+++ b/jwtech-admin-page/src/api/site/projectPersonnelStatistics.js
@@ -0,0 +1,10 @@
+import request from "@/utils/request";
+
+// 查询项目人员名单信息列表
+export function typeStatistics(params) {
+ return request({
+ url: `/site/personnel/typeStatistics`,
+ method: "post",
+ params: params,
+ });
+}
diff --git a/jwtech-admin-page/src/utils/fileUpload.js b/jwtech-admin-page/src/utils/fileUpload.js
index 33f66d3c..a90a37fd 100644
--- a/jwtech-admin-page/src/utils/fileUpload.js
+++ b/jwtech-admin-page/src/utils/fileUpload.js
@@ -5,10 +5,10 @@ export function fileBeforeUpload (file, fileListName) {
const fileSuffix = file.name.substring(file.name.lastIndexOf(".") + 1);
- const whiteList = ["jpg", "jpeg", "png", "doc", "docx", "xls", "xlsx", "ppt", "pptx","bmp", "gif", "html", "htm", "txt", "rar", "zip", "gz", "bz2", "pdf","PDF","JPG"];
+ const whiteList = ["jpg", "jpeg", "png", "doc", "docx", "xls", "xlsx", "ppt", "pptx","bmp", "gif", "txt", "rar", "zip", "gz", "bz2", "pdf","PDF","JPG"];
if (whiteList.indexOf(fileSuffix) === -1) {
- this.msgError("上传文件只能是 jpg, jpeg, png, doc, docx, xls, xlsx, ppt, pptx,bmp, gif, html, htm, txt, rar, zip, gz, bz2, pdf]格式", "error");
+ this.msgError("上传文件只能是 jpg, jpeg, png, doc, docx, xls, xlsx, ppt, pptx,bmp, gif, txt, rar, zip, gz, bz2, pdf]格式", "error");
// return false;
this[fileListName] = this[fileListName].slice(0, this[fileListName].length);
}
diff --git a/jwtech-admin-page/src/views/building/photoManagement/index.vue b/jwtech-admin-page/src/views/building/photoManagement/index.vue
new file mode 100644
index 00000000..314b197b
--- /dev/null
+++ b/jwtech-admin-page/src/views/building/photoManagement/index.vue
@@ -0,0 +1,205 @@
+
+
+
+
+
+
+
+
+
+
+
+ 重置
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ item.name }}
+
+
+
+
+ 暂无附件
+
+
+
+
+
+ 查看
+
+
+
+
+
+
+
+
+
diff --git a/jwtech-admin-page/src/views/building/projectInfo/projectProcess/index.vue b/jwtech-admin-page/src/views/building/projectInfo/projectProcess/index.vue
index f1f063e9..49fa1e6a 100644
--- a/jwtech-admin-page/src/views/building/projectInfo/projectProcess/index.vue
+++ b/jwtech-admin-page/src/views/building/projectInfo/projectProcess/index.vue
@@ -339,10 +339,16 @@ export default {
};
},
created() {
+
this.routeList = JSON.parse(this.$store.state.basePageData.routeList);
this.activeName = this.$route.query.activeName?this.$route.query.activeName:'basePage';
console.log(this.routeList)
- this.getList();
+ if (this.$route.query.activeName) {
+ this.activeName = this.$route.query.activeName
+ }else{
+ this.getList();
+ }
+
},
methods: {
checkRole,
diff --git a/jwtech-admin-page/src/views/building/projectInfo/projectProcess/site/deviceInformation/index.vue b/jwtech-admin-page/src/views/building/projectInfo/projectProcess/site/deviceInformation/index.vue
index 1a55b294..9110122c 100644
--- a/jwtech-admin-page/src/views/building/projectInfo/projectProcess/site/deviceInformation/index.vue
+++ b/jwtech-admin-page/src/views/building/projectInfo/projectProcess/site/deviceInformation/index.vue
@@ -92,6 +92,7 @@
+
@@ -130,7 +131,7 @@
-
+
@@ -160,6 +161,18 @@
>
+
+
+
+
+
+
+
@@ -194,6 +207,7 @@ import { listDeviceInformation, getDeviceInformation, delDeviceInformation, addD
export default {
name: "DeviceInformation",
+ props: ["proNo", "proCode"],
data() {
return {
// 遮罩层
@@ -220,6 +234,7 @@ export default {
pageSize: 10,
ids:null,
data:{
+ proNo: this.proNo,
name: null,
deviceNo: null,
},
@@ -238,6 +253,7 @@ export default {
},
nameTypeOptions: [],
statusTypeOptions: [],
+ overweightAlarmOptions: [],
};
},
created() {
@@ -247,6 +263,9 @@ export default {
this.getDicts("device_status").then((response) => {
this.statusTypeOptions = response.data;
});
+ this.getDicts("sys_yes_no").then((response) => {
+ this.overweightAlarmOptions = response.data;
+ });
this.getList();
},
methods: {
@@ -256,6 +275,9 @@ export default {
statusTypeFormat(row, column) {
return this.selectDictLabel(this.statusTypeOptions, row.status);
},
+ overweightAlarmTypeFormat(row, column) {
+ return this.selectDictLabel(this.overweightAlarmOptions, row.isOverweight);
+ },
/** 查询设备基本信息列表 */
getList() {
this.loading = true;
@@ -281,12 +303,13 @@ export default {
unit: null,
manufacturer: null,
eligibilityDate: null,
- proNo: null,
+ proNo: this.proNo,
createUid: null,
createTime: null,
updateUid: null,
updateTime: null,
- remark: null
+ remark: null,
+ isOverweight: null,
};
this.resetForm("form");
},
@@ -304,7 +327,7 @@ export default {
unit: null,
manufacturer: null,
eligibilityDate: null,
- proNo: null,
+ proNo: this.proNo,
createUid: null,
createTime: null,
updateUid: null,
diff --git a/jwtech-admin-page/src/views/building/projectInfo/projectProcess/site/equipmentMonitoring/index.vue b/jwtech-admin-page/src/views/building/projectInfo/projectProcess/site/equipmentMonitoring/index.vue
new file mode 100644
index 00000000..377538fe
--- /dev/null
+++ b/jwtech-admin-page/src/views/building/projectInfo/projectProcess/site/equipmentMonitoring/index.vue
@@ -0,0 +1,92 @@
+
+
+
+
+
+
diff --git a/jwtech-admin-page/src/views/building/projectInfo/projectProcess/site/equipmentOperationWarning/index.vue b/jwtech-admin-page/src/views/building/projectInfo/projectProcess/site/equipmentOperationWarning/index.vue
new file mode 100644
index 00000000..cb854423
--- /dev/null
+++ b/jwtech-admin-page/src/views/building/projectInfo/projectProcess/site/equipmentOperationWarning/index.vue
@@ -0,0 +1,93 @@
+
+
+
+
+
+
diff --git a/jwtech-admin-page/src/views/building/projectInfo/projectProcess/site/index.vue b/jwtech-admin-page/src/views/building/projectInfo/projectProcess/site/index.vue
index 276b4897..6f3a8452 100644
--- a/jwtech-admin-page/src/views/building/projectInfo/projectProcess/site/index.vue
+++ b/jwtech-admin-page/src/views/building/projectInfo/projectProcess/site/index.vue
@@ -102,6 +102,48 @@
:proCode="proCode"
/>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -121,11 +163,15 @@ import record from "./record/index.vue";
import statistics from "./statistics/index.vue";
import qualityMonitoring from "./qualityMonitoring/index.vue";
import personnelAttendanceStatistics from "./personnelAttendanceStatistics/index.vue";
+import equipmentMonitoring from "./equipmentMonitoring/index.vue";
+import equipmentOperationWarning from "./equipmentOperationWarning/index.vue";
+import productionOutputStatistics from "./productionOutputStatistics/index.vue";
+import projectPersonnelStatistics from "./projectPersonnelStatistics/index.vue";
export default {
props: ["projectName", "proNo", "proCode"],
components: { personnel, personDetails, loInformation, deviceInformation, information,monitoring,
- noiseMonitoring,vehicleInformation,outputL,trackL,record,statistics,qualityMonitoring,personnelAttendanceStatistics},
+ noiseMonitoring,vehicleInformation,outputL,trackL,record,statistics,qualityMonitoring,personnelAttendanceStatistics,equipmentMonitoring,equipmentOperationWarning,productionOutputStatistics,projectPersonnelStatistics},
data() {
return {
activeName: "personnel",
diff --git a/jwtech-admin-page/src/views/building/projectInfo/projectProcess/site/information/index.vue b/jwtech-admin-page/src/views/building/projectInfo/projectProcess/site/information/index.vue
index 795e074e..62708392 100644
--- a/jwtech-admin-page/src/views/building/projectInfo/projectProcess/site/information/index.vue
+++ b/jwtech-admin-page/src/views/building/projectInfo/projectProcess/site/information/index.vue
@@ -137,9 +137,9 @@
placeholder="选择逗留时间">
-
+