default.js 889 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
import Api from '~/service/Api';
import Utils from '~/utils/index';
import commonFunctions from '~/mixin/commonFunctions.js';

export default {
  mixins: [commonFunctions],
  methods: {
    // 获取地区机构号
    async getOwnExtkeyCondition1() {
      const loading = this.loading();
      let params = { ownExtKey: "" };
      let res = await Api.post(`/${this.moduleRouter()}/bch/getBranchListByownExtKey`, params);
      loading.close();
      if (res.respCode === SUCCESS) {
        console.log('this.codes', this.codes)
        this.$set(this.codes, 'ownExtkeyList', res.data)
      }
    },
    async loadBopCtyList() {
      const loading = this.loading();
      let res = await Api.post(`/${this.moduleRouter()}/bopcty/loadBopCtyList`);
      loading.close();
      if (res.respCode === SUCCESS) {
        this.$set(this.codes, 'bopCtyList', res.data)
      }
    },
  },
};