|
|
@@ -148,9 +148,9 @@
|
|
|
>
|
|
|
<el-option
|
|
|
v-for="item in comtypeoptions"
|
|
|
- :key="item.dictValue"
|
|
|
- :label="item.dictTag"
|
|
|
- :value="item.dictValue"
|
|
|
+ :key="item.value"
|
|
|
+ :label="item.label"
|
|
|
+ :value="item.value"
|
|
|
></el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
@@ -198,7 +198,7 @@ export default {
|
|
|
created() {
|
|
|
this.findTreeData(); // 获取左边机构树数据
|
|
|
this.$api.dept.sysDeptInternalAgentType().then(res => {
|
|
|
- this.comtypeoptions = res.data.ddList
|
|
|
+ this.comtypeoptions = res.data
|
|
|
})
|
|
|
},
|
|
|
data() {
|
|
|
@@ -404,8 +404,8 @@ export default {
|
|
|
let comtype = row.comtype;
|
|
|
return CommonUtil.getDataName({
|
|
|
dataList: this.comtypeoptions,
|
|
|
- value: "dictValue",
|
|
|
- label: "dictTag",
|
|
|
+ value: "label",
|
|
|
+ label: "value",
|
|
|
data: comtype,
|
|
|
});
|
|
|
},
|