Skip to content
项目
群组
代码片段
帮助
正在加载...
登录/注册
切换导航
广
广东建设用地-前端
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
广东建设用地
广东建设用地-前端
Commits
60775c8b
提交
60775c8b
authored
10月 16, 2024
作者:
jinrb
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
列表搜索和展示修改
上级
57b081c3
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
109 行增加
和
4 行删除
+109
-4
NoReport.vue
src/views/directory/tbgj/NoReport.vue
+2
-2
data.ts
src/views/directory/tbgj/data.ts
+107
-2
没有找到文件。
src/views/directory/tbgj/NoReport.vue
浏览文件 @
60775c8b
...
...
@@ -25,7 +25,7 @@
import
{
BasicTable
}
from
'@/components/Table'
;
import
{
useListPage
}
from
'/@/hooks/system/useListPage'
;
import
{
ColumnsNo
,
searchFormSchema
,
useCategoryData
}
from
'./data'
;
import
{
ColumnsNo
,
searchFormSchema
No
,
useCategoryData
}
from
'./data'
;
import
{
zbsbqd
,
zbsbqdExcel
}
from
'./api'
;
const
{
tableContext
,
onExportXls
}
=
useListPage
({
...
...
@@ -47,7 +47,7 @@
},
formConfig
:
{
labelWidth
:
120
,
schemas
:
searchFormSchema
,
schemas
:
searchFormSchema
No
,
autoSubmitOnEnter
:
true
,
showAdvancedButton
:
false
,
},
...
...
src/views/directory/tbgj/data.ts
浏览文件 @
60775c8b
...
...
@@ -144,10 +144,11 @@ export const ColumnsNo: BasicColumn[] = [
resizable
:
true
,
},
{
title
:
'
是否移出
'
,
dataIndex
:
's
fyc
'
,
title
:
'
所在阶段
'
,
dataIndex
:
's
zjd
'
,
resizable
:
true
,
},
{
title
:
'创建地块时间'
,
dataIndex
:
'createTsamp'
,
...
...
@@ -290,3 +291,107 @@ export const searchFormSchema: FormSchema[] = [
},
},
]
export
const
searchFormSchemaNo
:
FormSchema
[]
=
[
{
label
:
'市'
,
field
:
'cityCode'
,
component
:
'ApiSelect'
,
ifShow
:
()
=>
{
return
userStore
?.
userInfo
?.
userIdentity
==
'1'
?
true
:
false
},
componentProps
:
({
formModel
,
formActionType
})
=>
{
return
{
api
:
getTown
,
params
:
440000
,
// 行政区划编码
labelField
:
'name'
,
valueField
:
'id'
,
onChange
:
(
val
:
any
)
=>
{
const
{
updateSchema
}
=
formActionType
;
formModel
.
countryCode
=
undefined
;
if
(
val
)
{
updateSchema
({
field
:
'countryCode'
,
componentProps
:
{
api
:
getTown
,
params
:
val
,
labelField
:
'name'
,
valueField
:
'id'
,
},
});
}
else
{
updateSchema
({
field
:
'countryCode'
,
componentProps
:
{
api
:
undefined
,
labelField
:
'name'
,
valueField
:
'id'
,
},
});
}
},
};
},
},
{
label
:
'县'
,
field
:
'countryCode'
,
component
:
'ApiSelect'
,
ifShow
:
()
=>
{
return
(
userStore
?.
userInfo
?.
userIdentity
==
'2'
||
userStore
?.
userInfo
?.
userIdentity
==
'1'
)
?
true
:
false
},
componentProps
:
({
formModel
,
formActionType
})
=>
{
if
(
userStore
?.
userInfo
?.
userIdentity
==
'2'
)
{
const
{
updateSchema
}
=
formActionType
;
updateSchema
({
label
:
'区县'
,
field
:
'countryCode'
,
ifShow
:
true
,
componentProps
:
{
api
:
getTown
,
params
:
userStore
?.
userInfo
?.
codeRegion
,
labelField
:
'name'
,
valueField
:
'id'
,
},
});
}
return
{
labelField
:
'name'
,
valueField
:
'id'
,
}
},
},
{
label
:
'行业类别'
,
field
:
'hydl'
,
component
:
'TreeSelect'
,
slot
:
'category'
,
},
{
label
:
'地块类型'
,
field
:
'cdlx'
,
component
:
'ApiSelect'
,
componentProps
:
{
api
:
dict
,
params
:
{
key
:
'dk_dklx'
},
labelField
:
'text'
,
valueField
:
'value'
,
}
},
{
label
:
'政策依据'
,
field
:
'faliYiju'
,
component
:
'JSearchSelect'
,
componentProps
:
{
dict
:
'dk_zcyj'
,
},
},
{
label
:
'地块名称'
,
field
:
'wrdkbm'
,
component
:
'Input'
,
componentProps
:
{
placeholder
:
'地块名称或地块编码'
}
}
]
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论