diff --git a/pages-sub/daily/patrol-manage/add-patrol-record/index.vue b/pages-sub/daily/patrol-manage/add-patrol-record/index.vue
index 892ba7d..826523a 100644
--- a/pages-sub/daily/patrol-manage/add-patrol-record/index.vue
+++ b/pages-sub/daily/patrol-manage/add-patrol-record/index.vue
@@ -1,200 +1,316 @@
-
-
-
-
+
+
-
-
-
-
-
-
- (最少1张,最多3张)
-
-
-
-
-
+
+
+
+
+
+
+ uploadImgs(event)"
+ @delete="(event) => deleteImg(event)"
+ @on-exceed="handleExceed"
+ multiple
+ :max-count="3"
+ upload-text="选择图片"
+ del-color="#ff4d4f"
+ class="upload-wrap"
+ >
+ (最少1张,最多3张)
+
+
+
+
-
-
- {{ item.label }}
-
-
-
-
+
+ {{ item.label }}
+
+
+
+
+
+
- 提交
-
+ >
-
+
+
+ },
+ onReady() {
+ // 兼容微信小程序,通过setRules设置校验规则
+ this.$refs.inspectFormRef.setRules(this.inspectFormRules)
+ console.log('巡查表单规则初始化完成')
+ },
+ methods: {
+ /**
+ * 删除图片
+ */
+ deleteImg(event) {
+ console.log('删除图片事件:', event)
+ this.imagesList.splice(event.index, 1)
+ // 删除图片后重新校验图片字段
+ this.$refs.inspectFormRef.validateField('images')
+ uni.showToast({ title: '图片删除成功', icon: 'success' })
+ },
-
\ No newline at end of file
diff --git a/pages-sub/daily/quick-order/add-order.vue b/pages-sub/daily/quick-order/add-order.vue
index 213c885..efeb4bb 100644
--- a/pages-sub/daily/quick-order/add-order.vue
+++ b/pages-sub/daily/quick-order/add-order.vue
@@ -230,10 +230,7 @@ export default {
}
}
],
- handleResultDesc: [
- // 移除required,改为可选字段
- {type: 'string', min: 3, max: 200, message: '处理结果需3-200字', trigger: ['change', 'blur']}
- ]
+
}
}
},
diff --git a/pages-sub/daily/quick-order/index.vue b/pages-sub/daily/quick-order/index.vue
index aea40ae..766e54c 100644
--- a/pages-sub/daily/quick-order/index.vue
+++ b/pages-sub/daily/quick-order/index.vue
@@ -1,18 +1,18 @@
-
+