| | |
| | | >生成</el-button> |
| | | </crudOperation> |
| | | <!--表单组件--> |
| | | <el-dialog :close-on-click-modal="false" :before-close="crud.cancelCU" :visible.sync="crud.status.cu > 0" :title="crud.status.title" width="500px"> |
| | | <el-form ref="form" :model="form" :rules="rules" size="small" label-width="80px"> |
| | | <el-dialog :close-on-click-modal="false" :before-close="crud.cancelCU" :visible.sync="crud.status.cu > 0" :title="crud.status.title" width="520px"> |
| | | <el-form ref="form" :model="form" :rules="rules" size="small" label-width="100px"> |
| | | <el-form-item label="员工" prop="userId"> |
| | | <el-select v-model="form.userId" filterable clearable placeholder="请选择员工" :disabled="crud.status.add == 0" style="width: 370px;" @change="changeUserId"> |
| | | <el-option |
| | |
| | | <el-form-item label="加班补助" prop="overTimeWage"> |
| | | <el-input v-model="form.overTimeWage" style="width: 370px;" /> |
| | | </el-form-item> |
| | | <el-form-item label="制作(分钟/月)" prop="monthlyProduceMinutes"> |
| | | <el-input v-model="form.monthlyProduceMinutes" style="width: 370px;" /> |
| | | </el-form-item> |
| | | <el-form-item label="审核(分钟/月)" prop="monthlyReviewMinutes"> |
| | | <el-input v-model="form.monthlyReviewMinutes" style="width: 370px;" /> |
| | | </el-form-item> |
| | | <el-form-item label="备注"> |
| | | <el-input v-model="form.remarks" style="width: 370px;" /> |
| | | </el-form-item> |
| | |
| | | </template> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="monthlyProduceMinutes" label="制作(分钟/月)"> |
| | | <template slot-scope="scope"> |
| | | {{ crud.toMoney(scope.row.monthlyProduceMinutes) }} |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="monthlyReviewMinutes" label="审核(分钟/月)"> |
| | | <template slot-scope="scope"> |
| | | {{ crud.toMoney(scope.row.monthlyReviewMinutes) }} |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="locked" label="锁定状态" /> |
| | | <el-table-column prop="remarks" label="备注" /> |
| | | <el-table-column v-if="checkPer(['admin','userLevelWage:edit','userLevelWage:del'])" label="操作" width="150px" align="center"> |
| | |
| | | import crudUser from '@/api/system/user' |
| | | import UploadExcelComponent from '@/components/UploadExcel/index.vue' |
| | | |
| | | const defaultForm = { id: null, userId: null, yearMonth: null, level: null, rank: null, basicWage: null, rankWage: null, performanceWage: null, overTimeWage: null, locked: 0, remarks: null } |
| | | const defaultForm = { id: null, userId: null, yearMonth: null, level: null, rank: null, basicWage: null, rankWage: null, performanceWage: null, overTimeWage: null, locked: 0, remarks: null, monthlyProduceMinutes: null, monthlyReviewMinutes: null } |
| | | export default { |
| | | name: 'UserLevelWage', |
| | | components: { pagination, crudOperation, rrOperation, udOperation, UploadExcelComponent }, |