|
@@ -84,7 +84,7 @@
|
|
|
</template>
|
|
|
<template #postType="{row,index}">
|
|
|
<el-select v-model="row.postType">
|
|
|
- <el-option v-for="item in postTypeList" :label="item.dictName" :value="item.code"/>
|
|
|
+ <el-option v-for="item in postTypeList" :label="item.dictName" :value="item.id"/>
|
|
|
</el-select>
|
|
|
</template>
|
|
|
|
|
@@ -259,9 +259,9 @@ const getPostDict=async(type)=>{
|
|
|
const {error, code, data} = await costApi.getPostDict()
|
|
|
if (!error && code === 200) {
|
|
|
postTypeList.value=getArrValue(data)
|
|
|
- postTypeList.value.forEach((ele)=>{
|
|
|
- ele.code=parseInt(ele.code)
|
|
|
- })
|
|
|
+ // postTypeList.value.forEach((ele)=>{
|
|
|
+ // ele.code=parseInt(ele.code)
|
|
|
+ // })
|
|
|
|
|
|
|
|
|
} else {
|