This commit is contained in:
sw 2024-11-20 13:50:55 +08:00
parent ee17c6bb14
commit 872f915e11
2 changed files with 9 additions and 8 deletions

View File

@ -26,7 +26,7 @@ export default {
}, },
props: { props: {
deptId: Number, deptId: Number,
status: Boolean stauts: Boolean
}, },
created() { created() {
this.getDeptName(); this.getDeptName();
@ -40,8 +40,8 @@ export default {
}) })
}, },
getList() { getList() {
console.log(this.status) console.log("11111111111111"+this.stauts)
if(this.status){ if(this.stauts){
getYearListApi().then(res => { getYearListApi().then(res => {
this.tableData = res.data.records this.tableData = res.data.records
}) })

View File

@ -305,7 +305,7 @@
<afterff :deptId="queryParams.deptId"></afterff> <afterff :deptId="queryParams.deptId"></afterff>
</template> </template>
<template v-if="ruleForm.turnoverType === '5'"> <template v-if="ruleForm.turnoverType === '5'">
<yearff :deptId="queryParams.deptId" :status="queryParams.status"></yearff> <yearff :deptId="queryParams.deptId" :stauts="stauts"></yearff>
</template> </template>
<template v-if="ruleForm.turnoverType === '6'"> <template v-if="ruleForm.turnoverType === '6'">
<el-col :span="10"> <el-col :span="10">
@ -840,6 +840,7 @@ export default {
isAgencyEdit: false, isAgencyEdit: false,
isAgencyDelete: false, isAgencyDelete: false,
activeName: 'list', activeName: 'list',
stauts:false,
ruleForm: { ruleForm: {
parentId:'', parentId:'',
deptType:'3', deptType:'3',
@ -856,7 +857,7 @@ export default {
rates:0, rates:0,
storeNum:0, storeNum:0,
prepaidAmount:0, prepaidAmount:0,
stauts:false,
}, },
filterText:'', filterText:'',
xtitle:'', xtitle:'',
@ -1407,10 +1408,10 @@ export default {
}, },
async activecilck(data){ async activecilck(data){
this.stauts=false
// //
this.isClick = true this.isClick = true
console.log("222222222222222"+ this.status)
console.log('点树',data) console.log('点树',data)
console.log("ruleForm",this.ruleForm) console.log("ruleForm",this.ruleForm)
@ -1585,7 +1586,7 @@ export default {
// //
// //
append(data) { append(data) {
this.ruleForm.status=true, this.stauts=true
console.log('新增树',data) console.log('新增树',data)
// //
this.cleanRuleForm() this.cleanRuleForm()