From f19f73d4ca33da392309a4178240584586a41cfd Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 15 九月 2023 16:27:56 +0800 Subject: [PATCH] 2023-09-15 --- src/templates/sharecomponent/actioncomponent/verifyexcelout/index.jsx | 15 ++------------- 1 files changed, 2 insertions(+), 13 deletions(-) diff --git a/src/templates/sharecomponent/actioncomponent/verifyexcelout/index.jsx b/src/templates/sharecomponent/actioncomponent/verifyexcelout/index.jsx index 10ac57f..85e463d 100644 --- a/src/templates/sharecomponent/actioncomponent/verifyexcelout/index.jsx +++ b/src/templates/sharecomponent/actioncomponent/verifyexcelout/index.jsx @@ -3,7 +3,6 @@ import { fromJS } from 'immutable' import { Form, Tabs, Row, Col, Button, notification, Modal, message, InputNumber, Spin, Typography, Popconfirm } from 'antd' import { EditOutlined, StopOutlined, CheckCircleOutlined, SwapOutlined, DeleteOutlined } from '@ant-design/icons' -import moment from 'moment' import md5 from 'md5' import Api from '@/api' @@ -885,8 +884,7 @@ return } - let timestamp = moment().format('YYYY-MM-DD HH:mm:ss') - let sql = SettingUtils.getDebugSql(verify, scripts, (verify.useSearch === 'true' ? searches : []), Utils, '2023-04-20 15:29:37') + let sql = SettingUtils.getDebugSql(verify, scripts, (verify.useSearch === 'true' ? searches : []), Utils) let _debugId = md5(sql) @@ -895,16 +893,7 @@ return } - let param = { - func: 's_debug_sql', - exec_type: 'y', - LText: sql - } - param.LText = Utils.formatOptions(param.LText) - param.timestamp = timestamp - param.secretkey = Utils.encrypt('', timestamp) - - Api.genericInterface(param).then(result => { + Api.sDebug(sql).then(result => { if (result.status || result.ErrCode === '-2') { this.setState({debugId: _debugId}) _resolve() -- Gitblit v1.8.0