13025 用工形式显示不正确

cmt1.0
liujun 2023-12-14 18:09:24 +08:00
parent 823ce00962
commit e4228c9c84
1 changed files with 8 additions and 5 deletions

View File

@ -172,7 +172,7 @@
<el-form-item label="用工形式" prop="EMPLOYMENT_FORM">
<Treeselect
:options="employmentTypeList"
:normalizer="normalizer"
:normalizer="SpecialNormalizer"
v-model="dataForm.EMPLOYMENT_FORM"
placeholder="请选择用工形式"
no-options-text="暂无数据"
@ -288,11 +288,8 @@
<div style="flex:1;">
<el-autocomplete v-model="addressKeyword" :fetch-suggestions="querySearch" :trigger-on-focus="false" placeholder="请输入详细地址" style="width:100%" @select="handleSelect" />
</div>
<!-- <el-input v-model="addressKeyword" style="width: 200px" placeholder="请输入内容" />-->
<!-- <el-button slot="append" icon="el-icon-search" @click="mapNameChange"/>-->
</div>
</bm-control>
<!-- <bm-local-search :keyword="addressKeyword" :auto-viewport="true"/>-->
</baidu-map>
<div slot="footer" class="dialog-footer">
<span>经度</span>
@ -300,7 +297,6 @@
<span>纬度</span>
<el-input v-model="LATITUDE" style="width: 200px" placeholder="请输入内容" disabled />
<el-button @click="dialogFormMap = false"> </el-button>
<!-- <el-button type="primary" @click="setPosition"> </el-button>-->
</div>
</el-dialog>
@ -466,6 +462,13 @@ export default {
children: node.nodes
}
},
SpecialNormalizer(node) {
return {
id: node.BIANMA,
label: node.NAME,
children: node.nodes
}
},
defaultProps: {
children: 'nodes',
label: 'name',