diff --git a/src/page/wel.vue b/src/page/wel.vue
index 38cfae9..93a7ea5 100644
--- a/src/page/wel.vue
+++ b/src/page/wel.vue
@@ -33,6 +33,27 @@
>
+
+ 销讲业务:
+
+
+
+
+
@@ -508,11 +529,17 @@
环比:{{ cardlist.sequential.wordFractionHb || 0 }}
-
+
+{{ cardlist.liftlist.wordFractionHb || 0 }}%
-
+
{{ cardlist.liftlist.wordFractionHb || 0 }}%
@@ -569,11 +596,17 @@
环比:{{ cardlist.sequential.wordFinishFractionHb || 0 }}
-
+
+{{ cardlist.liftlist.wordFinishFractionHb || 0 }}%
-
+
{{ cardlist.liftlist.wordFinishFractionHb || 0 }}%
@@ -2236,6 +2269,8 @@ export default {
list: [],
fraction: "",
},
+ templateList: [], // 销讲业务列表
+ marketingBusiness: [], // 选中的销讲业务
};
},
@@ -2325,6 +2360,8 @@ export default {
this.findProhibitedRecord();
// 获取设备
this.findAllZkEquipment();
+
+ this.getMarketingBusiness();
} else {
// 公司
this.waitingForOperation();
@@ -2534,6 +2571,7 @@ export default {
startDate: this.statDateStart,
endDate: this.statDateEnd,
orgType: localStorage.getItem("orgType"),
+ marketingBusiness: this.marketingBusiness.join(","),
};
if (this.role == 1) {
obj.agentId = localStorage.getItem("agentId") / 1;
@@ -2614,6 +2652,19 @@ export default {
this.findAllZkEquipment();
});
},
+
+ // 获取销讲业务
+ getMarketingBusiness() {
+ this.$api.http
+ .marketingBusiness({ houseId: this.houseId })
+ .then((res) => {
+ console.log(res, '的萨克角度看待');
+ if (res.code == 10000) {
+ this.templateList = res.data;
+ }
+ });
+ },
+
//获取卡片数据
getgicd() {
let obj = {
@@ -2621,11 +2672,13 @@ export default {
dateType: this.TimetoAhoose == 5 ? null : this.TimetoAhoose,
statDateStart: this.statDateStart,
statDateEnd: this.statDateEnd,
+
+ marketingBusiness: this.marketingBusiness.join(","),
};
this.$api.http.houseIndex(obj).then((res) => {
- this.cardlist.datalist = res.data.todayStat
- this.cardlist.liftlist = res.data.comparedStat
- this.cardlist.sequential = res.data.yesterdayStat
+ this.cardlist.datalist = res.data.todayStat;
+ this.cardlist.liftlist = res.data.comparedStat;
+ this.cardlist.sequential = res.data.yesterdayStat;
});
},
//获取设备
@@ -2635,6 +2688,8 @@ export default {
.findAllZkEquipment({
onLine: this.classatec,
houseId: this.houseId,
+
+ marketingBusiness: this.marketingBusiness.join(","),
})
.then((res) => {
// 在这里赋值 低电
@@ -2652,6 +2707,8 @@ export default {
dateType: this.TimetoAhoose == 5 ? null : this.TimetoAhoose,
statDateStart: this.statDateStart,
statDateEnd: this.statDateEnd,
+
+ marketingBusiness: this.marketingBusiness.join(","),
})
.then((res) => {
this.prohibitedlist = res.data;
@@ -2665,6 +2722,8 @@ export default {
dateType: this.TimetoAhoose == 5 ? null : this.TimetoAhoose,
statDateStart: this.statDateStart,
statDateEnd: this.statDateEnd,
+
+ marketingBusiness: this.marketingBusiness.join(","),
})
.then((res) => {
this.indexZxllist = res.data.list || [];
@@ -2682,6 +2741,8 @@ export default {
dateType: this.TimetoAhoose == 5 ? null : this.TimetoAhoose,
statDateStart: this.statDateStart,
statDateEnd: this.statDateEnd,
+
+ marketingBusiness: this.marketingBusiness.join(","),
})
.then((res) => {
this.employeeExecutionRatelist = res.data;
@@ -2728,6 +2789,18 @@ export default {
this.waitingForOperation();
}
},
+
+ confirmtimes() {
+ if (this.role == 3) {
+ this.getgicd();
+ this.getindexZxllist();
+ this.getemployeeExecutionRatelist();
+ this.findProhibitedRecord();
+ } else {
+ this.waitingForOperation();
+ }
+ }
+
},
};
diff --git a/src/views/Customer/index.vue b/src/views/Customer/index.vue
index bcce4fd..4885fce 100644
--- a/src/views/Customer/index.vue
+++ b/src/views/Customer/index.vue
@@ -803,7 +803,7 @@ export default {
this.houseChange();
// 获取销讲业务
- // this.getMarketingBusiness();
+ this.getMarketingBusiness();
});
},
// 置业顾问列表
diff --git a/src/views/ReceivingRecords/index.vue b/src/views/ReceivingRecords/index.vue
index 6b26060..fcbd914 100644
--- a/src/views/ReceivingRecords/index.vue
+++ b/src/views/ReceivingRecords/index.vue
@@ -300,7 +300,7 @@
>
-
@@ -949,6 +973,9 @@ export default {
num5: "",
houseList: [],
role: "",
+
+ templateList: [], // 销讲业务列表
+ marketingBusiness: "", // 选中的销讲业务
};
},
computed: {
@@ -979,11 +1006,23 @@ export default {
this.tabtimetap(this.dateType);
this.deptFindList();
this.teamAllLeve();
+ this.getMarketingBusiness();
} else {
this.zkhousePage();
}
},
methods: {
+ // 获取销讲业务
+ getMarketingBusiness() {
+ this.$api.http
+ .marketingBusiness({ houseId: this.houseId })
+ .then((res) => {
+ console.log(res);
+ if (res.code == 10000) {
+ this.templateList = res.data;
+ }
+ });
+ },
// 排序触发
customTabLast(e) {
console.log(e);
diff --git a/src/views/Statistics/MentoringAbility.vue b/src/views/Statistics/MentoringAbility.vue
index cc6b980..6f09519 100644
--- a/src/views/Statistics/MentoringAbility.vue
+++ b/src/views/Statistics/MentoringAbility.vue
@@ -92,6 +92,30 @@
+
+
+
+
+ 销讲业务:
+
+
+
+
+
@@ -497,6 +521,9 @@ export default {
role: "",
data6flag: true,
data4flag: true,
+
+ templateList: [], // 销讲业务列表
+ marketingBusiness: [], // 选中的销讲业务
};
},
computed: {
@@ -510,6 +537,7 @@ export default {
if (this.role == 3) {
this.houseId = localStorage.getItem("houseId");
this.init();
+ this.getMarketingBusiness()
} else {
this.zkhousePage();
}
@@ -528,6 +556,18 @@ export default {
}
},
methods: {
+
+ // 获取销讲业务
+ getMarketingBusiness() {
+ this.$api.http
+ .marketingBusiness({ houseId: this.houseId })
+ .then((res) => {
+ console.log(res);
+ if (res.code == 10000) {
+ this.templateList = res.data;
+ }
+ });
+ },
downLoad() {
let obj = {
houseId: this.houseId,
@@ -572,6 +612,7 @@ export default {
userA: this.consultantlistid,
userB: this.Pklistid,
type: 1,
+ marketingBusiness: this.marketingBusiness.join(','),
};
if (this.TimetoAhoose == 7) {
pamaet.dateType = null;
@@ -610,6 +651,8 @@ export default {
size: this.size,
accountId: this.consultantlistid,
dateType: this.TimetoAhoose == 7 ? null : this.TimetoAhoose,
+ marketingBusiness: this.marketingBusiness.join(','),
+
})
.then((res) => {
this.tableData = res.data.records;
@@ -664,6 +707,8 @@ export default {
userA: this.consultantlistid,
userB: this.Pklistid,
type: 2,
+ marketingBusiness: this.marketingBusiness.join(','),
+
};
if (this.TimetoAhoose == 7) {
pamaet.dateType = null;
@@ -739,6 +784,7 @@ export default {
statDateEnd: this.statDateEnd,
userA: this.consultantlistid,
userB: this.Pklistid,
+ marketingBusiness: this.marketingBusiness.join(','),
type: 4,
};
if (this.TimetoAhoose == 7) {
@@ -774,6 +820,7 @@ export default {
userA: this.consultantlistid,
userB: this.Pklistid,
type: 5,
+ marketingBusiness: this.marketingBusiness.join(','),
words: this.teamAllLeve2id,
};
if (this.TimetoAhoose == 7) {
@@ -809,6 +856,7 @@ export default {
statDateStart: this.statDateStart,
statDateEnd: this.statDateEnd,
userA: this.consultantlistid,
+ marketingBusiness: this.marketingBusiness.join(','),
userB: this.Pklistid,
type: 6,
};
@@ -871,6 +919,16 @@ export default {
this.accountData6();
},
+
+ packtaps() {
+ this.accountData1();
+ this.accountData2();
+ this.accountData3();
+ this.accountData4();
+ this.accountData5();
+ this.accountData6();
+ },
+
// 获取一级
teamAllLeve() {
this.teamAllLevel = [{ name: "平均执行", value: "" }];
@@ -879,6 +937,7 @@ export default {
houseId: this.houseId,
dateType: 0,
statDateStart: this.statDateStart,
+ marketingBusiness: this.marketingBusiness.join(','),
statDateEnd: this.statDateEnd,
};
if (this.TimetoAhoose == 7) {
@@ -909,6 +968,7 @@ export default {
let pamaet = {
houseId: this.houseId,
statDateStart: this.statDateStart,
+ marketingBusiness: this.marketingBusiness.join(','),
statDateEnd: this.statDateEnd,
};
if (this.TimetoAhoose == 7) {
diff --git a/src/views/Statistics/ReceptionStatistical.vue b/src/views/Statistics/ReceptionStatistical.vue
index a4cbfd9..d9bcc4c 100644
--- a/src/views/Statistics/ReceptionStatistical.vue
+++ b/src/views/Statistics/ReceptionStatistical.vue
@@ -85,6 +85,26 @@
+
@@ -105,7 +125,7 @@
>
-
+
{
+ console.log(res);
+ if (res.code == 10000) {
+ this.templateList = res.data;
+ }
+ });
+ },
// 排序触发
customTabLast(e) {
console.log(e);
@@ -482,6 +517,7 @@ export default {
deptId: this.deptId,
accountId: this.accountId,
type: 2,
+ marketingBusiness: this.marketingBusiness.join(','),
})
.then((res) => {
this.detailData = res.data.records;
@@ -542,6 +578,7 @@ export default {
.receptionStatisticsAllAccount({
houseId: this.houseId,
deptId: this.deptId,
+ marketingBusiness: this.marketingBusiness.join(','),
})
.then((res) => {
console.log(res);
@@ -566,6 +603,7 @@ export default {
accountId: this.accountId,
dateType: this.dateType == 7 ? null : this.dateType,
type: 1,
+ marketingBusiness: this.marketingBusiness.join(','),
})
.then((res) => {
this.tableData = res.data.records;
diff --git a/src/views/Statistics/TheTeamCompared.vue b/src/views/Statistics/TheTeamCompared.vue
index 985963b..9b864c6 100644
--- a/src/views/Statistics/TheTeamCompared.vue
+++ b/src/views/Statistics/TheTeamCompared.vue
@@ -21,30 +21,6 @@
-
-
筛选日期:
@@ -78,10 +54,35 @@
>
+
+
+ 销讲业务:
+
+
+
+
+
-
+
@@ -602,12 +603,17 @@
-
+
-
违禁接待次数
-
-
-
+
+ 违禁接待次数
+
+
+
-
+
团队总数
{{ teamobj5.num || 0 }}个
@@ -651,10 +657,7 @@
{{ item.zxl }}次
-
+
暂无数据
@@ -724,6 +727,9 @@ export default {
houseList: [],
isshowcd: true,
isshowcd2: true,
+
+ templateList: [], // 销讲业务列表
+ marketingBusiness: [], // 选中的销讲业务
};
},
computed: {
@@ -737,6 +743,7 @@ export default {
if (this.role == 3) {
this.houseId = localStorage.getItem("houseId");
this.allhttp();
+ this.getMarketingBusiness();
} else {
this.zkhousePage();
}
@@ -754,6 +761,18 @@ export default {
}
},
methods: {
+ // 获取销讲业务
+ getMarketingBusiness() {
+ this.$api.http
+ .marketingBusiness({ houseId: this.houseId })
+ .then((res) => {
+ console.log(res);
+ if (res.code == 10000) {
+ this.templateList = res.data;
+ }
+ });
+ },
+
downLoad() {
let pamaet = {
houseId: this.houseId,
@@ -1253,9 +1272,8 @@ export default {
tabtimetap(index) {
this.TimetoAhoose = index;
-
if (index == 0) {
- this.customtime = []
+ this.customtime = [];
}
if (index == 4) {
let starTime = new Date().getTime() - 24 * 60 * 60 * 1000 * 7;
diff --git a/src/views/Statistics/TrendAnalysis.vue b/src/views/Statistics/TrendAnalysis.vue
index 02bc074..08960a4 100644
--- a/src/views/Statistics/TrendAnalysis.vue
+++ b/src/views/Statistics/TrendAnalysis.vue
@@ -1,43 +1,53 @@
-
-
+
+
-
+
筛选日期:
-
-
近7天
-
近15天
-
近30天
+
+ 近7天
+ 近15天
+ 近30天
-
-
-
-
-
-
-
- 对比时间段
+ 对比时间段
-
+
@@ -80,42 +95,91 @@
{{ selectTime }}
-
-
-
+
-
+
+ 销讲业务:
+
+
+
+
+
+
-
+
-
有效接待
-
+
+ 有效接待
+
{{ cardobj.startSumCustomer || 0 }}次
-
+
- 环比:{{ cardobj.endSumCustomer || 0 }}次
+ 环比:{{ cardobj.endSumCustomer || 0 }}次
+{{ cardobj.contrastSumCustomer || 0 }}
@@ -128,7 +192,6 @@
数据有所增长
数据有所下降
-
@@ -137,22 +200,32 @@
-
平均执行率
-
+
+ 平均执行率
+
{{ cardobj.startFraction || 0 }}%
-
+
- 环比:{{ cardobj.endFraction || 0 }}次
+ 环比:{{ cardobj.endFraction || 0 }}次
+{{ cardobj.contrastFraction || 0 }}%
@@ -165,7 +238,6 @@
数据有所增长
数据有所下降
-
@@ -174,21 +246,32 @@
-
平均接待时长/min
-
-
+
+ 平均接待时长/min
+
+
{{ cardobj.startSumDuration || 0 }}
-
+
- 环比:{{ cardobj.endSumDuration || 0 }}次
+ 环比:{{ cardobj.endSumDuration || 0 }}次
+{{ cardobj.contrastSumDuration || 0 }}
@@ -201,7 +284,6 @@
数据有所增长
数据有所下降
-
@@ -211,7 +293,11 @@
-
+
平均执行率
@@ -223,66 +309,123 @@
销讲一级执行
-
-
+
部门:
-
-
+
+
-
+
顾问:
-
-
+
+
-
+
一级:
-
-
+
+
二级:
-
-
+
+
-
-
+
对比报表
-
+
@@ -298,41 +441,69 @@
- {{ scope.row.heji }}%
+ {{ scope.row.heji }}%
{{ scope.row.heji }}%
- {{ scope.row.heji }}%
+ {{ scope.row.heji }}%
-
+
-
+ |
{{ item.name }}
|
-
+ |
{{ item.name }}
|
-
+ |
{{ item.name }}
|
-
+ |
{{ item.name }}
{{ item.name }}%
- {{ item.name }}%
- {{ item.name }}%
+ {{ item.name }}%
+ {{ item.name }}%
|
@@ -347,7 +518,7 @@ import * as echarts from "echarts";
import { mapGetters } from "vuex";
import { exportMethodPost } from "@/util/util";
-import color from "../../util/theme.color"
+import color from "../../util/theme.color";
export default {
data() {
return {
@@ -389,6 +560,9 @@ export default {
houseList: [],
role: "",
mainFlag: true,
+
+ templateList: [], // 销讲业务列表
+ marketingBusiness: [], // 选中的销讲业务
};
},
computed: {
@@ -403,13 +577,13 @@ export default {
this.houseId = localStorage.getItem("houseId");
this.tabtimetap(4);
this.overviewfindList();
+ this.getMarketingBusiness()
} else {
this.zkhousePage();
}
},
methods: {
downLoad() {
-
// exportMethodPost()
},
houseChange() {
@@ -447,6 +621,7 @@ export default {
lastStartDate: this.selectTime,
lastEndDate: this.selectTime1,
marketingId: this.Level2id,
+ marketingBusiness: this.marketingBusiness.join(','),
};
if (this.timeType == -1) {
@@ -490,8 +665,8 @@ export default {
if (sdf == zxc) {
newline2.push(
item.statDate.substring(5, 10) +
- "vs" +
- child.statDate.substring(5, 10)
+ "vs" +
+ child.statDate.substring(5, 10)
);
arr.push({
name:
@@ -548,6 +723,8 @@ export default {
firstEndDate: this.page.closeTime,
lastStartDate: this.selectTime,
lastEndDate: this.selectTime1,
+
+ marketingBusiness: this.marketingBusiness.join(','),
};
if (this.timeType == -1) {
@@ -585,7 +762,7 @@ export default {
trendAnalysisAllAccount(pamaet) {
this.$api.http.trendAnalysisAllAccount(pamaet).then((res) => {
this.consultantlist = res.data || [];
- this.tablelist1 = []
+ this.tablelist1 = [];
this.tablelist2 = [];
this.tablelist3 = [];
this.tablelist4 = [];
@@ -601,7 +778,7 @@ export default {
},
trendAnalysisAccount() {
// console.log("snsnsnsnsnsnsnnswn")
- this.tablelist1 = []
+ this.tablelist1 = [];
this.tablelist2 = [];
this.tablelist3 = [];
this.tablelist4 = [];
@@ -615,6 +792,8 @@ export default {
firstEndDate: this.page.closeTime,
lastStartDate: this.selectTime,
lastEndDate: this.selectTime1,
+
+ marketingBusiness: this.marketingBusiness.join(','),
};
if (this.aliasclass == 3) {
pamaet.accountId = this.consultantid;
@@ -715,6 +894,8 @@ export default {
firstEndDate: this.page.closeTime,
lastStartDate: this.selectTime,
lastEndDate: this.selectTime1,
+
+ marketingBusiness: this.marketingBusiness.join(','),
};
if (this.timeType == -1) {
@@ -787,8 +968,8 @@ export default {
if (sdf == zxc) {
newline2.push(
item.statDate.substring(5, 10) +
- "vs" +
- child.statDate.substring(5, 10)
+ "vs" +
+ child.statDate.substring(5, 10)
);
arr.push({
name:
@@ -836,6 +1017,20 @@ export default {
}
});
},
+
+
+ // 获取销讲业务
+ getMarketingBusiness() {
+ this.$api.http
+ .marketingBusiness({ houseId: this.houseId })
+ .then((res) => {
+ console.log(res);
+ if (res.code == 10000) {
+ this.templateList = res.data;
+ }
+ });
+ },
+
//切换部门
departmenttap() {
this.trendtrendAnalysis();
@@ -844,7 +1039,7 @@ export default {
//选项卡切换
tapChange(idx) {
this.aliasclass = idx;
- this.mainFlag = true
+ this.mainFlag = true;
this.trendtrendAnalysis();
},
//时间tab切换
@@ -891,8 +1086,8 @@ export default {
this.selectTime = e;
this.selectTime1 = this.timestampToTime(
new Date(e).getTime() +
- new Date(this.page.closeTime).getTime() -
- new Date(this.page.openTime).getTime()
+ new Date(this.page.closeTime).getTime() -
+ new Date(this.page.openTime).getTime()
);
} else {
// 获取今天昨天近一周
@@ -964,12 +1159,12 @@ export default {
legend: {
data: ["起始时间"],
top: "10",
- icon:"roundRect"
+ icon: "roundRect",
},
grid: {
left: 10,
right: 10,
- bottom:18,
+ bottom: 18,
containLabel: true,
},
xAxis: {
@@ -1024,15 +1219,12 @@ export default {
type: "line",
smooth: true,
areaStyle: {
- color: new echarts.graphic.LinearGradient(
- 0, 0, 0, 1,
- [
- { offset: 0, color: color.randomColor },
- { offset: 1, color: "#fff" }
- ]
- ),
- opacity: 0.1
- }
+ color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
+ { offset: 0, color: color.randomColor },
+ { offset: 1, color: "#fff" },
+ ]),
+ opacity: 0.1,
+ },
},
],
};
@@ -1041,7 +1233,6 @@ export default {
window.addEventListener("resize", () => {
myChart.resize();
});
-
},
SwitchCARDS2(newline, newline1, newline2) {
echarts.init(document.getElementById("main")).dispose();
@@ -1073,12 +1264,12 @@ export default {
legend: {
data: ["起始时间", "对比时间"],
top: "10",
- icon:"roundRect"
+ icon: "roundRect",
},
grid: {
left: 10,
right: 10,
- bottom:18,
+ bottom: 18,
containLabel: true,
},
@@ -1163,7 +1354,7 @@ export default {
data: ["起始时间", "对比时间"],
right: "10",
top: "10",
- icon:"roundRect"
+ icon: "roundRect",
},
color: ["#2671E2", "#F3787B"],
radar: {
@@ -1194,14 +1385,12 @@ export default {
window.addEventListener("resize", () => {
myChart.resize();
});
- this.mainFlag = true
- }
- catch (err) {
- this.mainFlag = false
- console.log(err, '234');
+ this.mainFlag = true;
+ } catch (err) {
+ this.mainFlag = false;
+ console.log(err, "234");
echarts.init(document.getElementById("main")).dispose();
}
-
},
piechart(newline, newlinename) {
echarts.init(document.getElementById("main")).dispose();
@@ -1217,7 +1406,7 @@ export default {
data: ["起始时间"],
right: "10",
top: "10",
- icon:"roundRect"
+ icon: "roundRect",
},
color: ["#2671E2", "#F3787B"],
radar: {
@@ -1248,12 +1437,11 @@ export default {
window.addEventListener("resize", () => {
myChart.resize();
});
- this.mainFlag = true
- }
- catch (err) {
- this.mainFlag = false
+ this.mainFlag = true;
+ } catch (err) {
+ this.mainFlag = false;
echarts.init(document.getElementById("main")).dispose();
- console.log(err, '123');
+ console.log(err, "123");
}
},
},
@@ -1401,9 +1589,8 @@ export default {
border-top: 1px solid #e0e0e0;
border-bottom: 1px solid #e0e0e0;
font-size: 14px;
- &:last-child{
- border-right: 1px solid #e0e0e0;
-
+ &:last-child {
+ border-right: 1px solid #e0e0e0;
}
}
@@ -1446,8 +1633,8 @@ export default {
color: #666666;
margin-left: 30px;
margin-top: 24px;
- display: flex;
- align-items: center;
+ display: flex;
+ align-items: center;
}
.text2 {
@@ -1502,7 +1689,7 @@ export default {
.app-top {
// width: 100%;
// width: calc(100% - 270px);
- position: fixed;
+ position: fixed;
z-index: 999;
margin-top: -16px;
background: #ffffff;
@@ -1511,7 +1698,7 @@ export default {
border-radius: 4px;
padding-top: 15px;
padding-bottom: 15px;
- left:255px;
+ left: 255px;
right: 15px;
}
@@ -1580,16 +1767,16 @@ export default {
margin-top: 100px;
color: #999999;
}
-.pop{
+.pop {
display: inline-block;
width: 18px;
height: 18px;
- background: url('../../../public/img/pop.png') no-repeat;
+ background: url("../../../public/img/pop.png") no-repeat;
background-size: 100%;
margin-left: 6px;
}
-/deep/ .el-button--primary{
- background: #2671E2 !important;
- border: 1px solid #2671E2 !important;
+/deep/ .el-button--primary {
+ background: #2671e2 !important;
+ border: 1px solid #2671e2 !important;
}
diff --git a/src/views/Statistics/index.vue b/src/views/Statistics/index.vue
index 2c03680..b117f3d 100644
--- a/src/views/Statistics/index.vue
+++ b/src/views/Statistics/index.vue
@@ -23,7 +23,7 @@
-
接待时间:
+
接待时间:
近30天
-
+
-
-
+ 导出
@@ -66,9 +86,19 @@
-
-
- {{ efficient || '-' }}
+
+
+ {{ efficient || "-" }}
有效接待
-
+
暂无数据
@@ -146,7 +181,11 @@
margin-top: 100px;
"
>
-
+
暂无数据
@@ -161,13 +200,46 @@
display: flex;
align-items: center;
justify-content: center;
- ">
- {{ inde + 1 }}
+ "
+ >
+ {{ inde + 1 }}
-
+
话术名称
diff --git a/src/views/Template/table.js b/src/views/Template/table.js
index bdeefb7..7980bd8 100644
--- a/src/views/Template/table.js
+++ b/src/views/Template/table.js
@@ -34,14 +34,14 @@ export default {
label: "模板名称",
prop: "templateName",
},
- // {
- // label: "默认话术",
- // prop: "defaultTemplate",
- // formatter: (data) => {
- // if(data.defaultTemplate == 0) return '是'
- // if(data.defaultTemplate == 1) return '否'
- // }
- // },
+ {
+ label: "默认话术",
+ prop: "defaultTemplate",
+ formatter: (data) => {
+ if(data.defaultTemplate == 0) return '是'
+ if(data.defaultTemplate == 1) return '否'
+ }
+ },
{
label: "大类个数",
prop: "count",