|
|
@@ -1152,11 +1152,38 @@ ${fileText}
|
|
|
let params = {
|
|
|
oid: this.oid
|
|
|
};
|
|
|
+ let list = [
|
|
|
+ "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",
|
|
|
+ ]
|
|
|
+
|
|
|
+ let jk = 'selectTestType'
|
|
|
+ if (list.includes(this.org)) {
|
|
|
+ jk = 'selectTestType_liYuan'
|
|
|
+ }
|
|
|
this.ajax
|
|
|
- .get(this.$store.state.api + "selectTestType", params)
|
|
|
+ .get(this.$store.state.api + jk, params)
|
|
|
.then(res => {
|
|
|
- this.typeArray = res.data[0];
|
|
|
- this.getData();
|
|
|
+ try {
|
|
|
+ if (window.topU.gotype == 'bjspersonTop') {
|
|
|
+ this.typeArray = res.data[0].filter(e => e.pid == "ce4f1224-37a5-11f1-bcd9-005056924926");
|
|
|
+ this.getData();
|
|
|
+ } else {
|
|
|
+ this.typeArray = res.data[0];
|
|
|
+ this.getData();
|
|
|
+ }
|
|
|
+ } catch (error) {
|
|
|
+ console.error(error);
|
|
|
+ this.typeArray = res.data[0];
|
|
|
+ this.getData();
|
|
|
+ }
|
|
|
+
|
|
|
})
|
|
|
.catch(err => {
|
|
|
console.error(err);
|
|
|
@@ -2816,7 +2843,7 @@ ${_echartsType[type].text}
|
|
|
// this.setJson(el)
|
|
|
// })
|
|
|
// }
|
|
|
- // this.selectTestType();
|
|
|
+ this.selectTestType();
|
|
|
// 添加初始消息
|
|
|
this.array.push({
|
|
|
uid: "", // 生成唯一 ID
|