Skip to content
项目
群组
代码片段
帮助
正在加载...
登录/注册
切换导航
广
广东建设用地-前端
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
广东建设用地
广东建设用地-前端
Commits
c9706db1
提交
c9706db1
authored
12月 20, 2024
作者:
jinrongbin
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
增加推送国家库按钮
上级
3db1a8bc
隐藏空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
109 行增加
和
16 行删除
+109
-16
Create.vue
src/views/directory/tbgj/Create.vue
+14
-1
Estimate.vue
src/views/directory/tbgj/Estimate.vue
+18
-3
Investigate.vue
src/views/directory/tbgj/Investigate.vue
+19
-3
Manage.vue
src/views/directory/tbgj/Manage.vue
+18
-3
Remove.vue
src/views/directory/tbgj/Remove.vue
+18
-3
Repair.vue
src/views/directory/tbgj/Repair.vue
+18
-3
api.ts
src/views/directory/tbgj/api.ts
+4
-0
没有找到文件。
src/views/directory/tbgj/Create.vue
浏览文件 @
c9706db1
...
...
@@ -19,6 +19,7 @@
<
template
#
tableTitle
>
<a-button
type=
"primary"
preIcon=
"ant-design:export-outlined"
v-auth=
"'tbgj-dc'"
@
click=
"onExportXls"
>
导出
</a-button>
<a-button
type=
"primary"
preIcon=
"ant-design:export-outlined"
v-auth=
"'tbgj-yrzbsb'"
@
click=
"handleYrzbsb"
>
移入暂不上报名录
</a-button>
<a-button
type=
"primary"
preIcon=
"ant-design:export-outlined"
v-auth=
"'tbgj-tsgjk'"
@
click=
"handleTsgjk"
>
推送国家库
</a-button>
</
template
>
</BasicTable>
</template>
...
...
@@ -27,7 +28,7 @@
import
{
useListPage
}
from
'/@/hooks/system/useListPage'
;
import
{
Columns
,
searchFormSchema
,
useCategoryData
}
from
'./data'
;
import
{
sbcjml
,
sbcjmlExcel
,
yrzbsb
}
from
'./api'
;
import
{
sbcjml
,
sbcjmlExcel
,
yrzbsb
,
pushWrdk
}
from
'./api'
;
import
{
useMessage
}
from
'/@/hooks/web/useMessage'
;
const
{
createMessage
}
=
useMessage
();
...
...
@@ -78,4 +79,16 @@
reload
()
})
}
//推送国家库
const
handleTsgjk
=
()
=>
{
if
(
selectedRows
.
value
.
length
==
0
)
{
createMessage
.
info
(
'请选择需要处理的内容,每次只能选中一条'
);
return
;
}
pushWrdk
({
wrdkbm
:
selectedRows
.
value
[
0
].
wrdkbm
,
pushNode
:
'1'
}).
then
(()
=>
{
reload
()
})
}
</
script
>
src/views/directory/tbgj/Estimate.vue
浏览文件 @
c9706db1
<
template
>
<BasicTable
@
register=
"registerTable"
>
<BasicTable
@
register=
"registerTable"
:rowSelection=
"rowSelection"
>
<template
#
form-category=
"
{ model, field }">
<a-tree-select
v-model:value=
"model[field]"
...
...
@@ -18,6 +18,7 @@
</template>
<
template
#
tableTitle
>
<a-button
type=
"primary"
preIcon=
"ant-design:export-outlined"
v-auth=
"'tbgj-dc'"
@
click=
"onExportXls"
>
导出
</a-button>
<a-button
type=
"primary"
preIcon=
"ant-design:export-outlined"
v-auth=
"'tbgj-tsgjk'"
@
click=
"handleTsgjk"
>
推送国家库
</a-button>
</
template
>
</BasicTable>
</template>
...
...
@@ -26,7 +27,10 @@
import
{
useListPage
}
from
'/@/hooks/system/useListPage'
;
import
{
Columns
,
searchFormSchema
,
useCategoryData
}
from
'./data'
;
import
{
sbfxpgml
,
sbfxpgmlExcel
}
from
'./api'
;
import
{
sbfxpgml
,
sbfxpgmlExcel
,
pushWrdk
}
from
'./api'
;
import
{
useMessage
}
from
'/@/hooks/web/useMessage'
;
const
{
createMessage
}
=
useMessage
();
const
{
tableContext
,
onExportXls
}
=
useListPage
({
tableProps
:
{
...
...
@@ -61,7 +65,18 @@
url
:
sbfxpgmlExcel
,
},
});
const
[
registerTable
,
{
},
{
}]
=
tableContext
;
const
[
registerTable
,
{
reload
},
{
rowSelection
,
selectedRows
,
selectedRowKeys
}]
=
tableContext
;
const
useCategory
=
useCategoryData
();
const
treeData
=
useCategory
.
data
;
// 行业类别-数据
//推送国家库
const
handleTsgjk
=
()
=>
{
if
(
selectedRows
.
value
.
length
==
0
)
{
createMessage
.
info
(
'请选择需要处理的内容,每次只能选中一条'
);
return
;
}
pushWrdk
({
wrdkbm
:
selectedRows
.
value
[
0
].
wrdkbm
,
pushNode
:
'3'
}).
then
(()
=>
{
reload
()
})
}
</
script
>
src/views/directory/tbgj/Investigate.vue
浏览文件 @
c9706db1
<
template
>
<BasicTable
@
register=
"registerTable"
>
<BasicTable
@
register=
"registerTable"
:rowSelection=
"rowSelection"
>
<template
#
form-category=
"
{ model, field }">
<a-tree-select
v-model:value=
"model[field]"
...
...
@@ -18,6 +18,7 @@
</template>
<
template
#
tableTitle
>
<a-button
type=
"primary"
preIcon=
"ant-design:export-outlined"
v-auth=
"'tbgj-dc'"
@
click=
"onExportXls"
>
导出
</a-button>
<a-button
type=
"primary"
preIcon=
"ant-design:export-outlined"
v-auth=
"'tbgj-tsgjk'"
@
click=
"handleTsgjk"
>
推送国家库
</a-button>
</
template
>
</BasicTable>
</template>
...
...
@@ -26,7 +27,10 @@
import
{
useListPage
}
from
'/@/hooks/system/useListPage'
;
import
{
Columns
,
searchFormSchema
,
useCategoryData
}
from
'./data'
;
import
{
sbdcml
,
sbdcmlExcel
}
from
'./api'
;
import
{
sbdcml
,
sbdcmlExcel
,
pushWrdk
}
from
'./api'
;
import
{
useMessage
}
from
'/@/hooks/web/useMessage'
;
const
{
createMessage
}
=
useMessage
();
const
{
tableContext
,
onExportXls
}
=
useListPage
({
tableProps
:
{
...
...
@@ -61,7 +65,19 @@
url
:
sbdcmlExcel
,
},
});
const
[
registerTable
,
{
},
{
}]
=
tableContext
;
const
[
registerTable
,
{
reload
},
{
rowSelection
,
selectedRows
,
selectedRowKeys
}]
=
tableContext
;
const
useCategory
=
useCategoryData
();
const
treeData
=
useCategory
.
data
;
// 行业类别-数据
//推送国家库
const
handleTsgjk
=
()
=>
{
if
(
selectedRows
.
value
.
length
==
0
)
{
createMessage
.
info
(
'请选择需要处理的内容,每次只能选中一条'
);
return
;
}
pushWrdk
({
wrdkbm
:
selectedRows
.
value
[
0
].
wrdkbm
,
pushNode
:
'2'
}).
then
(()
=>
{
reload
()
})
}
</
script
>
src/views/directory/tbgj/Manage.vue
浏览文件 @
c9706db1
<
template
>
<BasicTable
@
register=
"registerTable"
>
<BasicTable
@
register=
"registerTable"
:rowSelection=
"rowSelection"
>
<template
#
form-category=
"
{ model, field }">
<a-tree-select
v-model:value=
"model[field]"
...
...
@@ -18,6 +18,7 @@
</template>
<
template
#
tableTitle
>
<a-button
type=
"primary"
preIcon=
"ant-design:export-outlined"
v-auth=
"'tbgj-dc'"
@
click=
"onExportXls"
>
导出
</a-button>
<a-button
type=
"primary"
preIcon=
"ant-design:export-outlined"
v-auth=
"'tbgj-tsgjk'"
@
click=
"handleTsgjk"
>
推送国家库
</a-button>
</
template
>
</BasicTable>
</template>
...
...
@@ -26,7 +27,10 @@
import
{
useListPage
}
from
'/@/hooks/system/useListPage'
;
import
{
Columns
,
searchFormSchema
,
useCategoryData
}
from
'./data'
;
import
{
sbhqgl
,
sbhqglExcel
}
from
'./api'
;
import
{
sbhqgl
,
sbhqglExcel
,
pushWrdk
}
from
'./api'
;
import
{
useMessage
}
from
'/@/hooks/web/useMessage'
;
const
{
createMessage
}
=
useMessage
();
const
{
tableContext
,
onExportXls
}
=
useListPage
({
tableProps
:
{
...
...
@@ -61,7 +65,18 @@
url
:
sbhqglExcel
,
},
});
const
[
registerTable
,
{
},
{
}]
=
tableContext
;
const
[
registerTable
,
{
reload
},
{
rowSelection
,
selectedRows
,
selectedRowKeys
}]
=
tableContext
;
const
useCategory
=
useCategoryData
();
const
treeData
=
useCategory
.
data
;
// 行业类别-数据
//推送国家库
const
handleTsgjk
=
()
=>
{
if
(
selectedRows
.
value
.
length
==
0
)
{
createMessage
.
info
(
'请选择需要处理的内容,每次只能选中一条'
);
return
;
}
pushWrdk
({
wrdkbm
:
selectedRows
.
value
[
0
].
wrdkbm
,
pushNode
:
'6'
}).
then
(()
=>
{
reload
()
})
}
</
script
>
src/views/directory/tbgj/Remove.vue
浏览文件 @
c9706db1
<
template
>
<BasicTable
@
register=
"registerTable"
>
<BasicTable
@
register=
"registerTable"
:rowSelection=
"rowSelection"
>
<template
#
form-category=
"
{ model, field }">
<a-tree-select
v-model:value=
"model[field]"
...
...
@@ -18,6 +18,7 @@
</template>
<
template
#
tableTitle
>
<a-button
type=
"primary"
preIcon=
"ant-design:export-outlined"
v-auth=
"'tbgj-dc'"
@
click=
"onExportXls"
>
导出
</a-button>
<a-button
type=
"primary"
preIcon=
"ant-design:export-outlined"
v-auth=
"'tbgj-tsgjk'"
@
click=
"handleTsgjk"
>
推送国家库
</a-button>
</
template
>
</BasicTable>
</template>
...
...
@@ -26,7 +27,10 @@
import
{
useListPage
}
from
'/@/hooks/system/useListPage'
;
import
{
Columns
,
searchFormSchema
,
useCategoryData
}
from
'./data'
;
import
{
sbfxgkyxfycml
,
sbfxgkyxfycmlExcel
}
from
'./api'
;
import
{
sbfxgkyxfycml
,
sbfxgkyxfycmlExcel
,
pushWrdk
}
from
'./api'
;
import
{
useMessage
}
from
'/@/hooks/web/useMessage'
;
const
{
createMessage
}
=
useMessage
();
const
{
tableContext
,
onExportXls
}
=
useListPage
({
tableProps
:
{
...
...
@@ -61,7 +65,18 @@
url
:
sbfxgkyxfycmlExcel
,
},
});
const
[
registerTable
,
{
},
{
}]
=
tableContext
;
const
[
registerTable
,
{
reload
},
{
rowSelection
,
selectedRows
,
selectedRowKeys
}]
=
tableContext
;
const
useCategory
=
useCategoryData
();
const
treeData
=
useCategory
.
data
;
// 行业类别-数据
//推送国家库
const
handleTsgjk
=
()
=>
{
if
(
selectedRows
.
value
.
length
==
0
)
{
createMessage
.
info
(
'请选择需要处理的内容,每次只能选中一条'
);
return
;
}
pushWrdk
({
wrdkbm
:
selectedRows
.
value
[
0
].
wrdkbm
,
pushNode
:
'5'
}).
then
(()
=>
{
reload
()
})
}
</
script
>
src/views/directory/tbgj/Repair.vue
浏览文件 @
c9706db1
<
template
>
<BasicTable
@
register=
"registerTable"
>
<BasicTable
@
register=
"registerTable"
:rowSelection=
"rowSelection"
>
<template
#
form-category=
"
{ model, field }">
<a-tree-select
v-model:value=
"model[field]"
...
...
@@ -18,6 +18,7 @@
</template>
<
template
#
tableTitle
>
<a-button
type=
"primary"
preIcon=
"ant-design:export-outlined"
v-auth=
"'tbgj-dc'"
@
click=
"onExportXls"
>
导出
</a-button>
<a-button
type=
"primary"
preIcon=
"ant-design:export-outlined"
v-auth=
"'tbgj-tsgjk'"
@
click=
"handleTsgjk"
>
推送国家库
</a-button>
</
template
>
</BasicTable>
</template>
...
...
@@ -26,7 +27,10 @@
import
{
useListPage
}
from
'/@/hooks/system/useListPage'
;
import
{
Columns
,
searchFormSchema
,
useCategoryData
}
from
'./data'
;
import
{
sbfxgkyxfml
,
sbfxgkyxfmlExcel
}
from
'./api'
;
import
{
sbfxgkyxfml
,
sbfxgkyxfmlExcel
,
pushWrdk
}
from
'./api'
;
import
{
useMessage
}
from
'/@/hooks/web/useMessage'
;
const
{
createMessage
}
=
useMessage
();
const
{
tableContext
,
onExportXls
}
=
useListPage
({
tableProps
:
{
...
...
@@ -61,7 +65,18 @@
url
:
sbfxgkyxfmlExcel
,
},
});
const
[
registerTable
,
{
},
{
}]
=
tableContext
;
const
[
registerTable
,
{
reload
},
{
rowSelection
,
selectedRows
,
selectedRowKeys
}]
=
tableContext
;
const
useCategory
=
useCategoryData
();
const
treeData
=
useCategory
.
data
;
// 行业类别-数据
//推送国家库
const
handleTsgjk
=
()
=>
{
if
(
selectedRows
.
value
.
length
==
0
)
{
createMessage
.
info
(
'请选择需要处理的内容,每次只能选中一条'
);
return
;
}
pushWrdk
({
wrdkbm
:
selectedRows
.
value
[
0
].
wrdkbm
,
pushNode
:
'4'
}).
then
(()
=>
{
reload
()
})
}
</
script
>
src/views/directory/tbgj/api.ts
浏览文件 @
c9706db1
...
...
@@ -8,6 +8,10 @@ export const sbcjml = (params) => {
export
const
yrzbsb
=
(
params
)
=>
{
return
defHttp
.
get
({
url
:
`/tbgjk/zbsbZtbg`
,
params
});
}
//推送国家库
export
const
pushWrdk
=
(
params
)
=>
{
return
defHttp
.
get
({
url
:
`/report/pushWrdk`
,
params
});
}
//上报创建名录
export
const
zbsbqd
=
(
params
)
=>
{
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论