<template>
  <div>
    <div v-if="isShowRol">
      <c-col :span="24">
      <el-form-item :label="argadr.title" :prop="argadr.rol">
        <c-input
          v-model="model[argadr.rol]"
          :placeholder="'请输入' + argadr.title + '角色'"
        ></c-input>
      </el-form-item>
    </c-col>
    </div>
    

    <c-col :span="24">
      <el-form-item label="BIC" :prop="argadr.url + 'extkey'">
        <c-input
          v-model="model[argadr.url + 'extkey']"
          maxlength="16"
          :placeholder="'请输入' + argadr.title + 'BIC'"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="24">
      <el-form-item label="联行行号" :prop="argadr.url + 'bankno'">
        <c-input
          v-model="model[argadr.url + 'bankno']"
          maxlength="20"
          placeholder="请输入联行行号"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="24">
      <el-form-item label="联行行名" :prop="argadr.url + 'jigomc'">
        <c-input
          v-model="model[argadr.url + 'jigomc']"
          maxlength="35"
          placeholder="请输入联行行名"
          :disabled="disabled"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="24">
      <el-form-item label="联行地址" :prop="argadr.url + 'dizhii'">
        <c-input
          type="textarea"
          v-model="model[argadr.url + 'dizhii']"
          maxlength="35"
          placeholder="请输入联行地址"
        ></c-input>
      </el-form-item>
    </c-col>
  </div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";

export default {
  inject: ["root"],
  mixins: [commonProcess],
  props: {
    model: {
      type: Object,
      default: undefined,
    },
    codes: {},
    argadr: {
      type: Object,
      default: function () {
        return {
          title: "", //角色名称
          url: "", //角色
          rol: "", //所属模块
        };
      },
    },
    isShowRol: {
      //Rol是否显示
      type: Boolean,
      default: true,
    },
     disabled: {
      //名称地址是否灰显
      type: Boolean,
      default: true,
    },
  },
 
  data() {
    return {
      data: [],
    };
  },
  watch: {},
  //methods: { ...Event },
  created: function () {},
};
</script>
<style>
</style>
