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

新增统计

parent ed8fb233
......@@ -127,6 +127,8 @@
<th @click="sort" data-key="IncomeMoney">收款次数</th>
<th @click="sort" data-key="Tousu">处理投诉</th>
<th @click="sort" data-key="SeeOldClient">拜访老客户</th>
<th @click="sort" data-key="ClientSelfOrders">同行自行报名</th>
<th @click="sort" data-key="Balance">幸福存折余额</th>
</tr>
</thead>
</table>
......@@ -347,6 +349,18 @@
@click="chosen(index,32)"
class="even"
>{{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>
</tbody>
</table>
......@@ -414,6 +428,9 @@ export default {
this.init();
this.startMove();
},
destroyed() {
document.onkeydown=null;
},
methods: {
showCareer(){
let temp=this.tableData[this.chosenTD.row].EmployeeId
......@@ -474,7 +491,7 @@ export default {
that.chosen(that.chosenTD.row, that.chosenTD.col - 1);
}
} 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);
}
} else if (e.keyCode == 188) {
......
......@@ -238,30 +238,30 @@ export default {
return `<span>${rowData.rejectCount <= 0 ? '' : rowData.rejectCount}</span>`
}
};
let receivedPeopleCount = {
field: "receivedPeopleCount",
title: "收客总人数",
titleAlign: "left",
columnAlign: "left",
isResize: true,
width: 100,
orderBy: "",
formatter: function(rowData, rowIndex, pagingIndex, field) {
return `<span>${rowData.receivedPeopleCount <= 0 ? '' : rowData.receivedPeopleCount}</span>`
}
};
let orderCount = {
field: "orderCount",
title: "订单数量",
titleAlign: "left",
columnAlign: "left",
isResize: true,
width: 80,
orderBy: "",
formatter: function(rowData, rowIndex, pagingIndex, field) {
return `<span>${rowData.orderCount <= 0 ? '' : rowData.orderCount}</span>`
}
};
// let receivedPeopleCount = {
// field: "receivedPeopleCount",
// title: "收客总人数",
// titleAlign: "left",
// columnAlign: "left",
// isResize: true,
// width: 100,
// orderBy: "",
// formatter: function(rowData, rowIndex, pagingIndex, field) {
// return `<span>${rowData.receivedPeopleCount <= 0 ? '' : rowData.receivedPeopleCount}</span>`
// }
// };
// let orderCount = {
// field: "orderCount",
// title: "订单数量",
// titleAlign: "left",
// columnAlign: "left",
// isResize: true,
// width: 80,
// orderBy: "",
// formatter: function(rowData, rowIndex, pagingIndex, field) {
// return `<span>${rowData.orderCount <= 0 ? '' : rowData.orderCount}</span>`
// }
// };
let uncollected = {
field: "uncollected",
title: "未收款金额",
......
......@@ -118,8 +118,8 @@ export default {
Vue.prototype.domainManager = function() {
let domainUrl = '';
let locationName = window.location.hostname;
//domainUrl = "http://192.168.2.214:8082";
domainUrl = "http://192.168.2.65:8025";
//domainUrl = "http://192.168.2.214:8082";
domainUrl = "http://localhost:13491";
//domainUrl = "http://192.168.2.16:8083";
//domainUrl = "http://192.168.0.110";
......@@ -403,7 +403,7 @@ export default {
})
} else if (res.resultCode == 10005) {
this.$router.go(-1)
} else if(res.data.data.isJumpTwoCode==1){
} else if (res.data.data.isJumpTwoCode == 1) {
this.$router.push({
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