Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
W
WebPublic
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
前端开发小组
WebPublic
Commits
3b319446
提交
3b319446
authored
5月 09, 2020
作者:
chscls@163.com
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修改bug
上级
f26b3f45
隐藏空白字符变更
内嵌
并排
正在显示
13 个修改的文件
包含
55 行增加
和
12 行删除
+55
-12
index.js
FormInsertDiy/AffairPage/ApplyPage/index.js
+1
-1
Detail.js
FormInsertDiy/AffairPage/Detail.js
+1
-1
FlowImg.js
FormInsertDiy/AffairPage/component/FlowImg.js
+1
-1
FormArray.js
FormInsertDiy/AffairPage/component/FormArray.js
+1
-1
destruction.js
FormInsertDiy/AffairPage/destruction.js
+1
-1
publicApiService.js
FormInsertDiy/AffairPage/publicApiService.js
+1
-1
index.js
FormInsertDiy/Export/index.js
+1
-1
ImportUtil.js
FormInsertDiy/ImportUtil/ImportUtil.js
+1
-1
request.js
FormInsertDiy/request.js
+1
-1
Services.js
Services.js
+1
-1
config.js
one_stop_public/config.js
+43
-0
ImgUploadCom.jsx
one_stop_public/libs/ImgUploadCom.jsx
+1
-1
LoginWithQrCode.js
zyd_public/LoginFromQrCode/LoginWithQrCode.js
+1
-1
没有找到文件。
FormInsertDiy/AffairPage/ApplyPage/index.js
浏览文件 @
3b319446
...
@@ -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
)
{
...
...
FormInsertDiy/AffairPage/Detail.js
浏览文件 @
3b319446
...
@@ -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
{
...
...
FormInsertDiy/AffairPage/component/FlowImg.js
浏览文件 @
3b319446
...
@@ -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
;
...
...
FormInsertDiy/AffairPage/component/FormArray.js
浏览文件 @
3b319446
...
@@ -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'
;
...
...
FormInsertDiy/AffairPage/destruction.js
浏览文件 @
3b319446
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'
;
...
...
FormInsertDiy/AffairPage/publicApiService.js
浏览文件 @
3b319446
...
@@ -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
){
...
...
FormInsertDiy/Export/index.js
浏览文件 @
3b319446
...
@@ -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'
;
...
...
FormInsertDiy/ImportUtil/ImportUtil.js
浏览文件 @
3b319446
...
@@ -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
;
...
...
FormInsertDiy/request.js
浏览文件 @
3b319446
...
@@ -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
:
'服务器成功返回请求的数据。'
,
...
...
Services.js
浏览文件 @
3b319446
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'
;
...
...
one_stop_public/config.js
0 → 100644
浏览文件 @
3b319446
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
one_stop_public/libs/ImgUploadCom.jsx
浏览文件 @
3b319446
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
)
...
...
zyd_public/LoginFromQrCode/LoginWithQrCode.js
浏览文件 @
3b319446
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
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论