Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
Z
zhongtai-ui
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
chenweiping
zhongtai-ui
Commits
8dffa6de
提交
8dffa6de
authored
9月 30, 2021
作者:
林国禄
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
更新调查列表
上级
3de312ae
显示空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
61 行增加
和
12 行删除
+61
-12
index.vue
src/views/backstage/dataReport/index.vue
+1
-1
index.vue
src/views/backstage/item/index.vue
+6
-1
index.vue
src/views/backstage/job/index.vue
+53
-10
index.vue
src/views/backstage/point/index.vue
+1
-0
没有找到文件。
src/views/backstage/dataReport/index.vue
浏览文件 @
8dffa6de
...
...
@@ -60,7 +60,7 @@
methods
:{
handleChange
(){},
handleExport
()
{
console
.
log
(
this
.
levelValue
)
//
console.log(this.levelValue)
this
.
$confirm
(
'是否确认导出所选项目数据项?'
,
"警告"
,
{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
...
...
src/views/backstage/item/index.vue
浏览文件 @
8dffa6de
...
...
@@ -75,6 +75,7 @@
<el-table
v-if=
"tableOpen"
:data=
"itemList"
style=
"width: 100%"
row-key=
"id"
...
...
@@ -172,6 +173,7 @@ export default {
//
// }
// },
tableOpen
:
true
,
cascaderKey
:
1
,
levelOptions
:
[],
// 不可重复提交
...
...
@@ -342,10 +344,13 @@ export default {
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
()
{
}).
then
(()
=>
{
this
.
tableOpen
=
false
;
return
delItem
(
ids
);
}).
then
(()
=>
{
this
.
itemList
=
[];
this
.
getList
();
this
.
tableOpen
=
true
;
this
.
msgSuccess
(
"删除成功"
);
})
},
...
...
src/views/backstage/job/index.vue
浏览文件 @
8dffa6de
...
...
@@ -295,16 +295,43 @@
</div>
</el-dialog>
<!-- 导出对话框 -->
<el-dialog
:title=
"title"
:visible
.
sync=
"exportOpen"
width=
"600px"
append-to-body
>
<div>
<!-- <span>选择项目主题</span>-->
<span>
<el-cascader
style=
"width: 100%"
key=
"id"
v-model=
"exportLevelValue"
:options=
"exportLevelOptions"
:props=
"{ expandTrigger: 'hover' }"
clearable
></el-cascader>
</span>
</div>
<div
slot=
"footer"
class=
"dialog-footer"
>
<el-button
type=
"primary"
@
click=
"exportSubmit"
:disabled=
"repeatSubmit"
>
确 定
</el-button>
<el-button
@
click=
"exportOpen = false"
>
取 消
</el-button>
</div>
</el-dialog>
</div>
</template>
<
script
>
import
{
selectCheckTarget
,
getCheckTarget
,
selectRectifyTarget
,
getRectifyTarget
,
distributeRectificationJob
,
rollbackJob
,
auditJob
,
getList
,
listJob
,
getJob
,
delJob
,
addJob
,
updateJob
,
exportJob
}
from
"@/api/backstage/job"
;
import
{
exportAllProject
,
getProjectList
}
from
"@/api/backstage/dataReport"
;
export
default
{
name
:
"Job"
,
data
()
{
return
{
exportLevelValue
:[],
exportLevelOptions
:[],
exportOpen
:
false
,
rectifyTargetValueOptions
:[],
checkTargetValueOptions
:[],
rectifyTargetOpen
:
false
,
...
...
@@ -532,16 +559,32 @@ export default {
},
/** 导出按钮操作 */
handleExport
()
{
const
queryParams
=
this
.
queryParams
;
this
.
$confirm
(
'是否确认导出所有整改任务数据项?'
,
"警告"
,
{
this
.
exportLevelValue
=
null
;
getProjectList
().
then
(
res
=>
{
this
.
exportLevelOptions
=
res
.
data
;
this
.
title
=
'选择项目主题'
;
this
.
exportOpen
=
true
;
})
},
//提交导出
exportSubmit
(){
if
(
this
.
exportLevelValue
==
null
){
this
.
$message
.
error
(
"请先选择导出的项目主题"
);
return
;
}
this
.
$confirm
(
'是否确认导出所选项目数据项?'
,
"警告"
,
{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
()
{
return
exportJob
(
queryParams
);
}).
then
(()
=>
{
return
exportAllProject
(
this
.
exportLevelValue
);
}).
then
(
response
=>
{
this
.
download
(
response
.
msg
);
})
},
//审核初次调查任务(复查任务不需要审核)
handleAudit
(
row
){
...
...
src/views/backstage/point/index.vue
浏览文件 @
8dffa6de
...
...
@@ -546,6 +546,7 @@ export default {
}).
then
(
function
()
{
return
delPoint
(
ids
);
}).
then
(()
=>
{
this
.
pointList
=
[];
//刷新
this
.
getList
();
this
.
msgSuccess
(
"删除成功"
);
})
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论