Commit 2a1b0768 by wangzhihui

驻店管理、关店管理接口联调

1 parent c3bbcc3e
...@@ -805,7 +805,7 @@ export function findAllSceneByMerchantIdApi(data = {}) { ...@@ -805,7 +805,7 @@ export function findAllSceneByMerchantIdApi(data = {}) {
} }
export function assignStoreApi(data = {}) { export function assignStoreApi(data = {}) {
data.method = "j.api.smartcarlife.staffBaseInfo.account.merchant.assign"; data.method = "dj.api.smartcarlife.staffBaseInfo.account.merchant.assign";
return request(data, "post"); return request(data, "post");
} }
//北森岗位 //北森岗位
......
...@@ -9,95 +9,101 @@ ...@@ -9,95 +9,101 @@
import request from "./request"; import request from "./request";
// 分页查询潜客数据 // 分页查询潜客数据
export function potentialCustomersPage (data) { export function potentialCustomersPage(data) {
data.method = "dj.api.smartcarlife.sale.potentialCustomers.page"; data.method = "dj.api.smartcarlife.sale.potentialCustomers.page";
return request(data, "post"); return request(data, "post");
} }
// 潜客详情数据 // 潜客详情数据
export function potentialCustomersDetail (data) { export function potentialCustomersDetail(data) {
data.method = "dj.api.smartcarlife.sale.potentialCustomers.detail"; data.method = "dj.api.smartcarlife.sale.potentialCustomers.detail";
return request(data, "post"); return request(data, "post");
} }
// 首次绑定/重新绑定4S店 // 首次绑定/重新绑定4S店
export function bind4SStore (data) { export function bind4SStore(data) {
data.method = "dj.api.smartcarlife.sale.potentialCustomers.bind"; data.method = "dj.api.smartcarlife.sale.potentialCustomers.bind";
return request(data, "post"); return request(data, "post");
} }
// 潜客信息核验提交(与新增商户字段一致;method 待后端确认后替换) // 潜客信息核验提交(与新增商户字段一致;method 待后端确认后替换)
export function potentialCustomersInfoVerify (data) { export function potentialCustomersInfoVerify(data) {
data.method = 'dj.api.smartcarlife.sale.potentialCustomers.infoVerify' data.method = "dj.api.smartcarlife.sale.potentialCustomers.infoVerify";
return request(data, "post") return request(data, "post");
} }
// 分页查询大区 // 分页查询大区
export function regionPage (data) { export function regionPage(data) {
data.method = "dj.api.smartcarlife.sale.region.page"; data.method = "dj.api.smartcarlife.sale.region.page";
return request(data, "post"); return request(data, "post");
} }
// 获取大区人员 // 获取大区人员
export function regionUserList (data) { export function regionUserList(data) {
data.method = "dj.api.smartcarlife.sale.region.userList"; data.method = "dj.api.smartcarlife.sale.region.userList";
return request(data, "post"); return request(data, "post");
} }
// 更新大区人员 // 更新大区人员
export function updateRegionUser (data) { export function updateRegionUser(data) {
data.method = "dj.api.smartcarlife.sale.region.updateRegionUser"; data.method = "dj.api.smartcarlife.sale.region.updateRegionUser";
return request(data, "post"); return request(data, "post");
} }
// 区域运营模块接口 // 区域运营模块接口
// 区域运营管理人员列表 // 区域运营管理人员列表
export function organizationUserList (data) { export function organizationUserList(data) {
data.method = "dj.api.script.province.organization.list"; data.method = "dj.api.script.province.organization.list";
return request(data, "post"); return request(data, "post");
} }
// 区域运营管理编辑 // 区域运营管理编辑
export function organizationUserUpdate (data) { export function organizationUserUpdate(data) {
data.method = "dj.api.script.province.organization.upd"; data.method = "dj.api.script.province.organization.upd";
return request(data, "post"); return request(data, "post");
} }
// 关店管理列表/rop-dj-smartcarlife/router/dj.api.smartcarlife.sale.closeStore.page // 关店管理列表/rop-dj-smartcarlife/router/dj.api.smartcarlife.sale.closeStore.page
export function closeStorePage (data) { export function closeStorePage(data) {
data.method = "dj.api.smartcarlife.sale.closeStore.page"; data.method = "dj.api.smartcarlife.sale.closeStore.page";
return request(data, "post"); return request(data, "post");
} }
//是否关店 //是否关店
export function closeStoreConfirm (data) { export function closeStoreConfirm(data) {
data.method = "dj.api.smartcarlife.sale.closeStore.confirm"; data.method = "dj.api.smartcarlife.sale.closeStore.confirm";
return request(data, "post"); return request(data, "post");
} }
// 关店详情 // 关店详情
export function closeStoreDetail (data) { export function closeStoreDetail(data) {
data.method = "dj.api.smartcarlife.sale.closeStore.detail"; data.method = "dj.api.smartcarlife.sale.closeStore.detail";
return request(data, "post"); return request(data, "post");
} }
// 关店操作记录
export function closeStoreOperateLogList(data) {
data.method = "dj.api.smartcarlife.sale.closeStore.operateLog.list";
return request(data, "post");
}
/** /**
* 分页查询门店上架审批单 * 分页查询门店上架审批单
*/ */
export function storeApprovePageQuery (data) { export function storeApprovePageQuery(data) {
data.method = "dj.api.oaapproval.store.approve.pageQuery"; data.method = "dj.api.oaapproval.store.approve.pageQuery";
return request(data, "post"); return request(data, "post");
} }
/** /**
*创建门店上架审批单(草稿) *创建门店上架审批单(草稿)
*/ */
export function storeApproveCreateDraft (data) { export function storeApproveCreateDraft(data) {
data.method = "dj.api.oaapproval.store.approve.createDraft"; data.method = "dj.api.oaapproval.store.approve.createDraft";
return request(data, "post"); return request(data, "post");
} }
/** /**
*查询门店上架审批单详情 *查询门店上架审批单详情
*/ */
export function storeApproveQueryDetail (data) { export function storeApproveQueryDetail(data) {
data.method = "dj.api.oaapproval.store.approve.queryDetail"; data.method = "dj.api.oaapproval.store.approve.queryDetail";
return request(data, "post"); return request(data, "post");
} }
...@@ -106,7 +112,7 @@ export function storeApproveQueryDetail (data) { ...@@ -106,7 +112,7 @@ export function storeApproveQueryDetail (data) {
* 编辑门店上架审批单 * 编辑门店上架审批单
*/ */
export function storeApproveEditDraft (data) { export function storeApproveEditDraft(data) {
data.method = "dj.api.oaapproval.store.approve.editDraft"; data.method = "dj.api.oaapproval.store.approve.editDraft";
return request(data, "post"); return request(data, "post");
} }
...@@ -114,7 +120,7 @@ export function storeApproveEditDraft (data) { ...@@ -114,7 +120,7 @@ export function storeApproveEditDraft (data) {
* *
* 重新发起审批单 * 重新发起审批单
*/ */
export function storeApproveReSubmit (data) { export function storeApproveReSubmit(data) {
data.method = "dj.api.oaapproval.store.approve.reSubmit"; data.method = "dj.api.oaapproval.store.approve.reSubmit";
return request(data, "post"); return request(data, "post");
} }
...@@ -16,8 +16,8 @@ ...@@ -16,8 +16,8 @@
</div> </div>
<el-form-item label="入职门店:" prop="merchantId"> <el-form-item label="入职门店:" prop="merchantId">
<el-select v-model="infoForm.merchantId" placeholder="请选择入职门店" style="width: 432px" remote <el-select v-model="infoForm.merchantId" placeholder="请选择入职门店" style="width: 432px" reserve-keyword
reserve-keyword filterable :remote-method="remoteMethod" @change="changeMerchant"> filterable @change="changeMerchant">
<el-option v-for="(item, index) in merchantList" :key="index" :label="item.merchantName" <el-option v-for="(item, index) in merchantList" :key="index" :label="item.merchantName"
:value="item.merchantId"></el-option> :value="item.merchantId"></el-option>
</el-select> </el-select>
...@@ -71,6 +71,7 @@ export default { ...@@ -71,6 +71,7 @@ export default {
merchantId: "", merchantId: "",
merchantName: "", merchantName: "",
sceneCodeList: [], sceneCodeList: [],
yqMerchantList: []
}, },
formRules: { formRules: {
merchantId: [ merchantId: [
...@@ -96,25 +97,21 @@ export default { ...@@ -96,25 +97,21 @@ export default {
}, },
}, },
mounted() { mounted() {
// Initialize form with defaults if available this.findAllMerchantPage()
const initialMerchantName = this.detail.merchantName || (this.detail.merchantList && this.detail.merchantList.length > 0 ? this.detail.merchantList[0].merchantName : ""); const initialMerchantName = this.detail.staffBeisenBaseInfoDTO ? this.detail.staffBeisenBaseInfoDTO.merchantName : "";
const initialMerchantId = this.detail.merchantId || (this.detail.merchantList && this.detail.merchantList.length > 0 ? this.detail.merchantList[0].merchantId : ""); const initialMerchantId = this.detail.staffBeisenBaseInfoDTO ? this.detail.staffBeisenBaseInfoDTO.merchantId : "";
if (initialMerchantName) { if (initialMerchantName) {
this.merchantList = [{ merchantId: initialMerchantId, merchantName: initialMerchantName }];
this.infoForm.merchantId = initialMerchantId; this.infoForm.merchantId = initialMerchantId;
this.infoForm.merchantName = initialMerchantName; this.infoForm.merchantName = initialMerchantName;
this.getSceneList(initialMerchantId); this.getSceneList(initialMerchantId);
} else {
this.remoteMethod("");
} }
}, },
methods: { methods: {
remoteMethod(query) { findAllMerchantPage(query) {
const params = { const params = {
currentPage: 1, currentPage: 1,
pageSize: 50, pageSize: 99999
merchantName: query || "",
}; };
findAllMerchantPageApi(params).then((res) => { findAllMerchantPageApi(params).then((res) => {
this.merchantList = res.list || []; this.merchantList = res.list || [];
...@@ -123,6 +120,7 @@ export default { ...@@ -123,6 +120,7 @@ export default {
changeMerchant(val) { changeMerchant(val) {
const selected = this.merchantList.find((item) => item.merchantId === val); const selected = this.merchantList.find((item) => item.merchantId === val);
this.infoForm.merchantName = selected ? selected.merchantName : ""; this.infoForm.merchantName = selected ? selected.merchantName : "";
this.infoForm.merchantId = selected ? selected.merchantId : "";
this.infoForm.sceneCodeList = []; this.infoForm.sceneCodeList = [];
this.sceneOptionList = []; this.sceneOptionList = [];
this.updateRelatedYqMerchantNames(); this.updateRelatedYqMerchantNames();
...@@ -142,15 +140,23 @@ export default { ...@@ -142,15 +140,23 @@ export default {
const selectedScenes = this.sceneOptionList.filter(item => const selectedScenes = this.sceneOptionList.filter(item =>
this.infoForm.sceneCodeList.includes(item.baseSceneCode) this.infoForm.sceneCodeList.includes(item.baseSceneCode)
); );
const names = []; const yqMerchantList = [];
this.infoForm.yqMerchantList = [];
selectedScenes.forEach(scene => { selectedScenes.forEach(scene => {
if (scene.yqMerchant && scene.yqMerchant.merchantName) { if (scene.serviceList && scene.serviceList.length > 0) {
if (!names.includes(scene.yqMerchant.merchantName)) { yqMerchantList.push(...scene.serviceList);
names.push(scene.yqMerchant.merchantName);
} }
});
//过滤重复的商家
yqMerchantList.forEach(item => {
if (!this.infoForm.yqMerchantList.some(yqMerchant => yqMerchant.yqMerchantId === item.merchantId)) {
this.infoForm.yqMerchantList.push({
yqMerchantName: item.merchantName,
yqMerchantId: item.merchantId
});
} }
}); });
this.relatedYqMerchantNames = names.join(","); this.relatedYqMerchantNames = this.infoForm.yqMerchantList.map(item => item.yqMerchantName).join(",");
}, },
handleAddConfirm() { handleAddConfirm() {
this.$refs.editFormRef.validate((valid) => { this.$refs.editFormRef.validate((valid) => {
...@@ -162,11 +168,7 @@ export default { ...@@ -162,11 +168,7 @@ export default {
const sceneList = selectedScenes.map(scene => { const sceneList = selectedScenes.map(scene => {
return { return {
baseSceneCode: scene.baseSceneCode, baseSceneCode: scene.baseSceneCode,
sceneType: scene.sceneType, sceneType: scene.sceneType
yqMerchantList: scene.yqMerchant ? [{
yqMerchantName: scene.yqMerchant.merchantName,
yqMerchantId: scene.yqMerchant.merchantId
}] : []
}; };
}); });
...@@ -174,8 +176,9 @@ export default { ...@@ -174,8 +176,9 @@ export default {
staffId: this.detail.staffId || this.detail.id, staffId: this.detail.staffId || this.detail.id,
merchantName: this.infoForm.merchantName, merchantName: this.infoForm.merchantName,
merchantId: this.infoForm.merchantId, merchantId: this.infoForm.merchantId,
sceneList: sceneList sceneList: sceneList,
}; yqMerchantList: this.infoForm.yqMerchantList
}
assignStoreApi(params).then(() => { assignStoreApi(params).then(() => {
this.$message.success("分配门店成功"); this.$message.success("分配门店成功");
......
<!-- 禁用账号弹窗 --> <!-- 禁用账号弹窗 -->
<template> <template>
<baseDialog :dialog-config="dialogConfig" :is-show.sync="visible" @handleClick="confirmDisable" :config="baseDialogConfig"> <baseDialog :dialog-config="dialogConfig" :is-show.sync="visible" @handleClick="confirmDisable"
:config="baseDialogConfig">
<div class="disable-dialog-content"> <div class="disable-dialog-content">
<div style="background: #f8f8f8; padding: 15px; border-radius: 4px; margin-bottom: 20px;"> <div style="background: #f8f8f8; padding: 15px; border-radius: 4px; margin-bottom: 20px;">
<div style="font-weight: bold; margin-bottom: 10px; color: #333; font-size: 14px;">基本信息</div> <div style="font-weight: bold; margin-bottom: 10px; color: #333; font-size: 14px;">基本信息</div>
...@@ -20,7 +21,8 @@ ...@@ -20,7 +21,8 @@
</div> </div>
<div style="display: flex; align-items: flex-start;"> <div style="display: flex; align-items: flex-start;">
<i class="el-icon-warning" style="color: #ff9900; font-size: 24px; margin-right: 12px; margin-top: 2px;"></i> <i class="el-icon-warning"
style="color: #ff9900; font-size: 24px; margin-right: 12px; margin-top: 2px;"></i>
<div> <div>
<div style="font-size: 16px; font-weight: bold; color: #333; margin-bottom: 8px;">确认禁用该员工的门店账号?</div> <div style="font-size: 16px; font-weight: bold; color: #333; margin-bottom: 8px;">确认禁用该员工的门店账号?</div>
<div style="font-size: 14px; color: #999;">禁用后,该账号将无法登录业务端开展业务。</div> <div style="font-size: 14px; color: #999;">禁用后,该账号将无法登录业务端开展业务。</div>
...@@ -72,8 +74,11 @@ export default { ...@@ -72,8 +74,11 @@ export default {
}, },
baseDialogConfig() { baseDialogConfig() {
return { return {
confirmText: "禁用", showClose: true,
cancelText: "取消", appendToBody: false, // 是否将自身插入至 body 元素,有嵌套的弹窗时一定要设置
isShowFooter: true,
cancel_name: "取 消",
confirm_name: "禁用",
} }
}, },
merchantName() { merchantName() {
......
...@@ -17,7 +17,8 @@ ...@@ -17,7 +17,8 @@
</div> </div>
<div class="info-item flex"> <div class="info-item flex">
<label>岗位:</label> <label>岗位:</label>
<span>{{ detail.jobType || "-" }}</span> <span>{{ detail.staffBeisenBaseInfoDTO ? detail.staffBeisenBaseInfoDTO.oidJobPost || '-' : "-"
}}</span>
</div> </div>
<!-- <div class="info-item flex"> <!-- <div class="info-item flex">
<label>适配业务:</label> <label>适配业务:</label>
...@@ -207,7 +208,7 @@ ...@@ -207,7 +208,7 @@
<!-- N:未删除;I:禁用 --> <!-- N:未删除;I:禁用 -->
<el-switch v-model="scope.scope.deletedFlag" active-value="N" inactive-value="I" <el-switch v-model="scope.scope.deletedFlag" active-value="N" inactive-value="I"
@change="(e) => switchChange(scope.scope)"></el-switch> @change="(e) => switchChange(scope.scope)"></el-switch>
<span>{{ scope.scope.deletedFlag === 'I' ? '禁用账号' : '启用账号' }}</span> <span>{{ scope.scope.deletedFlag === 'N' ? '禁用账号' : '启用账号' }}</span>
</template> </template>
</d2-table> </d2-table>
...@@ -668,16 +669,16 @@ ...@@ -668,16 +669,16 @@
</el-form> </el-form>
<!-- 分配门店 --> <!-- 分配门店 -->
<AssignStoreDialog v-if="allocateStoreVisible" :visibleSync.sync="allocateStoreVisible" :detail="detail" <AssignStoreDialog v-if="allocateStoreVisible" :visibleSync.sync="allocateStoreVisible"
:jobTypeList="jobTypeList" @dialogClose="closeAllocateStoreDialog"> :detail="{ ...detail, staffId: queryData.id }" @refreshTable="closeAllocateStoreDialog">
</AssignStoreDialog> </AssignStoreDialog>
<!-- 分配门店 --> <!-- 分配门店 -->
<!-- <allocate-store-dialog :allocate-store-visible="allocateStoreVisible" :detail="detail" :jobTypeList="jobTypeList" <!-- <allocate-store-dialog :allocate-store-visible="allocateStoreVisible" :detail="detail" :jobTypeList="jobTypeList"
v-if="allocateStoreVisible" @dialogClose="closeAllocateStoreDialog"></allocate-store-dialog> --> v-if="allocateStoreVisible" @dialogClose="closeAllocateStoreDialog"></allocate-store-dialog> -->
<!-- 北森同步 --> <!-- 北森同步 -->
<sync-bei-sen-dialog :sync-bei-sen-visible="syncBeiSenVisible" :detail="detail" v-if="syncBeiSenVisible" <sync-bei-sen-dialog :sync-bei-sen-visible="syncBeiSenVisible" :detail="detail" :satffId="queryData.id"
@dialogClose="closeSyncBeiSenDialog" @refreshDetail="getDetail"></sync-bei-sen-dialog> v-if="syncBeiSenVisible" @dialogClose="closeSyncBeiSenDialog" @refreshDetail="getDetail"></sync-bei-sen-dialog>
<!-- 禁用账号二次确认弹窗 --> <!-- 禁用账号二次确认弹窗 -->
<disable-account-dialog :disable-dialog-visible="disableDialogVisible" :current-row="currentDisableRow" <disable-account-dialog :disable-dialog-visible="disableDialogVisible" :current-row="currentDisableRow"
...@@ -843,13 +844,7 @@ export default { ...@@ -843,13 +844,7 @@ export default {
{ {
label: "适配业务", label: "适配业务",
prop: "staffSceneLabel", prop: "accountSceneStr"
formatter: (row) => {
return this.filterStr(
row.staffSceneLabel,
this.staffSceneLabelList
);
},
}, },
{ {
label: "开通时间", label: "开通时间",
...@@ -1303,23 +1298,24 @@ export default { ...@@ -1303,23 +1298,24 @@ export default {
}, },
switchChange(row) { switchChange(row) {
// N启用状态==》禁止二次弹窗
if (row.deletedFlag === 'I') {
// 当切换到禁用时,弹出自定义确认框
//添加阻止switch 切换状态
row.deletedFlag = 'N';
this.currentDisableRow = row; this.currentDisableRow = row;
this.disableDialogVisible = true; this.disableDialogVisible = true;
// N启用状态==》禁止二次弹窗 } else {
// if (row.deletedFlag === 'N') {
// // 当切换到禁用时,弹出自定义确认框
// this.currentDisableRow = row;
// this.disableDialogVisible = true;
// } else {
// // 当切换到启用时,直接调用接口 // 当切换到启用时,直接调用接口
// beiSenEmployeeDisableApi({ accountId: row.id }).then(() => { beiSenEmployeeDisableApi({ accountId: row.id }).then(() => {
// this.$message.success('账号已启用'); this.$message.success('账号已启用');
// this.getDetail(); this.getDetail();
// }).catch(() => { }).catch(() => {
// row.deletedFlag = 'I'; // 恢复状态 row.deletedFlag = 'I'; // 恢复状态
// }); });
// } }
}, },
closeDisableDialog() { closeDisableDialog() {
...@@ -1578,13 +1574,13 @@ export default { ...@@ -1578,13 +1574,13 @@ export default {
// 分配门店 // 分配门店
handleAllocateStore() { handleAllocateStore() {
this.closeAllocateStoreDialog(); this.allocateStoreVisible = !this.allocateStoreVisible;
}, },
closeAllocateStoreDialog(e) { closeAllocateStoreDialog(e) {
if (e?.flag) {
this.getDetail(); this.getDetail();
}
this.allocateStoreVisible = !this.allocateStoreVisible; this.allocateStoreVisible = !this.allocateStoreVisible;
}, },
...@@ -1627,24 +1623,7 @@ export default { ...@@ -1627,24 +1623,7 @@ export default {
entryTime: new Date(this.detail.entryTime), entryTime: new Date(this.detail.entryTime),
hireType: hireType:
this.detail.hireType || this.detail.hireType, this.detail.hireType || this.detail.hireType,
jobType:
this.detail.jobType == this.detail.levelType
? !this.isEmpty(
this.detail.nextMonthJobType
)
? this.detail.nextMonthJobType
: this.detail.jobType
: this.detail.levelType,
workingStatus: this.detail.workingStatus, workingStatus: this.detail.workingStatus,
mentorName: this.detail.mentorPhone
? this.mentorPhoneList?.find(
(item) =>
item.confId ==
this.detail.mentorPhone
)?.confValue || this.detail.mentorName
: "",
titleType: this.detail.titleType,
mentorPhone: this.detail.mentorPhone,
// basicSalary: // basicSalary:
// this.detail.basicSalary == this.detail.baseSalary // this.detail.basicSalary == this.detail.baseSalary
// ? !this.isEmpty(this.detail.nextMonthBasicSalary) // ? !this.isEmpty(this.detail.nextMonthBasicSalary)
......
...@@ -3,21 +3,19 @@ ...@@ -3,21 +3,19 @@
<baseDialog :dialog-config="dialogConfig" :is-show.sync="visible" @handleClick="submitSyncBeiSen" <baseDialog :dialog-config="dialogConfig" :is-show.sync="visible" @handleClick="submitSyncBeiSen"
:config="baseDialogConfig"> :config="baseDialogConfig">
<div class="sync-beisen-dialog"> <div class="sync-beisen-dialog">
<div style="display: flex; gap: 10px; margin-bottom: 20px;"> <div class="search-container">
<el-input v-model="syncSearchForm.staffName" placeholder="请输入姓名" style="width: 200px" clearable></el-input> <el-input v-model="syncSearchForm.staffName" placeholder="请输入姓名" class="search-input" clearable></el-input>
<el-input v-model="syncSearchForm.mobilePhone" placeholder="请输入手机号" style="width: 200px" <el-input v-model="syncSearchForm.mobilePhone" placeholder="请输入手机号" class="search-input"
clearable></el-input> clearable></el-input>
<el-button type="primary" @click="handleSyncSearch">查询</el-button> <el-button type="primary" @click="handleSyncSearch">查询</el-button>
</div> </div>
<div v-loading="syncLoading" <div v-loading="syncLoading" class="result-container">
style="min-height: 100px; max-height: 400px; overflow-y: auto; padding: 10px; border: 1px solid #EBEEF5; border-radius: 4px;"> <div v-if="!syncResultList.length" class="empty-state">
<div v-if="!syncResultList.length" style="text-align: center; color: #909399; margin-top: 40px;"> <img src="@/assets/empty.png" alt="" class="empty-img">
<i class="el-icon-document" style="font-size: 40px; margin-bottom: 10px; display: block;"></i> <span class="empty-text">未查询到匹配的北森员工数据</span>
未查询到匹配的北森员工数据
</div> </div>
<el-radio-group v-else v-model="selectedBeiSenUserId" <el-radio-group v-else v-model="selectedBeiSenUserId" class="radio-group-list">
style="display: flex; flex-direction: column; gap: 15px;">
<el-radio v-for="item in syncResultList" :key="item.userID" :label="item.userID"> <el-radio v-for="item in syncResultList" :key="item.userID" :label="item.userID">
{{ item.name }} | {{ item.mobilePhone }} {{ item.name }} | {{ item.mobilePhone }}
</el-radio> </el-radio>
...@@ -37,10 +35,10 @@ export default { ...@@ -37,10 +35,10 @@ export default {
type: Boolean, type: Boolean,
default: false, default: false,
}, },
detail: { satffId: {
type: Object, type: Number,
default: () => ({}), default: 0,
}, }
}, },
data() { data() {
return { return {
...@@ -102,9 +100,12 @@ export default { ...@@ -102,9 +100,12 @@ export default {
}); });
}, },
submitSyncBeiSen() { submitSyncBeiSen() {
if (!this.selectedBeiSenUserId) return; if (!this.selectedBeiSenUserId) {
this.$message.warning("请选择北森员工");
return;
}
const params = { const params = {
staffId: this.detail.id, // detail is fetched from staffBaseInfoPageList/getDetail, usually has id staffId: this.satffId,
beiSenUserID: this.selectedBeiSenUserId beiSenUserID: this.selectedBeiSenUserId
}; };
beiSenEmployeeSingleSyncApi(params).then(() => { beiSenEmployeeSingleSyncApi(params).then(() => {
...@@ -117,8 +118,51 @@ export default { ...@@ -117,8 +118,51 @@ export default {
}; };
</script> </script>
<style scoped> <style scoped lang="scss">
.sync-beisen-dialog { .sync-beisen-dialog {
padding: 0 20px; padding: 0 20px;
} }
.search-container {
display: flex;
gap: 10px;
margin-bottom: 20px;
}
.search-input {
width: 200px;
}
.result-container {
background-color: #F5F7FA;
min-height: 100px;
max-height: 400px;
overflow-y: auto;
padding: 16px;
border: 1px solid #ECEEF5;
border-radius: 4px;
}
.empty-state {
margin-top: 40px;
display: flex;
flex-direction: column;
align-items: center;
}
.empty-img {
width: 64px;
margin-bottom: 10px;
display: block;
}
.empty-text {
color: #999999;
}
.radio-group-list {
display: flex;
flex-direction: column;
gap: 15px;
}
</style> </style>
<!--
* @Author: 'wangzhihui' '1733904062@qq.com'
* @Date: 2026-02-04 10:27:58
* @LastEditors: 'wangzhihui' '1733904062@qq.com'
* @LastEditTime: 2026-04-27 15:43:24
* @FilePath: \dj-car-life-system\src\views\residentManage\inStoreManage\index.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<!-- 驻店管理 - 列表 --> <!-- 驻店管理 - 列表 -->
<template> <template>
<div> <div>
...@@ -28,7 +21,10 @@ ...@@ -28,7 +21,10 @@
<d2-table-header> <d2-table-header>
<template #left> <template #left>
<span class="left"> <span class="left">
<auth-button category="Button" :show-btn-ids="['9120506']" /> <span class="tips_text">
仅展示「深圳嘀加」服务商的驻店员工,以及「广联数科」商户下员工
</span>
<!-- <auth-button category="Button" :show-btn-ids="['9120506']" /> -->
</span> </span>
</template> </template>
<span style="display: inline-block; margin-right: 10px"> <span style="display: inline-block; margin-right: 10px">
...@@ -52,9 +48,7 @@ ...@@ -52,9 +48,7 @@
</span> </span>
<auth-button category="Button" :show-btn-ids="['9120507']" /> <auth-button category="Button" :show-btn-ids="['9120507']" />
</d2-table-header> </d2-table-header>
<span class="tips_text">
仅展示「深圳嘀加」服务商的驻店员工,以及「广联数科」商户下员工
</span>
<d2-table ref="recordTable" :before-search-fn="beforeSearchFn" class="inStoreTable" <d2-table ref="recordTable" :before-search-fn="beforeSearchFn" class="inStoreTable"
:get-list-api="getListApi" :search-form="searchFormSearch" :table-params="tableParams"> :get-list-api="getListApi" :search-form="searchFormSearch" :table-params="tableParams">
<template #auth-button="scope"> <template #auth-button="scope">
...@@ -62,7 +56,7 @@ ...@@ -62,7 +56,7 @@
<!-- <auth-button :data="scope.scope" /> --> <!-- <auth-button :data="scope.scope" /> -->
<auth-button :data="scope.scope" :show-btn-ids="['9120505']" /> <auth-button :data="scope.scope" :show-btn-ids="['9120505']" />
<!-- 待激活 --> <!-- 待激活 -->
<span style="margin-left:10px;"> <span style="margin-left:10px;" v-if="scope.scope.workingStatus == 2">
<auth-button :data="scope.scope" :show-btn-ids="['9120516']" /> <auth-button :data="scope.scope" :show-btn-ids="['9120516']" />
</span> </span>
...@@ -149,10 +143,9 @@ export default { ...@@ -149,10 +143,9 @@ export default {
searchForm: { searchForm: {
staffName: "", staffName: "",
staffPhone: "", staffPhone: "",
staffSceneLabel: "", baseSceneCode: "",
merchantName: "", merchantName: "",
hireType: "", oIdJobPostId: "",
jobType: "",
workingStatus: "", workingStatus: "",
createdSource: "", createdSource: "",
directLeaderPhones: [], directLeaderPhones: [],
...@@ -187,7 +180,7 @@ export default { ...@@ -187,7 +180,7 @@ export default {
}, },
{ {
label: "适配业务", label: "适配业务",
name: "staffSceneLabel", name: "baseSceneCode",
type: "select", type: "select",
isClear: true, isClear: true,
optionList: [], optionList: [],
...@@ -201,24 +194,14 @@ export default { ...@@ -201,24 +194,14 @@ export default {
type: "input", type: "input",
isClear: true, isClear: true,
}, },
// {
// label: "招聘通道",
// name: "hireType",
// type: "select",
// isClear: true,
// optionList: [],
// optionId: "confId",
// optionLabel: "confValue",
// optionsName: "hireTypeList",
// },
{ {
label: "岗位", label: "岗位",
name: "jobType", name: "oIdJobPostId",
type: "select", type: "select",
isClear: true, isClear: true,
optionList: [], optionList: [],
optionId: "confId", optionId: "oid",
optionLabel: "confValue", optionLabel: "name",
optionsName: "jobTypeList", optionsName: "jobTypeList",
}, },
...@@ -278,10 +261,10 @@ export default { ...@@ -278,10 +261,10 @@ export default {
}, },
{ {
label: "适配业务", label: "适配业务",
prop: "staffSceneLabel", prop: "accountSceneStr",
width: "160px", width: "160px",
formatter: (cellValue) => { formatter: (cellValue) => {
return cellValue.staffSceneLabel || "-"; return cellValue.accountSceneStr || "-";
}, },
}, },
{ {
...@@ -304,23 +287,16 @@ export default { ...@@ -304,23 +287,16 @@ export default {
}, },
{ {
label: "岗位", label: "岗位",
prop: "jobType", prop: "oidJobPost"
formatter: (cellValue) => {
// return filterStr(
// cellValue.jobType,
// this.baseData.jobTypeList,
// cellValue.hireType,
// );
},
}, },
{ {
label: "渠道", label: "渠道",
prop: "createdSource", prop: "createdSource",
formatter: (cellValue) => { formatter: (cellValue) => {
// return filterStr( return filterStr(
// cellValue.createdSource, cellValue.createdSource,
// this.baseData.createdSourceList, this.baseData.createdSourceList,
// ); );
}, },
}, },
...@@ -363,7 +339,7 @@ export default { ...@@ -363,7 +339,7 @@ export default {
prop: "workingStatus", prop: "workingStatus",
width: "120px", width: "120px",
formatter: (cellValue) => { formatter: (cellValue) => {
return (this.baseData.workingStatusList.find(item => item.confId === cellValue.workingStatus) || {}).confValue || "-"; return (this.baseData.workingStatusList.find(item => item.confId == cellValue.workingStatus) || {}).confValue || "-";
}, },
...@@ -395,12 +371,16 @@ export default { ...@@ -395,12 +371,16 @@ export default {
], ],
createdSourceList: [ createdSourceList: [
{ confId: "1", confValue: "账户中心" }, { confId: "1", confValue: "账户中心" },
{ confId: "2", confValue: "SCRM" },
{ confId: "3", confValue: "生意助手" }, { confId: "3", confValue: "生意助手" },
{ confId: "4", confValue: "门店助手" },
{ confId: "5", confValue: "服务商SAAS" }, { confId: "5", confValue: "服务商SAAS" },
{ confId: "6", confValue: "D+" }, { confId: "8", confValue: "北森同步" },
{ confId: "7", confValue: "员工版小程序" }, // { confId: "2", confValue: "SCRM" },
// { confId: "4", confValue: "门店助手" },
// { confId: "6", confValue: "D+" },
// { confId: "7", confValue: "员工版小程序" },
], ],
commissionList: [], commissionList: [],
}, },
...@@ -485,15 +465,18 @@ export default { ...@@ -485,15 +465,18 @@ export default {
getLeaderList(), getLeaderList(),
getCommissionListApi(), getCommissionListApi(),
getStaffSceneLabelList(), getStaffSceneLabelList(),
beiSenJobPostPageApi() beiSenJobPostPageApi({
pageNum: 1,
paseSize: 99999
})
]); ]);
console.log(jobTypeList, 'jobTypeList')
// 上级领导列表查询 // 上级领导列表查询
this.baseData.directLeaderList = directLeaderList; this.baseData.directLeaderList = directLeaderList;
// 工资绩效 // 工资绩效
this.baseData.commissionList = [{ staffName: "全部", staffPhone: "all" }].concat(commissionList); this.baseData.commissionList = [{ staffName: "全部", staffPhone: "all" }].concat(commissionList);
this.baseData.staffSceneLabelList = staffSceneLabelList; this.baseData.staffSceneLabelList = staffSceneLabelList;
this.baseData.jobTypeList = jobTypeList; this.baseData.jobTypeList = jobTypeList.list;
getOptionsList(this, "showFormData", true); getOptionsList(this, "showFormData", true);
getOptionsList(this, "showFormData", false, "directLeaderPhones"); getOptionsList(this, "showFormData", false, "directLeaderPhones");
getOptionsList(this, "showFormData", false, "commissionList"); getOptionsList(this, "showFormData", false, "commissionList");
...@@ -555,10 +538,9 @@ export default { ...@@ -555,10 +538,9 @@ export default {
staffName: "", staffName: "",
salaryStaffPhone: "", salaryStaffPhone: "",
staffPhone: "", staffPhone: "",
staffSceneLabel: "", baseSceneCode: "",
merchantName: "", merchantName: "",
hireType: "", oIdJobPostId: "",
jobType: "",
workingStatus: "", workingStatus: "",
createdSource: "", createdSource: "",
directLeaderPhones: [], directLeaderPhones: [],
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
</div> </div>
<!-- 关店风险 --> <!-- 关店风险 -->
<div class="section-header mt-20"> <div class="section-header mt-20" v-if="detailInfo.hitRuleTypeName">
<span class="section-title">关店风险</span> <span class="section-title">关店风险</span>
</div> </div>
<div class="section-body"> <div class="section-body">
...@@ -38,8 +38,8 @@ ...@@ -38,8 +38,8 @@
<div class="section-body"> <div class="section-body">
<div class="record-list"> <div class="record-list">
<div class="record-item" v-for="(item, index) in recordList" :key="index"> <div class="record-item" v-for="(item, index) in recordList" :key="index">
<div class="record-col">操作人:<span class="record-val">{{ item.confirmedByName || '-' }}</span></div> <div class="record-col">操作人:<span class="record-val">{{ item.operatedByName || '-' }}</span></div>
<div class="record-col">操作时间:<span class="record-val">{{ item.closeTime || '-' }}</span></div> <div class="record-col">操作时间:<span class="record-val">{{ item.operatedTime || '-' }}</span></div>
<div class="record-col">关店原因:<span class="record-val">{{ getReasonText(item) }}</span></div> <div class="record-col">关店原因:<span class="record-val">{{ getReasonText(item) }}</span></div>
</div> </div>
</div> </div>
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
</template> </template>
<script> <script>
import { closeStoreDetail } from '@api/salesManagement' import { closeStoreDetail, closeStoreOperateLogList } from '@api/salesManagement'
import { busTypeOpt, cooperModeOpt } from '../../constant/baseData' import { busTypeOpt, cooperModeOpt } from '../../constant/baseData'
export default { export default {
...@@ -100,52 +100,40 @@ export default { ...@@ -100,52 +100,40 @@ export default {
}, },
{ {
label: '业务类型', label: '业务类型',
name: 'businessTypeList', name: 'businessTypes',
type: 'showTxt', type: 'showTxt',
style: editItemStyle, style: editItemStyle,
txtStyle: contentStyle, txtStyle: contentStyle,
formatter: (cellValue) => {
return cellValue.businessTypeList ? cellValue.businessTypeList.map(item => busTypeOpt.find(opt => opt.confId == item.businessType)?.confLabel || '').join(',') : '-'
}
}, },
{ {
label: '合作模式', label: '合作模式',
name: 'cooperationMode', name: 'cooperationModeName',
type: 'showTxt', type: 'showTxt',
style: editItemStyle, style: editItemStyle,
txtStyle: contentStyle, txtStyle: contentStyle
formatter: (cellValue) => {
return cooperModeOpt.find(opt => opt.confId == cellValue.cooperationMode)?.confLabel || '-'
}
}, },
{ {
label: '主营品牌', label: '主营品牌',
name: 'brandList', name: 'mainBrands',
type: 'showTxt', type: 'showTxt',
style: editItemStyle, style: editItemStyle,
txtStyle: contentStyle, txtStyle: contentStyle
formatter: (cellValue) => {
return cellValue.brandList ? cellValue.brandList.map(item => item.subBrandName).join(',') : '-'
}
}, },
{ {
label: '关联商户', label: '关联商户',
name: 'merchantName', name: 'relatedMerchant',
type: 'showTxt', type: 'showTxt',
style: editItemStyle, style: editItemStyle,
txtStyle: contentStyle, txtStyle: contentStyle
formatter: (cellValue) => {
return ((cellValue.merchantName || '') + (cellValue.merchantId ? ('(' + cellValue.merchantId + ')') : '')) || '-'
}
}, },
{ {
label: '所在地区', label: '所在地区',
name: 'area', name: 'areaName',
type: 'showTxt', type: 'showTxt',
style: editItemStyle, style: editItemStyle,
txtStyle: contentStyle, txtStyle: contentStyle,
formatter: (cellValue) => { formatter: (cellValue) => {
return (cellValue.provinceName || '') + (cellValue.city || '') + (cellValue.districtName || '') || '-' return (cellValue.areaName || '') + (cellValue.city || '') + (cellValue.districtName || '') || '-'
} }
}, },
{ {
...@@ -161,6 +149,7 @@ export default { ...@@ -161,6 +149,7 @@ export default {
computed: { computed: {
visible: { visible: {
get() { get() {
return this.dialogVisible return this.dialogVisible
}, },
set(val) { set(val) {
...@@ -168,14 +157,15 @@ export default { ...@@ -168,14 +157,15 @@ export default {
} }
} }
}, },
watch: { mounted() {
dialogVisible(val) { if (this.visible) {
if (val && this.recordInfo) {
this.getDetail() this.getDetail()
this.closeStoreOperateLogList()
} }
}
}, },
methods: { methods: {
handleClose() { handleClose() {
this.visible = false this.visible = false
}, },
...@@ -187,21 +177,18 @@ export default { ...@@ -187,21 +177,18 @@ export default {
this.loading = false this.loading = false
if (res) { if (res) {
this.detailInfo = { ...this.detailInfo, ...res } this.detailInfo = { ...this.detailInfo, ...res }
this.recordList = res.recordList || []
if (this.recordList.length === 0 && this.detailInfo.status === 3) {
this.recordList.push({
confirmedByName: this.detailInfo.confirmedByName || this.detailInfo.followUpPersonName,
closeTime: this.detailInfo.closeTime,
confirmReason: this.detailInfo.confirmReason,
confirmRemark: this.detailInfo.confirmRemark
})
}
} }
}).catch(() => { }).catch(() => {
this.loading = false this.loading = false
}) })
}, },
closeStoreOperateLogList() {
closeStoreOperateLogList({ id: this.recordInfo.id }).then(res => {
if (res) {
this.recordList = res || []
}
})
},
getReasonText(item) { getReasonText(item) {
if (!item.confirmReason) return '-'; if (!item.confirmReason) return '-';
if (item.confirmReason === '其他') { if (item.confirmReason === '其他') {
...@@ -280,13 +267,13 @@ export default { ...@@ -280,13 +267,13 @@ export default {
.risk-alert { .risk-alert {
display: flex; display: flex;
align-items: center; align-items: center;
background-color: #fff8f0; background-color: #FEF4E8;
border-radius: 4px; border-radius: 4px;
padding: 12px 16px; padding: 16px 20px;
.risk-icon { .risk-icon {
color: #ff9900; color: #ff9900;
font-size: 18px; font-size: 20px;
margin-right: 10px; margin-right: 10px;
} }
......
...@@ -38,16 +38,9 @@ ...@@ -38,16 +38,9 @@
</div> </div>
<div slot="auth-button" slot-scope="scope" width="400"> <div slot="auth-button" slot-scope="scope" width="400">
<!-- 首次绑定 / 重新绑定 --> <!-- 首次绑定 / 重新绑定 -->
<span <span v-if="[3, 4].includes(scope.scope.potentialCustomersStatus)" style="margin-right: 10px">
v-if="[4].includes(scope.scope.potentialCustomersStatus) || ([3].includes(scope.scope.potentialCustomersStatus) && scope.scope.isBind == '1')"
style="margin-right: 10px">
<auth-button :data="scope.scope" :show-btn-ids="['9210102']" /> <auth-button :data="scope.scope" :show-btn-ids="['9210102']" />
</span> </span>
<!-- 信息核验 -->
<span v-if="([3].includes(scope.scope.potentialCustomersStatus) && scope.scope.isBind == '0')"
style="margin-right: 10px">
<auth-button :data="scope.scope" :show-btn-ids="['9210104']" />
</span>
<!-- 详情 --> <!-- 详情 -->
<span> <span>
<auth-button :data="scope.scope" :show-btn-ids="['9210103']" /> <auth-button :data="scope.scope" :show-btn-ids="['9210103']" />
...@@ -60,38 +53,6 @@ ...@@ -60,38 +53,6 @@
<customer-detail-dialog :detail-visible="detailVisible" :record-info="recordInfo" v-if="detailVisible" <customer-detail-dialog :detail-visible="detailVisible" :record-info="recordInfo" v-if="detailVisible"
@dialogClose="dialogClose" /> @dialogClose="dialogClose" />
<!-- 首次绑定 / 重新绑定 --> <!-- 首次绑定 / 重新绑定 -->
<info-verify-merchant-dialog
:visible.sync="infoVerifyVisible"
:customer-row="infoVerifyRow"
:submit-api="infoVerifySubmit"
:merchant-type-labels="['4S店']"
@success="handleSearch"
>
<template #storeDetail="{ customerRow }">
<div
v-if="customerRow && customerRow.id"
class="info-verify-store-detail"
>
<div class="info-verify-store-detail__title">
门店详情
</div>
<div class="info-verify-store-detail__grid">
<div class="info-verify-store-detail__row">
<span class="info-verify-store-detail__label">门店名称</span>
<span class="info-verify-store-detail__value">{{ customerRow.storeName || '-' }}</span>
</div>
<div class="info-verify-store-detail__row">
<span class="info-verify-store-detail__label">所在地区</span>
<span class="info-verify-store-detail__value">{{ [customerRow.provinceName, customerRow.city].filter(Boolean).join(' ') || '-' }}</span>
</div>
<div class="info-verify-store-detail__row info-verify-store-detail__row--full">
<span class="info-verify-store-detail__label">详细地址</span>
<span class="info-verify-store-detail__value">{{ customerRow.address || '-' }}</span>
</div>
</div>
</div>
</template>
</info-verify-merchant-dialog>
<glsk-form-dialog v-if="editVisible" :selectVisible="editVisible" :dialogConfig="editDialogConfig" label-width="104px" <glsk-form-dialog v-if="editVisible" :selectVisible="editVisible" :dialogConfig="editDialogConfig" label-width="104px"
dialog-width="520px" :formRules="editRules" :editData="editData" :editFormData="editFormData" :slotArr="slotArr" dialog-width="520px" :formRules="editRules" :editData="editData" :editFormData="editFormData" :slotArr="slotArr"
:base-data="baseData" @handleClose="editVisible = false" @handleConfirm="handleEditConfirm"> :base-data="baseData" @handleClose="editVisible = false" @handleConfirm="handleEditConfirm">
...@@ -113,9 +74,8 @@ ...@@ -113,9 +74,8 @@
import { Util, deepClone } from '@/common/util' import { Util, deepClone } from '@/common/util'
import { busTypeOpt, cooperModeOpt, flowSituateOpt, potentialCustomerOpt } from '../constant/baseData' import { busTypeOpt, cooperModeOpt, flowSituateOpt, potentialCustomerOpt } from '../constant/baseData'
import { mapActions, mapState } from 'vuex' import { mapActions, mapState } from 'vuex'
import { potentialCustomersPage, regionUserList, bind4SStore, potentialCustomersInfoVerify } from '@api/salesManagement' import { potentialCustomersPage, regionUserList, bind4SStore } from '@api/salesManagement'
import CustomerDetailDialog from '../components/CustomerDetailDialog.vue' import CustomerDetailDialog from '../components/CustomerDetailDialog.vue'
import InfoVerifyMerchantDialog from '@/components/merchantVerify/InfoVerifyMerchantDialog.vue'
import { getList } from "@api/merchant" import { getList } from "@api/merchant"
// import { tmplTypeList } from "../constant/baseData" // import { tmplTypeList } from "../constant/baseData"
import { getDistrictDetail, getBrandList } from "@/api/shopConfig.js" import { getDistrictDetail, getBrandList } from "@/api/shopConfig.js"
...@@ -140,6 +100,10 @@ export default { ...@@ -140,6 +100,10 @@ export default {
name: "3" name: "3"
}, },
{ {
label: '已绑定',
name: "4"
},
{
label: '未签约', label: '未签约',
name: "2" name: "2"
} }
...@@ -155,10 +119,7 @@ export default { ...@@ -155,10 +119,7 @@ export default {
flowSituation: '', flowSituation: '',
salesPersonId: '', salesPersonId: '',
signedDate: '', signedDate: '',
expectedDate: '', expectedDate: ''
isBind: '',
merchantName: '',
storeName: ''
}, },
searchFormSearch: {}, searchFormSearch: {},
showFormData: [{ showFormData: [{
...@@ -262,28 +223,14 @@ export default { ...@@ -262,28 +223,14 @@ export default {
type: 'datePicker', type: 'datePicker',
// pickerOptions: 'rangePickerOptions', // pickerOptions: 'rangePickerOptions',
isClear: true isClear: true
}, }, {
{
label: '信息核验',
name: 'isBind',
type: 'select',
optionList: [
{ value: '', label: '全部' },
{ value: '1', label: '是' },
{ value: '0', label: '否' }
],
optionId: 'value',
optionLabel: 'label',
isClear: true
},
{
label: '门店名称', label: '门店名称',
name: 'storeName', name: 'storeName',
type: 'input', type: 'input',
maxlength: '50', maxlength: '50',
isClear: true isClear: true
}, { }, {
label: '商户名称', label: '关联商户',
name: 'merchantName', name: 'merchantName',
type: 'input', type: 'input',
maxlength: '50', maxlength: '50',
...@@ -389,14 +336,6 @@ export default { ...@@ -389,14 +336,6 @@ export default {
4: "greenSpot" 4: "greenSpot"
}[cellValue.potentialCustomersStatus] }[cellValue.potentialCustomersStatus]
} }
}, {
label: '信息核验',
prop: 'isBind',
formatter: (cellValue) => {
if (cellValue.isBind === 1) return '是'
if (cellValue.isBind === 0) return '否'
return '-'
}
}] }]
}, },
baseData: { baseData: {
...@@ -469,11 +408,7 @@ export default { ...@@ -469,11 +408,7 @@ export default {
}, },
// 详情 // 详情
detailVisible: false, detailVisible: false,
recordInfo: null, recordInfo: null
// 信息核验(提交函数由 API 模块导入,便于替换为后端最终契约)
infoVerifyVisible: false,
infoVerifyRow: null,
infoVerifySubmit: potentialCustomersInfoVerify
} }
}, },
computed: { computed: {
...@@ -483,8 +418,7 @@ export default { ...@@ -483,8 +418,7 @@ export default {
}, },
components: { components: {
CustomerDetailDialog, CustomerDetailDialog
InfoVerifyMerchantDialog
}, },
directives: { directives: {
"el-select-loadmore": { "el-select-loadmore": {
...@@ -558,10 +492,7 @@ export default { ...@@ -558,10 +492,7 @@ export default {
apiFinish() { apiFinish() {
this.tableLoading = false this.tableLoading = false
}, },
handleInfoCheck(row = {}) {
this.infoVerifyRow = row
this.infoVerifyVisible = true
},
getOptionsList(formName, hasAll = true, refreshSigle) { getOptionsList(formName, hasAll = true, refreshSigle) {
if (refreshSigle) { if (refreshSigle) {
var item = this[formName].find(k => k.name == refreshSigle) var item = this[formName].find(k => k.name == refreshSigle)
...@@ -724,10 +655,7 @@ export default { ...@@ -724,10 +655,7 @@ export default {
flowSituation: '', flowSituation: '',
salesPersonId: '', salesPersonId: '',
signedDate: '', signedDate: '',
expectedDate: '', expectedDate: ''
isBind: '',
storeName: '',
merchantName: '',
} }
this.baseData.cityList = [] this.baseData.cityList = []
const cityIdx = this.showFormData.findIndex((item) => item.name == 'cityId') const cityIdx = this.showFormData.findIndex((item) => item.name == 'cityId')
...@@ -818,42 +746,4 @@ export default { ...@@ -818,42 +746,4 @@ export default {
white-space: nowrap; white-space: nowrap;
text-overflow: ellipsis; text-overflow: ellipsis;
overflow: hidden; overflow: hidden;
} }</style>
.info-verify-store-detail {
margin-bottom: 16px;
padding: 12px 14px;
background: #f7f8fa;
border-radius: 6px;
border: 1px solid #ebeef5;
}
.info-verify-store-detail__title {
font-size: 14px;
font-weight: 600;
color: #303133;
margin-bottom: 10px;
}
.info-verify-store-detail__grid {
display: flex;
flex-wrap: wrap;
gap: 8px 24px;
}
.info-verify-store-detail__row {
flex: 1 1 40%;
min-width: 200px;
font-size: 13px;
line-height: 1.5;
}
.info-verify-store-detail__row--full {
flex: 1 1 100%;
}
.info-verify-store-detail__label {
color: #909399;
margin-right: 8px;
}
</style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!