|
@@ -72,14 +72,21 @@
|
|
|
<el-form-item>
|
|
|
<el-button @click="search" type="primary">搜索</el-button>
|
|
|
<el-button @click="reset" type="danger">重置</el-button>
|
|
|
+ <el-button
|
|
|
+ v-permission="'musicGroupPaymentCalender/auditPass'"
|
|
|
+ @click="typesStatus = true"
|
|
|
+ :disabled='!selList.length>0'
|
|
|
+ type="primary"
|
|
|
+ >批量审核</el-button>
|
|
|
</el-form-item>
|
|
|
</save-form>
|
|
|
<div class="tableWrap">
|
|
|
<el-table
|
|
|
:data="tableList"
|
|
|
:header-cell-style="{ background: '#EDEEF0', color: '#444' }"
|
|
|
+ @selection-change="handleSelectionChange"
|
|
|
>
|
|
|
- <!-- <el-table-column type="selection" width="55"></el-table-column> -->
|
|
|
+ <el-table-column type="selection" width="55"></el-table-column>
|
|
|
<el-table-column align="center" prop="organName" label="分部名称">
|
|
|
<template slot-scope="scope">
|
|
|
<copy-text>{{ scope.row.organName }}</copy-text>
|
|
@@ -233,11 +240,20 @@
|
|
|
>
|
|
|
<review :detail="detail" @close="close" />
|
|
|
</el-dialog>
|
|
|
+ <el-dialog
|
|
|
+ title="批量审核"
|
|
|
+ width="700px"
|
|
|
+ :visible.sync="typesStatus"
|
|
|
+ destroy-on-close
|
|
|
+ >
|
|
|
+ <audit :selList="selList" @close="typesStatus = false" @submited="submited" />
|
|
|
+ </el-dialog>
|
|
|
</div>
|
|
|
</template>
|
|
|
<script>
|
|
|
import pagination from "@/components/Pagination/index";
|
|
|
import review from "@/views/resetTeaming/modals/review.vue";
|
|
|
+import audit from "./audit.vue";
|
|
|
// import store from '@/store'
|
|
|
import { getAuditList, getAuditListDetail } from "@/api/auditManager";
|
|
|
import { getEmployeeOrgan } from "@/api/buildTeam";
|
|
@@ -251,10 +267,12 @@ const initSearch = {
|
|
|
organId: null,
|
|
|
};
|
|
|
export default {
|
|
|
- components: { pagination, Tooltip, review },
|
|
|
+ components: { pagination, Tooltip, review, audit },
|
|
|
name: "helpCategory",
|
|
|
data() {
|
|
|
return {
|
|
|
+ typesStatus: false,
|
|
|
+ selList: [],
|
|
|
paymentTypeList: auditPaymentTypeList,
|
|
|
organList: [],
|
|
|
statusList: auditTypeList,
|
|
@@ -287,6 +305,9 @@ export default {
|
|
|
this.searchForm = { ...initSearch };
|
|
|
this.search();
|
|
|
},
|
|
|
+ handleSelectionChange(arr){
|
|
|
+ this.selList = arr;
|
|
|
+ },
|
|
|
getList() {
|
|
|
let params = {
|
|
|
page: this.pageInfo.page,
|
|
@@ -312,6 +333,10 @@ export default {
|
|
|
};
|
|
|
this.typeStatus = true;
|
|
|
},
|
|
|
+ submited() {
|
|
|
+ this.pageInfo.page = 1
|
|
|
+ this.getList()
|
|
|
+ },
|
|
|
close() {
|
|
|
this.typeStatus = false;
|
|
|
this.getList();
|