Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
founder_vue
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
常超
founder_vue
Commits
f49082e3
Commit
f49082e3
authored
Nov 20, 2021
by
gao_yingdong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
用户组用户, 工作数
parent
9e5cb431
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
234 additions
and
2 deletions
+234
-2
src/api/yhz/yhz.js
+4
-0
src/components/ptCxForm_components.vue
+11
-0
src/views/yhz/yhzYh/yhzyh.vue
+219
-2
No files found.
src/api/yhz/yhz.js
View file @
f49082e3
...
...
@@ -23,3 +23,7 @@ export const getYhzYh = params =>
export
const
jsYhzYq
=
params
=>
post
(
`
${
base
.
alyIP
}
/yhz/jsYhzYq`
,
params
);
// 已完成 , 正在承担工作数
export
const
getYhCdrw
=
params
=>
post
(
`
${
base
.
alyIP
}
/yhz/getYhCdrw`
,
params
);
src/components/ptCxForm_components.vue
View file @
f49082e3
...
...
@@ -656,6 +656,14 @@
v-html=
"scope.row[columnTitle.prop]"
></span>
</div>
<div
v-else-if=
"columnTitle.toIn"
>
<span
@
click=
"toIn(scope.row)"
class=
"edit"
style=
"margin-right: 16px"
v-html=
"scope.row[columnTitle.prop]"
></span>
</div>
<div
v-else-if=
"
columnTitle.prop == 'zpbw' && columnTitle.type == 'select'
...
...
@@ -1860,6 +1868,9 @@ export default {
toInfor
(
data
)
{
this
.
$emit
(
"toInfor"
,
data
);
},
toIn
(
data
)
{
this
.
$emit
(
"toIn"
,
data
);
},
toCY
(
data
)
{
this
.
$emit
(
"toCY"
,
data
);
},
...
...
src/views/yhz/yhzYh/yhzyh.vue
View file @
f49082e3
...
...
@@ -8,15 +8,147 @@
:cxDefaultFormThead=
"cxDefaultFormThead"
:cxUrl=
"cxUrl"
@
dele=
"dele"
@
toInfor=
"toInfor"
@
toIn=
"toIn"
ref=
"rightContent"
></right-content>
<el-dialog
title=
"已完成工作数"
:visible
.
sync=
"dialogTableVisible1"
>
<div>
<el-table
ref=
"multipleTable"
:data=
"gridData1"
v-loading=
"tableLoading1"
element-loading-text=
"拼命加载中"
center
style=
"width: 100%"
>
<el-table-column
property=
"xxzjbh"
label=
"信息主键编号"
width=
"300"
></el-table-column>
<el-table-column
property=
"yprwfldmStr"
label=
"研判任务分类"
width=
"200"
></el-table-column>
<el-table-column
property=
"dqgzJyqk"
label=
"当前工作简要情况"
width=
"200"
></el-table-column>
<el-table-column
property=
"gzyqJyqk"
label=
"工作要求简要情况"
width=
"200"
></el-table-column>
<el-table-column
property=
"gzmbJyqk"
label=
"工作目标简要情况"
width=
"200"
></el-table-column>
<el-table-column
property=
"gzsx"
label=
"工作期限"
width=
"200"
></el-table-column>
<el-table-column
property=
"jzrq"
label=
"截止日期"
width=
"200"
></el-table-column>
<el-table-column
property=
"bjsj"
label=
"办结时间"
width=
"200"
></el-table-column>
<el-table-column
property=
"bjJyqk"
label=
"办结简要情况"
width=
"200"
></el-table-column>
</el-table>
<!--分页-->
<el-pagination
background
@
size-change=
"handleSizeChange1"
@
current-change=
"handleCurrentChange1"
:current-page
.
sync=
"currentPage11"
:page-sizes=
"[5, 10, 20, 50]"
:page-size=
"page_size1"
layout=
"sizes,prev, pager, next"
:total=
"tableDataLength1"
>
</el-pagination>
</div>
</el-dialog>
<el-dialog
title=
"正在承担工作数"
:visible
.
sync=
"dialogTableVisible"
>
<div>
<el-table
ref=
"multipleTable"
:data=
"gridData"
v-loading=
"tableLoading"
element-loading-text=
"拼命加载中"
center
style=
"width: 100%"
>
<el-table-column
property=
"xxzjbh"
label=
"信息主键编号"
width=
"300"
></el-table-column>
<el-table-column
property=
"yprwfldmStr"
label=
"研判任务分类"
width=
"200"
></el-table-column>
<el-table-column
property=
"dqgzJyqk"
label=
"当前工作简要情况"
width=
"200"
></el-table-column>
<el-table-column
property=
"gzyqJyqk"
label=
"工作要求简要情况"
width=
"200"
></el-table-column>
<el-table-column
property=
"gzmbJyqk"
label=
"工作目标简要情况"
width=
"200"
></el-table-column>
<el-table-column
property=
"gzsx"
label=
"工作期限"
width=
"200"
></el-table-column>
<el-table-column
property=
"jzrq"
label=
"截止日期"
width=
"200"
></el-table-column>
</el-table>
<!--分页-->
<el-pagination
background
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"currentPage1"
:page-sizes=
"[5, 10, 20, 50]"
:page-size=
"page_size"
layout=
"sizes,prev, pager, next"
:total=
"tableDataLength"
>
</el-pagination>
</div>
</el-dialog>
</div>
</
template
>
<
script
>
import
rightContent
from
"@c/ptCxForm_components.vue"
;
import
SelectTreeDialog
from
"@c/treeCode_components.vue"
;
import
{
deleteYhzYh
}
from
"@/api/yhz/yhz.js"
;
import
{
deleteYhzYh
,
getYhCdrw
}
from
"@/api/yhz/yhz.js"
;
export
default
{
name
:
"myyhz"
,
components
:
{
...
...
@@ -25,6 +157,19 @@ export default {
},
data
()
{
return
{
fzs
:
""
,
dialogTableVisible
:
false
,
dialogTableVisible1
:
false
,
tableLoading
:
true
,
//loading
tableDataLength
:
0
,
//表格总数
currentPage1
:
1
,
//表格页码
page_size
:
5
,
//每页显示多少条
gridData
:
[],
tableLoading1
:
true
,
//loading
tableDataLength1
:
0
,
//表格总数
currentPage11
:
1
,
//表格页码
page_size1
:
5
,
//每页显示多少条
gridData1
:
[],
examineInfo
:
{},
header
:
"用户组用户"
,
//头部标题 (模块第一个页面需要)
pageBs
:
"yhzyh"
,
//页面名称
...
...
@@ -92,10 +237,20 @@ export default {
label
:
"用户角色"
,
prop
:
"yhJbStr"
,
},
{
{
label
:
"用户组组号"
,
prop
:
"yhzZh"
,
},
{
label
:
"已完成工作数"
,
prop
:
"ywcgzs"
,
toInfor
:
true
,
},
{
label
:
"正在承担工作数"
,
prop
:
"zzcdgzs"
,
toIn
:
true
,
},
],
cxUrl
:
"/yhz/getYhzYh"
,
//列表查询接口
Menu
:
[
...
...
@@ -116,6 +271,68 @@ export default {
},
mounted
()
{},
methods
:
{
handleCurrentChange
(
val
)
{
this
.
currentPage1
=
val
;
this
.
getYhCdrwza
();
},
handleSizeChange
(
val
)
{
this
.
page_size
=
val
;
this
.
getYhCdrwza
();
},
handleCurrentChange1
(
val
)
{
this
.
currentPage11
=
val
;
this
.
getYhCdrw
();
},
handleSizeChange1
(
val
)
{
this
.
page_size1
=
val
;
this
.
getYhCdrw
();
},
toInfor
(
scope
)
{
debugger
;
if
(
scope
.
ywcgzs
!=
0
)
{
this
.
dialogTableVisible1
=
true
;
this
.
fzs
=
scope
.
yhSfzh
;
this
.
gridData1
=
[];
this
.
getYhCdrw
();
}
},
getYhCdrw
()
{
this
.
tableLoading1
=
true
;
getYhCdrw
({
zjhm
:
this
.
fzs
,
sfbjPdbz
:
"1"
,
page
:
this
.
currentPage11
,
limit
:
this
.
page_size1
,
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
gridData1
=
res
.
data
.
rows
;
this
.
tableLoading1
=
false
;
}
});
},
getYhCdrwza
()
{
this
.
tableLoading
=
true
;
getYhCdrw
({
zjhm
:
this
.
fzs
,
sfbjPdbz
:
"0"
,
page
:
this
.
currentPage1
,
limit
:
this
.
page_size
,
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
gridData
=
res
.
data
.
rows
;
this
.
tableLoading
=
false
;
}
});
},
toIn
(
scope
)
{
debugger
;
if
(
scope
.
zzcdgzs
!=
0
)
{
this
.
dialogTableVisible
=
true
;
this
.
fzs
=
scope
.
yhSfzh
;
this
.
gridData
=
[];
this
.
getYhCdrwza
();
}
},
// 删除 dele
dele
(
scoped
)
{
this
.
$confirm
(
"此操作将永久删除该文件, 是否继续?"
,
"提示"
,
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment