Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
W
WebPublic
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
前端开发小组
WebPublic
Commits
cd317164
提交
cd317164
authored
4月 19, 2023
作者:
钟是志
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
获取系统code 搞错了
上级
ef09a9af
隐藏空白字符变更
内嵌
并排
正在显示
14 个修改的文件
包含
26 行增加
和
26 行删除
+26
-26
FormArray.js
FormInsertDiy/AffairPage/component/FormArray.js
+1
-1
ImportUtil.js
FormInsertDiy/ImportUtil/ImportUtil.js
+1
-1
DraftEditor.js
one_stop_public/App/DraftEditor.js
+1
-1
DraftEditorCom.js
one_stop_public/App/DraftEditorCom.js
+1
-1
ImportUtil.js
one_stop_public/App/ImportUtil.js
+1
-1
globalFunction.js
one_stop_public/Table/globalFunction.js
+1
-1
ImgUploadCom.jsx
one_stop_public/libs/ImgUploadCom.jsx
+1
-1
ShowItem.js
one_stop_public/libs/PictureSignature/ShowItem.js
+1
-1
UploadCom.js
one_stop_public/libs/UploadCom.js
+1
-1
UploadComDiyForQnZy.js
one_stop_public/libs/UploadComDiyForQnZy.js
+1
-1
VideoUploadCom.jsx
one_stop_public/libs/VideoUploadCom.jsx
+1
-1
index.js
zyd_private/StatisticsInfo/index.js
+1
-1
uploadFile.js
zyd_public/WangEditor/uploadFile.js
+1
-1
index.js
zyd_public/components/ImportUtil2.0/index.js
+13
-13
没有找到文件。
FormInsertDiy/AffairPage/component/FormArray.js
浏览文件 @
cd317164
...
...
@@ -28,7 +28,7 @@ import baseConfig from '@/config/config';
import
'react-quill/dist/quill.snow.css'
;
import
ButtonUpload
from
'./ButtonUpload'
;
import
{
getToken
}
from
'@/webPublic/one_stop_public/utils/token'
;
import
{
getSysCode
}
from
'@/webPublic/one_stop_public/
Table/giveSmartFormGlobalProp
s'
;
import
{
getSysCode
}
from
'@/webPublic/one_stop_public/
2023yunshangguizhou/util
s'
;
const
RadioGroup
=
Radio
.
Group
;
const
Option
=
Select
.
Option
;
...
...
FormInsertDiy/ImportUtil/ImportUtil.js
浏览文件 @
cd317164
...
...
@@ -7,7 +7,7 @@ import config from '@/config/config';
import
{
connect
}
from
'dva'
;
// import { exportExcel } from 'xlsx-oc';
import
{
getToken
}
from
'@/utils/authority'
;
import
{
getSysCode
}
from
'@/webPublic/one_stop_public/
Table/giveSmartFormGlobalProp
s'
;
import
{
getSysCode
}
from
'@/webPublic/one_stop_public/
2023yunshangguizhou/util
s'
;
const
Step
=
Steps
.
Step
;
const
TabPane
=
Tabs
.
TabPane
;
...
...
one_stop_public/App/DraftEditor.js
浏览文件 @
cd317164
...
...
@@ -29,7 +29,7 @@ import {
}
from
'draft-js'
;
import
{
getToken
}
from
'@/webPublic/one_stop_public/utils/token'
;
import
{
queryFileUrl
}
from
'@/webPublic/one_stop_public/utils/queryConfig'
;
import
{
getSysCode
}
from
'@/webPublic/one_stop_public/
Table/giveSmartFormGlobalProp
s'
;
import
{
getSysCode
}
from
'@/webPublic/one_stop_public/
2023yunshangguizhou/util
s'
;
const
FormItem
=
Form
.
Item
;
function
getBlockStyle
(
block
)
{
...
...
one_stop_public/App/DraftEditorCom.js
浏览文件 @
cd317164
...
...
@@ -28,7 +28,7 @@ import {
RichUtils
,
}
from
'draft-js'
;
import
{
queryFileUrl
}
from
'@/webPublic/one_stop_public/utils/queryConfig'
;
import
{
getSysCode
}
from
'@/webPublic/one_stop_public/
Table/giveSmartFormGlobalProp
s'
;
import
{
getSysCode
}
from
'@/webPublic/one_stop_public/
2023yunshangguizhou/util
s'
;
const
FormItem
=
Form
.
Item
;
function
getBlockStyle
(
block
)
{
...
...
one_stop_public/App/ImportUtil.js
浏览文件 @
cd317164
...
...
@@ -10,7 +10,7 @@ import { getMessage, getModal } from '@/webPublic/one_stop_public/utils/utils';
import
{
giveFilePostDataInfoForTrue
}
from
'@/webPublic/one_stop_public/Base16'
;
import
{
getTransformApi
}
from
'@/webPublic/one_stop_public/2022beidianke/localstorageTransform'
;
import
ProgressDiy
from
'./ProgressDiy'
;
import
{
getSysCode
}
from
'@/webPublic/one_stop_public/
Table/giveSmartFormGlobalProp
s'
;
import
{
getSysCode
}
from
'@/webPublic/one_stop_public/
2023yunshangguizhou/util
s'
;
const
Modal
=
getModal
();
const
message
=
getMessage
();
...
...
one_stop_public/Table/globalFunction.js
浏览文件 @
cd317164
...
...
@@ -6,7 +6,7 @@ import { getToken } from '@/webPublic/one_stop_public/utils/token';
import
{
deepCopy
}
from
'@/webPublic/zyd_public/utils/utils'
;
import
{
getTransformApi
}
from
'@/webPublic/one_stop_public/2022beidianke/localstorageTransform'
;
import
moment
from
'moment'
;
import
{
getSysCode
}
from
'@/webPublic/one_stop_public/
Table/giveSmartFormGlobalProp
s'
;
import
{
getSysCode
}
from
'@/webPublic/one_stop_public/
2023yunshangguizhou/util
s'
;
const
apiUrl
=
queryOauthActionPath
();
const
exportStyles
=
{
...
...
one_stop_public/libs/ImgUploadCom.jsx
浏览文件 @
cd317164
...
...
@@ -4,7 +4,7 @@ import config from '@/webPublic/one_stop_public/config';
import
{
zipImage
}
from
'@/webPublic/zyd_public/utils/handlePhoto'
;
import
{
getToken
}
from
'@/webPublic/one_stop_public/utils/token'
;
import
{
queryFileUrl
}
from
'@/webPublic/one_stop_public/utils/queryConfig'
;
import
{
getSysCode
}
from
'@/webPublic/one_stop_public/
Table/giveSmartFormGlobalProp
s'
;
import
{
getSysCode
}
from
'@/webPublic/one_stop_public/
2023yunshangguizhou/util
s'
;
export
default
class
ImgUploadCom
extends
React
.
Component
{
constructor
(
props
)
{
...
...
one_stop_public/libs/PictureSignature/ShowItem.js
浏览文件 @
cd317164
...
...
@@ -3,7 +3,7 @@ import { queryApiActionPath, queryFileUrl } from '@/webPublic/one_stop_public/ut
import
{
getToken
}
from
'@/webPublic/one_stop_public/utils/token'
;
import
{
isFromIframe
}
from
'@/webPublic/one_stop_public/utils/utils'
;
import
getOneStopUploadUrl
from
'@/webPublic/one_stop_public/Base16/getOneStopUploadUrl'
;
import
{
getSysCode
}
from
'@/webPublic/one_stop_public/
Table/giveSmartFormGlobalProp
s'
;
import
{
getSysCode
}
from
'@/webPublic/one_stop_public/
2023yunshangguizhou/util
s'
;
const
oneSetItemP
=
{
...
...
one_stop_public/libs/UploadCom.js
浏览文件 @
cd317164
...
...
@@ -7,7 +7,7 @@ import styles from './style.less';
import
UploadComDiyForQnZy
from
'@/webPublic/one_stop_public/libs/UploadComDiyForQnZy'
;
import
Viewer
from
'react-viewer'
;
import
{
getToken
}
from
'@/webPublic/one_stop_public/utils/token'
;
import
{
getSysCode
}
from
'@/webPublic/one_stop_public/
Table/giveSmartFormGlobalProp
s'
;
import
{
getSysCode
}
from
'@/webPublic/one_stop_public/
2023yunshangguizhou/util
s'
;
message
.
config
({
top
:
300
,
...
...
one_stop_public/libs/UploadComDiyForQnZy.js
浏览文件 @
cd317164
...
...
@@ -7,7 +7,7 @@ import { checkIsImage } from "./UploadCom";
import
Viewer
from
"react-viewer"
;
import
{
getToken
}
from
'@/webPublic/one_stop_public/utils/token'
;
import
{
getHeaders
}
from
'@/webPublic/zyd_public/utils/utils'
;
import
{
getSysCode
}
from
'@/webPublic/one_stop_public/
Table/giveSmartFormGlobalProp
s'
;
import
{
getSysCode
}
from
'@/webPublic/one_stop_public/
2023yunshangguizhou/util
s'
;
// 为黔南职院单独写的 上传组件 用于 bug 20576 个人就业信息/求职创业补贴申报,201801010006 119242 上传图片加限制,跟签约派遣上传图片加限制一样
...
...
one_stop_public/libs/VideoUploadCom.jsx
浏览文件 @
cd317164
...
...
@@ -4,7 +4,7 @@ import queryConfig from './queryConfig';
import
{
Upload
,
message
}
from
'antd'
;
import
{
isJSON
}
from
'@/webPublic/one_stop_public/copy'
;
import
{
getSysCode
}
from
'@/webPublic/one_stop_public/
Table/giveSmartFormGlobalProp
s'
;
import
{
getSysCode
}
from
'@/webPublic/one_stop_public/
2023yunshangguizhou/util
s'
;
const
getToken
=
()
=>
{
const
x
=
localStorage
.
getItem
(
'uploadVideoServiceToken'
);
...
...
zyd_private/StatisticsInfo/index.js
浏览文件 @
cd317164
...
...
@@ -15,7 +15,7 @@ import styles from './Ability.css';
import
FormdataWrapper
from
'@/utils/object-to-formdata-custom'
;
import
moment
from
'moment'
;
import
{
controlNotification
}
from
'@/baseComponent/utils'
;
import
{
getSysCode
}
from
'@/webPublic/one_stop_public/
Table/giveSmartFormGlobalProp
s'
;
import
{
getSysCode
}
from
'@/webPublic/one_stop_public/
2023yunshangguizhou/util
s'
;
const
Option
=
Select
.
Option
;
const
nameSpan
=
{
...
...
zyd_public/WangEditor/uploadFile.js
浏览文件 @
cd317164
import
request
from
'@/utils/request'
;
import
config
,
{
getUploadUrl
}
from
'@/config/config'
;
import
{
getToken
}
from
'@/utils/authority'
;
import
{
getSysCode
}
from
'@/webPublic/one_stop_public/
Table/giveSmartFormGlobalProp
s'
;
import
{
getSysCode
}
from
'@/webPublic/one_stop_public/
2023yunshangguizhou/util
s'
;
const
uploadUrl
=
getUploadUrl
();
...
...
zyd_public/components/ImportUtil2.0/index.js
浏览文件 @
cd317164
...
...
@@ -7,7 +7,7 @@ import ButtonDiy from '@/baseComponent/ButtonDiy';
import
{
getUploadUrl
}
from
'@/config/config'
;
import
{
Row
,
Col
}
from
'antd'
;
import
{
getToken
}
from
'@/webPublic/one_stop_public/utils/token'
;
import
{
getSysCode
}
from
'@/webPublic/one_stop_public/
Table/giveSmartFormGlobalProp
s'
;
import
{
getSysCode
}
from
'@/webPublic/one_stop_public/
2023yunshangguizhou/util
s'
;
const
Step
=
Steps
.
Step
;
...
...
@@ -46,16 +46,16 @@ const calcColumns = (columns) => {
export
default
class
ImportUtil
extends
React
.
PureComponent
{
constructor
(
props
)
{
super
(
props
);
const
{
api
,
serviceBean
,
serviceKey
,
diyExportTemplateUrl
}
=
props
;
const
{
api
,
serviceBean
,
serviceKey
,
diyExportTemplateUrl
,
serviceApi
=
'importApi'
}
=
props
;
var
importFileUrl
,
analyseFileUrl
,
queryFileUrl
,
exportTemplateUrl
;
if
(
api
!=
null
)
{
const
x
=
api
;
// 学工的 接口地址
importFileUrl
=
x
+
`/
importApi
/execute?token=
${
getToken
()}
&cacheKey=`
;
queryFileUrl
=
x
+
`/
importApi
/findData?token=
${
getToken
()}
&cacheKey=`
;
analyseFileUrl
=
x
+
`/
importApi
/analyse?token=
${
getToken
()}
&filePath=`
;
importFileUrl
=
x
+
`/
${
serviceApi
}
/execute?token=
${
getToken
()}
&cacheKey=`
;
queryFileUrl
=
x
+
`/
${
serviceApi
}
/findData?token=
${
getToken
()}
&cacheKey=`
;
analyseFileUrl
=
x
+
`/
${
serviceApi
}
/analyse?token=
${
getToken
()}
&filePath=`
;
exportTemplateUrl
=
diyExportTemplateUrl
?
x
+
diyExportTemplateUrl
+
`?serviceBean=
${
serviceBean
}
&serviceKey=
${
serviceKey
}
`
:
x
+
`/
importApi
/downLoadTemplate?serviceBean=
${
serviceBean
}
&serviceKey=
${
serviceKey
}
`
;
:
x
+
`/
${
serviceApi
}
/downLoadTemplate?serviceBean=
${
serviceBean
}
&serviceKey=
${
serviceKey
}
`
;
}
else
{
importFileUrl
=
props
.
importFileUrl
;
queryFileUrl
=
props
.
queryFileUrl
;
...
...
@@ -82,14 +82,14 @@ export default class ImportUtil extends React.PureComponent {
static
getDerivedStateFromProps
(
props
,
state
)
{
if
(
props
.
api
!=
null
)
{
const
{
api
,
serviceBean
,
serviceKey
,
diyExportTemplateUrl
}
=
props
;
const
{
api
,
serviceBean
,
serviceKey
,
diyExportTemplateUrl
,
serviceApi
=
'importApi'
}
=
props
;
const
x
=
api
;
// // 学工的 接口地址
state
.
importFileUrl
=
x
+
`/
importApi
/execute?token=
${
getToken
()}
&cacheKey=`
;
state
.
queryFileUrl
=
x
+
`/
importApi
/findData?token=
${
getToken
()}
&cacheKey=`
;
state
.
analyseFileUrl
=
x
+
`/
importApi
/analyse?token=
${
getToken
()}
&filePath=`
;
state
.
importFileUrl
=
x
+
`/
${
serviceApi
}
/execute?token=
${
getToken
()}
&cacheKey=`
;
state
.
queryFileUrl
=
x
+
`/
${
serviceApi
}
/findData?token=
${
getToken
()}
&cacheKey=`
;
state
.
analyseFileUrl
=
x
+
`/
${
serviceApi
}
/analyse?token=
${
getToken
()}
&filePath=`
;
state
.
exportTemplateUrl
=
diyExportTemplateUrl
?
x
+
diyExportTemplateUrl
+
`?serviceBean=
${
serviceBean
}
&serviceKey=
${
serviceKey
}
`
:
x
+
`/
importApi
/downLoadTemplate?serviceBean=
${
serviceBean
}
&serviceKey=
${
serviceKey
}
`
;
:
x
+
`/
${
serviceApi
}
/downLoadTemplate?serviceBean=
${
serviceBean
}
&serviceKey=
${
serviceKey
}
`
;
}
else
{
state
.
importFileUrl
=
props
.
importFileUrl
;
state
.
queryFileUrl
=
props
.
queryFileUrl
;
...
...
@@ -347,12 +347,12 @@ export default class ImportUtil extends React.PureComponent {
// key='pass', 导出通过数据; key='notPass',导出未通过数据
exportData
=
(
isPass
)
=>
{
const
type
=
isPass
?
'passList'
:
'noPassList'
;
const
{
api
,
serviceBean
,
serviceKey
,
exportTemplateUrl
}
=
this
.
props
;
const
{
api
,
serviceBean
,
serviceKey
,
exportTemplateUrl
,
serviceApi
=
'importApi'
}
=
this
.
props
;
const
{
filekey
}
=
this
.
state
;
let
downLoadUrl
;
if
(
api
!==
null
)
{
downLoadUrl
=
api
+
`/
importApi
/downLoadTemplate?serviceBean=
${
serviceBean
}
&serviceKey=
${
serviceKey
}
`
;
api
+
`/
${
serviceApi
}
/downLoadTemplate?serviceBean=
${
serviceBean
}
&serviceKey=
${
serviceKey
}
`
;
}
else
{
downLoadUrl
=
exportTemplateUrl
;
}
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论