11.19
This commit is contained in:
parent
ee17c6bb14
commit
872f915e11
@ -26,7 +26,7 @@ export default {
|
||||
},
|
||||
props: {
|
||||
deptId: Number,
|
||||
status: Boolean
|
||||
stauts: Boolean
|
||||
},
|
||||
created() {
|
||||
this.getDeptName();
|
||||
@ -40,8 +40,8 @@ export default {
|
||||
})
|
||||
},
|
||||
getList() {
|
||||
console.log(this.status)
|
||||
if(this.status){
|
||||
console.log("11111111111111"+this.stauts)
|
||||
if(this.stauts){
|
||||
getYearListApi().then(res => {
|
||||
this.tableData = res.data.records
|
||||
})
|
||||
|
@ -305,7 +305,7 @@
|
||||
<afterff :deptId="queryParams.deptId"></afterff>
|
||||
</template>
|
||||
<template v-if="ruleForm.turnoverType === '5'">
|
||||
<yearff :deptId="queryParams.deptId" :status="queryParams.status"></yearff>
|
||||
<yearff :deptId="queryParams.deptId" :stauts="stauts"></yearff>
|
||||
</template>
|
||||
<template v-if="ruleForm.turnoverType === '6'">
|
||||
<el-col :span="10">
|
||||
@ -840,6 +840,7 @@ export default {
|
||||
isAgencyEdit: false,
|
||||
isAgencyDelete: false,
|
||||
activeName: 'list',
|
||||
stauts:false,
|
||||
ruleForm: {
|
||||
parentId:'',
|
||||
deptType:'3',
|
||||
@ -856,7 +857,7 @@ export default {
|
||||
rates:0,
|
||||
storeNum:0,
|
||||
prepaidAmount:0,
|
||||
stauts:false,
|
||||
|
||||
},
|
||||
filterText:'',
|
||||
xtitle:'',
|
||||
@ -1407,10 +1408,10 @@ export default {
|
||||
},
|
||||
|
||||
async activecilck(data){
|
||||
|
||||
this.stauts=false
|
||||
// 判断是点击还是修改该
|
||||
this.isClick = true
|
||||
|
||||
console.log("222222222222222"+ this.status)
|
||||
console.log('点树',data)
|
||||
|
||||
console.log("ruleForm",this.ruleForm)
|
||||
@ -1585,7 +1586,7 @@ export default {
|
||||
//树形页操作
|
||||
//新增树
|
||||
append(data) {
|
||||
this.ruleForm.status=true,
|
||||
this.stauts=true
|
||||
console.log('新增树',data)
|
||||
// 清除表单
|
||||
this.cleanRuleForm()
|
||||
|
Loading…
Reference in New Issue
Block a user