|
|
@@ -310,6 +310,7 @@ export default {
|
|
|
open: false,
|
|
|
isUnfold: false,
|
|
|
defaultSelect: [],
|
|
|
+ filterOrtTypeOptions: [],
|
|
|
orgId: null,
|
|
|
type: null,
|
|
|
// 查询参数
|
|
|
@@ -612,6 +613,22 @@ export default {
|
|
|
//this.form.fileList=this.form.fileList.concat(tempArry);
|
|
|
this.formFileListDefualtValue =this.form.fileList.concat(tempArry);
|
|
|
},
|
|
|
+ },
|
|
|
+ mounted() {
|
|
|
+ console.log("this.dict.type.sys_org_type", this.dict.type.sys_org_type);
|
|
|
+ let from = Array.from(this.dict.type.sys_org_typ);
|
|
|
+ console.log("from", from)
|
|
|
+ //循环 this.dict.type.sys_org_type 拿到每个项的value等于3的数据,放到this.filterOrtTypeOptions中
|
|
|
+ let newArr = [];
|
|
|
+ from.map(element => {
|
|
|
+ newArr.push(element);
|
|
|
+ });
|
|
|
+
|
|
|
+ console.log("newArr", newArr);
|
|
|
+ this.filterOrtTypeOptions =newArr.filter(element => element.value > 3);
|
|
|
+
|
|
|
+
|
|
|
+ console.log("this.filterOrtTypeOptions", this.filterOrtTypeOptions)
|
|
|
}
|
|
|
};
|
|
|
</script>
|