Pārlūkot izejas kodu

fix: 服务记录修改

outaozhen 5 gadi atpakaļ
vecāks
revīzija
8fdcd02734

+ 4 - 4
src/pages/Customer/Client/components/ClientDetail/AddRecord.jsx

@@ -44,7 +44,7 @@ const AddRecord = props => {
           <Radio value={4}>在线服务</Radio>
         </Radio.Group>
       </Form.Item>
-      <Form.Item name="date" label="时间" initialValue={dayjs(new Date())}>
+      <Form.Item name="date" label="服务日期" initialValue={dayjs(new Date())}>
         <DatePicker style={{ width: '100%' }} />
       </Form.Item>
       <Form.Item name="mark" label="内容">
@@ -52,14 +52,14 @@ const AddRecord = props => {
       </Form.Item>
       <div className="pb-5">
         <Switch onChange={onChange} />
-        <span className="ml-2">添加备忘</span>
+        <span className="ml-2">添加备忘</span>
       </div>
       {showExtraItem ? (
         <>
-          <Form.Item name="remindTime" label="提醒限期">
+          <Form.Item name="remindTime" label="备忘日期">
             <DatePicker style={{ width: '100%' }} />
           </Form.Item>
-          <Form.Item name="remark" label="备">
+          <Form.Item name="remark" label="备忘内容">
             <TextArea rows={2} />
           </Form.Item>
         </>

+ 24 - 16
src/pages/workbench/Dashboard/components/ReminderList/index.jsx

@@ -23,20 +23,24 @@ const ReminderList = props => {
       dataIndex: 'districtName'
     },
     {
-      title: '电话',
-      dataIndex: 'phone'
-    },
-    {
       title: '手机',
       dataIndex: 'telephone'
     },
     {
-      title: '上一次服务',
+      title: '服务日期',
       dataIndex: 'lastServiceContent'
     },
     {
       title: '服务内容',
       dataIndex: 'serviceContent'
+    },
+    {
+      title: '备忘日期',
+      dataIndex: 'lastServiceContent'
+    },
+    {
+      title: '备忘内容',
+      dataIndex: 'serviceContent'
     }
   ]
   const customerColumns = [
@@ -53,12 +57,20 @@ const ReminderList = props => {
       dataIndex: 'phone'
     },
     {
-      title: '上一次服务',
+      title: '服务日期',
       dataIndex: 'lastServiceContent'
     },
     {
       title: '服务内容',
       dataIndex: 'serviceContent'
+    },
+    {
+      title: '备忘日期',
+      dataIndex: 'lastServiceContent'
+    },
+    {
+      title: '备忘内容',
+      dataIndex: 'serviceContent'
     }
   ]
   const businessColumns = [
@@ -71,23 +83,19 @@ const ReminderList = props => {
       dataIndex: 'customerName'
     },
     {
-      title: '商机金额(元)',
-      dataIndex: 'price'
-    },
-    {
-      title: '预计成交',
-      dataIndex: 'finalTime'
+      title: '服务日期',
+      dataIndex: 'lastServiceContent'
     },
     {
-      title: '商机阶段',
-      dataIndex: 'businessStatusName'
+      title: '服务内容',
+      dataIndex: 'serviceContent'
     },
     {
-      title: '上一次服务',
+      title: '备忘日期',
       dataIndex: 'lastServiceContent'
     },
     {
-      title: '服务内容',
+      title: '备忘内容',
       dataIndex: 'serviceContent'
     }
   ]