Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
罗超
SuperMan
Commits
7c9f21f3
Commit
7c9f21f3
authored
Aug 09, 2019
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增统计
parent
ed8fb233
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
45 additions
and
28 deletions
+45
-28
PersonnelManagement.vue
src/components/activity/PersonnelManagement.vue
+18
-1
ExaminationStatistics.vue
src/components/administrative/ExaminationStatistics.vue
+24
-24
index.js
src/plug/index.js
+3
-3
No files found.
src/components/activity/PersonnelManagement.vue
View file @
7c9f21f3
...
...
@@ -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
<
3
3
)
{
if
(
that
.
chosenTD
.
col
+
1
<
3
5
)
{
that
.
chosen
(
that
.
chosenTD
.
row
,
that
.
chosenTD
.
col
+
1
);
}
}
else
if
(
e
.
keyCode
==
188
)
{
...
...
src/components/administrative/ExaminationStatistics.vue
View file @
7c9f21f3
...
...
@@ -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
:
"未收款金额"
,
...
...
src/plug/index.js
View file @
7c9f21f3
...
...
@@ -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'
})
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment