修改代码

This commit is contained in:
ival 2019-08-14 15:28:15 +08:00
parent 230d118d30
commit 6ea6c8a2e9

View File

@ -303,10 +303,8 @@ export default {
if (data && data.list) {
const that = this;
const list = data.list;
const nameList = this.queryForm.queryObject.name.config.data = [];
if (list) {
list.map(elem => {
nameList.push({ label: elem.name, value: elem.name });
that.convertField(elem, that.RouteAutoTypeList, 'code', 'name', ['autoType']);
that.convertField(elem, that.RouteNatureTypeList, 'code', 'name', ['natureType']);
that.convertField(elem, that.SwitchLocateTypeList, 'code', 'name', ['overlapSwitchLocateType']);