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, + // }, + // }, };