|
|
@@ -12,101 +12,36 @@
|
|
|
<el-tag type="" size="small" class="no-border">{{scope.row.PERIOD_NUM}}</el-tag>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
+
|
|
|
<el-table-column :label="$t('bonus.bonusMonth')" width="110"><!-- 所在结算月 -->
|
|
|
<template slot-scope="scope">
|
|
|
<el-tag type="warning" size="small" class="no-border">{{scope.row.CALC_YEAR}}-{{scope.row.CALC_MONTH}}
|
|
|
</el-tag>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column :label="$t('bonus.timeframe')" width="260"><!-- 时间范围 -->
|
|
|
- <template slot-scope="scope">
|
|
|
- <!-- 应开始于 -->{{ $t('bonus.shouldStartOn') }}:{{getWatTime(scope.row.START_TIME)}}<br/>
|
|
|
- <!-- 应结束于 -->{{ $t('bonus.shouldEndOn') }}:{{getWatTime(scope.row.END_TIME)}}
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
-<!-- <el-table-column :label="$t('bonus.closingTime')" width="180"><!– 封期时间 –>-->
|
|
|
-<!-- <template slot-scope="scope">-->
|
|
|
-<!-- {{getWatTime(scope.row.CLOSED_AT)}}-->
|
|
|
-<!-- </template>-->
|
|
|
-<!-- </el-table-column>-->
|
|
|
-<!-- <el-table-column label="Performance sheet progress" width="90"><!– 业绩单进度 –>-->
|
|
|
-<!-- <template slot-scope="scope">-->
|
|
|
-<!-- <el-progress type="circle" :percentage="Number.parseInt(percentList['PERF_PERCENT'][scope.row.ID])"-->
|
|
|
-<!-- :width="50" :stroke-width="3"></el-progress>-->
|
|
|
-<!-- </template>-->
|
|
|
-<!-- </el-table-column>-->
|
|
|
-<!-- <el-table-column :label="$t('bonus.timeOfGeneratingPerformanceSheet')" width="230"><!– 生成业绩单时间 –>-->
|
|
|
-<!-- <template slot-scope="scope">-->
|
|
|
-<!-- <!– 开始 –>{{ $t('bonus.start') }}:{{getWatTime(scope.row.PERF_STARTED_AT)}}<br>-->
|
|
|
-<!-- <!– 完成 –>{{ $t('bonus.complete') }}:{{getWatTime(scope.row.PERFED_AT)}}-->
|
|
|
-<!-- </template>-->
|
|
|
-<!-- </el-table-column>-->
|
|
|
-<!-- <el-table-column label="Settlement progress" width="80"><!– 结算进度 –>-->
|
|
|
-<!-- <template slot-scope="scope">-->
|
|
|
-<!-- <el-progress type="circle" :percentage="Number.parseInt(percentList['CALC_PERCENT'][scope.row.ID])"-->
|
|
|
-<!-- :width="50" :stroke-width="3"></el-progress>-->
|
|
|
-<!-- </template>-->
|
|
|
-<!-- </el-table-column>-->
|
|
|
+
|
|
|
<el-table-column :label="$t('bonus.settlementDate')" width="230"><!-- 结算时间 -->
|
|
|
<template slot-scope="scope">
|
|
|
- <!-- 开始 -->{{ $t('bonus.start') }}:{{getWatTime(scope.row.CALCULATE_STARTED_AT)}}<br>
|
|
|
- <!-- 完成 -->{{ $t('bonus.complete') }}:{{getWatTime(scope.row.CALCULATED_AT)}}
|
|
|
+ {{ getWatTime(scope.row.CALCULATED_AT) }}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
-<!-- <el-table-column label="Network connection progress" width="80"><!– 挂网进度 –>-->
|
|
|
-<!-- <template slot-scope="scope">-->
|
|
|
-<!-- <el-progress type="circle" :percentage="Number.parseInt(percentList['SENT_PERCENT'][scope.row.ID])"-->
|
|
|
-<!-- :width="50" :stroke-width="3"></el-progress>-->
|
|
|
-<!-- </template>-->
|
|
|
-<!-- </el-table-column>-->
|
|
|
+
|
|
|
<el-table-column :label="$t('bonus.networkConnectionTime')" width="230"><!-- 挂网时间 -->
|
|
|
<template slot-scope="scope">
|
|
|
- <!-- 开始 -->{{ $t('bonus.start') }}:{{getWatTime(scope.row.SEND_STARTED_AT)}}<br/>
|
|
|
- <!-- 完成 -->{{ $t('bonus.complete') }}:{{getWatTime(scope.row.SENT_AT)}}
|
|
|
+ {{getWatTime(scope.row.SENT_AT)}}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column :fixed="fixed" :label="$t('common.action')" width=""><!-- 操作 -->
|
|
|
<template slot-scope="scope">
|
|
|
-<!-- <el-button v-if="scope.row.IS_CAN_CLOSE && permission.hasPermission(`bonus/close-period`)" class="button" type="primary"-->
|
|
|
-<!-- @click.native="trialCalcHandle(scope.row.PERIOD_NUM)" >-->
|
|
|
-<!-- 计算-->
|
|
|
-<!-- </el-button>-->
|
|
|
-<!-- <el-button v-if="(scope.row.IS_CAN_CLOSE || scope.row.IS_CAN_PERF) && permission.hasPermission(`bonus/close-period`)" type="primary" class="button"-->
|
|
|
-<!-- @click="dialogTableVisible = true;currentPeriod = scope.row.PERIOD_NUM;getDialogData();">-->
|
|
|
-<!-- {{$t('common.action')}}</el-button>-->
|
|
|
-<!-- <el-button style="margin: 0 0 !important;" v-if="scope.row.IS_CAN_CLOSE && permission.hasPermission(`bonus/close-period`)" type="primary" class="button"-->
|
|
|
-<!-- @click.native="closeHandle(scope.row)">-->
|
|
|
-<!-- {{$t('bonus.closurePeriod')}}<!– 封期 –>-->
|
|
|
-<!-- </el-button>-->
|
|
|
|
|
|
<!-- 计算 -->
|
|
|
- <el-button v-if="scope.row.IS_CAN_CALC" class="button" type="primary" @click.native="calcHandle(scope.row.PERIOD_NUM)">{{ $t('bonus.calculationOfBonus') }}</el-button>
|
|
|
+ <el-button v-if="scope.row.IS_CAN_CALC" class="button" type="primary" size="small" @click.native="calcHandle(scope.row.PERIOD_NUM)">{{ $t('bonus.calculationOfBonus') }}</el-button>
|
|
|
<!-- 挂网 -->
|
|
|
- <el-button @click.native="sentHandle(scope.row)" type="primary" class="button" v-if="scope.row.IS_CAN_SENT && permission.hasPermission(`bonus/send-period`)">
|
|
|
+ <el-button @click.native="sentHandle(scope.row)" type="primary" class="button" size="small" v-if="scope.row.IS_CAN_SENT && permission.hasPermission(`bonus/send-period`)">
|
|
|
{{ $t('bonus.spreadNet') }}
|
|
|
</el-button>
|
|
|
<!-- 日志 -->
|
|
|
- <el-button v-if="scope.row.IS_SHOW_LOG" class="button" type="primary" @click.native="getDialogData(scope.row.PERIOD_NUM);dialogLoading=true;" >{{$t('bonus.logRefresh')}}</el-button>
|
|
|
-
|
|
|
-<!-- <el-button class="button customstyle" style="margin-left:10px;" type="success" @click.native="autoCalcHandle(scope.row.PERIOD_NUM)" v-if="(scope.row.IS_CAN_CLOSE || scope.row.IS_CAN_PERF) && permission.hasPermission(`bonus/auto-calc`) && !permission.hasPermission(`bonus/close-period`)">{{$t('bonus.autoCalculation')}}</el-button>-->
|
|
|
-
|
|
|
-<!-- <el-dialog :title="$t('bonus.logTitle', { currentPeriod: currentPeriod })" :visible.sync="dialogTableVisible" append-to-body :width="screenWidth">-->
|
|
|
-<!-- <el-row>-->
|
|
|
-<!-- <el-button style="margin-left:10px;" class="button" type="primary" @click.native="getDialogData();dialogLoading=true;" >-->
|
|
|
-<!-- {{$t('bonus.logRefresh')}}-->
|
|
|
-<!-- </el-button>-->
|
|
|
-<!-- </el-row>-->
|
|
|
-<!-- <el-divider></el-divider>-->
|
|
|
-
|
|
|
-<!-- <el-row>-->
|
|
|
-<!-- <el-button class="button customstyle" v-if="permission.hasPermission(`bonus/auto-calc`)" style="margin-left:10px;" type="success" @click.native="autoCalcHandle(currentPeriod)">{{$t('bonus.autoCalculation')}}</el-button>-->
|
|
|
-<!-- <el-button class="button customstyle" type="primary" @click.native="perfOrderHandle(currentPeriod)" >{{$t('bonus.createPerformanceSheet')}}</el-button>-->
|
|
|
-<!-- <el-button class="button customstyle" type="primary" @click.native="initDataHandle(currentPeriod)" >{{$t('bonus.initializeBasicData')}}</el-button>-->
|
|
|
-<!-- <el-button class="button customstyle" type="primary" @click.native="perfPeriodHandle(currentPeriod)" >{{$t('bonus.generationPeriodPerformance')}}</el-button>-->
|
|
|
-<!-- <el-button class="button customstyle" type="primary" @click.native="pullPerfPeriodHandle(currentPeriod)" >{{$t('bonus.pullPeriodPerformance')}}</el-button>-->
|
|
|
-<!-- <el-button class="button customstyle" type="primary" @click.native="calcBonusHandle(currentPeriod)" >{{$t('bonus.calculationOfBonus')}}</el-button>-->
|
|
|
-<!-- <el-button class="button customstyle" type="primary" @click.native="pullBonusHandle(currentPeriod)" >{{$t('bonus.pullBonusData')}}</el-button>-->
|
|
|
-<!-- </el-row>-->
|
|
|
+ <el-button v-if="scope.row.IS_SHOW_LOG" class="button" type="danger" size="small" @click.native="getDialogData(scope.row.PERIOD_NUM);dialogLoading=true;" >{{$t('bonus.logRefresh')}}</el-button>
|
|
|
|
|
|
<!-- <el-row><el-button class="button" type="primary" @click.native="autoPerfHandle(currentPeriod)" >计算和拉取期业绩</el-button></el-row>-->
|
|
|
<!-- <div>-->
|
|
|
@@ -121,37 +56,6 @@
|
|
|
<!-- </div>-->
|
|
|
<!-- </el-dialog>-->
|
|
|
|
|
|
-<!-- <el-dropdown size="small" trigger="click" v-if=false>-->
|
|
|
-<!-- <el-dropdown size="small" trigger="click" v-if="scope.row.BUTTON_IS_CAN">-->
|
|
|
-<!-- <el-button type="primary" size="small" @click.stop="">-->
|
|
|
-<!-- <!– 操作该数据 –>Action<i class="el-icon-arrow-down el-icon--right"></i>-->
|
|
|
-<!-- </el-button>-->
|
|
|
-<!-- <el-dropdown-menu slot="dropdown">-->
|
|
|
-<!-- <el-dropdown-item @click.native="closeHandle(scope.row)"-->
|
|
|
-<!-- v-if="scope.row.IS_CAN_CLOSE && permission.hasPermission(`bonus/close-period`)">Closure period<!– 封期 –>-->
|
|
|
-<!-- </el-dropdown-item>-->
|
|
|
-<!-- <el-dropdown-item @click.native="perfHandle(scope.row)"-->
|
|
|
-<!-- v-if="scope.row.IS_PERFING === '0' && scope.row.IS_CAN_PERF && permission.hasPermission(`bonus/perf-period`)">-->
|
|
|
-<!-- <!– 生成业绩单 –>Generate performance sheet-->
|
|
|
-<!-- </el-dropdown-item>-->
|
|
|
-<!-- <el-dropdown-item @click.native="perfHandle(scope.row)"-->
|
|
|
-<!-- v-if="scope.row.IS_PERFING === '1' && scope.row.IS_CAN_PERF && permission.hasPermission(`bonus/perf-period`)">-->
|
|
|
-<!-- <!– 强制生成业绩单 –>Forced generation of performance sheet-->
|
|
|
-<!-- </el-dropdown-item>-->
|
|
|
-<!-- <el-dropdown-item @click.native="calcHandle(scope.row)"-->
|
|
|
-<!-- v-if="scope.row.IS_CALCING === '0' && scope.row.IS_CAN_CALC && permission.hasPermission(`bonus/calc-period`)">-->
|
|
|
-<!-- <!– 结算 –>settlement-->
|
|
|
-<!-- </el-dropdown-item>-->
|
|
|
-<!-- <el-dropdown-item @click.native="calcHandle(scope.row)"-->
|
|
|
-<!-- v-if="scope.row.IS_CALCING === '1' && scope.row.IS_CAN_CALC && permission.hasPermission(`bonus/calc-period`)">-->
|
|
|
-<!-- <!– 强制结算 –>Forced settlement-->
|
|
|
-<!-- </el-dropdown-item>-->
|
|
|
-<!-- <el-dropdown-item @click.native="sentHandle(scope.row)"-->
|
|
|
-<!-- v-if="scope.row.IS_CAN_SENT && permission.hasPermission(`bonus/send-period`)">-->
|
|
|
-<!-- <!– 挂网 –>spread a net-->
|
|
|
-<!-- </el-dropdown-item>-->
|
|
|
-<!-- </el-dropdown-menu>-->
|
|
|
-<!-- </el-dropdown>-->
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|