|
@@ -274,6 +274,15 @@ export default {
|
|
|
navIndex:'0-5',
|
|
|
showCard:'portraitOfTeacher',
|
|
|
showFormId:"",
|
|
|
+ liYuanOrgList:["3823a6a5-1b6e-11f0-a66a-005056924926",
|
|
|
+ "292e34dc-1b6e-11f0-a66a-005056924926",
|
|
|
+ "21d6b367-1b6e-11f0-a66a-005056924926",
|
|
|
+ "1a1a172d-1b6e-11f0-a66a-005056924926",
|
|
|
+ "1197f86b-1b6e-11f0-a66a-005056924926",
|
|
|
+ "f235659b-1b6d-11f0-a66a-005056924926",
|
|
|
+ "d87b62d3-1b6d-11f0-a66a-005056924926",
|
|
|
+ "c25ea59b-1b6d-11f0-a66a-005056924926",
|
|
|
+ ]
|
|
|
};
|
|
|
},
|
|
|
computed: {
|
|
@@ -611,11 +620,17 @@ export default {
|
|
|
let params = {
|
|
|
oid: "",//this.oid
|
|
|
};
|
|
|
+
|
|
|
+ let _url = "selectTestType"
|
|
|
+ if(this.liYuanOrgList.includes(this.org)){
|
|
|
+ _url = "selectTestType_liYuan"
|
|
|
+ }
|
|
|
+
|
|
|
this.ajax
|
|
|
- .get(this.$store.state.api + "selectTestType", params)
|
|
|
+ .get(this.$store.state.api + _url, params)
|
|
|
.then(res => {
|
|
|
let _data = res.data[0];
|
|
|
- let _type1 = _data.filter(i => i.pid == "");
|
|
|
+ let _type1 = _data.filter(i => !i.pid);
|
|
|
_type1.forEach((i,index) => {
|
|
|
let _typeList = [];
|
|
|
_typeList = _data.filter(i2 => i2.pid == i.id);
|
|
@@ -623,7 +638,7 @@ export default {
|
|
|
let _children = [{name:"资料提交",type:"formSubmit",typeId:i.id,navIndex:`${index}-0`}]
|
|
|
i.open = false;
|
|
|
|
|
|
- if(i.id=='e18d88b3-e828-11ef-b508-005056924926'){
|
|
|
+ if(i.id=='e18d88b3-e828-11ef-b508-005056924926' || i.id == "4cdce114-8a00-11f0-9c7b-005056924926"){
|
|
|
_children.push(...[
|
|
|
{name:"年度考核",type:"annualAssessment",navIndex:`${index}-1`},
|
|
|
{name:"培训活动",type:"trainingActivity",navIndex:`${index}-2`},
|