|  | @@ -1,19 +1,29 @@
 | 
	
		
			
				|  |  |  <template>
 | 
	
		
			
				|  |  |    <div class="m-container">
 | 
	
		
			
				|  |  | -    <h2>提现列表</h2>
 | 
	
		
			
				|  |  | +    <h2><div class="squrt"></div>提现列表</h2>
 | 
	
		
			
				|  |  |      <div class="m-core">
 | 
	
		
			
				|  |  |        <!-- 搜索类型 -->
 | 
	
		
			
				|  |  | -      <!-- <el-form :inline="true"
 | 
	
		
			
				|  |  | -              class="searchForm"
 | 
	
		
			
				|  |  | -              v-model="searchForm">
 | 
	
		
			
				|  |  | -        <el-form-item>
 | 
	
		
			
				|  |  | -          <el-select v-model="searchForm.status"
 | 
	
		
			
				|  |  | -                    placeholder="工作类型">
 | 
	
		
			
				|  |  | -            <el-option label="哈哈哈"
 | 
	
		
			
				|  |  | -                      value="1"></el-option>
 | 
	
		
			
				|  |  | +      <el-form :inline="true"
 | 
	
		
			
				|  |  | +               class="searchForm"
 | 
	
		
			
				|  |  | +               v-model="searchForm">
 | 
	
		
			
				|  |  | +        <el-form-item prop='organId'>
 | 
	
		
			
				|  |  | +          <el-select class='multiple'
 | 
	
		
			
				|  |  | +                     v-model="searchForm.organId"
 | 
	
		
			
				|  |  | +                     clearable
 | 
	
		
			
				|  |  | +                     placeholder="请选择分部">
 | 
	
		
			
				|  |  | +            <el-option v-for="(item,index) in organList"
 | 
	
		
			
				|  |  | +                       :key="index"
 | 
	
		
			
				|  |  | +                       :label="item.name"
 | 
	
		
			
				|  |  | +                       :value="item.id"></el-option>
 | 
	
		
			
				|  |  |            </el-select>
 | 
	
		
			
				|  |  |          </el-form-item>
 | 
	
		
			
				|  |  | -      </el-form> -->
 | 
	
		
			
				|  |  | +        <el-form-item>
 | 
	
		
			
				|  |  | +          <el-button @click="getList"
 | 
	
		
			
				|  |  | +                     type="danger">搜索</el-button>
 | 
	
		
			
				|  |  | +          <!-- <el-button @click="onReSet"
 | 
	
		
			
				|  |  | +                     type="primary">重置</el-button> -->
 | 
	
		
			
				|  |  | +        </el-form-item>
 | 
	
		
			
				|  |  | +      </el-form>
 | 
	
		
			
				|  |  |        <!-- 列表 -->
 | 
	
		
			
				|  |  |        <div class="tableWrap">
 | 
	
		
			
				|  |  |          <el-table :data='tableList' :header-cell-style="{background:'#EDEEF0',color:'#444'}">
 | 
	
	
		
			
				|  | @@ -87,6 +97,7 @@
 | 
	
		
			
				|  |  |  <script>
 | 
	
		
			
				|  |  |  import pagination from '@/components/Pagination/index'
 | 
	
		
			
				|  |  |  import { studentWithdraw, studentWithdrawConfirm } from '@/api/orderManager'
 | 
	
		
			
				|  |  | +import { getEmployeeOrgan } from '@/api/buildTeam'
 | 
	
		
			
				|  |  |  import store from '@/store'
 | 
	
		
			
				|  |  |  import { orderStatus, dealStatus } from '@/utils/searchArray'
 | 
	
		
			
				|  |  |  export default {
 | 
	
	
		
			
				|  | @@ -95,9 +106,10 @@ export default {
 | 
	
		
			
				|  |  |    data () {
 | 
	
		
			
				|  |  |      return {
 | 
	
		
			
				|  |  |        searchForm: {
 | 
	
		
			
				|  |  | -        status: ''
 | 
	
		
			
				|  |  | +        organId: null
 | 
	
		
			
				|  |  |        },
 | 
	
		
			
				|  |  |        tableList: [],
 | 
	
		
			
				|  |  | +      organList: [],
 | 
	
		
			
				|  |  |        pageInfo: {
 | 
	
		
			
				|  |  |          // 分页规则
 | 
	
		
			
				|  |  |          limit: 10, // 限制显示条数
 | 
	
	
		
			
				|  | @@ -108,14 +120,19 @@ export default {
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |    },
 | 
	
		
			
				|  |  |    mounted() {
 | 
	
		
			
				|  |  | +    getEmployeeOrgan().then(res => {
 | 
	
		
			
				|  |  | +      if (res.code == 200) {
 | 
	
		
			
				|  |  | +        this.organList = res.data;
 | 
	
		
			
				|  |  | +      }
 | 
	
		
			
				|  |  | +    })
 | 
	
		
			
				|  |  |      this.getList()
 | 
	
		
			
				|  |  |    },
 | 
	
		
			
				|  |  |    methods: {
 | 
	
		
			
				|  |  |      getList () {
 | 
	
		
			
				|  |  | -      studentWithdraw({
 | 
	
		
			
				|  |  | -        rows: this.pageInfo.limit,
 | 
	
		
			
				|  |  | -        page: this.pageInfo.page
 | 
	
		
			
				|  |  | -      }).then(res => {
 | 
	
		
			
				|  |  | +      let params = this.searchForm
 | 
	
		
			
				|  |  | +      params.rows = this.pageInfo.limit
 | 
	
		
			
				|  |  | +      params.page = this.pageInfo.page
 | 
	
		
			
				|  |  | +      studentWithdraw(params).then(res => {
 | 
	
		
			
				|  |  |          let result = res.data
 | 
	
		
			
				|  |  |          if(res.code == 200) {
 | 
	
		
			
				|  |  |            this.tableList = result.rows
 |