diff --git a/src/api/modules/http.js b/src/api/modules/http.js
index d6a40d5..4ae9665 100644
--- a/src/api/modules/http.js
+++ b/src/api/modules/http.js
@@ -834,3 +834,13 @@ export function operationStatistics(query) {
params:query
})
}
+
+//运营工作统计详情
+export function operationStatisticsDetail(query) {
+ return request({
+ url: 'autoSR/cusStageStatistics/operationStatisticsDetail',
+ method: 'get',
+ params:query
+ })
+}
+
diff --git a/src/views/houseData/count.vue b/src/views/houseData/count.vue
index c80c853..5bd7ca9 100644
--- a/src/views/houseData/count.vue
+++ b/src/views/houseData/count.vue
@@ -54,11 +54,6 @@
-
@@ -102,7 +97,7 @@ houseQuantityInService; //服务中楼盘数
操作内容:
@@ -138,40 +134,40 @@ houseQuantityInService; //服务中楼盘数
style="width:180px"
maxlength="30"
clearable
- v-model="erfromdata.name"
+ v-model="erfromdata.title"
placeholder="请输入内容"
>
-
+
-
+
-
+
-
@@ -192,7 +187,6 @@ import { getAreaList } from "@/api/modules/api";
export default {
data() {
return {
-
fromdata:{
datatime:'',
operationStaffId:'',
@@ -203,21 +197,56 @@ export default {
endDate:''
},
erfromdata:{
- name:'',
+ houseName:'',
+ title:'',
starTime:"",
statime:'',
endtime:'',
total:0,
size:10,
- currentPage:1
+ currentPage:1,
+ operationTypeid:''
},
- tableData:[
- {propertyName:'还是卡顿和'}
- ],
+ tableData:[],
operaList:[],
texteditorishow:false,
orgType: localStorage.getItem("orgType"),
-
+ operationType:[
+ {
+ value: "0",
+ label: "添加常错词",
+ },
+ {
+ value: "1",
+ label: "接待错词修改",
+ },
+ {
+ value: "2",
+ label: "标记顾问",
+ },
+ {
+ value: "3",
+ label: "未标记顾问接待",
+ },
+ {
+ value: "4",
+ label: "新增违禁词条",
+ },
+ {
+ value: "5",
+ label: "客户标签修改 ",
+ },
+ {
+ value: "6",
+ label: "销讲话术修改",
+ },
+ {
+ value: "7",
+ label: "登录楼盘",
+ },
+ ],
+ createBy:'',
+ infodata:[]
};
},
computed: {
@@ -246,6 +275,7 @@ export default {
});
}
},
+ //获取列表
operationStatistics(){
let form={
createBy:this.fromdata.operationStaffId,
@@ -260,8 +290,37 @@ export default {
});
},
//查看工作明细
- toinfo(){
- this.texteditorishow=true
+ toinfo(row){
+ this.infodata=[]
+ this.texteditorishow=true;
+ this.erfromdata.starTime=this.fromdata.datatime;
+ this.erfromdata.statime= this.fromdata.startDate;
+ this.erfromdata.endtime= this.fromdata.endDate;
+ this.erfromdata.houseName='';
+ this.erfromdata.operationTypeid='';
+ this.erfromdata.title='';
+ this.createBy=row.createBy;
+ this.erfromdata.total=0;
+ this.erfromdata.size=10;
+ this.erfromdata.currentPage=1;
+ console.log(this.createBy)
+ this.operationStatisticsDetail()
+ },
+ //获取工作明细表格
+ operationStatisticsDetail(){
+ this.infodata=[];
+ let form={
+ startDate:this.erfromdata.statime,
+ endDate:this.erfromdata.endtime,
+ houseName:this.erfromdata.houseName,
+ operationType:this.erfromdata.operationTypeid,
+ title:this.erfromdata.title,
+ createBy: this.createBy
+ }
+ this.$api.http.operationStatisticsDetail(form).then((res) => {
+ this.infodata=res.data.records;
+ this.erfromdata.total=res.data.total;
+ });
},
//清空
empty(){
@@ -276,8 +335,8 @@ export default {
},
// 时间选择
timeChange1(){
- this.statime=this.starTime[0]
- this.endtime=this.starTime[1]
+ this.erfromdata.statime=this.erfromdata.starTime[0]
+ this.erfromdata.endtime=this.erfromdata.starTime[1]
},
timeChange(){
this.fromdata.startDate=this.fromdata.datatime[0];
@@ -295,6 +354,16 @@ export default {
this.operationStatistics()
},
+ handleSizeChange111(val) {
+ console.log(`每页 ${val} 条`);
+ this.erfromdata.size = val;
+ this.operationStatisticsDetail()
+ },
+ handleCurrentChange111(val) {
+ console.log(`当前页: ${val}`);
+ this.erfromdata.currentPage = val;
+ this.operationStatisticsDetail()
+ },
},
};