Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
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
hujun
tl_estate
Commits
cdd8cc23
Commit
cdd8cc23
authored
Sep 20, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
report_id
parent
16ea6b1b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
Evaluation.php
application/index/controller/Evaluation.php
+4
-4
No files found.
application/index/controller/Evaluation.php
View file @
cdd8cc23
...
@@ -112,13 +112,13 @@ class Evaluation extends Basic
...
@@ -112,13 +112,13 @@ class Evaluation extends Basic
$m_bargain
=
new
OBargainModel
();
$m_bargain
=
new
OBargainModel
();
$bargain_where
[
'id'
]
=
$bargain_id
;
$bargain_where
[
'id'
]
=
$bargain_id
;
$bargain_where
[
'father_id'
]
=
0
;
$bargain_where
[
'father_id'
]
=
0
;
$
order_id
=
$m_bargain
->
getFieldValue
(
'order
_id'
,
$bargain_where
);
$
bargain_data
=
$m_bargain
->
getDetail
(
'order_id,report
_id'
,
$bargain_where
);
if
(
empty
(
$
order_id
))
{
if
(
empty
(
$
bargain_data
))
{
return
$this
->
response
(
101
,
'没有该记录'
);
return
$this
->
response
(
101
,
'没有该记录'
);
}
}
$evaluate_where
[
'source'
]
=
20
;
$evaluate_where
[
'source'
]
=
20
;
$evaluate_where
[
'record_id'
]
=
$bargain_
id
;
$evaluate_where
[
'record_id'
]
=
$bargain_
data
[
'report_id'
]
;
$field
=
'evaluate_grade,evaluate_grade_attitude,evaluate_grade_clothing,evaluate_content,create_time,user_id'
;
$field
=
'evaluate_grade,evaluate_grade_attitude,evaluate_grade_clothing,evaluate_content,create_time,user_id'
;
$evaluate_data
=
$this
->
evaluateModel
->
getAgentEvaluateFraction
(
$field
,
$evaluate_where
);
$evaluate_data
=
$this
->
evaluateModel
->
getAgentEvaluateFraction
(
$field
,
$evaluate_where
);
...
@@ -131,7 +131,7 @@ class Evaluation extends Basic
...
@@ -131,7 +131,7 @@ class Evaluation extends Basic
$list
[
$k
][
'create_time'
]
=
$v
[
'create_time'
];
$list
[
$k
][
'create_time'
]
=
$v
[
'create_time'
];
$list
[
$k
][
'user_id'
]
=
$v
[
'user_id'
];
$list
[
$k
][
'user_id'
]
=
$v
[
'user_id'
];
$list
[
$k
][
'evaluate_content'
]
=
$v
[
'evaluate_content'
];
$list
[
$k
][
'evaluate_content'
]
=
$v
[
'evaluate_content'
];
$list
[
$k
][
'order_id'
]
=
$
order_id
;
$list
[
$k
][
'order_id'
]
=
$
bargain_data
[
'order_id'
]
;
$list
[
$k
][
'grade_string'
]
=
'专业'
.
$evaluate_grade
.
'/态度'
.
$evaluate_grade_attitude
.
'/着装'
.
$evaluate_grade_clothing
;
$list
[
$k
][
'grade_string'
]
=
'专业'
.
$evaluate_grade
.
'/态度'
.
$evaluate_grade_attitude
.
'/着装'
.
$evaluate_grade_clothing
;
}
}
return
$this
->
response
(
200
,
''
,
$list
);
return
$this
->
response
(
200
,
''
,
$list
);
...
...
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