提交 3b319446 authored 作者: chscls@163.com's avatar chscls@163.com

修改bug

上级 f26b3f45
...@@ -18,7 +18,7 @@ import List from './List'; ...@@ -18,7 +18,7 @@ import List from './List';
import pageSetting from './pageSetting'; import pageSetting from './pageSetting';
import ButtonDiy from '@/baseComponent/ButtonDiy'; import ButtonDiy from '@/baseComponent/ButtonDiy';
import Shell from '@/baseComponent/Shell'; import Shell from '@/baseComponent/Shell';
import config from '@/config/config'; import config from '@/webPublic/one_stop_public/config';
export default class AffairPage extends React.Component { export default class AffairPage extends React.Component {
constructor(props) { constructor(props) {
......
...@@ -4,7 +4,7 @@ import Shell from '@/baseComponent/Shell'; ...@@ -4,7 +4,7 @@ import Shell from '@/baseComponent/Shell';
import ButtonDiy from '@/baseComponent/ButtonDiy'; import ButtonDiy from '@/baseComponent/ButtonDiy';
import router from 'umi/router'; import router from 'umi/router';
import { getToken } from '@/utils/authority'; import { getToken } from '@/utils/authority';
import config from '@/config/config'; import config from '@/webPublic/one_stop_public/config';
export default class Detail extends Component{ export default class Detail extends Component{
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* 流程图 * 流程图
*/ */
import React, { Component } from 'react' import React, { Component } from 'react'
import config from '@/config/config'; import config from '@/webPublic/one_stop_public/config';
export default class FlowImg extends Component { export default class FlowImg extends Component {
render() { render() {
let { id } = this.props; let { id } = this.props;
......
...@@ -13,7 +13,7 @@ import { countSpecialField } from '@/baseComponent/utils'; ...@@ -13,7 +13,7 @@ import { countSpecialField } from '@/baseComponent/utils';
import TableSelect from './TableSelect'; import TableSelect from './TableSelect';
import ChildForm from './ChildForm'; import ChildForm from './ChildForm';
import ReactQuill from 'react-quill'; import ReactQuill from 'react-quill';
import baseConfig from '@/config/config'; import baseConfig from '@/webPublic/one_stop_public/config';
import 'react-quill/dist/quill.snow.css'; import 'react-quill/dist/quill.snow.css';
import ButtonUpload from './ButtonUpload'; import ButtonUpload from './ButtonUpload';
......
import { text, number, date, format, taskNode } from '../config/index'; import { text, number, date, format, taskNode } from '../config/index';
import { isJSON } from '@/baseComponent/utils'; import { isJSON } from '@/baseComponent/utils';
import { translateAddFields } from '../config/index'; import { translateAddFields } from '../config/index';
import config from '@/config/config'; import config from '@/webPublic/one_stop_public/config';
import { Tooltip } from 'antd'; import { Tooltip } from 'antd';
import moment from 'moment'; import moment from 'moment';
import React from 'react'; import React from 'react';
......
...@@ -9,7 +9,7 @@ import { apiRequest } from '../request'; ...@@ -9,7 +9,7 @@ import { apiRequest } from '../request';
import { getFormArrayConfig } from '../config/index'; import { getFormArrayConfig } from '../config/index';
import { setHuanGeToken } from '@/utils/authority'; import { setHuanGeToken } from '@/utils/authority';
import { getOneStopConfig, isJSON } from '@/baseComponent/utils'; import { getOneStopConfig, isJSON } from '@/baseComponent/utils';
import config from '@/config/config'; import config from '@/webPublic/one_stop_public/config';
const giveValue = (x) => { const giveValue = (x) => {
if(x && x.rows){ if(x && x.rows){
......
...@@ -4,7 +4,7 @@ import ReactDOM from 'react-dom'; ...@@ -4,7 +4,7 @@ import ReactDOM from 'react-dom';
import { Select, Button, Modal, Input, Transfer, Row, Col, Form, message, notification } from 'antd'; import { Select, Button, Modal, Input, Transfer, Row, Col, Form, message, notification } from 'antd';
import { connect } from 'dva'; import { connect } from 'dva';
import { getToken } from '@/utils/authority'; import { getToken } from '@/utils/authority';
import config from '@/config/config'; import config from '@/webPublic/one_stop_public/config';
import QueryItem from './QueryItem'; import QueryItem from './QueryItem';
import OrderItem from './OrderItem'; import OrderItem from './OrderItem';
import ButtonDiy from '@/baseComponent/ButtonDiy'; import ButtonDiy from '@/baseComponent/ButtonDiy';
......
...@@ -3,7 +3,7 @@ import { Button, Modal, Steps, Upload, Icon, message, Tabs, Table } from 'antd'; ...@@ -3,7 +3,7 @@ import { Button, Modal, Steps, Upload, Icon, message, Tabs, Table } from 'antd';
import styles from './ImportUtil.less'; import styles from './ImportUtil.less';
import ButtonDiy from '@/baseComponent/ButtonDiy'; import ButtonDiy from '@/baseComponent/ButtonDiy';
import { exportExcel } from 'xlsx-oc'; import { exportExcel } from 'xlsx-oc';
import config from '@/config/config'; import config from '@/webPublic/one_stop_public/config';
import { connect } from 'dva'; import { connect } from 'dva';
const Step = Steps.Step; const Step = Steps.Step;
......
...@@ -7,7 +7,7 @@ import {notification} from 'antd'; ...@@ -7,7 +7,7 @@ import {notification} from 'antd';
import FormdataWrapper from "@/utils/object-to-formdata-custom"; import FormdataWrapper from "@/utils/object-to-formdata-custom";
import { getToken } from '@/utils/authority'; import { getToken } from '@/utils/authority';
import { offline } from './Toast'; import { offline } from './Toast';
import systemConfig from '@/config/config'; import systemConfig from '@/webPublic/one_stop_public/config';
const codeMessage = { const codeMessage = {
200: '服务器成功返回请求的数据。', 200: '服务器成功返回请求的数据。',
......
import { uaaRequest } from './one_stop_public/utils/request'; import { uaaRequest } from './one_stop_public/utils/request';
import config from '@/config/config'; import config from '@/webPublic/one_stop_public/config';
import { message } from 'antd'; import { message } from 'antd';
import { setOneStopConfig } from '@/webPublic/zyd_public/utils/utils'; import { setOneStopConfig } from '@/webPublic/zyd_public/utils/utils';
......
import req from '@/utils/request';
// import dictMap from './dictMap';
import {queryApiActionPath,queryWsPath} from "@/utils/queryConfig";
var localMockHostPath = "http://rap2api.taobao.org/app/mock/230899";
var localhostPath = queryApiActionPath();
var wsPath = queryWsPath();
// 测试对接接口用地址不用时删除
let csPath = "http://192.168.3.133:8080/expense";
const prefix = "http://scjoyedu.eicp.net:7180/onestop/#"
async function request(data) {
return req(`${data.url}`, {
method: 'POST',
body: data.params,
});
}
//var localhostPath = "http://zyd.cdzhiyong.com:51335"
const config = {
// dictMap:dictMap,
httpServer:localhostPath,
httpMockServer:localMockHostPath,
prefixServer:localhostPath+prefix,
rapFlag: true,
onlinePath: '/transacApi/',
onlineImagePath: "",
cs:csPath,
img: csPath+"/upload",
rapImagePath: localhostPath,
uploadUrl:localhostPath+"/upload",
websocketUrl:wsPath!=null?wsPath:localhostPath.replace("http","ws")+"/websocket",
payUrl:localhostPath+"/createWixinPayCode",
checkPath:false,
//mobileHost:"http://localhost:51335",
//mobileHost:"http://zyd.cdzhiyong.com:51335",
mobileUrl:prefix+"/mobile/GHHome",
mobileHost:"http://localhost:33333",
request:request
}
export default config
import React from 'react' import React from 'react'
import { Upload,message } from 'antd'; import { Upload,message } from 'antd';
import config from '@/config/config' import config from '@/webPublic/one_stop_public/config'
export default class ImgUploadCom extends React.Component { export default class ImgUploadCom extends React.Component {
constructor(props){ constructor(props){
super(props) super(props)
......
import React, { Component } from 'react'; import React, { Component } from 'react';
import { message, Icon, Spin } from 'antd'; import { message, Icon, Spin } from 'antd';
import QRCode from 'qrcode.react'; import QRCode from 'qrcode.react';
import config from '@/config/config'; import config from '@/webPublic/one_stop_public/config';
import fetch from 'dva/fetch'; import fetch from 'dva/fetch';
import FormdataWrapper from '../utils/object-to-formdata-custom'; import FormdataWrapper from '../utils/object-to-formdata-custom';
import { isJSON } from '../utils/utils'; import { isJSON } from '../utils/utils';
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论