| <link rel="icon" type="image/svg+xml" href="/logo_1.jpg" /> | <link rel="icon" type="image/svg+xml" href="/logo_1.jpg" /> | ||||
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||||
| <title>菊城人才市场后台管理</title> | <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"> | <link rel="stylesheet" crossorigin href="/assets/index-3v74tuIc.css"> | ||||
| </head> | </head> | ||||
| <body> | <body> |
| const emit = defineEmits(); | const emit = defineEmits(); | ||||
| let props = defineProps(['add_company_record']); | 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(() => { | onMounted(() => { | ||||
| companySearch({ page: 1, pagesize: 10 }) | companySearch({ page: 1, pagesize: 10 }) | ||||
| const resetForm = () => { | const resetForm = () => { | ||||
| addOtherForm.value = reset().otherDataForm; | 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 = () => { | const cancelModal = () => { |
| <list-add :edit_record="edit_record" @successAdd="successAdd" @closeAdd="closeAdd"></list-add> | <list-add :edit_record="edit_record" @successAdd="successAdd" @closeAdd="closeAdd"></list-add> | ||||
| <list-detail :detail_record="detail_record"></list-detail> | <list-detail :detail_record="detail_record"></list-detail> | ||||
| <list-company :company_record="company_record"></list-company> | <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> | </template> | ||||
| <script lang="ts" setup> | <script lang="ts" setup> |
| let createForm = ref<SettingListType.addFormType>(dataForm) | let createForm = ref<SettingListType.addFormType>(dataForm) | ||||
| let addOtherForm = ref<SettingListType.addOtherFormType>(otherDataForm) | 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) => { | const onEditorUpdate = (data) => { |