From c1adf27fbabbff1d76b60993521c765ef1ed79ef Mon Sep 17 00:00:00 2001 From: yangfeng <wanwan926_4@163.com> Date: 星期二, 15 八月 2023 20:03:21 +0800 Subject: [PATCH] 新建客户管理 客户名称查重 --- src/views/service/serviceFollowup/AddServiceFollowupDialog.vue | 48 ++++++++++++++++++++++++------------------------ 1 files changed, 24 insertions(+), 24 deletions(-) diff --git a/src/views/service/serviceFollowup/AddServiceFollowupDialog.vue b/src/views/service/serviceFollowup/AddServiceFollowupDialog.vue index 83ed22f..8c98d07 100644 --- a/src/views/service/serviceFollowup/AddServiceFollowupDialog.vue +++ b/src/views/service/serviceFollowup/AddServiceFollowupDialog.vue @@ -51,7 +51,7 @@ </el-form-item> </el-col> <el-col :span="12"> - <el-form-item label="鑱旂郴浜哄鍚�" prop="contactId"> + <el-form-item label="鑱旂郴浜哄鍚�" prop="contact_name"> <div class="custom-name"> <el-autocomplete v-model="editConfig.infomation.contact_name" @@ -112,10 +112,10 @@ </el-form-item> </el-col> <el-col :span="12"> - <el-form-item label="婊℃剰搴�" prop="satisfaction"> + <el-form-item label="婊℃剰搴�" prop="satisfactionId"> <div class="common-select"> <el-select - v-model="editConfig.infomation.satisfaction" + v-model="editConfig.infomation.satisfactionId" placeholder="璇烽�夋嫨" class="common-select-sel" size="mini" @@ -123,15 +123,15 @@ <el-option v-for="item in satisfactionOptions" :key="item.id" :label="item.name" :value="item.id"> </el-option> </el-select> - <div class="common-select-btn"><i class="el-icon-setting"></i></div> + <!-- <div class="common-select-btn"><i class="el-icon-setting"></i></div> --> </div> </el-form-item> </el-col> <el-col :span="12"> - <el-form-item label="鍙婃椂鐜�" prop="timelyRate"> + <el-form-item label="鍙婃椂鐜�" prop="timelyRateId"> <div class="common-select"> <el-select - v-model="editConfig.infomation.timelyRate" + v-model="editConfig.infomation.timelyRateId" placeholder="璇烽�夋嫨" class="common-select-sel" size="mini" @@ -139,15 +139,15 @@ <el-option v-for="item in timelyRateOptions" :key="item.id" :label="item.name" :value="item.id"> </el-option> </el-select> - <div class="common-select-btn"><i class="el-icon-setting"></i></div> + <!-- <div class="common-select-btn"><i class="el-icon-setting"></i></div> --> </div> </el-form-item> </el-col> <el-col :span="12"> - <el-form-item label="瑙e喅鐜�" prop="solveRate"> + <el-form-item label="瑙e喅鐜�" prop="solveRateId"> <div class="common-select"> <el-select - v-model="editConfig.infomation.solveRate" + v-model="editConfig.infomation.solveRateId" placeholder="璇烽�夋嫨" class="common-select-sel" size="mini" @@ -155,7 +155,7 @@ <el-option v-for="item in solveRateOptions" :key="item.id" :label="item.name" :value="item.id"> </el-option> </el-select> - <div class="common-select-btn"><i class="el-icon-setting"></i></div> + <!-- <div class="common-select-btn"><i class="el-icon-setting"></i></div> --> </div> </el-form-item> </el-col> @@ -168,10 +168,10 @@ </el-form-item> </el-col> <el-col :span="12"> - <el-form-item label="鏈嶅姟浜哄憳鏄惁鏉ヨ繃" prop="isVisit"> + <el-form-item label="鏈嶅姟浜哄憳鏄惁鏉ヨ繃" prop="isVisitId"> <div class="common-select"> <el-select - v-model="editConfig.infomation.isVisit" + v-model="editConfig.infomation.isVisitId" placeholder="璇烽�夋嫨" class="common-select-sel" size="mini" @@ -179,7 +179,7 @@ <el-option v-for="item in isVisitOptions" :key="item.id" :label="item.name" :value="item.id"> </el-option> </el-select> - <div class="common-select-btn"><i class="el-icon-setting"></i></div> + <!-- <div class="common-select-btn"><i class="el-icon-setting"></i></div> --> </div> </el-form-item> </el-col> @@ -202,7 +202,7 @@ </el-row> </div> <!-- 闄勪欢淇℃伅 --> - <div class="basic-info-title">闄勪欢淇℃伅</div> + <!-- <div class="basic-info-title">闄勪欢淇℃伅</div> <div class="basic-info-view"> <el-row> <el-col :span="12"> @@ -227,7 +227,7 @@ </el-form-item> </el-col> </el-row> - </div> + </div> --> </div> </el-form> <div slot="footer" class="dialog-footer"> @@ -319,7 +319,7 @@ }, clientId: this.editCommonConfig.infomation.clientId, contactId: this.editCommonConfig.infomation.contactId, - serviceId: this.editCommonConfig.infomation.serviceId + serviceOrderId: this.editCommonConfig.infomation.serviceOrderId } }, created() { @@ -382,16 +382,16 @@ clientId: this.clientId || 0, contactId: this.contactId || 0, file: data.file || "", - isVisit: data.isVisit || 0, + isVisit: data.isVisitId || 0, memberId: data.memberId || 0, number: data.number || "", oldMemberId: data.oldMemberId || 0, planId: data.planId || 0, remark: data.remark || "", - satisfaction: data.satisfaction || 0, - serviceId: this.serviceId || 0, - solveRate: data.solveRate || 0, - timelyRate: data.timelyRate || 0 + satisfaction: data.satisfactionId || 0, + serviceOrderId: this.serviceOrderId || 0, + solveRate: data.solveRateId || 0, + timelyRate: data.timelyRateId || 0 } return params }, @@ -428,7 +428,7 @@ } else if (value === "contact") { this.contactId = item.id } else if (value === "customService") { - this.serviceId = item.id + this.serviceOrderId = item.id } }, selClientClick(value) { @@ -452,7 +452,7 @@ this.clientId = row.id } else if (value === "customService") { this.editConfig.infomation.service_number = row.serviceNumber - this.serviceId = row.id + this.serviceOrderId = row.id } }, // 娓呴櫎宸查�夋嫨鐢ㄦ埛 @@ -465,7 +465,7 @@ this.contactId = 0 } else if (value === "customService") { this.editConfig.infomation.service_number = "" - this.serviceId = 0 + this.serviceOrderId = 0 } }, // 娣诲姞闄勪欢 -- Gitblit v1.8.0