Commit 063f625a authored by 姬鋆屾's avatar 姬鋆屾

推绩效核查的自评绩效核查信息

parent f7abc40a
...@@ -7,7 +7,177 @@ ...@@ -7,7 +7,177 @@
:destroy-on-close="true" :destroy-on-close="true"
size="50%" size="50%"
> >
<el-form ref="form" :model="form" :rules="rules" label-width="120px"> <div class="content_box">
<div class="text_line">
<div class="text_box">
<span>窗口负责人:</span>
<span>{{ form.ownerName }}</span>
</div>
<div class="text_box">
<span>登记年月:</span>
<span>{{
`${form.year ? form.year : "--"}-${
form.month
? [1, 2, 3, 4, 5, 6, 7, 8, 9].includes(form.month)
? "0" + form.month
: form.month
: "--"
}`
}}</span>
</div>
<div class="text_box">
<span>窗口编号:</span>
<span>{{ form.windowName }}</span>
</div>
</div>
<div class="text_line">
<div class="text_box">
<span>工作总结:</span>
<span>{{ form.workSummary }}</span>
</div>
</div>
<div class="text_line">
<div class="text_box">
<span>加分申报:</span>
<span>{{ form.bonusReport }}</span>
</div>
</div>
<div class="text_line">
<div class="text_box">
<span>加分佐证材料:</span>
<span>{{ form.bonusReport }}</span>
</div>
</div>
<div class="text_line">
<div class="text_box">
<span>扣分情况:</span>
<span>{{ form.deductStatement }}</span>
</div>
</div>
<div class="text_line">
<div class="text_box">
<span>扣分分值:</span>
<span>{{ form.deductScore }}</span>
</div>
</div>
<div class="text_line">
<div class="text_box">
<span>自评得分:</span>
<span style="width: 820px;"
><el-table :data="tableData" border style="width: 100%">
<el-table-column
prop="discipline"
label="工作纪律"
align="center"
>
</el-table-column>
<el-table-column
prop="specification"
label="服务规范"
align="center"
>
</el-table-column>
<el-table-column prop="bonusScore" label="加分" align="center">
</el-table-column>
<el-table-column prop="sumScore" label="合计得分" align="center">
</el-table-column>
<el-table-column prop="selfLevel" label="自评等级" align="center">
</el-table-column>
</el-table>
</span>
</div>
</div>
<div class="text_line">
<div class="text_box">
<span>备注:</span>
<span>{{ form.remark }}</span>
</div>
</div>
<div class="text_line">
<div class="text_box">
<span>附件材料:</span>
<span>{{ form.annex }}</span>
</div>
</div>
<div class="hecha_box">
<div class="hecha_title">
<span class="line"></span>
<span>核查情况</span>
</div>
<div class="hecha_content">
<el-form ref="form" :model="form" :rules="rules" label-width="180px">
<el-row>
<el-form-item label="政务服务管理科评荐意见:" prop="checkResult">
<div
v-if="form.view == '查看'"
style="display: flex; justify-content: space-between;"
>
<span class="left">
{{ form.manageCheckResult }}
</span>
<span class="right">
{{ form.manageCheckPerson }}
{{ functionTime(form.manageCheckTime) }} 核查
</span>
</div>
<el-radio-group v-model="form.manageCheckResult" v-else>
<el-radio
v-for="(val, i) in dict.manageCheckResult"
:key="i"
:label="val"
>{{ val }}</el-radio
>
</el-radio-group>
</el-form-item>
<el-form-item label="管理组核查说明:" prop="manageCheckDesc">
<el-input
v-model="form.manageCheckDesc"
type="textarea"
placeholder="请填写说明"
:disabled="form.view == '查看'"
></el-input>
</el-form-item>
<el-form-item label="领导小组审定意见:" prop="leaderCheckResult">
<div
v-if="form.view == '查看'"
style="display: flex; justify-content: space-between;"
>
<span class="left">
{{ form.leaderCheckResult }}
</span>
<span class="right">
{{ form.leaderCheckPerson }}
{{ functionTime(form.leaderCheckTime) }} 核查
</span>
</div>
<el-radio-group v-model="form.leaderCheckResult" v-else>
<el-radio
v-for="(val, i) in dict.leaderCheckResult"
:key="i"
:label="val"
>{{ val }}</el-radio
>
</el-radio-group>
</el-form-item>
<el-form-item label="领导小组核查说明:" prop="leaderCheckDesc">
<el-input
v-model="form.leaderCheckDesc"
type="textarea"
placeholder="请填写说明"
:disabled="form.view == '查看'"
></el-input>
</el-form-item>
</el-row>
<form-buttons
@submit="submitForm"
v-if="pageInfo.type != 'view'"
noCancelBtn
/>
</el-form>
</div>
</div>
</div>
<!-- <el-form ref="form" :model="form" :rules="rules" label-width="120px">
<el-row> <el-row>
<Field <Field
label="记录ID" label="记录ID"
...@@ -168,12 +338,14 @@ ...@@ -168,12 +338,14 @@
v-if="pageInfo.type != 'view'" v-if="pageInfo.type != 'view'"
noCancelBtn noCancelBtn
/> />
</el-form> </el-form> -->
</el-drawer> </el-drawer>
</template> </template>
<script> <script>
import form from "@/assets/mixins/formdialog"; import form from "@/assets/mixins/formdialog";
import { timestampToTime } from "@/assets/utils/dateFormat.js";
export default { export default {
name: "CheckWindowPerformDetail", name: "CheckWindowPerformDetail",
mixins: [form], mixins: [form],
...@@ -194,18 +366,76 @@ export default { ...@@ -194,18 +366,76 @@ export default {
toDate: ["submitDate", "manageCheckTime", "leaderCheckTime"], toDate: ["submitDate", "manageCheckTime", "leaderCheckTime"],
// 表单校验 // 表单校验
rules: {}, rules: {},
tableData: [],
}; };
}, },
methods: { methods: {
functionTime(val) {
let time = timestampToTime(val, 6);
return time;
},
/** 编辑 */ /** 编辑 */
edit(row) { async edit(row) {
// this.reset();
// this.query = { id: row.id };
this.urls.currUrl = "check/window/perform/save";
// this.getData();
// this.pageInfo.type = "edit";
// this.title = "修改窗口考核核查";
this.form = row;
this.reset(); this.reset();
this.query = { id: row.id }; this.query = { id: row.id };
this.urls.currUrl = "check/window/perform/edit"; await this.$get("/window/perform/info", { id: row.id }).then((res) => {
this.getData(); if (res.code == 1) {
this.form = res.data;
this.dict = res.dict;
} else {
this.form = row;
}
for (let key in this.form) {
key == "fillDate"
? (this.form[key] = timestampToTime(this.form[key], 6))
: key == "createTime"
? (this.form[key] = timestampToTime(this.form[key], 6))
: key == "deductTime"
? (this.form[key] = timestampToTime(this.form[key], 6))
: key == "updateTime"
? (this.form[key] = timestampToTime(this.form[key], 6))
: key == "checkTime"
? (this.form[key] = timestampToTime(this.form[key], 6))
: key == "reviewTime"
? (this.form[key] = timestampToTime(this.form[key], 6))
: "";
}
this.$get("/check/window/perform/info", { id: row.id }).then(
(response) => {
if (response.code == 1) {
this.form = { ...this.form, ...response.data };
this.dict = { ...this.dict, ...response.dict };
}
}
);
this.tableData = [];
this.tableData.push({
discipline: this.form["discipline"] ? this.form["discipline"] : "--",
specification: this.form["specification"]
? this.form["specification"]
: "--",
bonusScore: this.form["bonusScore"] ? this.form["bonusScore"] : "--",
sumScore: this.form["sumScore"] ? this.form["sumScore"] : "--",
selfLevel: this.form["selfLevel"]
? this.form["selfLevel"] == 1
? "红旗窗口"
: "黑旗窗口"
: "--",
});
this.form.view = "修改";
this.open = true;
});
this.pageInfo.type = "edit"; this.pageInfo.type = "edit";
this.title = "修改窗口考核核查"; this.title = "自评绩效核查";
}, },
/** 新增 */ /** 新增 */
add(row) { add(row) {
...@@ -216,13 +446,66 @@ export default { ...@@ -216,13 +446,66 @@ export default {
this.title = "新增窗口考核核查"; this.title = "新增窗口考核核查";
}, },
/** 查看*/ /** 查看*/
view(row) { async view(row) {
// this.reset();
// this.query = { id: row.id };
// this.urls.currUrl = "check/window/perform/view";
// this.getData();
// this.pageInfo.type = "view";
// this.title = "窗口考核核查详细";
this.form = row;
this.reset(); this.reset();
this.query = { id: row.id }; this.query = { id: row.id };
this.urls.currUrl = "check/window/perform/view"; await this.$get("/window/perform/info", { id: row.id }).then((res) => {
this.getData(); if (res.code == 1) {
this.form = res.data;
this.dict = res.dict;
} else {
this.form = row;
}
for (let key in this.form) {
key == "fillDate"
? (this.form[key] = timestampToTime(this.form[key], 6))
: key == "createTime"
? (this.form[key] = timestampToTime(this.form[key], 6))
: key == "deductTime"
? (this.form[key] = timestampToTime(this.form[key], 6))
: key == "updateTime"
? (this.form[key] = timestampToTime(this.form[key], 6))
: key == "checkTime"
? (this.form[key] = timestampToTime(this.form[key], 6))
: key == "reviewTime"
? (this.form[key] = timestampToTime(this.form[key], 6))
: "";
}
this.$get("/check/window/perform/info", { id: row.id }).then(
(response) => {
if (response.code == 1) {
this.form = { ...this.form, ...response.data };
this.dict = { ...this.dict, ...response.dict };
}
}
);
this.tableData = [];
this.tableData.push({
discipline: this.form["discipline"] ? this.form["discipline"] : "--",
specification: this.form["specification"]
? this.form["specification"]
: "--",
bonusScore: this.form["bonusScore"] ? this.form["bonusScore"] : "--",
sumScore: this.form["sumScore"] ? this.form["sumScore"] : "--",
selfLevel: this.form["selfLevel"]
? this.form["selfLevel"] == 1
? "红旗窗口"
: "黑旗窗口"
: "--",
});
this.form.view = "查看";
this.open = true;
});
this.pageInfo.type = "view"; this.pageInfo.type = "view";
this.title = "窗口考核核查详细"; this.title = "自评绩效核查信息详细";
}, },
/**取消按钮 */ /**取消按钮 */
cancel() { cancel() {
...@@ -276,3 +559,28 @@ export default { ...@@ -276,3 +559,28 @@ export default {
}, },
}; };
</script> </script>
<style lang="less" scoped>
.content_box {
padding: 0 20px;
font-size: 14px;
.text_line {
width: 100%;
display: flex;
margin-bottom: 25px;
.text_box:nth-child(2) {
margin: 0 100px;
}
.text_box {
display: flex;
span {
text-align: end;
width: 100px;
display: inline-block;
}
span:nth-child(2) {
text-align: start;
}
}
}
}
</style>
...@@ -66,7 +66,6 @@ export default { ...@@ -66,7 +66,6 @@ export default {
}, },
// 切换表格 // 切换表格
changeRadio() { changeRadio() {
console.log(this.radio1);
this.radio1 == 2 this.radio1 == 2
? this.$router.push("/check/window/workman/perform/list?page=1") ? this.$router.push("/check/window/workman/perform/list?page=1")
: ""; : "";
...@@ -98,37 +97,50 @@ export default { ...@@ -98,37 +97,50 @@ export default {
fuzzy: false, fuzzy: false,
}, },
{ {
name: "staffName", name: "ownerName",
type: "text", type: "text",
label: "请输入窗口负责人姓名搜索", width: 200,
label: "窗口负责人姓名搜索",
fuzzy: false, fuzzy: false,
}, },
], ],
columns: [ columns: [
{ type: "selection", width: 60 }, { type: "selection", width: 60 },
{ type: "index", label: "序号", width: 50 }, { type: "index", label: "序号", width: 50 },
{ label: "窗口负责人", prop: "ownerName" },
{ {
label: "管理组核查时间", label: "登记年月",
prop: "manageCheckTime", formatter: (row) => {
formatter: this.formatterDate, return `${row.year ? row.year : "--"}-${
row.month
? [1, 2, 3, 4, 5, 6, 7, 8, 9].includes(row.month)
? "0" + row.month
: row.month
: "--"
}`;
},
}, },
{ label: "管理组核查说明", prop: "manageCheckDesc" }, { label: "所属大厅", prop: "salaName" },
{ label: "管理组核查结果", prop: "manageCheckResult" },
{ {
label: "领导组核查时间", label: "所属部门",
prop: "leaderCheckTime", prop: "deptName",
formatter: this.formatterDate,
}, },
{ label: "领导组核查说明", prop: "leaderCheckDesc" }, { label: "考核窗口", prop: "windowName" },
{ label: "领导组核查结果", prop: "leaderCheckResult" }, { label: "表单名称", prop: "fromName" },
{ label: "总分分值", prop: "sumScore", formatter: this.formatter },
{
label: "提交时间",
prop: "submitDate",
formatter: this.formatterDate,
},
{ label: "处理状态", prop: "checkStatus", formatter: this.formatter }, { label: "处理状态", prop: "checkStatus", formatter: this.formatter },
{ {
label: "操作", label: "操作",
width: 240, width: 240,
...@@ -136,6 +148,10 @@ export default { ...@@ -136,6 +148,10 @@ export default {
return ( return (
<table-buttons <table-buttons
noAdd noAdd
noDel
noEdit
reCheck
text={"自评核查"}
row={row} row={row}
onEdit={this.toEdit} onEdit={this.toEdit}
onView={this.toView} onView={this.toView}
......
...@@ -5,46 +5,280 @@ ...@@ -5,46 +5,280 @@
:visible.sync="open" :visible.sync="open"
:direction="direction" :direction="direction"
:destroy-on-close="true" :destroy-on-close="true"
size="50%"> size="50%"
<el-form ref="form" :model="form" :rules="rules" label-width="120px"> >
<div class="content_box">
<div class="text_line">
<div class="text_box">
<span>窗口负责人:</span>
<span>{{ form.ownerName }}</span>
</div>
<div class="text_box">
<span>登记年月:</span>
<span>{{
`${form.year ? form.year : "--"}-${
form.month
? [1, 2, 3, 4, 5, 6, 7, 8, 9].includes(form.month)
? "0" + form.month
: form.month
: "--"
}`
}}</span>
</div>
</div>
<div class="text_line">
<div class="text_box">
<span style="width: 920px;"
><el-table :data="tableData" border style="width: 100%">
<el-table-column type="index" label="序号" width="50">
</el-table-column>
<el-table-column prop="staffName" label="姓名" align="center">
</el-table-column>
<el-table-column label="考核得分(分)">
<el-table-column
prop="discipline"
label="工作纪律"
align="center"
>
</el-table-column>
<el-table-column
prop="specification"
label="服务规范"
align="center"
>
</el-table-column>
<el-table-column
prop="management"
label="综合管理"
align="center"
>
</el-table-column>
<el-table-column
prop="evaluation"
label="群众评议"
align="center"
>
</el-table-column>
<el-table-column
prop="efficiency"
label="工作效能"
align="center"
>
</el-table-column>
<el-table-column prop="bonusScore" label="加分" align="center">
</el-table-column>
</el-table-column>
<el-table-column
prop="sumScore"
label="综合评定打分"
align="center"
>
</el-table-column>
<el-table-column
prop="selfLevel"
label="建议考核等级"
align="center"
>
</el-table-column>
</el-table>
</span>
</div>
</div>
<div class="text_line">
<div class="text_box">
<span>备注:</span>
<span>{{ form.remark }}</span>
</div>
</div>
<div class="text_line">
<div class="text_box">
<span>附件材料:</span>
<span>{{ form.annex }}</span>
</div>
</div>
<div class="hecha_box">
<div class="hecha_title">
<span class="line"></span>
<span>核查情况</span>
</div>
<div class="hecha_content">
<el-form ref="form" :model="form" :rules="rules" label-width="180px">
<el-row> <el-row>
<Field label="记录ID" prop="recordId" v-model="form.recordId" placeholder="请输入记录ID"/> <el-form-item label="政务服务管理科评荐意见:" prop="checkResult">
<Field label="考核年度" prop="year" v-model="form.year" placeholder="请输入考核年度"/> <div
<Field label="考核月份" prop="month" v-model="form.month" placeholder="请输入考核月份"/> v-if="form.view == '查看'"
<Field label="窗口ID" prop="windowId" v-model="form.windowId" placeholder="请输入窗口ID"/> style="display: flex; justify-content: space-between;"
<Field label="窗口名称" prop="windowName" v-model="form.windowName" placeholder="请输入窗口名称"/> >
<Field label="窗口负责人id" prop="ownerId" v-model="form.ownerId" placeholder="请输入窗口负责人id"/> <span class="left">
<Field label="窗口负责人名称" prop="ownerName" v-model="form.ownerName" placeholder="请输入窗口负责人名称"/> {{ form.manageCheckResult }}
<Field label="所属部门id" prop="deptId" v-model="form.deptId" placeholder="请输入所属部门id"/> </span>
<Field label="所属部门名称" prop="deptName" v-model="form.deptName" type="textarea" placeholder="请输入所属部门名称"/> <span class="right">
<Field label="所属大厅" prop="salaId" v-model="form.salaId" placeholder="请输入所属大厅"/> {{ form.manageCheckPerson }}
<Field label="所属大厅名称" prop="salaName" v-model="form.salaName" placeholder="请输入所属大厅名称"/> {{ functionTime(form.manageCheckTime) }} 核查
<Field label="考核表单名称" prop="fromName" v-model="form.fromName" placeholder="请输入考核表单名称"/> </span>
<Field label="提交时间" prop="submitDate" v-model="form.submitDate" type="date" /> </div>
<Field label="管理组核查人员" prop="manageCheckPerson" v-model="form.manageCheckPerson" placeholder="请输入管理组核查人员"/> <el-radio-group v-model="form.manageCheckResult" v-else>
<Field label="管理组核查时间" prop="manageCheckTime" v-model="form.manageCheckTime" type="date" /> <el-radio
<Field label="管理组核查说明" prop="manageCheckDesc" v-model="form.manageCheckDesc" type="textarea" placeholder="请输入管理组核查说明"/> v-for="(val, i) in dict.manageCheckResult"
<Field label="管理组核查结果" prop="manageCheckResult" v-model="form.manageCheckResult" type="radio" :enumData="dict.manageCheckResult" /> :key="i"
<Field label="备注" prop="remark" v-model="form.remark" type="textarea" placeholder="请输入备注"/> :label="val"
>{{ val }}</el-radio
>
</el-radio-group>
</el-form-item>
<el-form-item label="管理组核查说明:" prop="manageCheckDesc">
<el-input
v-model="form.manageCheckDesc"
type="textarea"
placeholder="请填写说明"
:disabled="form.view == '查看'"
></el-input>
</el-form-item>
</el-row> </el-row>
<form-buttons
<form-buttons @submit='submitForm' v-if="pageInfo.type!='view'" noCancelBtn /> @submit="submitForm"
v-if="pageInfo.type != 'view'"
noCancelBtn
/>
</el-form> </el-form>
</div>
</div>
</div>
<!-- <el-form ref="form" :model="form" :rules="rules" label-width="120px">
<el-row>
<Field
label="记录ID"
prop="recordId"
v-model="form.recordId"
placeholder="请输入记录ID"
/>
<Field
label="考核年度"
prop="year"
v-model="form.year"
placeholder="请输入考核年度"
/>
<Field
label="考核月份"
prop="month"
v-model="form.month"
placeholder="请输入考核月份"
/>
<Field
label="窗口ID"
prop="windowId"
v-model="form.windowId"
placeholder="请输入窗口ID"
/>
<Field
label="窗口名称"
prop="windowName"
v-model="form.windowName"
placeholder="请输入窗口名称"
/>
<Field
label="窗口负责人id"
prop="ownerId"
v-model="form.ownerId"
placeholder="请输入窗口负责人id"
/>
<Field
label="窗口负责人名称"
prop="ownerName"
v-model="form.ownerName"
placeholder="请输入窗口负责人名称"
/>
<Field
label="所属部门id"
prop="deptId"
v-model="form.deptId"
placeholder="请输入所属部门id"
/>
<Field
label="所属部门名称"
prop="deptName"
v-model="form.deptName"
type="textarea"
placeholder="请输入所属部门名称"
/>
<Field
label="所属大厅"
prop="salaId"
v-model="form.salaId"
placeholder="请输入所属大厅"
/>
<Field
label="所属大厅名称"
prop="salaName"
v-model="form.salaName"
placeholder="请输入所属大厅名称"
/>
<Field
label="考核表单名称"
prop="fromName"
v-model="form.fromName"
placeholder="请输入考核表单名称"
/>
<Field
label="提交时间"
prop="submitDate"
v-model="form.submitDate"
type="date"
/>
<Field
label="管理组核查人员"
prop="manageCheckPerson"
v-model="form.manageCheckPerson"
placeholder="请输入管理组核查人员"
/>
<Field
label="管理组核查时间"
prop="manageCheckTime"
v-model="form.manageCheckTime"
type="date"
/>
<Field
label="管理组核查说明"
prop="manageCheckDesc"
v-model="form.manageCheckDesc"
type="textarea"
placeholder="请输入管理组核查说明"
/>
<Field
label="管理组核查结果"
prop="manageCheckResult"
v-model="form.manageCheckResult"
type="radio"
:enumData="dict.manageCheckResult"
/>
<Field
label="备注"
prop="remark"
v-model="form.remark"
type="textarea"
placeholder="请输入备注"
/>
</el-row>
<form-buttons
@submit="submitForm"
v-if="pageInfo.type != 'view'"
noCancelBtn
/>
</el-form> -->
</el-drawer> </el-drawer>
</template> </template>
<script> <script>
import form from "@/assets/mixins/formdialog"; import form from "@/assets/mixins/formdialog";
export default { import { timestampToTime } from "@/assets/utils/dateFormat.js";
export default {
name: "CheckWindowWorkmanPerformDetail", name: "CheckWindowWorkmanPerformDetail",
mixins: [form], mixins: [form],
components: { components: {},
},
created() { created() {
this.changePath("check/window/workman/perform") this.changePath("check/window/workman/perform");
}, },
data() { data() {
return { return {
...@@ -54,45 +288,177 @@ ...@@ -54,45 +288,177 @@
title: "窗口人员考核汇总核查", title: "窗口人员考核汇总核查",
// 是否显示弹出层 // 是否显示弹出层
open: false, open: false,
direction:"rtl", direction: "rtl",
toString:[ toString: [],
], toDate: ["submitDate", "manageCheckTime"],
toDate:[
"submitDate",
"manageCheckTime",
],
// 表单校验 // 表单校验
rules: { rules: {},
} tableData: [],
}; };
}, },
methods: { methods: {
functionTime(val) {
let time = timestampToTime(val, 6);
return time;
},
/** 编辑 */ /** 编辑 */
edit(row) { async edit(row) {
this.reset() // this.reset();
// this.query = { id: row.id };
this.urls.currUrl = "check/window/workman/perform/save";
// this.getData();
// this.pageInfo.type = "edit";
// this.title = "修改窗口人员考核汇总核查";
this.form = row;
this.reset();
this.query = { id: row.id }; this.query = { id: row.id };
this.urls.currUrl ="check/window/workman/perform/edit"; await this.$get("/check/window/workman/perform/info", {
this.getData(); id: row.id,
this.pageInfo.type="edit" }).then((res) => {
this.title = "修改窗口人员考核汇总核查"; if (res.code == 1) {
this.form = res.data;
this.dict = res.dict;
} else {
this.form = row;
}
for (let key in this.form) {
key == "fillDate"
? (this.form[key] = timestampToTime(this.form[key], 6))
: key == "createTime"
? (this.form[key] = timestampToTime(this.form[key], 6))
: key == "deductTime"
? (this.form[key] = timestampToTime(this.form[key], 6))
: key == "updateTime"
? (this.form[key] = timestampToTime(this.form[key], 6))
: key == "checkTime"
? (this.form[key] = timestampToTime(this.form[key], 6))
: key == "reviewTime"
? (this.form[key] = timestampToTime(this.form[key], 6))
: "";
}
this.$get("/window/workman/perform/detail/info", { id: row.id }).then(
(response) => {
if (response.code == 1) {
this.form = { ...this.form, ...response.data };
this.dict = { ...this.dict, ...response.dict };
}
}
);
this.$get("/window/workman/perform/info", { id: row.id }).then(
(responses) => {
if (responses.code == 1) {
this.form = { ...this.form, ...responses.data };
this.dict = { ...this.dict, ...responses.dict };
}
}
);
this.tableData = [];
this.tableData.push({
staffName: this.form["staffName"] ? this.form["staffName"] : "--",
discipline: this.form["discipline"] ? this.form["discipline"] : "--",
specification: this.form["specification"]
? this.form["specification"]
: "--",
management: this.form["management"] ? this.form["management"] : "--",
evaluation: this.form["evaluation"] ? this.form["evaluation"] : "--",
efficiency: this.form["efficiency"] ? this.form["efficiency"] : "--",
bonusScore: this.form["bonusScore"] ? this.form["bonusScore"] : "--",
sumScore: this.form["sumScore"] ? this.form["sumScore"] : "--",
examineLevel: this.form["examineLevel"]
? this.dict["examineLevel"]
: "--",
});
this.form.view = "修改";
this.open = true;
});
this.pageInfo.type = "edit";
this.title = "窗口人员自评绩效核查";
}, },
/** 新增 */ /** 新增 */
add(row) { add(row) {
this.reset() this.reset();
this.urls.currUrl = "check/window/workman/perform/add"; this.urls.currUrl = "check/window/workman/perform/add";
this.getData(); this.getData();
this.pageInfo.type="add" this.pageInfo.type = "add";
this.title = "新增窗口人员考核汇总核查"; this.title = "新增窗口人员考核汇总核查";
}, },
/** 查看*/ /** 查看*/
view(row) { async view(row) {
this.reset() // this.reset();
// this.query = { id: row.id };
// this.urls.currUrl = "check/window/workman/perform/view";
// this.getData();
// this.pageInfo.type = "view";
// this.title = "窗口人员考核汇总核查详细";
this.form = row;
this.reset();
this.query = { id: row.id }; this.query = { id: row.id };
this.urls.currUrl ="check/window/workman/perform/view"; await this.$get("/check/window/workman/perform/info", {
this.getData(); id: row.id,
this.pageInfo.type="view" }).then((res) => {
this.title = "窗口人员考核汇总核查详细"; if (res.code == 1) {
this.form = res.data;
this.dict = res.dict;
} else {
this.form = row;
}
for (let key in this.form) {
key == "fillDate"
? (this.form[key] = timestampToTime(this.form[key], 6))
: key == "createTime"
? (this.form[key] = timestampToTime(this.form[key], 6))
: key == "deductTime"
? (this.form[key] = timestampToTime(this.form[key], 6))
: key == "updateTime"
? (this.form[key] = timestampToTime(this.form[key], 6))
: key == "checkTime"
? (this.form[key] = timestampToTime(this.form[key], 6))
: key == "reviewTime"
? (this.form[key] = timestampToTime(this.form[key], 6))
: "";
}
this.$get("/window/workman/perform/detail/info", { id: row.id }).then(
(response) => {
if (response.code == 1) {
this.form = { ...this.form, ...response.data };
this.dict = { ...this.dict, ...response.dict };
}
}
);
this.$get("/window/workman/perform/info", { id: row.id }).then(
(responses) => {
if (responses.code == 1) {
this.form = { ...this.form, ...responses.data };
this.dict = { ...this.dict, ...responses.dict };
}
}
);
this.tableData = [];
this.tableData.push({
staffName: this.form["staffName"] ? this.form["staffName"] : "--",
discipline: this.form["discipline"] ? this.form["discipline"] : "--",
specification: this.form["specification"]
? this.form["specification"]
: "--",
management: this.form["management"] ? this.form["management"] : "--",
evaluation: this.form["evaluation"] ? this.form["evaluation"] : "--",
efficiency: this.form["efficiency"] ? this.form["efficiency"] : "--",
bonusScore: this.form["bonusScore"] ? this.form["bonusScore"] : "--",
sumScore: this.form["sumScore"] ? this.form["sumScore"] : "--",
examineLevel: this.form["examineLevel"]
? this.dict["examineLevel"]
: "--",
});
this.form.view = "查看";
this.open = true;
});
this.pageInfo.type = "view";
this.title = "窗口人员自评绩效核查信息详细";
}, },
/**取消按钮 */ /**取消按钮 */
cancel() { cancel() {
...@@ -111,24 +477,24 @@ ...@@ -111,24 +477,24 @@
// 表单重置 // 表单重置
reset() { reset() {
this.form = { this.form = {
recordId : null, recordId: null,
year : null, year: null,
month : null, month: null,
windowId : null, windowId: null,
windowName : "", windowName: "",
ownerId : null, ownerId: null,
ownerName : "", ownerName: "",
deptId : null, deptId: null,
deptName : "", deptName: "",
salaId : null, salaId: null,
salaName : "", salaName: "",
fromName : "", fromName: "",
submitDate : null, submitDate: null,
manageCheckPerson : "", manageCheckPerson: "",
manageCheckTime : null, manageCheckTime: null,
manageCheckDesc : "", manageCheckDesc: "",
manageCheckResult : "", manageCheckResult: "",
remark : "", remark: "",
}; };
this.resetForm("form"); this.resetForm("form");
}, },
...@@ -138,5 +504,30 @@ ...@@ -138,5 +504,30 @@
} }
}, },
}, },
}; };
</script> </script>
<style lang="less" scoped>
.content_box {
padding: 0 20px;
font-size: 14px;
.text_line {
width: 100%;
display: flex;
margin-bottom: 25px;
.text_box:nth-child(2) {
margin: 0 100px;
}
.text_box {
display: flex;
span {
text-align: end;
width: 100px;
display: inline-block;
}
span:nth-child(2) {
text-align: start;
}
}
}
}
</style>
...@@ -98,25 +98,57 @@ export default { ...@@ -98,25 +98,57 @@ export default {
fuzzy: false, fuzzy: false,
}, },
{ {
name: "staffName", name: "ownerName",
type: "text", type: "text",
label: "请输入窗口负责人姓名搜索", width: 200,
label: "窗口负责人姓名搜索",
fuzzy: false, fuzzy: false,
}, },
], ],
columns: [ columns: [
{ type: "selection", width: 60 }, { type: "selection", width: 60 },
{ type: "index", label: "序号", width: 50 }, { type: "index", label: "序号", width: 50 },
{ label: "窗口负责人", prop: "ownerName" },
{ {
label: "管理组核查时间", label: "登记年月",
prop: "manageCheckTime", formatter: (row) => {
formatter: this.formatterDate, return `${row.year ? row.year : "--"}-${
row.month
? [1, 2, 3, 4, 5, 6, 7, 8, 9].includes(row.month)
? "0" + row.month
: row.month
: "--"
}`;
},
},
{ label: "所属大厅", prop: "salaName" },
{
label: "所属部门",
prop: "deptName",
}, },
{ label: "管理组核查说明", prop: "manageCheckDesc" }, { label: "考核窗口", prop: "windowName" },
{ label: "表单名称", prop: "fromName" },
{ label: "总分分值", prop: "sumScore", formatter: this.formatter },
{
label: "提交时间",
prop: "submitDate",
width: 110,
formatter: this.formatterDate,
},
{
label: "最新核查时间",
prop: "updateTime",
width: 150,
formatter: this.formatterDate,
},
{ label: "处理状态", prop: "checkStatus", formatter: this.formatter },
{ label: "管理组核查结果", prop: "manageCheckResult" },
{ {
label: "操作", label: "操作",
width: 240, width: 240,
...@@ -124,6 +156,10 @@ export default { ...@@ -124,6 +156,10 @@ export default {
return ( return (
<table-buttons <table-buttons
noAdd noAdd
noDel
noEdit
reCheck
text={"自评核查"}
row={row} row={row}
onEdit={this.toEdit} onEdit={this.toEdit}
onView={this.toView} onView={this.toView}
......
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