|
@@ -5,6 +5,15 @@
|
|
|
:operation="([operation0, operation1, operation2][pageLevel])()"
|
|
|
:expCode="['', 'workerExp', 'detailExp'][pageLevel]" :table-attributes="tableAttributes" :table-events="tableEvents"
|
|
|
:moreParameters="moreParameters" :column-parsing="columnParsing">
|
|
|
+ <div slot="moreSearch" v-if="pageLevel == 0">
|
|
|
+ <el-radio-group v-model="tagStatus" size="mini" @change="changeType">
|
|
|
+ <el-radio-button label="">全部</el-radio-button>
|
|
|
+ <el-radio-button label="NOT">未发放</el-radio-button>
|
|
|
+ <el-radio-button label="PART">部分发放</el-radio-button>
|
|
|
+ <el-radio-button label="END">已发放</el-radio-button>
|
|
|
+ </el-radio-group>
|
|
|
+ <br><br>
|
|
|
+ </div>
|
|
|
<div class="cartographer_big">
|
|
|
<el-dialog title="发放" width="100%" :modal="false" :visible.sync="formBool" :before-close="handleClose">
|
|
|
<zj-page-container v-if="formBool">
|
|
@@ -70,7 +79,8 @@ export default {
|
|
|
},
|
|
|
formBool: false,
|
|
|
evaluationColumns: [],
|
|
|
- evaluationData: []
|
|
|
+ evaluationData: [],
|
|
|
+ tagStatus: this?.pageCode || ""
|
|
|
}
|
|
|
},
|
|
|
computed: {
|
|
@@ -259,8 +269,26 @@ export default {
|
|
|
})
|
|
|
}
|
|
|
},
|
|
|
+ created(){
|
|
|
+ if(this.pageCode){
|
|
|
+ this.tagStatus = this?.pageCode
|
|
|
+ }
|
|
|
+ },
|
|
|
methods: {
|
|
|
- getList: settleMonthWagesGatherList,
|
|
|
+ changeType(val) {
|
|
|
+ this.$refs.pageRef.refreshList()
|
|
|
+ },
|
|
|
+ getList(p, cb) {
|
|
|
+ var pam = JSON.parse(JSON.stringify(p))
|
|
|
+ try {
|
|
|
+ if (this.tagStatus) {
|
|
|
+ pam.params.push({ "param": "a.status", "compare": "=", "value": this.tagStatus })
|
|
|
+ }
|
|
|
+ cb && cb(pam)
|
|
|
+ return settleMonthWagesGatherList(pam)
|
|
|
+ } catch (err) {
|
|
|
+ }
|
|
|
+ },
|
|
|
getList1(p, cb) {
|
|
|
var pam = JSON.parse(JSON.stringify(p))
|
|
|
try {
|