From bbc0abe7bee26e2d0ae3a2d9e3e96f4964e329ff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E2=80=9Cwanyongkang=E2=80=9D?= <“937888580@qq.com”>
Date: Wed, 27 Dec 2023 15:14:48 +0800
Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=BF=AE=E6=94=B9=E6=98=AF?=
=?UTF-8?q?=E5=90=A6=E4=BB=A3=E7=90=86?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/user/index.vue | 18 +++++++++---------
src/components/user/search.vue | 20 +++++++++++++++++++-
2 files changed, 28 insertions(+), 10 deletions(-)
diff --git a/src/components/user/index.vue b/src/components/user/index.vue
index 979e0cc..ac04296 100644
--- a/src/components/user/index.vue
+++ b/src/components/user/index.vue
@@ -42,20 +42,20 @@
-
+
设置测试
@@ -432,8 +432,8 @@ export default {
info: r.LoginCode
}).then(res => {})
},
- day(r){
- this.$api.post(this.$api.phpURL + "user/user/setDay", r).then(res => {
+ isagent(r){
+ this.$api.post(this.$api.phpURL + "user/user/isagent", r).then(res => {
});
},
diff --git a/src/components/user/search.vue b/src/components/user/search.vue
index 5ba7a71..66b9a1f 100644
--- a/src/components/user/search.vue
+++ b/src/components/user/search.vue
@@ -26,7 +26,20 @@
{{scope.row.TestCountLimit==0?'3':scope.row.TestCountLimit}}/{{scope.row.UseTestCount==0?'--':scope.row.UseTestCount}}
-
+
+
+
+
+
+
+
+
@@ -316,6 +329,11 @@ export default {
this.amountModel.showAmountDialog = false;
this.showTestDialog = false;
},
+ isagent(r){
+ this.$api.post(this.$api.phpURL + "user/user/isagent", r).then(res => {
+
+ });
+ },
save(formName) {
this.$refs[formName].validate(valid => {
if (!valid) return;