zhengnaiwen_citu пре 4 месеци
родитељ
комит
c86430e9e6

+ 0 - 20
src/views/salary/claim/components/form.vue

@@ -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
-        // }
       })
     }
   }

+ 0 - 4
src/views/salary/claim/sharingClaim/index.vue

@@ -32,10 +32,6 @@ import {
   getCustomerProfitSharingClaimDeptAdd,
   getCustomerProfitSharingClaimAdd
 } from '@/api/salary'
-// import {
-
-//
-// } from '@/api/salary'
 import ClaimForm from '../components/form.vue'
 export default {
   name: 'salaryClaimSharing',