Commit 761cc463 authored by 姬鋆屾's avatar 姬鋆屾

parent 0c041df2
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
}}</el-col }}</el-col
> >
<el-col :span="8" <el-col :span="8"
>异常时间:{{ formatterDate(form.errorTime)}}</el-col >异常时间:{{ formatterDate(form.errorTime) }}</el-col
> >
<el-col :span="8" <el-col :span="8"
>上下班时间:{{ >上下班时间:{{
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="10" <el-col :span="10"
>实际打卡时间:{{formatterDate(form.actualAttendTime)}}</el-col >实际打卡时间:{{ formatterDate(form.actualAttendTime) }}</el-col
> >
<el-col :span="9" <el-col :span="9"
>异常结果:{{ >异常结果:{{
...@@ -54,15 +54,15 @@ ...@@ -54,15 +54,15 @@
> >
<el-col :span="5" <el-col :span="5"
>加分/扣分方式:{{ >加分/扣分方式:{{
form.subAddType ? form.subAddType : "--" form.subAddType
? util_formatter("subAddType", form.subAddType)
: "--"
}}</el-col }}</el-col
> >
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="8" <el-col :span="8"
>加分/扣分时间:{{ >加分/扣分时间:{{ formatterDate(form.deductTime) }}</el-col
formatterDate(form.deductTime)
}}</el-col
> >
<el-col :span="8" <el-col :span="8"
>加分/扣分人员:{{ >加分/扣分人员:{{
...@@ -78,7 +78,9 @@ ...@@ -78,7 +78,9 @@
<el-row> <el-row>
<el-col :span="8" <el-col :span="8"
>核查结果:{{ >核查结果:{{
form.checkResult ? form.checkResult : "--" form.checkResult
? util_formatter("checkResult", form.checkResult)
: "--"
}}</el-col }}</el-col
> >
<el-col :span="8" <el-col :span="8"
...@@ -113,7 +115,7 @@ ...@@ -113,7 +115,7 @@
>申诉说明:{{ form.appealDesc ? form.appealDesc : "--" }}</el-col >申诉说明:{{ form.appealDesc ? form.appealDesc : "--" }}</el-col
> >
<el-col :span="24" <el-col :span="24"
>申诉时间:{{ formatterDate(form.appealTime)}}</el-col >申诉时间:{{ formatterDate(form.appealTime) }}</el-col
> >
<el-col :span="24" <el-col :span="24"
>申诉附件: >申诉附件:
...@@ -141,11 +143,15 @@ ...@@ -141,11 +143,15 @@
<el-row> <el-row>
<el-col :span="8" <el-col :span="8"
>申诉结果:{{ >申诉结果:{{
form.appealResult ? form.appealResult : "--" form.appealResult
? util_formatter("appealResult", form.appealResult)
: "--"
}}</el-col }}</el-col
> >
<el-col :span="8" <el-col :span="8"
>处理人员{{util_formatter('updateUserId',form.updateUserId+"")}}</el-col >处理人员:{{
util_formatter("updateUserId", form.updateUserId + "")
}}</el-col
> >
<el-col :span="8" <el-col :span="8"
>处理时间: {{ formatterDate(form.updateTime) }}</el-col >处理时间: {{ formatterDate(form.updateTime) }}</el-col
...@@ -479,14 +485,19 @@ export default { ...@@ -479,14 +485,19 @@ export default {
// 是否显示弹出层 // 是否显示弹出层
open: false, open: false,
direction: "rtl", direction: "rtl",
toString: ["subMethod", "subAddType", "processStatus", "appealResult", "updateUserId"], toString: [
"subMethod",
"subAddType",
"processStatus",
"appealResult",
"updateUserId",
],
toDate: [ toDate: [
"attendanceDate", "attendanceDate",
"errorTime", "errorTime",
"actualAttendTime", "actualAttendTime",
"checkTime", "checkTime",
"appealTime", "appealTime",
], ],
// 表单校验 // 表单校验
rules: { rules: {
...@@ -581,39 +592,14 @@ export default { ...@@ -581,39 +592,14 @@ export default {
this.$get("/perform/attend/appeal/info", { id: row.id }).then((res) => { this.$get("/perform/attend/appeal/info", { id: row.id }).then((res) => {
if (res.code == 1) { if (res.code == 1) {
this.form = res.data; this.form = res.data;
this.dict = res.dict;
} else { } else {
this.reset(); this.reset();
} }
for (let key in this.form) {
key == "actualAttendTime"
? (this.form[key] = timestampToTime(this.form[key], 6))
: key == "attendanceDate"
? (this.form[key] = timestampToTime(this.form[key], 6))
: key == "createTime"
? (this.form[key] = timestampToTime(this.form[key], 6))
: key == "errorTime"
? (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))
: key == "appealTime"
? (this.form[key] = timestampToTime(this.form[key], 6))
: key == "complainTime"
? (this.form[key] = timestampToTime(this.form[key], 6))
: key == "happenTime"
? (this.form[key] = timestampToTime(this.form[key], 6))
: key == "alarmTime"
? (this.form[key] = timestampToTime(this.form[key], 6))
: key == "alarmTime"
? (this.form[key] = timestampToTime(this.form[key], 6))
: "";
}
this.form.appealResult = ""; this.form.appealResult = "";
this.form.processStatus = 2; // this.form.processStatus = 2;
this.form.remark = ""; this.form.remark = "";
this.form.view = "核查";
this.open = true; this.open = true;
}); });
this.pageInfo.type = "edit"; this.pageInfo.type = "edit";
......
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