|
@@ -16,11 +16,6 @@
|
|
|
|
|
|
<script>
|
|
|
import { mapGetters } from 'vuex'
|
|
|
-// import {
|
|
|
-// getCustomerProfitSharingClaimDeptAdd,
|
|
|
-// getCustomerProfitSharingClaimStaffAdd,
|
|
|
-// getCustomerProfitSharingClaimAdd
|
|
|
-// } from '@/api/salary'
|
|
|
import { getRosterList } from '@/api/system'
|
|
|
export default {
|
|
|
name: 'ClaimForm',
|
|
@@ -194,21 +189,6 @@ export default {
|
|
|
...query,
|
|
|
employeeProfitSharingRatio: employeeProfitSharingRatio / 100
|
|
|
})
|
|
|
- // this.loading = true
|
|
|
- // try {
|
|
|
- // // const api = this.itemData?.isDept ? getCustomerProfitSharingClaimDeptAdd : this.isStaff ? getCustomerProfitSharingClaimStaffAdd : getCustomerProfitSharingClaimAdd
|
|
|
- // await this.submitApi({
|
|
|
- // ...this.formValues,
|
|
|
- // employeeProfitSharingRatio: this.formValues.employeeProfitSharingRatio / 100
|
|
|
- // })
|
|
|
- // this.$refs.dialog.close()
|
|
|
- // this.$message.success('操作成功')
|
|
|
- // this.$emit('success')
|
|
|
- // } catch (error) {
|
|
|
- // this.$message.error(error)
|
|
|
- // } finally {
|
|
|
- // this.loading = false
|
|
|
- // }
|
|
|
})
|
|
|
}
|
|
|
}
|