|
@@ -6,7 +6,7 @@
|
|
|
<a href="#">系统管理</a>
|
|
<a href="#">系统管理</a>
|
|
|
</el-breadcrumb-item>
|
|
</el-breadcrumb-item>
|
|
|
<el-breadcrumb-item>
|
|
<el-breadcrumb-item>
|
|
|
- <a href="#">异地打卡记录</a>
|
|
|
|
|
|
|
+ <a href="#">外勤打卡记录</a>
|
|
|
</el-breadcrumb-item>
|
|
</el-breadcrumb-item>
|
|
|
</el-breadcrumb>
|
|
</el-breadcrumb>
|
|
|
<el-divider></el-divider>
|
|
<el-divider></el-divider>
|
|
@@ -57,7 +57,12 @@
|
|
|
</el-form>
|
|
</el-form>
|
|
|
<el-divider></el-divider>
|
|
<el-divider></el-divider>
|
|
|
<el-row class="button-group"></el-row>
|
|
<el-row class="button-group"></el-row>
|
|
|
- <el-table :data="tableData" style="min-height:400px;" v-loading="loading" stripe>
|
|
|
|
|
|
|
+ <el-table
|
|
|
|
|
+ ref="formTable"
|
|
|
|
|
+ :data="tableData"
|
|
|
|
|
+ :height="tableHeight"
|
|
|
|
|
+ v-loading="loading"
|
|
|
|
|
+ stripe>
|
|
|
<el-table-column type="index" label="序号" :index="indexMethod" width="50"></el-table-column>
|
|
<el-table-column type="index" label="序号" :index="indexMethod" width="50"></el-table-column>
|
|
|
<el-table-column prop="personName" label="申请人" width="120"></el-table-column>
|
|
<el-table-column prop="personName" label="申请人" width="120"></el-table-column>
|
|
|
<el-table-column prop="companyName" label="申请单位" width="180"></el-table-column>
|
|
<el-table-column prop="companyName" label="申请单位" width="180"></el-table-column>
|
|
@@ -67,7 +72,7 @@
|
|
|
<el-table-column prop="content" label="内容" width="180" show-overflow-tooltip></el-table-column>
|
|
<el-table-column prop="content" label="内容" width="180" show-overflow-tooltip></el-table-column>
|
|
|
<el-table-column prop="approvalPersonName" label="审批人" width="120"></el-table-column>
|
|
<el-table-column prop="approvalPersonName" label="审批人" width="120"></el-table-column>
|
|
|
<el-table-column prop="statusN" label="审批状态" width="80"></el-table-column>
|
|
<el-table-column prop="statusN" label="审批状态" width="80"></el-table-column>
|
|
|
- <el-table-column label>
|
|
|
|
|
|
|
+ <el-table-column fixed="right" width="150" label="操作">
|
|
|
<template slot-scope="{row}">
|
|
<template slot-scope="{row}">
|
|
|
<el-button size="mini" type="warning" @click="handleOpenFiles(row)">查看附件</el-button>
|
|
<el-button size="mini" type="warning" @click="handleOpenFiles(row)">查看附件</el-button>
|
|
|
</template>
|
|
</template>
|
|
@@ -94,6 +99,7 @@ import Constant from "@/constant";
|
|
|
import fillAttendanceApi from "@/api/business/fillAttendance";
|
|
import fillAttendanceApi from "@/api/business/fillAttendance";
|
|
|
import dataDictionaryApi from "@/api/sys/dataDictionary";
|
|
import dataDictionaryApi from "@/api/sys/dataDictionary";
|
|
|
import companyInfoApi from "@/api/base/companyInfo";
|
|
import companyInfoApi from "@/api/base/companyInfo";
|
|
|
|
|
+import pageUtil from "@/utils/page";
|
|
|
|
|
|
|
|
import SelectTree from "@/components/SelectTree";
|
|
import SelectTree from "@/components/SelectTree";
|
|
|
import NProgress from "nprogress"; // progress bar
|
|
import NProgress from "nprogress"; // progress bar
|
|
@@ -141,7 +147,8 @@ export default {
|
|
|
value: "id",
|
|
value: "id",
|
|
|
label: "name",
|
|
label: "name",
|
|
|
children: "children"
|
|
children: "children"
|
|
|
- }
|
|
|
|
|
|
|
+ },
|
|
|
|
|
+ tableHeight: 400
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
created() {
|
|
created() {
|
|
@@ -162,6 +169,10 @@ export default {
|
|
|
});
|
|
});
|
|
|
|
|
|
|
|
this.loadTree();
|
|
this.loadTree();
|
|
|
|
|
+
|
|
|
|
|
+ setTimeout(()=>{
|
|
|
|
|
+ this.tableHeight = pageUtil.autoAdjustHeight(this.$refs.formTable.$el);
|
|
|
|
|
+ },1000);
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
getSelectedValue(value) {
|
|
getSelectedValue(value) {
|