diff --git a/ruoyi-ui/src/views/project/projectChecking/index.vue b/ruoyi-ui/src/views/project/projectChecking/index.vue index 6f356a04..c1e1e49c 100644 --- a/ruoyi-ui/src/views/project/projectChecking/index.vue +++ b/ruoyi-ui/src/views/project/projectChecking/index.vue @@ -24,7 +24,35 @@ @keyup.enter.native="handleQuery" /> - + + + + + + + + + + - - @@ -249,13 +298,6 @@ - 处理审批 修改 - + - + + + + + + + + + + + - + @@ -439,7 +517,13 @@ export default { ElImageViewer, approveCheckingDrawer, }, - dicts: ["sys_common_isdel","project_check_status", "project_checking_result"], + dicts: [ + "sys_common_isdel", + "project_check_status", + "project_checking_result", + "project_checking_data_type_lvl1", + "project_checking_data_type_lvl2", + ], data() { return { showViewer: false, @@ -484,7 +568,9 @@ export default { isDel: null, projectName: null, deptName: null, - approveStatus:null, + approveStatus: null, + dataTypeLvl1: null, + dataTypeLvl2: null, activeName: "jxz", }, tabs: { @@ -497,6 +583,8 @@ export default { // 表单校验 rules: { imageUrls: [{ required: true, message: "请上传验收图片", trigger: "blur" }], + dataTypeLvl1: [{ required: true, message: "请选择验收类型", trigger: "blur" }], + dataTypeLvl2: [{ required: true, message: "请选择类型分类", trigger: "blur" }], qualityUser: [{ required: true, message: "请选择质量专员", trigger: "blur" }], superviseUser: [{ required: true, message: "请选择监理专员", trigger: "blur" }], checkWorkingPosition: [ @@ -511,7 +599,7 @@ export default { checkResult: [{ required: false, message: "请选择验收结果", trigger: "blur" }], }, deptUserData: [], - deptUserData2:[], + deptUserData2: [], previewList: [], }; }, @@ -519,6 +607,15 @@ export default { this.getList(); }, methods: { + findUpdateData(val) { + // this.$store.getters.userId==1 + // val != "4" + if (true) { + return true; + } else { + return false; + } + }, getImageUrl(url) { return process.env.VUE_APP_BASE_API + url + ".min.jpg"; }, @@ -640,13 +737,13 @@ export default { }) .then((d) => { this.deptUserData2 = d.data; - }); + }); }, /** 提交按钮 */ submitForm() { this.$refs["form"].validate((valid) => { if (valid) { - this.form.approveStatus="1"; + this.form.approveStatus = "1"; if (this.form.id != null) { updateProjectChecking(this.form).then((response) => { this.$modal.msgSuccess("修改成功"); @@ -716,15 +813,15 @@ export default { }, /** 审批日志 */ handleAuditinfo(row) { - row.title="举牌验收"; - row.logType="3"; + row.title = "举牌验收"; + row.logType = "3"; this.$refs.indexDrawer.show(row); }, /** 处理审批 */ - handleAudit(row){ - row.typeName="举牌验收"; + handleAudit(row) { + row.typeName = "举牌验收"; this.$refs.approveCheckingDrawer.show(row); - } + }, }, }; diff --git a/ruoyi-ui/src/views/project/projectChecking/projectCheckingDrawer.vue b/ruoyi-ui/src/views/project/projectChecking/projectCheckingDrawer.vue index e8982101..9a3f1471 100644 --- a/ruoyi-ui/src/views/project/projectChecking/projectCheckingDrawer.vue +++ b/ruoyi-ui/src/views/project/projectChecking/projectCheckingDrawer.vue @@ -71,17 +71,19 @@ - + + + + @@ -105,7 +123,6 @@ label="验收描述" align="left" prop="intro" - width="220" show-overflow-tooltip /> --> - + 审批日志 修改 - + + + + + + + + + + + { this.nodes = d.rows; @@ -562,7 +629,7 @@ export default { submitForm() { this.$refs["form"].validate((valid) => { if (valid) { - this.form.approveStatus="1"; + this.form.approveStatus = "1"; if (this.form.id != null) { updateProjectChecking(this.form).then((response) => { this.$modal.msgSuccess("修改成功"); @@ -634,10 +701,10 @@ export default { }, /** 审批日志 */ handleAuditinfo(row) { - row.title="举牌验收"; - row.logType="3"; + row.title = "举牌验收"; + row.logType = "3"; this.$refs.indexDrawer.show(row); - } + }, }, }; diff --git a/ruoyi-ui/src/views/project/surProject/index.vue b/ruoyi-ui/src/views/project/surProject/index.vue index 0e43fefa..1829932e 100644 --- a/ruoyi-ui/src/views/project/surProject/index.vue +++ b/ruoyi-ui/src/views/project/surProject/index.vue @@ -409,7 +409,7 @@ command="handleWorkTrain" icon="el-icon-notebook-2" v-hasPermi="['work:workTrain:list']" - >项目专项培训项目教育培训 - + diff --git a/ruoyi-ui/src/views/statistics/statisticsProjectJl/index.vue b/ruoyi-ui/src/views/statistics/statisticsProjectJl/index.vue index a682be44..b6ab05fe 100644 --- a/ruoyi-ui/src/views/statistics/statisticsProjectJl/index.vue +++ b/ruoyi-ui/src/views/statistics/statisticsProjectJl/index.vue @@ -105,7 +105,7 @@ - + diff --git a/ruoyi-ui/src/views/work/emergencyDrill/emergencyDrillDrawer.vue b/ruoyi-ui/src/views/work/emergencyDrill/emergencyDrillDrawer.vue index 3ab226bf..d8bb6949 100644 --- a/ruoyi-ui/src/views/work/emergencyDrill/emergencyDrillDrawer.vue +++ b/ruoyi-ui/src/views/work/emergencyDrill/emergencyDrillDrawer.vue @@ -47,7 +47,8 @@ - + @@ -230,20 +232,28 @@ /> - + - + - + > + +