Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
W
WebPublic
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
前端开发小组
WebPublic
Commits
3a5654f8
提交
3a5654f8
authored
6月 23, 2021
作者:
钟是志
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
20187 国家助学金、奖学金、励志奖学金、贫困生认定--添加查询条件
上级
4d363d89
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
8 个修改的文件
包含
194 行增加
和
142 行删除
+194
-142
AuditPage.js
FormInsertDiy/AffairPage/AuditPage/AuditPage.js
+31
-5
List.js
FormInsertDiy/AffairPage/AuditPage/List.js
+0
-0
ListTab.js
FormInsertDiy/AffairPage/AuditPage/ListTab.js
+4
-3
index.js
FormInsertDiy/AffairPage/AuditPage/index.js
+2
-1
pageSetting.js
FormInsertDiy/AffairPage/AuditPage/pageSetting.js
+3
-3
destruction.js
FormInsertDiy/AffairPage/destruction.js
+3
-1
publicApiService.js
FormInsertDiy/AffairPage/publicApiService.js
+151
-129
index.js
FormInsertDiy/config/index.js
+0
-0
没有找到文件。
FormInsertDiy/AffairPage/AuditPage/AuditPage.js
浏览文件 @
3a5654f8
import
pageSetting
from
'./pageSetting'
;
import
pageSetting
from
'./pageSetting'
;
import
React
,
{
Component
,
Fragment
}
from
'react'
;
import
React
,
{
Component
}
from
'react'
;
import
PageHeaderWrapper
from
'@/components/PageHeaderWrapper'
;
import
PageHeaderWrapper
from
'@/components/PageHeaderWrapper'
;
import
List
from
'../ApplyPage/List'
;
import
ListTab
from
'./ListTab'
;
import
ListTab
from
'./ListTab'
;
import
{
deepCopy
}
from
'@/baseComponent/utils'
;
import
{
getHandledPage
,
getWaitPage
}
from
'../publicApiService'
;
import
{
getApplyPage
,
getHandledPage
,
getWaitPage
}
from
'../publicApiService'
;
import
AuditModal
from
'@/webPublic/FormInsertDiy/AuditPage/BatchAudit/AuditModal'
;
import
AuditModal
from
'@/webPublic/FormInsertDiy/AuditPage/BatchAudit/AuditModal'
;
import
{
ModalInfo
}
from
'@/baseComponent/Modal'
;
import
{
ModalInfo
}
from
'@/baseComponent/Modal'
;
import
ButtonDiy
from
'@/baseComponent/ButtonDiy'
;
import
ButtonDiy
from
'@/baseComponent/ButtonDiy'
;
...
@@ -60,10 +58,24 @@ export default class AuditPage extends Component {
...
@@ -60,10 +58,24 @@ export default class AuditPage extends Component {
handleSearchSet
=
()
=>
{
handleSearchSet
=
()
=>
{
const
{
columns
,
searchCondition
}
=
this
.
props
;
const
{
columns
,
searchCondition
}
=
this
.
props
;
console
.
log
(
searchCondition
);
const
tab1
=
{
const
tab1
=
{
search
:
{
search
:
{
field
:
{},
field
:
{},
getPageService
:
getWaitPage
,
getPageService
:
getWaitPage
,
beforeSearchData
:
(
data
)
=>
{
let
searcherKeyValue
=
{};
for
(
let
item
of
searchCondition
){
if
(
typeof
data
[
item
.
key
]
!==
'undefined'
){
searcherKeyValue
[
item
.
base52
]
=
data
[
item
.
key
];
}
}
if
(
searcherKeyValue
&&
Object
.
keys
(
searcherKeyValue
).
length
){
data
.
searcherKeyValue
=
JSON
.
stringify
(
searcherKeyValue
);
}
console
.
log
(
data
);
return
data
;
},
responseCallBack
:
response
=>
{
responseCallBack
:
response
=>
{
return
response
;
return
response
;
},
},
...
@@ -81,6 +93,19 @@ export default class AuditPage extends Component {
...
@@ -81,6 +93,19 @@ export default class AuditPage extends Component {
responseCallBack
:
response
=>
{
responseCallBack
:
response
=>
{
return
response
;
return
response
;
},
},
beforeSearchData
:
(
data
)
=>
{
let
searcherKeyValue
=
{};
for
(
let
item
of
searchCondition
){
if
(
typeof
data
[
item
.
key
]
!==
'undefined'
){
searcherKeyValue
[
item
.
base52
]
=
data
[
item
.
key
];
}
}
if
(
searcherKeyValue
&&
Object
.
keys
(
searcherKeyValue
).
length
){
data
.
searcherKeyValue
=
JSON
.
stringify
(
searcherKeyValue
);
}
console
.
log
(
data
);
return
data
;
},
condition
:
searchCondition
,
condition
:
searchCondition
,
nameSpan
:
{
big
:
8
,
small
:
9
},
nameSpan
:
{
big
:
8
,
small
:
9
},
fileSpan
:
{
big
:
4
,
small
:
4
},
fileSpan
:
{
big
:
4
,
small
:
4
},
...
@@ -95,7 +120,7 @@ export default class AuditPage extends Component {
...
@@ -95,7 +120,7 @@ export default class AuditPage extends Component {
};
};
render
()
{
render
()
{
const
{
workId
,
dataBaseId
,
addFields
}
=
this
.
props
;
const
{
workId
,
dataBaseId
,
addFields
,
searchCondition
}
=
this
.
props
;
return
(
return
(
<
PageHeaderWrapper
title
=
""
>
<
PageHeaderWrapper
title
=
""
>
...
@@ -104,6 +129,7 @@ export default class AuditPage extends Component {
...
@@ -104,6 +129,7 @@ export default class AuditPage extends Component {
pageButton
=
{
this
.
handleButtonSet
({})}
pageButton
=
{
this
.
handleButtonSet
({})}
workId
=
{
workId
}
workId
=
{
workId
}
dataBaseId
=
{
dataBaseId
}
dataBaseId
=
{
dataBaseId
}
searchCondition
=
{
searchCondition
}
addFields
=
{
addFields
}
addFields
=
{
addFields
}
pageSearch
=
{
this
.
handleSearchSet
({})}
pageSearch
=
{
this
.
handleSearchSet
({})}
/
>
/
>
...
...
FormInsertDiy/AffairPage/AuditPage/List.js
浏览文件 @
3a5654f8
差异被折叠。
点击展开。
FormInsertDiy/AffairPage/AuditPage/ListTab.js
浏览文件 @
3a5654f8
...
@@ -32,17 +32,17 @@ export default class ListTab extends Component {
...
@@ -32,17 +32,17 @@ export default class ListTab extends Component {
};
};
render
()
{
render
()
{
const
{
tabList
,
pageSearch
,
pageButton
,
workId
,
dataBaseId
,
addFields
}
=
this
.
props
;
const
{
tabList
,
pageSearch
,
pageButton
,
workId
,
dataBaseId
,
addFields
,
searchCondition
}
=
this
.
props
;
const
{
activeKey
,
tabKeys
}
=
this
.
state
;
const
{
activeKey
,
tabKeys
}
=
this
.
state
;
return
(
return
(
<
Fragment
>
<
Fragment
>
<
Shell
>
<
Shell
styleShell
=
{{
marginTop
:
0
}}
>
{
/*<SearchDom />*/
}
<
Tabs
activeKey
=
{
activeKey
}
<
Tabs
activeKey
=
{
activeKey
}
className
=
{
styles
.
ListTab
}
className
=
{
styles
.
ListTab
}
onChange
=
{
this
.
handleChangeTab
}
>
onChange
=
{
this
.
handleChangeTab
}
>
{
tabKeys
.
map
((
item
)
=>
{
{
tabKeys
.
map
((
item
)
=>
{
return
<
TabPane
tab
=
{
tabList
[
item
].
name
}
key
=
{
item
}
>
return
<
TabPane
tab
=
{
tabList
[
item
].
name
}
key
=
{
item
}
>
<
/TabPane
>
<
/TabPane
>
})}
})}
<
/Tabs
>
<
/Tabs
>
...
@@ -53,6 +53,7 @@ export default class ListTab extends Component {
...
@@ -53,6 +53,7 @@ export default class ListTab extends Component {
key
=
{
item
}
key
=
{
item
}
workId
=
{
workId
}
workId
=
{
workId
}
addFields
=
{
addFields
}
addFields
=
{
addFields
}
searchCondition
=
{
searchCondition
}
dataBaseId
=
{
dataBaseId
}
dataBaseId
=
{
dataBaseId
}
pageSearch
=
{
pageSearch
[
item
]}
pageSearch
=
{
pageSearch
[
item
]}
pageButton
=
{
pageButton
[
item
]}
pageButton
=
{
pageButton
[
item
]}
...
...
FormInsertDiy/AffairPage/AuditPage/index.js
浏览文件 @
3a5654f8
...
@@ -44,10 +44,11 @@ export default class Index extends React.Component {
...
@@ -44,10 +44,11 @@ export default class Index extends React.Component {
return
false
;
return
false
;
}
}
destructionFunc
.
destructionGetDetail
(
response
).
then
((
x
)
=>
{
destructionFunc
.
destructionGetDetail
(
response
).
then
((
x
)
=>
{
const
{
addFields
,
tableInfo
,
allConfigSetInfo
}
=
x
;
const
{
addFields
,
tableInfo
,
allConfigSetInfo
,
searchCondition
}
=
x
;
this
.
setState
({
this
.
setState
({
addFields
,
addFields
,
tableInfo
,
tableInfo
,
searchCondition
,
allConfigSetInfo
,
allConfigSetInfo
,
},()
=>
{
},()
=>
{
this
.
giveDetailColumns
();
this
.
giveDetailColumns
();
...
...
FormInsertDiy/AffairPage/AuditPage/pageSetting.js
浏览文件 @
3a5654f8
...
@@ -6,7 +6,7 @@ const pageSetting = {
...
@@ -6,7 +6,7 @@ const pageSetting = {
listConfig
:{
listConfig
:{
selectRows
:
true
,
// 是否可以行选择,
selectRows
:
true
,
// 是否可以行选择,
paging
:
true
,
// 是否可以分页,
paging
:
true
,
// 是否可以分页,
searchArea
:
fals
e
,
// 是否拥有 搜索区dom,
searchArea
:
tru
e
,
// 是否拥有 搜索区dom,
buttonArea
:
true
,
// 是否拥有 按钮区,
buttonArea
:
true
,
// 是否拥有 按钮区,
}
}
},
},
...
@@ -15,9 +15,9 @@ const pageSetting = {
...
@@ -15,9 +15,9 @@ const pageSetting = {
listConfig
:{
listConfig
:{
selectRows
:
true
,
// 是否可以行选择,
selectRows
:
true
,
// 是否可以行选择,
paging
:
true
,
// 是否可以分页,
paging
:
true
,
// 是否可以分页,
searchArea
:
fals
e
,
// 是否拥有 搜索区dom,
searchArea
:
tru
e
,
// 是否拥有 搜索区dom,
buttonArea
:
true
,
// 是否拥有 按钮区,
buttonArea
:
true
,
// 是否拥有 按钮区,
}
}
,
},
},
},
},
};
};
...
...
FormInsertDiy/AffairPage/destruction.js
浏览文件 @
3a5654f8
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
,
getSearchCondition
}
from
'../config/index'
;
import
config
from
'@/config/config'
;
import
config
from
'@/config/config'
;
import
{
Tooltip
}
from
'antd'
;
import
{
Tooltip
}
from
'antd'
;
import
moment
from
'moment'
;
import
moment
from
'moment'
;
...
@@ -190,6 +190,7 @@ export async function destructionGetDetail(response) {
...
@@ -190,6 +190,7 @@ export async function destructionGetDetail(response) {
addFields
:
[],
addFields
:
[],
tableInfo
:
{},
tableInfo
:
{},
allConfigSetInfo
:
response
,
allConfigSetInfo
:
response
,
searchCondition
:
[],
};
};
}
}
const
basicPatternModel
=
response
.
unifiedServicePatternModel
;
const
basicPatternModel
=
response
.
unifiedServicePatternModel
;
...
@@ -286,6 +287,7 @@ export async function destructionGetDetail(response) {
...
@@ -286,6 +287,7 @@ export async function destructionGetDetail(response) {
addFields
:
await
translateAddFields
(
fileds
,
tableInfo
),
addFields
:
await
translateAddFields
(
fileds
,
tableInfo
),
tableInfo
,
tableInfo
,
allConfigSetInfo
:
response
,
allConfigSetInfo
:
response
,
searchCondition
:
await
getSearchCondition
(
basicPatternModel
?.
dataObjModels
[
0
]?.
id
),
};
};
}
}
...
...
FormInsertDiy/AffairPage/publicApiService.js
浏览文件 @
3a5654f8
...
@@ -6,127 +6,144 @@
...
@@ -6,127 +6,144 @@
* */
* */
import
{
apiRequest
}
from
'../request'
;
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
'@/config/config'
;
const
giveValue
=
(
x
)
=>
{
const
giveValue
=
(
x
)
=>
{
if
(
x
&&
x
.
rows
)
{
if
(
x
&&
x
.
rows
)
{
let
res
=
[];
let
res
=
[];
for
(
let
item
of
x
.
rows
)
{
for
(
let
item
of
x
.
rows
)
{
res
.
push
({
res
.
push
({
...
item
.
hisTaskListData
,
...
item
.
hisTaskListData
,
...
item
,
...
item
,
});
});
}
}
x
.
rows
=
res
;
x
.
rows
=
res
;
return
x
;
return
x
;
}
else
{
}
else
{
return
{
return
{
rows
:
[],
rows
:
[],
total
:
1
,
total
:
1
,
};
};
}
}
};
};
const
getId
=
async
(
pathname
)
=>
{
const
getId
=
async
(
pathname
)
=>
{
// 获取流程引擎 事务workId 和表dataBaseId
// 获取流程引擎 事务workId 和表dataBaseId
let
idObj
=
await
getOneStopConfig
(
pathname
);
let
idObj
=
await
getOneStopConfig
(
pathname
);
console
.
log
(
idObj
);
console
.
log
(
idObj
);
if
(
typeof
idObj
===
'undefined'
||
!
idObj
)
{
if
(
typeof
idObj
===
'undefined'
||
!
idObj
)
{
console
.
error
(
'没有找到对应的流程引擎id'
);
console
.
error
(
'没有找到对应的流程引擎id'
);
return
false
;
return
false
;
}
else
{
}
else
{
return
{
return
{
dataBaseId
:
idObj
,
dataBaseId
:
idObj
,
workId
:
idObj
,
workId
:
idObj
,
};
};
}
}
};
};
const
getPages
=
(
info
)
=>
{
const
getPages
=
(
info
)
=>
{
// 获取代办事项 分页数据 workId
// 获取代办事项 分页数据 workId
// workId, pageSize, pageNo,
// workId, pageSize, pageNo,
if
(
typeof
info
.
pageNo
===
'undefined'
)
{
if
(
typeof
info
.
pageNo
===
'undefined'
)
{
info
.
pageNo
=
1
;
info
.
pageNo
=
1
;
info
.
pageSize
=
10
;
info
.
pageSize
=
10
;
}
}
return
apiRequest
(
'/UnifiedAppFormApi/getWaitPage'
,
info
);
return
apiRequest
(
'/UnifiedAppFormApi/getWaitPage'
,
info
);
};
};
const
getColumns
=
(
workId
)
=>
{
// 获取表头 workId
return
apiRequest
(
'/UnifiedAppFormApi/getFormTitle'
,
{
id
:
workId
});
const
getColumns
=
(
workId
)
=>
{
// 获取表头 workId
return
apiRequest
(
'/UnifiedAppFormApi/getFormTitle'
,
{
id
:
workId
});
};
};
const
getHead
=
(
dataObjId
)
=>
{
// 获取表头 workId
return
apiRequest
(
'/DataColumnApi/getHeaderList'
,
{
dataObjId
});
};
/**
/**
* 获取下拉枚举值
* 获取下拉枚举值
* */
* */
const
getOptions
=
async
(
id
,
filterSql
=
undefined
,
key
,
name
)
=>
{
const
getOptions
=
async
(
id
,
filterSql
=
undefined
,
key
,
name
)
=>
{
return
await
apiRequest
(
'/DataColumnApi/getOptions'
,
{
id
,
filterSql
}).
then
((
x
)
=>
{
return
await
apiRequest
(
'/DataColumnApi/getOptions'
,
{
id
,
filterSql
}).
then
((
x
)
=>
{
if
(
x
){
if
(
x
)
{
return
x
.
map
((
y
)
=>
{
return
x
.
map
((
y
)
=>
{
return
{
key
:
y
[
key
],
name
:
y
[
name
],
};
});
}
else
{
return
[];
}
});
};
/**
* 批量获取下拉枚举值
* */
const
getBatchOptions
=
async
(
ids
)
=>
{
return
await
apiRequest
(
'/DataColumnApi/getBatchOptions'
,
{
ids
}).
then
((
x
)
=>
{
if
(
x
)
{
return
x
.
map
((
y
)
=>
{
return
{
return
{
key
:
y
[
key
],
key
:
y
[
key
],
name
:
y
[
name
],
name
:
y
[
name
],
}
}
;
})
})
;
}
else
{
}
else
{
return
[];
return
[];
}
}
});
});
};
};
/**
/**
* 获取下拉枚举值 通过sql语句
* 获取下拉枚举值 通过sql语句
* */
* */
const
getSqlOptions
=
async
(
id
,
sqlKey
=
undefined
,
key
,
name
)
=>
{
const
getSqlOptions
=
async
(
id
,
sqlKey
=
undefined
,
key
,
name
)
=>
{
return
await
apiRequest
(
'/DataColumnApi/getSqlOptions'
,
{
id
,
sqlKey
}).
then
((
x
)
=>
{
return
await
apiRequest
(
'/DataColumnApi/getSqlOptions'
,
{
id
,
sqlKey
}).
then
((
x
)
=>
{
if
(
x
)
{
if
(
x
)
{
return
x
.
map
((
y
)
=>
{
return
x
.
map
((
y
)
=>
{
return
{
return
{
key
:
y
[
key
],
key
:
y
[
key
],
name
:
y
[
name
],
name
:
y
[
name
],
}
};
})
});
}
else
{
}
else
{
return
[];
return
[];
}
}
});
});
};
};
/**
/**
* 获取发起流程填写的字段表单详情
* 获取发起流程填写的字段表单详情
* */
* */
const
getFormDetail
=
(
id
)
=>
{
const
getFormDetail
=
(
id
)
=>
{
return
apiRequest
(
'/UnifiedAppApi/getDetail'
,
{
id
}).
then
((
x
)
=>
{
return
apiRequest
(
'/UnifiedAppApi/getDetail'
,
{
id
}).
then
((
x
)
=>
{
if
(
x
)
{
if
(
x
)
{
return
x
;
return
x
;
}
else
{
}
else
{
return
{};
return
{};
}
}
});
});
};
};
/**
/**
* 发起流程
* 发起流程
* */
* */
const
startProcess
=
(
info
)
=>
{
const
startProcess
=
(
info
)
=>
{
return
apiRequest
(
'/UnifiedAppFormApi/startProcess'
,
info
).
then
((
x
)
=>
{
return
apiRequest
(
'/UnifiedAppFormApi/startProcess'
,
info
).
then
((
x
)
=>
{
if
(
x
)
{
if
(
x
)
{
return
x
;
return
x
;
}
else
{
}
else
{
return
null
;
return
null
;
}
}
});
});
};
};
/**
/**
...
@@ -135,10 +152,9 @@ const startProcess = (info) => {
...
@@ -135,10 +152,9 @@ const startProcess = (info) => {
* */
* */
const
getApplyPage
=
(
info
)
=>
{
const
getApplyPage
=
(
info
)
=>
{
return
apiRequest
(
'/UnifiedAppFormApi/getApplyPage'
,
info
).
then
((
x
)
=>
{
return
apiRequest
(
'/UnifiedAppFormApi/getApplyPage'
,
info
).
then
((
x
)
=>
{
return
giveValue
(
x
);
return
giveValue
(
x
);
});
});
};
};
/**
/**
* 查询一个流程的详情数据
* 查询一个流程的详情数据
...
@@ -146,14 +162,14 @@ const getApplyPage = (info) => {
...
@@ -146,14 +162,14 @@ const getApplyPage = (info) => {
* */
* */
const
getDetailInfo
=
(
id
)
=>
{
const
getDetailInfo
=
(
id
)
=>
{
return
apiRequest
(
'/UnifiedAppFormApi/getFormDetail'
,
{
id
}).
then
((
x
)
=>
{
return
apiRequest
(
'/UnifiedAppFormApi/getFormDetail'
,
{
id
}).
then
((
x
)
=>
{
if
(
x
)
{
if
(
x
)
{
return
x
;
return
x
;
}
else
{
}
else
{
return
null
;
return
null
;
}
}
});
});
};
};
/**
/**
* 待办业务
* 待办业务
* pageSize: 10
* pageSize: 10
...
@@ -161,9 +177,9 @@ const getDetailInfo = (id) => {
...
@@ -161,9 +177,9 @@ const getDetailInfo = (id) => {
* pageNo: 1
* pageNo: 1
* */
* */
const
getWaitPage
=
(
info
)
=>
{
const
getWaitPage
=
(
info
)
=>
{
return
apiRequest
(
'/UnifiedAppFormApi/getWaitPage'
,
info
).
then
((
x
)
=>
{
return
apiRequest
(
'/UnifiedAppFormApi/getWaitPage'
,
info
).
then
((
x
)
=>
{
return
giveValue
(
x
);
return
giveValue
(
x
);
})
});
};
};
/**
/**
* 已办业务
* 已办业务
...
@@ -172,10 +188,9 @@ const getWaitPage = (info) => {
...
@@ -172,10 +188,9 @@ const getWaitPage = (info) => {
* pageNo: 1
* pageNo: 1
* */
* */
const
getHandledPage
=
(
info
)
=>
{
const
getHandledPage
=
(
info
)
=>
{
return
apiRequest
(
'/UnifiedAppFormApi/getHandledPage'
,
info
).
then
((
x
)
=>
{
return
apiRequest
(
'/UnifiedAppFormApi/getHandledPage'
,
info
).
then
((
x
)
=>
{
return
giveValue
(
x
);
return
giveValue
(
x
);
});
})
};
};
/**
/**
...
@@ -185,41 +200,48 @@ const getHandledPage = (info) => {
...
@@ -185,41 +200,48 @@ const getHandledPage = (info) => {
* taskForm: {}
* taskForm: {}
* */
* */
const
handleAudit
=
(
info
)
=>
{
const
handleAudit
=
(
info
)
=>
{
return
apiRequest
(
'/UnifiedAppFormApi/examineProcess'
,
info
).
then
((
x
)
=>
{
return
apiRequest
(
'/UnifiedAppFormApi/examineProcess'
,
info
).
then
((
x
)
=>
{
if
(
x
)
{
if
(
x
)
{
return
x
;
return
x
;
}
}
})
});
};
};
const
handleSqlData
=
(
info
)
=>
{
const
handleSqlData
=
(
info
)
=>
{
return
apiRequest
(
'/DataColumnApi/getSqlData'
,
info
).
then
((
x
)
=>
{
return
apiRequest
(
'/DataColumnApi/getSqlData'
,
info
).
then
((
x
)
=>
{
if
(
x
)
{
if
(
x
)
{
return
x
;
return
x
;
}
else
{
}
else
{
return
[];
return
[];
}
}
})
});
};
};
const
handleSqlfind
=
async
(
sqlKey
=
''
)
=>
{
const
handleSqlfind
=
async
(
sqlKey
=
''
)
=>
{
return
await
apiRequest
(
'/SqlManageEntityApi/find'
,
{
sqlKey
}).
then
((
x
)
=>
{
return
await
apiRequest
(
'/SqlManageEntityApi/find'
,
{
sqlKey
}).
then
((
x
)
=>
{
if
(
x
)
{
if
(
x
)
{
return
x
;
return
x
;
}
else
{
}
else
{
return
null
;
return
null
;
}
}
})
});
};
};
export
{
export
{
getId
,
getColumns
,
getPages
,
getId
,
getFormDetail
,
getColumns
,
getOptions
,
startProcess
,
getApplyPage
,
getPages
,
getDetailInfo
,
getWaitPage
,
getHandledPage
,
handleAudit
,
getFormDetail
,
handleSqlData
,
handleSqlfind
,
getSqlOptions
,
getOptions
,
getBatchOptions
,
startProcess
,
getApplyPage
,
getDetailInfo
,
getWaitPage
,
getHandledPage
,
handleAudit
,
handleSqlData
,
handleSqlfind
,
getSqlOptions
,
getHead
,
};
};
FormInsertDiy/config/index.js
浏览文件 @
3a5654f8
差异被折叠。
点击展开。
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论