提交 0e9afcb2 authored 作者: 钟是志's avatar 钟是志

加解密函数修改

上级 4a142447
...@@ -61,7 +61,7 @@ import MobileCascader from './CascaderDiy/MobileCascader'; ...@@ -61,7 +61,7 @@ import MobileCascader from './CascaderDiy/MobileCascader';
import { equal, errorHandler, getBase64, getRender, isJSON } from './Split_Index/staticInfo'; import { equal, errorHandler, getBase64, getRender, isJSON } from './Split_Index/staticInfo';
import PictureSignature, { SignArray } from "@/webPublic/one_stop_public/libs/PictureSignature/PictureSignature"; import PictureSignature, { SignArray } from "@/webPublic/one_stop_public/libs/PictureSignature/PictureSignature";
import WangEditor from '@/webPublic/zyd_public/WangEditor/OnstopWang'; import WangEditor from '@/webPublic/zyd_public/WangEditor/OnstopWang';
import request, { uaaRequest } from '@/webPublic/one_stop_public/utils/request'; import { uaaRequest } from '@/webPublic/one_stop_public/utils/request';
const { TextArea } = Input; const { TextArea } = Input;
const { Option } = Select; const { Option } = Select;
...@@ -894,6 +894,7 @@ export default class tableCom extends Component { ...@@ -894,6 +894,7 @@ export default class tableCom extends Component {
const url = '/DataColumnApi/getSqlData'; const url = '/DataColumnApi/getSqlData';
this.setState({ sqlKeys }, () => { this.setState({ sqlKeys }, () => {
const allValues = JSON.stringify({ const allValues = JSON.stringify({
...this.props.obj, ...this.props.obj,
...this.props.form.getFieldsValue(), ...this.props.form.getFieldsValue(),
...@@ -904,7 +905,7 @@ export default class tableCom extends Component { ...@@ -904,7 +905,7 @@ export default class tableCom extends Component {
if (getToken() != null) { if (getToken() != null) {
pp.token = getToken(); pp.token = getToken();
} }
request(url, pp).then(data => { uaaRequest(url, pp).then(data => {
const { sqlKeys } = this.state; const { sqlKeys } = this.state;
sqlKeys[sqlKey].data = data; sqlKeys[sqlKey].data = data;
this.setState({ sqlKeys }); this.setState({ sqlKeys });
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论