Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-admin
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
shenshaokai
jinfa-admin
Commits
ba0ef87b
Commit
ba0ef87b
authored
Dec 04, 2020
by
GuanHua
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://10.0.0.22:3000/lingxi/lingxi-business-system
into dev
parents
21ecbd1f
8cc3a7bc
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
23 additions
and
18 deletions
+23
-18
index.tsx
...mment/manage/detailed/components/EvaluationList/index.tsx
+4
-1
index.tsx
src/pages/comment/manage/detailed/index.tsx
+3
-3
index.tsx
src/pages/comment/manage/index.tsx
+1
-1
index.tsx
src/pages/comment/manage/schema/index.tsx
+2
-2
index.tsx
...omment/query/detailed/components/EvaluationList/index.tsx
+4
-1
index.tsx
src/pages/comment/query/detailed/index.tsx
+4
-5
utils.ts
src/pages/comment/utils.ts
+5
-5
No files found.
src/pages/comment/manage/detailed/components/EvaluationList/index.tsx
View file @
ba0ef87b
...
...
@@ -142,7 +142,10 @@ const EvaluationList = props => {
</
div
>
<
div
className=
"goodInfo-right"
>
<
div
className=
"goodInfo-title"
>
{
item
.
good
.
productName
}
</
div
>
<
div
className=
"goodInfo-desc"
>
{
item
.
good
.
purchaseCount
||
''
}
</
div
>
<
div
className=
"goodInfo-desc"
>
X
{
item
.
good
.
purchaseCount
||
''
}
{
item
.
good
.
unit
||
''
}
</
div
>
<
div
className=
"goodInfo-price"
>
{
`¥ ${item.good.price}`
}
</
div
>
</
div
>
</
div
>
...
...
src/pages/comment/manage/detailed/index.tsx
View file @
ba0ef87b
...
...
@@ -2,7 +2,7 @@
* @Author: XieZhiXiong
* @Date: 2020-09-23 11:02:03
* @LastEditors: XieZhiXiong
* @LastEditTime: 2020-1
0-26 09:52:13
* @LastEditTime: 2020-1
2-04 11:21:50
* @Description:
*/
import
React
,
{
useState
,
useEffect
}
from
'react'
;
...
...
@@ -51,7 +51,7 @@ const CommentManageDetailed: React.FC = () => {
}
return
{
created
:
data
.
dealTime
,
orderNo
:
data
.
remark
,
orderNo
:
data
.
orderNo
,
};
};
...
...
@@ -136,7 +136,7 @@ const CommentManageDetailed: React.FC = () => {
}
}
editable=
{
false
}
expressionScope=
{
{
UploadTip
,
UploadTip
:
null
,
beforeUpload
,
}
}
onSubmit=
{
()
=>
{
}
}
...
...
src/pages/comment/manage/index.tsx
View file @
ba0ef87b
...
...
@@ -215,7 +215,7 @@ const CommentManage: React.FC = () => {
useStateFilterSearchLinkageEffect
(
$
,
actions
,
'
keyword
'
,
'
product
'
,
FORM_FILTER_PATH
,
);
useAsyncInitSelect
(
...
...
src/pages/comment/manage/schema/index.tsx
View file @
ba0ef87b
...
...
@@ -22,12 +22,12 @@ export const listSearchSchema: ISchema = {
children
:
'{{controllerBtns}}'
,
},
},
keyword
:
{
product
:
{
type
:
'string'
,
'x-component'
:
'Search'
,
'x-component-props'
:
{
placeholder
:
'搜索'
,
tip
:
'输入
订单号、
交易商品 进行搜索'
,
tip
:
'输入 交易商品 进行搜索'
,
},
},
},
...
...
src/pages/comment/query/detailed/components/EvaluationList/index.tsx
View file @
ba0ef87b
...
...
@@ -142,7 +142,10 @@ const EvaluationList = props => {
</
div
>
<
div
className=
"goodInfo-right"
>
<
div
className=
"goodInfo-title"
>
{
item
.
good
.
productName
}
</
div
>
<
div
className=
"goodInfo-desc"
>
X
{
item
.
good
.
purchaseCount
||
''
}
</
div
>
<
div
className=
"goodInfo-desc"
>
X
{
item
.
good
.
purchaseCount
||
''
}
{
item
.
good
.
unit
||
''
}
</
div
>
<
div
className=
"goodInfo-price"
>
{
`¥ ${item.good.price}`
}
</
div
>
</
div
>
</
div
>
...
...
src/pages/comment/query/detailed/index.tsx
View file @
ba0ef87b
...
...
@@ -155,17 +155,16 @@ const CommentDetailed: React.FC = () => {
const
{
data
,
totalCount
}
=
res
.
data
;
resolve
({
data
:
data
.
map
(
item
=>
{
const
product
=
isJSONStr
(
item
.
product
)
||
{};
return
{
id
:
item
.
id
,
star
:
item
.
star
,
comment
:
item
.
comment
,
productName
:
product
.
productName
||
''
,
price
:
product
.
price
,
quantity
:
product
.
purchaseCount
,
productName
:
item
.
product
||
''
,
price
:
item
.
price
,
quantity
:
item
.
purchaseCount
,
created
:
item
.
createTime
,
target
:
item
.
byMemberName
,
orderId
:
product
.
orderId
,
orderId
:
item
.
orderId
,
};
}),
totalCount
,
...
...
src/pages/comment/utils.ts
View file @
ba0ef87b
...
...
@@ -2,7 +2,7 @@
* @Author: XieZhiXiong
* @Date: 2020-10-20 11:43:12
* @LastEditors: XieZhiXiong
* @LastEditTime: 2020-1
0-30 14:11:06
* @LastEditTime: 2020-1
2-04 14:35:12
* @Description:
*/
import
{
normalizeFiledata
,
FileData
,
isJSONStr
}
from
'@/utils'
;
...
...
@@ -27,13 +27,13 @@ export function normalizeUnevaluatedList(arr: any): Unevaluated[] {
return
ret
;
}
arr
.
forEach
(
item
=>
{
const
product
=
isJSONStr
(
item
.
product
)
||
{};
const
atom
=
{
good
:
{
pic
:
product
.
pic
,
productName
:
product
.
productName
,
pic
:
item
.
productImgUrl
,
productName
:
item
.
product
,
price
:
item
.
price
,
purchaseCount
:
item
.
dealCount
,
// 采购数量
purchaseCount
:
item
.
purchaseCount
,
// 采购数量
unit
:
item
.
unit
,
},
star
:
item
.
star
,
// 评分星星
comment
:
item
.
comment
,
// 评价
...
...
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