From 67e6a0a01b332b54e225256e142e5f00b8efbe98 Mon Sep 17 00:00:00 2001
From: kun <1422840143@qq.com>
Date: Sat, 29 Jun 2024 16:23:18 +0800
Subject: [PATCH] =?UTF-8?q?fix:=20=E6=B7=BB=E5=8A=A0=E8=B5=84=E6=96=99?=
=?UTF-8?q?=E4=B8=AD=E5=BF=83=E6=98=BE=E7=A4=BA=E5=88=A4=E6=96=AD=E4=BB=A5?=
=?UTF-8?q?=E5=8F=8A=E8=80=83=E8=AF=95=E7=B3=BB=E7=BB=9FBUG=E4=BF=AE?=
=?UTF-8?q?=E6=94=B9=E4=BB=A5=E5=8F=8A=E6=95=B0=E6=8D=AE=E6=A0=A1=E9=AA=8C?=
=?UTF-8?q?=E5=90=8C=E6=AD=A5=E5=88=97=E8=A1=A8=E5=88=B7=E6=96=B0BUG?=
=?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BB=A5=E5=8F=8A=E8=B4=A8=E9=87=8F=E5=92=8C?=
=?UTF-8?q?=E5=AE=89=E5=85=A8=E6=A8=A1=E5=9D=97=E8=A1=A8=E5=8D=95BUG?=
=?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BB=A5=E5=8F=8A=E9=9B=A8=E9=87=8F=E7=9B=91?=
=?UTF-8?q?=E6=B5=8B=E9=A1=B5=E9=9D=A2BUG=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/account.vue | 14 +------
src/store/index.js | 12 +++---
.../systemSetup/enterpriseInfo.vue | 16 ++++++++
src/views/jxjadmin/systemSettings.vue | 17 ++++++++
.../transportationManage/index.vue | 5 ++-
.../pointManagement/pointManagement.vue | 10 ++++-
.../laborManage/dataValidation.vue | 41 +++++++++++++++++--
.../divisionSubManage.vue | 16 ++++++--
.../quality/businessModule/checkPoint.vue | 6 +++
.../projectFront/quality/inspectionLedger.vue | 5 ++-
.../rainfallMonitor/alarmWarning.vue | 6 +--
.../rainfallMonitor/relaTimeData.vue | 3 +-
.../safeSame/inspectionLedger.vue | 5 ++-
13 files changed, 119 insertions(+), 37 deletions(-)
diff --git a/src/components/account.vue b/src/components/account.vue
index 9e3d5efc..ef3934cb 100644
--- a/src/components/account.vue
+++ b/src/components/account.vue
@@ -148,7 +148,7 @@
@@ -210,7 +210,6 @@ export default {
COMPANY: COMPANY,
projectType: "",
loginData: "",
- dataCenter1: 0,
seeEquipment: "",
projectBackground: "项目后台",
enterpriseBackground: "企业后台",
@@ -236,7 +235,6 @@ export default {
this.projectType = PROJECT_TYPE;
this.loginData = JSON.parse(localStorage.getItem("systemInfo"));
this.seeEquipment = this.$store.state.userInfo.seeEquipment;
- // this.getModuleList();
console.log("seeEquipment------", this.seeEquipment);
console.log(" this.loginData===================", this.loginData);
if (this.loginData.headerConfiguration != "") {
@@ -267,16 +265,6 @@ export default {
// console.log('企业后台',this.enterpriseBackground)
},
methods: {
- // 获取全部模块
- getModuleList() {
- let allModuleList = this.$store.state.userInfo.menuAuthority.moduleList;
- for(let i = 0;i
+
+
+
+
+
+ {{ form.showFileCenter == 1 ? '是' : '否' }}
+
+
+
@@ -299,6 +314,7 @@ export default {
projectBackground: '', //项目后台
equipmentChina: '', //设备中台
dataCenter: '', //资料中心
+ showFileCenter: 0, // 是否显示资料中心
projectFront: '', // 项目前台
isShowProjectFront: 0, // 是否显示项目前台
isOpenCertificateExpireWarn: 0, // 是否开启施工人员资质证书到期预警
diff --git a/src/views/jxjadmin/systemSettings.vue b/src/views/jxjadmin/systemSettings.vue
index d254bfe1..4757f676 100644
--- a/src/views/jxjadmin/systemSettings.vue
+++ b/src/views/jxjadmin/systemSettings.vue
@@ -147,6 +147,22 @@
+
+
+
+
+
+ {{ form.showFileCenter == 1 ? '是' : '否' }}
+
+
+
@@ -339,6 +355,7 @@ export default {
certificateExpireWarnAheadDay: 0, // 提前多少天
defaultApprovalCompanySn: "", // 默认审批用户注册企业
dataCenter: '', //资料中心
+ showFileCenter: 0, // 是否显示资料中心
loginTimeOut:1,
zoomType:0,
diff --git a/src/views/projectFront/earthworkTransportation/transportationManage/index.vue b/src/views/projectFront/earthworkTransportation/transportationManage/index.vue
index f16c0605..662fceb7 100644
--- a/src/views/projectFront/earthworkTransportation/transportationManage/index.vue
+++ b/src/views/projectFront/earthworkTransportation/transportationManage/index.vue
@@ -283,9 +283,10 @@ export default {
phoneNumber: [
{
required: true,
- message: "请输入",
+ message: "请输入正确的手机号格式",
trigger: "blur",
- },
+ pattern: /^1(3|4|5|6|7|8|9)\d{9}$/,
+ }
],
remark: [
{
diff --git a/src/views/projectFront/examSystem2/pointManagement/pointManagement.vue b/src/views/projectFront/examSystem2/pointManagement/pointManagement.vue
index 2894fce6..47e37b72 100644
--- a/src/views/projectFront/examSystem2/pointManagement/pointManagement.vue
+++ b/src/views/projectFront/examSystem2/pointManagement/pointManagement.vue
@@ -68,7 +68,7 @@
保存
-
+
取消
@@ -217,6 +217,14 @@ export default {
})
})
},
+ // 取消按钮
+ cancelData(index,row){
+ if(row.id){
+ this.ruleList[index].isEdit = false;
+ } else {
+ this.ruleList.splice(index,1)
+ }
+ },
//获取列表数据
getProgressListData() {
getExamPointListApi({
diff --git a/src/views/projectFront/laborManage/dataValidation.vue b/src/views/projectFront/laborManage/dataValidation.vue
index 4722c4a7..749b8b35 100644
--- a/src/views/projectFront/laborManage/dataValidation.vue
+++ b/src/views/projectFront/laborManage/dataValidation.vue
@@ -70,7 +70,8 @@
{
// console.log('连接成功:', this.topicName + this.userId)
@@ -335,6 +348,9 @@ export default {
.then((res) => {
if (res.code == 200) {
this.tableList = res.result.records;
+ // this.$set(this, 'tableList', res.result.records);
+ // this.tableList.length = 0;
+ // this.tableList.push(...res.result.records);
this.pagInfo.total = res.result.total;
if (
+res.result.total >
@@ -348,7 +364,6 @@ export default {
this.pagInfo.pageSize = +res.result.total;
}
}
- this.$forceUpdate();
}
})
.finally(() => {
@@ -360,7 +375,7 @@ export default {
handleClick(val) {
// console.log(val.name);
this.activeName = val.name;
- this.$refs.multipleTable.clearSelection();
+ this.$refs.multipleTableValidate.clearSelection();
this.pageSizeList = JSON.parse(
JSON.stringify(this.$store.state.PAGESIZRS)
);
@@ -392,6 +407,26 @@ export default {
this.getHikvisionPage();
},
},
+ computed: {
+ msgObj() { // 为了同时监听两个值
+ const { tableList, activeName } = this;
+ return {
+ tableList,
+ activeName,
+ };
+ },
+ },
+ // watch: {
+ // msgObj: {
+ // handler(newVal, oldVal) {
+ // //接下来在这里写将要进行的操作
+ // if (newVal.activeName == oldVal.activeName && JSON.stringify(newVal.tableList) != JSON.stringify(oldVal.tableList)) {
+ // this.getHikvisionPage();
+ // }
+ // },
+ // deep: true,
+ // },
+ // },
};