@@ -5,7 +5,7 @@ | |||
<link rel="icon" type="image/svg+xml" href="/logo_1.jpg" /> | |||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |||
<title>菊城人才市场后台管理</title> | |||
<script type="module" crossorigin src="/assets/index-dwm8dLBC.js"></script> | |||
<script type="module" crossorigin src="/assets/index-rf5zuvnn.js"></script> | |||
<link rel="stylesheet" crossorigin href="/assets/index-3v74tuIc.css"> | |||
</head> | |||
<body> |
@@ -24,8 +24,8 @@ | |||
const emit = defineEmits(); | |||
let props = defineProps(['add_company_record']); | |||
let createForm = ref<companyDepartmentType.addFormType>(dataForm) | |||
let addOtherForm = ref<companyDepartmentType.addFormType>(otherDataForm) | |||
let createForm = ref(dataForm) | |||
let addOtherForm = ref(otherDataForm) | |||
onMounted(() => { | |||
companySearch({ page: 1, pagesize: 10 }) | |||
@@ -64,7 +64,11 @@ | |||
const resetForm = () => { | |||
addOtherForm.value = reset().otherDataForm; | |||
createForm.value = reset().dataForm; | |||
createForm.value = { | |||
recruitment_id: createForm.value.recruitment_id ? createForm.value.recruitment_id : 0, | |||
company_id: 0, | |||
status: 1, | |||
}; | |||
} | |||
const cancelModal = () => { |
@@ -23,7 +23,7 @@ | |||
<list-add :edit_record="edit_record" @successAdd="successAdd" @closeAdd="closeAdd"></list-add> | |||
<list-detail :detail_record="detail_record"></list-detail> | |||
<list-company :company_record="company_record"></list-company> | |||
<list-add-company :add_company_record="add_company_record"></list-add-company> | |||
<list-add-company :add_company_record="add_company_record"></list-add-company> | |||
</template> | |||
<script lang="ts" setup> |
@@ -54,10 +54,12 @@ | |||
let createForm = ref<SettingListType.addFormType>(dataForm) | |||
let addOtherForm = ref<SettingListType.addOtherFormType>(otherDataForm) | |||
// const txtModeChange = (data) => { | |||
// createForm.value.value = '' | |||
// addOtherForm.value.value = '' | |||
// } | |||
const txtModeChange = (data) => { | |||
if(title.value != "编辑配置项") { | |||
createForm.value.value = '' | |||
addOtherForm.value.value = '' | |||
} | |||
} | |||
// 富文本 | |||
const onEditorUpdate = (data) => { |