diff --git a/src/views/work/Confinement.vue b/src/views/work/Confinement.vue index 8f26589..2fd05c7 100644 --- a/src/views/work/Confinement.vue +++ b/src/views/work/Confinement.vue @@ -36,6 +36,14 @@ let list = ref([]) const formData = ref({}) //警员数据集合 let users = ref() +//文化程度 +let educations=ref([ + {value:'高中',label:'高中'}, + {value:'大专',label:'大专'}, + {value:'本科',label:'本科'}, + {value:'研究生及以上',label:'研究生及以上'}, +]) + //编辑表单校验 const rules = ref({ name: [ @@ -142,7 +150,6 @@ let NursingOrgList = ref([]) //数据导出 const handleExport = () => { - console.log("数据导出") window.open(`${BASE_PATH}/confinement/export?` + new URLSearchParams(query.value).toString()) } /** @@ -166,8 +173,6 @@ const getList = async () => { const getNursingOrgList =async ()=>{ const res = await getNursingOrgFun() NursingOrgList.value = res; - console.log('NursingOrgList',NursingOrgList.value) - this.$nextTick() } //获取禁闭信息附件 @@ -185,6 +190,7 @@ const handleDetail = (row) => { formData.value.gender = gender formData.value.age = age formData.value.birthTime = birthTime + detailShow.value=true } /** @@ -204,6 +210,9 @@ const handleUpDate = (row) => { formData.value.gender = gender formData.value.age = age formData.value.birthTime = birthTime + + getPoliceListFun(formData.value.name) + isEdit.value = true; editShow.value = true; } @@ -355,6 +364,7 @@ onMounted(() => { { > - +