From 1e72942aa4848ae4835e7f30bb4adc01f9ce5bdc Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期五, 23 二月 2024 11:45:58 +0800
Subject: [PATCH] mrshi
---
company/src/components/business/OperaSolutionsWindow.vue | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/company/src/components/business/OperaSolutionsWindow.vue b/company/src/components/business/OperaSolutionsWindow.vue
index 8b4ccb0..365bbd4 100644
--- a/company/src/components/business/OperaSolutionsWindow.vue
+++ b/company/src/components/business/OperaSolutionsWindow.vue
@@ -154,6 +154,8 @@
var validType = (rule, value, callback) => {
if (this.form.validType === 0 && !value) {
return callback(new Error('寤惰繜澶╂暟涓嶈兘涓虹┖'));
+ } else if (!/^[0-9]*[1-9][0-9]*$/.test(value)) {
+ return callback(new Error('寤惰繜澶╂暟鍙兘涓烘鏁存暟'));
}
callback();
}
@@ -308,7 +310,7 @@
},
// 鏌ヨ鍏ㄩ儴淇濋櫓鍏徃
allCompany() {
- all({ dataType: 2 })
+ all({ dataType: 2, status: 0 })
.then(res => {
console.log(res)
this.company = res
--
Gitblit v1.9.3