Commit 7715649c authored by 黄自鹏's avatar 黄自鹏

调整

parent 9bff3ea6
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||{}
})
}
...@@ -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"
},
] ]
......
...@@ -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: {
......
...@@ -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"}
] ]
......
...@@ -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"}
] ]
......
...@@ -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},
......
...@@ -5,28 +5,34 @@ ...@@ -5,28 +5,34 @@
<div class="search" v-condition> <div class="search" v-condition>
<SearchButton :app='app'></SearchButton> <SearchButton :app='app'></SearchButton>
<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-select> <el-input v-model='queryParams.ryxx' ></el-input>
</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> </div>
</el-col> </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>
</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-select> <RelSelect src='aqgl/rcgl/lzbg/init/zt' clearable :match="{value:'id',label:'name'}" v-model='queryParams.zt'></RelSelect>
</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>
<AttachFileButton :app='app' ></AttachFileButton> <AttachFileShow :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>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment