Commit 33bc04620e35085bfd23d240f074c13cb618557d
1 parent
d0ec8e16
二级表头
Showing
1 changed file
with
17 additions
and
7 deletions
src/pages/order3/SaleTask/components/SaleTaskBatchSet.tsx
... | ... | @@ -9,7 +9,7 @@ import { |
9 | 9 | Row, |
10 | 10 | message, |
11 | 11 | } from "antd"; |
12 | -import styles from "./index.less"; | |
12 | +import "./index.less"; | |
13 | 13 | import React, { useState } from "react"; |
14 | 14 | import { MAX_NUM } from "../entity"; |
15 | 15 | import * as API from "../api"; |
... | ... | @@ -49,9 +49,19 @@ export default function SaleTaskBatchSet(props: SaleTaskBatchSetProps) { |
49 | 49 | } |
50 | 50 | }); |
51 | 51 | Modal.confirm({ |
52 | - title: isAssignToAdviser | |
53 | - ? "确认分配到门店和顾问吗?" | |
54 | - : "确认分配到门店吗?", | |
52 | + title: isAssignToAdviser ? ( | |
53 | + <span> | |
54 | + 确认分配到 | |
55 | + <span className="tip">全部门店和顾问</span> | |
56 | + 吗? | |
57 | + </span> | |
58 | + ) : ( | |
59 | + <span> | |
60 | + 确认分配到 | |
61 | + <span className="tip">全部门店</span> | |
62 | + 吗? | |
63 | + </span> | |
64 | + ), | |
55 | 65 | zIndex: 1002, |
56 | 66 | onOk: async () => { |
57 | 67 | const hide = message.loading("分配中,请稍候", 0); |
... | ... | @@ -101,7 +111,7 @@ export default function SaleTaskBatchSet(props: SaleTaskBatchSetProps) { |
101 | 111 | justify="space-between" |
102 | 112 | style={{ marginBottom: 15 }} |
103 | 113 | > |
104 | - <h4 className={styles.title}>单车毛利任务</h4> | |
114 | + <h4 className="title">单车毛利任务</h4> | |
105 | 115 | <Button type="link" onClick={() => add()} icon={<PlusOutlined />}> |
106 | 116 | 新增 |
107 | 117 | </Button> |
... | ... | @@ -161,7 +171,7 @@ export default function SaleTaskBatchSet(props: SaleTaskBatchSetProps) { |
161 | 171 | justify="space-between" |
162 | 172 | style={{ marginBottom: 15 }} |
163 | 173 | > |
164 | - <h4 className={styles.title}>首客试驾成交</h4> | |
174 | + <h4 className="title">首客试驾成交</h4> | |
165 | 175 | <Button type="link" onClick={() => add()} icon={<PlusOutlined />}> |
166 | 176 | 新增 |
167 | 177 | </Button> |
... | ... | @@ -221,7 +231,7 @@ export default function SaleTaskBatchSet(props: SaleTaskBatchSetProps) { |
221 | 231 | justify="space-between" |
222 | 232 | style={{ marginBottom: 15 }} |
223 | 233 | > |
224 | - <h4 className={styles.title}>攻坚车任务</h4> | |
234 | + <h4 className="title">攻坚车任务</h4> | |
225 | 235 | <Button type="link" onClick={() => add()} icon={<PlusOutlined />}> |
226 | 236 | 新增 |
227 | 237 | </Button> | ... | ... |