Browse Source

fix:前端优化

master
pengwei 4 weeks ago
parent
commit
141eacaf71
  1. 2
      src/components/police-picker.vue
  2. 1
      src/views/mobileSupervise/Inspection.vue
  3. 10
      src/views/mobileSupervise/TaskProblem.vue

2
src/components/police-picker.vue

@ -224,7 +224,7 @@ watch(()=>props.modelValue,(val)=>{
watch(()=>props.dataDepartId,(val)=>{
console.log('val',val)
if(val){
query.value.departId = node.id;
query.value.departId = val.id;
getList();
}
},{immediate:true,deep:true})

1
src/views/mobileSupervise/Inspection.vue

@ -2657,6 +2657,7 @@ watch(departs, () => {
watch(() => form.value.specialType, (newVal) => {
console.log('newVal',newVal)
if (newVal === '六项规定督察') {
form.value.samplingTarget = '自定义人员'
}

10
src/views/mobileSupervise/TaskProblem.vue

@ -93,8 +93,8 @@
</el-table-column>
<el-table-column label="操作" width="260">
<template #default="{ row }">
<div>
<el-button type="primary" link @click="showDeatil(row)">问题详情</el-button>
<el-button
@click="upProblemFun(row)"
type="primary"
@ -103,6 +103,8 @@
>
编辑
</el-button>
</div>
<div>
<el-button
v-if="row.distributionState === '0'"
type="primary"
@ -123,6 +125,7 @@
>
{{ row.problemState == "1" ? "删除" : "恢复" }}
</el-button>
</div>
</template>
</el-table-column>
</el-table>
@ -186,11 +189,12 @@
getDictLable(dict.distributionState, activeRow.distributionState)
}}</span>
</div>
</div>
<div>
<div class="col col-24">
<label>上传附件</label>
<file-list :files="activeRow.files ? JSON.parse(activeRow.files) : []" />
</div>
</div>
</div>
</el-dialog>
<el-dialog

Loading…
Cancel
Save