|
@@ -1,11 +1,12 @@
|
|
|
import React, {
|
|
|
useState, useEffect, useContext
|
|
|
} from 'react';
|
|
|
-import { Form, Col, DatePicker, Button, Radio, TreeSelect, message, Space, Input } from 'antd';
|
|
|
+import { Form, Col, DatePicker, Button, Radio, message, Space, Input } from 'antd';
|
|
|
import apiObj from '@api/index';
|
|
|
import BlockContext from './block-context';
|
|
|
import moment from "moment";
|
|
|
import "moment/locale/zh-cn"
|
|
|
+import { getCookie } from '@utils/index'
|
|
|
const { RangePicker } = DatePicker;
|
|
|
const { post, api, xPost } = apiObj;
|
|
|
const { TextArea } = Input;
|
|
@@ -76,7 +77,8 @@ function EditBlock(props) {
|
|
|
let params = {
|
|
|
behospitalCode: values.behospitalCode,
|
|
|
endDate: values.endDate,
|
|
|
- startDate: values.startDate
|
|
|
+ startDate: values.startDate,
|
|
|
+ isPlacefile:getCookie('isPlacefile')
|
|
|
}
|
|
|
post(api.dataRepari, params).then((res) => {
|
|
|
if (res.data.code === 200) {
|
|
@@ -95,7 +97,8 @@ function EditBlock(props) {
|
|
|
let params = {
|
|
|
behospitalCode: values.behospitalCode,
|
|
|
endDate: values.endDate,
|
|
|
- startDate: values.startDate
|
|
|
+ startDate: values.startDate,
|
|
|
+ isPlacefile:getCookie('isPlacefile')
|
|
|
}
|
|
|
post(api.dataCompare, params).then((res) => {
|
|
|
if (res.data.code === 200) {
|