hookehuyr

表单设置API当数据量达到限额时字段调整

...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
2 * @Author: hookehuyr hookehuyr@gmail.com 2 * @Author: hookehuyr hookehuyr@gmail.com
3 * @Date: 2022-05-26 23:52:36 3 * @Date: 2022-05-26 23:52:36
4 * @LastEditors: hookehuyr hookehuyr@gmail.com 4 * @LastEditors: hookehuyr hookehuyr@gmail.com
5 - * @LastEditTime: 2023-05-25 17:12:08 5 + * @LastEditTime: 2023-05-26 16:38:49
6 * @FilePath: /data-table/src/App.vue 6 * @FilePath: /data-table/src/App.vue
7 * @Description: 7 * @Description:
8 --> 8 -->
...@@ -130,10 +130,10 @@ onMounted(async () => { ...@@ -130,10 +130,10 @@ onMounted(async () => {
130 }); 130 });
131 } 131 }
132 // 当数据量达到限额时,该表单将不能继续提交数据。 132 // 当数据量达到限额时,该表单将不能继续提交数据。
133 - if (form_setting.is_reach_sjsj_max_count) { 133 + if (form_setting.sjsj_max_count_error) {
134 showDialog({ 134 showDialog({
135 title: '温馨提示', 135 title: '温馨提示',
136 - message: '表单收集量已达到限额,无法再提交数据。', 136 + message: form_setting.sjsj_max_count_error,
137 theme: 'round-button', 137 theme: 'round-button',
138 confirmButtonColor: styleColor.baseColor 138 confirmButtonColor: styleColor.baseColor
139 }); 139 });
......
1 <!-- 1 <!--
2 * @Date: 2022-07-18 10:22:22 2 * @Date: 2022-07-18 10:22:22
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2023-05-25 17:49:41 4 + * @LastEditTime: 2023-05-26 16:38:56
5 * @FilePath: /data-table/src/views/index.vue 5 * @FilePath: /data-table/src/views/index.vue
6 * @Description: 首页 6 * @Description: 首页
7 --> 7 -->
...@@ -334,7 +334,7 @@ onMounted(async () => { ...@@ -334,7 +334,7 @@ onMounted(async () => {
334 }); 334 });
335 } 335 }
336 // 当数据量达到限额时,该表单将不能继续提交数据。 336 // 当数据量达到限额时,该表单将不能继续提交数据。
337 - if (formSetting.value.is_reach_sjsj_max_count) { 337 + if (formSetting.value.sjsj_max_count_error) {
338 // 提交按钮禁用 338 // 提交按钮禁用
339 submitStatus.value = true; 339 submitStatus.value = true;
340 } 340 }
......