|
@@ -42,7 +42,7 @@
|
|
|
<template v-if="next">
|
|
|
<div class="align" :style="{ 'height': isWidth ? '400px':'200px' }">
|
|
|
<span class="text">系统类别</span>
|
|
|
- <el-cascader :options="list" clearable v-model="systemVal"
|
|
|
+ <el-cascader :options="addlist" clearable v-model="systemVal"
|
|
|
:props="optionProps"
|
|
|
class="adm-select"></el-cascader>
|
|
|
</div>
|
|
@@ -69,7 +69,7 @@ import { AdmMultiTable, AdmSearch, baseDataForm, Pagination, Statistics } from "
|
|
|
import { createSystem, dictQuery, queryCountSystem, querySystem, updateSystem } from "@/api/datacenter";
|
|
|
import tools from "@/utils/maintain";
|
|
|
import { UserModule } from "@/store/modules/user";
|
|
|
-import { allSystem, BeatchQueryParam } from "@/api/equipComponent";
|
|
|
+import { allSystem, BeatchQueryParam,allSystems } from "@/api/equipComponent";
|
|
|
|
|
|
@Component({
|
|
|
name: "adm-system",
|
|
@@ -87,6 +87,8 @@ export default class extends Vue {
|
|
|
loading = false;
|
|
|
// 下拉数据
|
|
|
list = [];
|
|
|
+ // 添加系统下拉数据
|
|
|
+ addlist = []
|
|
|
// 信息点集合(表头)
|
|
|
all = [];
|
|
|
codeToDataSource: any = {};
|
|
@@ -222,6 +224,9 @@ export default class extends Vue {
|
|
|
this.systemMsg = '添加系统'
|
|
|
this.currRowContent = {}
|
|
|
this.dialogVisible = true;
|
|
|
+ allSystems({}).then(res=> {
|
|
|
+ this.addlist = res.content
|
|
|
+ })
|
|
|
}
|
|
|
|
|
|
//下一步事件
|