Smhinfp.vue 3.13 KB
Newer Older
1
<template>
liushikai committed
2 3 4
  <div class="eibs-tab">
    <c-row>
    <!-- <div class="infTopBtn">
5 6 7 8 9 10 11
            <el-button-group>
                <c-button size="small" type="primary" icon="el-icon-arrow-left"></c-button>
                <c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button>
            </el-button-group>
            <c-button size="small" type="primary">Print</c-button>
            <c-button size="small" type="primary">Use</c-button>
            <c-button size="small" type="primary">Loginfo</c-button>
liushikai committed
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
        </div> -->
    <c-col :span="11">
      <el-form-item label="Type of Document" prop="infcon.smhcortyp">
          <c-col :span="18">
        <c-select
          v-model="model.infcon.smhcortyp"
          style="width: 100%"
          placeholder="请选择Type of Document"
          :code="codes.cortyp"
        >
        </c-select>
        </c-col>
        <c-col :span="6" style="text-align:right">
        <c-checkbox v-model="model.infcon.chktrn">Active only</c-checkbox>
    </c-col>
      </el-form-item>
    </c-col>
29

liushikai committed
30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
    <c-col :span="11" :offset="1">
      <el-form-item label="Created between " prop="infcon.smhdatfrom">
        <c-col :span="11">
          <c-date-picker
            type="date"
            v-model="model.infcon.smhdatfrom"
            style="width: 100%"
            placeholder="请选择Created between "
          ></c-date-picker>
        </c-col>
        <c-col :span="2" style="text-align: center">
          <label style="display: inline-block; width: 100%">-</label>
        </c-col>
        <c-col :span="11">
          <c-date-picker
            type="date"
            v-model="model.infcon.smhdatto"
            style="width: 100%"
            placeholder="请选择created till"
          ></c-date-picker>
        </c-col>
      </el-form-item>
    </c-col>
53

liushikai committed
54
    <c-col :span="11" style="height:24px">
liushikai committed
55 56 57 58 59 60 61 62 63
      <el-form-item label="Direction" prop="infcon.smhdir">
        <c-select
          v-model="model.infcon.smhdir"
          style="width: 100%"
          placeholder="请选择Direction"
        >
        </c-select>
      </el-form-item>
    </c-col>
64

liushikai committed
65 66 67 68 69 70 71 72 73 74 75 76 77
      <c-col :span="23">
        <c-istream-table :list="stmData.data" :columns="stmData.columns">
          <el-table-column prop="op" label="OP" width="100">
            <template slot-scope="scope">
              <a href="javascript:void(0)" @click="continueEdit(scope.row)"
                >操作</a
              >
            </template>
          </el-table-column>
        </c-istream-table>
      </c-col>
    </c-row>
  </div>
78 79
</template>
<script>
liushikai committed
80 81 82 83
import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Infcpd/Event";
84

liushikai committed
85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105
export default {
  inject: ["root"],
  props: ["model", "codes"],
  mixins: [CommonProcess],
  data() {
    return {
      stmData: {
        columns: [
          '1 1 "Type" 0 ',
          '1 2 "Document" 0 ',
          '1 3 "Created" 0 ',
          '1 4 "Direction" 0 ',
          '1 5 "SMHINR" 0 ',
        ],
        data: [],
      },
    };
  },
  methods: { ...Event },
  created: function () {},
};
106 107 108
</script>
<style>
</style>