Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
W
WebPublic
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
前端开发小组
WebPublic
Commits
db53adf8
提交
db53adf8
authored
5月 09, 2020
作者:
徐立
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'master' of
http://scjoyedu.eicp.net:9121/front-team/webPublic
上级
79cb4c87
e2d3ff0b
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
16 个修改的文件
包含
57 行增加
和
15 行删除
+57
-15
Services.js
Services.js
+1
-1
DraftEditor.js
one_stop_public/App/DraftEditor.js
+1
-1
ExportCurrentInfo.js
one_stop_public/App/ExportCurrentInfo.js
+1
-1
ExportInfo.js
one_stop_public/App/ExportInfo.js
+1
-1
ImportUtil.js
one_stop_public/App/ImportUtil.js
+1
-1
MyBlockRender.js
one_stop_public/App/MyBlockRender.js
+1
-1
SearchInfo.js
one_stop_public/App/SearchInfo.js
+1
-1
StatisticsInfo.js
one_stop_public/App/StatisticsInfo.js
+1
-1
index.jsx
one_stop_public/Signature/index.jsx
+1
-1
config.js
one_stop_public/config.js
+43
-0
ImgUploadCom.jsx
one_stop_public/libs/ImgUploadCom.jsx
+1
-1
UploadCom.js
one_stop_public/libs/UploadCom.js
+1
-1
TreeListNew.js
one_stop_public/libs/formList/TreeListNew.js
+0
-0
index.js
one_stop_public/libs/formList/index.js
+1
-3
index.jsx
one_stop_public/tableCompon/index.jsx
+1
-1
queryConfig.js
one_stop_public/utils/queryConfig.js
+1
-0
没有找到文件。
Services.js
浏览文件 @
db53adf8
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
{
setOneStopConfig
}
from
'@/webPublic/zyd_public/utils/utils'
;
...
...
one_stop_public/App/DraftEditor.js
浏览文件 @
db53adf8
...
...
@@ -15,7 +15,7 @@ import pic from '../assets/专家经验系统切图/智能报告/pic.png'
import
video
from
'../assets/专家经验系统切图/智能报告/video.png'
import
sum
from
'../assets/专家经验系统切图/智能报告/sum.png'
import
attrs
from
'../assets/专家经验系统切图/智能报告/attr.png'
import
config
from
'
../config
/config'
import
config
from
'
@/webPublic/one_stop_public
/config'
import
MyBlockRender
from
'./MyBlockRender'
import
{
changeToDraftState2
,
changeFromDraftState2
}
from
'../utils/myutils'
import
{
...
...
one_stop_public/App/ExportCurrentInfo.js
浏览文件 @
db53adf8
...
...
@@ -4,7 +4,7 @@ import ReactDOM from 'react-dom';
import
{
Select
,
Button
,
Modal
,
Input
,
Transfer
,
Row
,
Col
,
Form
,
message
,
notification
}
from
'antd'
;
import
{
connect
}
from
'dva'
;
import
{
getToken
}
from
'../utils/token'
import
config
from
'
../config
/config'
;
import
config
from
'
@/webPublic/one_stop_public
/config'
;
import
QueryItem
from
'./QueryItem'
;
import
OrderItem
from
'./OrderItem'
;
...
...
one_stop_public/App/ExportInfo.js
浏览文件 @
db53adf8
...
...
@@ -4,7 +4,7 @@ import ReactDOM from 'react-dom';
import
{
Select
,
Button
,
Modal
,
Input
,
Transfer
,
Row
,
Col
,
Form
,
message
,
notification
}
from
'antd'
;
import
{
connect
}
from
'dva'
;
import
{
getToken
}
from
'../utils/token'
import
config
from
'
../config
/config'
;
import
config
from
'
@/webPublic/one_stop_public
/config'
;
import
QueryItem
from
'./QueryItem'
;
import
OrderItem
from
'./OrderItem'
;
...
...
one_stop_public/App/ImportUtil.js
浏览文件 @
db53adf8
...
...
@@ -13,7 +13,7 @@ import {
import
styles
from
'./ImportUtil.less'
;
import
ButtonDiy
from
'./ButtonDiy/ButtonDiy'
;
import
{
exportExcel
}
from
'xlsx-oc'
import
config
from
'
../config
/config'
;
import
config
from
'
@/webPublic/one_stop_public
/config'
;
import
{
connect
}
from
'dva'
;
const
Step
=
Steps
.
Step
;
const
TabPane
=
Tabs
.
TabPane
;
...
...
one_stop_public/App/MyBlockRender.js
浏览文件 @
db53adf8
import
{
Table
,
Popover
}
from
'antd'
;
import
config
from
'
../config
/config'
;
import
config
from
'
@/webPublic/one_stop_public
/config'
;
import
table
from
'../assets/专家经验系统切图/智能报告/table.png'
import
chart
from
'../assets/专家经验系统切图/智能报告/chart.png'
import
React
from
'react'
;
...
...
one_stop_public/App/SearchInfo.js
浏览文件 @
db53adf8
...
...
@@ -4,7 +4,7 @@ import ReactDOM from 'react-dom';
import
{
Select
,
Button
,
Modal
,
Input
,
Transfer
,
Row
,
Col
,
Form
,
message
,
notification
}
from
'antd'
;
import
{
connect
}
from
'dva'
;
import
{
getToken
}
from
'../utils/token'
import
config
from
'
../config
/config'
;
import
config
from
'
@/webPublic/one_stop_public
/config'
;
import
QueryItem
from
'./QueryItem'
;
import
OrderItem
from
'./OrderItem'
;
...
...
one_stop_public/App/StatisticsInfo.js
浏览文件 @
db53adf8
...
...
@@ -3,7 +3,7 @@ import ReactDOM from 'react-dom';
import
{
Select
,
Button
,
Modal
,
Input
,
Table
,
Row
,
Col
,
Tag
,
Form
,
message
,
notification
}
from
'antd'
;
import
{
connect
}
from
'dva'
;
import
{
getToken
}
from
'../utils/token'
import
config
from
'
../config
/config'
;
import
config
from
'
@/webPublic/one_stop_public
/config'
;
import
QueryItem
from
'./QueryItem'
;
import
OrderItem
from
'./OrderItem'
;
import
styles
from
'./Ability.css'
;
...
...
one_stop_public/Signature/index.jsx
浏览文件 @
db53adf8
...
...
@@ -7,7 +7,7 @@ import React, { Component } from 'react'
import
SignatureCanvas
from
'react-signature-canvas'
// import Button from '@/components/NewButton';
import
{
message
,
Button
}
from
'antd'
;
import
config
from
'
../config
/config'
;
import
config
from
'
@/webPublic/one_stop_public
/config'
;
import
{
queryApiActionPath
}
from
"../utils/queryConfig"
;
import
reqwest
from
'reqwest'
;
function
dataURLtoFile
(
dataurl
,
filename
)
{
...
...
one_stop_public/config.js
0 → 100644
浏览文件 @
db53adf8
import
req
from
'@/utils/request'
;
// import dictMap from './dictMap';
import
{
queryApiActionPath
,
queryWsPath
}
from
"@/webPublic/one_stop_public/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
one_stop_public/libs/ImgUploadCom.jsx
浏览文件 @
db53adf8
import
React
from
'react'
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
{
constructor
(
props
){
super
(
props
)
...
...
one_stop_public/libs/UploadCom.js
浏览文件 @
db53adf8
import
React
from
'react'
import
{
Tree
,
Upload
,
Icon
,
Button
,
message
}
from
'antd'
;
import
{
queryApiActionPath
}
from
"../utils/queryConfig"
;
import
config
from
'
../config
/config'
import
config
from
'
@/webPublic/one_stop_public
/config'
const
TreeNode
=
Tree
.
TreeNode
;
...
...
one_stop_public/libs/formList/TreeListNew.js
0 → 100644
浏览文件 @
db53adf8
差异被折叠。
点击展开。
one_stop_public/libs/formList/index.js
浏览文件 @
db53adf8
...
...
@@ -30,13 +30,11 @@ import StatisticsInfo from '../../App/StatisticsInfo';
import
ImportUtil
from
'../../App/ImportUtil'
;
import
SearchInfo
from
'../../App/SearchInfo'
;
import
{
Base16Encode
}
from
"../../Base16/index"
;
import
baseX
from
'base-x'
import
{
isEmpty
}
from
'lodash'
import
FilePreview
from
"@/webPublic/one_stop_public/filePreview"
;
import
{
queryApiActionPath
}
from
"@/webPublic/one_stop_public/utils/queryConfig"
;
import
UploadCom
from
"@/webPublic/one_stop_public/libs/UploadCom"
;
const
BASE16
=
'0123456789abcdef'
const
bs16
=
baseX
(
BASE16
)
const
FormItem
=
Form
.
Item
;
let
AllWidth
=
0
;
// 表格总长度
const
{
RangePicker
}
=
DatePicker
;
...
...
one_stop_public/tableCompon/index.jsx
浏览文件 @
db53adf8
...
...
@@ -54,7 +54,7 @@ import moment from 'moment';
import
router
from
'umi/router'
;
import
TableList
from
'../libs/TableList'
;
import
styles
from
'./style.less'
;
import
config
from
'
../config
/config'
;
import
config
from
'
@/webPublic/one_stop_public
/config'
;
import
{
isEmpty
,
isNaN
,
cloneDeep
}
from
'lodash'
import
{
queryApiActionPath
}
from
"../utils/queryConfig"
;
import
{
extend
}
from
'umi-request'
;
...
...
one_stop_public/utils/queryConfig.js
浏览文件 @
db53adf8
...
...
@@ -18,6 +18,7 @@ const queryConfig = (key) => {
* */
export
const
querySysCode
=
()
=>
queryConfig
(
"SYSCODE"
);
export
const
queryWsPath
=
()
=>
queryConfig
(
"WS_PATH"
);
/**
* @description 获取服务端请求路径前戳
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论