|
@@ -72,12 +72,14 @@
|
|
|
<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'
|
|
|
+ <auth auths="musicGroupPaymentCalender/auditPass">
|
|
|
+ <el-button
|
|
|
+ @click="typesStatus = true"
|
|
|
+ :disabled="!selList.length > 0"
|
|
|
type="primary"
|
|
|
- >批量审核</el-button>
|
|
|
+ >批量审核</el-button
|
|
|
+ >
|
|
|
+ </auth>
|
|
|
</el-form-item>
|
|
|
</save-form>
|
|
|
<div class="tableWrap">
|
|
@@ -86,7 +88,12 @@
|
|
|
:header-cell-style="{ background: '#EDEEF0', color: '#444' }"
|
|
|
@selection-change="handleSelectionChange"
|
|
|
>
|
|
|
- <el-table-column fixed="left" type="selection" width="55" :selectable="selectable"></el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ fixed="left"
|
|
|
+ type="selection"
|
|
|
+ width="55"
|
|
|
+ :selectable="selectable"
|
|
|
+ ></el-table-column>
|
|
|
<el-table-column align="center" prop="organName" label="分部名称">
|
|
|
<template slot-scope="scope">
|
|
|
<copy-text>{{ scope.row.organName }}</copy-text>
|
|
@@ -110,7 +117,7 @@
|
|
|
prop="musicGroupId"
|
|
|
label="乐团编号"
|
|
|
>
|
|
|
- <template slot-scope="scope">
|
|
|
+ <template slot-scope="scope">
|
|
|
<copy-text>{{ scope.row.musicGroupId }}</copy-text>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
@@ -212,13 +219,11 @@
|
|
|
fixed="right"
|
|
|
>
|
|
|
<template slot-scope="scope">
|
|
|
- <el-button
|
|
|
- v-permission="'musicGroupPaymentCalender/auditListDetail'"
|
|
|
- @click="lookDetail(scope.row)"
|
|
|
- type="text"
|
|
|
- >
|
|
|
- {{ scope.row.auditStatus === "AUDITING" ? "审核" : "查看" }}
|
|
|
- </el-button>
|
|
|
+ <auth auths="musicGroupPaymentCalender/auditListDetail">
|
|
|
+ <el-button @click="lookDetail(scope.row)" type="text">
|
|
|
+ {{ scope.row.auditStatus === "AUDITING" ? "审核" : "查看" }}
|
|
|
+ </el-button>
|
|
|
+ </auth>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
@@ -246,7 +251,11 @@
|
|
|
:visible.sync="typesStatus"
|
|
|
destroy-on-close
|
|
|
>
|
|
|
- <audit :selList="selList" @close="typesStatus = false" @submited="submited" />
|
|
|
+ <audit
|
|
|
+ :selList="selList"
|
|
|
+ @close="typesStatus = false"
|
|
|
+ @submited="submited"
|
|
|
+ />
|
|
|
</el-dialog>
|
|
|
</div>
|
|
|
</template>
|
|
@@ -296,7 +305,7 @@ export default {
|
|
|
},
|
|
|
methods: {
|
|
|
selectable(row, index) {
|
|
|
- return row.auditStatus == 'AUDITING';
|
|
|
+ return row.auditStatus == "AUDITING";
|
|
|
},
|
|
|
search() {
|
|
|
this.pageInfo.page = 1;
|
|
@@ -308,7 +317,7 @@ export default {
|
|
|
this.searchForm = { ...initSearch };
|
|
|
this.search();
|
|
|
},
|
|
|
- handleSelectionChange(arr){
|
|
|
+ handleSelectionChange(arr) {
|
|
|
this.selList = arr;
|
|
|
},
|
|
|
getList() {
|
|
@@ -337,8 +346,8 @@ export default {
|
|
|
this.typeStatus = true;
|
|
|
},
|
|
|
submited() {
|
|
|
- this.pageInfo.page = 1
|
|
|
- this.getList()
|
|
|
+ this.pageInfo.page = 1;
|
|
|
+ this.getList();
|
|
|
},
|
|
|
close() {
|
|
|
this.typeStatus = false;
|