hookehuyr

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

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