|
@@ -25,9 +25,9 @@
|
|
</div>
|
|
</div>
|
|
<div class="d-flex">
|
|
<div class="d-flex">
|
|
按众聘岗位分配比例计算后的赏金:
|
|
按众聘岗位分配比例计算后的赏金:
|
|
- <span class="calculation ml-3">推荐人{{ calculation('hirePrice', 1) }}元</span>
|
|
|
|
- <span class="calculation">平台{{ calculation('hirePrice', 0) }}元</span>
|
|
|
|
- <span class="calculation">投递人{{ calculation('hirePrice', 2) }}元</span>
|
|
|
|
|
|
+ <span class="calculation ml-3">推荐人{{ calculation('hirePrice', 1, true) }}元</span>
|
|
|
|
+ <span class="calculation">平台{{ calculation('hirePrice', 0, true) }}元</span>
|
|
|
|
+ <span class="calculation">投递人{{ calculation('hirePrice', 2, true) }}元</span>
|
|
</div>
|
|
</div>
|
|
<!-- <div class="d-flex">
|
|
<!-- <div class="d-flex">
|
|
按众聘岗位分配比例计算后的积分:
|
|
按众聘岗位分配比例计算后的积分:
|
|
@@ -76,9 +76,9 @@ const show = ref(false)
|
|
const ratio = ref({})
|
|
const ratio = ref({})
|
|
|
|
|
|
// 按分配比例计算金额积分
|
|
// 按分配比例计算金额积分
|
|
-const calculation = (key, type) => {
|
|
|
|
|
|
+const calculation = (key, type, status) => {
|
|
const value = items.value.options.find(e => e.key === key).value
|
|
const value = items.value.options.find(e => e.key === key).value
|
|
- return commissionCalculation(value, type)
|
|
|
|
|
|
+ return commissionCalculation(value, type, status)
|
|
}
|
|
}
|
|
|
|
|
|
const getValue = (key) => {
|
|
const getValue = (key) => {
|