|
@@ -99,6 +99,7 @@
|
|
|
<script setup lang="ts">
|
|
<script setup lang="ts">
|
|
|
import { ElMessage } from 'element-plus';
|
|
import { ElMessage } from 'element-plus';
|
|
|
import { onMounted, reactive, ref } from 'vue';
|
|
import { onMounted, reactive, ref } from 'vue';
|
|
|
|
|
+import { useStore } from 'vuex';
|
|
|
import SettingCard from '@/components/settingCard/SettingCard.vue';
|
|
import SettingCard from '@/components/settingCard/SettingCard.vue';
|
|
|
|
|
|
|
|
import {
|
|
import {
|
|
@@ -111,6 +112,8 @@ import editIcon from '@/assets/icon/edit_light.png'
|
|
|
import closeIcon from '@/assets/icon/delete.svg'
|
|
import closeIcon from '@/assets/icon/delete.svg'
|
|
|
import saveIcon from '@/assets/icon/save_icon.png'
|
|
import saveIcon from '@/assets/icon/save_icon.png'
|
|
|
|
|
|
|
|
|
|
+const store = useStore()
|
|
|
|
|
+
|
|
|
/** 1. 参数配置列表整体数据 */
|
|
/** 1. 参数配置列表整体数据 */
|
|
|
// 获取公海设置
|
|
// 获取公海设置
|
|
|
const GetPublicSeasConfig = async ()=>{
|
|
const GetPublicSeasConfig = async ()=>{
|
|
@@ -133,6 +136,53 @@ const GetPublicSeasConfig = async ()=>{
|
|
|
statusList.value = followStatusData
|
|
statusList.value = followStatusData
|
|
|
jobList.value = positionData
|
|
jobList.value = positionData
|
|
|
regionList.value = regionData
|
|
regionList.value = regionData
|
|
|
|
|
+
|
|
|
|
|
+ // 查询回来后重新更新本地存储
|
|
|
|
|
+ let schoolStageOption = stageData?.map(item=>{
|
|
|
|
|
+ return{
|
|
|
|
|
+ label:item.title,
|
|
|
|
|
+ value:JSON.stringify({
|
|
|
|
|
+ label:item.title,
|
|
|
|
|
+ value:item.id
|
|
|
|
|
+ })
|
|
|
|
|
+ }
|
|
|
|
|
+ }) || []
|
|
|
|
|
+
|
|
|
|
|
+ let productOption = productData?.map(item=>{
|
|
|
|
|
+ return{
|
|
|
|
|
+ label:item.title,
|
|
|
|
|
+ value:JSON.stringify({
|
|
|
|
|
+ label:item.title,
|
|
|
|
|
+ value:item.id
|
|
|
|
|
+ })
|
|
|
|
|
+ }
|
|
|
|
|
+ }) || []
|
|
|
|
|
+
|
|
|
|
|
+ let followUpStatusOption = followStatusData?.map(item=>{
|
|
|
|
|
+ return{
|
|
|
|
|
+ label:item.title,
|
|
|
|
|
+ value:JSON.stringify({
|
|
|
|
|
+ label:item.title,
|
|
|
|
|
+ value:item.id
|
|
|
|
|
+ })
|
|
|
|
|
+ }
|
|
|
|
|
+ }) || []
|
|
|
|
|
+
|
|
|
|
|
+ let positionOption = positionData?.map(item=>{
|
|
|
|
|
+ return{
|
|
|
|
|
+ label:item.title,
|
|
|
|
|
+ value:JSON.stringify({
|
|
|
|
|
+ label:item.title,
|
|
|
|
|
+ value:item.id
|
|
|
|
|
+ })
|
|
|
|
|
+ }
|
|
|
|
|
+ }) || []
|
|
|
|
|
+
|
|
|
|
|
+ store.commit('updatePositionList',positionOption)
|
|
|
|
|
+ store.commit('updateProductList',productOption)
|
|
|
|
|
+ store.commit('updateFollowUpStatus',followUpStatusOption)
|
|
|
|
|
+ store.commit('updateSchoolStageList',schoolStageOption)
|
|
|
|
|
+ await store.dispatch('updateConfigedProvinceCityList',{isForce:true})
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|