Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
W
web
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
iuav
web
Commits
c1e5ee7d
提交
c1e5ee7d
authored
6月 11, 2023
作者:
曹云
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
改-飞手培训-隐藏地域,其他类别筛选
上级
d36309fd
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
18 行增加
和
34 行删除
+18
-34
index.page.tsx
pages/flyingHandService/index.page.tsx
+17
-33
index.tsx
pages/home/waterfallFlowBody/index.tsx
+1
-1
没有找到文件。
pages/flyingHandService/index.page.tsx
浏览文件 @
c1e5ee7d
...
@@ -193,20 +193,20 @@ export default function FlyingHandService() {
...
@@ -193,20 +193,20 @@ export default function FlyingHandService() {
})
})
}
}
//
const onChange = (value: any) => {
const
onChange
=
(
value
:
any
)
=>
{
//
clearRouter()
clearRouter
()
//
if (value) {
if
(
value
)
{
//
setSkillsDefault([value])
setSkillsDefault
([
value
])
//
} else {
}
else
{
//
setSkillsDefault([])
setSkillsDefault
([])
//
}
}
//
setFilterParams((props) => {
setFilterParams
((
props
)
=>
{
//
return {
return
{
//
...props,
...
props
,
//
flightSkillsId: (value && value[value.length - 1]) || undefined,
flightSkillsId
:
(
value
&&
value
[
value
.
length
-
1
])
||
undefined
,
//
}
}
//
})
})
//
}
}
const
onChangeRegion
=
(
value
:
any
)
=>
{
const
onChangeRegion
=
(
value
:
any
)
=>
{
clearRouter
()
clearRouter
()
...
@@ -343,7 +343,7 @@ export default function FlyingHandService() {
...
@@ -343,7 +343,7 @@ export default function FlyingHandService() {
onChange={onChangeRegion}
onChange={onChangeRegion}
changeOnSelect
changeOnSelect
/> */
}
/> */
}
<
Select
{
/*
<Select
className="selectItem"
className="selectItem"
bordered={false}
bordered={false}
popupMatchSelectWidth={false}
popupMatchSelectWidth={false}
...
@@ -353,24 +353,8 @@ export default function FlyingHandService() {
...
@@ -353,24 +353,8 @@ export default function FlyingHandService() {
options={secondDistrictInfo}
options={secondDistrictInfo}
fieldNames={{ value: 'id', label: 'name' }}
fieldNames={{ value: 'id', label: 'name' }}
allowClear
allowClear
/>
{
/* <Cascader
allowClear
placeholder="考证"
bordered={false}
className="selectItem"
size="large"
fieldNames={{
label: 'licenseType',
value: 'id',
children: 'childLicenses',
}}
options={skills}
onChange={(value) => onChange(value)}
changeOnSelect
value={skillsDefault}
/> */
}
/> */
}
{
selectOption
?.
map
((
item
)
=>
(
{
/* {
selectOption?.map((item) => (
<Select
<Select
key={item.directoryId}
key={item.directoryId}
className="selectItem"
className="selectItem"
...
@@ -383,7 +367,7 @@ export default function FlyingHandService() {
...
@@ -383,7 +367,7 @@ export default function FlyingHandService() {
fieldNames={{ value: 'id', label: 'name' }}
fieldNames={{ value: 'id', label: 'name' }}
allowClear
allowClear
/>
/>
))
}
))}
*/
}
</
Space
>
</
Space
>
</
div
>
</
div
>
<
Button
<
Button
...
...
pages/home/waterfallFlowBody/index.tsx
浏览文件 @
c1e5ee7d
...
@@ -247,8 +247,8 @@ export default function WaterfallFlowBody() {
...
@@ -247,8 +247,8 @@ export default function WaterfallFlowBody() {
res1
.
result
,
res1
.
result
,
res4
.
result
,
res4
.
result
,
listOption
,
listOption
,
res2
.
result
,
res3
.
result
,
res3
.
result
,
res2
.
result
,
list2Option
,
list2Option
,
]
]
const
listValue
:
any
=
[
const
listValue
:
any
=
[
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论