|
|
@@ -442,12 +442,13 @@
|
|
|
clearable
|
|
|
>
|
|
|
<el-option
|
|
|
- v-for="dict in dict.type.org_extend_type"
|
|
|
+ v-for="dict in getGA38TypeByOrgType"
|
|
|
:key="dict.value"
|
|
|
:label="dict.label"
|
|
|
:value="dict.value"
|
|
|
/>
|
|
|
</el-select>
|
|
|
+ <!-- v-for="dict in dict.type.org_extend_type" -->
|
|
|
</el-form-item>
|
|
|
|
|
|
<el-form-item label="GA38标准" prop="standard">
|
|
|
@@ -769,6 +770,52 @@ export default {
|
|
|
return option ? option[0].label : "";
|
|
|
};
|
|
|
},
|
|
|
+ getGA38TypeByOrgType() {
|
|
|
+ let tempArry = [];
|
|
|
+
|
|
|
+ // 上传GA38的机构的机构类型是 营业网点
|
|
|
+ if(this.type=="4")
|
|
|
+ {
|
|
|
+ this.dict.type.org_extend_type.forEach(x=>{
|
|
|
+ if (x.value == 1 || x.value == 2 || x.value == 5 || x.value == 6) {
|
|
|
+ tempArry.push(x);
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }
|
|
|
+ // 上传GA38的机构的机构类型是 离行自助银行
|
|
|
+ else if(this.type=="5")
|
|
|
+ {
|
|
|
+ this.dict.type.org_extend_type.forEach(x=>{
|
|
|
+ if (x.value == 3) {
|
|
|
+ tempArry.push(x);
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }
|
|
|
+ // 上传GA38的机构的机构类型是 中心业务库
|
|
|
+ else if(this.type=="6")
|
|
|
+ {
|
|
|
+ this.dict.type.org_extend_type.forEach(x=>{
|
|
|
+ if (x.value == 4) {
|
|
|
+ tempArry.push(x);
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }
|
|
|
+ // 上传GA38的机构的机构类型是 监控中心
|
|
|
+ else if(this.type=="10")
|
|
|
+ {
|
|
|
+ this.dict.type.org_extend_type.forEach(x=>{
|
|
|
+ if (x.value == 7) {
|
|
|
+ tempArry.push(x);
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }
|
|
|
+ else{
|
|
|
+ tempArry=this.dict.type.org_extend_type;
|
|
|
+ }
|
|
|
+
|
|
|
+ // console.log("computed getUserOrgType",tempArry);
|
|
|
+ return tempArry;
|
|
|
+ },
|
|
|
switchModel: {
|
|
|
get() {
|
|
|
return this.switchValue === 1; // 将0转换为false,1转换为true
|
|
|
@@ -1318,7 +1365,8 @@ export default {
|
|
|
},
|
|
|
canShowGA38() {
|
|
|
// console.log("canShowGA38",this.type ,this.type == '4' || this.type == '10' || this.type == '5')
|
|
|
- if (this.type == '4' || this.type == '10' || this.type == '5') {
|
|
|
+ // 4: 网点,5:离行 6 中心业务库 10 监控中心
|
|
|
+ if (this.type == '4' || this.type == '5'|| this.type=='6' || this.type == '10' ) {
|
|
|
return true;
|
|
|
}
|
|
|
return false;
|