|
@@ -1,7 +1,8 @@
|
|
|
<template>
|
|
<template>
|
|
|
<div class="pa-3 white">
|
|
<div class="pa-3 white">
|
|
|
- <m-search class="mb-3" :items="searchItems" v-model="searchValues"></m-search>
|
|
|
|
|
|
|
+ <m-search class="mb-3" :items="searchItems" v-model="searchValues" @search="onSearch"></m-search>
|
|
|
<m-table
|
|
<m-table
|
|
|
|
|
+ v-loading="loading"
|
|
|
card-title="测算规则"
|
|
card-title="测算规则"
|
|
|
:items="items"
|
|
:items="items"
|
|
|
:headers="headers"
|
|
:headers="headers"
|
|
@@ -30,6 +31,7 @@
|
|
|
<SandboxEdit ref="sandboxEditRefs" @refresh="onInit"></SandboxEdit>
|
|
<SandboxEdit ref="sandboxEditRefs" @refresh="onInit"></SandboxEdit>
|
|
|
<SalarySolutionRules ref="salarySolutionRulesRefs" @refresh="onInit"></SalarySolutionRules>
|
|
<SalarySolutionRules ref="salarySolutionRulesRefs" @refresh="onInit"></SalarySolutionRules>
|
|
|
<SandboxParam ref="sandboxParamRefs" @refresh="onInit"></SandboxParam>
|
|
<SandboxParam ref="sandboxParamRefs" @refresh="onInit"></SandboxParam>
|
|
|
|
|
+ <SandboxCalculate ref="sandboxCalculateRefs"></SandboxCalculate>
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
@@ -43,6 +45,7 @@ import SandboxEdit from './sandboxEdit.vue'
|
|
|
import SalarySolutionRules from './salarySolutionRules.vue'
|
|
import SalarySolutionRules from './salarySolutionRules.vue'
|
|
|
import SandboxDetails from './sandboxDetails.vue'
|
|
import SandboxDetails from './sandboxDetails.vue'
|
|
|
import SandboxParam from './sandboxParam.vue'
|
|
import SandboxParam from './sandboxParam.vue'
|
|
|
|
|
+import SandboxCalculate from './sandboxCalculate.vue'
|
|
|
export default {
|
|
export default {
|
|
|
name: 'salary-solution-list',
|
|
name: 'salary-solution-list',
|
|
|
props: {
|
|
props: {
|
|
@@ -55,7 +58,8 @@ export default {
|
|
|
SandboxEdit,
|
|
SandboxEdit,
|
|
|
SalarySolutionRules,
|
|
SalarySolutionRules,
|
|
|
SandboxDetails,
|
|
SandboxDetails,
|
|
|
- SandboxParam
|
|
|
|
|
|
|
+ SandboxParam,
|
|
|
|
|
+ SandboxCalculate
|
|
|
},
|
|
},
|
|
|
data () {
|
|
data () {
|
|
|
return {
|
|
return {
|
|
@@ -140,7 +144,9 @@ export default {
|
|
|
this.loading = false
|
|
this.loading = false
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
- onCalculate () {},
|
|
|
|
|
|
|
+ onCalculate (item) {
|
|
|
|
|
+ this.$refs.sandboxCalculateRefs.open(item)
|
|
|
|
|
+ },
|
|
|
onCalculateHistory () {},
|
|
onCalculateHistory () {},
|
|
|
onOpen (ref, item) {
|
|
onOpen (ref, item) {
|
|
|
this.$refs[ref]?.open && this.$refs[ref].open(item)
|
|
this.$refs[ref]?.open && this.$refs[ref].open(item)
|