Commit 30d1a3b0 authored by 彭俊龙's avatar 彭俊龙

feat:定时任务增加传参

parent 6ff768cb
Pipeline #96386 failed with stages
...@@ -59,7 +59,7 @@ const AddModal = props => { ...@@ -59,7 +59,7 @@ const AddModal = props => {
const [selectValues, setSelectValues] = useState([]); const [selectValues, setSelectValues] = useState([]);
const [form] = Form.useForm(); const [form] = Form.useForm();
const dateFormat = 'YYYY-MM-DD HH:mm:ss'; const dateFormat = 'YYYY-MM-DD HH:mm:ss';
console.log(props, 'propsssss');
useEffect(() => { useEffect(() => {
if (visible) { if (visible) {
if (type === 'edit') { if (type === 'edit') {
...@@ -192,7 +192,8 @@ const AddModal = props => { ...@@ -192,7 +192,8 @@ const AddModal = props => {
Name: fv.name, Name: fv.name,
Tolerate: null, Tolerate: null,
UseTimeout: waitCheck, UseTimeout: waitCheck,
IsPostRequest: isPostRequest IsPostRequest: isPostRequest,
SchemeId: record.SchemeId || 0
}; };
time_out ? (data.MillisecondsTimeout = parseInt(time_out)) : -1; time_out ? (data.MillisecondsTimeout = parseInt(time_out)) : -1;
if (!waitCheck) { if (!waitCheck) {
......
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