Commit 96520b57 authored by 李苏's avatar 李苏 💬

字段修改

parent cdaab156
......@@ -68,6 +68,12 @@
async mounted() {
this.$refs['TablePager'].pageQuery()
},
computed:{
radio(){
let val=this.queryParams.hzfs
return val
}
},
data() {
return {
/*需要的额外参数 */
......@@ -86,36 +92,32 @@
/* 表格标题对应参数*/
tableTitle: [
{
prop: 'gsid',
prop: 'gsName',
label: '公司',
width:292,transform:{
url:'jcsj/common/bm/queryGs',label:'bmmc',value:'id'
}
width:292
},
{
prop: 'bmid',
prop: 'bzName',
label: '班组',
width:292,transform:{
url:'jcsj/common/bm/queryBz',label:'bmmc',value:'id'
}
width:292
},
{
prop: 'zrrName',
prop: 'sbrName',
label: '责任人',
width: 300
},
{
prop: 'sl',
prop: 'allCount',
label: '数量',
width: 100
},
{
prop: 'fxrq',
prop: 'recordCount',
label: '未处理完毕数量',
width: 300
},
{
prop: 'yqzgsj',
prop: 'cqCount',
label: '超期数量',
width:300
}
......@@ -124,9 +126,9 @@
},
watch:{
radio(val){
val=='gs'&&this.$refs['TablePager']['newGridList'].forEach(item=>{item.prop=='bmid'&&(item.show=false);item.prop=='zrrName'&&(item.show=false);item.prop=='gsid'&&(item.show=true)})
val=='bz'&&this.$refs['TablePager']['newGridList'].forEach(item=>{item.prop=='bmid'&&(item.show=true);item.prop=='zrrName'&&(item.show=false);item.prop=='gsid'&&(item.show=true)})
val=='ry'&&this.$refs['TablePager']['newGridList'].forEach(item=>{item.prop=='bmid'&&(item.show=true);item.prop=='zrrName'&&(item.show=true);item.prop=='gsid'&&(item.show=true)})
val=='GS'&&this.$refs['TablePager']['newGridList'].forEach(item=>{item.prop=='bzName'&&(item.show=false);item.prop=='sbrName'&&(item.show=false);item.prop=='gsName'&&(item.show=true)})
val=='BM'&&this.$refs['TablePager']['newGridList'].forEach(item=>{item.prop=='bzName'&&(item.show=true);item.prop=='sbrName'&&(item.show=false);item.prop=='gsName'&&(item.show=true)})
val=='RY'&&this.$refs['TablePager']['newGridList'].forEach(item=>{item.prop=='bzName'&&(item.show=true);item.prop=='sbrName'&&(item.show=true);item.prop=='gsName'&&(item.show=true)})
}
},
methods: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment