From 38e3259be36c3e1167f5f0fc51693954c3dc75ab Mon Sep 17 00:00:00 2001
From: weipengfei <2187978347@qq.com>
Date: Mon, 8 Jul 2024 18:00:46 +0800
Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E8=B0=83=E6=95=B4=E7=94=A8?=
=?UTF-8?q?=E6=88=B7=E7=B1=BB=E5=9E=8B?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/user/component/add.vue | 22 +++++++++++-----------
src/views/user/component/detail.vue | 4 ++--
2 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/src/views/user/component/add.vue b/src/views/user/component/add.vue
index dafaf99..dab48db 100644
--- a/src/views/user/component/add.vue
+++ b/src/views/user/component/add.vue
@@ -12,7 +12,7 @@ const formDataInfo = reactive({
mobile: '',
code: '',
real_name: '',
- user_ship: '',
+ user_ship: 0,
selectedValues: [],
})
@@ -119,13 +119,13 @@ const props = {
const userShip = ref([])
const getUserShip = () => {
- userShipApi({
- type_id: 4
- }).then(res => {
- userShip.value = res.data.lists?.filter((item) => {
- return item.id == 0 || item.id == 4
- });
- })
+ // userShipApi({
+ // type_id: 4
+ // }).then(res => {
+ // userShip.value = res.data.lists?.filter((item) => {
+ // return item.id == 0 || item.id == 4
+ // });
+ // })
}
getUserShip()
@@ -148,7 +148,7 @@ const addUser = () => {
userAddApi(forms).then(res=>{
formDataInfo.mobile = '';
formDataInfo.code = '';
- formDataInfo.user_ship = '';
+ formDataInfo.user_ship = 0;
formDataInfo.real_name = '';
formDataInfo.selectedValues = [];
formDataRef.value.resetFields();
@@ -196,11 +196,11 @@ defineExpose({
-
+
diff --git a/src/views/user/component/detail.vue b/src/views/user/component/detail.vue
index e0cabde..e77556d 100644
--- a/src/views/user/component/detail.vue
+++ b/src/views/user/component/detail.vue
@@ -512,8 +512,8 @@ onUnmounted(() => {
formData.user_ship_name
}}
{{ formData.user_ship_name }}
- 修改
+