【修改】分类统计修改样式 增加判断

This commit is contained in:
fengachen
2022-09-27 14:30:31 +08:00
parent cf43dd5336
commit 50fa798940
2 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -124,7 +124,7 @@ export default {
.income-sort { .income-sort {
margin-left: 8px; margin-left: 8px;
width: 39%; width: 39%;
min-width: 350px; min-width: 480px;
height: auto; height: auto;
background: #fff; background: #fff;
} }
+4 -2
View File
@@ -10,11 +10,11 @@
tree-default-expand-all tree-default-expand-all
tree-node-filter-prop="title" tree-node-filter-prop="title"
@change="changeDepart" @change="changeDepart"
style="width:40%" style="width:30%"
:dropdownStyle="{ maxHeight: '200px',maxWidth:'100px','overflow-x':'hidden',' overflo-y': 'auto' }" :dropdownStyle="{ maxHeight: '200px',maxWidth:'100px','overflow-x':'hidden',' overflo-y': 'auto' }"
:treeData="treeDepartData" :treeData="treeDepartData"
v-model="queryParam.departCode" v-model="queryParam.departCode"
placeholder="请选择组织机构"> placeholder="请选择部门">
</a-tree-select> </a-tree-select>
</div> </div>
<div class="operator"> <div class="operator">
@@ -128,6 +128,8 @@ export default {
changeDepart(val){ changeDepart(val){
console.log(val,'val') console.log(val,'val')
this.queryParam.departCode = val this.queryParam.departCode = val
// 如果是标准所 不传
if(val === 'A05' ) this.queryParam.departCode = undefined
this.loadData() this.loadData()
}, },
/* /*