From d54e34a92640aef06a33a88bd8c7d525fcf4141d Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Sat, 06 Jan 2024 17:02:37 +0800
Subject: [PATCH] 走访日志调整
---
src/views/cGovernance/gridWorkLog.vue | 13 +++++++++++--
1 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/src/views/cGovernance/gridWorkLog.vue b/src/views/cGovernance/gridWorkLog.vue
index a573288..456cd8e 100644
--- a/src/views/cGovernance/gridWorkLog.vue
+++ b/src/views/cGovernance/gridWorkLog.vue
@@ -204,7 +204,14 @@
props: {
label: 'name',
value: 'id'
- }
+ },
+ rules: [
+ {
+ required: true,
+ message: "请选择被访人姓名",
+ trigger: "blur",
+ },
+ ],
},
{
width: 120,
@@ -262,7 +269,9 @@
label: "走访取证",
prop: "url",
type: "upload",
- listType: "picture-img",
+ listType: "picture-card",
+ dataType: "string",
+ multiple: true,
action: "/api/blade-resource/oss/endpoint/put-file",
propsHttp: {
res: "data",
--
Gitblit v1.9.3