Commit fe05811c authored by XieZhiXiong's avatar XieZhiXiong

Merge branch 'dev' into test

parents b5aa57e0 b6cfd3cd
......@@ -157,7 +157,9 @@ const CommentManage: React.FC = () => {
confirm({
title: '提示',
icon: <QuestionCircleOutlined />,
content: '确定要删除选中的评论吗?',
content: '确定要删除选中的评论吗?',
okText: '确定',
cancelText: '取消',
onOk() {
return new Promise((resolve, reject) => {
PublicApi.postMemberPlatformCommentOrderTradeHistoryDelete({
......
......@@ -2,10 +2,10 @@
* @Author: XieZhiXiong
* @Date: 2020-10-20 11:43:12
* @LastEditors: XieZhiXiong
* @LastEditTime: 2020-10-20 11:43:21
* @LastEditTime: 2020-10-30 14:11:06
* @Description:
*/
import { normalizeFiledata, FileData } from '@/utils';
import { normalizeFiledata, FileData, isJSONStr } from '@/utils';
export interface Unevaluated {
good: {
......@@ -27,10 +27,11 @@ export function normalizeUnevaluatedList(arr: any): Unevaluated[] {
return ret;
}
arr.forEach(item => {
const product = isJSONStr(item.product) || {};
const atom = {
good: {
pic: item.imgUrl,
productName: item.productName,
pic: product.pic,
productName: product.productName,
price: item.price,
purchaseCount: item.dealCount, // 采购数量
},
......
......@@ -138,7 +138,9 @@ const MemberPr1: React.FC<{}> = props => {
confirm({
title: '提示',
icon: <QuestionCircleOutlined />,
content: '确定要审核通过选中的会员吗?',
content: '确定要审核通过选中的会员吗?',
okText: '确定',
cancelText: '取消',
onOk() {
const members = selectedList.map(item => ({ memberId: item.memberId, validateId: item.validateId }));
return new Promise((resolve, reject) => {
......
......@@ -138,7 +138,9 @@ const MemberPr2: React.FC<{}> = props => {
confirm({
title: '提示',
icon: <QuestionCircleOutlined />,
content: '确定要审核通过选中的会员吗?',
content: '确定要审核通过选中的会员吗?',
okText: '确定',
cancelText: '取消',
onOk() {
const members = selectedList.map(item => ({ memberId: item.memberId, validateId: item.validateId }));
return new Promise((resolve, reject) => {
......
......@@ -144,7 +144,9 @@ const MemberPrConfirm: React.FC<{}> = props => {
confirm({
title: '提示',
icon: <QuestionCircleOutlined />,
content: '确定要审核通过选中的会员吗?',
content: '确定要审核通过选中的会员吗?',
okText: '确定',
cancelText: '取消',
onOk() {
const members = selectedList.map(item => ({ memberId: item.memberId, validateId: item.validateId }));
return new Promise((resolve, reject) => {
......
......@@ -138,7 +138,9 @@ const MemberPrSubmit: React.FC<{}> = props => {
confirm({
title: '提示',
icon: <QuestionCircleOutlined />,
content: '确定要审核通过选中的会员吗?',
content: '确定要审核通过选中的会员吗?',
okText: '确定',
cancelText: '取消',
onOk() {
const members = selectedList.map(item => ({ memberId: item.memberId, validateId: item.validateId }));
return new Promise((resolve, reject) => {
......
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