diff --git a/src/views/projectFront/buildersDiary/diaryMod.vue b/src/views/projectFront/buildersDiary/diaryMod.vue index ab4c5a62..f153aac7 100644 --- a/src/views/projectFront/buildersDiary/diaryMod.vue +++ b/src/views/projectFront/buildersDiary/diaryMod.vue @@ -49,8 +49,8 @@ - - + + @@ -68,8 +68,8 @@ - - + + @@ -87,15 +87,15 @@ - - + + - - + + @@ -757,6 +757,7 @@ export default { created() { this.uploadUrl = this.$store.state.UPLOADURL; this.fileUrl = this.$store.state.FILEURL; + this.projectSn = this.$store.state.projectSn; this.type = this.$props.status; }, @@ -784,6 +785,7 @@ export default { //上传成功 handleSuccess(file) { let data = { name: file.data[0].filename, url: file.data[0].imageUrl }; + console.log(data,'datadatadatadata') this.fileList.push(data); }, //删除成功 @@ -803,7 +805,7 @@ export default { }, //提交保存 submitForm() { - + if(!this.ruleForm.buildName){ this.$message.error("请输入单位工程名称") return false; @@ -953,11 +955,17 @@ export default { };