Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sgaqgl-vue
Project
Project
Details
Activity
Releases
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
李苏
sgaqgl-vue
Commits
7715649c
Commit
7715649c
authored
Jan 12, 2023
by
黄自鹏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整
parent
9bff3ea6
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
158 additions
and
79 deletions
+158
-79
queryPerformanceReport.js
src/api/daily/queryPerformanceReport.js
+80
-0
index.js
src/router/index.js
+13
-0
edit.vue
src/views/daily/maintenanceDuty/edit.vue
+9
-0
index.vue
src/views/daily/maintenanceDuty/index.vue
+1
-0
edit.vue
src/views/daily/performanceReportSet/edit.vue
+1
-0
selecter.vue
src/views/daily/performanceReportSet/selecter.vue
+1
-0
index.vue
src/views/daily/queryPerformanceReport/index.vue
+53
-79
No files found.
src/api/daily/queryPerformanceReport.js
0 → 100644
View file @
7715649c
import
request
from
'common/src/utils/request'
/* 查询 */
export
function
doQuery
(
query
)
{
return
request
({
url
:
'/aqgl/rcgl/lzbg/queryPerformanceReport'
,
method
:
'post'
,
data
:
query
||
{}
})
}
/* 更新 */
/*export function doUpdate(query) {
return request({
url: '/aqgl/rcgl/lzrw/update',
method: 'post',
data: query||{}
})
}*/
/**
* 查询履职明细
* in:mid
* @param query
*/
/*
export function doQueryDtl(query) {
return request({
url: 'aqgl/rcgl/lzbg/query',
method: 'post',
data: query||{}
})
}
export function doUpdateDtl(query) {
return request({
url: 'aqgl/rcgl/lzbg/update',
method: 'post',
data: query||{}
})
}
export function doDeleteDtl(query) {
return request({
url: 'aqgl/rcgl/lzbg/delete',
method: 'post',
data: query||{}
})
}
export function doAddDtl(query) {
return request({
url: 'aqgl/rcgl/lzbg/add',
method: 'post',
data: query||{}
})
}
export function lzwc(query) {
return request({
url: 'aqgl/rcgl/lzrw/lzwc',
method: 'post',
data: query||{}
})
}
export function qxwc(query) {
return request({
url: 'aqgl/rcgl/lzrw/qxwc',
method: 'post',
data: query||{}
})
}
*/
export
function
doInitZt
(
query
)
{
return
request
({
url
:
'/qgl/rcgl/lzbg/init/zt'
,
method
:
'post'
,
data
:
query
||
{}
})
}
src/router/index.js
View file @
7715649c
...
@@ -752,6 +752,19 @@ export const powerRoutes=[
...
@@ -752,6 +752,19 @@ export const powerRoutes=[
name
:
'performanceReportSet'
,
name
:
'performanceReportSet'
,
path
:
"performanceReportSet"
path
:
"performanceReportSet"
},
},
{
component
:
'daily/queryPerformanceReport/index'
,
hidden
:
false
,
meta
:{
"title"
:
"履职记录查询"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
905200600
,
},
name
:
'queryPerformanceReport'
,
path
:
"queryPerformanceReport"
},
]
]
...
...
src/views/daily/maintenanceDuty/edit.vue
View file @
7715649c
...
@@ -9,6 +9,13 @@
...
@@ -9,6 +9,13 @@
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"24"
>
<el-form-item
label=
"频次"
ref=
"pc"
prop=
"pc"
>
<RelSelect
style=
"width: 100%;"
src=
'/aqgl/rcgl/lzbg/init/pc'
:match=
"
{value:'id',label:'name'}" v-model='form.pc' >
</RelSelect>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"24"
>
<el-col
:span=
"24"
>
<el-form-item
label=
"分类"
ref=
"flid"
prop=
"flid"
>
<el-form-item
label=
"分类"
ref=
"flid"
prop=
"flid"
>
...
@@ -71,6 +78,7 @@
...
@@ -71,6 +78,7 @@
content
:
''
,
content
:
''
,
//维护人编码
//维护人编码
whrid
:
''
,
whrid
:
''
,
pc
:
''
,
//维护人
//维护人
whr
:
''
,
whr
:
''
,
//维护时间
//维护时间
...
@@ -83,6 +91,7 @@
...
@@ -83,6 +91,7 @@
cjsj
:
new
Date
().
getTime
(),
cjsj
:
new
Date
().
getTime
(),
//系统版本
//系统版本
sysversion
:
''
,
sysversion
:
''
,
},
},
/* form提交时的规则,具体规则参考官网*/
/* form提交时的规则,具体规则参考官网*/
rules
:
{
rules
:
{
...
...
src/views/daily/maintenanceDuty/index.vue
View file @
7715649c
...
@@ -91,6 +91,7 @@
...
@@ -91,6 +91,7 @@
{
label
:
"分类"
,
prop
:
"flName"
,
fieldType
:
"ftString"
,
width
:
200
},
{
label
:
"分类"
,
prop
:
"flName"
,
fieldType
:
"ftString"
,
width
:
200
},
{
label
:
"岗位"
,
prop
:
"scgwName"
,
fieldType
:
"ftString"
,
width
:
100
},
{
label
:
"岗位"
,
prop
:
"scgwName"
,
fieldType
:
"ftString"
,
width
:
100
},
{
label
:
"履职内容"
,
prop
:
"content"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"履职内容"
,
prop
:
"content"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"频次"
,
prop
:
"rwlxName"
,
fieldType
:
"ftString"
,
width
:
200
},
{
label
:
"维护人"
,
prop
:
"whr"
,
fieldType
:
"ftString"
,
width
:
100
},
{
label
:
"维护人"
,
prop
:
"whr"
,
fieldType
:
"ftString"
,
width
:
100
},
{
label
:
"维护时间"
,
prop
:
"whsj"
,
fieldType
:
"ftDateTime"
}
{
label
:
"维护时间"
,
prop
:
"whsj"
,
fieldType
:
"ftDateTime"
}
]
]
...
...
src/views/daily/performanceReportSet/edit.vue
View file @
7715649c
...
@@ -196,6 +196,7 @@
...
@@ -196,6 +196,7 @@
{
label
:
"分类"
,
prop
:
"flName"
,
fieldType
:
"ftString"
,
width
:
200
},
{
label
:
"分类"
,
prop
:
"flName"
,
fieldType
:
"ftString"
,
width
:
200
},
{
label
:
"岗位"
,
prop
:
"scgwName"
,
fieldType
:
"ftString"
,
width
:
180
},
{
label
:
"岗位"
,
prop
:
"scgwName"
,
fieldType
:
"ftString"
,
width
:
180
},
{
label
:
"履职内容"
,
prop
:
"content"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"履职内容"
,
prop
:
"content"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"频次"
,
prop
:
"rwlxName"
,
fieldType
:
"ftString"
,
width
:
200
},
{
label
:
"维护人"
,
prop
:
"whr"
,
fieldType
:
"ftString"
,
width
:
100
},
{
label
:
"维护人"
,
prop
:
"whr"
,
fieldType
:
"ftString"
,
width
:
100
},
{
label
:
"维护时间"
,
prop
:
"whsj"
,
fieldType
:
"ftDateTime"
}
{
label
:
"维护时间"
,
prop
:
"whsj"
,
fieldType
:
"ftDateTime"
}
]
]
...
...
src/views/daily/performanceReportSet/selecter.vue
View file @
7715649c
...
@@ -105,6 +105,7 @@
...
@@ -105,6 +105,7 @@
// info: ''
// info: ''
},
},
tableTitle
:
[
tableTitle
:
[
{
label
:
"频次"
,
prop
:
"rwlxName"
,
fieldType
:
"ftString"
,
width
:
200
},
{
label
:
"公司"
,
prop
:
"gsName"
,
fieldType
:
"ftString"
,
width
:
150
},
{
label
:
"公司"
,
prop
:
"gsName"
,
fieldType
:
"ftString"
,
width
:
150
},
{
label
:
"分类"
,
prop
:
"flName"
,
fieldType
:
"ftString"
,
width
:
200
},
{
label
:
"分类"
,
prop
:
"flName"
,
fieldType
:
"ftString"
,
width
:
200
},
{
label
:
"岗位"
,
prop
:
"scgwName"
,
fieldType
:
"ftString"
,
width
:
180
},
{
label
:
"岗位"
,
prop
:
"scgwName"
,
fieldType
:
"ftString"
,
width
:
180
},
...
...
src/views/daily/queryPerformanceReport/index.vue
View file @
7715649c
...
@@ -7,26 +7,32 @@
...
@@ -7,26 +7,32 @@
<el-row
:gutter=
"20"
class=
"search-row-1"
>
<el-row
:gutter=
"20"
class=
"search-row-1"
>
<el-col
:span=
"6"
class=
"search-col"
>
<el-col
:span=
"6"
class=
"search-col"
>
<div
class=
"search-item"
>
<div
class=
"search-item"
>
<span
class=
"search-span"
>
人员
:
</span>
<span
class=
"search-span"
>
人员信息
:
</span>
<el-select></el-selec
t>
<el-input
v-model=
'queryParams.ryxx'
></el-inpu
t>
</div>
</div>
</el-col>
</el-col>
<el-col
:span=
"6"
class=
"search-col"
>
<el-col
:span=
"6"
class=
"search-col"
>
<div
class=
"search-item"
>
<div
class=
"search-item"
>
<span
class=
"search-span"
>
开始日期:
</span>
<span
class=
"search-span"
>
开始日期:
</span>
<el-date-picker></el-date-picker>
<el-date-picker
value-format=
"timestamp"
v-model=
'queryParams.ksrq'
></el-date-picker>
</div>
</div>
</el-col>
</el-col>
<el-col
:span=
"6"
class=
"search-col"
>
<el-col
:span=
"6"
class=
"search-col"
>
<div
class=
"search-item"
>
<div
class=
"search-item"
>
<span
class=
"search-span"
>
结束日期:
</span>
<span
class=
"search-span"
>
结束日期:
</span>
<el-date-picker></el-date-picker>
<el-date-picker
value-format=
"timestamp"
v-model=
'queryParams.jsrq'
></el-date-picker>
</div>
</el-col>
<el-col
:span=
"6"
class=
"search-col"
>
<div
class=
"search-item"
>
<span
class=
"search-span"
>
公司:
</span>
<RelSelect
style=
"width: 100%;"
src=
'jcsj/common/bm/queryGs'
filterable
clearable
:match=
"
{value:'id',label:'bmmc'}" v-model='queryParams.gsid' >
</RelSelect>
</div>
</div>
</el-col>
</el-col>
<el-col
:span=
"6"
class=
"search-col"
>
<el-col
:span=
"6"
class=
"search-col"
>
<div
class=
"search-item"
>
<div
class=
"search-item"
>
<span
class=
"search-span"
>
状态:
</span>
<span
class=
"search-span"
>
状态:
</span>
<
el-select></el-s
elect>
<
RelSelect
src=
'aqgl/rcgl/lzbg/init/zt'
clearable
:match=
"
{value:'id',label:'name'}" v-model='queryParams.zt'>
</RelS
elect>
</div>
</div>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -34,13 +40,13 @@
...
@@ -34,13 +40,13 @@
<!-- 按钮操作-->
<!-- 按钮操作-->
<el-row
class=
"tool-bar"
>
<el-row
class=
"tool-bar"
>
<PrintButton
:app=
'app'
></PrintButton>
<PrintButton
:app=
'app'
></PrintButton>
<ViewButton
ref=
"view"
:app=
'app'
></ViewButton
>
<!--
<ViewButton
ref=
"view"
:app=
'app'
></ViewButton>
--
>
<AddButton
ref=
"add"
:app=
'app'
></AddButton>
<
!--
<
AddButton
ref=
"add"
:app=
'app'
></AddButton>
<CopyButton
ref=
"copy"
:app=
'app'
></CopyButton>
<CopyButton
ref=
"copy"
:app=
'app'
></CopyButton>
<EditButton
ref=
"edit"
:app=
'app'
></EditButton>
<EditButton
ref=
"edit"
:app=
'app'
></EditButton>
<AttachFile
Button
:app=
'app'
></AttachFileButton
>
<AttachFile
Show
:delButton=
'false'
:addButton=
'false'
:app=
'app'
></AttachFileShow
>
<FieldButton
:app=
'app'
></FieldButton>
<FieldButton
:app=
'app'
></FieldButton>
<ExcelButton
:app=
'app'
></ExcelButton>
<ExcelButton
:app=
'app'
></ExcelButton>
-->
<!-- 额外按钮-->
<!-- 额外按钮-->
<!-- 表头设置 -->
<!-- 表头设置 -->
...
@@ -49,8 +55,8 @@
...
@@ -49,8 +55,8 @@
<!-- 表格-->
<!-- 表格-->
<div
class=
"tablePagers"
>
<div
class=
"tablePagers"
>
<TablePager
@
getData=
'getData'
:ref=
"'TablePager'"
:app=
'app'
:query=
'query'
@
selectItem=
'selectItem'
<TablePager
@
getData=
'getData'
:ref=
"'TablePager'"
:app=
'app'
:query=
'query'
@
selectItem=
'selectItem'
@
getRow=
'getRow'
>
@
getRow=
'getRow'
:del-button=
"false"
>
<template
slot=
"tabCustom"
>
<
!--
<
template
slot=
"tabCustom"
>
<el-table-column
label=
"启用/停用"
width=
"90"
header-align=
"center"
>
<el-table-column
label=
"启用/停用"
width=
"90"
header-align=
"center"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<el-switch
@
click
.
native=
"setEnable(scope.row.id)"
:value=
'tybz(scope)'
style=
"width: 80px;justify-content: center;"
<el-switch
@
click
.
native=
"setEnable(scope.row.id)"
:value=
'tybz(scope)'
style=
"width: 80px;justify-content: center;"
...
@@ -58,7 +64,7 @@
...
@@ -58,7 +64,7 @@
</el-switch>
</el-switch>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</template>
</template>
-->
</TablePager>
</TablePager>
</div>
</div>
...
@@ -68,15 +74,10 @@
...
@@ -68,15 +74,10 @@
<
script
>
<
script
>
/* 引入需要的接口*/
/* 引入需要的接口*/
import
{
import
{
QueryKzzxRole
,
doQuery
QueryApptype
,
}
from
"/src/api/daily/queryPerformanceReport.js"
;
AddKzzxRole
,
DeleteKzzxRole
,
UpdateKzzxRole
,
QtKzzxRole
}
from
"common/src/api/system/dmgSystem.js"
;
/* edit页面*/
/* edit页面*/
import
Edit
from
'./edit'
/*import Edit from './edit'*/
import
{
import
{
tableMixin
tableMixin
}
from
'common'
}
from
'common'
...
@@ -97,77 +98,51 @@
...
@@ -97,77 +98,51 @@
type
:
''
,
type
:
''
,
DialogTitle
:
''
,
DialogTitle
:
''
,
/* 基础url*/
/* 基础url*/
baseUrl
:
'
kzzx/role
'
,
baseUrl
:
'
/aqgl/rcgl/lzbg
'
,
/* 查询参数*/
/* 查询参数*/
queryParams
:
{
queryParams
:
{
ksrq
:
''
,
ksrq
:
new
Date
().
getTime
()
-
1000
*
60
*
60
*
24
*
30
,
jsrq
:
''
jsrq
:
new
Date
().
getTime
(),
gsid
:
''
,
zt
:
''
,
ryxx
:
''
},
},
/* 表格标题对应参数*/
/* 表格标题对应参数*/
tableTitle
:
[
tableTitle
:
[
{
{
label
:
"履职分类"
,
prop
:
"flName"
,
fieldType
:
"ftString"
,
width
:
192
},
prop
:
'whsj'
,
{
label
:
"履职内容"
,
prop
:
"content"
,
fieldType
:
"ftString"
,
width
:
300
},
label
:
'分类'
,
{
label
:
"履职人员"
,
prop
:
"ryName"
,
fieldType
:
"ftString"
,
width
:
192
},
...
this
.
$common
(
'ftDateTime'
)
{
label
:
"履职日期"
,
prop
:
"lzrq"
,
fieldType
:
"ftDateTime"
},
},
{
label
:
"履职信息"
,
prop
:
"lzxx"
,
fieldType
:
"ftString"
},
{
{
label
:
"单据来源"
,
prop
:
"lyName"
,
fieldType
:
"ftString"
,
width
:
148
},
prop
:
'whsj'
,
{
label
:
"公司"
,
prop
:
"gsName"
,
fieldType
:
"ftString"
,
width
:
148
},
label
:
'履职标准'
,
{
label
:
"状态"
,
prop
:
"ztName"
,
fieldType
:
"ftString"
,
width
:
80
},
...
this
.
$common
(
'ftDateTime'
)
{
label
:
"备注"
,
prop
:
"bz"
,
fieldType
:
"ftString"
},
},
{
label
:
"维护人"
,
prop
:
"whr"
,
fieldType
:
"ftString"
},
{
{
label
:
"维护时间"
,
prop
:
"whsj"
,
fieldType
:
"ftDateTime"
},
prop
:
'whsj'
,
label
:
'履职内容'
,
...
this
.
$common
(
'ftDateTime'
)
},
{
prop
:
'whsj'
,
label
:
'人员'
,
...
this
.
$common
(
'ftDateTime'
)
},
{
prop
:
'whsj'
,
label
:
'推送时间'
,
...
this
.
$common
(
'ftDateTime'
)
},
{
prop
:
'whsj'
,
label
:
'生成方式'
,
...
this
.
$common
(
'ftDateTime'
)
},
{
prop
:
'whsj'
,
label
:
'状态'
,
...
this
.
$common
(
'ftDateTime'
)
},
{
prop
:
'whsj'
,
label
:
'完成时间'
,
...
this
.
$common
(
'ftDateTime'
)
}
]
]
}
}
},
},
methods
:
{
methods
:
{
tybz
(
a
)
{
/*
tybz(a) {
let nTy = false
let nTy = false
nTy = (a.row.tybz == 'N' ? true : false)
nTy = (a.row.tybz == 'N' ? true : false)
return nTy
return nTy
},
},
*/
/* 基础查询*/
/* 基础查询*/
query
:
QueryKzzxRole
,
query
:
doQuery
,
/* 基础增*/
/* 基础增*/
apiAdd
:
AddKzzxRole
,
/*
apiAdd: AddKzzxRole,
/
* 基础更新*
/
/
!* 基础更新*!
/
apiUpdate: UpdateKzzxRole,
apiUpdate: UpdateKzzxRole,
/
* 删除操作*
/
/
!* 删除操作*!
/
apiDelete
:
DeleteKzzxRole
,
apiDelete: DeleteKzzxRole,
*/
/* 初始化赋值操作*/
/* 初始化赋值操作*/
init
()
{
init
()
{
},
},
/* 启用停用*/
/* 启用停用*/
setEnable
(
id
)
{
/*
setEnable(id) {
this.$confirm('是否启用/停用该角色, 是否继续?', '提示', {
this.$confirm('是否启用/停用该角色, 是否继续?', '提示', {
confirmButtonText: '确定',
confirmButtonText: '确定',
cancelButtonText: '取消',
cancelButtonText: '取消',
...
@@ -186,18 +161,17 @@
...
@@ -186,18 +161,17 @@
})
})
})
})
}
}
*/
},
},
components
:
{
components
:
{
Edit
,
/*Edit,*/
}
}
,
}
}
</
script
>
</
script
>
<
style
scoped
>
<
style
scoped
>
</
style
>
</
style
>
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