Commit 7c9f21f3 authored by 罗超's avatar 罗超

新增统计

parent ed8fb233
...@@ -127,6 +127,8 @@ ...@@ -127,6 +127,8 @@
<th @click="sort" data-key="IncomeMoney">收款次数</th> <th @click="sort" data-key="IncomeMoney">收款次数</th>
<th @click="sort" data-key="Tousu">处理投诉</th> <th @click="sort" data-key="Tousu">处理投诉</th>
<th @click="sort" data-key="SeeOldClient">拜访老客户</th> <th @click="sort" data-key="SeeOldClient">拜访老客户</th>
<th @click="sort" data-key="ClientSelfOrders">同行自行报名</th>
<th @click="sort" data-key="Balance">幸福存折余额</th>
</tr> </tr>
</thead> </thead>
</table> </table>
...@@ -347,6 +349,18 @@ ...@@ -347,6 +349,18 @@
@click="chosen(index,32)" @click="chosen(index,32)"
class="even" class="even"
>{{item.SeeOldClient}}</td> >{{item.SeeOldClient}}</td>
<td
@mouseleave="outTable"
@mouseover="activeTd(index,33)"
@click="chosen(index,33)"
class="even"
>{{item.ClientSelfOrders}}</td>
<td
@mouseleave="outTable"
@mouseover="activeTd(index,34)"
@click="chosen(index,34)"
class="even"
>{{item.Balance}}</td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
...@@ -414,6 +428,9 @@ export default { ...@@ -414,6 +428,9 @@ export default {
this.init(); this.init();
this.startMove(); this.startMove();
}, },
destroyed() {
document.onkeydown=null;
},
methods: { methods: {
showCareer(){ showCareer(){
let temp=this.tableData[this.chosenTD.row].EmployeeId let temp=this.tableData[this.chosenTD.row].EmployeeId
...@@ -474,7 +491,7 @@ export default { ...@@ -474,7 +491,7 @@ export default {
that.chosen(that.chosenTD.row, that.chosenTD.col - 1); that.chosen(that.chosenTD.row, that.chosenTD.col - 1);
} }
} else if (e.keyCode == 39) { } else if (e.keyCode == 39) {
if (that.chosenTD.col + 1 < 33) { if (that.chosenTD.col + 1 < 35) {
that.chosen(that.chosenTD.row, that.chosenTD.col + 1); that.chosen(that.chosenTD.row, that.chosenTD.col + 1);
} }
} else if (e.keyCode == 188) { } else if (e.keyCode == 188) {
......
...@@ -238,30 +238,30 @@ export default { ...@@ -238,30 +238,30 @@ export default {
return `<span>${rowData.rejectCount <= 0 ? '' : rowData.rejectCount}</span>` return `<span>${rowData.rejectCount <= 0 ? '' : rowData.rejectCount}</span>`
} }
}; };
let receivedPeopleCount = { // let receivedPeopleCount = {
field: "receivedPeopleCount", // field: "receivedPeopleCount",
title: "收客总人数", // title: "收客总人数",
titleAlign: "left", // titleAlign: "left",
columnAlign: "left", // columnAlign: "left",
isResize: true, // isResize: true,
width: 100, // width: 100,
orderBy: "", // orderBy: "",
formatter: function(rowData, rowIndex, pagingIndex, field) { // formatter: function(rowData, rowIndex, pagingIndex, field) {
return `<span>${rowData.receivedPeopleCount <= 0 ? '' : rowData.receivedPeopleCount}</span>` // return `<span>${rowData.receivedPeopleCount <= 0 ? '' : rowData.receivedPeopleCount}</span>`
} // }
}; // };
let orderCount = { // let orderCount = {
field: "orderCount", // field: "orderCount",
title: "订单数量", // title: "订单数量",
titleAlign: "left", // titleAlign: "left",
columnAlign: "left", // columnAlign: "left",
isResize: true, // isResize: true,
width: 80, // width: 80,
orderBy: "", // orderBy: "",
formatter: function(rowData, rowIndex, pagingIndex, field) { // formatter: function(rowData, rowIndex, pagingIndex, field) {
return `<span>${rowData.orderCount <= 0 ? '' : rowData.orderCount}</span>` // return `<span>${rowData.orderCount <= 0 ? '' : rowData.orderCount}</span>`
} // }
}; // };
let uncollected = { let uncollected = {
field: "uncollected", field: "uncollected",
title: "未收款金额", title: "未收款金额",
......
...@@ -119,7 +119,7 @@ export default { ...@@ -119,7 +119,7 @@ export default {
let domainUrl = ''; let domainUrl = '';
let locationName = window.location.hostname; let locationName = window.location.hostname;
//domainUrl = "http://192.168.2.214:8082"; //domainUrl = "http://192.168.2.214:8082";
domainUrl = "http://192.168.2.65:8025"; domainUrl = "http://localhost:13491";
//domainUrl = "http://192.168.2.16:8083"; //domainUrl = "http://192.168.2.16:8083";
//domainUrl = "http://192.168.0.110"; //domainUrl = "http://192.168.0.110";
...@@ -403,7 +403,7 @@ export default { ...@@ -403,7 +403,7 @@ export default {
}) })
} else if (res.resultCode == 10005) { } else if (res.resultCode == 10005) {
this.$router.go(-1) this.$router.go(-1)
} else if(res.data.data.isJumpTwoCode==1){ } else if (res.data.data.isJumpTwoCode == 1) {
this.$router.push({ this.$router.push({
path: '/clientConfirm' path: '/clientConfirm'
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment