Ptsmsg.vue 1.23 KB
Newer Older
zhengxiaokui committed
1 2 3 4 5 6 7 8
<template>
  <div class="eibs-tab">
    <c-col :span="24">
      <el-form-item :label="argadr.title + '编号'" :prop="argadr.url + 'ref'">
        <c-input
          v-model="model[argadr.url + 'ref']"
          maxlength="16"
          :placeholder="'请输入' + argadr.title + '编号'"
jianglong committed
9
          :disabled="disabled"
zhengxiaokui committed
10 11 12 13 14 15 16 17 18 19
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="24">
      <el-form-item :label="argadr.title + '名称'" :prop="argadr.url + 'nam'">
        <c-input
          v-model="model[argadr.url + 'nam']"
          maxlength="40"
          :placeholder="'请输入' + argadr.title + '名称'"
jianglong committed
20
          :disabled="disabled"
zhengxiaokui committed
21 22 23 24 25 26 27 28 29 30 31 32
        ></c-input>
      </el-form-item>
    </c-col>
  </div>
</template>
<script>
import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";

export default {
  inject: ["root"],
  mixins: [CommonProcess],
jianglong committed
33 34 35 36 37 38 39 40 41 42 43 44 45
  props: {
    model: {
      type: Object,
      default: undefined,
    },
    codes: {},
    argadr: {},
    disabled: {
      //名称地址是否灰显
      type: Boolean,
      default: false,
    },
  },
zhengxiaokui committed
46 47 48 49 50 51
  data() {
    return {
      data: [],
    };
  },
  watch: {},
jianglong committed
52
  // methods: { ...Event },
zhengxiaokui committed
53 54 55 56 57
  created: function () {},
};
</script>
<style>
</style>