|
|
@@ -0,0 +1,98 @@
|
|
|
+<template>
|
|
|
+ <div>
|
|
|
+ <basicLayout
|
|
|
+ ref="basicLayout"
|
|
|
+ formPath="commissionDistribution"
|
|
|
+ tableName="commissionTable"
|
|
|
+ idName="sa_hrpayapplyid"
|
|
|
+ :apiId="{query:20240117105404,del:''}"
|
|
|
+ :isExport="false"
|
|
|
+ :detail-path="{path:'/commissionDistributionDetail'}"
|
|
|
+ >
|
|
|
+ <template #custom >
|
|
|
+ <div class="mt-10">
|
|
|
+ <label class="search__label">状态:</label>
|
|
|
+ <el-select class="inline-24" v-model="status" placeholder="请选择状态" @change="selectChange" size="small" clearable>
|
|
|
+ <el-option label="新建" value="新建"></el-option>
|
|
|
+ <el-option label="审核" value="审核"></el-option>
|
|
|
+ </el-select>
|
|
|
+ </div>
|
|
|
+ <div class="mt-10">
|
|
|
+ <label class="search__label">创建时间:</label>
|
|
|
+ <el-date-picker
|
|
|
+ v-model="createDate"
|
|
|
+ size="small"
|
|
|
+ style="margin-right: 24px!important;"
|
|
|
+ value-format="yyyy-MM-dd"
|
|
|
+ format="yyyy-MM-dd"
|
|
|
+ type="daterange"
|
|
|
+ @change="selectChange"
|
|
|
+ range-separator="至"
|
|
|
+ start-placeholder="开始日期"
|
|
|
+ end-placeholder="结束日期">
|
|
|
+ </el-date-picker>
|
|
|
+ </div>
|
|
|
+ <div class="mt-10">
|
|
|
+ <label class="search__label">发放时间:</label>
|
|
|
+ <el-date-picker
|
|
|
+ v-model="checkDate"
|
|
|
+ size="small"
|
|
|
+ style="margin-right: 24px!important;"
|
|
|
+ value-format="yyyy-MM-dd"
|
|
|
+ format="yyyy-MM-dd"
|
|
|
+ type="daterange"
|
|
|
+ @change="selectChange"
|
|
|
+ range-separator="至"
|
|
|
+ start-placeholder="开始日期"
|
|
|
+ end-placeholder="结束日期">
|
|
|
+ </el-date-picker>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ <template v-slot:tbList="scope">
|
|
|
+ <div>
|
|
|
+ {{scope.data.column.data[[scope.data.column.columnname]] && scope.data.column.columnname !== 'operation'?scope.data.column.data[[scope.data.column.columnname]]:'--'}}
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </basicLayout>
|
|
|
+ </div>
|
|
|
+</template>
|
|
|
+
|
|
|
+<script>
|
|
|
+export default {
|
|
|
+ name: "index",
|
|
|
+ data(){
|
|
|
+ return {
|
|
|
+ status:'',
|
|
|
+ createDate:[],
|
|
|
+ checkDate:[]
|
|
|
+ }
|
|
|
+ },
|
|
|
+ methods:{
|
|
|
+ listData(){
|
|
|
+ this.$refs.basicLayout.listData()
|
|
|
+ },
|
|
|
+ selectChange(){
|
|
|
+ this.$refs.basicLayout.param.content.where.status = this.status
|
|
|
+ if (this.createDate){
|
|
|
+ this.$refs.basicLayout.param.content.where.begdate = this.createDate[0]
|
|
|
+ this.$refs.basicLayout.param.content.where.enddate = this.createDate[1]
|
|
|
+ }else {
|
|
|
+ this.$refs.basicLayout.param.content.where.begdate = ''
|
|
|
+ this.$refs.basicLayout.param.content.where.enddate = ''
|
|
|
+ }
|
|
|
+ if (this.checkDate){
|
|
|
+ this.$refs.basicLayout.param.content.where.chbegdate = this.checkDate[0]
|
|
|
+ this.$refs.basicLayout.param.content.where.chenddate = this.checkDate[1]
|
|
|
+ }else {
|
|
|
+ this.$refs.basicLayout.param.content.where.chbegdate = ''
|
|
|
+ this.$refs.basicLayout.param.content.where.chenddate = ''
|
|
|
+ }
|
|
|
+ this.listData()
|
|
|
+ }
|
|
|
+ },
|
|
|
+}
|
|
|
+</script>
|
|
|
+
|
|
|
+<style scoped>
|
|
|
+
|
|
|
+</style>
|