index.js 1.13 KB
import Api from '~/service/Api';
import commonFunctions from '~/mixin/commonFunctions.js';
import {getBchList} from "../../../../../../service/business/rmb";

export default {
    mixins: [commonFunctions],
    methods: {
        // 获取地区机构号
        async getOwnExtkeyCondition() {
            // const loading = this.loading();
            // let body = { ownExtKey: "" };
            //let res = await Api.post('/business/bch/getBranchListByownExtKey', body);
            getBchList().then(response => {
                if (response.respCode === SUCCESS) {
                    this.ownExtkeyList = response.data;
                }
            });
        },
        //获取交易编码列列表
        async getBopcodItems() {
            console.log("进入getBopcodList");
            const loading = this.loading();
            let iotyp = "I";
            let res = await Api.post(`/report/bopnew/public/getBopcodList/${iotyp}`,{});
            loading.close();
            if (res.respCode === SUCCESS) {
                this.bopcodList = res.data;
                this.options1 = this.bopcodList;

            }

        }


    }
}