0327-海宁pad走访修改、北仑网格业绩统计修改

This commit is contained in:
2026-03-27 17:27:00 +08:00
parent a7a7f40a35
commit a9ac968749
9 changed files with 142 additions and 29 deletions

View File

@@ -174,7 +174,7 @@ export default {
return this.roles.includes("headPrivate");
},
isRetailNew825Tenant() {
return String(this.deptId || '').slice(0, 3) === '965';
return String(this.deptId || '').slice(0, 3) === '825';
},
},
created() {

View File

@@ -364,7 +364,7 @@ export default {
return this.userName.slice(0, 3) == 965
},
isRetailNew825Tenant() {
return String(this.deptId || '').slice(0, 3) === '965'
return String(this.deptId || '').slice(0, 3) === '825'
}
},
watch: {

View File

@@ -220,7 +220,16 @@
show-overflow-tooltip
width="150px"
v-if="columns[5].visible"
></el-table-column>
>
<template slot-scope="scope">
<el-button
v-if="isPersonalFeedbackTab && getPersonalViewCustId(scope.row)"
type="text"
@click="openPersonalView(scope.row)"
>{{ scope.row.custName }}</el-button>
<span v-else>{{ scope.row.custName }}</span>
</template>
</el-table-column>
<el-table-column
align="left"
prop="custIdc"
@@ -228,7 +237,16 @@
show-overflow-tooltip
width="200px"
v-if="columns[6].visible && selectedTab === '0'"
></el-table-column>
>
<template slot-scope="scope">
<el-button
v-if="isPersonalFeedbackTab && getPersonalViewCustId(scope.row)"
type="text"
@click="openPersonalView(scope.row)"
>{{ scope.row.custIdc }}</el-button>
<span v-else>{{ scope.row.custIdc || "-" }}</span>
</template>
</el-table-column>
<el-table-column
align="left"
prop="socialCreditCode"
@@ -591,7 +609,7 @@ export default {
// 海宁
is875() {
const deptId = this.deptId === null || this.deptId === undefined ? '' : String(this.deptId)
return deptId.slice(0, 3) === '965'
return deptId.slice(0, 3) === '875'
},
isPersonalFeedbackTab() {
return this.is875 && this.selectedTab === '0'
@@ -670,6 +688,33 @@ export default {
const matched = this.sourceOptions.find(item => item.value === sourceValue);
return matched ? matched.label : (sourceValue || "-");
},
getPersonalViewCustId(row) {
const custId = row && row.custId ? String(row.custId).trim() : "";
if (custId) {
return custId;
}
const custIdc = row && row.custIdc ? String(row.custIdc).trim() : "";
return custIdc ? `101${custIdc}` : "";
},
openPersonalView(row) {
if (!this.isPersonalFeedbackTab) {
this.$message.warning("当前机构暂无个人客户视图跳转权限");
return;
}
const custId = this.getPersonalViewCustId(row);
if (!custId) {
this.$message.warning("未获取到客户标识,暂时无法跳转个人视图");
return;
}
this.$router.push({
path: "/360charts/indexcharts",
query: {
custId,
selectedTab: this.selectedTab,
backUrl: this.$route.path
}
});
},
handleEditFeedback(row) {
if (this.isFeedbackCompleted(row)) {
return;