Cfap.vue 3.13 KB
Newer Older
1
<template>
Wuyuqiu committed
2
  <div class="eibs">
liyixun committed
3 4
    <c-row>
      <c-col :span="24">
Wuyuqiu committed
5
        <c-col :span="12" style="padding-right: 20px">
liyixun committed
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
          <c-col :span="24">
            <el-form-item label="数据采集标志" prop="cfagit.cfaflg">
              <c-select
                v-model="model.cfagit.cfaflg"
                style="width: 100%"
                placeholder="请选择数据采集标志"
                @change="dclpChange"
              >
                <el-option
                  v-for="item in codes.cfaflg1"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                >
                </el-option>
21
              </c-select>
liyixun committed
22 23
            </el-form-item>
          </c-col>
Wuyuqiu committed
24
          <c-col :span="24">
Wuyuqiu committed
25
            <c-col :span="12">
Wuyuqiu committed
26 27 28 29 30
            <el-form-item label="" prop="cfagit.basflg" class="checkbox-left">
              <c-checkbox disabled v-model="model.cfagit.basflg"
                >签约信息</c-checkbox
              >
            </el-form-item>
liyixun committed
31 32
          </c-col>

Wuyuqiu committed
33
          <c-col :span="12">
Wuyuqiu committed
34 35 36 37 38
            <el-form-item label="" prop="cfagit.dclflg" class="checkbox-left">
              <c-checkbox disabled v-model="model.cfagit.dclflg"
                >责任余额信息</c-checkbox
              >
            </el-form-item>
liyixun committed
39
          </c-col>
Wuyuqiu committed
40
          </c-col>
liyixun committed
41

Wuyuqiu committed
42 43 44 45 46 47
          <c-col :span="24">
            <el-form-item label="" prop="cfagit.vrfflg" class="checkbox-left">
              <c-checkbox disabled v-model="model.cfagit.vrfflg"
                >履约信息</c-checkbox
              >
            </el-form-item>
liyixun committed
48 49
          </c-col>
        </c-col>
Wuyuqiu committed
50
        <c-col :span="12" style="padding-left: 20px">
liyixun committed
51 52 53 54 55 56 57 58 59 60 61 62 63 64
          <c-col :span="24">
            <el-form-item label="地区机构号" prop="cfagit.ownextkey">
              <c-select
                v-model="model.cfagit.ownextkey"
                style="width: 100%"
                placeholder="请选择地区机构号"
              >
                <el-option
                  v-for="item in codes.ownextkey1"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                >
                </el-option>
65
              </c-select>
liyixun committed
66 67 68 69 70
            </el-form-item>
          </c-col>
        </c-col>
      </c-col>
    </c-row>
71 72 73
  </div>
</template>
<script>
liyixun committed
74
import Api from "~/service/Api";
75
import commonProcess from "~/mixin/commonProcess";
liyixun committed
76 77
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Gitopn/Event";
78
import Utils from "~/utils";
79 80

export default {
liyixun committed
81 82 83 84 85 86 87 88 89 90 91 92 93 94
  inject: ["root"],
  props: ["model", "codes"],
  mixins: [commonProcess],
  data() {
    return {};
  },
  computed: {},
  watch: {},
  methods: {
    ...Event,
    async dclpChange() {
      this.executeDefault("cfagit.dclnum").then((res) => {
        if (res.respCode == SUCCESS) {
          Utils.copyValueFromVO(this.model, res.data);
潘际乾 committed
95
        }
liyixun committed
96
      });
97

liyixun committed
98 99 100
      this.executeDefault("cfagit.recp.dclp").then((res) => {
        if (res.respCode == SUCCESS) {
          Utils.copyValueFromVO(this.model, res.data);
101
        }
liyixun committed
102 103 104 105 106
      });
    },
  },
  created: function () {},
};
107 108 109
</script>
<style>
</style>