Skip to content
项目
群组
代码片段
帮助
正在加载...
登录/注册
切换导航
广
广东建设用地-前端
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
广东建设用地
广东建设用地-前端
Commits
5956e4e9
提交
5956e4e9
authored
4月 30, 2026
作者:
jinrongbin
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
文件检查、检查下载接口调试
上级
be7f7589
显示空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
62 行增加
和
6 行删除
+62
-6
api.ts
src/views/directory/yztsj/shengjiList/api.ts
+12
-0
index.vue
src/views/directory/yztsj/shengjiList/index.vue
+19
-3
api.ts
src/views/directory/yztsj/shijiList/api.ts
+12
-0
index.vue
src/views/directory/yztsj/shijiList/index.vue
+19
-3
没有找到文件。
src/views/directory/yztsj/shengjiList/api.ts
浏览文件 @
5956e4e9
...
@@ -15,6 +15,8 @@ enum Api {
...
@@ -15,6 +15,8 @@ enum Api {
downloadMdb
=
'/dkgl/dsrwGeoJd/downloadMdb'
,
downloadMdb
=
'/dkgl/dsrwGeoJd/downloadMdb'
,
downloadGdb
=
'/dkgl/dsrwGeoJd/downloadGdb'
,
downloadGdb
=
'/dkgl/dsrwGeoJd/downloadGdb'
,
proviceZgbmCheck
=
'/dkgl/dsrwGeoJd/proviceZgbmCheck'
,
proviceZgbmCheck
=
'/dkgl/dsrwGeoJd/proviceZgbmCheck'
,
checkSuccessDownLoad
=
'/dkgl/dsrwGeoJd/checkSuccessDownLoad'
,
//文件检查结果下载
fileCheck
=
'/dkgl/dsrwGeoJd/fileCheck'
,
//文件检查
}
}
/**
/**
* 下载mdb文件
* 下载mdb文件
...
@@ -43,6 +45,16 @@ export const provinceAuditsPageList = (params) => defHttp.get({ url: Api.provinc
...
@@ -43,6 +45,16 @@ export const provinceAuditsPageList = (params) => defHttp.get({ url: Api.provinc
* @param params
* @param params
*/
*/
export
const
proviceZgbmCheck
=
(
params
)
=>
defHttp
.
get
({
url
:
Api
.
proviceZgbmCheck
,
params
});
export
const
proviceZgbmCheck
=
(
params
)
=>
defHttp
.
get
({
url
:
Api
.
proviceZgbmCheck
,
params
});
/**
* 文件检查
* @param params
*/
export
const
fileCheck
=
(
params
)
=>
defHttp
.
get
({
url
:
Api
.
fileCheck
,
params
});
/**
* 检查结果下载
* @param params
*/
export
const
checkSuccessDownLoad
=
(
params
)
=>
defHttp
.
get
({
url
:
Api
.
checkSuccessDownLoad
,
params
});
/**
/**
* 列表接口
* 列表接口
* @param params
* @param params
...
...
src/views/directory/yztsj/shengjiList/index.vue
浏览文件 @
5956e4e9
...
@@ -13,8 +13,8 @@
...
@@ -13,8 +13,8 @@
<a-button
type=
"primary"
@
click=
"handleZgSh(true)"
v-auth=
"'yztsjshj:zgbmsh'"
v-if=
"userStore.userInfo.userType ==2"
>
自规部门审核
</a-button>
<a-button
type=
"primary"
@
click=
"handleZgSh(true)"
v-auth=
"'yztsjshj:zgbmsh'"
v-if=
"userStore.userInfo.userType ==2"
>
自规部门审核
</a-button>
<a-button
type=
"primary"
@
click=
"handleZgSh(false)"
v-auth=
"'yztsjshj:zgbmshls'"
>
自规部门审核
</a-button>
<a-button
type=
"primary"
@
click=
"handleZgSh(false)"
v-auth=
"'yztsjshj:zgbmshls'"
>
自规部门审核
</a-button>
<a-button
type=
"primary"
@
click=
"handleStUp"
v-auth=
"'yztsjshj:stbmtj'"
>
生态部门提交
</a-button>
<a-button
type=
"primary"
@
click=
"handleStUp"
v-auth=
"'yztsjshj:stbmtj'"
>
生态部门提交
</a-button>
<a-button
type=
"primary"
@
click=
"handle
StUp
"
v-auth=
"'yztsjshj:wjjc'"
>
文件检查
</a-button>
<a-button
type=
"primary"
@
click=
"handle
FileCheck
"
v-auth=
"'yztsjshj:wjjc'"
>
文件检查
</a-button>
<a-button
type=
"primary"
@
click=
"handle
StUp
"
v-auth=
"'yztsjshj:jcjgxz'"
>
检查结果下载
</a-button>
<a-button
type=
"primary"
@
click=
"handle
CheckResultDownload
"
v-auth=
"'yztsjshj:jcjgxz'"
>
检查结果下载
</a-button>
<!--
<div
style=
"color: red; text-align: right; flex: 1; line-height: 32px"
>
注:本次数据为全量数据,生成的结果为前一天数据结果!
</div>
-->
<!--
<div
style=
"color: red; text-align: right; flex: 1; line-height: 32px"
>
注:本次数据为全量数据,生成的结果为前一天数据结果!
</div>
-->
</
template
>
</
template
>
<!--操作栏-->
<!--操作栏-->
...
@@ -56,7 +56,7 @@
...
@@ -56,7 +56,7 @@
import
{
ExclamationCircleOutlined
}
from
'@ant-design/icons-vue'
;
import
{
ExclamationCircleOutlined
}
from
'@ant-design/icons-vue'
;
import
{
useListPage
}
from
'/@/hooks/system/useListPage'
;
import
{
useListPage
}
from
'/@/hooks/system/useListPage'
;
import
{
columns
,
searchFormSchema
}
from
'./data'
;
import
{
columns
,
searchFormSchema
}
from
'./data'
;
import
{
list
,
getDownloadMdb
,
getDownloadGdb
,
deleteOne
,
getExportUrl
,
saveProvinceAuditCheck
,
proviceZgbmCheck
}
from
'./api'
;
import
{
list
,
getDownloadMdb
,
getDownloadGdb
,
deleteOne
,
getExportUrl
,
saveProvinceAuditCheck
,
proviceZgbmCheck
,
fileCheck
,
checkSuccessDownLoad
}
from
'./api'
;
import
{
existDclx
,
updateDclx
,
downloadFile
,
getDkDetail
}
from
'/@/api/common/api'
;
import
{
existDclx
,
updateDclx
,
downloadFile
,
getDkDetail
}
from
'/@/api/common/api'
;
import
{
useMessage
}
from
'/@/hooks/web/useMessage'
;
import
{
useMessage
}
from
'/@/hooks/web/useMessage'
;
import
{
useRouter
}
from
'vue-router'
;
import
{
useRouter
}
from
'vue-router'
;
...
@@ -210,6 +210,22 @@
...
@@ -210,6 +210,22 @@
}
}
}
}
}
}
async
function
handleFileCheck
()
{
const
res
=
await
fileCheck
({
nd
:
getNd
(),
jd
:
getJd
()
});
if
(
res
)
{
createMessage
.
success
(
'文件检查任务已发起'
);
}
}
async
function
handleCheckResultDownload
()
{
const
res
=
await
checkSuccessDownLoad
({
nd
:
getNd
(),
jd
:
getJd
()
});
if
(
typeof
res
===
'string'
&&
res
.
indexOf
(
'/'
)
>
-
1
)
{
downloadFile
(
'/sys/common/static'
+
res
,
res
.
split
(
'/'
)[
res
.
split
(
'/'
).
length
-
1
]);
return
;
}
createMessage
.
info
((
res
as
string
)
||
'文件校验中'
);
}
/**
/**
* 新增事件
* 新增事件
*/
*/
...
...
src/views/directory/yztsj/shijiList/api.ts
浏览文件 @
5956e4e9
...
@@ -14,6 +14,8 @@ enum Api {
...
@@ -14,6 +14,8 @@ enum Api {
downloadMdb
=
'/dkgl/dsrwGeoJd/downloadMdb'
,
downloadMdb
=
'/dkgl/dsrwGeoJd/downloadMdb'
,
downloadGdb
=
'/dkgl/dsrwGeoJd/downloadGdb'
,
downloadGdb
=
'/dkgl/dsrwGeoJd/downloadGdb'
,
cityZgbmCheck
=
'/dkgl/dsrwGeoJd/cityZgbmCheck'
,
//市级审核校验
cityZgbmCheck
=
'/dkgl/dsrwGeoJd/cityZgbmCheck'
,
//市级审核校验
checkSuccessDownLoad
=
'/dkgl/dsrwGeoJd/checkSuccessDownLoad'
,
//文件检查结果下载
fileCheck
=
'/dkgl/dsrwGeoJd/fileCheck'
,
//文件检查
}
}
/**
/**
* 下载mdb文件
* 下载mdb文件
...
@@ -57,6 +59,16 @@ export const findZrzyjList = (params) => defHttp.get({ url: Api.findZrzyjList, p
...
@@ -57,6 +59,16 @@ export const findZrzyjList = (params) => defHttp.get({ url: Api.findZrzyjList, p
* @param params
* @param params
*/
*/
export
const
cityZgbmCheck
=
(
params
)
=>
defHttp
.
get
({
url
:
Api
.
cityZgbmCheck
,
params
});
export
const
cityZgbmCheck
=
(
params
)
=>
defHttp
.
get
({
url
:
Api
.
cityZgbmCheck
,
params
});
/**
* 文件检查
* @param params
*/
export
const
fileCheck
=
(
params
)
=>
defHttp
.
get
({
url
:
Api
.
fileCheck
,
params
});
/**
* 检查结果下载
* @param params
*/
export
const
checkSuccessDownLoad
=
(
params
)
=>
defHttp
.
get
({
url
:
Api
.
checkSuccessDownLoad
,
params
});
/**
/**
* 删除单个
* 删除单个
* @param params
* @param params
...
...
src/views/directory/yztsj/shijiList/index.vue
浏览文件 @
5956e4e9
...
@@ -11,8 +11,8 @@
...
@@ -11,8 +11,8 @@
<a-button
type=
"primary"
@
click=
"handleZgSh(true)"
v-auth=
"'yztsjsj:zgbmsh'"
v-if=
"userStore.userInfo.userType ==2"
>
自规部门审核
</a-button>
<a-button
type=
"primary"
@
click=
"handleZgSh(true)"
v-auth=
"'yztsjsj:zgbmsh'"
v-if=
"userStore.userInfo.userType ==2"
>
自规部门审核
</a-button>
<a-button
type=
"primary"
@
click=
"handleZgSh(false)"
v-auth=
"'yztsjsj:zgbmshls'"
>
自规部门审核
</a-button>
<a-button
type=
"primary"
@
click=
"handleZgSh(false)"
v-auth=
"'yztsjsj:zgbmshls'"
>
自规部门审核
</a-button>
<a-button
type=
"primary"
@
click=
"handleStUp"
v-auth=
"'yztsjsj:stbmtj'"
>
生态部门提交
</a-button>
<a-button
type=
"primary"
@
click=
"handleStUp"
v-auth=
"'yztsjsj:stbmtj'"
>
生态部门提交
</a-button>
<a-button
type=
"primary"
@
click=
"handle
StUp
"
v-auth=
"'yztsjsj:wjjc'"
>
文件检查
</a-button>
<a-button
type=
"primary"
@
click=
"handle
FileCheck
"
v-auth=
"'yztsjsj:wjjc'"
>
文件检查
</a-button>
<a-button
type=
"primary"
@
click=
"handle
StUp
"
v-auth=
"'yztsjsj:jcjgxz'"
>
检查结果下载
</a-button>
<a-button
type=
"primary"
@
click=
"handle
CheckResultDownload
"
v-auth=
"'yztsjsj:jcjgxz'"
>
检查结果下载
</a-button>
<!--
<div
style=
"color: red; text-align: right; flex: 1; line-height: 32px"
>
注:本次数据为全量数据,生成的结果为前一天数据结果!
</div>
-->
<!--
<div
style=
"color: red; text-align: right; flex: 1; line-height: 32px"
>
注:本次数据为全量数据,生成的结果为前一天数据结果!
</div>
-->
</
template
>
</
template
>
<!--操作栏-->
<!--操作栏-->
...
@@ -46,7 +46,7 @@
...
@@ -46,7 +46,7 @@
import
{
useModal
}
from
'/@/components/Modal'
;
import
{
useModal
}
from
'/@/components/Modal'
;
import
{
useListPage
}
from
'/@/hooks/system/useListPage'
;
import
{
useListPage
}
from
'/@/hooks/system/useListPage'
;
import
{
columns
,
searchFormSchema
}
from
'./data'
;
import
{
columns
,
searchFormSchema
}
from
'./data'
;
import
{
list
,
getDownloadMdb
,
getDownloadGdb
,
deleteOne
,
getExportUrl
,
saveCityAuditCheck
,
cityZgbmCheck
}
from
'./api'
;
import
{
list
,
getDownloadMdb
,
getDownloadGdb
,
deleteOne
,
getExportUrl
,
saveCityAuditCheck
,
cityZgbmCheck
,
fileCheck
,
checkSuccessDownLoad
}
from
'./api'
;
import
{
existDclx
,
updateDclx
,
downloadFile
,
getDkDetail
}
from
'/@/api/common/api'
;
import
{
existDclx
,
updateDclx
,
downloadFile
,
getDkDetail
}
from
'/@/api/common/api'
;
import
{
useMessage
}
from
'/@/hooks/web/useMessage'
;
import
{
useMessage
}
from
'/@/hooks/web/useMessage'
;
import
AddModal
from
'./modules/AddModal.vue'
import
AddModal
from
'./modules/AddModal.vue'
...
@@ -195,6 +195,22 @@
...
@@ -195,6 +195,22 @@
}
}
}
}
}
}
async
function
handleFileCheck
()
{
const
res
=
await
fileCheck
({
nd
:
getNd
(),
jd
:
getJd
()
});
if
(
res
)
{
createMessage
.
success
(
'文件检查任务已发起'
);
}
}
async
function
handleCheckResultDownload
()
{
const
res
=
await
checkSuccessDownLoad
({
nd
:
getNd
(),
jd
:
getJd
()
});
if
(
typeof
res
===
'string'
&&
res
.
indexOf
(
'/'
)
>
-
1
)
{
downloadFile
(
'/sys/common/static'
+
res
,
res
.
split
(
'/'
)[
res
.
split
(
'/'
).
length
-
1
]);
return
;
}
createMessage
.
info
((
res
as
string
)
||
'文件校验中'
);
}
/**
/**
* 新增事件
* 新增事件
*/
*/
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论