|
@@ -6,7 +6,7 @@
|
|
|
考勤申诉
|
|
|
</h2>
|
|
|
<div class="m-core">
|
|
|
- <el-form :inline="true" :model="searchForm">
|
|
|
+ <save-form :inline="true" :model.sync="searchForm" ref='searchForm'>
|
|
|
<el-form-item>
|
|
|
<el-input
|
|
|
v-model.trim="searchForm.search"
|
|
@@ -60,7 +60,7 @@
|
|
|
<el-button type="danger" @click="search">搜索</el-button>
|
|
|
<el-button @click="onReSet" type="primary">重置</el-button>
|
|
|
</el-form-item>
|
|
|
- </el-form>
|
|
|
+ </save-form>
|
|
|
<div class="tableWrap">
|
|
|
<el-table
|
|
|
style="width: 100%"
|
|
@@ -125,6 +125,13 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
+ <el-table-column align="center" label="修复记录">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <div>
|
|
|
+ {{ scope.row.updateAttendanceEnum | updateAttendanceEnum }}
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
<el-table-column
|
|
|
align="center"
|
|
|
prop="operatorName"
|
|
@@ -145,7 +152,8 @@
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
<pagination
|
|
|
- :total="rules.total"
|
|
|
+ sync
|
|
|
+ :total.sync="rules.total"
|
|
|
:page.sync="rules.page"
|
|
|
:limit.sync="rules.limit"
|
|
|
:page-sizes="rules.page_size"
|
|
@@ -189,7 +197,10 @@
|
|
|
></el-input>
|
|
|
</el-form-item>
|
|
|
<!-- -->
|
|
|
- <el-form-item label="请选择需要补正的状态" v-if="visibleForm.complaintsStatusEnum == '2'">
|
|
|
+ <el-form-item
|
|
|
+ label="请选择需要补正的状态"
|
|
|
+ v-if="visibleForm.complaintsStatusEnum == '2'"
|
|
|
+ >
|
|
|
<br />
|
|
|
<el-checkbox
|
|
|
v-model="visibleForm.reSignInStatus"
|
|
@@ -308,6 +319,8 @@ export default {
|
|
|
},
|
|
|
search() {
|
|
|
this.rules.page = 1;
|
|
|
+ this.$refs.searchForm.save(this.searchForm);
|
|
|
+ this.$refs.searchForm.save(this.pageInfo, "page");
|
|
|
this.getList();
|
|
|
},
|
|
|
onReSet() {
|
|
@@ -370,7 +383,7 @@ export default {
|
|
|
let obj = {};
|
|
|
obj.content = this.visibleForm.disposeContent;
|
|
|
obj.teacherAttendanceId = this.visibleForm.teacherAttendanceId;
|
|
|
- this.$confirm('驳回申诉', "是否", {
|
|
|
+ this.$confirm("驳回申诉", "是否", {
|
|
|
confirmButtonText: "确定",
|
|
|
cancelButtonText: "取消",
|
|
|
type: "warning",
|
|
@@ -401,7 +414,7 @@ export default {
|
|
|
teacherAttendanceId: row.teacherAttendanceId,
|
|
|
// reSignInStatus: row.signInStatus == 1 ? true : false,
|
|
|
// reSignOutStatus: row.signOutStatus == 1 ? true : false,
|
|
|
- reSignInStatus: null,
|
|
|
+ reSignInStatus: null,
|
|
|
reSignOutStatus: null,
|
|
|
};
|
|
|
this.dialogVisible = true;
|