代码提交-3-13

This commit is contained in:
2026-03-13 14:32:24 +08:00
parent 3ca2451b2f
commit ae4aede94d
27 changed files with 2285 additions and 517 deletions

View File

@@ -34,8 +34,8 @@
listData
} from '@/api/system/dict/data.js'
import {
addRecord
} from "@/api/inspection/record.js"
addAbnormal
} from "@/api/inspection/abnormal.js"
import { addWatermarkToImage } from "@/utils/watermark.js"
export default {
// vue
@@ -109,8 +109,9 @@
submit() {
this.$refs.dynamicForm.validate().then(res => {
this.form.inspectionImg = this.joinList()
this.form.inspectionTime = new Date() // 添加当前时间
console.log("this.form",this.form);
addRecord(this.form).then(res => {
addAbnormal(this.form).then(res => {
console.log(res);
if (res.code==200) {
uni.showToast({