|
@@ -16,9 +16,9 @@
|
|
|
<el-select v-model="param.startCondition" placeholder="请选择启动条件" clearable size="small">
|
|
|
<el-option
|
|
|
v-for="dict in deptOptions"
|
|
|
- :key="dict.describe"
|
|
|
- :label="dict.describe"
|
|
|
- :value="dict.describe"
|
|
|
+ :key="dict.code"
|
|
|
+ :label="dict.name"
|
|
|
+ :value="dict.name"
|
|
|
></el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
@@ -114,7 +114,7 @@ import {listClassifiedAll} from "@/api/laboratory/classified";
|
|
|
import {listClasstypeAll} from "@/api/laboratory/classtype";
|
|
|
import {authListSubject} from "@/api/laboratory/subject";
|
|
|
import { selectRiskPlanLeveList, addPlan, delPlanData } from "@/api/evacuation3_2/index";
|
|
|
-import { optionSensor } from "@/api/laboratory/sensor";
|
|
|
+import { riskOptionSensor } from "@/api/laboratory/sensor";
|
|
|
|
|
|
export default {
|
|
|
components: {
|
|
@@ -256,7 +256,7 @@ export default {
|
|
|
},
|
|
|
/** 查询启动条件 */
|
|
|
getDeptListTow() {
|
|
|
- optionSensor({}).then(response => {
|
|
|
+ riskOptionSensor({}).then(response => {
|
|
|
this.$set(this, 'deptOptions', response.data)
|
|
|
});
|
|
|
},
|