Commit 8e749a65 authored by 姬鋆屾's avatar 姬鋆屾

parent 14ba689a
...@@ -20,6 +20,13 @@ ...@@ -20,6 +20,13 @@
>查看</el-button >查看</el-button
> >
<span>&nbsp;</span> <span>&nbsp;</span>
<el-switch
v-if="switchBtn"
@change="$emit('view', row)"
title="核查"
v-model="row.check"
></el-switch>
<span>&nbsp;</span>
<el-button <el-button
v-if="reCheck" v-if="reCheck"
type="text" type="text"
...@@ -63,6 +70,10 @@ export default { ...@@ -63,6 +70,10 @@ export default {
type: Boolean, type: Boolean,
default: false, default: false,
}, },
switchBtn: {
type: Boolean,
default: false,
},
noView: { noView: {
type: Boolean, type: Boolean,
default: false, default: false,
......
...@@ -218,6 +218,7 @@ export default { ...@@ -218,6 +218,7 @@ export default {
async getKaoQin(categoryId) { async getKaoQin(categoryId) {
await this.$post("/perform/rules/list", { await this.$post("/perform/rules/list", {
categoryId, categoryId,
type: this.activeName,
page: this.query.page, page: this.query.page,
orderColList: this.typeArr, orderColList: this.typeArr,
name: this.searchValue, name: this.searchValue,
......
...@@ -36,6 +36,9 @@ ...@@ -36,6 +36,9 @@
<el-tag style="margin: 0 5px 5px 0" <el-tag style="margin: 0 5px 5px 0"
>效能绩效指标/工作纪律:{{ val.effectCount }}</el-tag >效能绩效指标/工作纪律:{{ val.effectCount }}</el-tag
> >
<el-tag style="margin: 0 5px 5px 0"
>其他绩效指标/工作纪律:{{ val.otherCount }}</el-tag
>
</p> </p>
<p class="goal_txt"> <p class="goal_txt">
<span>最近更新:</span><span>{{ val.createTime }}</span> <span>最近更新:</span><span>{{ val.createTime }}</span>
...@@ -85,6 +88,8 @@ import drawerShow from "./drawershow"; ...@@ -85,6 +88,8 @@ import drawerShow from "./drawershow";
import deptdrawerShow from "./deptdrawershow.vue"; import deptdrawerShow from "./deptdrawershow.vue";
import windowdrawerShow from "./windowdrawershow.vue"; import windowdrawerShow from "./windowdrawershow.vue";
import table from "@/assets/mixins/table"; import table from "@/assets/mixins/table";
import { timestampToTime } from "@/assets/utils/dateFormat.js";
export default { export default {
name: "PerformStaffConfList", name: "PerformStaffConfList",
components: { components: {
...@@ -146,9 +151,12 @@ export default { ...@@ -146,9 +151,12 @@ export default {
await this.$post( await this.$post(
this.type == 1 ? "/perform/dept/conf/list" : "/perform/staff/conf/list" this.type == 1 ? "/perform/dept/conf/list" : "/perform/staff/conf/list"
).then((res) => { ).then((res) => {
console.log(res);
if (res.code == 1) { if (res.code == 1) {
this.dataList = res.data.data; this.dataList = res.data.data;
this.dataList.forEach((v) => {
v.createTime = v.createTime ? timestampToTime(v.createTime, 6) : "";
v.updateTime = v.updateTime ? timestampToTime(v.updateTime, 6) : "";
});
} }
}); });
this.activeName == 2 this.activeName == 2
...@@ -293,7 +301,7 @@ export default { ...@@ -293,7 +301,7 @@ export default {
flex-wrap: wrap; flex-wrap: wrap;
.goal_box { .goal_box {
width: 405px; width: 405px;
height: 270px; height: 310px;
background: inherit; background: inherit;
background-color: rgba(255, 255, 255, 1); background-color: rgba(255, 255, 255, 1);
border: none; border: none;
......
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