|
@@ -12,6 +12,16 @@
|
|
|
size="small"
|
|
|
/>
|
|
|
</el-form-item>
|
|
|
+ <el-form-item label="学院" prop="collegeId">
|
|
|
+ <el-select v-model="queryParams.deptId" clearable placeholder="请选择" style="width: 200px">
|
|
|
+ <el-option
|
|
|
+ v-for="dict in optionList"
|
|
|
+ :key="dict.deptId"
|
|
|
+ :label="dict.deptName"
|
|
|
+ :value="dict.deptId"
|
|
|
+ />
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
<el-form-item label="预案属性" prop="zgType" label-width="80px">
|
|
|
<el-select v-model="queryParams.riskAttribute" placeholder="请选择" clearable size="small">
|
|
|
<el-option label="全部" value="" />
|
|
@@ -69,6 +79,7 @@
|
|
|
import {
|
|
|
riskExeRecordList,
|
|
|
} from '@/api/laboratory/subject'
|
|
|
+import { listDepartments } from "@/api/system/dept";
|
|
|
import detailPage from "./planExecuteRecordDetail"
|
|
|
export default {
|
|
|
name: "Approval",
|
|
@@ -82,6 +93,8 @@ export default {
|
|
|
pageType:1,
|
|
|
loading:false,
|
|
|
// 查询参数
|
|
|
+ //下拉列表数据
|
|
|
+ optionList:[],
|
|
|
queryParams: {
|
|
|
pageNum: 1,
|
|
|
pageSize:20,
|
|
@@ -111,6 +124,11 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
|
+ listDepartments(){
|
|
|
+ listDepartments().then(response => {
|
|
|
+ this.$set(this,'optionList',response.data);
|
|
|
+ });
|
|
|
+ },
|
|
|
outButton(){
|
|
|
if(this.$route.query.type == 'big'){
|
|
|
window.location.href = (localStorage.getItem('screenUrl') + '?identity=' + localStorage.getItem('identity'));
|
|
@@ -151,6 +169,7 @@ export default {
|
|
|
},
|
|
|
mounted() {
|
|
|
this.getList();
|
|
|
+ this.listDepartments();
|
|
|
}
|
|
|
};
|
|
|
</script>
|