Commit ae13bbab authored by 姬鋆屾's avatar 姬鋆屾

推添加自评考核报错提醒;修改请假原因无法显示的问题

parent 9c837f17
......@@ -56,8 +56,12 @@ export default {
//
res.entity = this.util_toDateStr(res.entity, this.toDate);
this.form = Object.assign({}, this.form, res.entity);
this.dict = Object.assign({}, this.dict, res.dict);
console.log(this.form);
this.form.leaveType
? (this.form.leaveType = Number(this.form.leaveType))
: "";
this.afterRender(res);
})
.catch((error) => {
......@@ -89,6 +93,9 @@ export default {
el.validate((valid) => {
if (!valid) return;
this.loading = true;
this.form.leaveType
? (this.form.leaveType = this.form.leaveType.toString())
: "";
this.$post(url, this.beforeSubmit(this.form))
.then((res) => {
this.$message.success(res.msg);
......
......@@ -256,11 +256,11 @@ export default {
this.title = "新增请假记录信息";
},
/** 查看*/
view(row) {
async view(row) {
this.reset();
this.query = { id: row.id };
this.urls.currUrl = "attendance/leave/record/view";
this.getData();
await this.getData();
this.pageInfo.type = "view";
this.title = "请假记录信息详细";
},
......
......@@ -427,83 +427,94 @@ export default {
this.form = row;
this.reset();
this.query = { id: row.id };
await this.$get("/window/perform/info", { id: row.id }).then((res) => {
if (res.code == 1) {
this.form = res.data;
this.form.id = row.id;
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 };
await this.$get("/window/perform/info", { id: row.id })
.then((res) => {
if (res.code == 1) {
this.form = res.data;
this.form.id = row.id;
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.$post("/perform/rules/list", {
page: 1,
size: -1,
}).then((responsed) => {
if (responsed.code == 1) {
this.dict = { ...this.dict, ...responsed.dict };
if (this.form.bonusReport && this.form.bonusReport != "[]") {
let bonusArr = [];
bonusArr = JSON.parse(this.form.bonusReport);
let bonusarrText = responsed.data.data.filter((item) =>
bonusArr.includes(item.id)
);
this.form.bonusarrText = bonusarrText;
this.$post("/perform/rules/list", {
page: 1,
size: -1,
}).then((responsed) => {
if (responsed.code == 1) {
this.dict = { ...this.dict, ...responsed.dict };
if (
this.form.bonusReport &&
this.form.bonusReport != "[]"
) {
let bonusArr = [];
bonusArr = JSON.parse(this.form.bonusReport);
let bonusarrText = responsed.data.data.filter((item) =>
bonusArr.includes(item.id)
);
this.form.bonusarrText = bonusarrText;
}
if (
this.form.deductStatement &&
this.form.deductStatement != "[]"
) {
let deductArr = [];
deductArr = JSON.parse(this.form.deductStatement);
let deductarrText = responsed.data.data.filter((item) =>
deductArr.includes(item.id)
);
this.form.deductarrText = deductarrText;
}
this.form.view = "修改";
this.open = true;
}
if (
this.form.deductStatement &&
this.form.deductStatement != "[]"
) {
let deductArr = [];
deductArr = JSON.parse(this.form.deductStatement);
let deductarrText = responsed.data.data.filter((item) =>
deductArr.includes(item.id)
);
this.form.deductarrText = deductarrText;
}
this.form.view = "修改";
this.open = true;
}
});
});
}
}
}
);
);
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.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
? "红旗窗口"
: "黑旗窗口"
: "--",
});
})
.catch((error) => {
this.$message.error(error.message);
});
});
this.pageInfo.type = "edit";
this.title = "市政务服务大厅窗口考核登记表";
},
......@@ -526,81 +537,92 @@ export default {
this.form = row;
this.reset();
this.query = { id: row.id };
await this.$get("/window/perform/info", { id: row.id }).then((res) => {
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 };
await this.$get("/window/perform/info", { id: row.id })
.then((res) => {
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.$post("/perform/rules/list", {
page: 1,
size: -1,
}).then((responsed) => {
if (responsed.code == 1) {
this.dict = { ...this.dict, ...responsed.dict };
if (this.form.bonusReport && this.form.bonusReport != "[]") {
let bonusArr = [];
bonusArr = JSON.parse(this.form.bonusReport);
let bonusarrText = responsed.data.data.filter((item) =>
bonusArr.includes(item.id)
);
this.form.bonusarrText = bonusarrText;
this.dict = { ...this.dict, ...response.dict };
this.$post("/perform/rules/list", {
page: 1,
size: -1,
}).then((responsed) => {
if (responsed.code == 1) {
this.dict = { ...this.dict, ...responsed.dict };
if (
this.form.bonusReport &&
this.form.bonusReport != "[]"
) {
let bonusArr = [];
bonusArr = JSON.parse(this.form.bonusReport);
let bonusarrText = responsed.data.data.filter((item) =>
bonusArr.includes(item.id)
);
this.form.bonusarrText = bonusarrText;
}
if (
this.form.deductStatement &&
this.form.deductStatement != "[]"
) {
let deductArr = [];
deductArr = JSON.parse(this.form.deductStatement);
let deductarrText = responsed.data.data.filter((item) =>
deductArr.includes(item.id)
);
this.form.deductarrText = deductarrText;
}
this.form.view = "查看";
this.open = true;
}
if (
this.form.deductStatement &&
this.form.deductStatement != "[]"
) {
let deductArr = [];
deductArr = JSON.parse(this.form.deductStatement);
let deductarrText = responsed.data.data.filter((item) =>
deductArr.includes(item.id)
);
this.form.deductarrText = deductarrText;
}
this.form.view = "查看";
this.open = true;
}
});
});
}
}
}
);
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.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
? "红旗窗口"
: "黑旗窗口"
: "--",
});
})
.catch((error) => {
this.$message.error(error.message);
});
});
this.pageInfo.type = "view";
this.title = "市政务服务大厅窗口考核登记表";
},
......
......@@ -337,18 +337,22 @@ export default {
this.query = { id: row.id };
await this.$get("/window/workman/perform/info", {
id: row.recordId,
}).then((res) => {
console.log(res);
if (res.code == 1) {
this.form = res.data;
this.form.id = row.id;
this.dict = res.dict;
} else {
this.form = row;
}
this.form.view = "修改";
this.open = true;
});
})
.then((res) => {
console.log(res);
if (res.code == 1) {
this.form = res.data;
this.form.id = row.id;
this.dict = res.dict;
} else {
this.form = row;
}
this.form.view = "修改";
this.open = true;
})
.catch((error) => {
this.$message.error(error.message);
});
this.pageInfo.type = "edit";
this.title = "市政务服务大厅窗口工作人员考核汇总表";
// await this.$get("/check/window/workman/perform/info", {
......@@ -437,25 +441,29 @@ export default {
this.query = { id: row.id };
await this.$get("/window/workman/perform/info", {
id: row.recordId,
}).then((res) => {
if (res.code == 1) {
this.form = res.data;
this.form.id = row.id;
this.dict = res.dict;
} else {
this.form = row;
}
this.form.view = "查看";
this.open = true;
this.$get("/check/window/workman/perform/info", { id: row.id }).then(
(response) => {
if (response.code == 1) {
this.form = { ...this.form, ...response.data };
this.dict = { ...this.dict, ...response.dict };
}
})
.then((res) => {
if (res.code == 1) {
this.form = res.data;
this.form.id = row.id;
this.dict = res.dict;
} else {
this.form = row;
}
);
});
this.form.view = "查看";
this.open = true;
this.$get("/check/window/workman/perform/info", { id: row.id }).then(
(response) => {
if (response.code == 1) {
this.form = { ...this.form, ...response.data };
this.dict = { ...this.dict, ...response.dict };
}
}
);
})
.catch((error) => {
this.$message.error(error.message);
});
this.pageInfo.type = "view";
this.title = "市政务服务大厅窗口工作人员考核汇总表";
// this.form = row;
......
......@@ -427,82 +427,93 @@ export default {
this.form = row;
this.reset();
this.query = { id: row.id };
await this.$get("/window/perform/info", { id: row.id }).then((res) => {
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 };
await this.$get("/window/perform/info", { id: row.id })
.then((res) => {
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.$post("/perform/rules/list", {
page: 1,
size: -1,
}).then((responsed) => {
if (responsed.code == 1) {
this.dict = { ...this.dict, ...responsed.dict };
if (this.form.bonusReport && this.form.bonusReport != "[]") {
let bonusArr = [];
bonusArr = JSON.parse(this.form.bonusReport);
let bonusarrText = responsed.data.data.filter((item) =>
bonusArr.includes(item.id)
);
this.form.bonusarrText = bonusarrText;
this.dict = { ...this.dict, ...response.dict };
this.$post("/perform/rules/list", {
page: 1,
size: -1,
}).then((responsed) => {
if (responsed.code == 1) {
this.dict = { ...this.dict, ...responsed.dict };
if (
this.form.bonusReport &&
this.form.bonusReport != "[]"
) {
let bonusArr = [];
bonusArr = JSON.parse(this.form.bonusReport);
let bonusarrText = responsed.data.data.filter((item) =>
bonusArr.includes(item.id)
);
this.form.bonusarrText = bonusarrText;
}
if (
this.form.deductStatement &&
this.form.deductStatement != "[]"
) {
let deductArr = [];
deductArr = JSON.parse(this.form.deductStatement);
let deductarrText = responsed.data.data.filter((item) =>
deductArr.includes(item.id)
);
this.form.deductarrText = deductarrText;
}
this.form.view = "修改";
this.open = true;
}
if (
this.form.deductStatement &&
this.form.deductStatement != "[]"
) {
let deductArr = [];
deductArr = JSON.parse(this.form.deductStatement);
let deductarrText = responsed.data.data.filter((item) =>
deductArr.includes(item.id)
);
this.form.deductarrText = deductarrText;
}
this.form.view = "修改";
this.open = true;
}
});
});
}
}
}
);
);
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.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
? "红旗窗口"
: "黑旗窗口"
: "--",
});
})
.catch((error) => {
this.$message.error(error.message);
});
});
this.pageInfo.type = "edit";
this.title = "市政务服务大厅窗口考核登记表";
},
......@@ -525,86 +536,97 @@ export default {
this.form = row;
this.reset();
this.query = { id: row.id };
await this.$get("/window/perform/info", { id: row.id }).then((res) => {
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 };
await this.$get("/window/perform/info", { id: row.id })
.then((res) => {
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.$post("/perform/rules/list", {
page: 1,
size: -1,
}).then((responsed) => {
if (responsed.code == 1) {
this.dict = { ...this.dict, ...responsed.dict };
if (this.form.bonusReport && this.form.bonusReport != "[]") {
let bonusArr = [];
bonusArr = JSON.parse(this.form.bonusReport);
let bonusarrText = responsed.data.data.filter((item) =>
bonusArr.includes(item.id)
);
this.form.bonusarrText = bonusarrText;
this.dict = { ...this.dict, ...response.dict };
this.$post("/perform/rules/list", {
page: 1,
size: -1,
}).then((responsed) => {
if (responsed.code == 1) {
this.dict = { ...this.dict, ...responsed.dict };
if (
this.form.bonusReport &&
this.form.bonusReport != "[]"
) {
let bonusArr = [];
bonusArr = JSON.parse(this.form.bonusReport);
let bonusarrText = responsed.data.data.filter((item) =>
bonusArr.includes(item.id)
);
this.form.bonusarrText = bonusarrText;
}
if (
this.form.deductStatement &&
this.form.deductStatement != "[]"
) {
let deductArr = [];
deductArr = JSON.parse(this.form.deductStatement);
let deductarrText = responsed.data.data.filter((item) =>
deductArr.includes(item.id)
);
this.form.deductarrText = deductarrText;
}
this.form.view = "查看";
this.open = true;
}
if (
this.form.deductStatement &&
this.form.deductStatement != "[]"
) {
let deductArr = [];
deductArr = JSON.parse(this.form.deductStatement);
let deductarrText = responsed.data.data.filter((item) =>
deductArr.includes(item.id)
);
this.form.deductarrText = deductarrText;
}
this.form.view = "查看";
this.open = true;
}
});
});
}
}
}
);
// this.$get("/perform/rules/list").then((response) => {
// if (response.code == 1) {
// console.log(response);
// }
// });
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.$get("/perform/rules/list").then((response) => {
// if (response.code == 1) {
// console.log(response);
// }
// });
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
? "红旗窗口"
: "黑旗窗口"
: "--",
});
})
.catch((error) => {
this.$message.error(error.message);
});
});
this.pageInfo.type = "view";
this.title = "市政务服务大厅窗口考核登记表";
},
......
......@@ -337,16 +337,20 @@ export default {
this.query = { id: row.id };
await this.$get("/window/workman/perform/info", {
id: row.recordId,
}).then((res) => {
if (res.code == 1) {
this.form = res.data;
this.dict = res.dict;
} else {
this.form = row;
}
this.form.view = "修改";
this.open = true;
});
})
.then((res) => {
if (res.code == 1) {
this.form = res.data;
this.dict = res.dict;
} else {
this.form = row;
}
this.form.view = "修改";
this.open = true;
})
.catch((error) => {
this.$message.error(error.message);
});
this.pageInfo.type = "edit";
this.title = "市政务服务大厅窗口工作人员考核汇总表";
// await this.$get("/check/window/workman/perform/info", {
......@@ -435,65 +439,79 @@ export default {
this.query = { id: row.id };
await this.$get("/check/window/workman/perform/info", {
id: row.id,
}).then((res) => {
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 };
})
.then((res) => {
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.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.$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.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.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;
})
.catch((error) => {
this.$message.error(error.message);
});
this.form.view = "查看";
this.open = true;
});
this.pageInfo.type = "view";
this.title = "市政务服务大厅窗口工作人员考核汇总表";
},
......
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