二级部门过滤 7.30

main
zhc077 4 months ago
parent c3eb31e9ad
commit 69240db331
  1. 4
      jeecgboot-vue3-master/src/views/abilityEvaluation/depart/DepartAbilityEvaluation.data.ts
  2. 6
      jeecgboot-vue3-master/src/views/annualScore/departCompTotalScore/DepartCompTotalScore.data.ts

@ -29,7 +29,7 @@ export const searchFormSchema: FormSchema[] = [
field: 'depetId', field: 'depetId',
component: 'JDictSelectTag', component: 'JDictSelectTag',
componentProps: { componentProps: {
dictCode: "sys_depart,depart_name,id" dictCode:"sys_depart,depart_name,id,parent_id='1693446350597038081'"
}, },
colProps: {span: 6}, colProps: {span: 6},
}, },
@ -59,7 +59,7 @@ export const formSchema: FormSchema[] = [
field: 'depetId', field: 'depetId',
component: 'JDictSelectTag', component: 'JDictSelectTag',
componentProps: { componentProps: {
dictCode: "sys_depart,depart_name,id" dictCode:"sys_depart,depart_name,id,parent_id='1693446350597038081'"
}, },
dynamicRules: ({model, schema}) => { dynamicRules: ({model, schema}) => {
return [ return [

@ -42,7 +42,7 @@ export const searchFormSchema: FormSchema[] = [
field: 'depet', field: 'depet',
component: 'JDictSelectTag', component: 'JDictSelectTag',
componentProps:{ componentProps:{
dictCode:"sys_depart,depart_name,id" dictCode:"sys_depart,depart_name,id,parent_id='1693446350597038081'"
}, },
colProps: {span: 6}, colProps: {span: 6},
}, },
@ -63,7 +63,9 @@ export const formSchema: FormSchema[] = [
field: 'depet', field: 'depet',
component: 'JDictSelectTag', component: 'JDictSelectTag',
componentProps:{ componentProps:{
dictCode:"sys_depart,depart_name,id" dictCode:"sys_depart,depart_name,id,parent_id='1693446350597038081'"
// dictCode: "sys_user,realname,id,username!='admin' order by create_time",
}, },
dynamicRules: ({model,schema}) => { dynamicRules: ({model,schema}) => {
return [ return [

Loading…
Cancel
Save