Commit 4535ed3f authored by 姬鋆屾's avatar 姬鋆屾

parent 47ca8729
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
</div> </div>
<div class="item"> <div class="item">
<div>出勤率</div> <div>出勤率</div>
<div>{{ homeStat.attendRadio }}%</div> <div>{{ homeStat.attendRadio }}</div>
</div> </div>
<div class="item"> <div class="item">
<div>请假人数</div> <div>请假人数</div>
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
--> -->
<!-- 处理异常状态 --> <!-- 处理异常状态 -->
<el-select v-model="dealParams.errorStatus"> <el-select v-model="dealParams.processResult">
<el-option <el-option
v-for="($label, $value) in dict.errorStatus" v-for="($label, $value) in dict.errorStatus"
:key="$value" :key="$value"
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
</el-option> </el-option>
</el-select> </el-select>
<!-- 早退/迟到 --> <!-- 早退/迟到 -->
<el-input <!-- <el-input
style="width:220px" style="width:220px"
placeholder="请输入数字" placeholder="请输入数字"
:maxlength="4" :maxlength="4"
...@@ -48,17 +48,17 @@ ...@@ -48,17 +48,17 @@
type="number" type="number"
> >
<template slot="append">分钟</template> <template slot="append">分钟</template>
</el-input> </el-input> -->
</div> </div>
<div class="mt10"> <div class="mt10">
<span>处理结果</span> <span>备注</span>
<el-input <el-input
placeholder="请输入处理结果" placeholder="请输入备注"
type="textarea" type="textarea"
show-word-limit show-word-limit
class="mt10" class="mt10"
:maxlength="50" :maxlength="50"
v-model="dealParams.processResult" v-model="dealParams.remark"
></el-input> ></el-input>
</div> </div>
</div> </div>
...@@ -96,7 +96,7 @@ export default { ...@@ -96,7 +96,7 @@ export default {
remark: "", remark: "",
errorStatus: null, errorStatus: null,
durtion: 0, durtion: 0,
processResult: "", processResult: null,
recordErrorEntities: [], //处理员工 recordErrorEntities: [], //处理员工
processStatus: 1, //处理状态 processStatus: 1, //处理状态
}, },
...@@ -146,17 +146,17 @@ export default { ...@@ -146,17 +146,17 @@ export default {
}, },
// 保存 // 保存
saveForm() { saveForm() {
if (this.dealParams.errorStatus == "") { if (this.dealParams.processResult == "") {
this.$message.error("请选择处理结果"); this.$message.error("请选择处理结果");
return; return;
} }
this.dealParams.errorStatus = this.dealParams.errorStatus; this.dealParams.processResult = this.dealParams.processResult;
if ( if (
this.duration && this.duration &&
(this.dealParams.errorStatus == "1" || (this.dealParams.errorStatus == "1" ||
this.dealParams.errorStatus == "2") this.dealParams.errorStatus == "2")
) { ) {
this.dealParams.errorStatus = this.dealParams.processResult =
this.dict.errorStatus[this.dealParams.errorStatus] + this.dict.errorStatus[this.dealParams.errorStatus] +
this.duration + this.duration +
"分钟"; "分钟";
......
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