Commit 07e6fea0 authored by 姬鋆屾's avatar 姬鋆屾

parent 23e05f98
...@@ -693,7 +693,7 @@ export default { ...@@ -693,7 +693,7 @@ export default {
? "/check/window/perform/list" ? "/check/window/perform/list"
: this.$route.path.indexOf("/window/workman/perform/list") == 0 : this.$route.path.indexOf("/window/workman/perform/list") == 0
? "/check/window/workman/perform/list" ? "/check/window/workman/perform/list"
: this.$route.path.indexOf("/window/workman/perform/detail/list") == : this.$route.path.indexOf("/check/window/workman/perform/detail/list") ==
0 0
? "/window/workman/perform/detail/list" ? "/window/workman/perform/detail/list"
: this.$route.path, : this.$route.path,
......
...@@ -256,6 +256,7 @@ export default { ...@@ -256,6 +256,7 @@ export default {
this.$route.name == "attendance/stat/list" || this.$route.name == "attendance/stat/list" ||
this.$route.name == "check/window/perform/list" || this.$route.name == "check/window/perform/list" ||
this.$route.name == "check/window/workman/perform/list" || this.$route.name == "check/window/workman/perform/list" ||
this.$route.name == "check/window/workman/perform/detail/list" ||
this.$route.name == "check/attend/record/list" || this.$route.name == "check/attend/record/list" ||
this.$route.name == "check/review/record/list" || this.$route.name == "check/review/record/list" ||
this.$route.name == "check/complain/record/list" || this.$route.name == "check/complain/record/list" ||
......
...@@ -130,8 +130,8 @@ const router = new Router({ ...@@ -130,8 +130,8 @@ const router = new Router({
"check/window/workman/perform" "check/window/workman/perform"
), //自评绩效核查信息(工作人员) ), //自评绩效核查信息(工作人员)
...restBuilder( ...restBuilder(
"window/workman/perform/detail", "check/window/workman/perform/detail",
"window/workman/perform/detail" "check/window/workman/perform/detail"
), //自评绩效核查信息(工作人员一张表) ), //自评绩效核查信息(工作人员一张表)
...restBuilder("perform/attend/appeal", "perform/attend/appeal"), //绩效记录申诉信息 ...restBuilder("perform/attend/appeal", "perform/attend/appeal"), //绩效记录申诉信息
......
...@@ -72,7 +72,7 @@ export default { ...@@ -72,7 +72,7 @@ export default {
: 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")
: this.radio1 == 3 : this.radio1 == 3
? this.$router.push("/window/workman/perform/detail/list?page=1") ? this.$router.push("/check/window/workman/perform/detail/list?page=1")
: ""; : "";
}, },
}, },
......
...@@ -16,7 +16,8 @@ ...@@ -16,7 +16,8 @@
>导出</el-button >导出</el-button
> >
</div> </div>
<LayoutTable :data="tableData" :config="tableConfig"> </LayoutTable> <LayoutTable :data="tableData" notAdd notDel :config="tableConfig">
</LayoutTable>
</div> </div>
</template> </template>
...@@ -25,24 +26,10 @@ ...@@ -25,24 +26,10 @@
import table from "@/assets/mixins/table"; import table from "@/assets/mixins/table";
export default { export default {
name: "WindowWorkmanPerformDetailList", name: "WindowWorkmanPerformDetailList",
components: {
drawerShow,
},
mixins: [table], mixins: [table],
created() {}, created() {},
methods: { methods: {
/** 重写新增方法 */
toAdd(row) {
this.$refs.drawerform.add(row);
},
/** 重写编辑方法 */
toEdit(row) {
this.$refs.drawerform.edit(row);
},
/** 重写查看方法 */
toView(row) {
this.$refs.drawerform.view(row);
},
/** 导出Excel */ /** 导出Excel */
doExport() { doExport() {
this.isExport = true; this.isExport = true;
...@@ -67,24 +54,68 @@ export default { ...@@ -67,24 +54,68 @@ export default {
: 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")
: this.radio1 == 3 : this.radio1 == 3
? this.$router.push("/window/workman/perform/detail/list?page=1") ? this.$router.push("/check/window/workman/perform/detail/list?page=1")
: ""; : "";
}, },
}, },
data() { data() {
return { return {
config: {
radio1: "3", radio1: "3",
isExport: false, isExport: false,
search: [], config: {
isshowTabPane: true,
search: [
{
name: "salaId",
type: "selectSalaId",
label: "大厅",
fuzzy: false,
},
{
name: "deptId",
type: "selectDeptId",
label: "部门",
fuzzy: false,
},
{
name: "yearmonth",
type: "month",
label: "请选择考评年月",
fuzzy: false,
},
{
name: "staffName",
type: "text",
width: 200,
label: "工作人员姓名搜索",
fuzzy: false,
},
],
columns: [ columns: [
{ type: "selection", width: 60 }, { type: "selection", width: 60 },
{ type: "index", label: "序号", width: 50 }, { type: "index", label: "序号", width: 50 },
{ label: "工作人员名称", prop: "staffName" }, { label: "工作人员名称", prop: "staffName" },
{ label: "所属部门名称", prop: "deptName" }, {
label: "考评年月",
formatter: (row) => {
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: "deptName",
formatter: this.formatter,
},
{ label: "所属大厅名称", prop: "salaName" }, { label: "所属大厅", prop: "salaName", formatter: this.formatter },
{ {
label: "工作纪律得分", label: "工作纪律得分",
...@@ -131,3 +162,16 @@ export default { ...@@ -131,3 +162,16 @@ export default {
}, },
}; };
</script> </script>
<style lang="less" scoped>
/deep/.el-radio-button__inner {
border: 1px solid #eee !important;
height: 28px;
line-height: 3px;
}
/deep/.el-radio-button__orig-radio:checked + .el-radio-button__inner {
background: #00b565;
border: none !important;
color: #fff !important;
line-height: 3px;
}
</style>
...@@ -73,7 +73,7 @@ export default { ...@@ -73,7 +73,7 @@ export default {
: 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")
: this.radio1 == 3 : this.radio1 == 3
? this.$router.push("/window/workman/perform/detail/list?page=1") ? this.$router.push("/check/window/workman/perform/detail/list?page=1")
: ""; : "";
}, },
}, },
......
...@@ -16,7 +16,8 @@ ...@@ -16,7 +16,8 @@
>导出</el-button >导出</el-button
> >
</div> </div>
<LayoutTable :data="tableData" :config="tableConfig"> </LayoutTable> <LayoutTable :data="tableData" notAdd notDel :config="tableConfig">
</LayoutTable>
</div> </div>
</template> </template>
...@@ -25,9 +26,7 @@ ...@@ -25,9 +26,7 @@
import table from "@/assets/mixins/table"; import table from "@/assets/mixins/table";
export default { export default {
name: "WindowWorkmanPerformDetailList", name: "WindowWorkmanPerformDetailList",
components: {
drawerShow,
},
mixins: [table], mixins: [table],
created() {}, created() {},
methods: { methods: {
...@@ -61,9 +60,9 @@ export default { ...@@ -61,9 +60,9 @@ export default {
}, },
data() { data() {
return { return {
config: {
radio1: "3", radio1: "3",
isExport: false, isExport: false,
config: {
search: [], search: [],
columns: [ columns: [
{ type: "selection", width: 60 }, { type: "selection", width: 60 },
...@@ -119,3 +118,16 @@ export default { ...@@ -119,3 +118,16 @@ export default {
}, },
}; };
</script> </script>
<style lang="less" scoped>
/deep/.el-radio-button__inner {
border: 1px solid #eee !important;
height: 28px;
line-height: 3px;
}
/deep/.el-radio-button__orig-radio:checked + .el-radio-button__inner {
background: #00b565;
border: none !important;
color: #fff !important;
line-height: 3px;
}
</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