Browse Source

fix:功能优化(禁闭管理)

main
pengwei 6 months ago
parent
commit
1bf8609233
  1. 1
      src/components/negative/verify.vue
  2. 16
      src/views/work/Confinement.vue

1
src/components/negative/verify.vue

@ -1663,7 +1663,6 @@ const fileConfinement = async (query)=>{
departBranch: false departBranch: false
} }
if(query){ if(query){
confinementQuery.value.id = query
confinementQuery.value.name = query confinementQuery.value.name = query
confinementQuery.value.empNo = query confinementQuery.value.empNo = query
} }

16
src/views/work/Confinement.vue

@ -490,9 +490,19 @@ onMounted(() => {
@change="CopyUserDetail" @change="CopyUserDetail"
:remote-method="getPoliceListFun" :remote-method="getPoliceListFun"
> >
<el-option v-for="(item,key) in users" :key="key" <template #header>
:label="item.name" <el-row :gutter="20">
:value="item.id"></el-option> <el-col :span="6">姓名</el-col>
<el-col :span="6">警号</el-col>
</el-row>
</template>
<el-option v-for="(item,key) in users" :key="key" :label="item.name"
:value="item.id">
<el-row :gutter="20">
<el-col :span="6">{{item.name}}</el-col>
<el-col :span="6">{{item.empNo}}</el-col>
</el-row>
</el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>

Loading…
Cancel
Save