diff --git a/src/views/project/processControl/approval/index.vue b/src/views/project/processControl/approval/index.vue
index e7a2225..41cfb80 100644
--- a/src/views/project/processControl/approval/index.vue
+++ b/src/views/project/processControl/approval/index.vue
@@ -94,8 +94,8 @@
- 详情
- 修改
+ 详情
+ 修改
删除
diff --git a/src/views/project/processControl/approval/index.vue b/src/views/project/processControl/approval/index.vue
index e7a2225..41cfb80 100644
--- a/src/views/project/processControl/approval/index.vue
+++ b/src/views/project/processControl/approval/index.vue
@@ -94,8 +94,8 @@
- 详情
- 修改
+ 详情
+ 修改
删除
diff --git a/src/views/project/processControl/approval/operate.vue b/src/views/project/processControl/approval/operate.vue
index fb3e703..daed9cc 100644
--- a/src/views/project/processControl/approval/operate.vue
+++ b/src/views/project/processControl/approval/operate.vue
@@ -66,8 +66,9 @@
:label="`${item.name}:`"
:prop="'projectProcessAttachmentSaveRequestList.' + i + '.' + 'filieDescription'"
class="formItem140"
+ :rules="rules['filieDescription']"
>
-
+
diff --git a/src/views/project/processControl/approval/index.vue b/src/views/project/processControl/approval/index.vue
index e7a2225..41cfb80 100644
--- a/src/views/project/processControl/approval/index.vue
+++ b/src/views/project/processControl/approval/index.vue
@@ -94,8 +94,8 @@
- 详情
- 修改
+ 详情
+ 修改
删除
diff --git a/src/views/project/processControl/approval/operate.vue b/src/views/project/processControl/approval/operate.vue
index fb3e703..daed9cc 100644
--- a/src/views/project/processControl/approval/operate.vue
+++ b/src/views/project/processControl/approval/operate.vue
@@ -66,8 +66,9 @@
:label="`${item.name}:`"
:prop="'projectProcessAttachmentSaveRequestList.' + i + '.' + 'filieDescription'"
class="formItem140"
+ :rules="rules['filieDescription']"
>
-
+
diff --git a/src/views/project/processControl/completionAcceptance/operate.vue b/src/views/project/processControl/completionAcceptance/operate.vue
index 4d68627..7f8000c 100644
--- a/src/views/project/processControl/completionAcceptance/operate.vue
+++ b/src/views/project/processControl/completionAcceptance/operate.vue
@@ -94,6 +94,7 @@
:label="`${item.name}:`"
:prop="'projectProcessAttachmentSaveRequestList.' + i + '.' + 'filieDescription'"
class="formItem300"
+ :rules="opts.type === 'add' || (i < 10 && opts.type === 'audit') ? rules['filieDescription'] : []"
>
- 详情
- 修改
+ 详情
+ 修改
删除
diff --git a/src/views/project/processControl/approval/operate.vue b/src/views/project/processControl/approval/operate.vue
index fb3e703..daed9cc 100644
--- a/src/views/project/processControl/approval/operate.vue
+++ b/src/views/project/processControl/approval/operate.vue
@@ -66,8 +66,9 @@
:label="`${item.name}:`"
:prop="'projectProcessAttachmentSaveRequestList.' + i + '.' + 'filieDescription'"
class="formItem140"
+ :rules="rules['filieDescription']"
>
-
+
diff --git a/src/views/project/processControl/completionAcceptance/operate.vue b/src/views/project/processControl/completionAcceptance/operate.vue
index 4d68627..7f8000c 100644
--- a/src/views/project/processControl/completionAcceptance/operate.vue
+++ b/src/views/project/processControl/completionAcceptance/operate.vue
@@ -94,6 +94,7 @@
:label="`${item.name}:`"
:prop="'projectProcessAttachmentSaveRequestList.' + i + '.' + 'filieDescription'"
class="formItem300"
+ :rules="opts.type === 'add' || (i < 10 && opts.type === 'audit') ? rules['filieDescription'] : []"
>
- 详情
- 修改
+ 详情
+ 修改
删除
diff --git a/src/views/project/processControl/approval/operate.vue b/src/views/project/processControl/approval/operate.vue
index fb3e703..daed9cc 100644
--- a/src/views/project/processControl/approval/operate.vue
+++ b/src/views/project/processControl/approval/operate.vue
@@ -66,8 +66,9 @@
:label="`${item.name}:`"
:prop="'projectProcessAttachmentSaveRequestList.' + i + '.' + 'filieDescription'"
class="formItem140"
+ :rules="rules['filieDescription']"
>
-
+
diff --git a/src/views/project/processControl/completionAcceptance/operate.vue b/src/views/project/processControl/completionAcceptance/operate.vue
index 4d68627..7f8000c 100644
--- a/src/views/project/processControl/completionAcceptance/operate.vue
+++ b/src/views/project/processControl/completionAcceptance/operate.vue
@@ -94,6 +94,7 @@
:label="`${item.name}:`"
:prop="'projectProcessAttachmentSaveRequestList.' + i + '.' + 'filieDescription'"
class="formItem300"
+ :rules="opts.type === 'add' || (i < 10 && opts.type === 'audit') ? rules['filieDescription'] : []"
>
-
+
@@ -195,18 +201,18 @@
});
const rules = reactive({
- // projectName: required('项目名称'),
- // projectNo: required('项目编码'),
- // projectTypeId: required('项目类型'),
- // projectArea: required('项目面积'),
- // spongeLandType: required('用地类型'),
- // greenRate: required('绿地率'),
- // chargeDepartment: required('建设单位'),
- // buildStatus: required('建设状态'),
- // annualRunoffTotalControlRate: required('年径流总量控制率'),
- // annualRunoffPollutionControlRate: required('年径流污染去除率'),
- // hardGroundRate: required('可研批复'),
- // filieDescription: required('内容'),
+ projectName: required('项目名称'),
+ projectNo: required('项目编码'),
+ projectTypeId: required('项目类型'),
+ projectArea: required('项目面积'),
+ spongeLandType: required('用地类型'),
+ greenRate: required('绿地率'),
+ chargeDepartment: required('建设单位'),
+ buildStatus: required('建设状态'),
+ annualRunoffTotalControlRate: required('年径流总量控制率'),
+ annualRunoffPollutionControlRate: required('年径流污染去除率'),
+ hardGroundRate: required('可研批复'),
+ filieDescription: required('内容'),
});
const projectList = ref([]);