|
@@ -34,7 +34,10 @@
|
|
|
</el-form-item>
|
|
|
<el-form-item style="margin-left:20px;">
|
|
|
<el-button @click="batchApprove(true)" style="margin-left:10px;" :disabled="multipleSelection.length==0">批量通过</el-button>
|
|
|
- <el-button @click="batchApprove(false)" :disabled="multipleSelection.length==0">批量驳回</el-button>
|
|
|
+ <el-button @click="batchApprove(false)" :disabled="multipleSelection.length==0">批量驳回</el-button>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item style="margin-left:20px;">
|
|
|
+ <el-link type="primary" @click="recordList(),recordDialogVisible = true,pageIndexList = 1,pageSizeList = 20">审核记录</el-link>
|
|
|
</el-form-item>
|
|
|
|
|
|
</el-form>
|
|
@@ -147,6 +150,53 @@
|
|
|
style="float:right;"
|
|
|
></el-pagination>
|
|
|
</el-col> -->
|
|
|
+
|
|
|
+ <!-- 审核记录痰喘 -->
|
|
|
+ <el-dialog title="审核记录" :visible.sync="recordDialogVisible" width="800px" :before-close="handleClose">
|
|
|
+ <div style="height: 430px">
|
|
|
+ <el-table :data="recordLists" style="width: 100%" height="400">
|
|
|
+ <el-table-column prop="userName" label="操作人" width="150"></el-table-column>
|
|
|
+ <el-table-column prop="indate" label="审核时间"></el-table-column>
|
|
|
+ <el-table-column prop="result" label="审核结果"></el-table-column>
|
|
|
+ <el-table-column prop="date" label="员工" width="200">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <div>
|
|
|
+ <div v-if="scope.row.membdateList.length > 3">
|
|
|
+ <el-popover placement="top" width="400" trigger="hover">
|
|
|
+ <div>
|
|
|
+ <span v-for="(item, index) in scope.row.membdateList" :key="index">
|
|
|
+ {{item.userName}} <span v-if="scope.row.membdateList.length > 1 && scope.row.membdateList.length - 1 != index">,</span>
|
|
|
+ </span>
|
|
|
+ </div>
|
|
|
+ <div slot="reference" style="overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width: 320px;">
|
|
|
+ <span v-for="(item, index) in scope.row.membdateList" :key="index">
|
|
|
+ {{item.userName}} <span v-if="scope.row.membdateList.length > 1 && scope.row.membdateList.length - 1 != index">,</span>
|
|
|
+ </span>
|
|
|
+ </div>
|
|
|
+ </el-popover>
|
|
|
+ </div>
|
|
|
+ <div style="overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width: 240px;" v-else>
|
|
|
+ <span v-for="(item, index) in scope.row.membdateList" :key="index">
|
|
|
+ {{item.userName}} <span v-if="scope.row.membdateList.length > 1 && scope.row.membdateList.length - 1 != index">,</span>
|
|
|
+ </span>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ </el-table>
|
|
|
+ <el-col v-if="search.value != -1" :span="24" class="toolbar">
|
|
|
+ <el-pagination
|
|
|
+ @size-change="handleSizeChangeList"
|
|
|
+ @current-change="handleCurrentChangeList"
|
|
|
+ :page-sizes="[20 , 50 , 80 , 100]"
|
|
|
+ :page-size="20"
|
|
|
+ layout="total, sizes, prev, pager, next"
|
|
|
+ :total="totals"
|
|
|
+ style="float:right;"
|
|
|
+ ></el-pagination>
|
|
|
+ </el-col>
|
|
|
+ </div>
|
|
|
+ </el-dialog>
|
|
|
</section>
|
|
|
</template>
|
|
|
|
|
@@ -184,10 +234,43 @@
|
|
|
date: '',
|
|
|
dataFlg: 0,
|
|
|
dataFlgList:[{label: '日期', value: 0}, {label: '月份', value: 1}],
|
|
|
- yuefen: ''
|
|
|
+ yuefen: '',
|
|
|
+ recordDialogVisible: false,
|
|
|
+ recordLists: [],
|
|
|
+ totals: 0,
|
|
|
+ pageIndexList: 1,
|
|
|
+ pageSizeList: 20
|
|
|
};
|
|
|
},
|
|
|
methods: {
|
|
|
+ // 获取审核记录
|
|
|
+ recordList() {
|
|
|
+ // this.recordDialogVisible = true
|
|
|
+ // return
|
|
|
+ this.http.post( '/report-audit-log/getImportAuditLog', {
|
|
|
+ companyId: this.user.companyId,
|
|
|
+ pageIndex: this.pageIndexList,
|
|
|
+ pageSize: this.pageSizeList
|
|
|
+ },
|
|
|
+ res => {
|
|
|
+ if (res.code == "ok") {
|
|
|
+ console.log(res.data, '数据')
|
|
|
+ this.recordLists = res.data.records
|
|
|
+ this.totals = res.data.total
|
|
|
+ } else {
|
|
|
+ this.$message({
|
|
|
+ message: res.msg,
|
|
|
+ type: "error"
|
|
|
+ });
|
|
|
+ }
|
|
|
+ },
|
|
|
+ error => {
|
|
|
+ this.$message({
|
|
|
+ message: error,
|
|
|
+ type: "error"
|
|
|
+ });
|
|
|
+ });
|
|
|
+ },
|
|
|
dataFlgs() {
|
|
|
console.log(this.dataFlg)
|
|
|
if(this.search.dateType == 0) {
|
|
@@ -271,6 +354,17 @@
|
|
|
this.getList();
|
|
|
},
|
|
|
|
|
|
+ //分页
|
|
|
+ handleCurrentChangeList(val) {
|
|
|
+ this.pageIndexList = val;
|
|
|
+ this.recordList();
|
|
|
+ },
|
|
|
+
|
|
|
+ handleSizeChangeList(val) {
|
|
|
+ this.pageSizeList = val;
|
|
|
+ this.recordList();
|
|
|
+ },
|
|
|
+
|
|
|
//获取待审核的数据列表
|
|
|
getList() {
|
|
|
this.listLoading = true;
|