From fbfb89873a326fd5429a2f21f61e659ab80dc03d Mon Sep 17 00:00:00 2001
From: renkang <8417338+k94314517@user.noreply.gitee.com>
Date: 星期二, 03 十二月 2024 19:04:48 +0800
Subject: [PATCH] 客户资料 巡检任务业务
---
admin/src/views/client/components/staffEdit.vue | 43 +++++++++++++++++++++++++++++++++++++++++--
1 files changed, 41 insertions(+), 2 deletions(-)
diff --git a/admin/src/views/client/components/staffEdit.vue b/admin/src/views/client/components/staffEdit.vue
index c85f098..e1ce3d3 100644
--- a/admin/src/views/client/components/staffEdit.vue
+++ b/admin/src/views/client/components/staffEdit.vue
@@ -3,7 +3,7 @@
<el-form :model="form" ref="form" label-position="top" :rules="rules">
<div class="list">
<el-form-item label="瀹㈡埛鍚嶇О" prop="customerId">
- <el-select v-model="form.customerId" clearable filterable>
+ <el-select v-model="form.customerId" :disabled="form.id || customerId != ''" clearable filterable>
<el-option v-for="item in clientList" :value="item.id" :label="item.name" />
</el-select>
</el-form-item>
@@ -98,6 +98,7 @@
idcardNo: '',
email: '',
},
+ customerId: '',
clientList: [],
// 楠岃瘉瑙勫垯
rules: staffRules
@@ -123,12 +124,50 @@
open(title, target) {
this.title = title
this.visible = true
+ this.customerId = ''
+ console.log(this.customerId);
+ console.log(this.form.id);
+
this.initData()
// 鏂板缓
if (target == null) {
this.$nextTick(() => {
- this.$refs.form.resetFields()
+ this.form = {
+ id: null,
+ customerId: '',
+ creator: '',
+ createDate: '',
+ editor: '',
+ editDate: '',
+ isdeleted: '',
+ birthday: '',
+ industryId: '',
+ type: '1',
+ idcardDecode: '',
+ sex: '',
+ status: '',
+ memberName: '',
+
+ lastLoginDate: '',
+ loginNum: '',
+ userId: '',
+
+ accountBank: '',
+ accountNo: '',
+ accountPhone: '',
+ creditCard: '',
+ fpType: '',
+ accountAddr: '',
+ // identityType: '0',
+ name: "",
+ phone: "",
+ highCheckor: 0,
+ idcardType: 0,
+ idcardNo: '',
+ email: '',
+ }
})
+ // this.$refs.form.resetFields()
return
}
// 缂栬緫
--
Gitblit v1.9.3