diff --git a/src/components/negative/verify.vue b/src/components/negative/verify.vue index da0f999..8b5df07 100644 --- a/src/components/negative/verify.vue +++ b/src/components/negative/verify.vue @@ -667,12 +667,8 @@ > + @@ -1664,19 +1666,21 @@ let confinementQuery = ref({ * @param query 输入参数 * * */ -const fileConfinement = async (query)=>{ +const fileConfinement = async (query,type='All')=>{ confinementQuery.value={ current: 1, size: 100, departBranch: false } - if(query){ + if(query && type=='All'){ confinementQuery.value.id = query confinementQuery.value.name = query confinementQuery.value.empNo = query } + if(query && type =='Id'){ + confinementQuery.value.id = query + } const data =await getConfinementListAll(confinementQuery.value); - console.log('data',data) confinementOpens.value = data.records; } @@ -1728,12 +1732,12 @@ async function getFormData() { if(negative.value.blames){ console.log('-----cs-----') negative.value.blames.forEach((item)=>{ - fileConfinement(item.confinementId) + fileConfinement(item.confinementId,'Id') }) } if(negative.value.blameLeaders){ negative.value.blameLeaders.forEach((item)=>{ - fileConfinement(item.leadConfinementId) + fileConfinement(item.leadConfinementId,'Id') }) } if (negative.value.accountabilityTarget != undefined) { @@ -1747,6 +1751,11 @@ async function getFormData() { } +function handleSupervise(val,index){ + console.log('chang事件触发') + console.log(`val${index}`,val) +} + function handleAddBlame(type) { form.value.blames.push({ type, diff --git a/src/views/datav/Jwpy.vue b/src/views/datav/Jwpy.vue index db388ad..f1c7242 100644 --- a/src/views/datav/Jwpy.vue +++ b/src/views/datav/Jwpy.vue @@ -186,18 +186,18 @@ /> @@ -750,7 +750,7 @@ const option4 = ref({ } } ], - grid: {left: '8%', right: '0%', top: '10%', bottom: '10%'}, + grid: {left: '17%', right: '0%', top: '10%', bottom: '10%'}, }); @@ -828,8 +828,6 @@ async function getData() { GetGLFW(selectYear.value, selectOrg.value, task.value).then((res) => { dcmyd.value = res console.log('-----调查满意度----',dcmyd.value) - - option1.value.xAxis.data = dcmyd.value[0].lstson.slice(new Date().getMonth()+1).map(item => item.SonPeriodName); option1.value.series[0].data = dcmyd.value[0].lstson.slice(new Date().getMonth()+1).map(item => item.FinalRP); }); diff --git a/src/views/work/Confinement.vue b/src/views/work/Confinement.vue index b573ff4..4cd23f4 100644 --- a/src/views/work/Confinement.vue +++ b/src/views/work/Confinement.vue @@ -1,5 +1,5 @@